My microwave seems to overheat and trips the (bimetallic) thermal switch mounted on top of the magnetron lately. It heats for about 5-6 minutes on full power and then I hear a faint click which is different from the normal relay click, and the magnetron/transformer stops buzzing and heating. Everything else continues to work fine (timer, fan, light, turntable rotates) but it stops heating for about 30-40 seconds before the magnetron kicks back in. The magnetron also does not turn back on when I stop the timer and restart it, it only starts heating again after the thermal switch has reset itself. On lower power levels the magnetron does not trip the thermal switch.
I already removed the thermal switch and did a crude test by taping a thermocouple to the metal body and heating it up with a hot air station, making sure to only heat the metal body and not directly on the thermocouple. The markings on the switch indicate 90°C, and I found the switch opens at around 92°C and resets at around 71°C. I don't think the thermal switch is bad given it opens at the correct temperature. There was no significant dust inside the microwave or on the vents and the fan works fine, so I think that is not the issue. I cleaned what was there for good measure, but it still overheats (see attached picture before cleaning).
At first I suspected that it might be the magnetron starting to fail, but since there is also a transformer, fuse and a capacitor which all need to work properly I wondered if one of these might be the reason why it overheats and not the magnetron itself.
Is there a way to measure each of these components to find out if one is misbehaving causing the magnetron to overheat, or is this indeed a sign of a failing magnetron? Like, can a faulty transformer/capacitor/diode cause the microwave to work fine initially but overheat after time, without blowing the fuse or other symptoms? I can find a replacement magnetron, diode and capacitor for a reasonable price, only the transformer isn't.
I know how to safely work on a microwave, I discharge the capacitor with an insulated screwdriver and even keep it shorted with a clip lead before touching anything.