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

0 Members and 1 Guest are viewing this topic.

Offline threephase03Topic starter

  • Contributor
  • Posts: 23
  • Country: au
An Arduino AC Power Supply - I've been working on
« on: June 11, 2018, 10:35:50 am »
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 threephase03Topic starter

  • Contributor
  • Posts: 23
  • Country: au
Re: An Arduino AC Power Supply - I've been working on
« Reply #1 on: June 12, 2018, 09:02:29 am »
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.

https://youtu.be/XkytWO63umo
 

Offline threephase03Topic starter

  • Contributor
  • Posts: 23
  • Country: au
Re: An Arduino AC Power Supply - I've been working on
« Reply #2 on: June 16, 2018, 10:36:30 am »
https://youtu.be/qm2Nbl3WlTI

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: 6979
  • Country: ca
Re: An Arduino AC Power Supply - I've been working on
« Reply #3 on: June 16, 2018, 07:57:54 pm »
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 threephase03Topic starter

  • Contributor
  • Posts: 23
  • Country: au
Re: An Arduino AC Power Supply - I've been working on
« Reply #4 on: June 17, 2018, 04:35:58 am »
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

  • Super Contributor
  • ***
  • Posts: 1143
  • Country: nz
Re: An Arduino AC Power Supply - I've been working on
« Reply #5 on: June 18, 2018, 10:21:31 am »
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, 10:33:01 am by jbb »
 

Offline threephase03Topic starter

  • Contributor
  • Posts: 23
  • Country: au
Re: An Arduino AC Power Supply - I've been working on
« Reply #6 on: July 06, 2018, 02:49:20 am »
This is a video of before I was really getting into building it, I stepped it up through high voltage transformers. The video is pretty crappy at the time it wasn't going to go on youtube



 

Offline threephase03Topic starter

  • Contributor
  • Posts: 23
  • Country: au
Re: An Arduino AC Power Supply - I've been working on
« Reply #7 on: July 22, 2018, 09:05:58 am »
For those that are interested where i am at.

 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf