Author Topic: Converting dc to ac to inductivly power and object  (Read 1737 times)

0 Members and 1 Guest are viewing this topic.

Offline carbon dude oxideTopic starter

  • Frequent Contributor
  • **
  • Posts: 429
  • Country: gb
Converting dc to ac to inductivly power and object
« on: April 16, 2014, 08:28:56 am »
Hello,

I have a small project that i am thinking of doing at the moment however one of the main factors which will effect if i can do it or not is how to get a Sine wave (poth positive and negative voltages) from a +- dc supply (maby split supply with virtual ground)

How would i go about making a sinewave using a micro? I know i would have to use the pwm on it to drive some mosfets but how would i actualy inplement it?
-----
Everything Should Be Made as Simple as Possible, But Not Simpler
-----
 

Offline Simon

  • Global Moderator
  • *****
  • Posts: 17814
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: Converting dc to ac to inductivly power and object
« Reply #1 on: April 16, 2014, 08:39:37 am »
you will need to keep changing your duty cycle value and then apply a suitable low pass filter on the output to extract the sine from the train of square pulses.
 

Offline tszaboo

  • Super Contributor
  • ***
  • Posts: 7374
  • Country: nl
  • Current job: ATEX product design
Re: Converting dc to ac to inductivly power and object
« Reply #2 on: April 16, 2014, 08:51:00 am »
I'm not sure why you would ever need a microcontroller to do that. Just make an oscilaltor for the correct frequency. If you need high currents and stuff, connect it to this: http://www.ti.com/tool/TIPD108 and route the output to a mosfet with a driver. Why would you complicate your life that much?
I'm even sure that with one or two 555 you can generate a sine wave.
 

Offline carbon dude oxideTopic starter

  • Frequent Contributor
  • **
  • Posts: 429
  • Country: gb
Re: Converting dc to ac to inductivly power and object
« Reply #3 on: April 16, 2014, 09:12:01 am »
I ran out of 555 timers a few days ago and i have a few atmegas running around at te moment so i was going to use them temporaraly untill i can get some more 555's
-----
Everything Should Be Made as Simple as Possible, But Not Simpler
-----
 

Offline carbon dude oxideTopic starter

  • Frequent Contributor
  • **
  • Posts: 429
  • Country: gb
Re: Converting dc to ac to inductivly power and object
« Reply #4 on: April 16, 2014, 09:13:22 am »
Ok so am i going to need an n channel mosfet (while im using the atmega) so that i can drive the 12v rail and then a p chanel for the -12v rail?
-----
Everything Should Be Made as Simple as Possible, But Not Simpler
-----
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf