5.0

5.0 | 7 ratings Rate this file 45 Downloads (last 30 days) File Size: 422 KB File ID: #17969
image thumbnail

Simscape Probes

by Tom Egel

 

11 Dec 2007 (Updated 01 May 2013)

Probes for viewing physical variables

Editor's Notes:

This file was selected as MATLAB Central Pick of the Week

| Watch this File

File Information
Description

These probes are for use with the Simscape multi-domain physical modeling tools (Simscape, SimHydraulics and SimElectronics). The ssc_Probes.mdl library file contains probes for viewing the through and across variable for each domain. The ssc_dc_motor.mdl model file is an example of how to use. See Info block for additional usage notes.

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

Required Products Simscape
MATLAB release MATLAB 8.1 (R2013a)
Tags for This File  
Everyone's Tags
modeling, multidomain, physical, pick of the week, potw, probes, scopes(2), simdriveline, simelectronics, simhydraulics, simscape, simulink, utilities
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (11)
06 Mar 2013 Chinmay Deshpande  
14 Jan 2013 Tom Egel

The lastest update for 12b fixes the callback issue.

03 Dec 2012 Aditya

Tom,
Great stuff.
However, can you release an update for 2012b? In 2012b when evaluating the OpenFcn callback it tries to do close_system(gcs) which generates an error if the probe is at the top level of a model. If it is not at the top level of the model then it does not produce an error but it goes to the top-level of the model. You then have to use the back button to get back to your original spot.

Thanks,
Aditya

18 Mar 2010 Tom Egel

Han,
The SimPowerSystems library contains voltage and current measurement blocks that output a Simulink signal. You could easily recreate what I have done by putting these blocks under the mask. You’ll also have to remove the PS->S block since it is not needed for SimPower.

16 Mar 2010 Han Geerligs

I was wondering if this approach could also be applied to electrical systems built with Simpowersystems blockset?

06 Jan 2010 Will Campbell  
21 Mar 2009 Jean

Very good idea this lib ! Was thinking about creating something like this but the work is already done and Well done !
Save a lot of room when we need to put scope in model.

10 Nov 2008 Umbi Cardella  
10 Nov 2008 Umbi Cardella  
15 Aug 2008 Will Campbell

Very handy!

21 Jul 2008 Guy Rouleau

Very useful blocks. Saves a lot of time

I always use them, I modified the blocks a little bit to include them as a library in the Simulink browser.

Let me know if you are interested to get the modified version I created.

Guy

Updates
06 May 2008

Adding useful links for File Exchange users.

05 Aug 2008

Updated the "through" variable scopes (current, torque, etc...) so that the arrow correctly indicates positive flow when flipped or inverted.

18 Mar 2009

Updated to use more compact symbols for less clutter. Also added a physical signal scope.

18 Sep 2009

1. Changed name to Simscape Probes.
2. Added probes for the Pneumatic domain in r2009b.
3. Added internally referenced probes for quicker probing of across variables.
4. Added the GroupSignals GUI.
5. Added an Info button with usage notes.

21 Sep 2009

Added copyright notice

08 Mar 2010

Changed release to 2009b

11 Mar 2010

Updated for release 2010a. Added probes for Magnetic domain and sl_customization.m for changing units and adding output port (see Info block for details)

11 Mar 2010

Updates for r2010a include probes for Magnetic domain and sl_customizations for editing units and adding output port. See Info block for usage notes.

23 Aug 2010

Assigned domain-specific default units to each probe and made unit visible when model is initialized using InifFcn callback.

15 Dec 2010

Updated for R2010b. Added sl_customization menu to toggle Goto tag between local and global. Default is now local, per user request.

17 Jun 2011

Updated for r2011a. Fixed minor bug (GroupSignals now only displays global signals)

12 Jun 2012

Updated for R2012a

30 Jul 2012

Fixed warning message bug found in R2012b pre-release. Updated current version (R2012a) and R2011b version in Archives directory to remove warning message when upgrading to R2012b.

14 Jan 2013

Updated for 12b

01 May 2013

Updated for R2013b. Replaced Simulink Scopes under mask with To Workspace blocks. OpenFcn callback plots workspave variables in MATLAB.

01 May 2013

Updated for 13a. Probes use MATLAB plots instead of Simulink Scopes.

Contact us