Welcome
Username or Email:

Password:


Missing Code




[ ]
[ ]
Online
  • Guests: 79
  • Members: 0
  • Newest Member: omjtest
  • Most ever online: 396
    Guests: 396, Members: 0 on 12 Jan : 12:51
Members Birthdays:
All today's birthdays', congrats!
Mathias (41)
slash128v6 (52)


Next birthdays
02/01 Barry (70)
02/01 Snowcat (37)
02/01 wylie (43)
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 :: Tesla Coils
« Previous topic | Next topic »   

DRSSTC Flip Flop Question

1 2 
Move Thread LAN_403
Matthew Spinks
Wed Jun 22 2011, 11:28AM Print
Matthew Spinks Registered Member #3963 Joined: Wed Jun 22 2011, 11:06AM
Location:
Posts: 3
Hello, everyone this will be my first of probably many questions on this site. I am an aspiring young engineering student looking to build my first tesla coil. I've chosen a design similar to Steve's DRSSTC-.5 It's challenging for an amatuer, but I'm confident. I have one question that's been bothering me for a while now. In the older driver there is a RC circuit connected to the PRE pin on the flip flop. I believe it said on the site it was to delay the input to the pre pin so the interrupt signal would be passed correctly. I've been looking at the truth table for this flip flop, and I've been wondering why this is necessary. On the newest driver design the output is on Q now instead of Q NOT. If D is always held high, is there any reason I can't just connect PRE together with D on high? I think the output from this circuit would be the same as the older one. I propose the feeback flip flop could be wired similar to the way the flip flop in the over current detector is. Am I at all right about this? Someone set me straight.
Back to top
dude_500
Wed Jun 22 2011, 06:51PM
dude_500 Registered Member #2288 Joined: Wed Aug 12 2009, 10:42PM
Location: Cambridge, MA
Posts: 179
I can't think of a good reason why that wouldn't work. Seems like when CLR goes low, it'll activate the system, and when it goes high as the interrupter turns off, it'll wait for a clock to actually turn off, which is the goal of the system.

Not sure why the feedback is tapped to the interrupter through a 10k resistor, though.


The newer design is a different flip-flop (74hc74 vs 74hc109) which behaves differently, look at the logic table and it has to be on Q rather than Q inv
Back to top
Matthew Spinks
Fri Jun 24 2011, 12:51AM
Matthew Spinks Registered Member #3963 Joined: Wed Jun 22 2011, 11:06AM
Location:
Posts: 3
I thought it might work. I guess I'll have to wait and see when I start building. I'd like to test it, but I have no oscilloscope and I wish I was better with PSpice. Maybe some smart person can do it in PSpice and tell me if it works.
Back to top
dude_500
Sat Jun 25 2011, 09:20AM
dude_500 Registered Member #2288 Joined: Wed Aug 12 2009, 10:42PM
Location: Cambridge, MA
Posts: 179
The 7474 implementation on the current sense system isn't quite operating in the same way the main enable flip-flop works, but I did come up with a way to use a 74109 in a way that doesn't require an RC timing network. By keeping J, K, and PRE high, and putting an inverted interrupt into CLR, the Q_inv output seems to make an appropriate enable-output. Maybe there's something I'm missing?

Attached ltspice simulation. Top line is the non-inverted interrupt, middle line the current feedback, and the bottom line the output that would be used as an enable on whatever gate driver is used. Just etched a new driver tonight so I won't have a chance to test this in reality for a while.
1308993543 2288 FT118306 Ltsim
Back to top
dude_500
Thu Jul 21 2011, 02:39AM
dude_500 Registered Member #2288 Joined: Wed Aug 12 2009, 10:42PM
Location: Cambridge, MA
Posts: 179
I was working on a coil tonight and for some reason it just hit my why this wouldn't work as well as the setup with the timing RC circuit, if the bus voltage is off, and then turned on, no oscillations could start without power cycling the controller since the flipflop would remain in a steady state, since nothing would turn it off a short while after each interrupter pulse ends, the controller would just be in a latched state hence the need for the turn-off time delay setup.
Back to top
Matthew Spinks
Thu Jul 21 2011, 12:11PM
Matthew Spinks Registered Member #3963 Joined: Wed Jun 22 2011, 11:06AM
Location:
Posts: 3
Aha. That's makes sense now. Thanks for helping me clear that up.
Back to top
serge petiot
Sat Aug 20 2011, 07:02AM
serge petiot Registered Member #4054 Joined: Sun Aug 14 2011, 01:39PM
Location: The boonies, France
Posts: 26
Guys, be warned! On LTSPICE, the 74HC74 model is wrong and do not work properly... I spent a day fiddling with it without success and then switch to Electronic Workbench and voila, no problems.
On steve rev 1.3b schematics, the purpose of the setup is to allow for "pre" and "set" to both be high a brief moment thanks to the RC constant. When that happens, on the next "clock front" from the CT Q is updated with D level which is connected to GND. Since the clock front occurs when primary current is zero, this in effect synchronize the interrupter signal with current zero crossing...
It's not elegant, but that definetaly works. This is the reason my board has the option to substitute the logic circuitry with a motor control microcontroller, as it would make a very simple board. It also allow endless possibilities as far as switching delays, advance and so on are concerned....

Serge
Back to top
axelro
Wed Aug 24 2011, 11:59PM
axelro Registered Member #3640 Joined: Sat Jan 22 2011, 12:16PM
Location: Germany close to Heidelberg
Posts: 39
Serge, which motor control uC are you actually considering?
Back to top
Goodchild
Thu Aug 25 2011, 08:10AM
Goodchild Registered Member #2292 Joined: Fri Aug 14 2009, 05:33PM
Location: The Wild West AKA Arizona
Posts: 795
serge petiot wrote ...

Guys, be warned! On LTSPICE, the 74HC74 model is wrong and do not work properly... I spent a day fiddling with it without success and then switch to Electronic Workbench and voila, no problems.
On steve rev 1.3b schematics, the purpose of the setup is to allow for "pre" and "set" to both be high a brief moment thanks to the RC constant. When that happens, on the next "clock front" from the CT Q is updated with D level which is connected to GND. Since the clock front occurs when primary current is zero, this in effect synchronize the interrupter signal with current zero crossing...
It's not elegant, but that definetaly works. This is the reason my board has the option to substitute the logic circuitry with a motor control microcontroller, as it would make a very simple board. It also allow endless possibilities as far as switching delays, advance and so on are concerned....

Serge


Keep in mind though that uCs don't like noise or the large amount of EMI that it would experience so close under a DRSSTC. It would likely reset it's self often. This brings up another problem, most uCs default to all pins on or all pins off on ether power up or a reset, this can spell disaster for your bridge because during a reset the uC would turn on both low and high side IGBTs at the same time.

With all that being said you would also need some very split second timing with no lose in data. Dedicated logic always keeps track of your data even up into the MHz range. But with a uC, depending on your your programming, your uC can lose data or skip cycles.

I personally would never use a uC to do direct control of power electronics, it's just to unpredictable to run reliably.
Back to top
serge petiot
Thu Aug 25 2011, 10:23AM
serge petiot Registered Member #4054 Joined: Sun Aug 14 2011, 01:39PM
Location: The boonies, France
Posts: 26
Hi Axelro,
well, the uC is a poxy little PIC18F2431 that we use for motor control in my company; its got highspeed ADC. It's to be programed with MPLAB C18, with interrupt driven current zero-crossing detection.Might have a few routines in assembly, for time critical fonctions, such as updating the outputs to the MOS driver.
I was originally considering a DSP, but I thought it's a bit overkill.

Eric,
let's agree to disagree, we use uCs in all our power electronics applications here at MDP Electronics. You just have to know what your doing regarding EMC and routing of the boards. The pins on uC default to inputs on powerup, so you have to make sure to use external pullups for the desired state before you configure your outputs. Also, internal F is 40 Mhz, so that's 10 MIPS for the PIC (1 instruction takes 4 clk cycles) which is confortable for a 200Khz coil. To be honnest, we could not do without them anymore. uC will give you a flexibility as far as switching your bridge that you won't get from hardwired circuit.
As I said my board has both option, and I'll learn usind Steve's circuit for starters. It's about time DRSSTCs move into the 21rst century.

Serge
Back to top
1 2 

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.