I'll mostly focus on prevention of accidental cold-welding in vacuum of space, but for reference, one of the possible causes for the Galileo high-gain antenna deployment anomaly that was considered (1) was also "Retention of the ribs at the mid-point restraint due to friction, cold welding, or adhesion".
Preventing accidental cold-welding:
- Materials selection: Contact surfaces could either be made of different materials that do not cold-weld, and/or of materials with low contact adhesion (dissimilar metals). Aerospace & Advanced Composites (AAC) publishes Cold Weld Database listing materials combinations and their adhesion in four categories also for fretting and impact contacts.
- Coated surfaces: Selected materials can be coated (painted, anodised, oxidized, chemical film coated,...) to reduce contact adhesion. Coating effectiveness can be reduced through fretting and impact damage.
- Reduce actuator dependency: By reducing number of moving parts, surfaces prone to fretting damage, triboelectric wear and exposure of unprotected materials to cold-welding also reduce in size.
- Secure passive structures: Secure latches, locks, fasteners, and so on to prevent wear and abrasive particle contaminants finding way between other moving parts.
- Cleanliness: Reduce particle and molecular contamination of the assembly to reduce abrasion, wear and corrosion of surface coated materials. Environmental sealing, flushing or purging with inert gases or liquids can be used before deployment, and in some cases also during use.
- Lubrication: Use of specific material surface properties or an applied material between two contacting or moving surfaces in order to reduce friction, wear or adhesion.
- Reduce contact surface: Either by increasing margin between them, reducing surface size altogether, and/or using non-polished finish low contact area surfaces where possible.
- Reduce environmental exposure: Thermally insulate parts exposed to thermal cycling, shield against micrometeorite, radiation damage, stray light induced emissions, electrostatic charge and chemical interaction (e.g. atomic oxygen) that can degrade or damage coating and/or introduce contaminants and expose bare metals prone to cold-welding.
And so on and these are just some of the mitigation techniques that I thought were specific to preventing accidental cold-welding, the list is by no means complete. More specifically, ESA adheres to ECSS Space engineering Mechanisms (ECSS-E-ST-33-01C) that covers this in the section 126.96.36.199.5 Separable contact surfaces (2).
For more general overview of cold-welding in space applications, I suggest reading ESA's Assessment of Cold Welding between Separable Contact Surfaces due to Impact and Fretting under Vacuum (3). From its abstract:
A common failure mode seen during the testing and operation of
spacecraft is termed ‘cold welding’. European laboratories refer to
this as ‘adhesion’, ‘sticking’ or ‘stiction’. This publication is
intended to provide the space community with the most recent
understanding of the phenomenon of ‘cold welding’ in relation to
spacecraft mechanisms with separable contact surfaces. It presents
some basic theory and describes a test method and the required
equipment. Cold welding between two contacting surfaces can occur
under conditions of impact or fretting. These surfaces may be bare
metals, or inorganically or organically coated metals and their
alloys. Standard procedures for quantifying the propensity of
material surface pairs to cold weld to each other are proposed. Of
particular interest will be the contact data of different materials,
which are presented in numerical form and as tables summarising
contacts between materials that can be either recommended or
considered unsuitable for use under vacuum. The data have been
compiled in a database that can be accessed online.
- Galileo High Gain Antenna Deployment Anomaly, Michael R. Johnson, JPL (PDF)
- Space engineering Mechanisms, ECSS Secretariat, ECSS-E-ST-33-01C, 6 March 2009 (PDF)
- Assessment of Cold Welding between Separable Contact Surfaces due to Impact and Fretting under Vacuum, B. D. Dunn, ESA STM-279, November 2009 (PDF)