Author Topic: Matlab + Simscape vs NI Multisim  (Read 3708 times)

0 Members and 1 Guest are viewing this topic.

Offline MetonymyTopic starter

  • Newbie
  • Posts: 8
  • Country: ro
Matlab + Simscape vs NI Multisim
« on: January 06, 2018, 06:45:55 pm »
Hello,

I'd like to invest in a simulation software in order to understand and to experiment with circuits.

I'm thinking about: NI Multisim Student or Matlab Home + Simulink and Simscape, however I don't have any experience with them.

Which tool would be better for me?
 

Offline rstofer

  • Super Contributor
  • ***
  • Posts: 9890
  • Country: us
Re: Matlab + Simscape vs NI Multisim
« Reply #1 on: January 06, 2018, 08:45:12 pm »
I haven't used Multisim, primarily because they don't seem to have a 'Home' edition.  Maybe my grandson will buy it when he starts EE school next fall.  Then I can play with it!

I have used Matlab/Simulink mostly to play with differential equations.  I can set up an analog circuit (op amps and gain blocks) to model the equations and then run the simulation.  I can even add 'dials' to set the various parameters.  I haven't used Simscape although I do have it.  I just haven't had an application.

Another thing to consider about Matlab is that it does ordinary mathematical things.  One example is solving the simultaneous linear equations that result from mesh or nodal analysis.  Matlab does some really heavy duty computing for those folks that are far above my pay grade.  Deep learning, computer vision, and a lot more.  It is a powerhouse!

There are other tools:  For mathematics, wxMaxima, Octave, Maple and Microsoft Mathematics do nice work.  I use wxMaxima a LOT.  AFAIK, all of these are free.

A couple of books for Matlab that you might like:

"MATLAB A Practical Introduction To Programming and Problem Solving (Fourth Edition)" - Attaway
"Solving DC and AC Circuits By Example Using Matlab" - Haskell and Hanna

For wxMaxima (Maxima) and Physics:
"Classical Mechanics With Maxima" - Timberlake
For electronics, LTspice is a terrific simulator and it's free.
 

Offline MetonymyTopic starter

  • Newbie
  • Posts: 8
  • Country: ro
Re: Matlab + Simscape vs NI Multisim
« Reply #2 on: January 06, 2018, 08:48:04 pm »
Thank you! NI Multisim has a student edition which is pretty cheap.
 

Offline rstofer

  • Super Contributor
  • ***
  • Posts: 9890
  • Country: us
Re: Matlab + Simscape vs NI Multisim
« Reply #3 on: January 06, 2018, 09:14:04 pm »
Thank you! NI Multisim has a student edition which is pretty cheap.

Ah, yes!  To be a student again...  Laying in the grass and watching the girls walk by.   Alas, I could be as old as 4 students combined!

Enjoy it while you can!  I did...
 

Online T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 21688
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: Matlab + Simscape vs NI Multisim
« Reply #4 on: January 06, 2018, 10:38:04 pm »
I forget what MATLAB's student/private licensing is down to, these days; it might be competitive.

I never got the feeling it was a very practical environment for circuits.  I don't think they have a solver as advanced as SPICE; but they might've changed things a lot since then, and my experience was with Simulink, not Simscape.  Simulink, yes you can select and build components, assemble circuits, and simulate them, but it's a lot more janky than a proper schematic capture system, and IIRC only supported fixed timestep Newton integration (which is to say: only as good as Falstad web simulator(!)).

Multisim (v11 was the last I used) is a fine SPICE environment, and like all(?) low budget/free simulators, is based on XSPICE (with some PSPICE compatibility/extensions, and a proprietary digital code language, because nobody actually likes XSPICE's digital primitives).

If you're wondering, "low budget" includes Altium (which has the same base, different extensions).  Go figure...

As such, it includes all the drawbacks that the ancient XSPICE backend offers.  Get used to adjusting simulation parameters.

It's not very suitable for large (multi-sheet, hierarchical) designs, but it is quite possible to realize complete designs, from entry, to simulation, to layout (via Ultiboard, if provided).

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 

Offline Vtile

  • Super Contributor
  • ***
  • Posts: 1144
  • Country: fi
  • Ingineer
Re: Matlab + Simscape vs NI Multisim
« Reply #5 on: January 06, 2018, 10:39:03 pm »
Thank you! NI Multisim has a student edition which is pretty cheap.

Ah, yes!  To be a student again...  Laying in the grass and watching the girls walk by.   Alas, I could be as old as 4 students combined!

Enjoy it while you can!  I did...
Just move to sweden and enter for a degree for free again.  :-DD

Matlab is the bee's knees for control theory.
 

Offline IonizedGears

  • Regular Contributor
  • *
  • Posts: 248
  • Country: us
Re: Matlab + Simscape vs NI Multisim
« Reply #6 on: January 06, 2018, 10:45:10 pm »
MATLAB has a pretty powerful analog transfer function library and analysis tools that makes analyzing filters pretty easy so long as you can do the math to get the transfer function. It also has pretty powerful tools for DSP.
I am an EE with interests in Embedded, RF, Control Systems, and Nanotech.
 

Online T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 21688
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: Matlab + Simscape vs NI Multisim
« Reply #7 on: January 06, 2018, 10:52:10 pm »
MATLAB has a pretty powerful analog transfer function library and analysis tools that makes analyzing filters pretty easy so long as you can do the math to get the transfer function. It also has pretty powerful tools for DSP.

If nothing else, AC analysis is just complex vector math -- something trivial to do in MATLAB and Octave (free/GNU). :)

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 

Offline filssavi

  • Frequent Contributor
  • **
  • Posts: 433
Re: Matlab + Simscape vs NI Multisim
« Reply #8 on: January 06, 2018, 11:01:03 pm »
MATLAB/simulink and NI multisim(spice) are two very very different beasts targetted at two very different design stages and wanting to follow a model driven design approach you'll shurely
end up using both on the same project.

In power electronics where I work for example MATLAB/simulink is best used in the first stages of the design whey multiple converter topologies are evaluated, typically the system will be modeled at the highest level possible, that means electrically ideal switches (power losses are accounted for separately) ideal  connections/pcb layout and so on

once you are confortable with the simulated system performances you will transition to SPICE (be it multisim, ltspice, orcad/pspice, etc) where you will simulate only few switching cycles to see what a more realistic voltage/current wavefom will look like..

so the two systems are complementary and not in competition

you also have to distinguish between simulink/simescape and the proper MATLAB programming/scripting language, since for the latter there are multiple valid Free and open source alternatives, the most competitive one in my opinion is the python scientific ecosystem (to get started take a look at one of the pre-made distributions like anaconda or enthought)
 
The following users thanked this post: Vtile

Offline Vtile

  • Super Contributor
  • ***
  • Posts: 1144
  • Country: fi
  • Ingineer
Re: Matlab + Simscape vs NI Multisim
« Reply #9 on: January 06, 2018, 11:01:46 pm »
Also another free and rather simple and powerful math tool is xcas, while not circuit analysis tool as such it is handy to have a good symbolic math tool.
https://en.wikipedia.org/wiki/Xcas

PS. Free competitor like said above in python environment is also the SciLab, which is kind of an Matlab alternative.
« Last Edit: January 06, 2018, 11:04:56 pm by Vtile »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf