Welcome
Username or Email:

Password:


Missing Code




[ ]
[ ]
Online
  • Guests: 95
  • 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!
Download (31)
ScottH (37)


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 Science and Electronics
« Previous topic | Next topic »   

schmitt trigger

1 2 
Move Thread LAN_403
IamSmooth
Tue Aug 25 2009, 08:36PM Print
IamSmooth Registered Member #190 Joined: Fri Feb 17 2006, 12:00AM
Location:
Posts: 1567
Here is a link to a schmitt trigger using a comparator
Link2

This trigger goes from HIGH to LOW when the signal goes above V2; it goes from LOW to HIGh when it goes below V2prime

Is there a variation that goes from LOW to HIGH when the signal goes above V2, and HIGH to LOW when it goes below V2prime?

I guess one way would be to feed the output into the base of an NPN common emitter and take the output at the collector. Any other suggestions?
Back to top
CT2
Tue Aug 25 2009, 09:01PM
CT2 Registered Member #180 Joined: Thu Feb 16 2006, 02:12AM
Location: Ontario, Canada
Posts: 187
I think if you switch the inverting and non-inverting inputs you could achieve this result, however I have not looked at the schematics in any detail, so wait for someone else to comment. If anything you could always just put an inverter on the output.
Back to top
Dr. Slack
Wed Aug 26 2009, 02:54AM
Dr. Slack Registered Member #72 Joined: Thu Feb 09 2006, 08:29AM
Location: UK St. Albans
Posts: 1659
Two comments

The scmidt comparator bascially has differntial inputs, so using ref to -ve and signal to +ve (through a resistor large compared to the feedback resistors) results in non-inverting behaviour. However, as -ve input is high impedance so easier to use, and the +ve input already has an implicit rail-related reference connected to it by the feedback, most people only use it inverting.

It's bad practice to follow a wimpy stage which uses feedback (like this comparator) with a load which needs considerable current to drive (like an IGBT gate) (cookies for why), so a current gain stage is really needed after a scmidted comparator. This can conveniently be inverting.
Back to top
Steve Conner
Wed Aug 26 2009, 08:51AM
Steve Conner Registered Member #30 Joined: Fri Feb 03 2006, 10:52AM
Location: Glasgow, Scotland
Posts: 6706
I'll just take this opportunity to point out that gate driver chips such as the UCC37321/37322 are available in both inverting and non-inverting flavours. :P

Also, your bang-bang control is not complete until you put a low-pass filter somewhere in the loop to limit the maximum switching rate. Without this, it can still take off at an arbitrarily high switching speed and burn itself out.

If you put a RC lowpass just before the Schmitt trigger, then the maximum switching rate will conveniently be set by the RC time constant and the Schmitt's hysteresis band.
Back to top
IamSmooth
Wed Aug 26 2009, 12:01PM
IamSmooth Registered Member #190 Joined: Fri Feb 17 2006, 12:00AM
Location:
Posts: 1567
Thanks Steven. I was actually trying to find a method of slowing the rate. Right now I was only considering widening the hysteresis band. The internal resistance of my generator is about 5.5ohms. If I trigger at 240vdc with a 30ohm load the voltage will immediately drop to close to 205v due only to the voltage divider effect.

So you are saying that even if the voltage falls below my trigger voltage the RC filter will not let the state change until the time constant has elapsed? I guess this is because of the time it takes to charge the capacitor.
Back to top
Steve Conner
Wed Aug 26 2009, 12:26PM
Steve Conner Registered Member #30 Joined: Fri Feb 03 2006, 10:52AM
Location: Glasgow, Scotland
Posts: 6706
That's right, yes.

Note that you don't want to slow the gate drive, you want to delay it. The IGBT must still switch snappily to prevent lingering in the linear region, but it musn't switch too often.
Back to top
Dr. Slack
Thu Aug 27 2009, 12:46AM
Dr. Slack Registered Member #72 Joined: Thu Feb 09 2006, 08:29AM
Location: UK St. Albans
Posts: 1659
The internal resistance of my generator is about 5.5ohms. If I trigger at 240vdc with a 30ohm load the voltage will immediately drop to close to 205v due only to the voltage divider effect.

Will it? What about the effect of your DC bus capacitor? I'm sure your inverter will have one on its input, even if you haven't added extra externally. This will source the extra current and your terminal voltage will drop smoothly.

You may need to consider the ripple current and consequent heating that this capacitor will experience in switch mode shunt limiting. If your shunt is pulling 240/30 = 8A, and your generator is supplying 4, that 4A rms sloshing in and out of the DC bus capacitor. That's not a big deal with suitable caps, but it could be with unsuitable ones. What is on the input of your inverter?

Plastic film ones to cope with HF filtering? - OK, but you may want to add extra capacitance for smoothing
Largish PSU types? - probably OK
Small 'lytics - maybe worth checking their ripple current, and adding extra for smoothing
Back to top
IamSmooth
Thu Aug 27 2009, 02:24AM
IamSmooth Registered Member #190 Joined: Fri Feb 17 2006, 12:00AM
Location:
Posts: 1567
Yes, I do have 1000uf/900v of electrolytic capacitors to let the voltage fall smoothly. I did not mean to imply that it would suddenly change values.
Back to top
Dr. Slack
Thu Aug 27 2009, 02:31AM
Dr. Slack Registered Member #72 Joined: Thu Feb 09 2006, 08:29AM
Location: UK St. Albans
Posts: 1659
OK, it must be a new use of the word immediately that I am not familiar with smile

4amps from 1000uF is about 4kV per second. If your hysteresis band is equivalent to (say) 20v at the DC bus, then it's going to self-oscillate at in the 10s of Hz, without any extra LPF.

The voltage *will* drop immediately due to capcitor ESR, but for 1000uF I assume that's going to be in the order of mohm or 10s of mohm, so by not very much at all.
Back to top
Steve Conner
Thu Aug 27 2009, 09:00AM
Steve Conner Registered Member #30 Joined: Fri Feb 03 2006, 10:52AM
Location: Glasgow, Scotland
Posts: 6706
There's also the stray inductance of the wiring though, which can be pretty high.

When the switch comes on suddenly, with fast gate drive, it can easily drop a sizeable proportion of the DC bus voltage in L*di/dt across the wiring. This would cause any comparator to turn itself immediately back off, whereupon the resulting kickback of stored inductive energy would send the voltage sky-high, turning the comparator straight back on again, and so on, resulting in a vicious high frequency oscillation and extreme voltage spikes.

This is why I recommend a low-pass filter in the loop, to stop that kind of thing. A nice big capacitor strategically placed in the dump load unit wouldn't hurt either.
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.