<div dir="auto">Hi JP<div dir="auto"><br></div><div dir="auto">I should have been clearer earlier on so I've attached a scribbled image of my idea.</div><div dir="auto">There's no need to invert one of the signals. You just need to get nice linear values from 2 sensors and put them into a differential amplifier. This will give you a DC value that will tell you the position error and you can use it to drive the correction mechanism.</div><div dir="auto">Obviously, if the signal from the two sensors are equal, then the paper is perfectly centred.</div><div dir="auto"><br></div><div dir="auto">I hope this helps.</div><div dir="auto"><br></div><div dir="auto">Best wishes </div><div dir="auto"><br></div><div dir="auto">Gerry</div><div dir="auto"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, 9 Apr 2023, 17:24 Jean-Pierre Desrochers, <<a href="mailto:jpdesroc@oricom.ca" target="_blank" rel="noreferrer">jpdesroc@oricom.ca</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="FR-CA" link="blue" vlink="purple" style="word-wrap:break-word"><div><p><u></u> <u></u></p><p><span lang="EN-CA">Very good idea.<u></u><u></u></span></p><p><span lang="EN-CA">If I understand correctly their would be 2 sensors close to each other<u></u><u></u></span></p><p><span lang="EN-CA">but set a little apart from each ones. (But on one of the two paper sides only)<u></u><u></u></span></p><p><span lang="EN-CA">If so there would be some kind of detected ‘notch’ or ‘peak’<u></u><u></u></span></p><p><span lang="EN-CA">to tell the paper is correctly placed right ?<u></u><u></u></span></p><p><span lang="EN-CA">But when this peak or notch disappears how can I know which direction to move the paper<u></u><u></u></span></p><p><span lang="EN-CA">and correct its position ?<u></u><u></u></span></p><p><span lang="EN-CA">I would need the same tandem on the other paper edge.. ?<u></u><u></u></span></p><p><span lang="EN-CA"><u></u> <u></u></span></p><p><span lang="EN-CA"><u></u> <u></u></span></p><p><span lang="EN-CA">******************************************************************************<u></u><u></u></span></p><p>De : Synth-diy <mailto:<a href="mailto:synth-diy-bounces@synth-diy.org" rel="noreferrer noreferrer" target="_blank">synth-diy-bounces@synth-diy.org</a>> De la part de Gerry Murray via Synth-diy<u></u><u></u></p><p>Envoyé : 9 avril 2023 11:20<u></u><u></u></p><p>À : mailto:<a href="mailto:synth-diy@synth-diy.org" rel="noreferrer noreferrer" target="_blank">synth-diy@synth-diy.org</a><u></u><u></u></p><p><span lang="EN-CA">Objet : Re: [sdiy] My Player piano roll project... refining my design<u></u><u></u></span></p><p><span lang="EN-CA"><u></u> <u></u></span></p><p><span lang="EN-CA">Hi JP<u></u><u></u></span></p><p><span lang="EN-CA"><u></u> <u></u></span></p><p><span lang="EN-CA">I would recommend two of these sensors operated in linear mode, with a small difference in their physical position and invert the signal from one of them.<u></u><u></u></span></p><p><span lang="EN-CA">From these two signals you would get a 'detent' differential signal that would tell you the lateral error and allow you to adjust the horizontal position of the paper more accurately.<u></u><u></u></span></p><p><span lang="EN-CA"><u></u> <u></u></span></p><p><span lang="EN-CA">Best wishes<u></u><u></u></span></p><p><span lang="EN-CA"><u></u> <u></u></span></p><p><span lang="EN-CA">Gerry<u></u><u></u></span></p><p><span lang="EN-CA"><u></u> <u></u></span></p><p><span lang="EN-CA">On 09/04/2023 16:09, Jean-Pierre Desrochers wrote:<u></u><u></u></span></p><p><span lang="EN-CA">Hi all again,<u></u><u></u></span></p><p><span lang="EN-CA">I’m still trying to refine my design and working on<u></u><u></u></span></p><p><span lang="EN-CA">the paper centering process circuit.<u></u><u></u></span></p><p><span lang="EN-CA">So far I’m using the tracker bar edge’s holes to detect<u></u><u></u></span></p><p><span lang="EN-CA">left/right paper movements while playing the rolls.<u></u><u></u></span></p><p><span lang="EN-CA">Those who are at the paper’s edge sides. <u></u><u></u></span></p><p><span lang="EN-CA">The system works pretty well <u></u><u></u></span></p><p><span lang="EN-CA">but still some rolls lacks of centering correction.<u></u><u></u></span></p><p><span lang="EN-CA">SO I want to do some tests using Photointerrupters - Slot Type – with open collector Outputs.<u></u><u></u></span></p><p><span lang="EN-CA">Like those types:<u></u><u></u></span></p><p><span lang="EN-CA"><u></u> <u></u></span></p><p><span lang="EN-CA"> <u></u><u></u></span></p><p><span lang="EN-CA">I’m trying to select the best accurate one to detect paper edges<u></u><u></u></span></p><p><span lang="EN-CA">not the overall paper cutting the IR beam..<u></u><u></u></span></p><p><span lang="EN-CA">Any idea of the best specifications to pick one ?<u></u><u></u></span></p><p><span lang="EN-CA"> <u></u><u></u></span></p><p><span lang="EN-CA"> <u></u><u></u></span></p><p>De : Synth-diy mailto:<a href="mailto:synth-diy-bounces@synth-diy.org" rel="noreferrer noreferrer" target="_blank">synth-diy-bounces@synth-diy.org</a> De la part de Jean-Pierre Desrochers<u></u><u></u></p><p>Envoyé : 23 février 2023 17:31<u></u><u></u></p><p>À : mailto:<a href="mailto:Synth-diy@synth-diy.org" rel="noreferrer noreferrer" target="_blank">Synth-diy@synth-diy.org</a><u></u><u></u></p><p><span lang="EN-CA">Objet : [sdiy] My Player piano roll project... a small video demo for you..<u></u><u></u></span></p><p><span lang="EN-CA">Importance : Faible<u></u><u></u></span></p><p><span lang="EN-CA"> <u></u><u></u></span></p><p><span lang="EN-CA">I’m not done yet with this project but this is promissing..<u></u><u></u></span></p><p><span lang="EN-CA"> <u></u><u></u></span></p><p><span lang="EN-CA"><a href="https://www.youtube.com/watch?v=K7xXYqCB0AY" rel="noreferrer noreferrer" target="_blank">https://www.youtube.com/watch?v=K7xXYqCB0AY</a><u></u><u></u></span></p><p><span lang="EN-CA"> <u></u><u></u></span></p><p><span lang="EN-CA">I let the piano roll play its song while filming.. around 4:00 duration.<u></u><u></u></span></p><p><span lang="EN-CA">Enjoy !<u></u><u></u></span></p><p><span lang="EN-CA"> <u></u><u></u></span></p><p><span lang="EN-CA"><u></u> <u></u></span></p><p><span lang="EN-CA">_______________________________________________<u></u><u></u></span></p><p><span lang="EN-CA">Synth-diy mailing list<u></u><u></u></span></p><p><span lang="EN-CA">mailto:<a href="mailto:Synth-diy@synth-diy.org" rel="noreferrer noreferrer" target="_blank">Synth-diy@synth-diy.org</a><u></u><u></u></span></p><p><span lang="EN-CA"><a href="http://synth-diy.org/mailman/listinfo/synth-diy" rel="noreferrer noreferrer" target="_blank">http://synth-diy.org/mailman/listinfo/synth-diy</a><u></u><u></u></span></p><p><span lang="EN-CA">Selling or trading? Use mailto:<a href="mailto:marketplace@synth-diy.org" rel="noreferrer noreferrer" target="_blank">marketplace@synth-diy.org</a><u></u><u></u></span></p><p><span lang="EN-CA"><u></u> <u></u></span></p></div></div>_______________________________________________<br>
Synth-diy mailing list<br>
<a href="mailto:Synth-diy@synth-diy.org" rel="noreferrer noreferrer" target="_blank">Synth-diy@synth-diy.org</a><br>
<a href="http://synth-diy.org/mailman/listinfo/synth-diy" rel="noreferrer noreferrer noreferrer" target="_blank">http://synth-diy.org/mailman/listinfo/synth-diy</a><br>
Selling or trading? Use <a href="mailto:marketplace@synth-diy.org" rel="noreferrer noreferrer" target="_blank">marketplace@synth-diy.org</a><br>
</blockquote></div>