Duet 3 does not restart
-
@kvi94 I have two Duet3 6HC's that I run and just don't see what you're describing. Can you explain your configuration a bit better? What do you mean by "power control using a SSR and pushbutton switch"? Which specific pin are you saying is 24V always on?
-
@markz with reference to 6HC connector layout link below. On the left side of the reset button, is 24V always-on (GND,VFUSED). 12V always-on is located between output row(7-9) and thermistor inputs.
https://d17kynu4zpq5hy.cloudfront.net/igi/duet3d/33DEuEJZXP16vLbF.huge
Regarding the power control using a SSR and pushbutton, please find below a schematic of my configuration. The input side of the SSR is connected to PSON and GND. Hence, M80 and M81 can be used to control the input power.
Since my pushbutton is LED illuminated, it is wired to the 24V always-on as well.
-
@kvi94 Dumb question for the OP: have you confirmed that your SSR will indeed switch 24VDC? Many/most SSRs are designed to switch AC only, and count on it reversing polarity in order to switch. I'm not sure what it would do if DC is applied to the switching element.
-
@kb58 I precisely bought a dc switching SSR for this matter. The output is rated at 150vdc. Please find the link below.
-
Is there a reason you are trying to switch the DC out from your power supply rather than switch the AC in to the power supply?
Frederick
-
@fcwilt I actually wanted a "solution" in order to perform a safe shutdown of my duet board once a print is over. Hence, adding M81/M81 S1 at the end of a print job gcode will automatically shutdown the board.
-
@kvi94 said in Duet 3 does not restart:
@fcwilt I actually wanted a "solution" in order to perform a safe shutdown of my duet board once a print is over. Hence, adding M81/M81 S1 at the end of a print job gcode will automatically shutdown the board.
That doesn't explain why you are trying to control the DC out from the power supply when you could control the AC in to the power supply.
Frederick
-
@kvi94 Hello, This issue is that when you execute the M999 command the board switches of, right?
If you press push button, will it power up then?The problem is, that due to the reset, the SSR is switched off (PS_ON is off), and will not be switched on again.
I think that the output from the pson is not active after reset.Regards Mark,
-
@fcwilt I do understand your point, that is totally correct.
To be more explicit about my configuration, I have split my system in two enclosures which are 50cm apart. One contains all my 230vac components (PSU and BED SSR) and second enclosure contains 24vdc components (Duet 6HC and 24vdc SSR). To simplify wiring, troubleshooting and keep the machine safe as possible I have decided to control 24vdc rather than 230vac. Additionally, I have no issues if the PSU is running for long hours, considering the price of a brand new PSU vs a brand new Duet.
-
@mdejong yes correct, upon execution of M999 is switches off and when I press the push button is it on again.
But what is actually troubling me is when I disconnect the two fans from the 24vdc always-on connector and perform M999 the board restarts by itself without me pressing the push button (it is like the SSR and push button is absent).
So I am guessing that the fans are power hungry and hence there is not enough power reserve for the duet to restart.
I am also concerned that it might affect M916, in case of power failure the board might not be able to save required data.
Thus, why I turned towards the community and developers to confirm if it is a normal behaviour of the board and if anyone here has some simple ideas of how I can solve this issue.
-
@kvi94 said in Duet 3 does not restart:
I have two enclosure fans rated at 9.2W
Do you have the specs on the fans? Those seem pretty beefy.
-
@kvi94 said in Duet 3 does not restart:
@fcwilt I do understand your point, that is totally correct.
To be more explicit about my configuration, I have split my system in two enclosures which are 50cm apart. One contains all my 230vac components (PSU and BED SSR) and second enclosure contains 24vdc components (Duet 6HC and 24vdc SSR). To simplify wiring, troubleshooting and keep the machine safe as possible I have decided to control 24vdc rather than 230vac. Additionally, I have no issues if the PSU is running for long hours, considering the price of a brand new PSU vs a brand new Duet.
OK I think I understand.
But regards safety do you have a way to turn off the power to the AC devices like the BED SSR?
SSR device tend to fail "shorted" meaning power will always be applied to the BED unless you have a way to turn off the incoming AC power.
All my printers are connected to a network controllable outlet box with which I can kill the AC power to and or all of my printers.
Frederick
-
@kvi94 What if you connect the fans directly to the 24 volt and not through the Duet.
or use an mosfet to switch on the fans, the power supply for the fan connect before the SSR and the
always on the control the mosfet.It could be that the Duet3 power supply is drained to fast due to the fans power consumption,
due to the reset the PS_ON will be switch of, at start-up it is switch on again,
but if the cpu power supply get to low the cpu will stop (switch off)I hope the description is understandable.
Regards Mark,
-
@kvi94 I have trouble understanding how PS_ON will work in this environment. The PS_ON control voltage is generated by the CPU, but the board CPU power is coming from the device switched by the PS_On pin which seems circular to me. How does that tie into the pushbutton switch?
Is this a correct summary of your intent?
- Support M80 and M81 for power on/off using the ps_on pin.
- Keep the 24V fans on all the time when power is supplied.
- Use the pushbutton switch to do what?
Looking at the schematic (not too carefully) I don't see how a fan load would substantially affect the ability to reset since afaik the 24v pin you're using is straight from the power supply and a fuse.
Concerning your setup, I applaud the AC/DC isolation but running the PS_ON pin/pair (shielded) from the CPU over to a 230vac SSR won't have any real noise issues. If I were you in this setup I'd put in a cheap (like $2) 24-5V DC converter for use as an always-on CPU supply (external 5V) and then PS_ON is going to work the way you want.
Maybe I'm overthinking this and if so I apologize.
Mark
-
This post is deleted! -
My post was marked as spam by aksimet.com therefore with picture
Regards Mark,
-
@mdejong Very clear. Thanks.
I'd still vote for a simple 24->5 converter that provides external always-on 5V. The switch could be tied into a script that runs M80.
-
@phaedrux indeed they are and rather noisy as well. I got them online and based my purchase solely on the rated current so as not to exceed the duet 3 spec.
The link below is the model I got.
https://eu.mouser.com/ProductDetail/Sunon/EEC0382B1-000U-A99?qs=FESYatJ8odKqhYoK6uN3%2FQ%3D%3D -
It could be that the Duet3 power supply is drained to fast due to the fans power consumption,
due to the reset the PS_ON will be switch of, at start-up it is switch on again,
but if the cpu power supply get to low the cpu will stop (switch off)@MdeJong I guess you got that right. How about a relay instead of mosfet switch? In my case, a relay would be easier to source locally.
I was wondering if it is possible to tweak the firmware, to stop V_FUSED before executing a M999. I do not really know the circuitry, just brainstorming on possible solutions.
-
@markz I would be really grateful if you could please provide more details about this setup, I did not really grasp the idea. Thank you