<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-2022-jp">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Fantastic ideas, the full wave rectifier is so simple. I dont quite understand how the absolute value circuit works, might have to simulate it.</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Great stuff :)</div>
<div id="appendonsend"></div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<hr style="display: inline-block; width: 98%;">
<div id="divRplyFwdMsg" dir="ltr" class="elementToProof"><span style="font-family: Calibri, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);"><b>From:</b> Synth-diy <synth-diy-bounces@synth-diy.org> on behalf of houshu--- via Synth-diy <synth-diy@synth-diy.org><br>
</span></div>
<div style="direction: ltr; font-family: Calibri, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<b>Sent:</b> Thursday, 3 October 2024 4:26 PM<br>
<b>To:</b> Rutger Vlek <rutgervlek@gmail.com><br>
<b>Cc:</b> SDIY List <Synth-diy@synth-diy.org><br>
<b>Subject:</b> [sdiy] Waveshapers based on Max-min operations (Re: Simple circuit challenge: |a-b|)</div>
<div style="direction: ltr;"> </div>
<div style="font-size: 11pt;">Hello Rutgers and List,<br>
<br>
I designed variations of Max-min based waveshapers, which may be of your<br>
interests.<br>
They are quite simple and quite precise.<br>
<br>
Explanations are in Japanese, but I guess schematics and waveforms are<br>
sufficient information for you.<br>
<br>
Full-Wave Rectifiers (Absolute Value) Based on Max-Min Operation.<br>
<a href="https://understandcircuit.seesaa.net/article/505024372.html" id="OWA6addee0a-0862-a8d4-3e98-0ac99424ac37" class="OWAAutoLink" data-auth="NotApplicable">https://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Funderstandcircuit.seesaa.net%2Farticle%2F505024372.html&data=05%7C02%7C%7C5afc30a132a54417a92408dce3fa480b%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638635911325026475%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=D6%2FNwIyy2e%2BcKTm86K7dGlVJp5cPQQSLsyVZWkgiwic%3D&reserved=0</a><br>
<br>
Single Opamp Wavefolder with Folding Threshold Control.<br>
<a href="https://understandcircuit.seesaa.net/article/505024822.html" id="OWA77bafffd-b67a-c983-e503-954b462c4837" class="OWAAutoLink" data-auth="NotApplicable">https://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Funderstandcircuit.seesaa.net%2Farticle%2F505024822.html&data=05%7C02%7C%7C5afc30a132a54417a92408dce3fa480b%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638635911325039849%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=GgMfNzMVO3lLjpO3EK6jt%2Bea4St%2FIigMid0XJFjJLtM%3D&reserved=0</a><br>
<br>
Wave Multiplier with Folding Threshold Control.<br>
<a href="https://understandcircuit.seesaa.net/article/505024858.html" id="OWAcec9d72f-9593-7be1-55ed-b447e915bfb3" class="OWAAutoLink" data-auth="NotApplicable">https://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Funderstandcircuit.seesaa.net%2Farticle%2F505024858.html&data=05%7C02%7C%7C5afc30a132a54417a92408dce3fa480b%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638635911325047338%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=mIBfUGhoga38%2B5KyCucJjlSWvQV9IzRaI7PuOzD7c3w%3D&reserved=0</a><br>
<br>
Absolute Value of Difference with Single OP Amp.<br>
<a href="https://understandcircuit.seesaa.net/article/503838897.html" id="OWA442f81d7-727f-6de3-9a69-a2f37d28c30c" class="OWAAutoLink" data-auth="NotApplicable">https://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Funderstandcircuit.seesaa.net%2Farticle%2F503838897.html&data=05%7C02%7C%7C5afc30a132a54417a92408dce3fa480b%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638635911325054556%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=Ocnt3Bm8RDHy3yANTgwfhtp99Y8Rj9j2bUjhZ7xoxqc%3D&reserved=0</a><br>
<br>
Best,<br>
Osamu Sam HOSHUYAMA<br>
Kawasaki, JAPAN<br>
<br>
<br>
<br>
------ Original Message ------<br>
$B:9=P?M(B: "Rutger Vlek" <rutgervlek@gmail.com><br>
To: "houshu@muj.biglobe.ne.jp" <houshu@muj.biglobe.ne.jp><br>
Cc: "SDIY List" <Synth-diy@synth-diy.org><br>
$BAw?.:Q$_(B: $B7nMKF|(B, 2024/4/1  19:32<br>
$B7oL>(B: Re: [sdiy] Simple circuit challenge: |a-b|<br>
<br>
Thanks everyone for the suggestions!<br>
<br>
I agree with Roman, the Graetz bridge solution is very elegant, thanks<br>
for sharing Osamu! Will keep you posted on progress with this circuit.<br>
If the prototype works as expected, I'll share the details here on the<br>
list.<br>
<br>
<br>
Rutger<br>
<br>
<br>
Op do 28 mrt 2024 om 03:43 schreef houshu@muj.biglobe.ne.jp<br>
<houshu@muj.biglobe.ne.jp>:<br>
<br>
      Hello Rutger and List,<br>
<br>
Here is my solution.<br>
|a-b| = Max(a,b) - min(a,b).<br>
If output offset is acceptable, we can omit D5, D6, and R7.<br>
Impedance of inputs should be low.  When one of inputs is open, output<br>
is a little distorted.<br>
Sam HOSHUYAMAKawasaki, Japan.<br>
<br>
<br>
<br>
------ Original Message ------<br>
$B:9=P?M(B: "Rutger Vlek via Synth-diy" <synth-diy@synth-diy.org><br>
To: "SDIY List" <Synth-diy@synth-diy.org><br>
$BAw?.:Q$_(B: $B6bMKF|(B, 2024/3/22  04:50<br>
$B7oL>(B: [sdiy] Simple circuit challenge: |a-b|<br>
<br>
Dear list,<br>
<br>
while hobbying on an experimental design, I'm looking for a simple<br>
analog circuit to give me the absolute value of the difference between<br>
two signals (mathematically written as |a-b|).<br>
<br>
<br>
I already have a working circuit, but it's rather big for my needs. It<br>
uses an inverting opamp to invert signal A, followed by a bog-standard<br>
full wave precision rectifier circuit where -A and B are summed together<br>
and being rectified. The total is 3 opamps, 2 diodes and 9 resistors. As<br>
I need to repeat the circuit many times in the final application, I'm<br>
wondering: is there anything simpler that can do this?<br>
<br>
<br>
Requirements:<br>
- working across full audio range<br>
- distortion as consequence of diode drops is no problem (might even be<br>
beneficial!)<br>
<br>
<br>
Many thanks for any suggestions!<br>
<br>
<br>
Regards,<br>
<br>
<br>
Rutger<br>
<br>
  ________________________________________________________<br>
  This is the Synth-diy mailing list<br>
  Submit email to: Synth-diy@synth-diy.org<br>
  View archive at: <a href="https://synth-diy.org/pipermail/synth-diy/" id="OWA9d5647f1-1487-d35b-a3c4-95e9210a1d3c" class="OWAAutoLink" data-auth="NotApplicable">
https://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsynth-diy.org%2Fpipermail%2Fsynth-diy%2F&data=05%7C02%7C%7C5afc30a132a54417a92408dce3fa480b%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638635911325061824%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=dtKRaZZ8gNkYabVrs0sMYJESctTeyDtKzdTeTXbgFW4%3D&reserved=0</a><br>
  Check your settings at:<br>
<a href="https://synth-diy.org/mailman/listinfo/synth-diy" id="OWA1a6c9677-9768-ce74-a4d9-d0cc492acba9" class="OWAAutoLink" data-auth="NotApplicable">https://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsynth-diy.org%2Fmailman%2Flistinfo%2Fsynth-diy&data=05%7C02%7C%7C5afc30a132a54417a92408dce3fa480b%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638635911325068998%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=DONpNK2eLYMLXI4uFYsG%2F1z0dR5zRbUzjXnNRIZYF5c%3D&reserved=0</a><br>
  Selling or trading? Use marketplace@synth-diy.org<br>
<br>
<br>
<br>
<br>
<br>
________________________________________________________<br>
This is the Synth-diy mailing list<br>
Submit email to: Synth-diy@synth-diy.org<br>
View archive at: <a href="https://synth-diy.org/pipermail/synth-diy/" id="OWAccdc6e68-7468-e2d4-0622-b6011b0d7b97" class="OWAAutoLink" data-auth="NotApplicable">
https://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsynth-diy.org%2Fpipermail%2Fsynth-diy%2F&data=05%7C02%7C%7C5afc30a132a54417a92408dce3fa480b%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638635911325076105%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=cLi5I8tDMDUXoX6CzZ1p6t0fSpa39dZVjBcewVNRJ2Q%3D&reserved=0</a><br>
Check your settings at: <a href="https://synth-diy.org/mailman/listinfo/synth-diy" id="OWA7ba73a00-2e02-87f2-dbb6-eb75e39c61aa" class="OWAAutoLink" data-auth="NotApplicable">
https://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsynth-diy.org%2Fmailman%2Flistinfo%2Fsynth-diy&data=05%7C02%7C%7C5afc30a132a54417a92408dce3fa480b%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638635911325083243%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=hCjMvAgXEvO42LFGbde1ez4K91VLeLvH%2BXg6T7icIsk%3D&reserved=0</a><br>
Selling or trading? Use marketplace@synth-diy.org</div>
</body>
</html>