<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content="text/html; charset=windows-1250" http-equiv=Content-Type>
<META content='"MSHTML 4.71.1712.3"' name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT color=#000000 size=2>Roman Sowa wrote:</FONT></DIV>
<DIV><FONT size=2>></FONT></DIV>
<DIV>>Hi all!<BR><BR>>Why do always simple tasks are done the hard 
way?<BR>>What would you say about 2 opamps, 2 resistors and 1 diode 
design?<BR>>And very old one too...<BR><BR>>imagine standard inverting 
amplifier with gain = -1.<BR>>insert diode between opamp's output and 
feedback resistor.<BR>>anode toward opamp if you want positive output, or 
cathode otherwise.<BR>>use second opamp as a follower connected to the 
diode-resistor node.<BR>>voila!<BR><BR>>Roman </DIV>
<DIV> </DIV>
<DIV><FONT size=2>Hi again!</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>There is no problem in being simple. Many other designs are 
simple but they all suffer from rounded peak of the triangle. This drove me 
crazy so I didn't wanna simple anymore. Btw: Whats 2 or 3 resistors more in a 
circuit? They are ultra cheap anyway and the take almost no space (you can 
always use SMT resistors, if the space is a problem).</FONT></DIV>
<DIV><FONT size=2></FONT><BR> </DIV>
<DIV><FONT color=#000000 size=2>Tadej Bozicko<BR>E-Mail   : <A 
href="mailto:tadej.bozicko@uni-mb.si">tadej.bozicko@uni-mb.si</A><BR>WWW  : 
<A 
href="http://imola.uni-mb.si/~bozicko">http://imola.uni-mb.si/~bozicko</A><BR>WWW2: 
<A 
href="http://www.uni-mb.si/~uelelt68b">http://www.uni-mb.si/~uelelt68b</A><BR></FONT> </DIV></BODY></HTML>