Author Topic: Window comparator as perfect rectifyer?  (Read 2384 times)

0 Members and 1 Guest are viewing this topic.

Offline FriedMuleTopic starter

  • Frequent Contributor
  • **
  • Posts: 807
  • Country: dk
  • Can make even the simplest task look imposible.
Window comparator as perfect rectifyer?
« on: May 26, 2019, 06:01:14 pm »
Imagine some standard run of the mill rectifier circuit with maybe 1V ripple, connect it to a zero droop window comparetor and last connect it to an opamp.
Let the opamp get power from the standard rectifier.
Would the opamp not try to keep it's output exactly as the comparetor's linear signal?
Even if I appear online is it not necessary so, my computer is on 24/7 even if I am not on.
 

Offline Benta

  • Super Contributor
  • ***
  • Posts: 6552
  • Country: de
Re: Window comparator as perfect rectifyer?
« Reply #1 on: May 26, 2019, 06:30:54 pm »
I'm not certain you really mean "window comparator".
Make a sketch of what you want, please.
 

Offline wraper

  • Supporter
  • ****
  • Posts: 18236
  • Country: lv
Re: Window comparator as perfect rectifyer?
« Reply #2 on: May 26, 2019, 06:41:44 pm »
Go google about synchronous rectification if meaning high efficiency power rectification or precision rectifier if you need a signal itself.
https://en.wikipedia.org/wiki/Active_rectification
https://en.wikipedia.org/wiki/Precision_rectifier
As of what you described is weird. And comparator has only 2 states on it's output, what linear signal?  :-//
« Last Edit: May 26, 2019, 06:44:42 pm by wraper »
 

Offline FriedMuleTopic starter

  • Frequent Contributor
  • **
  • Posts: 807
  • Country: dk
  • Can make even the simplest task look imposible.
Re: Window comparator as perfect rectifyer?
« Reply #3 on: May 26, 2019, 07:59:16 pm »
I'm not certain you really mean "window comparator".
Make a sketch of what you want, please.
What i mean is a circuit that detects highest positive voltage that the rectyfier is delivering, I do not know how to draw it but I'll try to explain again:-)
if you have that "max volt detector" and put the result into an opamp, the opamp will try it's best to deliver that as output.
My thought was that the end result will be an opamp that keep fighting to maintain the same max value.
Go google about synchronous rectification if meaning high efficiency power rectification or precision rectifier if you need a signal itself.
https://en.wikipedia.org/wiki/Active_rectification
https://en.wikipedia.org/wiki/Precision_rectifier
As of what you described is weird. And comparator has only 2 states on it's output, what linear signal?  :-//
Great links, it looks like what I am thinking of!
Am I wronh in thinking that this circuit: https://upload.wikimedia.org/wikipedia/commons/c/ca/Op-Amp_Precision_Rectifier_%28Improved%29.svg
only is a half-bridge rectifier?
And combined with the comparator, it gets to be a full bridge rectifier?

Hmm does it not loose a lot power in that configuration?
Even if I appear online is it not necessary so, my computer is on 24/7 even if I am not on.
 

Offline wraper

  • Supporter
  • ****
  • Posts: 18236
  • Country: lv
Re: Window comparator as perfect rectifyer?
« Reply #4 on: May 26, 2019, 08:05:04 pm »
Peak detector is not a comparator. Also it does not help at rectifying in any way.
 

Offline wraper

  • Supporter
  • ****
  • Posts: 18236
  • Country: lv
Re: Window comparator as perfect rectifyer?
« Reply #5 on: May 26, 2019, 08:13:11 pm »
Am I wronh in thinking that this circuit: https://upload.wikimedia.org/wikipedia/commons/c/ca/Op-Amp_Precision_Rectifier_%28Improved%29.svg
only is a half-bridge rectifier?
And combined with the comparator, it gets to be a full bridge rectifier?

Hmm does it not loose a lot power in that configuration?
Comparator again... Add another diode and opamp and you will have full wave rectifier.



 

Offline FriedMuleTopic starter

  • Frequent Contributor
  • **
  • Posts: 807
  • Country: dk
  • Can make even the simplest task look imposible.
Re: Window comparator as perfect rectifyer?
« Reply #6 on: May 26, 2019, 08:35:47 pm »
Thanks a lot!

I have only seen something that is called window comparator, where it detects if peak voltage is above or below trigger voltage and have that voltage stored
So my thought was to let the "window" be configured so that it only triggers with max voltage i.e. 5V and send these 5V to the opamp.

But your drawing is fare better, thanks.
Even if I appear online is it not necessary so, my computer is on 24/7 even if I am not on.
 

Offline wraper

  • Supporter
  • ****
  • Posts: 18236
  • Country: lv
Re: Window comparator as perfect rectifyer?
« Reply #7 on: May 26, 2019, 08:40:28 pm »
I have only seen something that is called window comparator, where it detects if peak voltage is above or below trigger voltage and have that voltage stored
Window comparator basically is just two regular comparators set to different voltage + AND logic. It does not store anything and it does not have anything to do with peak voltage. Usual comparator only detects if signal is above/below set level. Window comparator detects if it is within certain range or not. One comparator is set to maximum level, another to minimum level.
https://en.wikipedia.org/wiki/Window_detector
Quote
So my thought was to let the "window" be configured so that it only triggers with max voltage i.e. 5V and send these 5V to the opamp.
Strange logic. So you idea "works" (it doesn't) only if input voltage is already is known. Why then bother rectifying anything at all?
« Last Edit: May 26, 2019, 08:50:30 pm by wraper »
 

Offline Benta

  • Super Contributor
  • ***
  • Posts: 6552
  • Country: de
Re: Window comparator as perfect rectifyer?
« Reply #8 on: May 26, 2019, 08:49:17 pm »
A Window Comparator is an array of comparators coupled to combinatorial logic.
As an example:
Analog input voltage 0...5 V
0...<1 V: output 1 active
1...<2 V: output 2 active
2...<3 V: output 3 active
3...<4 V: output 4 active
4...5 V: output 5 active

Relating that to a rectifier is difficult at best...
« Last Edit: May 26, 2019, 08:51:20 pm by Benta »
 

Offline FriedMuleTopic starter

  • Frequent Contributor
  • **
  • Posts: 807
  • Country: dk
  • Can make even the simplest task look imposible.
Re: Window comparator as perfect rectifyer?
« Reply #9 on: May 26, 2019, 09:28:56 pm »
I am glad for your help, can't find the video where the window comparator was presented in the wrong way.
As I am a noob, I tend to believe in the videos I find, but thanks to you, I'd learn that nothing all is true:-)
Even if I appear online is it not necessary so, my computer is on 24/7 even if I am not on.
 

Offline FriedMuleTopic starter

  • Frequent Contributor
  • **
  • Posts: 807
  • Country: dk
  • Can make even the simplest task look imposible.
Re: Window comparator as perfect rectifyer?
« Reply #10 on: May 27, 2019, 01:53:04 pm »
I was trying to play with the circuit, just to learn but the online simulator is confusing me big time: http://tinyurl.com/y4jcz686
1VAC in 15VDC out
Even if I appear online is it not necessary so, my computer is on 24/7 even if I am not on.
 

Offline Audioguru

  • Super Contributor
  • ***
  • Posts: 1507
  • Country: ca
Re: Window comparator as perfect rectifyer?
« Reply #11 on: May 27, 2019, 02:04:47 pm »
Your opamps have no part number and no power supply voltage so they will not work.
The second opamp has positive feedback so if there is a tiny positive input to it then its output will go as high as it can and stay like that (even if the input signal stops) until the power supply is turned off.
I guess the supply is +15V and the opamp is "rail to rail" allowing its output to go as high as +15V.
 

Offline FriedMuleTopic starter

  • Frequent Contributor
  • **
  • Posts: 807
  • Country: dk
  • Can make even the simplest task look imposible.
Re: Window comparator as perfect rectifyer?
« Reply #12 on: May 27, 2019, 02:27:35 pm »
Your opamps have no part number and no power supply voltage so they will not work.
The second opamp has positive feedback so if there is a tiny positive input to it then its output will go as high as it can and stay like that (even if the input signal stops) until the power supply is turned off.
I guess the supply is +15V and the opamp is "rail to rail" allowing its output to go as high as +15V.
Oh thanks a lot, it makes sense, no the AC is 1V.
But I'll change the errors:-)
Even if I appear online is it not necessary so, my computer is on 24/7 even if I am not on.
 

Offline FriedMuleTopic starter

  • Frequent Contributor
  • **
  • Posts: 807
  • Country: dk
  • Can make even the simplest task look imposible.
Re: Window comparator as perfect rectifyer?
« Reply #13 on: May 27, 2019, 06:02:17 pm »
Am I wronh in thinking that this circuit: https://upload.wikimedia.org/wikipedia/commons/c/ca/Op-Amp_Precision_Rectifier_%28Improved%29.svg
only is a half-bridge rectifier?
And combined with the comparator, it gets to be a full bridge rectifier?

Hmm does it not loose a lot power in that configuration?
Comparator again... Add another diode and opamp and you will have full wave rectifier.




I have redrawen my circuit (read stolen a solution)
You show two examples and here is a third: http://tinyurl.com/y3yhr8kt

But how do I know what to choose, what is the difference?
Even if I appear online is it not necessary so, my computer is on 24/7 even if I am not on.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf