Author Topic: Symbolic circuit analysis. Upcoming Kickstarter  (Read 22232 times)

0 Members and 1 Guest are viewing this topic.

Offline JosefCTopic starter

  • Newbie
  • Posts: 7
  • Country: de
Symbolic circuit analysis. Upcoming Kickstarter
« on: February 21, 2022, 07:31:25 am »
Hello,

I want to present you my upcoming kickstarter project:

Sylina, a symbolic circuit analysis software.

Its main target is to derive formulas for transfer functions of analog circuits.
Besides Bode-, Nyquist- and Pole-Zero plots and a circuit editor.

More details on www.sylina.de/sylina-en.html
or direct to the examples on www.sylina.de/tutorial-en.html#examples.

On youtube are some
vidos www.youtube.com/channel/UCfWJTilvVIoghniovPvxKJw

Next I prepare a downloadable demo
and after that the kickstarter campaign.

Any comments are welcome.

JosefC

 
The following users thanked this post: ledtester

Offline JosefCTopic starter

  • Newbie
  • Posts: 7
  • Country: de
Re: Symbolic circuit analysis. Upcoming Kickstarter
« Reply #1 on: March 13, 2022, 12:56:21 pm »
Hello,

there is now a downloadable demo at

www.sylina.de/demo-en.html

 

Offline LoneWolf6912

  • Contributor
  • Posts: 31
  • Country: be
Re: Symbolic circuit analysis. Upcoming Kickstarter
« Reply #2 on: June 25, 2022, 09:27:15 pm »
It look pretty good. I guess, it's still a prototype?

What is the level you want to obtain with the kickstarter ?

Kindly,
 

Offline Mechatrommer

  • Super Contributor
  • ***
  • Posts: 11715
  • Country: my
  • reassessing directives...
Re: Symbolic circuit analysis. Upcoming Kickstarter
« Reply #3 on: June 26, 2022, 06:50:35 am »
Any comments are welcome.
keep going. haven't look closely but i wish something that derives transfer function from actual/empiric device's/circuit's behavior, not from theoretical formula, because that we already have in textbook.
Nature: Evolution and the Illusion of Randomness (Stephen L. Talbott): Its now indisputable that... organisms “expertise” contextualizes its genome, and its nonsense to say that these powers are under the control of the genome being contextualized - Barbara McClintock
 

Offline JosefCTopic starter

  • Newbie
  • Posts: 7
  • Country: de
Re: Symbolic circuit analysis. Upcoming Kickstarter
« Reply #4 on: June 28, 2022, 06:45:46 am »
It look pretty good. I guess, it's still a prototype?

What is the level you want to obtain with the kickstarter ?

Kindly,


Sorry for the late answer.

Yes it is still a prototype.
The goal of the kickstarter campaign is to build an easy to use, robust software.

 

Offline JosefCTopic starter

  • Newbie
  • Posts: 7
  • Country: de
Re: Symbolic circuit analysis. Upcoming Kickstarter
« Reply #5 on: June 28, 2022, 06:53:44 am »
... but i wish something that derives transfer function from actual/empiric device's/circuit's behavior, not from theoretical formula, because that we already have in textbook.

Yes, unfortunately the reality is much more complex. :)

I make a small signal analysis and that is naturally only valid in a small range.
 
The following users thanked this post: Mechatrommer

Offline devinatkin

  • Contributor
  • Posts: 40
  • Country: ca
  • PhD Student at the University of Calgary I2Sense
Re: Symbolic circuit analysis. Upcoming Kickstarter
« Reply #6 on: July 06, 2022, 02:27:23 pm »
Looks awesome from the web I'll have to make some time to check out the software soon, and I hope to see it on kickstarter soon. What is your long term licensing plans. I'm thinking this would be perfect for universities with courses in analog design.

I don't believe I'm saying this as I typically want to lynch software (cough cough kicad) which expects users to have to code to make it do certain basic operations. But I really hope you end up with a nice API interface to the software as well. Assuming the licensing wasn't too bad It'd be nice to setup web interfaces to static circuits to let students see them there. Or setup some sort of question interface where students could be asked to enter in a circuit and then have the software spit out their formula to compare to the expected one. If it can effectively handle larger filters I know a grad course where the standard project would be great to have this as a tool to validate designs.

Is it going to have any sort of statistical analysis to show the variation in output. Especially coupled with a sensitivity analysis would be awesome.

 

Offline JosefCTopic starter

  • Newbie
  • Posts: 7
  • Country: de
Re: Symbolic circuit analysis. Upcoming Kickstarter
« Reply #7 on: July 08, 2022, 06:55:42 am »
... What is your long term licensing plans....

Well, it is planned as a commercial product.
The fee will not be very much. Perhaps the price of a book.
But that's in the future.


... But I really hope you end up with a nice API interface to the software as well.

In the first version, I will concentrate on the core functionality.
There will be a text export to a Computer Algebra System.

In later releases probably an API to Python.
 

Offline devinatkin

  • Contributor
  • Posts: 40
  • Country: ca
  • PhD Student at the University of Calgary I2Sense
Re: Symbolic circuit analysis. Upcoming Kickstarter
« Reply #8 on: July 08, 2022, 07:03:14 pm »
Okay, I'll definitely have a close look at your licensing when it comes out as I'd love to setup an example page with some circuits for students. Thanks to flask it should be pretty easy to integrate it into a webpage. 
 

Offline JosefCTopic starter

  • Newbie
  • Posts: 7
  • Country: de
Re: Symbolic circuit analysis. Upcoming Kickstarter
« Reply #9 on: July 15, 2022, 07:03:06 am »
« Last Edit: July 15, 2022, 07:05:12 am by JosefC »
 

Offline wishboneash

  • Contributor
  • Posts: 27
  • Country: us
Re: Symbolic circuit analysis. Upcoming Kickstarter
« Reply #10 on: August 26, 2022, 02:19:08 pm »
I like it. It's pretty interesting and the ability to look at the dominant terms makes it quite useful.
 

Offline MrAl

  • Super Contributor
  • ***
  • Posts: 1640
Re: Symbolic circuit analysis. Upcoming Kickstarter
« Reply #11 on: December 03, 2022, 11:51:50 pm »
Hello,

I want to present you my upcoming kickstarter project:

Sylina, a symbolic circuit analysis software.

Its main target is to derive formulas for transfer functions of analog circuits.
Besides Bode-, Nyquist- and Pole-Zero plots and a circuit editor.

More details on www.sylina.de/sylina-en.html
or direct to the examples on www.sylina.de/tutorial-en.html#examples.

On youtube are some
vidos www.youtube.com/channel/UCfWJTilvVIoghniovPvxKJw

Next I prepare a downloadable demo
and after that the kickstarter campaign.

Any comments are welcome.

JosefC

Hi,

That's interesting i have been working on the same since the early 1990's and got it to the point where i can do almost any circuit as long as the assumptions are given.

As to one of the other replies about the 'real world devices' the answer there is to just use different models that's all it comes down to.  The drawback is the resulting matrix will be much much much larger and take more time to calculate, and even fast algebraic software will take time to be able to manipulate the matrix using all symbolic variables.
However, since many analyses are based on determining how the output changes based on just one or two variables, perhaps you can have an input method that allows some variables to be constants while others are true variables and stay that way throughout.

The way i am doing it now is with all variables but i recently considered doing the partial constant and partial variable update.

One of the more complex aspects is modeling things like transistors.  Some of this simply will not have a symbolic solution because in the end the solution must be numerical.  This involves the exponential functions which can get pretty hairy even with the simplest of transistor models.  This would probably limit the functionality to much simpler transistor models such as the T equivalent or something like that where we have just a current controlled current source and some resistors, or a voltage controlled current source and resistors.

I would be interested to hear your ideas about these problems if you  care to share.
 

Offline MrAl

  • Super Contributor
  • ***
  • Posts: 1640
Re: Symbolic circuit analysis. Upcoming Kickstarter
« Reply #12 on: December 05, 2022, 05:20:25 am »
Any comments are welcome.
keep going. haven't look closely but i wish something that derives transfer function from actual/empiric device's/circuit's behavior, not from theoretical formula, because that we already have in textbook.

I forgot to reply to this post so just now.

I've been working on a symbolic analysis program since the early 1990's and have gotten pretty far with it and along the way i discovered many things about symbolic analysis vs numerical analysis that simulators use.

To answer your wish, i can tell you that if you need to analyze a behavior that is not strictly theoretical but also need to consider parasitic effects for example, all you would need to do is add those parasitics to the schematic yourself, which in most cases would mean creating a model for whatever it is you need to look at.  You could get a lot of info from a spice model to help with this.

The drawback is that the more components you add, parasitic or not, the longer the solution will take because for a symbolic analysis the software has to deal with very very very long expressions.   For example for a buck converter with various parasitics i did i ended up with expressions that would span several regular size book pages.  That's because symbolic expressions for larger circuits have to contain every component in the whole system for every node unless some components get absorbed into others, but that is fairly rare.  Sometimes you can simplify them a little by bulking up some parts of the expressions but it's not that easy to do and it still ends up very long.
The beauty of this though is that you can change any component or time value or whatever and do a calculation, and the calculation once the expression has been obtained completes very fast because computers work well with numbers.  The only problem there is that you may have to go to a numerical precision that is not math coprocessor friendly, which means you have to use big numbers.

As i was saying in the previous post, some symbolic solutions are simply not possible because there is no closed form for some circuit calculations.  An example is a transistor that uses diodes in the model.  The exponential terms can not always be solved symbolically and so we end up back to numerical solutions.  This is even typical with circuits with just diodes in them too.
So it seems that for some things we will always be dependent on numerical solutions.
It doesnt mean that the symbolic analysis is not useful though, because we can go so far with it until we have to jump back to using numerical solutions.  So in a way we get some usefulness even if not the entire solution in one shot.
 

Offline JosefCTopic starter

  • Newbie
  • Posts: 7
  • Country: de
Re: Symbolic circuit analysis. Upcoming Kickstarter
« Reply #13 on: December 15, 2022, 09:23:45 am »

...
However, since many analyses are based on determining how the output changes based on just one or two variables, perhaps you can have an input method that allows some variables to be constants while others are true variables and stay that way throughout.

The way i am doing it now is with all variables but i recently considered doing the partial constant and partial variable update.

One of the more complex aspects is modeling things like transistors.  Some of this simply will not have a symbolic solution because in the end the solution must be numerical.  This involves the exponential functions which can get pretty hairy even with the simplest of transistor models.  This would probably limit the functionality to much simpler transistor models such as the T equivalent or something like that where we have just a current controlled current source and some resistors, or a voltage controlled current source and resistors.
...

The kickstarter campaign was not successfully. In the moment I don't work on the project.

In the moment I do an analysis with all variables. To use only some variables is sure an idea for some optimizations.

My analysis is purely linear. The circuit is linearized around an operating point.
I don't know of any symbolic circuit analysis software that works direct with nonlinear
functions.

A possibility would be to do a sequence of linear analysis and move the operating point.
But this is probably very slow.

For me is symbolic analysis no replacement for numerical analysis like SPICE.
It is more to check the principal design of the circuit and to verify the manual
analysis/ideas behind the design.

Nonlinear effects and parasitics must be checked with SPICE, statistics and
lab measurements in my opinion.

My prototype is downloadable.

Thank you very much
 
The following users thanked this post: ledtester

Offline SiliconWizard

  • Super Contributor
  • ***
  • Posts: 15593
  • Country: fr
Re: Symbolic circuit analysis. Upcoming Kickstarter
« Reply #14 on: December 26, 2022, 08:00:24 pm »
While it's an interesting project technically, not to rain on your parade, but what is the real purpose of symbolic analysis here?

Beyond simple circuits, the symbolic analysis will not really be usable by humans, as the calculations become complex very fast, so one can question the benefit of it. If you use the output of the symbolic analysis to get response values, for instance, what's the benefit compared to simulation? You get the same output. Pretty much.

Does your symbolic analysis allow to solve for some parameters? (For instance, solving for values for resistors and capacitors of some filter to get a given response?) If so, then there would be an added benefit, although you can also do this using simulation and optimization algorithms.

So I'm not too surprised the campaign was not successful. Maybe you should define the purpose of this for real-life use.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf