--
makes Macspice hang... Please note that for my purpose I cannot use \'K\'
coupled inductors. DC behaviour of the ideal transformer is of no interest.
Cheers,
Michael
OK, let's look just at the transformer. You have a short circuit (a DC voltage source set to zero volts) across nodes 1 and 2. And you have a dependent voltage source e1 which is also across those terminals. It is not a good idea to put two voltage sources in parallel. I would suggest you try putting them in series. Does that help? Then you can have a primary (1-2) voltage controlled by what the secondary voltage is, while still using vsense to sense the current in the primary.
PS: If you have some kind of Windows emulator, you could try LTspice. It also runs with WINE in Linux. LTspice has a state of the art graphical interface for schematics and waveforms.
formatting link
formatting link
A full blown version of the ideal trafo with parameter passing for LTspice
How very strange, i am used to making ideal and real transformers with an Lm term coupling "normal" inductors. Almost sure to be a better simulation of any possible real circuit.
--
JosephKK
Gegen dummheit kampfen die Gotter Selbst, vergebens.
--Schiller
In most cases your statement may be correct, but not for this one: Joint simulation of some lumped elements together with a distributed microwave circuit (the latter represented by a canonical Foster equivalent circuit which requires ideal transformers).
An ideal transformer is needed; no parasitic inductance, coupling of 1. Again, this is an *equivalent* circuit. It models the distributed circuit. And if non-ideal transformers were used essentially the transfer function of the destributed (physical) (multiport-)circuit were altered.
OK, i do not understand "parasitic inductance" in this context. I have a little experience (near trivial) with "transmission line transformers" in PWB and MMIC arenas. Please elucidate.
--
JosephKK
Gegen dummheit kampfen die Gotter Selbst, vergebens.
--Schiller
In the meantime i did some googling on Foster equivalent circuit. Wow, was i ever on the wrong track. Not only was my suggention of using standard Lm terms waste lots of simulation time to no good; it would actually completely destroy the integrity of the simulation. I have to admit though that the basic idea is wonderful, it makes analysis of something wierd like a fractal antenna doable.
--
JosephKK
Gegen dummheit kampfen die Gotter Selbst, vergebens.
--Schiller
ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here.
All logos and trade names are the property of their respective owners.