Best way to drive an electromagnet that needs to alternate to pump air.

Thread Starter

Taako

Joined Dec 29, 2020
1
Hello,

I have an aquarium pump that is no longer being used and I want to integrate it into a design of mine.

The pump plugs into mains voltage and seems to have a potentiometer and some passives to control the amplitude, and what i believe is a flyback diode for the inductive load.

I am inexperienced designing for stuff with high voltage AC; but i've done many <12volt DC electronics designs.

At first I was thinking of pluggined mains power directly into my PCB using something like an IEC320 connector and then using a PCB mounted AC-DC power supply to step down to 5 volts for the rest of my design (raspberry pi zero, stepper motors, LCD display, etc) and have the AC side of the PCB feed into a relay that connects to the pump and have the relay switched with the raspberry pi's logic level output. This seemed like an okay approach but it also has me nervous since i've never used high voltage and in addition the PCB mount switching power supply i'd need to go from 120VAC to 5VDC (I need 10A on the 5 volt side) would be huge and unwieldy to design around. [That part alone would take up half of my planned PCB board space](https://www.digikey.com/en/products/detail/mean-well-usa-inc/IRM-60-24/7704690?utm_adgroup=Converters&slid=&gclid=CjwKCAjw7uPqBRBlEiwAYDsr15T6LHP4F0hQskv7eWjQF1kjc7kHdKwcnbP5xXtpR-8XJW-42IIDKBoCeUwQAvD_BwE)


I was wondering if a better idea was to use a commercially available power brick to provide 12VDC 10-15A to the board and then make a smaller section of the PCB somehow drive the AC electromagnet. Is this called an inverter? Is it simple to design one or should equal caution be used when making one or is this better to buy? I only found a couple on digikey and they were fairly expensive.

Here are some photos of the pump:


EDIT: Would an
I only plan to use "half" of it since it's essentially to electromagnets each of them pushing two diaphragms. So I only intend to use one electromagnet pushing two diaphragms

The [product link](https://www.amazon.com/Hydrofarm-Active-Aqua-Pump-Outlets/dp/B002JPEVMC/ref=pd_lpo_86_t_1/141-7068029-7873214?_encoding=UTF8&pd_rd_i=B002JPEVMC&pd_rd_r=88e484d2-026d-468b-93a7-40fd377c8cab&pd_rd_w=3jyj9&pd_rd_wg=EVKKB&pf_rd_p=7b36d496-f366-4631-94d3-61b87b52511b&pf_rd_r=8KEJXZ3DMYZEN2BVS9VR&psc=1&refRID=8KEJXZ3DMYZEN2BVS9VR) shows that the entire unit only uses 6 watts at 120VAC, i only need half the unit so the section I would need would use 3W@120VAC; quick calculation means one half only uses 25mA of AC current. Does it seem reasonable to be able to convert 12VDC to AC for something this low power?

What do you all think? Should I use the huge PCB mount AC-DC converter with a relay thrown from the 5V side? Or is there another circuit I could build if instead I supplied 12VDC 15A and used a section of PCB to convert to higher voltage AC?

[I've also found these](https://smile.amazon.com/Voltage-Boost-Converter-Inverter-Transformer/dp/B07MMMNCQL/ref=sr_1_4?dchild=1&keywords=dc-ac+inverter+boost+12v&qid=1609288195&sr=8-4#customerReviews) but the output frequency is too high to drive the electromagnet correctly.

Would an H-Bridge driver work for this? Is there recommendation for a driver that automatically will switch at a set rate?
 
Top