{"id":231,"date":"2020-06-04T20:02:41","date_gmt":"2020-06-04T20:02:41","guid":{"rendered":"http:\/\/www.daddyzaur.com\/?p=231"},"modified":"2020-07-27T07:53:29","modified_gmt":"2020-07-27T07:53:29","slug":"3d-freecad-torus-winding-project-test","status":"publish","type":"post","link":"http:\/\/www.daddyzaur.com\/?p=231","title":{"rendered":"3D FreeCAD Toroidal Transformer Winding Project"},"content":{"rendered":"\n<p>Finally, I completed my first 3D Toroidal Winding Project in FreeCAD, and I can use it for real work. Just changing a few numbers in a spreadsheet I can generate automatically and in only a few seconds pretty much any transformer configuration, up to 32 layers\/windings, based on real spec-sheet core and winding wire parameters. With a bit of COPY\/PASTE it is possible to add more winding layers, more windings in a layer, change independently the beginning\/end angle of the windings, the winding pass, interleave or separate them, and so on.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"984\" height=\"1024\" src=\"http:\/\/www.daddyzaur.com\/wp-content\/uploads\/2020\/07\/Z-TEMPLATE_TR_1Px1Sx1B_0077071A7HT22-984x1024.png\" alt=\"\" class=\"wp-image-300\" srcset=\"http:\/\/www.daddyzaur.com\/wp-content\/uploads\/2020\/07\/Z-TEMPLATE_TR_1Px1Sx1B_0077071A7HT22-984x1024.png 984w, http:\/\/www.daddyzaur.com\/wp-content\/uploads\/2020\/07\/Z-TEMPLATE_TR_1Px1Sx1B_0077071A7HT22-288x300.png 288w, http:\/\/www.daddyzaur.com\/wp-content\/uploads\/2020\/07\/Z-TEMPLATE_TR_1Px1Sx1B_0077071A7HT22-768x799.png 768w, http:\/\/www.daddyzaur.com\/wp-content\/uploads\/2020\/07\/Z-TEMPLATE_TR_1Px1Sx1B_0077071A7HT22.png 1474w\" sizes=\"auto, (max-width: 984px) 100vw, 984px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"1004\" src=\"http:\/\/www.daddyzaur.com\/wp-content\/uploads\/2020\/06\/Torus_013-1024x1004.png\" alt=\"\" class=\"wp-image-276\" srcset=\"http:\/\/www.daddyzaur.com\/wp-content\/uploads\/2020\/06\/Torus_013-1024x1004.png 1024w, http:\/\/www.daddyzaur.com\/wp-content\/uploads\/2020\/06\/Torus_013-300x294.png 300w, http:\/\/www.daddyzaur.com\/wp-content\/uploads\/2020\/06\/Torus_013-768x753.png 768w, http:\/\/www.daddyzaur.com\/wp-content\/uploads\/2020\/06\/Torus_013-1536x1507.png 1536w, http:\/\/www.daddyzaur.com\/wp-content\/uploads\/2020\/06\/Torus_013.png 1566w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"976\" height=\"1024\" src=\"http:\/\/www.daddyzaur.com\/wp-content\/uploads\/2020\/06\/Torus_011-976x1024.png\" alt=\"\" class=\"wp-image-277\" srcset=\"http:\/\/www.daddyzaur.com\/wp-content\/uploads\/2020\/06\/Torus_011-976x1024.png 976w, http:\/\/www.daddyzaur.com\/wp-content\/uploads\/2020\/06\/Torus_011-286x300.png 286w, http:\/\/www.daddyzaur.com\/wp-content\/uploads\/2020\/06\/Torus_011-768x806.png 768w, http:\/\/www.daddyzaur.com\/wp-content\/uploads\/2020\/06\/Torus_011-1464x1536.png 1464w, http:\/\/www.daddyzaur.com\/wp-content\/uploads\/2020\/06\/Torus_011.png 1487w\" sizes=\"auto, (max-width: 976px) 100vw, 976px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"953\" src=\"http:\/\/www.daddyzaur.com\/wp-content\/uploads\/2020\/06\/Torus_010-1024x953.png\" alt=\"\" class=\"wp-image-278\" srcset=\"http:\/\/www.daddyzaur.com\/wp-content\/uploads\/2020\/06\/Torus_010-1024x953.png 1024w, http:\/\/www.daddyzaur.com\/wp-content\/uploads\/2020\/06\/Torus_010-300x279.png 300w, http:\/\/www.daddyzaur.com\/wp-content\/uploads\/2020\/06\/Torus_010-768x714.png 768w, http:\/\/www.daddyzaur.com\/wp-content\/uploads\/2020\/06\/Torus_010-1536x1429.png 1536w, http:\/\/www.daddyzaur.com\/wp-content\/uploads\/2020\/06\/Torus_010-1568x1459.png 1568w, http:\/\/www.daddyzaur.com\/wp-content\/uploads\/2020\/06\/Torus_010.png 1705w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1010\" height=\"1024\" src=\"http:\/\/www.daddyzaur.com\/wp-content\/uploads\/2020\/06\/Torus_009-1010x1024.png\" alt=\"\" class=\"wp-image-279\" srcset=\"http:\/\/www.daddyzaur.com\/wp-content\/uploads\/2020\/06\/Torus_009-1010x1024.png 1010w, http:\/\/www.daddyzaur.com\/wp-content\/uploads\/2020\/06\/Torus_009-296x300.png 296w, http:\/\/www.daddyzaur.com\/wp-content\/uploads\/2020\/06\/Torus_009-768x778.png 768w, http:\/\/www.daddyzaur.com\/wp-content\/uploads\/2020\/06\/Torus_009-1515x1536.png 1515w, http:\/\/www.daddyzaur.com\/wp-content\/uploads\/2020\/06\/Torus_009.png 1552w\" sizes=\"auto, (max-width: 1010px) 100vw, 1010px\" \/><\/figure>\n\n\n\n<p><strong>What was so difficult you ask?<\/strong><\/p>\n\n\n\n<p>For starters, I had to learn a CAD program. And yes, FreeCAD has some impressive abilities; dealing with a bunch of Toroidal windings is not one of them, or at least it was not quite trivial starting with a Helix. There is a good tutorial on YouTube, and it helped me to understand the good and the not so good: <a href=\"https:\/\/www.youtube.com\/watch?v=ou92FEz1lT0\">https:\/\/www.youtube.com\/watch?v=ou92FEz1lT0<\/a> . Without too much talking, the working projects can be found here: <\/p>\n\n\n\n<div class=\"wp-block-file\"><a href=\"http:\/\/www.daddyzaur.com\/wp-content\/uploads\/2020\/07\/Z-TEMPLATE_TR_1Px1Sx1B_0077071A7HT22.FCStd_.zip\">Z-TEMPLATE_TR_1Px1Sx1B_0077071A7HT22.FCStd_<\/a><a href=\"http:\/\/www.daddyzaur.com\/wp-content\/uploads\/2020\/07\/Z-TEMPLATE_TR_1Px1Sx1B_0077071A7HT22.FCStd_.zip\" class=\"wp-block-file__button\" download>Download<\/a><\/div>\n\n\n\n<p><strong>How I did it?<\/strong><\/p>\n\n\n\n<p>The secret sauce I used to get a &#8220;perfect&#8221; 3D model was to avoid altogether the Helix beast and to describe the winding contour on the toroid based on only straight lines and perfect circles. Feeding FreeCAD with only this kind of elementary data proved to be the right medicine. Many thanks to <span style=\"color:#0922c3\" class=\"has-inline-color\"><strong>chrisb<\/strong><\/span> and to <span style=\"color:#0922c3\" class=\"has-inline-color\"><strong>drmacro<\/strong><\/span> from the FreeCAD forum, they clarified where  I should look for problems. Now the size of the project file, the precision of the model, and the FreeCAD processing speed are quite ideal I would say.<\/p>\n\n\n\n<p>The winding head has guiding pads to keep the wire in a defined position, especially when the sliding belt or the shuttle are in the &#8220;recovery&#8221; arc. This winding technique will force the wire to follow a mostly vertical path on the outside or the inside surface, while the angle progression from turn to turn is mostly placed on the TOP and the BOTTOM surface of the Torus. The 3D model proposed here is using vertical planes arranged to mark the winding reference angles. The winding path traced on the vertical Torus surfaces will have vertical lines, and properly adjusted winding angles on the flat TOP and BOTTOM surfaces. The proper dimensions and angles will be retrieved from the SETdata spreadsheet.<\/p>\n\n\n\n<p>It is true, the &#8220;real&#8221; winding has some angle added on the internal and external vertical faces too. For the reason explained before this angle dos not quite follows an ideal Helix, and my model can be amended to account even for this slight mismatch (using 4 slicing planes instead of only 2). A winding machine will always wiggle over those angles, I decided that my 3D model falls inside the nominal winding precision window.<\/p>\n\n\n\n<p>After the real Torus was defined I needed to define a new and larger Torus to help draw the path of the winding wire, more precisely the path for the center of the wire cross section. If more than one winding layer is required it is possible to define more and incrementally larger Torus shapes, to account for filling-up the Torus with multiple layers.<\/p>\n\n\n\n<p><strong>What was wrong with the YouTube tutorial?<\/strong><\/p>\n\n\n\n<p>FreeCAD can easily create a Helix, but only if the Helix is progressing in a linear direction. Unfortunately, in order to place a Helical winding on a Torus you have to bend the Helix progression in a revolving way along the Torus. That, right there, is breaking the FreeCAD camel&#8217;s back: bending the Helix will dramatically increase the size of the FreeCAD project file, and the resulting shapes are kind of useless. Any attempt to further process those resulting shapes will crash the program after a looooong waiting time. And yes, poor FreeCAD will successfully check the geometry and it will report that everything is just peachy. The &#8220;work-around&#8221; used in the YouTube tutorial was to approximate a circular revolving Helix slice using a linear progressing Helix chunk. This choice works somehow, but only for &#8220;golden ratio&#8221; projects. As soon as one attempts to decrease the number of turns or to choose an unusual core size ratio, the 3D model kind of breaks down:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"926\" height=\"1024\" src=\"http:\/\/www.daddyzaur.com\/wp-content\/uploads\/2020\/06\/Torus_008-926x1024.png\" alt=\"\" class=\"wp-image-281\" srcset=\"http:\/\/www.daddyzaur.com\/wp-content\/uploads\/2020\/06\/Torus_008-926x1024.png 926w, http:\/\/www.daddyzaur.com\/wp-content\/uploads\/2020\/06\/Torus_008-271x300.png 271w, http:\/\/www.daddyzaur.com\/wp-content\/uploads\/2020\/06\/Torus_008-768x849.png 768w, http:\/\/www.daddyzaur.com\/wp-content\/uploads\/2020\/06\/Torus_008.png 1031w\" sizes=\"auto, (max-width: 926px) 100vw, 926px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"668\" src=\"http:\/\/www.daddyzaur.com\/wp-content\/uploads\/2020\/06\/Torus_006-1024x668.png\" alt=\"\" class=\"wp-image-283\" srcset=\"http:\/\/www.daddyzaur.com\/wp-content\/uploads\/2020\/06\/Torus_006-1024x668.png 1024w, http:\/\/www.daddyzaur.com\/wp-content\/uploads\/2020\/06\/Torus_006-300x196.png 300w, http:\/\/www.daddyzaur.com\/wp-content\/uploads\/2020\/06\/Torus_006-768x501.png 768w, http:\/\/www.daddyzaur.com\/wp-content\/uploads\/2020\/06\/Torus_006-1536x1002.png 1536w, http:\/\/www.daddyzaur.com\/wp-content\/uploads\/2020\/06\/Torus_006-1568x1022.png 1568w, http:\/\/www.daddyzaur.com\/wp-content\/uploads\/2020\/06\/Torus_006.png 1759w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Finally, I completed my first 3D Toroidal Winding Project in FreeCAD, and I can use it for real work. Just changing a few numbers in a spreadsheet I can generate automatically and in only a few seconds pretty much any transformer configuration, up to 32 layers\/windings, based on real spec-sheet core and winding wire parameters. &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/www.daddyzaur.com\/?p=231\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;3D FreeCAD Toroidal Transformer Winding Project&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-231","post","type-post","status-publish","format-standard","hentry","category-uncategorized","entry"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"http:\/\/www.daddyzaur.com\/index.php?rest_route=\/wp\/v2\/posts\/231","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.daddyzaur.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.daddyzaur.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.daddyzaur.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.daddyzaur.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=231"}],"version-history":[{"count":17,"href":"http:\/\/www.daddyzaur.com\/index.php?rest_route=\/wp\/v2\/posts\/231\/revisions"}],"predecessor-version":[{"id":314,"href":"http:\/\/www.daddyzaur.com\/index.php?rest_route=\/wp\/v2\/posts\/231\/revisions\/314"}],"wp:attachment":[{"href":"http:\/\/www.daddyzaur.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=231"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.daddyzaur.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=231"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.daddyzaur.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=231"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}