Author Topic: QucsStudio  (Read 3661 times)

0 Members and 1 Guest are viewing this topic.

Offline djsb

  • Frequent Contributor
  • **
  • Posts: 536
  • Country: gb
    • My blog
QucsStudio
« on: April 08, 2011, 08:32:01 PM »
Thought people might be interested in this experimental project to combine QUCS (a free spice like simulator) with Kicad.

http://www.mydarc.de/DD6UM/QucsStudio/qucsstudio.html

It's in it's early stages but maybe worth a try (and expressions of interest, encouragement to the author)

I feel more of these projects should get together.

David
David
London,UK

http://debuggingrules.com/
Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.

Offline djsb

  • Frequent Contributor
  • **
  • Posts: 536
  • Country: gb
    • My blog
Re: QucsStudio
« Reply #1 on: March 11, 2012, 05:27:35 AM »
Now at version 1.3.1

http://www.mydarc.de/DD6UM/QucsStudio/qucsstudio.html

Check it out.

David.
David
London,UK

http://debuggingrules.com/
Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.

Offline TerminalJack505

  • Super Contributor
  • ***
  • Posts: 1069
  • Country: 00
Re: QucsStudio
« Reply #2 on: March 11, 2012, 05:53:30 AM »
I haven't heard of this project.  I'll have to check it out.

I've been using QUCS for a while and I'm fairly happy with it.  It does have its problems, though. 

Sometimes a circuit will fail to simulate and either just hang or give a 'jacobian singularity.'  Oftentimes, the 'fix' is to simply add one to the the number of steps in the simulation and try again.  And keep adding one to the number of steps until either the simulation runs or you give up.  If that doesn't work then most likely there is a floating node somewhere that needs to be pulled to a either a voltage source or ground through a largish resistor.

Also, a lot of circuits that would work in the real world won't actually simulate in QUCS without putting in a bunch of BS components and/or changing component values to not-so-real-world values.

I get the impression that the QUCS project has been abandoned.  The last update was over a year ago.  If that's the case then hopefully this new project will continue where QUCS left off.

Offline amspire

  • Super Contributor
  • ***
  • Posts: 2333
  • Country: au
Re: QucsStudio
« Reply #3 on: March 11, 2012, 11:36:05 PM »
David, thanks. That looks excellent.

I will give it a try sometime in the next week.

Can you use Octave with the results of an analog simulation, or are they just separate programs run from the one IDE?

Richard.

Offline djsb

  • Frequent Contributor
  • **
  • Posts: 536
  • Country: gb
    • My blog
Re: QucsStudio
« Reply #4 on: March 30, 2013, 09:38:24 PM »
Just thought I'd post an update.

Currently at 1.4.4 and there are 2 video's showing how to use it here.

QucsStudio Intro


Changelog here

http://www.mydarc.de/dd6um/QucsStudio/ChangeLog

Download from here

http://www.mydarc.de/dd6um/QucsStudio/qucsstudio.html

David

PS Here is a pdf of a presentation presented in India

http://www.mos-ak.org/india/presentations/Brinson_MOS-AK_India12.pdf
« Last Edit: March 30, 2013, 09:52:07 PM by djsb »
David
London,UK

http://debuggingrules.com/
Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.

Offline amspire

  • Super Contributor
  • ***
  • Posts: 2333
  • Country: au
Re: QucsStudio
« Reply #5 on: March 31, 2013, 12:45:36 PM »
Initially this looks very nice.

It has file based voltage and current sources.

I know it is possible to use file based sources in LTSpice - as long as you convert them to a WAV file first, but this directly accepts CSV files, and it offers a selection of interpolations (linear, cubic spline, etc) if you need it. The WAV format is integer only that I think LTSpice then automatically scales to make the final amplitude 1.0 Volts or something., so it is not great at representing explicit floating point values.



This means you can easily take a DSO waveform capture, and immediately use it as a source voltage in a Spice simulation. It also means you have the full mathamatical and analysis capability available to analyze a captured waveform.

Now that is definitely good.

Pity the library is so poor. If I decide to use it regularly, I think I will have to spend a day adding a lot of common parts like 2N2222A, 2N2907A, 2N3904, TL074 opamps, LM358, TL431 references, etc. The library only contains a total of 7 opamps.

Richard.
« Last Edit: March 31, 2013, 01:01:20 PM by amspire »

Offline amspire

  • Super Contributor
  • ***
  • Posts: 2333
  • Country: au
Re: QucsStudio
« Reply #6 on: April 08, 2013, 11:59:56 AM »
I just tried QucsStudio. It has promise, but it still shows signs of opensource madness.

Well, I am not even sure if it is opensource. There are no links to the source that I could find, and it is not compatible with the Qucs project it is based on.

I tried the file based voltage sources - they could not read dat or cvs files. "No data" apparently. So either the feature is broken, or they have changed the format of both the dat and cvs files with absolutely no documentation, or even source code I can go to.

The Qucs file based voltage source example does not load (because of changes in the QucsStudio format), and even when you fix it so it can load, QucsStudio definitely reduces to understand the DA and CVS files.

So I will probably have to go back to the clunkier open source Qucs to do my tests. At least it works.

It is not a version of Spice, by the way - they explain why trying to base an opensource simulator on Spice is a problem. So it is not Spice netlist compatible, but they do have converters. The potential to combine analog simulation, VHDL compatible digital, S parameters, electric field simulation along with the mathematical power of packages like Octave is awesome, as long as they can end up with something that doesn't take 6 months to master.

Right now, it is good, but it does not come close to LTSpice for ease of use, documentation and graphics.  The KiCad-based schematic interface is pretty good. Could even be a little better then LTSpice.

Richard


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf