Duet 3 does not restart
-
@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
-
-
@kvi94 said in Duet 3 does not restart:
@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.
The scheme I normally suggest is similar to yours, except that it uses a DC-AC SSR to switch the incoming mains, and a mains-voltage push button in parallel with it. The config.g file starts with a M80 command to turn on the SSR, so that you only have to hold the push button down for a fraction of a second.
My scheme does of course mean that you have mains voltage wires going to the push button. An alternative would be to use a small 5V standby PSU to power the bed heater power input, and connect the SSR control terminals to the bed heater output. Then you could use a low voltage push button wired between bed heater output negative and ground.
-
@phaedrux yes it is definitely overkill since I didn't know what to look for when sourcing the fans.
However, when they are running the MCU temp does not rise above 30deg, I don't know if that is a good thing or not.
-
@engikeneer noted, thank you for the info.
-
UPDATE
I managed to get my hands on a miniature pcb relay. The fans are now powered by the PSU and duet3 24V always-on activates the relay coil.
It is working as intended now, M999 does not turn off the board.
I am guessing that power drawn from the 24V always-on should not exceed 100mA, as for now I have around 40mA connected.
Thank you everyone for your inputs
-
Hi,
I updated my firmware from 3.2.2 to 3.3 and now M999 does not restart the board, it turns off. I rolled back to 3.2.2 and tried updating again, but I still face the same issue on 3.3.
@dc42 is something missing in firmware 3.3?
Thank you
-
@kvi94 said in Duet 3 does not restart:
I rolled back to 3.2.2 and tried updating again, but I still face the same issue on 3.3.
Do you mean to say that rolling back to 3.2.2 the board still turns off? If that's the case then it doesn't seem related to 3.3 at all?
-
@phaedrux what I meant is I performed the update twice in case it did not update properly the first time.
However, M999 works perfectly on 3.2.2.
-
Would you be able to test 3.4 Beta3 to see if the problem is still there?
https://github.com/Duet3D/RepRapFirmware/releases/tag/3.4.0beta3