prusa3d / MM-control-01

MMU 3-axis stepper control
GNU General Public License v3.0
92 stars 104 forks source link

1.0.6 - 10 Flashing light fix #167

Open vertigo235 opened 4 years ago

vertigo235 commented 4 years ago

After installing 1.0.6 I started getting the 10 flashing light fix pretty regularly. It appears this is some sort of voltage drop detection.

Reviewed the changes and noticed that the currents were changed pretty significantly in 1.0.6 so I decided to drop them down. I did also increase the homing current a little.

This seems to have fully resolved the flashing light issue for me and at least two other community members have verified the fix. I will leave their names anonymous as to not risk voiding their warranties due to using non official firmware.

workinghard commented 4 years ago

Do we have really now be careful not voiding our warranties just because we are trying to make the product better? Do you had a chance to see when exactly flashing is happening? Which printer are you using MK2.5 or MK3?

vertigo235 commented 4 years ago

I don't know @workinghard , I'm just following the spirit of the new changes from Prusa, unofficial firmware voids your warranty. I accept this, but want to make sure others are aware as well.

vertigo235 commented 4 years ago

I have submitted this pull request so this fix can be merged into the official release so that nobody has to worry about that.

workinghard commented 4 years ago

@vertigo235 We had more issues with MK2.5+MMU2 in the past that‘s why I‘m asking for the printers used. Regarding the warranty, yes. Seeing the consequences because of this step so early and on github makes me sad.

vertigo235 commented 4 years ago

Also there will be some sort of developer program to allow folks to improve the product without risking their warranty, but there is no details about that yet.

ajax122-bot commented 4 years ago

Hey, This might sound like a stupid question.But how do I flash this into my MMU. I'm also having this issue even after calibating finda and IR it randomly starts flashing after an unload. Just wanted to know how to implement this. Thanks

workinghard commented 4 years ago

@ajax122-bot As this fix is not merged into the main branch, you can check out the one from vertigo235 (https://github.com/vertigo235/MM-control-01/tree/flashing_light_fix), compile it and flash to your MMU2.

vertigo235 commented 4 years ago

I started experiencing the issue again I think that it might be exasperated at the least by crappy connectors , wiggling the connections on the back of the MMU2S seems to help for a bit. I am thinking about crimping some new molex connectors.

ajax122-bot commented 4 years ago

I flashed this into my mmu. Still got it randomly in between prints but the frequency of it happening has reduced significantly. Really at a loss as of why it’s happening. Maybe it’s the wires or something . So frustrating at times!

vertigo235 commented 4 years ago

Yeah, I think this helps but I believe it's really just crappy connectors. I know some folks that got a new wiring harness for their MMU2S and that resolved it.

chriswal commented 4 years ago

Hi, I think reducing the current will only mask the problem. Do your drivers get hot when the mmu is in standstill? Mine reached 80degrees celsius. so when they are moving they more hot, and i think then we have an over temperature error. thats why lowering the current works. but the current in standstill should not be that high. so i found that in the tmc 2130 datasheet. grafik so i changed the blanking time (TBL) from 2 first to 1 ( from 80degrees to about 60) and the to 0 (about 45 degrees) in tmc2130.c

int8_t tmc2130_setup_chopper(uint8_t axis, uint8_t mres, uint8_t current_h, uint8_t current_r) { uint8_t intpol = 1; uint8_t toff = 3; // toff = 3 (fchop = 27.778kHz) uint8_t hstrt = 5; //initial 4, modified to 5 uint8_t hend = 1; uint8_t fd3 = 0; uint8_t rndtf = 0; //random off time uint8_t chm = 0; //spreadCycle uint8_t tbl = 0; //blanking time if (current_r <= 31)

this fix is only for stealth mode (where the problems happens)

if the blinking light problem is also in normal mode then there is a different error.

vertigo235 commented 4 years ago

@chriswal I think you are right, still get the issue occasionally, I will try your change

chriswal commented 4 years ago

There is definitly also a problem with the 5V to the Motor Drivers. I had blinking LEDs today every time i moved the supply connector. When i reseated it it disappeared. So I took a look at the 5V for the Drivers. there is a diode in lowering the range about 0.2V (min4.75-max5.25V) 5V +-5% (min4.95-max5.45) with diode 4.95 as minimum Voltage is really close to 5V grafik

so when we have a perfect power supply on the mk3s with 5V we have to subtract 0.2V for the Diode then we are at 4.8V with 4.6 as maximum in the threshold there is only 0.2V room

there is definite room to improve on this curcuit ;-)

petrubecheru commented 1 year ago

voltage drop is probably related to https://github.com/prusa3d/MM-control-2.0/issues/15