5
\$\begingroup\$

Now I'm not super well versed in circuits though I've dabbled a bit in some circuit building in the past. I'm working on an electromagnetic driven pendulum for a clock I'm building. The Schematic I'm using is from a nuts and volts article: Solar Powered Pendulum

I'm attempting to us a 9V battery as the power source, although the one in the article is using a solar cell. I've built a coil from 30 gauge polyurethane enameled copper wire. The coil is measuring about 8.5 ohms and it definitely generates a magnetic field observed by attracting the magnet at the end of my pendulum. Though I'm unable to get this working as intended, by kicking the magnet as it's detected coming over the coil - it just stays on constantly, preventing the pendulum from swinging. The LED should also illuminate as the magnet passes over but I'm not getting anything there. All components are the ones used in the article and are all connected in accordance to the schematic - I've quadruple checked the circuitry, but will posted a pic of my breadboard - maybe I missed something. Note I didn't include the C1 cap as I've tried to follow this fellow's demonstration: YouTube Video

My only thinking is maybe a modification needs to be made with using a 9V battery as the power source? Apparently a 5v power source is used in the video linked above but it doesn't provide any details. Any ideas?

The schematic I'm using is from the article (source: https://nutsvolts.texterity.com): Schematic

And my lovely breadboard, Q1 is on the right and Q2 on the left: enter image description here

\$\endgroup\$
5
  • 1
    \$\begingroup\$ Does the original article require a magnet to be placed on the pendulum, if so do you have that? Also, if the LED stays on might you have it installed in the reverse direction? \$\endgroup\$
    – Nedd
    Commented Oct 19, 2023 at 6:09
  • 2
    \$\begingroup\$ The common point of R1R2 divider has to be at about 0.5v to both bjt be off. So change one of these resistors. According to me the schematic as it is is designed to be used with about 1.5v solar cell. \$\endgroup\$ Commented Oct 19, 2023 at 8:55
  • \$\begingroup\$ As shown, that circuit will never do what you want it to do. Maybe you have used the incorrect schematic. Please link to the actual article and not the index. The other link returns error 410. \$\endgroup\$
    – Andy aka
    Commented Oct 19, 2023 at 9:08
  • \$\begingroup\$ The LED will never turn on as it is wired backwards. And if it is reversed from the schematic, then it will clamp the voltage across the coil at ~2.2 V, assuming it doesn't burn out first because there's nothing limit the current. \$\endgroup\$
    – SteveSh
    Commented Oct 19, 2023 at 11:58
  • \$\begingroup\$ Also R2 causes this circuit to act like a latch. Once Q1 turns on, R2 will keep Q2 turned on, which in turn will keep Q1 turned on. \$\endgroup\$
    – SteveSh
    Commented Oct 19, 2023 at 11:59

1 Answer 1

9
\$\begingroup\$

This circuit is designed to work with a low-voltage solar cell. If you aren't using a solar cell, you need to simulate its characteristics. It must have a large equivalent source resistance, large enough so that when Q2/Q1 latches, C1 will mostly discharge.

Edit: Jens comment caused me to think about the some more, and I now believe that the LED direction in the question is correct. When the magnet approaches the coil, the current generated will light the LED. When the magnet departs the coil, the current generated will trigger Q2/Q1. When Q1 is ON, the current will cause the coil to repel the magnet. (end edit)

Q2 must be nearly off at the start. If it isn't increase R2 until it is.

The cycle is started when the magnet passes near the coil and a voltage is generated at the coil. This turns on Q2, which turns on Q1. They will remain on until the voltage on C1 decreases far enough so Q2 isn't on anymore. Then the Q2/Q1 latch releases, C1 charges up, and the circuit waits for the magnet to pass by the coil again.

There is probably a better way to simulate the magnet passing near the coil, this is the best I could quickly create.

schematic

simulate this circuit – Schematic created using CircuitLab

enter image description here

Edit2:

I built the circuit. As I expected, these minimalist circuits can be fussy. I did get it to work, but it is very sensitive to the supply voltage. And, it sometimes has high-frequency electrical oscillations. The oscillations could probably be solved with a PWB (I used a solderless breadboard).

There are several webpages that discuss this circuit, but they all miss the educational opportunity, none of them describe how magnets interact with coils.

The coil is 34 AWG wire wound on a Class 15 plastic sewing bobbin. I wound it until it was almost full. I used a drill and a 1/4 inch bolt to wind it. The resistance is about 45 ohms. The average diameter is about 0.5 in, so there are about 1300 turns.

I designed and built and alternative design that is more robust. I designed it for 2 AA batteries, although it works with a supply voltage of 1.8 V to 10 V. Note that below 2 V the LM339 isn't guaranteed to work. And below about 2.3 V, the common mode input range of the LM339 is being violated.

The LED serves as a flyback diode. If you don't need a light, substitute a standard diode. You should have something to limit the negative pulse or you may blow out the transistor.

The magnet must be a strong rare earth magnet. The one I used is a little over 1 inch in diameter. The spacing between the coil and magnet must be small, aim for 1/16 of an inch.

The magnet and coil polarities must be setup to repel. The North/South on the magnet won't normally be marked, but if you can determine the magnet polarity, then put the North side down and orient the coil current as shown in the figure. Or, use trial and error. Put one volt on the coil and see if it repels the magnet on the pendulum, if not reverse the leads.

The pendulum is built from scrap wood. The nail pivot has a lot of friction, a lower friction pivot would be better. Be sure to keep any ferromagnetic materials a few inches away from the magnet. That is a brass screw in the picture.

The coil pulse time could be optimized via experiments. 40 mS is probably too long. The magnetic force falls off rapidly with distance.

At 3 volts, the quiescent current is 1.3 mA, the average pulse current is 3.1 mA, a total of 4.4 mA. If you are using AA batteries to power a clock pendulum, you want to get the total current below 0.2 mA (assuming one year battery life). You need a lower friction pivot point, bigger coil, shorter pulse, and lower quiescent current.

Note that a modern solution would be to use an MCU. I would use an MSP430G2553 because it is ultra-low power and I am familiar with it. There are many other MCUs out there. It does need to have an integrated ADC, the input on the left is a small analog voltage.

enter image description here

enter image description here

enter image description here

enter image description here

Edit3: Improved the design with a flatter coil, you want the wires in the coil to be as close to the magnet as possible. To do this, I modified the bobbin so it is less thick. Used 38 AWG this time. Resistance is now 97 ohms.

Changed to a ball-bearing fidget spinner bearing. The PVC pipe interface is to keep small wood particles out of the bearing. This improvement wasn't as much as expected, I estimate only about 1/3 the friction of a nail in wood.

Shortened the pulse width to about 8 mS. C3 = 0.2 uF.

Assuming that the driver electronics is changed to an MCU, the circuit will now last close to a year with 2 AA batteries.

enter image description here

enter image description here

enter image description here

\$\endgroup\$
4
  • 1
    \$\begingroup\$ Are you sure about the LED direction? I think, it should flash during reverse coil polarity. Discharge 2 mF into a LED without resistor is critical. \$\endgroup\$
    – Jens
    Commented Oct 21, 2023 at 4:35
  • \$\begingroup\$ @Jens - Yes, I thought about this some more and I now believe that the LED direction in the question is correct. I am going to build this to confirm my understanding. I have almost everything, I just need to scrounge or buy the last few parts. \$\endgroup\$
    – Mattman944
    Commented Oct 21, 2023 at 7:59
  • \$\begingroup\$ This is incredibly helpful information. Thanks! \$\endgroup\$
    – 3nigma_
    Commented Oct 29, 2023 at 19:54
  • 2
    \$\begingroup\$ I have follow-up questions of my own on other SE communities. engineering.stackexchange.com/questions/56733/… physics.stackexchange.com/questions/786086/… \$\endgroup\$
    – Mattman944
    Commented Oct 29, 2023 at 20:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.