Welcome
Username or Email:

Password:


Missing Code




[ ]
[ ]
Online
  • Guests: 130
  • Members: 0
  • Newest Member: omjtest
  • Most ever online: 396
    Guests: 396, Members: 0 on 12 Jan : 12:51
Members Birthdays:
One birthday today, congrats!
RateReducer (35)


Next birthdays
11/02 Download (31)
11/02 ScottH (37)
11/03 Electroguy (94)
Contact
If you need assistance, please send an email to forum at 4hv dot org. To ensure your email is not marked as spam, please include the phrase "4hv help" in the subject line. You can also find assistance via IRC, at irc.shadowworld.net, room #hvcomm.
Support 4hv.org!
Donate:
4hv.org is hosted on a dedicated server. Unfortunately, this server costs and we rely on the help of site members to keep 4hv.org running. Please consider donating. We will place your name on the thanks list and you'll be helping to keep 4hv.org alive and free for everyone. Members whose names appear in red bold have donated recently. Green bold denotes those who have recently donated to keep the server carbon neutral.


Special Thanks To:
  • Aaron Holmes
  • Aaron Wheeler
  • Adam Horden
  • Alan Scrimgeour
  • Andre
  • Andrew Haynes
  • Anonymous000
  • asabase
  • Austin Weil
  • barney
  • Barry
  • Bert Hickman
  • Bill Kukowski
  • Blitzorn
  • Brandon Paradelas
  • Bruce Bowling
  • BubeeMike
  • Byong Park
  • Cesiumsponge
  • Chris F.
  • Chris Hooper
  • Corey Worthington
  • Derek Woodroffe
  • Dalus
  • Dan Strother
  • Daniel Davis
  • Daniel Uhrenholt
  • datasheetarchive
  • Dave Billington
  • Dave Marshall
  • David F.
  • Dennis Rogers
  • drelectrix
  • Dr. John Gudenas
  • Dr. Spark
  • E.TexasTesla
  • eastvoltresearch
  • Eirik Taylor
  • Erik Dyakov
  • Erlend^SE
  • Finn Hammer
  • Firebug24k
  • GalliumMan
  • Gary Peterson
  • George Slade
  • GhostNull
  • Gordon Mcknight
  • Graham Armitage
  • Grant
  • GreySoul
  • Henry H
  • IamSmooth
  • In memory of Leo Powning
  • Jacob Cash
  • James Howells
  • James Pawson
  • Jeff Greenfield
  • Jeff Thomas
  • Jesse Frost
  • Jim Mitchell
  • jlr134
  • Joe Mastroianni
  • John Forcina
  • John Oberg
  • John Willcutt
  • Jon Newcomb
  • klugesmith
  • Leslie Wright
  • Lutz Hoffman
  • Mads Barnkob
  • Martin King
  • Mats Karlsson
  • Matt Gibson
  • Matthew Guidry
  • mbd
  • Michael D'Angelo
  • Mikkel
  • mileswaldron
  • mister_rf
  • Neil Foster
  • Nick de Smith
  • Nick Soroka
  • nicklenorp
  • Nik
  • Norman Stanley
  • Patrick Coleman
  • Paul Brodie
  • Paul Jordan
  • Paul Montgomery
  • Ped
  • Peter Krogen
  • Peter Terren
  • PhilGood
  • Richard Feldman
  • Robert Bush
  • Royce Bailey
  • Scott Fusare
  • Scott Newman
  • smiffy
  • Stella
  • Steven Busic
  • Steve Conner
  • Steve Jones
  • Steve Ward
  • Sulaiman
  • Thomas Coyle
  • Thomas A. Wallace
  • Thomas W
  • Timo
  • Torch
  • Ulf Jonsson
  • vasil
  • Vaxian
  • vladi mazzilli
  • wastehl
  • Weston
  • William Kim
  • William N.
  • William Stehl
  • Wesley Venis
The aforementioned have contributed financially to the continuing triumph of 4hv.org. They are deserving of my most heartfelt thanks.
Forums
4hv.org :: Forums :: General Chatting
« Previous topic | Next topic »   

programmable IC for induction heater

 1 2 3 
Move Thread LAN_403
Bjørn
Fri Jan 29 2010, 03:03PM
Bjørn Registered Member #27 Joined: Fri Feb 03 2006, 02:20AM
Location: Hyperborea
Posts: 2058
If the signal can be made digital you can use a capture unit that will give you a very accurate time stamp of the transition of the signal. The aurdinio we are talking about has only one capture module so might be troublesome for that. Maybe you could convert the phase difference into a voltage before it is sampled so the sample rate does not have to be faster than the rate of change in the phase. There are hundreds of ways to do it, you just have to find a method that you like.

To show something a lot more capable (but not more expensive): Link2 It is blindingly fast and can do sampling of analog signals at 2 MHz without even involving the CPU. The down side is that the full complexity hits you in the face and the learning curve is quite steep.
Back to top
Steve Conner
Fri Jan 29 2010, 03:46PM
Steve Conner Registered Member #30 Joined: Fri Feb 03 2006, 10:52AM
Location: Glasgow, Scotland
Posts: 6706
If I were doing this I'd just bolt a PIC or Arduino onto an existing analog PLL circuit. The chip just has to deal with slowly changing DC voltages, because the PLL handles all the fast stuff.
Back to top
IamSmooth
Fri Jan 29 2010, 04:25PM
IamSmooth Registered Member #190 Joined: Fri Feb 17 2006, 12:00AM
Location:
Posts: 1567
What I will do is remake the circuit without the PLL feedback. I will tap off the PCA1 output which should XOR the two signals. I can then use the processor to stay right at midvoltage as it wonders around. This should not be hard at all.

Quickie.

My capacitor tank voltage can be over 300-600v for what I am planning. I was going to run it through 100k and then have a pair of fast diodes clamping it. 600^2/100k = 3.6w

Are there fast diodes for this wattage? I was using the N4148, but I don't think they will handle this power. Any suggestions for cleaning this up and not frying my PLL?
Back to top
uzzors2k
Fri Jan 29 2010, 06:09PM
uzzors2k Registered Member #95 Joined: Thu Feb 09 2006, 04:57PM
Location: Norway
Posts: 1308
The diodes are only subjected to roughly (600V / 100k) * some low forward drop. So the power dissipated in them is well within their maximum.
Back to top
IamSmooth
Fri Jan 29 2010, 10:25PM
IamSmooth Registered Member #190 Joined: Fri Feb 17 2006, 12:00AM
Location:
Posts: 1567
Uzzors,

I guess if the input impedance to the PLL pin is high, the voltage after the resistor would be very low. I should measure it. Does anyone know what the input impedance for the input pins? I did not see it on the datasheet.
Back to top
...
Sat Jan 30 2010, 04:50AM
... Registered Member #56 Joined: Thu Feb 09 2006, 05:02AM
Location: Southern Califorina, USA
Posts: 2445
They are quite high resistance wise (probably >1meg with the internal pullups/downs disabled, obviously with the pullup or pulldown resistors enabled the input impedance would be the resistance of the internal resistors), but they do have appreciable capacitance which could cause issues with high frequencies.
Back to top
IamSmooth
Sun Jan 31 2010, 05:56AM
IamSmooth Registered Member #190 Joined: Fri Feb 17 2006, 12:00AM
Location:
Posts: 1567
has anyone here programmed the atmega328?
Back to top
cjk2
Sun Jan 31 2010, 06:04AM
cjk2 Registered Member #51 Joined: Thu Feb 09 2006, 04:17AM
Location:
Posts: 263
Yes, AVR chips are great to work with and easy to program. Just get/make a programmer and wire a 6 pin IDC connector on your board and connect it to the correct pins on your AVR. See the datasheet to get the pins correct.

http://www.raphnet.net/divers/avrprog/index_en.php
Back to top
IamSmooth
Sun Jan 31 2010, 06:40AM
IamSmooth Registered Member #190 Joined: Fri Feb 17 2006, 12:00AM
Location:
Posts: 1567
When doing analogwrite(3, 128) one implements a 50% (128/256) duty cycle on pin 3. The pwm routine is limited to 1/256 resolution. I was reading that the TImer1 has 10 bits of resolution and I saw some low-level routines for doing this. Am I correct in seeing this?
Back to top
Avi
Sun Jan 31 2010, 07:55AM
Avi Registered Member #580 Joined: Mon Mar 12 2007, 03:17PM
Location: Melbourne, Australia
Posts: 410
IamSmooth wrote ...

has anyone here programmed the atmega328?
me
the 16 bit timer (I think thats timer 1) seems to go at 16000000>>8 Hz with no prescaler as far as i see. which is 62,500 counts/sec with a 16Mhz crystal
Back to top
 1 2 3 

Moderator(s): Chris Russell, Noelle, Alex, Tesladownunder, Dave Marshall, Dave Billington, Bjørn, Steve Conner, Wolfram, Kizmo, Mads Barnkob

Go to:

Powered by e107 Forum System
 
Legal Information
This site is powered by e107, which is released under the GNU GPL License. All work on this site, except where otherwise noted, is licensed under a Creative Commons Attribution-ShareAlike 2.5 License. By submitting any information to this site, you agree that anything submitted will be so licensed. Please read our Disclaimer and Policies page for information on your rights and responsibilities regarding this site.