Solved Heaters turn ON when powering ON or restarting Duet 3
-
@HeidiH said in Heaters turn ON when powering ON or restarting Duet 3:
3.5.0-rc.4
Please update to 3.5.1 now that it is available and see if you still get the same behaviour? Upload this zip file to DWC. https://github.com/Duet3D/RepRapFirmware/releases/download/3.5.1/Duet2and3Firmware-3.5.1.zip
Do the LEDs on the heater outputs light up on the board?
-
@Phaedrux Hi, thanks for your help.
I upgraded my firmware and web interface to 3.5.1. and it didn't help with this problem. Also, at start-up each led of those high current outputs (OUT 1 to OUT 3) are turned on. OUT 2 is connected with a servo, and OUT 1 and OUT 3 with by above mentioned heaters 1 and 2. Actually, I noticed from my Panel Due that it gives a warning that my heater 2 is expected to experience overheating problem.
I was thinking, if this problem could require some electrical isolation for example with relays?
I would have also another question related to configuring heaters: As my sensor could detach from the board and initiate error or wrong temperature reading for the heater and trigger unwanted excess heating, I would like to prevent this by determining the minimum temperature that I allow for the heater. Can I program it using M143 command? Like here:
M143 H1 P1 S0 A0 C1 ; Minimum allowed temperature for heater is is 0C degrees, which initiates heater fault and heater truning off
BR; Heidi
-
@HeidiH You have the output pins for your heaters set to be inverted:
M950 H1 C"!out1" Q10 T1 M950 H2 C"!out3" Q10 T2
Is that correct? What sort of heaters are you using?
-
@gloomyandy Thank you for your reply and notification. Yes, we have configured inverted our cartridge and pressurized air heaters, powered with DC-AC solid state relays (IN: 3-32VDC or 5-24VDC OUT: 24-280VAC), because if they were non-inverted then they would turn ON at start-up when powering ON the Duet 3 6HC board. We have connected the positive wires of the heaters to the out1 and out3, and the negative wires to the GND of board.
When I measured also with a multimeter and saw a short-term -0.040VDC voltage at the start-up of the board, which then dropped.
BR, Heidi
-
@HeidiH That sounds like a very unusual way to connect a heater. I think it would help if you post a picture showing how you have things wired up.
-
@gloomyandy thank you for your help, I appreciate it. I tried to draw a connection diagram of another of the heaters, and both are connected similarly. Hopefully it is ok, and please, ask further questions if that is unclear and I try to specify it better.
I am not so familiar with electric connection drawings after my school, and my colleague who did the connections is now on vacation.
-
@HeidiH That is not the normal way to wire a SSR to a Duet board. The usual way would be to have OUT1 to "SSR-" and to have "SSR+" connected to the adjacent V_FUSED connection on the same header. On the Duet boards the high power outputs switch the negative supply. With this wiring it should not be necessary to invert the out1 pin in your configuration. If you are not familiar with the reason for your current wiring perhaps you should wait and consult with your colleague before making any changes. You may also want to wait for @dc42 or one of the other Duet folks to confirm this @Phaedrux @droftarts information.
<img src="blob:chrome-untrusted://media-app/0ee799ce-46a3-400d-ae35-1d6c25abbc59" alt="Screenshot 2024-06-03 11.36.10.png"/>
-
-
@gloomyandy Hi, great! Thank you for your excellent reply, I think we will correct our wiring accordingly, but first I will wait my colleague to come back from holiday. When we have tested this, I will let you know if we managed to get rid of the problem.
With best wishes, Heidi
-
@HeidiH @gloomyandy is correct, your SSR wiring is wrong. As he says, the OUT headers are switched on the ground side, because MOSFETs (that do the switching) need to be after the load (ie the heater). So the out1 pin switches to GND, not positive voltage. I'm somewhat surprised it worked at all, as you effectively had GND on both inputs of the SSR. Maybe there was enough residual current to trigger the SSR.
Make sure your SSR can cope with the V_FUSED voltage, ie the VIN voltage, probably 24V. If it can't, you can either wire +5V to the SSR+ input, and still use out1 for the SSR- input, or use an IO header to switch the SSR.
Ian
-
@droftarts @gloomyandy @Phaedrux Hi, now we have made your instructed corrections and the above problem with heaters were solved. Thank you for these excellent guidance and support.
I still got one question in mind, related to my earlier problem with my heaters, when I had them wired in an old way and when wiring like now. I had a few cases with the old wiring, when I either did not have the Pt100 temperature sensor connected to the board or my firmware crashed because of my written lines on the configuration file related to the global variables at that time. With the first case I got a heater fault warning and a comment on n/a as the temperature on the web interface, while with the latter case the firmware was not responsive. In both cases, both of my heaters turned on (even without setting-up any input for them), which is not desired.
Was these above events because I had my heaters wired and configured in a wrong manner, and does the above change avoid this risk? I had also my heater fault detection set with M143 as described below but it wasn't able to avoid this unwanted heating:
M143 H1 P0 S300 A0 M143 H2 P0 S180 A0
Also, should I have my allowed lowest temperatures be configured with M143, and not only the maxima? Unfortunately I don't figure it out what does the monitor number mean (P in above commands)? Is it somewhat related to the H term?
I also tried to read about these issues from: https://docs.duet3d.com/en/User_manual/Troubleshooting/Heater_faults, but based on that I assume the firmware should automatically detect at least bad wiring issues?
My firmware is: 3.5.1.
BR, Heidi
-
-
@droftarts Hi, I am sorry, but I edited my above post after you had marked it solved, based on my comment. However, I noticed another questions related to heater fault detection. Could you answer those still? Thanks in advance. BR, Heidi
-
@HeidiH said in Heaters turn ON when powering ON or restarting Duet 3:
I think these are the questions you want answering?
With the first case I got a heater fault warning and a comment on n/a as the temperature on the web interface
This was probably a configuration error, and the heater has been defined with no temperature sensor.
while with the latter case the firmware was not responsive. In both cases, both of my heaters turned on (even without setting-up any input for them), which is not desired.
I think the configuration with the output pins inverted, along with the wiring issue with the SSR, caused this.
Was these above events because I had my heaters wired and configured in a wrong manner, and does the above change avoid this risk?
Yes, I think so. The default state of the heater should now be off.
I had also my heater fault detection set with M143 as described below but it wasn't able to avoid this unwanted heating:
M143 H1 P0 S300 A0
M143 H2 P0 S180 A0If the logic to turn on and off the heater is reversed, when the firmware tries to turn off the heater (either because it reaches temperature, or there is a fault) it will actually turn the heater on! It doesn't 'know' what is happening or why, just that the temperature is not what is expected.
By 'what is expected', the firmware has a model of how the heater responds, which is created by running M303 heater tuning, and configured by M307 in config.g.
Also, should I have my allowed lowest temperatures be configured with M143, and not only the maxima? Unfortunately I don't figure it out what does the monitor number mean (P in above commands)? Is it somewhat related to the H term?
Generally, you set basic maximum temperature limits with M143. It is possible to set minimum temperatures too, just it is usually not very useful. The H term is used to define which heater has this limit. You can set up to three M143 commands per heater using the P command, and use the A and C parameters to define different actions at different temperatures. For example:
M143 P0 H2 S180 C0 A0 ; Heater 2 temperature too high, generate heater fault M143 P1 H2 S200 C0 A3 ; Heater 2 temperature too high, shut down printer M143 P2 H2 P2 S10 C1 A0 ; Heater 2 temperature too low (below 10C), generate heater fault
Use M570 to configure how accurately you want to maintain the set temperature.
I also tried to read about these issues from: https://docs.duet3d.com/en/User_manual/Troubleshooting/Heater_faults, but based on that I assume the firmware should automatically detect at least bad wiring issues?
It can't automatically detect bad wiring issues, it just tells you when the input (ie turning the heater on and off) doesn't match the predicted output (temperature increase/decrease). This may be because of bad wiring, but it can't tell that is the issue, just that there is something unexpected.
Ian