The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl Design Languages >> Verilog-AMS >> RF antenna model in verilogA https://designers-guide.org/forum/YaBB.pl?num=1181636578 Message started by Pavel on Jun 12th, 2007, 1:22am |
Title: RF antenna model in verilogA Post by Pavel on Jun 12th, 2007, 1:22am Hello I have problems modelling RF antenna. Here is code: Code:
Coil geometry description, coil inductance and coil area calculation I bypassed as this is not significant vis-a-vis of problem. As you could see from code, antenna coil has 3 ports - 2 electriacl p1 and p2 and one magnetic - mag_field. Ports p1 and p2 i use to connect antenna coil to circuit, whereas mag_field I use to connect it to generator of magnetic field. The output of this generator has also nature magnetic. In my schema I connect model in parallel to some capacitance and do transition simulation in ADE (Analog Design Environment). The problem is that LC tank induced voltage isn't dependent on value of capacitance. What is wrong in my verilogA description? Regards Pavel. |
Title: Re: RF antenna model in verilogA Post by Geoffrey_Coram on Jun 12th, 2007, 3:57am Pavel wrote on Jun 12th, 2007, 1:22am:
I don't see any MMF() access functions. Electrical has V and I; magnetic should have Phi and MMF. Usually when I see a flow_access_function (such as Phi()) on the RHS, this means that you are measuring the flow, and I expect to see a potential contribution. Here, you are both measuring and contributing the flux, so from a simulator standpoint, I'm not sure what your unknowns are. |
Title: Re: RF antenna model in verilogA Post by Pavel on Jun 12th, 2007, 4:14am Thank you for response, Geoffrey How can I implement MMF() in my code. It has no relations with electrical natures (voltage or current). Regards Pavel. |
Title: Re: RF antenna model in verilogA Post by Geoffrey_Coram on Jun 12th, 2007, 9:38am You have an equation for the inductor V = L ddt(I); I expect to see MMF(mag_??) <+ some expression of Phi(mag_??) or vice-versa. But I haven't worked with magnetics, so my expectation may be wrong. Another thing you could try, if you're fairly sure you've got all the constitutive relations correct is: Code:
|
Title: Re: RF antenna model in verilogA Post by Pavel on Jun 19th, 2007, 6:47am Geoffrey, you were right Finally this code seems to work: Code:
Regards. Pavel |
Title: Re: RF antenna model in verilogA Post by Geoffrey_Coram on Jun 19th, 2007, 10:25am Glad to hear you got it working; thanks for posting the working code for posterity. |
The Designer's Guide Community Forum » Powered by YaBB 2.2.2! YaBB © 2000-2008. All Rights Reserved. |