Close
0%
0%

3D Printed X-Ray Machine

Fully 3D printed x-ray machine using a dental tube and a custom transformer.

Similar projects worth following
X-Ray machine built from scratch, no TV flybacks :D. I used a modified ZVS Mazzilli driver capable of driving 150V at 110kHz for the custom transformer's primary. A Cockroft-Walton multiplier gets the voltage up to 65kV. Everything is controlled by a regular Arduino UNO board.

***Safety First***

This machine is very dangerous. I would not recommend it's construction unless you know what you are doing.

To avoid any risk, I set a countdown and leave the machine alone until the job is done. I do have a Geiger counter to make sure I'm not receiving x-rays. The hand picture was only done once and for half a second of exposure :P

Introduction

This project started with a question one day taking a shower: can I build a decent X-Ray machine in the garage? I quickly found the answer,  no. At least, not with what I knew or could make. I had to spend like 2 years (I was also studying physics at college) to improve my skills and knowledge.

Finally I started designing the whole housing with Autodesk Fusion 360, limited by my 3D printer's area. I wanted to design a powerful machine, and I wanted it to be plug and play, so the power supply would have to be inside. I had to think a lot how to put inside that housing every single part of the machine, this was an absolut hell since I was limited by the size of my printer.

To solve that problem, I decided to make two levels inside the machine. The first level would contain the main 48V PSU, the Arduino board and the high voltage transformer. The second level would be above, containing the ZVS, another 12V PSU and a step-down converter for the tube's filament. The waterproof box that contains the voltage multiplier and the tube would be at the front of the machine occupying both levels. The machine has no buttons. it's controlled via USB, using the Arduino IDE's monitor to send commands to the machine.

Also, because this machine is my final degree project at college, I wanted it to have my college's logo on it, the one shown on top.

The machine is very powerful but probably not as powerful as any professional unit you can buy. Well the idea was to just learn how to make one and that is checked.

I also recorded most of the design & construction process and made a short video:


If you want to see two live tests, see the file "tests.mp4".

Note: this project contains my subproject https://hackaday.io/project/162935-piernass-fast-zvs-mazzilli-driver


MPEG-4 Video - 21.78 MB - 12/21/2018 at 23:47

Download

JPEG Image - 1.12 MB - 12/21/2018 at 23:40

Preview
Download

JPEG Image - 1.15 MB - 12/21/2018 at 23:40

Preview
Download

JPEG Image - 1.31 MB - 12/21/2018 at 23:40

Preview
Download

JPEG Image - 1.01 MB - 12/21/2018 at 23:40

Preview
Download

View all 11 files

View all 23 components

  • Update time

    Fran Piernas3 days ago 0 comments

    Hi there everyone, huge thanks to all of you that follow and liked this project. I have had finals now but I have finished and I have some free time to upload new content.

    Here you have some pictures:

    Winding the transformer with the rudimentary but useful coil winder.


    Printing parts:

    The first level of parts. You can see here an arduino board, a buzzer, the 5.5kV transformer, a fan and the 48VDC PSU.

    And above all this, the top level:

    Numbers are:

    1. Fast ZVS
    2. Regular chinese 12V PSU.
    3. Step-down converter.
    4. Fuse and extender. The fuse is for the x-ray tube filament. It also contains a voltage divider used by arduino to read the filament voltage and it has other connections for the laser grid.
    5. Relay module. One of the relays controls the filament. The other enables or disables the Mosfet driver of the ZVS.
    6. Waterproof box containing the tube and voltage multiplier. Those blue things are HV capacitors placed between the cathode of the tube and mains earth, they stabilize voltage and improve efficiency.
    7. Vertical laser.

    Lights :D

    Back:

    Front with laser grid:

    The machine is fully operated by the arduino board. It has no buttons, so a computer is used to send commands to arduino. These are the commands:

    • E: check machine status (arduino reads filament voltage and checks the Power_Good signal of the 48V PSU)
    • L: check lasers.
    • H+percentage: it sets the intensity in percentage for the horizontal laser. Example: H20 sets it by 20%.
    • V+percentaje: the same, but for the vertical one.
    • P: stop everything. If it's x-raying, it stops; if it was counting down to x-ray, it will stop. The 48V PSU, the filament, the ZVS and the laser grid will be turned off.
    • F: read filament voltage and show it on screen.
    • C+integer: Sets the countdown. Example: C10 sets a 10 second countdown when you use the x-ray command.
    • R+integer: X-ray command. When sent to arduino, the countdown set by the previous command starts. When it reaches 0, arduino turns on the 48V PSU, the ZVS and the filament. The machine will x-ray for as many milliseconds as set by this command. Example: R2000 will x-ray for 2 seconds.

    The machine uses a very specific way to stop x-raying. First it stops the 48V PSU and the tube filament at the same time, waits 200 ms and stops the mosfet driver of the ZVS. This is a better way to operate the machine rather than using another relay to cut the current coming from the PSU and going to the ZVS. The ZVS has an inductor that stores energy. If the current is suddenly cut, a high voltage peak will happen on both mosfet drains. To prevent this, arduino simply turns off the PSU, so all energy left in the ZVS leaves it through a fully on mosfet. Then arduino stops the mosfet driver and both mosfets of the ZVS turns off.

    That's all for now, see ya in the next update.

View project log

Enjoy this project?

Share

Discussions

Gonçalo Nespral wrote 01/10/2019 at 16:57 point

ey ive got the same soldering iron

  Are you sure? yes | no

Fran Piernas wrote 01/10/2019 at 20:00 point

Soldering iron mates.

  Are you sure? yes | no

Gonçalo Nespral wrote 01/10/2019 at 16:56 point

Holy shit this is by far one of the coolest projects ive seen here... keep it up, this is awesome!

  Are you sure? yes | no

Fran Piernas wrote 01/10/2019 at 20:00 point

Thank you :P

  Are you sure? yes | no

jmhead01 wrote 01/10/2019 at 06:54 point

Any lead panel shielding? Lead is cheap :) And you could encase it in epoxy etc to seal in the leadness :)
Very cool build - could see lots of practical applications, just with some very good overlapping shielding :)

  Are you sure? yes | no

Fran Piernas wrote 01/10/2019 at 20:09 point

It has 1mm of lead that removes around 97% of the photons energy. Adding more lead was not necessary since the machine is activated remotely, so you are not behind the beam, you are just in another room or in another country if you want.

  Are you sure? yes | no

Jeff Wilkinson wrote 01/09/2019 at 22:35 point

Expanding on the Marie Curie vibe - your geiger counter is generally under-responding. You should be using an ion chamber to get a reasonable measurement. Also, although the beam is much more intense in the forward direction you will be getting substantial radiation in the other directions, even with a tube housing. Don't assume since the geiger counter is much angrier in front of the machine that you are safe behind it.

  Are you sure? yes | no

Justin Kenny wrote 01/09/2019 at 19:14 point

Did you find documentation for your specific dental tube or did you discover the pinout yourself? I purchased a dental tube a long time ago with the intention of making a homemade X-ray machine also, but never got around to doing anything since I didn't know the pinout for it and couldn't find any info on the model I purchased.

Edit: Nevermind, the tube you are using is very well documented and simple to use. Mine is a full up dental X-ray machine head with no visibility to the internals, but does have the built in shielding.

  Are you sure? yes | no

Fran Piernas wrote 01/10/2019 at 20:03 point

The pinout is easy to know, the pin not connected to the others via some resistance is the grid pin. The other two are the filament pins.

  Are you sure? yes | no

Mayke wrote 01/09/2019 at 18:01 point

Massive accomplishment! 

Congratulations.

How much electricity does it use? I do ecology research and I always wanted to take x-rays of bromeliad plants in the field :(

  Are you sure? yes | no

Fran Piernas wrote 01/10/2019 at 20:05 point

Thanks c: it only draws around 80W.

  Are you sure? yes | no

Evan Allen wrote 12/24/2018 at 20:39 point

What material is the sheet you're using for exposure? Do you set up the camera and leave the room/building during exposure? Have you had any issues with having the camera in the x-ray beam or do you take pictures off-axis with the beam?

  Are you sure? yes | no

Fran Piernas wrote 12/25/2018 at 02:52 point

My screen is a Fuji Speed Green, I want to test other screens like some Kodak Lanex but they are pricey. Yes, I send a command to the machine that sets a countdown and I leave it alone until it has finished, I'm not in front of the machine taking the picture.

I always put the camera on axis (in front of the beam), the pictures I get are great as you can see. Only when I'm recording on video I get some bright pixel noise.

  Are you sure? yes | no

donvukovic wrote 12/24/2018 at 18:31 point

Where did you get the "Dental Tube" ?

  Are you sure? yes | no

Fran Piernas wrote 12/25/2018 at 02:46 point

I was lucky to find it new on eBay for around 60 bucks. It's a CEI OX/70-G4.

  Are you sure? yes | no

logan1691987 wrote 12/24/2018 at 02:48 point

Amazing work but please don't end up like Marie Curie

  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates