Fine tuned spark skip detector help

  • Remousamavi
    24th Mar 2015 Member 0 Permalink

    Hello everyone!

         I'm trying to set up a system to detect slight glitches in wire sparkings. To explain: Since wires conduct sparks every four frames, a generator running at bare-bones low capacity might miss a "beat" and a spark might take longer than four frames to follow up the previous one along the wire. I already have easy to build systems that can detect [i]long[/i] delays, like a whole second or two or several tens of frames, based mostly on semiconductor temperature-based gates, but is there a fine-tuning for this so that it can detect smaller discrepencies?

  • jacksonmj
    24th Mar 2015 Developer 2 Permalink

    Using the WWLD element, you can build an XOR gate (searching saves for "wwld" should produce some examples). This will produce an output when one of the inputs is sparked, if the other input isn't sparked on exactly the same frame. By feeding the generator signal into one input and a delayed version of the signal into the second input, it will produce an output spark when the delay between generator sparks does not exactly match the delay added to the second input.

    There won't be a continuous output during long delays though.

     

     

    Alternatively, continue using semiconductor temperature-based gates, and tune the delay before they start conducting by using more PTCT/NTCT (but still with just 1 pixel of METL), since this will cool down faster.

    Edited 2 times by jacksonmj. Last: 24th Mar 2015
  • Remousamavi
    24th Mar 2015 Member 0 Permalink

    Much thanks to jacksonmj, the WWLD gate idea was the ticket. Note to anyone else who finds this thread: There will be a relay coming out of the output when you turn the generator on and off in addition to the power glitches it picks up.