The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
May 20th, 2024, 12:50am
Pages: 1
Send Topic Print
grounds in inductively coupled modules (Read 84 times)
Pavel
Senior Member
****
Offline



Posts: 174
Lausanne/Switzerland
grounds in inductively coupled modules
Jan 16th, 2007, 5:21am
 
Hello

I have two modules: module_A and module_B that are inductively coupled.
In each module I declare:
- 2 electrical outputs (from coil of this module to one of another module, in order to calculate in another module fraction of voltage, related to mutual inductance)
- 2 electrical inputs (form coil of another module, in order to calculate in this module fraction of voltage, related to mutual inductance).
- ground node (in module_A it coinsides with one of the coil nodes, in module_B - not.

In top-level testbench I instantiate module_A and module_B and do the necessary connections between modules,
but don't declare ground node.

The signal source is in module_A)

The simulation results are strange: at coil outputs of module_A there is no signal (both outputs are equal to zero) as if both outputs were grounded.
When I deconnect module_A coil outputs from corresponding inputs of module_B, the signal at module_A coil outputs does present.

What could be the "right" connection strategy of 2 inductively coupled modules.

Thanks in advance.

Pavel.
Back to top
 
 
View Profile   IP Logged
Geoffrey_Coram
Senior Fellow
******
Offline



Posts: 1999
Massachusetts, USA
Re: grounds in inductively coupled modules
Reply #1 - Jan 16th, 2007, 6:21am
 
Hard to debug from the description you have ... one of the moduleA outputs is grounded, you say, so I'd look carefully at the probe in moduleB that is supposed to detect the voltage across the outputs of A.

Also, in circuits, "output" and "input" don't really apply (one uses them for gate-level simulations) -- but then, many analog simulators ignore these and treat all ports as "inout" anyway.

I think you should post the contribution statements from your modules.
Back to top
 
 

If at first you do succeed, STOP, raise your standards, and stop wasting your time.
View Profile WWW   IP Logged
Pavel
Senior Member
****
Offline



Posts: 174
Lausanne/Switzerland
Re: grounds in inductively coupled modules
Reply #2 - Jan 16th, 2007, 7:10am
 
Geoffrey, thank you for your response.
Here is shorted part of my code:

module_A:
Code:
module_A (COIL1, COIL2, COIL1_ext, COIL2_ext);
output COIL1, COIL2;
input COIL1_ext, COIL2_ext, node_read;
electrical COIL1, COIL2;
electrical COIL1_ext, COIL2_ext;

analog begin

	dOut_int = ddt(I(COIL1, node_read));
	dOut_ext = ddt(I(COIL1_ext, COIL2_ext));

	V(COIL1, node_read) <+ l_ant_reader * dOut_int + M * dOut_ext;

end

endmodule
 




module_B:
Code:
module_A (COIL1, COIL2, COIL1_ext, COIL2_ext);
output COIL1, COIL2;
input COIL1_ext, COIL2_ext;
electrical COIL1, COIL2;
electrical COIL1_ext, COIL2_ext;

analog begin

	dOut_int = ddt(I(COIL1, node_tag));
	dOut_ext = ddt(I(COIL1_ext, COIL2_ext));

	V(COIL1, node_tag) <+ l_ant_tag * dOut_int + M * dOut_ext;

end

endmodule
 



Assembly
Code:
module_TOP ();
ground gnd;
module_A U1 (.COIL1(coil1_A), .COIL2(gnd), .COIL1_ext(coil1_B), .COIL2_ext(gnd));
module_B U2 (.COIL1(coil1_B), .COIL2(gnd), .COIL1_ext(coil1_A), .COIL2_ext(gnd));
endmodule 



For simplicity I didn't show signal source (in module_A) and some other circuitry in modules A and B,
concentrating only on inductive coupling.

I also changed ground strategy, declaring ground only in TOP module.
This changement didn't resolve the problem.

Signal coil1_A as well as COIL1 output of module_A are at 0. When I deconnect module_B they return to "normal".

Regards.

Pavel.
Back to top
 
 
View Profile   IP Logged
Geoffrey_Coram
Senior Fellow
******
Offline



Posts: 1999
Massachusetts, USA
Re: grounds in inductively coupled modules
Reply #3 - Jan 16th, 2007, 1:14pm
 
You have some typos in your post: node_read is declared as an input but it's not in the port list (should be declared electrical or ground, I think).  And in moduleB, node_tag isn't declared at all.
Back to top
 
 

If at first you do succeed, STOP, raise your standards, and stop wasting your time.
View Profile WWW   IP Logged
Pages: 1
Send Topic Print
Copyright 2002-2024 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to editor@designers-guide.org. Consider submitting a paper or model.