Author Topic: An Arduino AC Power Supply - I've been working on  (Read 521 times)

0 Members and 1 Guest are viewing this topic.

Offline threephase03

  • Contributor
  • Posts: 5
  • Country: au
An Arduino AC Power Supply - I've been working on
« on: June 11, 2018, 08:35:50 pm »
Hi All
Thought Id share a project I'm working on. Its at really early stages so far as I plan to go a lot further with it. But I'm using an Arduino Mega, AD9851, Digital potentiometer and a Class D amplifier, to create an AC signal from 45 - 65 Hz (limited by my ability to measure it). And a Energy Metering IC to measure the output.

Results with it so far have been mixed, with high impedance loads it seems to work quite well but the more power needed for lower impedance loads appears to be quite challenging.

Anyway thanks for reading and hope you get a chance to watch my progress so far, and any input you might also have.

Ill post a link to the first of four videos I've made so far of my progress.



 
     
 

Offline threephase03

  • Contributor
  • Posts: 5
  • Country: au
Re: An Arduino AC Power Supply - I've been working on
« Reply #1 on: June 12, 2018, 07:02:29 pm »
If anyone is semi-interested in the code watch this video, otherwise it might be a bit boring. It isn't anything special just a screen recording of me going through the code kinda quickly.
Thanks for watching if you get a chance.

 

Offline threephase03

  • Contributor
  • Posts: 5
  • Country: au
Re: An Arduino AC Power Supply - I've been working on
« Reply #2 on: June 16, 2018, 08:36:30 pm »


Does anyone know if I should look at matching a transformer with the desired voltage for when the amplifier is at max.

Kind Regards
 

Offline floobydust

  • Super Contributor
  • ***
  • Posts: 1389
  • Country: ca
Re: An Arduino AC Power Supply - I've been working on
« Reply #3 on: June 17, 2018, 05:57:54 am »
I can't understand the project without schematics or some design numbers, like watts, amps, sine, square etc?

Check your code: if (limits = true)  should be if (limits == true)


 

Offline threephase03

  • Contributor
  • Posts: 5
  • Country: au
Re: An Arduino AC Power Supply - I've been working on
« Reply #4 on: June 17, 2018, 02:35:58 pm »
Ok, The codes change's a fair bit, so there will probably be a couple of errors in there. But ill check out that thanks for letting me know.

So what I am trying to build is a Variable AC power supply that can regulate 50Hz or 51 52 with a perfect sine wave.
I will need to power at least
3 High voltage transformers - (doesn't add much load already checked and able to)
At least a 100VA Burden
And A High Impedance bridge

Once I can supply the burden at different voltages I think the rest I can do.

Thanks for checking out the video
 
 
 

Offline jbb

  • Frequent Contributor
  • **
  • Posts: 429
  • Country: nz
Re: An Arduino AC Power Supply - I've been working on
« Reply #5 on: June 18, 2018, 08:21:31 pm »
Edit: realised first reply wasn’t helpful.

If you’ve got enough voltage but the waveforms are messy, you could try is to measure the AC output waveform with the microcontroller and use feedback to fix the non-linearity of the amplifier. It does involve some maths, though, so a bigger badder Arduino might be required.
« Last Edit: June 18, 2018, 08:33:01 pm by jbb »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf