How simulate a transformer with Maxwell Ansoft?

In summary, if You want to simulate a transformer with Maxwell 3D, first you need to create a solid copper ring, then create a section, delete uneeded sections, assign an "excitation" (which can also be a load rather than a power source), and solve the model with magnetostatic solver. If You change any geometry, be sure to clear linked data in transient solution before solving. Once You have a mesh, solve the model with Maxwell and generate a transient report.
  • #1
lba
43
0
Hi,

I would like to simulate a standard transformer (2 coils + 1 closed iron) with Maxwell 3D (V15) but I don't find tutorial or example. Maybe someone can explain how can I do ? I want to see the flux in primary and secondary. And I want to put a tension in primary and see the current in secondary. Is it possible ? I need 3D example becaus e my transformer have a non 2D piece.

Thanks
Lba
 
Engineering news on Phys.org
  • #2
You'd use the transient solver. Here are some rough steps (from my notes) for creating one winding:

Create a solid copper ring.

Create a section:
create a coord system that intersect the part that should have a section, and make sure that coord sys is selected: modeler/surface/section

Delete uneeded sections:
modeler/boolean/separate bodies
delete uneeded sections

Assign an "excitation" (which can also be a load rather than a power source)
You can use the ckt simulator or just specify a current or voltage source. For example:
select section
maxwell3d/excitations/assign/coil terminal, and specify total number of turns (you'll specify how many turns in each winding later)
maxwell3d/excitations/add winding
Project tree: MyWinding/assign coil terminal

Now you're ready to transient solve:
First, copy the design into the same project and solve it with magnetostatic solver (you'll need at least one magnet somewhere or it won't solve. You might, for example, slightly magnetize the transformer core--just don't do it in the transient design!). You do this solely to create a reasonable FEA mesh.
(There is a bug who's work-around requires that only the transient and magnetostatic designs for this model be in the project--no other designs should be in the project.)
Then go back to transient design and create an analysis that imports the mesh from that magnetostatic design.
Before solving, IF you've changed any geometry, be sure to click 'Clear linked data' in transient solution, or it might use data with wrong geometry.

If you get an error about "mesh quality" not accepted by solver, then delete the output directory and resolve.
 
Last edited:
  • #3
Ok thanks :) , I will try your solution, but there no secondary in your system ?
 
  • #4
lba said:
Ok thanks :) , I will try your solution, but there no secondary in your system ?

Just do the same steps you did to make the first coil to make the second coil. And it will have a different 'excitation', of course. (Remember an excitation can be a source or a load). You don't have to tell Maxwell anything about the fact that its a transformer. Maxwell's job is to simulate the real world (EM-wise, anyway) and you don't have to tell the real world that two coils near each other are a transformer.
 
  • #5
Ok, I will try but how can I add a little
slightly magnetize
? I create new material ?
 
  • #6
Hmm.. some strange anserws here.

First, I hope You have some basic knowledge about how transformer works - I'll skip the basic principles and get to the point.

If You have Your geometry ready (two windings and core reduced by half) go to Transient solver, unless You want to be more precise and check solution in magnetostatic (You'll need to obtain number of turns and currents for both windings).

If You want to be strict, go to magnetostatic and set ampere-turns on both windings (opposite directions). Check the flux in core, generate proper mesh in volumes.

If You want to simply check how flux flows go straight to transient. Here is part of one of my previous post here on the board

[...]
4. Create "region" that will connect magnetically all solution domains (draw->region)
5. Now select the faces one by one and create coil terminals (select faces -> left click to select face -> right click and assign coil terminals. Remember about proper names and direction of the terminals, I mean in-out. like the current flows).
6. Now go to 'excitations' in Project manager. Create two windings and attach coil terminals to them. In windigs excitations select solid or stranded (solid conductor or parrallel conductors) and "external" type of winding - it means it will be connected with external electric circuit.
7. Launch Maxwell Circuit Editor. Create proper circuit (one winding excited from voltage or current source, second winding connected to some impedance load). Remember about naming correctly Your windings, assigning current source and zero point to each independent circuit.
8. Save circuit and export "net list". Go to Maxwell and import it (Maxwell-> Excitations->external circuit->edit external circuit->import circuit).
9. Set up "solution setup". Choose step interval and stop time (depends on frequency You have selected for Your current source). At least 20 steps for period will be fine. Then go to next tab - "save fields". Choose the same time step and stop time (watch units) and add this to list.
10. Validate Analysis and solve it.
11. Go to results in "project manager". Create transient report-> rectandular plot and select quantities You'll like to observe.


Got any qustions - ask
 
  • #7
The external input is ok with voltage from Maxwell circuit editor but the I want to charge the transformer with a resistor and Maxwell give me an error see below the drawing please. How can I put a resistor to the secondary winding ?
thanks :)
 

Attachments

  • pb projet 10 ansoft.png
    pb projet 10 ansoft.png
    2.9 KB · Views: 1,229
  • #8
i have find a solution for the last problem, need to have Winding 1 and 2 in the same circuit editor.

but i have another problem (see the drawing) maybe someone know what ?
 

Attachments

  • pb projet 10 ansoft v2.png
    pb projet 10 ansoft v2.png
    14.3 KB · Views: 1,140
  • circuit editor.png
    circuit editor.png
    4.4 KB · Views: 1,937
  • #9
lba said:
The external input is ok with voltage from Maxwell circuit editor but the I want to charge the transformer with a resistor and Maxwell give me an error see below the drawing please. How can I put a resistor to the secondary winding ?
thanks :)

It looks like the name of Your coil in Circuit Editor is different than this one in Maxwell 3D (they must be the same).

Using resistor as a load of transformer ? Nothing more simple, connect it in series with winding. No "magic" here ;)

Regards
 
  • #10
lba said:
i have find a solution for the last problem, need to have Winding 1 and 2 in the same circuit editor.

but i have another problem (see the drawing) maybe someone know what ?

Add a minimum resistance (like 1e-6 ohm) in series to circuit with voltage excitation. This small resistance has almost no effect on results but helps Maxwell to start simulation

Regards
 
  • #11
ok, it's better I don't have the error about loop current but I have always the first error in the message "don't have enough memory or killed by user".

thanks for your help
 
  • #12
ok, all is fine it was the mesh I think (different) but now how see the current and the tension ?
 
  • #13
lba said:
ok, all is fine it was the mesh I think (different) but now how see the current and the tension ?

Create a Rectangular Plot and select what do You want to see.. (in results, project tree).
Watch what are you selecting, some of the currents come from maxwell 3D design (maxwell always calculate current and voltage on windings, other come from Your circuit -> those are named branch currents and node voltages).

Regards
 
  • #14
ok, thanks, great ! :)

now, I would like to put 1000 turns to the winding but Maxwell said it's not possible because it's only 1 turn for solid winding, it's possible or not ?
 
  • #15
lba said:
ok, thanks, great ! :)

now, I would like to put 1000 turns to the winding but Maxwell said it's not possible because it's only 1 turn for solid winding, it's possible or not ?

"Solid winding" means that it's one mass of copper - so it has to be just one turn.

Check "stranded" (multiple parallel wires in selected mass) as winding structure and You can change number of turns (on both coil terminals of coil).
For next projects use rather "stranded" than "solid" unless You have a reason.

Glad it helps
Regards
 
  • #16
fleem, how exactly to overcome the Import mesh" bug in Maxwell, transient analysis. I'd like to import mesh from eddy current into transient and kept only these two analyses in the project directory (as you suggsted), but clicking on the "setup link" button doesn't open the browser (as it used to do in the previous versions)
 
  • #17
Hi,

All seems good except the voltage at secondary => µV or mV when I charged with 10 Ohms, and if I put R = 10000 Ohms the voltage is good ! what's wrong ?
 
  • #18
lba said:
Hi,

All seems good except the voltage at secondary => µV or mV when I charged with 10 Ohms, and if I put R = 10000 Ohms the voltage is good ! what's wrong ?

Have You designed this transformer or just draw it in Maxwell ? Are You EE ?
 
  • #19
Hi Gerbi,

I'm teacher at University, I have an "Agrégation" in Electrical area (France). I now 2D simulation but I'm new in the 3d.
I have attached the project in this message. I don't have this transformer in reality, I test before build some transformers.

P.ZIP is the project
P MESH.ZIP is the mesh
P_circuit.ZIP is the circuit

I hope you can help me.

Thanks
Regards
 

Attachments

  • p.zip
    38.5 KB · Views: 619
  • p mesh.zip
    32.1 KB · Views: 514
  • p_circuit.zip
    14.1 KB · Views: 531
  • #20
lba said:
Hi Gerbi,

I'm teacher at University, I have an "Agrégation" in Electrical area (France). I now 2D simulation but I'm new in the 3d.
I have attached the project in this message. I don't have this transformer in reality, I test before build some transformers.

P.ZIP is the project
P MESH.ZIP is the mesh
P_circuit.ZIP is the circuit

I hope you can help me.

Thanks
Regards


1. In "almost no load state" (R=1000) there is no voltage drop at secondary. Voltage difference between primary and secondary (both have 100 turns) comes from magnetic circuit design (not all flux links both windings).
2. In load state (R=10) You have almost short circuit. Voltage drops since the current goes above it's nominal value.

I see no simulation/Maxwell problem here. The problem is with the design.

PS.: If You want to observe how things change delete Your mesh operations (Maxwell will go weel enought for some coarse pre-analysis) and go with initial mesh. Change the time step to 0, 0.5, 1 ... 40 ms and You can do "quick change and test" analysis.
One more thing - in circuit editor change excitation to 12*sqrt(2)=16,97V (I bet You wanted to have 12 V RMS but You need to put amplitude in the excitation).

I also suggest gaining some more practical knowledge about transformers designing before building one.. You know, Maxwell is a nice tool but the truth is that, it's not a design tool.

Hope it helps, If You've any more questions - let me know.
 
  • #21
ok, thanks Gerbi but why:

2. In load state (R=10) You have almost short circuit. Voltage drops since the current goes above it's nominal value.
?

What do I need to do for take big current in the secondary, it is the number of turns ? I don't understand where my error is ...

regards
 
  • #22
lba said:
ok, thanks Gerbi but why:

?

What do I need to do for take big current in the secondary, it is the number of turns ? I don't understand where my error is ...

regards

Modify the core

EDIT: ..and I mean material, shape (are those extra limbs needed ?) and it's cross secion (now You have rectangular core and windings - that also affects the results). Wound the windings closer to the core - some flux goes around winding because it's shape (look at the B distribution in X-Z plane).
In small electronic transformers this all may work - with low efficiency. In power transformers the design prinicples are completely different.
 
Last edited:
  • #23
I don't know how have B distribution

And how can I have the self equivalence in mH for each coil ?
 
  • #24
lba said:
I don't know how have B distribution

And how can I have the self equivalence in mH for each coil ?

Select Plan X-Z then click Field Overlays in Projct Tree -> B -> select time moment in bottom left corner of main window for which you want to see field distribution

There is no easy trick to get inductance here.
 
  • #25
but I don't put time, the system don't want, the time is always -1s. I don't understand :"Select Plan X-Z" could you explain please ?
 
  • #26
lba said:
but I don't put time, the system don't want, the time is always -1s. I don't understand :"Select Plan X-Z" could you explain please ?

Project manager -> Analysis -> Setup -> Save fields -> select time step and stop time the same as in the general setup -> click add

In the material tree You cal select Planes -> Global X-Z
 
  • #27
Dear Gerbi, do you know by chance the work around of the import mesh bug I mentioned in post 16
 
  • #28
MaxwellFan said:
Dear Gerbi, do you know by chance the work around of the import mesh bug I mentioned in post 16

Hello

sorry. but no
 
  • #29
Ok, all is fine for transformer Gerbi ;) Thanks !
Now, I would like to simulate a simple motor (primary, iron and magnet). Is it possible to simulate the rotation of the magnet ? And how can I do ?
I would like the couple of forces on the magnet but I don't see it in the report.
Regards
 
  • #30
lba said:
Ok, all is fine for transformer Gerbi ;) Thanks !
Now, I would like to simulate a simple motor (primary, iron and magnet). Is it possible to simulate the rotation of the magnet ? And how can I do ?
I would like the couple of forces on the magnet but I don't see it in the report.
Regards

My pleasure ;)

Know what.. write my Your email adress in Private Message and I'll send You some tutorials about motors, ok ? I don't want to write a book here on forum ;)
 
  • #31
I am designing a 2D model of a three-phase core-type transformer in ANSOFT MAXWELL 14.0. While doing so I have encountered a strange problem.

Start of the problem:-

While designing the transformer, I wanted to incorporate core losses. So, I did the following steps:-

Excitations -> Set Eddy Effects -> checked the various core sections in my model (because eddy current effects occur in the transformer core)

and also

Excitations -> Set Core Loss - > checked the various core sections in my model (because core loss effects occur in the transformer core)

Symptoms :-

Model simulated (using transient solution type) and then gives the following wrong results:

1) Line currents on the primary side (star-connected) are very high (about 10 times)

2) Secondary side (delta connected) phase currents lose their phase dependence, i.e. the phase currents are no more 120 degrees apart, they all are in phase now. However, the secondary line currents are Ok though.

Additional Information :-

If I do not consider eddy current and core loss effects, then the model simulates to give correct results.

Please provide me suggestions/hints/solutions to my problem - how to incorporate core losses correctly in my model.
 
  • #32
hi mantel type transformer with maxwell need to draw, but I do not know how to draw with it. Please can you help?
 
  • #33
transformer diagnose

hai...anyone can give me some idea how can i diagnose my single phase transformer by frequency response using Maxwell..i have create such a model of single phase transformer under transient solver. The turns (coil terminal) for N1 is 436 turns and N2 is 86 turns..

The second idea is ill try to drive the model using circuit editor, and run it with different value of frequency..but it doesn't work and the response on Output voltage does not effect..so any idea how can i diagnose my transformer..really need your help... thank you
 
  • #34
It doesn't work with me either. I tried to import the circuit, the components's name are the same, but it looks like nothing happens.

Any suggestion, people?

Best Regards
 
  • #35
Quastion?

Hi,

I would like to simulate a standard Three phase transformer 11KV/0.4KV (3 coils + 3 lamb) with Maxwell 3D (V14) but I don't find tutorial or example. Maybe someone can explain how can I do? And explain how to start to build this model. I want to see the flux in primary and secondary, and I want to see the effect of change the voltage to material of the core. Is it possible?

Thanks for all

Omar
 

Similar threads

  • Electrical Engineering
Replies
3
Views
536
  • Electrical Engineering
Replies
7
Views
2K
  • Electrical Engineering
Replies
4
Views
1K
  • Electrical Engineering
Replies
8
Views
1K
Replies
10
Views
459
Replies
1
Views
2K
Replies
1
Views
2K
  • Electrical Engineering
3
Replies
81
Views
5K
Replies
1
Views
881
  • Electrical Engineering
Replies
9
Views
1K
Back
Top