How simulate a transformer with Maxwell Ansoft?

AI Thread Summary
To simulate a transformer in Maxwell 3D, users should utilize the transient solver and follow specific steps for creating windings, assigning excitations, and managing the mesh. It's essential to create two coils with distinct excitations and ensure they are properly linked in the circuit editor. Users may encounter issues with voltage readings at the secondary winding, which can be attributed to design factors such as core material and geometry. Adjustments to the circuit, including using a resistor as a load, and ensuring the correct number of turns for windings are crucial for accurate simulations. Overall, understanding transformer design principles and proper simulation setup is vital for successful results in Maxwell 3D.
lba
Messages
43
Reaction score
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
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:
Ok thanks :) , I will try your solution, but there no secondary in your system ?
 
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.
 
Ok, I will try but how can I add a little
slightly magnetize
? I create new material ?
 
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
 
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,303
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,184
  • circuit editor.png
    circuit editor.png
    4.4 KB · Views: 2,013
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

  • #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
 
  • #36
Hi all,

Here is the link to Ansoft/Ansys Maxwell detailed documentations! even me is a beginner, hope it helps..

regards,
SAra
 
  • #37
Hi Everyone!
I am working on Ansoft Maxwell 2D software for designing a single phase transformer, 240 turns each side, but I am getting secondary voltage in mV. so no flux is linking with the secondary side. I followed the steps that was previously written in the forum, but as I beginner I need you help.Please see attached the circuit and errors I got.
Regards,
Hiteshi
 

Attachments

  • Capture_no_load_model.PNG
    Capture_no_load_model.PNG
    62.9 KB · Views: 992
  • Capture_circuit_editor.PNG
    Capture_circuit_editor.PNG
    4.9 KB · Views: 1,396
  • Capture_error_list.PNG
    Capture_error_list.PNG
    9.1 KB · Views: 828
  • #38
Hiteshi said:
Hi Everyone!
I am working on Ansoft Maxwell 2D software for designing a single phase transformer, 240 turns each side, but I am getting secondary voltage in mV. so no flux is linking with the secondary side. I followed the steps that was previously written in the forum, but as I beginner I need you help.Please see attached the circuit and errors I got.
Regards,
Hiteshi

Hi Hiteshi,

I hope your 'Primary_winding_Right' and 'Primary_winding_Left' are the two coils that you created for primary (Coils need to be assigned to their appropriate windings)

in project manager--> Excitations: Right click on 'Primary_winding_Right' coil--> assign to 'Primary' winding, similarly do this for secondary also..

Forums are meant for clarifying doubts, while learning a software follow an appropriate example problem in their Maxwell manual found here: http://ansoft-maxwell.narod.ru/english.html

It may consume time, but there are no better alternatives..

--SAra
 
  • #39
Aravinth S said:
Hi Hiteshi,

I hope your 'Primary_winding_Right' and 'Primary_winding_Left' are the two coils that you created for primary (Coils need to be assigned to their appropriate windings)

in project manager--> Excitations: Right click on 'Primary_winding_Right' coil--> assign to 'Primary' winding, similarly do this for secondary also..

Forums are meant for clarifying doubts, while learning a software follow an appropriate example problem in their Maxwell manual found here: http://ansoft-maxwell.narod.ru/english.html

It may consume time, but there are no better alternatives..

--SAra

Hi Sara,

Thanks for your quick response. I appreciate that. Also manual is quite good. I will look into it. Thanks again!

Regards,
Hiteshi
 
  • #40
Hey Sara,

So I have gone through the manual and simulated a single phase transformer. While validating, I haven't got any errors and magneto static simulation went well. But when I am doing transient simulation, while simulating I am getting this error "Winding L@Name defined in external circuits not assigned". I don't understand what and where exactly it is asking me to define it? I want to get the output voltage which was not coming earlier.

I would appreciate your help.

Regards,
Hiteshi
 

Attachments

  • Errors_Sigle_Phase_MArch1.PNG
    Errors_Sigle_Phase_MArch1.PNG
    60.6 KB · Views: 813
  • #41
Hiteshi said:
Hey Sara,

So I have gone through the manual and simulated a single phase transformer. While validating, I haven't got any errors and magneto static simulation went well. But when I am doing transient simulation, while simulating I am getting this error "Winding L@Name defined in external circuits not assigned". I don't understand what and where exactly it is asking me to define it? I want to get the output voltage which was not coming earlier.

I would appreciate your help.

Regards,
Hiteshi

Hi Hiteshi,

looks like you are not using one of your inductor defined at circuit in your maxwell model.

Regards,
SAra
 
  • #42
Aravinth S said:
Hi Hiteshi,

looks like you are not using one of your inductor defined at circuit in your maxwell model.

Regards,
SAra

send me your file, i shall look into it.

-SAra
 
  • #43
Aravinth S said:
send me your file, i shall look into it.

-SAra
Hey Sara,

Thanks for your reply. Considering your suggestion, I now kept only the secondary side circuit in the circuit editor and deleted the primary side, and secondary side inductor were used in the model (external circuit) , so that issue is now rectified. and I got an error while simulating, states that its an internal solver error. I will look into it today. You also should have a look, and suggest me something, as in validation i am not getting any error, only error is in analyzing it.

Thanks again Sara!

Regards,
Hiteshi
 

Attachments

  • Error_Single_Phase.png
    Error_Single_Phase.png
    81.7 KB · Views: 651
  • #44
Hey Sara,

So I simulated a couple of random models, some of them worked properly in both magnetic and transient simulations,but with two models, I had those internal solver issues, Please find attached my files. So in one model, I got internal solver error, MFX error and other states only internal solver error. Can you help me in figuring out this issue.
Thanks in advance!

Regards,
Hiteshi
 

Attachments

  • #45
hey all
how can I see magnetic field respect to time in specific point around transformer?
 
Back
Top