Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

NGSPICE Laplace model question

Status
Not open for further replies.

edillon

New Member
I'm using the s_xfer code model to implement an S-Domain (Laplace) Transfer Function that will ultimately be incorporated into a non-linear dependent current source.

The problem is that the transfer function is not a simple ratio of polynomials in s.

The transfer function is in the form of
1 / ((abs(s))^x) or 1 / pwr(abs(s),x)

where x is a real, but non-integer value.

I've done this successfully with PSPICE, but don't know if NGSPICE can handle it. Is it possible to implement this with s_xfer? The num_coeff and den_coeff parameters don't really support this.

If this isn't doable with s_xfer, does anyone have any ideas for a workaround?

Thanks,

Dillon
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top