Short circuit detector (autoreverser circuit) using current sensor and switching relayRelay: how to calculate...

Find the closest three-digit hex colour

Merging two data frames into a new one with unique items marked with 1 or 0

Is this house-rule removing the increased effect of cantrips at higher character levels balanced?

My mom helped me cosign a car and now she wants to take it

How can I change my buffer system for protein purification?

Does Swami Vivekananda belong to Shankara parampara?

Which are more efficient in putting out wildfires: planes or helicopters?

ShellExView vs ShellMenuView

Disk usage confusion: 10G missing on Linux home partition on SSD

Why is 'hyper-' considered a prefix, but 'tachy-' is considered a combining form?

What is this fluorinated organic substance?

What is the point of using the kunai?

Is it OK to say "The situation is pregnant with a crisis"?

Polynomial and roots problems

What verb goes with "coup"?

Is it OK to throw pebbles and stones in streams, waterfalls, ponds, etc.?

Bootstrap paradox with a time machine in iron

How can I know (without going to the station) if RATP is offering the Anti Pollution tickets?

Are the plates of a battery really charged?

Sentences with no verb, but an ablative

Why are examinees often not allowed to leave during the start and end of an exam?

Could citing a database like libgen get one into trouble?

Non-inverting amplifier ; Single supply ; Bipolar input

How to know the operations made to calculate the Levenshtein distance between strings?



Short circuit detector (autoreverser circuit) using current sensor and switching relay


Relay: how to calculate the maximum current and switching currentSwitching circuit or relayEnergizing relay using short pulse signalUsing unsuitable relay in transistor switching circuit?Relay Minimum Switching CurrentMax. switching current in relayDark sensor using relayRelay short circuit arc suppressionSwitching relay on and off affects analog sensor output voltageUsing relay for switching DC 24V supply













1












$begingroup$


First of all I’m not electrical engineer. The original idea is described here.



It is a model railroad problem. The rails are carrying a power signal (DCC) 12-18V. The frequency is ~17KHz. It is a square wave signal described here.



The circuit swaps the hi and low rails when the short occurs. This it happens at the gap between two insulated parts of the rail track with the hi and low rails not corresponding. When the train wheel bridges the two unmatched rails we have a short. The reverser has to detect this at a lower level of the boosters amper limit and switch the signal to the rails of the reverse section.



In the original circuit, I replaced the shunt with an ACS712 current detector. I replaced the other parts in the circuit with parts that are available in Ltspice to simulate it. The original circuit checks and the second gap. In my scheme is only the detector for one gap.




  • Will this circuit work?

  • Is the acs712 sensor a good replacement?

  • What are the suitable DIP components?

  • Can I "catch" the output from the 555 with an Arduino and switch the relay?


I have and other thoughts like set the comparator's limits with a potentiometer or from Arduino.



I hope the comments in the Ltspice schematic will help. Any thoughts and critique are welcome. I didn't find a way to attach the ltspice file.



multiple shorts



short circuit detector-auto reverser circuit










share|improve this question









New contributor



Vasilis is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






$endgroup$

















    1












    $begingroup$


    First of all I’m not electrical engineer. The original idea is described here.



    It is a model railroad problem. The rails are carrying a power signal (DCC) 12-18V. The frequency is ~17KHz. It is a square wave signal described here.



    The circuit swaps the hi and low rails when the short occurs. This it happens at the gap between two insulated parts of the rail track with the hi and low rails not corresponding. When the train wheel bridges the two unmatched rails we have a short. The reverser has to detect this at a lower level of the boosters amper limit and switch the signal to the rails of the reverse section.



    In the original circuit, I replaced the shunt with an ACS712 current detector. I replaced the other parts in the circuit with parts that are available in Ltspice to simulate it. The original circuit checks and the second gap. In my scheme is only the detector for one gap.




    • Will this circuit work?

    • Is the acs712 sensor a good replacement?

    • What are the suitable DIP components?

    • Can I "catch" the output from the 555 with an Arduino and switch the relay?


    I have and other thoughts like set the comparator's limits with a potentiometer or from Arduino.



    I hope the comments in the Ltspice schematic will help. Any thoughts and critique are welcome. I didn't find a way to attach the ltspice file.



    multiple shorts



    short circuit detector-auto reverser circuit










    share|improve this question









    New contributor



    Vasilis is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.






    $endgroup$















      1












      1








      1





      $begingroup$


      First of all I’m not electrical engineer. The original idea is described here.



      It is a model railroad problem. The rails are carrying a power signal (DCC) 12-18V. The frequency is ~17KHz. It is a square wave signal described here.



      The circuit swaps the hi and low rails when the short occurs. This it happens at the gap between two insulated parts of the rail track with the hi and low rails not corresponding. When the train wheel bridges the two unmatched rails we have a short. The reverser has to detect this at a lower level of the boosters amper limit and switch the signal to the rails of the reverse section.



      In the original circuit, I replaced the shunt with an ACS712 current detector. I replaced the other parts in the circuit with parts that are available in Ltspice to simulate it. The original circuit checks and the second gap. In my scheme is only the detector for one gap.




      • Will this circuit work?

      • Is the acs712 sensor a good replacement?

      • What are the suitable DIP components?

      • Can I "catch" the output from the 555 with an Arduino and switch the relay?


      I have and other thoughts like set the comparator's limits with a potentiometer or from Arduino.



      I hope the comments in the Ltspice schematic will help. Any thoughts and critique are welcome. I didn't find a way to attach the ltspice file.



      multiple shorts



      short circuit detector-auto reverser circuit










      share|improve this question









      New contributor



      Vasilis is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      $endgroup$




      First of all I’m not electrical engineer. The original idea is described here.



      It is a model railroad problem. The rails are carrying a power signal (DCC) 12-18V. The frequency is ~17KHz. It is a square wave signal described here.



      The circuit swaps the hi and low rails when the short occurs. This it happens at the gap between two insulated parts of the rail track with the hi and low rails not corresponding. When the train wheel bridges the two unmatched rails we have a short. The reverser has to detect this at a lower level of the boosters amper limit and switch the signal to the rails of the reverse section.



      In the original circuit, I replaced the shunt with an ACS712 current detector. I replaced the other parts in the circuit with parts that are available in Ltspice to simulate it. The original circuit checks and the second gap. In my scheme is only the detector for one gap.




      • Will this circuit work?

      • Is the acs712 sensor a good replacement?

      • What are the suitable DIP components?

      • Can I "catch" the output from the 555 with an Arduino and switch the relay?


      I have and other thoughts like set the comparator's limits with a potentiometer or from Arduino.



      I hope the comments in the Ltspice schematic will help. Any thoughts and critique are welcome. I didn't find a way to attach the ltspice file.



      multiple shorts



      short circuit detector-auto reverser circuit







      current sensor relay timer






      share|improve this question









      New contributor



      Vasilis is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      share|improve this question









      New contributor



      Vasilis is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      share|improve this question




      share|improve this question








      edited 7 hours ago









      Dave Tweed

      129k10 gold badges162 silver badges276 bronze badges




      129k10 gold badges162 silver badges276 bronze badges






      New contributor



      Vasilis is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      asked 8 hours ago









      VasilisVasilis

      83 bronze badges




      83 bronze badges




      New contributor



      Vasilis is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




      New contributor




      Vasilis is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.
























          1 Answer
          1






          active

          oldest

          votes


















          3












          $begingroup$


          Will this circuit work?




          Do you have any reason to doubt the simulation? Looks fine to me.




          Is the acs712 sensor a good replacement?




          Sure. The bandwidth is adequate. You just need to pick the correct sensitivity range for your application. (5A, 20A, 30A)




          What are the suitable DIP components?




          We don't do product recommendations here. But your favorite distributor's website (Digi-Key, Mouser, etc.) will be able to help you there.




          Can I "catch" the output from the 555 with an Arduino and switch the relay?




          Sure, no problem.




          I have and other thoughts like set the comparator's limits with a potentiometer or from Arduino.




          Also no problem.



          But if you're going to throw a microcontroller in there anyway, you can simplify the circuit considerably, eliminating the comparators, the 555 and the DFF. Just digitize the output of the current sensor directly (ADC with an adequate sample rate), do all of the logic in firmware, and switch the relay driver as needed.






          share|improve this answer









          $endgroup$
















            Your Answer






            StackExchange.ifUsing("editor", function () {
            return StackExchange.using("schematics", function () {
            StackExchange.schematics.init();
            });
            }, "cicuitlab");

            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "135"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });






            Vasilis is a new contributor. Be nice, and check out our Code of Conduct.










            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2felectronics.stackexchange.com%2fquestions%2f446167%2fshort-circuit-detector-autoreverser-circuit-using-current-sensor-and-switching%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            3












            $begingroup$


            Will this circuit work?




            Do you have any reason to doubt the simulation? Looks fine to me.




            Is the acs712 sensor a good replacement?




            Sure. The bandwidth is adequate. You just need to pick the correct sensitivity range for your application. (5A, 20A, 30A)




            What are the suitable DIP components?




            We don't do product recommendations here. But your favorite distributor's website (Digi-Key, Mouser, etc.) will be able to help you there.




            Can I "catch" the output from the 555 with an Arduino and switch the relay?




            Sure, no problem.




            I have and other thoughts like set the comparator's limits with a potentiometer or from Arduino.




            Also no problem.



            But if you're going to throw a microcontroller in there anyway, you can simplify the circuit considerably, eliminating the comparators, the 555 and the DFF. Just digitize the output of the current sensor directly (ADC with an adequate sample rate), do all of the logic in firmware, and switch the relay driver as needed.






            share|improve this answer









            $endgroup$


















              3












              $begingroup$


              Will this circuit work?




              Do you have any reason to doubt the simulation? Looks fine to me.




              Is the acs712 sensor a good replacement?




              Sure. The bandwidth is adequate. You just need to pick the correct sensitivity range for your application. (5A, 20A, 30A)




              What are the suitable DIP components?




              We don't do product recommendations here. But your favorite distributor's website (Digi-Key, Mouser, etc.) will be able to help you there.




              Can I "catch" the output from the 555 with an Arduino and switch the relay?




              Sure, no problem.




              I have and other thoughts like set the comparator's limits with a potentiometer or from Arduino.




              Also no problem.



              But if you're going to throw a microcontroller in there anyway, you can simplify the circuit considerably, eliminating the comparators, the 555 and the DFF. Just digitize the output of the current sensor directly (ADC with an adequate sample rate), do all of the logic in firmware, and switch the relay driver as needed.






              share|improve this answer









              $endgroup$
















                3












                3








                3





                $begingroup$


                Will this circuit work?




                Do you have any reason to doubt the simulation? Looks fine to me.




                Is the acs712 sensor a good replacement?




                Sure. The bandwidth is adequate. You just need to pick the correct sensitivity range for your application. (5A, 20A, 30A)




                What are the suitable DIP components?




                We don't do product recommendations here. But your favorite distributor's website (Digi-Key, Mouser, etc.) will be able to help you there.




                Can I "catch" the output from the 555 with an Arduino and switch the relay?




                Sure, no problem.




                I have and other thoughts like set the comparator's limits with a potentiometer or from Arduino.




                Also no problem.



                But if you're going to throw a microcontroller in there anyway, you can simplify the circuit considerably, eliminating the comparators, the 555 and the DFF. Just digitize the output of the current sensor directly (ADC with an adequate sample rate), do all of the logic in firmware, and switch the relay driver as needed.






                share|improve this answer









                $endgroup$




                Will this circuit work?




                Do you have any reason to doubt the simulation? Looks fine to me.




                Is the acs712 sensor a good replacement?




                Sure. The bandwidth is adequate. You just need to pick the correct sensitivity range for your application. (5A, 20A, 30A)




                What are the suitable DIP components?




                We don't do product recommendations here. But your favorite distributor's website (Digi-Key, Mouser, etc.) will be able to help you there.




                Can I "catch" the output from the 555 with an Arduino and switch the relay?




                Sure, no problem.




                I have and other thoughts like set the comparator's limits with a potentiometer or from Arduino.




                Also no problem.



                But if you're going to throw a microcontroller in there anyway, you can simplify the circuit considerably, eliminating the comparators, the 555 and the DFF. Just digitize the output of the current sensor directly (ADC with an adequate sample rate), do all of the logic in firmware, and switch the relay driver as needed.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered 6 hours ago









                Dave TweedDave Tweed

                129k10 gold badges162 silver badges276 bronze badges




                129k10 gold badges162 silver badges276 bronze badges






















                    Vasilis is a new contributor. Be nice, and check out our Code of Conduct.










                    draft saved

                    draft discarded


















                    Vasilis is a new contributor. Be nice, and check out our Code of Conduct.













                    Vasilis is a new contributor. Be nice, and check out our Code of Conduct.












                    Vasilis is a new contributor. Be nice, and check out our Code of Conduct.
















                    Thanks for contributing an answer to Electrical Engineering Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    Use MathJax to format equations. MathJax reference.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2felectronics.stackexchange.com%2fquestions%2f446167%2fshort-circuit-detector-autoreverser-circuit-using-current-sensor-and-switching%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

                    Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

                    Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...