Author Topic: Simple AC generator for testing devices?  (Read 1909 times)

0 Members and 1 Guest are viewing this topic.

Offline ZeitkindTopic starter

  • Contributor
  • Posts: 41
  • Country: de
Simple AC generator for testing devices?
« on: November 24, 2022, 10:42:21 pm »
When repairing or checking stuff, I often come across AC parts like (small) transformers. Testing a transformer with DC isn't working that well, testing for shortages is difficult if you have no idea and information about what resistance to expect. So having a small AC power supply (like 6V or 9V) is a good idea, but this damn thing is for sure missing every time I need it  ???. Another thing: testing 50Hz and 60Hz.

Hobbyists like me normally have a bunch of cheap DC power supplies. I have a cheap Chinese one, a BK Precision dumpster dive (wrong AC input selected and a blown fuse..) and this well-known Riden one - but no AC supply. I rarely need a big variable voltage AC transformer (although it is nice to have one when testing unknown devices), so I don't want to buy one - have not really the place anyway. Also, I often work with young people and keeping them away from 230V as far as possible is a must anyway. I could grab one of the multiple transformers I have lying on the shelf and build me a power supply with one or more fixed outputs or a voltage divider, but hmmm...
So, my idea was a small "black box" (then fixed onto one of my DC power supplies) which takes a variable DC input and outputs something like a sinusoidal wave. I don't need 10 amps, I don't need "real sinus", I don't need 230V and I don't want to power my house with it. I just want to feed 6V DC and get something like 4-6V AC with 2A max. so that I can test a transformer or those small AC->DC-converters. And testing a flyback from an old CRT or testing a 1:10 microwave transformer just feels safer with only 3v input...
Google gives me H-bridges controlled by a MCU or similar complicated stuff but no simple convenient components. Do they exist? Or are there prebuilt parts to give out 50Hz and 60Hz by just feeding them with DC? YT'er GreatScott! made a video some years ago about an EGS002 controller from China, but his video is also far from just taking some simple parts and components (yt /watch?v=Dn2PFebi2ww). I mean, c'mon, there are for sure dozens of special controllers for feeding cats but not one simple chip for generating 50Hz AC?
« Last Edit: November 24, 2022, 10:45:11 pm by Zeitkind »
Don't turn it on - it will explode!
 

Online IanB

  • Super Contributor
  • ***
  • Posts: 12570
  • Country: us
Re: Simple AC generator for testing devices?
« Reply #1 on: November 24, 2022, 11:11:16 pm »
I mean, c'mon, there are for sure dozens of special controllers for feeding cats but not one simple chip for generating 50Hz AC?

I think it is not simple.

One way you could consider is with a simple audio amplifier. Most amps are specified for 20 Hz to 20 kHz, so one should be able to do 50 or 60 Hz. Just take an audio amplifier and feed a 50 Hz sine wave at its input (maybe generate from the audio output of a computer), then use its output as a power supply.

If an amp is, for example, to deliver 20 W into an 8 Ω load, then it would need an RMS output voltage of about √(20∙8) = ~12 V.

Traditional analog amplifiers would be somewhat big and wasteful, but modern class D amps should be much more compact and efficient. I do not know what kind of load an amplifier can deal with, but considering that loudspeakers and cross-over networks are not simple loads, you might get it to work without blowing up the amplifier.
 

Offline NiHaoMike

  • Super Contributor
  • ***
  • Posts: 9330
  • Country: us
  • "Don't turn it on - Take it apart!"
    • Facebook Page
Re: Simple AC generator for testing devices?
« Reply #2 on: November 24, 2022, 11:13:46 pm »
Just use a motor H bridge shield and an Arduino.
Cryptocurrency has taught me to love math and at the same time be baffled by it.

Cryptocurrency lesson 0: Altcoins and Bitcoin are not the same thing.
 

Online IanB

  • Super Contributor
  • ***
  • Posts: 12570
  • Country: us
Re: Simple AC generator for testing devices?
« Reply #3 on: November 24, 2022, 11:19:35 pm »
Just use a motor H bridge shield and an Arduino.

Wouldn't that produce a square wave? How could you get a sine wave out of it?
 

Offline nightfire

  • Frequent Contributor
  • **
  • Posts: 587
  • Country: de
Re: Simple AC generator for testing devices?
« Reply #4 on: November 24, 2022, 11:59:14 pm »
On ebay and other sites you can find some small inverter modules, that are in some cases configurable to do 50Hz or 60Hz.
If you simply want to test some transformer, it should not matter if you use 50 or 60 Hz, at least nor for basic tests.

Another idea: You could get some used industry power supply like those used in machines etc, as 12VAC or 24VAC is a common control voltage in the industry.
Another idea: At least in germany, you can get some so called "Klingeltrafo", to provide isolation and overload protection to doorbells. (DIN EN 61558-2-8)
https://www.ebay.de/itm/132967317385

Depending on the config (earthing) you have some characteristics of an isolation transformer when testing.
 

Offline NiHaoMike

  • Super Contributor
  • ***
  • Posts: 9330
  • Country: us
  • "Don't turn it on - Take it apart!"
    • Facebook Page
Re: Simple AC generator for testing devices?
« Reply #5 on: November 28, 2022, 01:21:18 pm »
Wouldn't that produce a square wave? How could you get a sine wave out of it?
PWM.
Cryptocurrency has taught me to love math and at the same time be baffled by it.

Cryptocurrency lesson 0: Altcoins and Bitcoin are not the same thing.
 

Online themadhippy

  • Super Contributor
  • ***
  • Posts: 3318
  • Country: gb
Re: Simple AC generator for testing devices?
« Reply #6 on: November 28, 2022, 02:01:23 pm »
DC motor-gearbox-pushbike dynohub
 

Offline tszaboo

  • Super Contributor
  • ***
  • Posts: 8291
  • Country: nl
  • Current job: ATEX product design
Re: Simple AC generator for testing devices?
« Reply #7 on: November 28, 2022, 02:07:08 pm »
You could use a variable autotransformer, if you know how to do that safely.
Otherwise a few watt audio amplifier plugged into your sound card would be a very easy to make this.
 

Offline David Hess

  • Super Contributor
  • ***
  • Posts: 17498
  • Country: us
  • DavidH
Re: Simple AC generator for testing devices?
« Reply #8 on: November 28, 2022, 02:34:41 pm »
For small signal tests of power transformers, I just use my function generator.  For higher power, I would add an amplifier to the output of the function generator.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf