Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Inverting PS_ON levels

    Scheduled Pinned Locked Moved Solved
    Duet Hardware and wiring
    pson inverting
    16
    47
    4.8k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • fmaundefined
      fma
      last edited by

      Could someone check if RC- is the same as GND of the output?

      Nxt-1undefined 1 Reply Last reply Reply Quote 0
      • Nxt-1undefined
        Nxt-1 @fma
        last edited by

        @fma said in Inverting PS_ON levels:

        Could someone check if RC- is the same as GND of the output?

        I measure 193mV between RC- and V- of my HPRG200-24.

        Duet3D and delta printer enthousiast. Buildlog
        Looking for Duet3D configuration support, check out Nxt-3D

        1 Reply Last reply Reply Quote 0
        • tomasfundefined
          tomasf
          last edited by

          I had the same problem and solved it with a simple 7400 NAND gate chip: https://forum.duet3d.com/topic/412/inverting-ps_on

          Nxt-1undefined 2 Replies Last reply Reply Quote 0
          • fmaundefined
            fma
            last edited by

            So, you wired RC- to GROUND?

            1 Reply Last reply Reply Quote 0
            • Nxt-1undefined
              Nxt-1 @tomasf
              last edited by

              @tomasf said in Inverting PS_ON levels:

              I had the same problem and solved it with a simple 7400 NAND gate chip: https://forum.duet3d.com/topic/412/inverting-ps_on

              Mind sketching up a quick diagram?

              Duet3D and delta printer enthousiast. Buildlog
              Looking for Duet3D configuration support, check out Nxt-3D

              1 Reply Last reply Reply Quote 0
              • Nxt-1undefined
                Nxt-1 @fma
                last edited by

                @fma said in Inverting PS_ON levels:

                @nxt-1 said in Inverting PS_ON levels:

                While thinkering with the optocouper, I came to think if there is any good reason to not connect the transistor straight across the RC+ and RC- terminals? As I see it, this would create a short or open based on PS_ON controlling the PSU just as well as a voltage applied. If I am mistaken, please correct me

                Yes, I think this is the way to go.

                I tried it, but I forgot the signal needed to be inverted. As a result, this way it is functional but reversed. I not proficient enough with electronics to know if there is anything I can do to fix this, with the stuff I got laying around.
                0_1558556038259_2019-05-22 22.12.40.jpg

                Duet3D and delta printer enthousiast. Buildlog
                Looking for Duet3D configuration support, check out Nxt-3D

                insertnamehereundefined 1 Reply Last reply Reply Quote 0
                • fmaundefined
                  fma
                  last edited by

                  This post is deleted!
                  1 Reply Last reply Reply Quote 0
                  • insertnamehereundefined
                    insertnamehere @Nxt-1
                    last edited by

                    @nxt-1

                    Sorry, I've not been online to answer earlier.

                    I leave RC- open and just connect to the RC+ input.
                    Are you using the 5V aux from the Meanwell or a separate 5V supply?

                    Nxt-1undefined 1 Reply Last reply Reply Quote 0
                    • insertnamehereundefined
                      insertnamehere @fma
                      last edited by

                      @fma said in Inverting PS_ON levels:

                      @nxt-1 said in Inverting PS_ON levels:

                      While thinkering with the optocouper, I came to think if there is any good reason to not connect the transistor straight across the RC+ and RC- terminals? As I see it, this would create a short or open based on PS_ON controlling the PSU just as well as a voltage applied. If I am mistaken, please correct me

                      Yes, I think this is the way to go.

                      Hmmm.... let me check.

                      TO TURN ON SUPPLY.
                      Duet PS_ON goes to ground to turn on power. PS_ON ground will turn on the opto diode.
                      Opto diode on will cause the transistor to go ~ short. Short on Meanwell RC+ to RC- will turn OFF the Meanwell supply.

                      If you connect emitter/collector of the opto across the RC+ and RC- of the supply this will not invert the PS_ON signal. That is why the emitter resistor is needed.

                      Nxt-1undefined 1 Reply Last reply Reply Quote 0
                      • insertnamehereundefined
                        insertnamehere @Nxt-1
                        last edited by

                        @nxt-1 said in Inverting PS_ON levels:

                        @fma said in Inverting PS_ON levels:

                        @nxt-1 said in Inverting PS_ON levels:

                        While thinkering with the optocouper, I came to think if there is any good reason to not connect the transistor straight across the RC+ and RC- terminals? As I see it, this would create a short or open based on PS_ON controlling the PSU just as well as a voltage applied. If I am mistaken, please correct me

                        Yes, I think this is the way to go.

                        I tried it, but I forgot the signal needed to be inverted. As a result, this way it is functional but reversed. I not proficient enough with electronics to know if there is anything I can do to fix this, with the stuff I got laying around.
                        0_1558556038259_2019-05-22 22.12.40.jpg

                        This will not invert the PS_ON signal. The PS_ON signal from the Duet is a "Ground = On" and the Meanwell is "Open = On". The Emitter resistor inverts the signal.

                        1 Reply Last reply Reply Quote 0
                        • fmaundefined
                          fma
                          last edited by

                          Yes, you're right. You need to use @jv43 config, using 5V from Meanwell. So this only works for this power supply. If the 5V is from another source, and this source turns off, the Meanwell remains ON 😞

                          1 Reply Last reply Reply Quote 0
                          • Nxt-1undefined
                            Nxt-1 @insertnamehere
                            last edited by

                            @insertnamehere said in Inverting PS_ON levels:

                            @nxt-1

                            Sorry, I've not been online to answer earlier.

                            I leave RC- open and just connect to the RC+ input.
                            Are you using the 5V aux from the Meanwell or a separate 5V supply?

                            I am using a separate 5V Meanwell supply.

                            @fma said in Inverting PS_ON levels:

                            Yes, you're right. You need to use @jv43 config, using 5V from Meanwell. So this only works for this power supply. If the 5V is from another source, and this source turns off, the Meanwell remains ON 😞

                            The other 5V supply is permanently on.

                            Duet3D and delta printer enthousiast. Buildlog
                            Looking for Duet3D configuration support, check out Nxt-3D

                            1 Reply Last reply Reply Quote 0
                            • Nxt-1undefined
                              Nxt-1 @insertnamehere
                              last edited by

                              @insertnamehere said in Inverting PS_ON levels:

                              @fma said in Inverting PS_ON levels:

                              @nxt-1 said in Inverting PS_ON levels:

                              While thinkering with the optocouper, I came to think if there is any good reason to not connect the transistor straight across the RC+ and RC- terminals? As I see it, this would create a short or open based on PS_ON controlling the PSU just as well as a voltage applied. If I am mistaken, please correct me

                              Yes, I think this is the way to go.

                              Hmmm.... let me check.

                              TO TURN ON SUPPLY.
                              Duet PS_ON goes to ground to turn on power. PS_ON ground will turn on the opto diode.
                              Opto diode on will cause the transistor to go ~ short. Short on Meanwell RC+ to RC- will turn OFF the Meanwell supply.

                              If you connect emitter/collector of the opto across the RC+ and RC- of the supply this will not invert the PS_ON signal. That is why the emitter resistor is needed.

                              I tried the schematic you posted for your HFG600, that supply needs 2 ~ 5V or Open circuit to power on. In this case the ~3.3V I measured from your circuit is perfect. The HPRG I use needs 4 ~ 10V, to turn on, making the 3.3V insufficient. That is why my earlier test failed I believe.

                              Duet3D and delta printer enthousiast. Buildlog
                              Looking for Duet3D configuration support, check out Nxt-3D

                              1 Reply Last reply Reply Quote 0
                              • fmaundefined
                                fma
                                last edited by

                                Did you connect GND of both power supplies?

                                Nxt-1undefined 1 Reply Last reply Reply Quote 0
                                • Nxt-1undefined
                                  Nxt-1 @fma
                                  last edited by

                                  @fma said in Inverting PS_ON levels:

                                  Did you connect GND of both power supplies?

                                  I did not wire a connection from 5V- to 24V- terminals, however in both supplies the negative rail is connected to ground (mains ground that is) and those are of course wired up. So in a way there is a GND path between both PSU.

                                  https://www.meanwell.com/webapp/product/search.aspx?prod=HRPG-200
                                  https://www.meanwell.com/webapp/product/search.aspx?prod=RS-25

                                  Duet3D and delta printer enthousiast. Buildlog
                                  Looking for Duet3D configuration support, check out Nxt-3D

                                  1 Reply Last reply Reply Quote 0
                                  • Nxt-1undefined
                                    Nxt-1 @tomasf
                                    last edited by

                                    @tomasf said in Inverting PS_ON levels:

                                    I had the same problem and solved it with a simple 7400 NAND gate chip: https://forum.duet3d.com/topic/412/inverting-ps_on

                                    I got myself a couple of 74HC00's to plat with. I assume you you wired your system like this? What value did you use for the pull up?
                                    0_1558975629650_4dcc05cd-fb6c-479a-a2a8-8bd730f549bf-image.png

                                    Duet3D and delta printer enthousiast. Buildlog
                                    Looking for Duet3D configuration support, check out Nxt-3D

                                    Nxt-1undefined 1 Reply Last reply Reply Quote 0
                                    • SWundefined
                                      SW
                                      last edited by

                                      Hy, I have an Meanwell PSPA-1000-24 and removed the bridge from the power supply. Then I connected the contacts "Ground" and "PS_on" to the power supply and connect an small 5V power supply (Jumper 5V ext!). If you switch the ATX-Power on (M80) the "PS_on" is connected to the "Ground".

                                      It works fine!

                                      Nxt-1undefined 1 Reply Last reply Reply Quote 0
                                      • Nxt-1undefined
                                        Nxt-1 @SW
                                        last edited by

                                        @sw said in Inverting PS_ON levels:

                                        PSPA-1000-24

                                        A quick glance at your PSU's datasheet shows that it's RC logic is inverted compared to most Meanwell's, thus making it directly compatible with the Duet.

                                        Duet3D and delta printer enthousiast. Buildlog
                                        Looking for Duet3D configuration support, check out Nxt-3D

                                        1 Reply Last reply Reply Quote 0
                                        • Nxt-1undefined
                                          Nxt-1 @Nxt-1
                                          last edited by

                                          @nxt-1 said in Inverting PS_ON levels:

                                          @tomasf said in Inverting PS_ON levels:

                                          I had the same problem and solved it with a simple 7400 NAND gate chip: https://forum.duet3d.com/topic/412/inverting-ps_on

                                          I got myself a couple of 74HC00's to plat with. I assume you you wired your system like this? What value did you use for the pull up?
                                          0_1558975629650_4dcc05cd-fb6c-479a-a2a8-8bd730f549bf-image.png

                                          I eventually decided to go with a 10K resistor and all seems to work as expected. I will have to get myself a small proto-board and wire things up neatly.

                                          Duet3D and delta printer enthousiast. Buildlog
                                          Looking for Duet3D configuration support, check out Nxt-3D

                                          1 Reply Last reply Reply Quote 0
                                          • Nxt-1undefined
                                            Nxt-1
                                            last edited by Nxt-1

                                            I got wired soldered up the proto-board and decided to use the auxilary 5V from the 24V PSU as I was already using the relevant connector. This results in a layout like below (unused gate input are tied to ground).
                                            The solution is neat and compact, yet as I test it on my machine I find out that the AUXG terminal is not connected to the other grounds (not 240V L-, nor 24V V-). As a result there is to connection between the ground this circuit uses and the ground the duet used for the PS_ON pin. Back to the drawing board I go!
                                            0_1559921867783_2019-06-07 17.30.01.jpg

                                            Duet3D and delta printer enthousiast. Buildlog
                                            Looking for Duet3D configuration support, check out Nxt-3D

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Unless otherwise noted, all forum content is licensed under CC-BY-SA