Duet 3 does not restart
-
@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
-
@kvi94
of course you could also use a small relay.
The V_FUSED can not be switched off, it is the V_IN just with a fuse. (I checked the schematics)Regards Mark,
-
of course you could also use a small relay.
@MdeJong that is great to hear. Do you know approximately what is the max current that can be drawn in order not to disturb a restart(M999) or power failure (M916)? Thank you.
-
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.
@fcwilt yes I have an IEC socket with a built-in switch installed on the input side of my 230vac enclosure additionally I have also installed a RCBO 16A.
Regarding SSR fail closed, I have installed a thermal fuse on my bed heater.
-
@kvi94 Sorry, I do not know that, it is hard to tell.
You can also connect the relay to the output of the SSR instead of the V_FUSED,
then the fans are on as soon as the SSR is switched on,
and the power supply of the Duet 3 is not used,
the Duet 3 will run longer after the SSR is switched of by the reset.You could also connect the fans to the output of the SSR directly, without a relay.
Regards Mark,
-
You can also connect the relay to the output of the SSR instead of the V_FUSED,
then the fans are on as soon as the SSR is switched on,
and the power supply of the Duet 3 is not used,
the Duet 3 will run longer after the SSR is switched of by the reset.You could also connect the fans to the output of the SSR directly, without a relay.
@MdeJong Thank you very much for the suggestions. I did not think about these options. Will try it out and provide an update.
-
@kvi94 said in Duet 3 does not restart:
@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%3D280CFM seems like overkill to me. But I suppose if you've already got them and don't mind the noise.
-
@kvi94 Sorry, I haven't been on for a few days. If you didn't get this...
Since you have 24V running always-on it's quite easy to add a 24V-5V DC converter to your circuit (they're cheap and very reliable). With that converter you can run 5VDC always-on to the 6HC board - which will keep the CPU running, and PS_ON always valid. Then you just need to use M80 and M81 to turn the SSR (and motor power) on and off.
Once M80 and M81 work, it's simple enough to hook the button into one of the 6HC IO inputs and have a script execute when the button is pressed. That script just needs to run M80 - power on.
On my system I just have a 5V power supply running always on and I switch the 24VDC supply on/off at the AC input but you don't have to do that - your always-on 24V works ok.
Does that make sense?
Mark