Proper Mag Lev Controller Makes Snail Lamp Much Cooler

Magnetic levitation has not quite revolutionized the world of transit the way some of us might have hoped. It has, however, proven useful to [mrdiytechmagic], who has put the technology to grand use in making his levitating snail lamp.

The build is actually relatively complicated compared to some levitating toys you might have seen before. It uses a number of coils to produce a magnetic field to levitate the 3D printed plastic snail which contains the lighting element itself.

The actively controlled levitation base uses a magnetic sensor to detect the changing field as the snail moves above it. It then varies the current going to the various coils to keep the snail balanced and in place. Power is transmitted with a further larger coil, much as in a wireless phone charger. This is picked up by a circuit in the snail, and used to power the LEDs inside.

It might not have been our first choice, but having seen it in action, we can’t deny a levitating 3D printed snail is pretty impressive. If you’d prefer something slightly more befitting such a high-tech looking presentation, perhaps a hovering SpaceX Starship would be more your speed.

Continue reading “Proper Mag Lev Controller Makes Snail Lamp Much Cooler”

A Crash Course On How MRI Machines Work

Of all the high-tech medical gadgets we read about often, the Magnetic Resonance Imaging (MRI) machine is possibly the most mysterious of all. The ability to peer inside a living body, in a minimally invasive manner whilst differentiating tissue types, in near real-time was the stuff of science fiction not too many years ago. Now it’s commonplace. But how does the machine actually work? Real Engineering on YouTube presents the Insane Engineering of MRI Machines to help us along this learning curve, at least in a little way.

Both types of gradient coil are stacked around the subject inside the main field coil

The basic principle of operation is to align the spin ‘axis’ of all the subject’s hydrogen nuclei using an enormous magnetic field produced by a liquid-helium-cooled superconducting electromagnet. The spins are then perturbed with a carefully tuned radio frequency pulse delivered via a large drive coil.

After a short time, the spins revert back to align with the magnetic field, remitting a radio pulse at the same frequency. Every single hydrogen nucleus (just a proton!) responds at roughly the same time, with the combined signal being detected by the receive coil (often the same physical coil as the driver.)

Time taken for the perturbed spin to return to magnetic alignment

There are two main issues to solve. Obviously, the whole body section is ‘transmitting’ this radio signal all in one big pulse, so how do you identify the different areas of 3D space (i.e. the different body structures) and how do you differentiate (referred to as contrast) different tissue types, such as determine if something is bone or fat?

By looking at the decay envelope of the return pulse, two separate measures with different periods can be determined; T1, the spin relaxation period, and T2, the total spin relaxation period. The first one is a measure of how long it takes the spin to realign, and the second measures the total period needed for all the individual interactions between different atoms in the subject to settle down. The values of T1 and T2 are programmed into the machine to adjust the pulse rate and observation time to favor the detection of one or the other effect, effectively selecting the type of tissue to be resolved.

Time taken for the relative phasing inside a tissue locality to settle down to the same average spin alignment

The second issue is more complex. Spatial resolution is achieved by first selecting a plane to virtually slice the body into a 2D image. Because the frequency of the RF pulse needed to knock the proton spin out of alignment is dependent upon the magnetic field strength, overlaying a second magnetic field via a gradient coil allows the local magnetic field to be tuned along the axis of the machine and with a corresponding tweak to the RF frequency an entire body slice can be selected.

All RF emissions from the subject emanate from just the selected slice reducing the 3D resolution problem to a 2D problem. Finally, a similar trick is applied orthogonally, with another set of gradient coils that adjust the relative phase of the spins of stripes of atoms through the slice. This enables the use of a 2D inverse Fourier transform of multiple phase and frequency combinations to image the slice from every angle, and a 2D image of the subject can then be reconstructed and sent to the display computer for the operator to observe.

See? It’s easy.

We cover MRI technology from time to time, here’s a little update on state-of-the-art resolution for those wishing the dig a little deeper.

Continue reading “A Crash Course On How MRI Machines Work”

MRI Resolution Progresses From Millimeters To Microns

Neuroscientists have been mapping and recreating the nervous systems and brains of various animals since the microscope was invented, and have even been able to map out entire brain structures thanks to other imaging techniques with perhaps the most famous example being the 302-neuron brain of a roundworm. Studies like these advanced neuroscience considerably but even better imaging technology is needed to study more advanced neural structures like those found in a mouse or human, and this advanced MRI machine may be just the thing to help gain better understandings of these structures.

A research team led by Duke University developed this new MRI technology using an incredibly powerful 9.4 Tesla magnet and specialized gradient coils, leading to an image resolution an impressive six orders of magnitude higher than a typical MRI. The voxels in the image measure at only 5 microns compared to the millimeter-level resolution available on modern MRI machines, which can reveal microscopic details within brain tissues that were previously unattainable. This breakthrough in MRI resolution has the potential to significantly advance understanding of the neural networks found in humans by first studying neural structures in mice at this unprecedented detail.

The researchers are hopeful that this higher-powered MRI microscope will lead to new insights and translate directly into advancements healthcare, and presuming that it can be replicated, used on humans safely, and becomes affordable, we would expect it to find its way into medical centers as soon as possible. Not only that, but research into neuroscience has plenty of applications outside of healthcare too, like the aforementioned 302-neuron brain of the Caenorhabditis elegans roundworm which has been put to work in various robotics platforms to great effect.

Continue reading “MRI Resolution Progresses From Millimeters To Microns”

Winding Your Own Small Coils

Depending on what you build, you may or may not run into a lot of inductors. If you need small value coils, it is easy to make good-looking coils, and [JohnAudioTech] shows you how. Of course, doing the winding itself isn’t that hard, but you do need to know how to estimate the number of turns you need and how to validate the coil by measurement.

[John] uses a variety of techniques to estimate and measure his coils ranging from math to using an oscilloscope. He even uses an old-fashioned nomogram from a Radio Shack databook circa 1972.

Continue reading “Winding Your Own Small Coils”

Arduino Finds Treasure

A beach is always a relaxing summer vacation destination, a great place to hang out with a drink and a book or take a swim in the ocean. For those who need a more active beach-going activity with an electronics twist, though, metal detecting is always a popular choice too. And, of course, with an Arduino and some know-how it’s possible to build a metal detector that has every feature you could want from even a commercial offering.

This build comes to us from [mircemk] who built this metal detector around an Arduino Nano and uses a method called induction balance detection to find metal. Similar to how radar works, one coil sends out a signal and the other listens for reflections back from metal objects underground. Building the coils and determining their resonant frequency is the most important part of this build, and once that is figured out the rest of the system can be refined and hidden treasure can easily be unearthed.

One of the more interesting features of this build is its ability to discriminate between ferrous and non-ferrous metals, and it can detect large metal objects at distances of more than 50 cm. There are improvements to come as well, since [mircemk] plans to increase power to the transmission coil which would improve the range of the device. For some of [mircemk]’s other metal detectors, be sure to check out this one which uses a smartphone to help in the metal detection process.

Continue reading “Arduino Finds Treasure”

Flexible PCB Contest Round Up

The 2019 Hackaday Prize, which was announced last week, is very much on everyone’s mind, so much so that we’ve already gotten a great response with a lot of really promising early entries. As much as we love that, the Prize isn’t the only show in town, and we’d be remiss to not call attention to our other ongoing contest: The Flexible PCB Contest.

The idea of the Flexible PCB Contest is simple: design something that needs a flexible PCB. That’s it. Whether it’s a wearable, a sensor, or a mechanism that needs to transmit power and control between two or more moving elements, if a flexible PCB solves a problem, we want to know about it.

We’ve teamed up with Digi-Key for this contest, and 60 winners will receive free fabrication of three copies of their flexible PCB design, manufactured through the expertise of OSH Park. And here’s the beauty part: all you need is an idea! No prototype is necessary. Just come up with an idea and let us know about it. Maybe you have a full schematic, or just a simple Fritzing project. Heck, even a block diagram will do. Whatever your idea is for a flexible PCB project, we want to see it.

To get the creative juices going, here’s a look at a few of the current entries

The Flexible PCB Contest goes through May 29, so you’ve got plenty of time to get an idea together.

Design A Coil For A Specific Inductance

YouTuber [RimstarOrg], AKA Hackaday’s own [Steven Dufresne], shows how to make a DIY inductor for a specific inductance. This is obviously a great skill to learn as sometimes your design may call for a very accurate inductance that may be otherwise hard to find.

Making your own inductor may seem daunting. You will have to answer a few questions such as: “what type of core will I use?”, “how many turns does my coil need?”, or “how do I calculate these parameters to create the specific inductance I desire?”. [RimstarOrg] goes through all of this, and even has a handy inductance calculator on his website to make it easier for you. He also provides all the formulae needed to calculate the inductance in the video below.

Using a DIY AM Radio receiver, he demonstrates in a visual way how to tune an AM Radio with a wiper on his home-built coil. Changing the inductance with a wiper changes the frequency of the radio: this is a variable inductor,

This video is great for understanding the foundations of inductors. While you may just go to a supplier and buy yours, it’s always great to know how to build your own when you can’t find a supplier, or just can’t wait.

Continue reading “Design A Coil For A Specific Inductance”