Electronics Forums

Electronics Forums > Newsgroups > Electronics Newsgroups > Electronic Design > Eliminating a specific voltage from a sawtooth waveform

Reply
Thread Tools Display Modes

Eliminating a specific voltage from a sawtooth waveform

 
 
Paul Burridge
Guest
Posts: n/a
 
      08-11-2003, 08:28 AM
Hi chaps,

Let's say I have a sawtooth wave generator. It cycles from 0 to 7V
over 30 seconds and then resets to 0 and so on and so on. Now let's
say I want to eliminate, for example, the part of the ramp from 3.3V
to 3.8V. Doesn't matter whether the output's held temporarily at 3.3V
for a spell and then jumps straight to 3.8V and continues to rise, or
else is grounded (or supply railed even) for that same short interval.
I just don't want that particular voltage span appearing at the
output. What's the best way to go about it?

Thanks,p.
--

"I believe history will be kind to me, since I intend
to write it." - Winston Churchill
 
Reply With Quote
 
 
 
 
Roger Johansson
Guest
Posts: n/a
 
      08-11-2003, 09:56 AM
Paul Burridge <(E-Mail Removed)> wrote:

>Let's say I have a sawtooth wave generator. It cycles from 0 to 7V
>over 30 seconds and then resets to 0 and so on and so on. Now let's
>say I want to eliminate, for example, the part of the ramp from 3.3V
>to 3.8V. Doesn't matter whether the output's held temporarily at 3.3V
>for a spell and then jumps straight to 3.8V and continues to rise, or
>else is grounded (or supply railed even) for that same short interval.
>I just don't want that particular voltage span appearing at the
>output. What's the best way to go about it?


A window comparator detects that interval and grounds the output.

Details: Two comparators detect when the voltage is over level1 and
under level2. The outputs from these comparators are used in a logic
gate so when both are on the output from the logic gate turns on the
transistor which grounds the output.


--
Roger J.
 
Reply With Quote
 
 
 
 
George R. Gonzalez
Guest
Posts: n/a
 
      08-11-2003, 12:18 PM

"Paul Burridge" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi chaps,
>
> Let's say I have a sawtooth wave generator. It cycles from 0 to 7V
> over 30 seconds and then resets to 0 and so on and so on. Now let's
> say I want to eliminate, for example, the part of the ramp from 3.3V
> to 3.8V. Doesn't matter whether the output's held temporarily at 3.3V
> for a spell and then jumps straight to 3.8V and continues to rise, or
> else is grounded (or supply railed even) for that same short interval.
> I just don't want that particular voltage span appearing at the
> output. What's the best way to go about it?
>
> Thanks,p.



If you want it to be really simple, you could make a mickey-mouse
window gadget with three resistors and two diodes.

The three resistors make up a voltage divider with two taps.

The bottom tap biases a diode into conduction during the bottom 0 to 3.3V
part. The top tap biases another diode into conduction from 3.8 on up.

It will of course have the standard diode drops, use shottky diodes to
minimize this,
or you can partially adjust these drops out.
It will also have the standard diode temperature coefficients, but what do
you want from
five cheap passive components?



 
Reply With Quote
 
George R. Gonzalez
Guest
Posts: n/a
 
      08-11-2003, 04:16 PM
oops, never mind, my simple solution is too simple, it gives you the
dead-band, but doesnt skip over it.



 
Reply With Quote
 
Don Lancaster
Guest
Posts: n/a
 
      08-11-2003, 06:12 PM
Paul Burridge wrote:
>
> Hi chaps,
>
> Let's say I have a sawtooth wave generator. It cycles from 0 to 7V
> over 30 seconds and then resets to 0 and so on and so on. Now let's
> say I want to eliminate, for example, the part of the ramp from 3.3V
> to 3.8V. Doesn't matter whether the output's held temporarily at 3.3V
> for a spell and then jumps straight to 3.8V and continues to rise, or
> else is grounded (or supply railed even) for that same short interval.
> I just don't want that particular voltage span appearing at the
> output. What's the best way to go about it?
>
> Thanks,p.
> --
>
> "I believe history will be kind to me, since I intend
> to write it." - Winston Churchill


Basic Stamp, of course.
--
Many thanks,

Don Lancaster
Synergetics 3860 West First Street Box 809 Thatcher, AZ 85552
voice: (928)428-4073 email: (E-Mail Removed) fax 847-574-1462

Please visit my GURU's LAIR web site at http://www.tinaja.com

 
Reply With Quote
 
Paul Burridge
Guest
Posts: n/a
 
      08-11-2003, 09:57 PM
On Mon, 11 Aug 2003 11:56:37 +0200, Roger Johansson <no-(E-Mail Removed)>
wrote:

>A window comparator detects that interval and grounds the output.


Sounds promising. Are they programmable/variable? I'd like to make the
notch adjustable if at all possible.
--

"I believe history will be kind to me, since I intend
to write it." - Winston Churchill
 
Reply With Quote
 
John Popelish
Guest
Posts: n/a
 
      08-11-2003, 11:14 PM
Paul Burridge wrote:
>
> On Mon, 11 Aug 2003 14:50:23 GMT, John Popelish <(E-Mail Removed)>
> wrote:
>
> >Paul Burridge wrote:
> >>
> >> Hi chaps,
> >>
> >> Let's say I have a sawtooth wave generator. It cycles from 0 to 7V
> >> over 30 seconds and then resets to 0 and so on and so on. Now let's
> >> say I want to eliminate, for example, the part of the ramp from 3.3V
> >> to 3.8V. Doesn't matter whether the output's held temporarily at 3.3V
> >> for a spell and then jumps straight to 3.8V and continues to rise, or
> >> else is grounded (or supply railed even) for that same short interval.
> >> I just don't want that particular voltage span appearing at the
> >> output. What's the best way to go about it?

> >
> >What output do you want the circuit to produce when the input is in
> >the forbidden range?

>
> <ahem> Either zero volts or supply rail will do (see above).


Sorry I buzzed through so fast I missed the details. I hope you
realize that you cannot get the output from 3 to 3.8 volts without
passing through the forbidden zone, however quickly. If you want ot
substitute a fixed value while the input ibs in the dead zone, I think
the most obvious solution is a window comparAtor driving a spdt cmos
analog switch, with the input going to one throw and the chosen fixed
replacement going to the other throw. The window comparator has very
nice adjustability.

--
John Popelish
 
Reply With Quote
 
Roger Johansson
Guest
Posts: n/a
 
      08-11-2003, 11:29 PM
Paul Burridge <(E-Mail Removed)> wrote:

>>A window comparator detects that interval and grounds the output.


>Sounds promising. Are they programmable/variable? I'd like to make the
>notch adjustable if at all possible.


Spehro Pefhany gave you a circuit schematic of exactly that circuit a
few posts later in the thread.

The two comparators are to the left, comparing the input voltage with
the two levels you specified.
He used a trick to avoid the need for a separate logic gate in the
middle, using a pull up resistor instead.
But it works as a logic function, when either or both comparators can
influence the control input to the cmos analog gate at the right side
of the circuit.
When none of them drags down the voltage the control input gets a
certain input voltage.

Study his schematic to understand what I described.

You can put pots at the inputs of the comparators to make the input
levels separately adjustable.


--
Roger J.
 
Reply With Quote
 
Roger Johansson
Guest
Posts: n/a
 
      08-12-2003, 12:21 AM
>>>A window comparator detects that interval and grounds the output.

I can't sleep, so I can give you some more on this.

A window comparator detects when a voltage is within a certain range
of voltages, a window.

A window comparator is not a single component you buy, it is a circuit
you build from a few components.

You use two comparators, a voltage divider chain at the inputs of the
two comparators, to give them the reference voltages.

At the outputs of the two comparators we put a logic function, which
reacts to when both comparators signal that the input signal is within
the specified range.

The logic function can be an OR gate, or a NOR, or a NAND or and AND,
we can usually fix the polarities so it works no matter what logic
gate we use.

That is what makes up a window comparator circuit, two comparators and
a logic function.

In Spehro's circuit he used a trick which means we do not need to buy
a logic gate chip, he performed the logic gate function in a smarter
way. I don't have the circuit in front of me now, so I just describe
it in general. He used a pull-up resistor at the point where the
outputs from the two comparators come together.
And it probably works so that when none of the comparators drag down
the voltage in that point the resistor pulls it up.

The logic function lies in the expression "when none of the
comparators drag down the voltage".

The "none of the two" is a logic function. It can also be expressed as
one or the other, an OR function.

The output from this logic function steers the analog gate to the
right in the schematic, which lets the input signal through or not.


>>Sounds promising. Are they programmable/variable? I'd like to make the
>>notch adjustable if at all possible.


>You can put pots at the inputs of the comparators to make the input
>levels separately adjustable.


Insert trim pots in the voltage divider chain at the far left in the
schematic to give you adjustable voltage levels to the inputs of the
two comparators, which they compare the input voltage with.


--
Roger J.
 
Reply With Quote
 
Paul Burridge
Guest
Posts: n/a
 
      08-12-2003, 10:04 PM
On Mon, 11 Aug 2003 19:19:06 GMT, Spehro Pefhany <(E-Mail Removed)>
wrote:

>Here's an easy way with just a few parts. The voltage Vx is where it
>sits suring the dead spot.


[circuit snipped]

Thanks very much, Speff. Marrying this up with Roger's explanation has
enabled me to determine this does appear to be a very workable idea
for a satisfactory solution. Thanks again!
--

"I believe history will be kind to me, since I intend
to write it." - Winston Churchill
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
555 Timer? Input: sawtooth 0-8 volts, Output: pulse at given voltage 1-7 volts gmcjetpilot Circuit Help 8 03-30-2010 06:52 PM
Problem with this sawtooth generator... Paul Burridge Electronic Design 39 01-30-2004 12:13 PM
HP 1222A scope generates sawtooth instead of flat baseline Joerg Hau Electronic Equipment 3 01-21-2004 11:17 PM
HP 1222A scope generates sawtooth instead of flat baseline Joerg Hau Electronic Repair 0 01-20-2004 12:16 PM
Problem with this sawtooth generator... Paul Burridge CAD 39 01-12-2004 02:52 PM