{"id":726,"date":"2025-02-22T22:28:35","date_gmt":"2025-02-22T22:28:35","guid":{"rendered":"https:\/\/robinpeeten.com\/?p=726"},"modified":"2026-09-21T21:27:03","modified_gmt":"2026-09-21T21:27:03","slug":"x-ray-imaging","status":"publish","type":"post","link":"https:\/\/labparvum.com\/index.php\/2025\/02\/22\/x-ray-imaging\/","title":{"rendered":"DIY X-Ray Imaging System"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">I&#8217;ve been working on building my own X-ray machine to image objects and determine their internal geometry without destructive testing. This project is still a work in progress, but I wanted to share some of my progress so far.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I&#8217;m using this post for my own documentation as well, so several sections remain incomplete. Parts of this project build on my previous <a href=\"https:\/\/labparvum.com\/index.php\/2019\/06\/20\/fusor-short-ver\/\" data-type=\"link\" data-id=\"https:\/\/labparvum.com\/index.php\/2019\/06\/20\/fusor-short-ver\/\">Fusor project<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I&#8217;ve wanted to build an X-ray machine since finishing my Fusor in high school. In 2024, I was finally able to acquire some hard-to-find components and resume work on the project. My goal is to complete it this year.<\/p>\n\n\n\n\n\n<h2 class=\"wp-block-heading\">X-Ray Tube<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">An X-ray tube works by generating an electron cloud in a vacuum using a filament, then accelerating these electrons to high speed toward an anode using high voltage. When the electrons strike the anode, approximately 1% of their energy is converted into X-rays, while the remaining 99% is converted into heat.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"470\" height=\"271\" src=\"https:\/\/labparvum.com\/wp-content\/uploads\/2025\/05\/Schematics-of-a-conventional-X-ray-tube-the-electrons-e-are-emitted-from-the-1.jpg\" alt=\"Schematic diagram of a conventional X-ray tube showing electron flow from filament to anode\" class=\"wp-image-828\" srcset=\"https:\/\/labparvum.com\/wp-content\/uploads\/2025\/05\/Schematics-of-a-conventional-X-ray-tube-the-electrons-e-are-emitted-from-the-1.jpg 470w, https:\/\/labparvum.com\/wp-content\/uploads\/2025\/05\/Schematics-of-a-conventional-X-ray-tube-the-electrons-e-are-emitted-from-the-1-300x173.jpg 300w\" sizes=\"auto, (max-width: 470px) 100vw, 470px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">I selected the HBJ21 tube primarily due to its low cost and availability for import into Belgium. I attempted to source other tubes with better specifications and documentation, but was unable to secure shipping to my location.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"747\" height=\"747\" src=\"https:\/\/labparvum.com\/wp-content\/uploads\/2025\/05\/S44723d907816426dad70bce4797b24e2G.webp\" alt=\"HBJ21 X-ray tube\" class=\"wp-image-827\" style=\"width:270px;height:auto\" srcset=\"https:\/\/labparvum.com\/wp-content\/uploads\/2025\/05\/S44723d907816426dad70bce4797b24e2G.webp 747w, https:\/\/labparvum.com\/wp-content\/uploads\/2025\/05\/S44723d907816426dad70bce4797b24e2G-300x300.webp 300w, https:\/\/labparvum.com\/wp-content\/uploads\/2025\/05\/S44723d907816426dad70bce4797b24e2G-150x150.webp 150w, https:\/\/labparvum.com\/wp-content\/uploads\/2025\/05\/S44723d907816426dad70bce4797b24e2G-666x666.webp 666w\" sizes=\"auto, (max-width: 747px) 100vw, 747px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>HBJ21 Specifications:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n\n<li><strong>Maximum X-ray tube voltage:<\/strong> 70 kV max (1.4 kW @ 20 mA)<\/li>\n\n\n<li><strong>Minimum X-ray tube voltage:<\/strong> 50 kV min (1.0 kW @ 20 mA)<\/li>\n\n\n<li><strong>Maximum X-ray tube current:<\/strong> 20 mA max<\/li>\n\n\n<li><strong>Anode heat content:<\/strong> 7,000 J<\/li>\n\n\n<li><strong>Max anode heat dissipation:<\/strong> 210 W<\/li>\n\n\n<li><strong>Nominal focal spot value:<\/strong> 0.7 mm<\/li>\n\n\n<li><strong>Maximum filament current:<\/strong> 2.9 A<\/li>\n\n\n<li><strong>Target angle:<\/strong> 16\u00b0<\/li>\n\n\n<li><strong>Price:<\/strong> \u20ac145<\/li>\n\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Beyond the listed specifications, no detailed documentation is available for this tube. This required me to calculate key values and create reference graphs myself. The most critical calculation is determining the maximum operating (exposure) time without burning out the tungsten anode.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The basic formula for calculating maximum exposure time is dividing the heat capacity by the applied power:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>t = 7,000 \/ P<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Below is a table showing the maximum exposure times at various voltage and current levels:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Voltage (kV)<\/th><th>Current (mA)<\/th><th>Power (W)<\/th><th>Time to 7,000 J (s)<\/th><th>Continuous Operation?<\/th><\/tr><\/thead><tbody><tr><td>50<\/td><td>5<\/td><td>250<\/td><td>28.0<\/td><td>\u274c<\/td><\/tr><tr><td>50<\/td><td>10<\/td><td>500<\/td><td>14.0<\/td><td>\u274c<\/td><\/tr><tr><td>50<\/td><td>15<\/td><td>750<\/td><td>9.3<\/td><td>\u274c<\/td><\/tr><tr><td>50<\/td><td>20<\/td><td>1,000<\/td><td>7.0<\/td><td>\u274c<\/td><\/tr><tr><td>60<\/td><td>5<\/td><td>300<\/td><td>23.3<\/td><td>\u274c<\/td><\/tr><tr><td>60<\/td><td>10<\/td><td>600<\/td><td>11.7<\/td><td>\u274c<\/td><\/tr><tr><td>60<\/td><td>15<\/td><td>900<\/td><td>7.8<\/td><td>\u274c<\/td><\/tr><tr><td>60<\/td><td>20<\/td><td>1,200<\/td><td>5.8<\/td><td>\u274c<\/td><\/tr><tr><td>70<\/td><td>5<\/td><td>350<\/td><td>20.0<\/td><td>\u274c<\/td><\/tr><tr><td>70<\/td><td>10<\/td><td>700<\/td><td>10.0<\/td><td>\u274c<\/td><\/tr><tr><td>70<\/td><td>15<\/td><td>1,050<\/td><td>6.7<\/td><td>\u274c<\/td><\/tr><tr><td>70<\/td><td>20<\/td><td>1,400<\/td><td>5.0<\/td><td>\u274c<\/td><\/tr><tr><td>Any<\/td><td>\u22643<\/td><td>\u2264210<\/td><td>\u221e<\/td><td>\u2705<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Note:<\/strong> This calculation does not account for heat dissipation during exposure, so actual maximum exposure times will be longer. While the rated anode heat dissipation is 210 W, this is only achievable when operating near maximum temperature with adequate cooling. To be conservative, I assume the worst-case scenario with no active heat dissipation during exposure.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Radiation<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">An X-ray machine obviously produces dangerous levels of ionizing radiation that must be properly managed.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The tube actually generates a spectrum of X-rays rather than a single energy level. Low-energy photons must be filtered out, as they contribute little to image quality while posing unnecessary risk to living tissue. A broad spectrum from 20\u201370 keV (depending on tube voltage) is produced by <a href=\"https:\/\/en.wikipedia.org\/wiki\/Bremsstrahlung\" data-type=\"link\" data-id=\"https:\/\/en.wikipedia.org\/wiki\/Bremsstrahlung\">Bremsstrahlung<\/a> radiation. Additionally, the tungsten target produces two characteristic peaks at 59.3 keV and 67.2 keV.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"683\" src=\"https:\/\/labparvum.com\/wp-content\/uploads\/2025\/05\/X-ray-spectrum-OMP.png\" alt=\"X-ray energy spectrum showing Bremsstrahlung and characteristic peaks\" class=\"wp-image-831\" style=\"width:589px;height:auto\" srcset=\"https:\/\/labparvum.com\/wp-content\/uploads\/2025\/05\/X-ray-spectrum-OMP.png 1024w, https:\/\/labparvum.com\/wp-content\/uploads\/2025\/05\/X-ray-spectrum-OMP-300x200.png 300w, https:\/\/labparvum.com\/wp-content\/uploads\/2025\/05\/X-ray-spectrum-OMP-768x512.png 768w, https:\/\/labparvum.com\/wp-content\/uploads\/2025\/05\/X-ray-spectrum-OMP-507x338.png 507w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"578\" height=\"395\" src=\"https:\/\/labparvum.com\/wp-content\/uploads\/2025\/05\/1-s2.0-S0969806X21000876-gr7.jpg\" alt=\"Comparative X-ray spectrum diagram\" class=\"wp-image-829\" style=\"width:589px;height:auto\" srcset=\"https:\/\/labparvum.com\/wp-content\/uploads\/2025\/05\/1-s2.0-S0969806X21000876-gr7.jpg 578w, https:\/\/labparvum.com\/wp-content\/uploads\/2025\/05\/1-s2.0-S0969806X21000876-gr7-300x205.jpg 300w\" sizes=\"auto, (max-width: 578px) 100vw, 578px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Radiation Detection<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">To detect radiation and measure the output spectrum, I use a <a href=\"https:\/\/www.radiacode.com\/eur\/products#!\/Detector-of-nuclear-radiation-and-spectrometer-Radiacode-103\/p\/605591809\">Radiacode 103<\/a>\u2014a pocket-sized Bluetooth gamma spectrometer capable of measuring X-rays and gamma rays from 20 keV up to 3 MeV, with a maximum measurable radiation intensity of 1 mSv\/h.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"1024\" src=\"https:\/\/labparvum.com\/wp-content\/uploads\/2025\/05\/4067478196-1024x1024.png\" alt=\"Radiacode 103 gamma spectrometer\" class=\"wp-image-833\" style=\"width:285px;height:auto\" srcset=\"https:\/\/labparvum.com\/wp-content\/uploads\/2025\/05\/4067478196-1024x1024.png 1024w, https:\/\/labparvum.com\/wp-content\/uploads\/2025\/05\/4067478196-300x300.png 300w, https:\/\/labparvum.com\/wp-content\/uploads\/2025\/05\/4067478196-150x150.png 150w, https:\/\/labparvum.com\/wp-content\/uploads\/2025\/05\/4067478196-768x768.png 768w, https:\/\/labparvum.com\/wp-content\/uploads\/2025\/05\/4067478196-666x666.png 666w, https:\/\/labparvum.com\/wp-content\/uploads\/2025\/05\/4067478196.png 1500w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Radiation Shielding<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><em>Work in progress\u2014this section will be updated with shielding design details and calculations.<\/em><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">High Voltage<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Operating an X-ray tube requires very high voltages. For the HBJ21 tube, I need 50\u201370 kV. I split this requirement into a two-stage design:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n\n<li><strong>Stage 1:<\/strong> A high-voltage transformer generating up to 28 kVAC (40 kV peak)<\/li>\n\n\n<li><strong>Stage 2:<\/strong> A voltage multiplier that steps this up to a maximum of 160 kVDC<\/li>\n\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"240\" src=\"https:\/\/labparvum.com\/wp-content\/uploads\/2025\/05\/Screenshot-2025-05-28-152417-1024x240.png\" alt=\"High voltage circuit diagram\" class=\"wp-image-815\" srcset=\"https:\/\/labparvum.com\/wp-content\/uploads\/2025\/05\/Screenshot-2025-05-28-152417-1024x240.png 1024w, https:\/\/labparvum.com\/wp-content\/uploads\/2025\/05\/Screenshot-2025-05-28-152417-300x70.png 300w, https:\/\/labparvum.com\/wp-content\/uploads\/2025\/05\/Screenshot-2025-05-28-152417-768x180.png 768w, https:\/\/labparvum.com\/wp-content\/uploads\/2025\/05\/Screenshot-2025-05-28-152417.png 1517w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">High Voltage Transformer<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The high-voltage transformer generates the first stage output of up to 28 kVAC. It operates at high frequency to improve efficiency and reduce output ripple after rectification. My target frequency is 10 kHz, though 2 kHz should be the minimum for acceptable performance with the current component selection.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"1024\" src=\"https:\/\/labparvum.com\/wp-content\/uploads\/2025\/02\/IMG20250827223911-768x1024.jpg\" alt=\"High voltage transformer assembly\" class=\"wp-image-924\" srcset=\"https:\/\/labparvum.com\/wp-content\/uploads\/2025\/02\/IMG20250827223911-768x1024.jpg 768w, https:\/\/labparvum.com\/wp-content\/uploads\/2025\/02\/IMG20250827223911-225x300.jpg 225w, https:\/\/labparvum.com\/wp-content\/uploads\/2025\/02\/IMG20250827223911-1152x1536.jpg 1152w, https:\/\/labparvum.com\/wp-content\/uploads\/2025\/02\/IMG20250827223911-1536x2048.jpg 1536w, https:\/\/labparvum.com\/wp-content\/uploads\/2025\/02\/IMG20250827223911-scaled.jpg 1920w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Transformer Core<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">I selected the UY30 core from an AliExpress seller, primarily due to its large size which allows for well-spaced windings and a high primary-to-secondary turns ratio. I plan to operate this core at less than 10% of its rated power, so I&#8217;m not concerned about reaching any thermal or magnetic limits.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"1024\" src=\"https:\/\/labparvum.com\/wp-content\/uploads\/2025\/03\/71ApB7x7lfL._SL1200_-1024x1024.jpg\" alt=\"UY30 transformer core\" class=\"wp-image-727\" style=\"width:795px;height:auto\" srcset=\"https:\/\/labparvum.com\/wp-content\/uploads\/2025\/03\/71ApB7x7lfL._SL1200_-1024x1024.jpg 1024w, https:\/\/labparvum.com\/wp-content\/uploads\/2025\/03\/71ApB7x7lfL._SL1200_-300x300.jpg 300w, https:\/\/labparvum.com\/wp-content\/uploads\/2025\/03\/71ApB7x7lfL._SL1200_-150x150.jpg 150w, https:\/\/labparvum.com\/wp-content\/uploads\/2025\/03\/71ApB7x7lfL._SL1200_-768x768.jpg 768w, https:\/\/labparvum.com\/wp-content\/uploads\/2025\/03\/71ApB7x7lfL._SL1200_.jpg 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Transformer Windings &amp; Insulation<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">High voltage insulation is critical for safety and reliability. Key lessons learned during winding construction:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"643\" src=\"https:\/\/labparvum.com\/wp-content\/uploads\/2025\/02\/image-6-1024x643.png\" alt=\"V1 high voltage bobbin showing arc damage from inner winding to core\" class=\"wp-image-907\" srcset=\"https:\/\/labparvum.com\/wp-content\/uploads\/2025\/02\/image-6-1024x643.png 1024w, https:\/\/labparvum.com\/wp-content\/uploads\/2025\/02\/image-6-300x188.png 300w, https:\/\/labparvum.com\/wp-content\/uploads\/2025\/02\/image-6-768x482.png 768w, https:\/\/labparvum.com\/wp-content\/uploads\/2025\/02\/image-6-1536x965.png 1536w, https:\/\/labparvum.com\/wp-content\/uploads\/2025\/02\/image-6.png 1748w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">V1 high voltage bobbin (failed due to arcing from inner winding to transformer core)<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"655\" src=\"https:\/\/labparvum.com\/wp-content\/uploads\/2025\/02\/image-7-1024x655.png\" alt=\"V2 high voltage bobbin with improved insulation design\" class=\"wp-image-908\" srcset=\"https:\/\/labparvum.com\/wp-content\/uploads\/2025\/02\/image-7-1024x655.png 1024w, https:\/\/labparvum.com\/wp-content\/uploads\/2025\/02\/image-7-300x192.png 300w, https:\/\/labparvum.com\/wp-content\/uploads\/2025\/02\/image-7-768x491.png 768w, https:\/\/labparvum.com\/wp-content\/uploads\/2025\/02\/image-7-1536x982.png 1536w, https:\/\/labparvum.com\/wp-content\/uploads\/2025\/02\/image-7.png 1721w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">V2 high voltage bobbin\u2014reduced plastic insulation, more space for varnish and Teflon tape<\/figcaption><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n\n<li><strong>Insulation materials:<\/strong> PETG, high-voltage varnish, and Teflon tape<\/li>\n\n\n<li><strong>Varnish as adhesive:<\/strong> Used high-voltage varnish to bond components together<\/li>\n\n\n<li><strong>3D printed parts:<\/strong> Do not trust 3D-printed parts alone due to layer gaps; use varnish to fill these gaps completely<\/li>\n\n\n<li><strong>Wire coating:<\/strong> Apply varnish to wire while coiling to prevent arcing between inner and outer layers through air gaps between wires<\/li>\n\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">Varnish Selection<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">To protect and insulate the windings from damage and high voltage stress, I applied a thick coating of specialized high-voltage varnish. While many DIY builders use simpler solutions like nail polish or epoxy, the best solution I found is <strong>MG Chemicals 4228A liquid<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The difference in dielectric strength is significant:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n\n<li><strong>Epoxy:<\/strong> ~500 V\/mil<\/li>\n\n\n<li><strong>MG Chemicals 4228A:<\/strong> 3,700 V\/mil<\/li>\n\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">While it&#8217;s somewhat more expensive, the performance improvement justifies the cost. It&#8217;s also easy to apply, and the red coloring makes it simple to verify even coverage.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>[Reference: MG Chemicals 4228A Technical Data Sheet]<\/em><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Electronics<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">High Voltage Measurements<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><em>Work in progress\u2014this section will detail the high voltage measurement and monitoring circuitry.<\/em><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Filament Driver<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The X-ray tube filament requires current control from 0 to 2.9 A. The filament current directly controls the number of electrons emitted, which in turn determines the X-ray output intensity.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Because the filament also serves as the return path for the high voltage generator through the X-ray tube, one side must always be connected directly to ground. This necessitates the use of high-side switching and current control.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Circuit design:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n\n<li>An <strong>LM338T<\/strong> regulator provides a hard current limit of 2.82 A, preventing any over-current conditions<\/li>\n\n\n<li>A <strong>shunt resistor<\/strong> provides feedback for current limiting, variable current control, and ADC monitoring<\/li>\n\n\n<li>A <strong>MOSFET<\/strong> operating in its linear region enables variable current control<\/li>\n\n\n<li>A <strong>DAC<\/strong> provides the setpoint, while an <strong>op-amp<\/strong> adjusts the MOSFET to match the target current<\/li>\n\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">This linear approach is not power-efficient and will dissipate several watts as heat, requiring adequate cooling. However, efficiency isn&#8217;t a primary concern here\u2014I prioritized a simple, robust design over a more complex switching converter, which would introduce additional points of failure.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Hardware Safety Triggers<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">As a fallback for software-based safety systems, I implemented a hardware-based safety circuit that can independently disengage the high-voltage system and trigger an alarm if any parameter exceeds safe thresholds.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To maximize reliability, this safety system is kept as simple as possible. Multiple comparators monitor voltage readings from different system measurements. Each comparator&#8217;s trigger threshold is adjustable via trimmer potentiometers.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Operation:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n\n<li>When a comparator is triggered (input exceeds threshold), it stops pulling down its output<\/li>\n\n\n<li>Because this condition only persists while the signal remains above threshold, a <strong>NOR SR latch<\/strong> circuit holds the alarm active until manually reset<\/li>\n\n\n<li>While the alarm is active: a <strong>buzzer<\/strong> sounds and a <strong>red LED<\/strong> indicates which measurement triggered the safety<\/li>\n\n\n<li>Multiple systems are simultaneously powered down to ensure a safe state:<\/li>\n\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n\n<li>Power to the primary side of the high-voltage transformer<\/li>\n\n\n<li>DAC signal to the high-voltage transformer amplifier<\/li>\n\n\n<li>AC power to the high-voltage transformer amplifier<\/li>\n\n\n<li>Filament current driver<\/li>\n\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">A <strong>self-test system<\/strong> using relays on each channel allows the safety system to be tested by ramping up the DAC signal and verifying that the safety circuit activates at the correct threshold.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here is the complete safety circuit diagram:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>[Insert safety circuit diagram]<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Categories:<\/strong> Uncategorized<\/p>\n\n\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been working on building my own X-ray machine to image objects and determine their internal geometry without destructive testing. This project is still a work in progress, but I wanted to share some of my progress so far. I&#8217;m using this post for my own documentation as well, so<\/p>\n<p><a href=\"https:\/\/labparvum.com\/index.php\/2025\/02\/22\/x-ray-imaging\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\">DIY X-Ray Imaging System<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-726","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/labparvum.com\/index.php\/wp-json\/wp\/v2\/posts\/726","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/labparvum.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/labparvum.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/labparvum.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/labparvum.com\/index.php\/wp-json\/wp\/v2\/comments?post=726"}],"version-history":[{"count":13,"href":"https:\/\/labparvum.com\/index.php\/wp-json\/wp\/v2\/posts\/726\/revisions"}],"predecessor-version":[{"id":927,"href":"https:\/\/labparvum.com\/index.php\/wp-json\/wp\/v2\/posts\/726\/revisions\/927"}],"wp:attachment":[{"href":"https:\/\/labparvum.com\/index.php\/wp-json\/wp\/v2\/media?parent=726"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/labparvum.com\/index.php\/wp-json\/wp\/v2\/categories?post=726"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/labparvum.com\/index.php\/wp-json\/wp\/v2\/tags?post=726"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}