Simple Wireless Energy Transfer (2022)

<< click to return to front page

<< click to return to content page

Project Photos:\text{Project Photos:}



Practicing:\text{Practicing:}

  1. Soldering + Circuit Design
  1. Prototyping
  1. Lab Techniques (oscilloscope, multimeter, etc.)
  1. Applying theory into practice

History + Outline: \text{History + Outline: }

This post is presented as a “lesson”, structured in a similar way to my presentation to UBC’s University Transition Program students about this project. Here, I outline my thinking as to how I created this circuit using only PHYS 158 and MATH 152 background knowledge.

If you’d like to skip directly to the final construction, scroll to “Automatic Charging”.


1. Introduction

First, a little insight into the “big picture” of wireless energy transfer. Our goal is to convert electrical energy (Energy A) into some other energy (Energy B) that can travel through air. We also need to construct a receiver that can convert the transmitted Energy B back into electrical energy.

AB (transmitter), BA(receiver)A \rightarrow B \text{ (transmitter), } B \rightarrow A \text{(receiver)}

We need to choose Energy B wisely though, as the conversion from A to B and back again could become extremely inefficient. There are several possible types of energy that can serve Energy B’s purpose, for example light energy. We could use a flashlight (transmitter) and a solar panel (receiver), but you can probably think of several reasons why this is not used; in an already lit-room, the receiver would receive energy regardless of the transmitter.

This is why we use magnetic fields to store energy — in fact, magnetic fields are produced as a result of moving charges (current). They also easily travel through air undisturbed, work at small scales, and are a relatively efficient way from going to electrical energy and back.

Key Takeaway 1: We will use magnetic fields, as it can be efficiently converted to and from electrical energy, and it can travel through air undisturbed at close ranges.

2. Receiver

I’m going to begin with the receiver, and that will later lead into how the transmitter should be constructed. First, we need to know that the induced EMF (proportional to induced current) within a closed loop is opposite to the rate of change of the magnetic flux through the loop.

ε=dϕBdt,ϕB=BAcosθ\varepsilon = -\frac{d\phi_B}{dt}, \phi_B = BA\cos\theta

There’s a little bit of intuition behind this formula - the induced EMF within the loop is made to oppose incoming changes in the magnetic flux as a mechanism to return to equilibrium. A similar analog is how the addition of reactants/products shift the reaction in certain directions (think about Le Chatelier’s Principle).


If we produce a constant magnetic field by running direct current through a loop, the induced EMF will be the derivative of a constant and hence will be zero. This is why we need to produce a constantly changing magnetic field, such that the induced EMF does not settle at an equilibrium.

Below is an illustration showing that if we produce a sinusoidal magnetic field, the induced EMF will closely follow.

Key Takeaway 2: To create an induced current on the receiver, our transmitter must create some constantly changing magnetic field. Creating a sinusoidal pattern is the most feasible method.

3. Transmitter

Finally, we understand creating the main part of this project, the transmitter circuit. Above, we mentioned that we needed to create an alternating magnetic field.

As mentioned, moving charges (current), create magnetic fields automatically. By passing current through a coil of wire, we focus the created magnetic field in the direction through the coil (right).

Image Credit: http://hyperphysics.phy-astr.gsu.edu/hbase/electric/indsol.html


The formula for an induced magnetic field is given by B(t)=μ0nI(t)B(t) = \mu_0 n I(t), where I(t) is the current through the coil. For fun, I’ve attached the proof of the formula (this assumes an infinitely long solenoid), although a more accurate version should be show below, where x is half the length of the solenoid, a is the radius, and n is the turn density.

Bcenter(t)=μ0nI(t)xx2+a2B_{center}(t) = \mu_0 nI(t) \cdot \frac{x}{\sqrt{x^2+a^2}}

We could put in a lot more physics and math into a more accurate expression for magnetic field, but what’s important is that we understand that magnetic field from a loop is roughly proportional to the current in the loop. If we return to our previous finding that we require an alternating magnetic field, we can now conclude that:

Key Takeaway 3: Created magnetic field from a coil is roughly proportional to current in a loop. Thus, to create an alternating magnetic field, we need an alternating current.


The (R)LC Oscillator

The word “alternating current” might already strike a chord — to build our transmitter, why don’t we just use AC? That’s exactly what we’ll be doing, but we can’t just use the dangerous and low-current 120V AC from the outlet. Instead, our goal is to convert the standard 5V 1A DC current (USB output) into a safe AC current.

Here’s where the problem starts to get a little more complex. There are many ways to convert from DC to AC current, but with the parts I had on hand, I decided to make use of an LC oscillator.

An LC oscillator is composed of a capacitor and inductor in parallel. After charging the capacitor beforehand, when the switch is closed at t = 0, it oscillates sinusoidally (red). However, in practice, there always exists some internal resistances even when a resistor is not in the circuit. Thus, an LC oscillator tends to see a dampened oscillation (blue) which decays to 0 quickly. This modification is called the RLC oscillator (R for resistor).

To find the period of this dampened oscillation (you’ll see why soon), I decided to take a stab at the RLC differential equation. Although there are several ways to end up with a final expression for current, I used a linear system of D.E.’s using MATH 152 techniques.

It was quite the journey getting to the final expression, watching the expressions unravel into complex number madness and then simplify back down.

📃
At the time, this was the only method I had known to solve this type of differential equation. Unsurprisingly, there is a much easier method by using KCL and solving a linear homogenous constant-coefficient second-order ODE, which I’ve learned in second year.

Here is an output from my oscilloscope, showing the RLC oscillator in action.

Sustained Oscillations

However, the problem with the RLC oscillator in our application is that it decays. Our circuit is not useful if our alternating current returns to 0. My proposed solution was to recharge the capacitor at the right instance, thus sustaining the LC oscillation. In the image above, you can also see in my testing where the oscillator was recharged (secondary pulse). A more concrete example is shown below:

Here, the collective solid wave would be the theoretical result of the “recharged” RLC oscillator. The specific colored dashed lines indicate what the oscillation would look like had we not recharged the capacitor at set intervals.

Also highlighted are the recharge points, after one period of an RLC oscillation. Though not perfect, and there would exist some slight delay from charging the capacitor, I decided to go with this method as it would work with the parts I had available.

To instill some trust to my readers, I’ll skip to the end briefly and show the recharging sequence does in fact work, and creates quite a clean sinusoidal current.

Key Takeaway 4: To create a (high frequency) alternating current from a DC supply, one way is to charge an RLC oscillator, let it oscillate, and then recharge — repeating such a sequence leads to a sustained sinusoidal output.


Automatic Charging

Up until this point in my testing, I had been manually recharging the capacitor by hand with a switch and letting the oscillator decay, to see a few blinks on the receiver coil’s LED. However, the last step to complete the transmitter is to automate this sequence at the right time.

First, I replaced the switch with a charging “bridge” made from 2 NPN transistors. By setting the CHG line high, the DC current would charge the capacitor quickly. Then, by setting CHG low, the oscillation would take place.

By pulsing the CHG line on and off with the frequency 1LCR24L212π\sqrt{\frac{1}{LC} - \frac{R^2}{4L^2}} \cdot \frac{1}{2\pi}, we let the LC oscillator run for one period before recharging. With this, we obtain the final circuit schematic:

It should be noted that ideally, the square wave should be non-uniform, as the time it takes to recharge the capacitor is different than the period of one oscillation. Using a simple microcontroller to more precisely pulse the CHG line could result in a nicer sinusoidal current. I recommend this modification, and may try it in the future with an ATTINY85. However, as shown previously, the final wave is clean enough for our purposes.

4. Final Build

Once we’ve finalized the 555 timings, our project is done! Even with a relatively thick mousepad between the coils, the receiver LED still shines bright!

Note: The transistors I had used began heating up after a while, and so I placed a small heatsink over them to keep working. Although this is not a recommended solution, I’ve had the device on for upwards of 30 minutes without any failure, and have not had to replace any circuitry.


Conclusion

I’d like to conclude with an overview of the problem-solving strategy we took here.

For projects like these, I recommend my readers to take a similar approach. Instead of taking on a daunting challenge, use math and physics to understand the core issue. Then, continue breaking the problem down into simpler, less-daunting steps.

So that’s my attempt to build a wireless energy transmitter. It’s a simple circuit, and I think the way it works is rather intuitive. Moreover, I’m very proud to have come up with this design on my own, using notes and deriving formulas from the things I learn in class. It’s definitely not the best, but it’s still interesting. I hope you enjoyed, and took something away for any future work!

Best,

Ebrahim.