How to design a waterproof enclosure for machining

Understanding waterproof enclosures

 

Do I need a waterproof enclosure?

 

In some cases, waterproofing isn’t necessary. In others, it’s not enough and what you actually need to design is a watertight enclosure.

 

Waterproof vs. watertight – what’s the difference?

 

To understand the distinction between waterproof and watertight, it can be useful to look at IP ratings. 

IP is the Ingress (or International) Protection Marking System – the generally accepted system for grading the protection against foreign bodies (liquids and solids) of electronic housings.
 

Breaking down IP ratings for enclosures

 

IP ratings consist of two numbers e.g. IP65. The first number denotes the protection against solid foreign bodies (such as dust) and the second number refers to protection against liquids (such as water).

 

The first number ranges from 0 – no protection against solids/dust to 6 – full protection against dust.

 

The second number ranges from 0 - no protection against ingress of water to 8 – protected against submersion for long periods, and 9 – protection against high-pressure, high-temperature water jets.

 

This video gives a good overview of the IP rating system:

Source: youtube

IP Ratings table
 

For reference, here is a breakdown of the IP ratings.

 

IP Rating Number Solids Liquids
0 No protection No protection
1 Protected against objects greater than 50mm diameter (50N of Force) Protected against vertically falling / dripping water
2 Protected against objects greater than 12.5mm diameter (10N of Force) Protected against falling drops of water up to 15-degree angle
3 Protected against objects greater than 2.5mm diameter (3N of Force) Protected against spraying water up to 60-degree angle
4 Protected against objects greater than 1mm diameter (1N of Force) Protected against spraying water from all directions
5 Limited protection against dust Protected against low pressure jetting water
6 No ingress of dust permitted Protected against high pressure jetting water
7 N/A Protected against immersion for up to 30 minutes between 15cm and 1 metre of water depth
8 N/A Protected against water immersion at depths over 1 metre and for long periods
9 N/A Protected against close-range high pressure, high temperature water jets

 

What IP rating is considered waterproof?

 

The IP ratings that are generally considered waterproof are IP65, IP66 and IP67. 

An IP rating of IP68 would be submersion-proof at a depth of over one metre for prolonged periods of time. This would generally not be needed for enclosures that need to be waterproof or weatherproof, only watertight. 

You can find out more information on designing watertight components and enclosures on our blog Machining design tips for marine technology.

 

When is a waterproof enclosure required?

 

The application of your enclosure will determine what level of protection against water, if any, is required. You can use the IP rating system to consider what level of protection is most suitable. 

Certainly, if your electrical enclosure is going to be outside, you would need it to conform to a minimum IP rating of IP65.

This table outlines the liquid ingress protection and the correlating testing method:
 

Liquid ingress protection testing methods

Source: Wikipedia

 

 

The art of CNC machining

 

There are several manufacturing methods that are suitable for waterproof enclosure production including CNC machining – usually CNC milling, 3D printing, injection moulding and sheet metal fabrication. 

If you’re still at the ‘weighing-up’ stage, read our article Which manufacturing method is best for enclosures?

If you’ve decided on CNC machining, you’ll know that it’s great for producing enclosures with superior accuracy and tight tolerances. 

CNC machining enclosure

CNC machining can also be very cost and time-efficient with great repeatability potential. It has a reputation for producing parts of superior quality and is able to offer a wide range of materials. 

If you’re ready to start or even finalise your waterproof enclosure design for CNC machining, you’re in the right place. 

If you’re ready to explore CNC machining suppliers for your enclosure project, here at Penta Precision, we have a highly experienced team of machinists. Find out more about our enclosure machining service.

Download Ultimate Guide Banner Small

Which materials are best for CNC-machined waterproof enclosures?

 

There are several considerations when it comes to material selection for CNC machined waterproof enclosures. The main ones are:

  1. Application – you want to choose a material that is fit for purpose, with all the desired properties around waterproofing as well as any other aspects such as strength, thermal conductivity etc. 
     
  2. Cost and availability – it’s a process of weighing up the desired properties versus the cost and availability of the raw material.
     
  3. Machinability – how fast (or not!) a material can be machined, and what tolerances can be achieved.

It’s a fine balancing act of finding a material that has the properties you desire for the best price and quickest lead time for your waterproof enclosure. 

A material that is tricky to machine could have cost, quality and lead time implications.

 

Cerakorte coated aluminium 6082 T6 enclosure

 

Best materials for weatherproof enclosures

 

Fortunately, there are plenty of options when it comes to waterproof materials for your enclosure. Let’s dive in…

 

Stainless steel

 

Certain grades of stainless steel are highly corrosion resistant as well as other desirable characteristics such as good heat resistance, toughness, and durability. 

The majority of stainless-steel alloys contain 15-20% chromium which oxidises to form a layer of chromium oxide on the surface of the stainless steel. This provides a protective layer against oxygen which would otherwise corrode the steel. 

Stainless steel 304 and 316 are very commonly used grades for waterproof enclosures due to their superior corrosion resistance, with 316 offering slightly better protection thanks to the addition of molybdenum which does make it a little pricier.

 

Aluminium

 

Aluminium is the most common material used for enclosures and generally has excellent corrosion resistance. 

Whilst not as durable as stainless steel, it offers a great strength-to-weight ratio, is highly machinable, and usually cheaper. 

 

CubeSat enclosure component aluminium 7075

 

Unlike other metals, aluminium forms its own protective coating through oxidisation. 

A common finishing treatment for aluminium is anodising which allows the aluminium surface to form thicker layers of aluminium oxide under controlled conditions, giving superior corrosion resistance as well as a more ‘clean’ and aesthetically pleasing finish.

Grades of corrosion-resistant aluminium that we frequently work with are 6082 and 5083.

 

Copper

 

Although less common for enclosures, copper does offer good to excellent corrosion resistance. C101, aka 99.9% pure copper, is widely used in electronics components due to its excellent conductivity. 

Other notable properties include high impact strength, high ductility, and very good thermal conductivity. 

Perhaps the main reason why copper is not at the top of every list for waterproof enclosures is because, relative to other metals, it is considerably more expensive. The price is also known to fluctuate so quotes are generally only valid for one week. 

Another drawback is the challenge it presents to machine which means an experienced machinist is essential.

 

Engineering plastics

 

Plastics have abundant corrosion resistance required for most waterproof enclosures. They are, however, not usually as strong so may not be suitable for all applications. 

Another drawback of plastics are that they are notoriously difficult to machine. You do therefore need to ensure you use an experienced plastics specialist machining company.

One particular plastic that we recommend for machined waterproof enclosures is acetal. This engineering plastic is renowned for being amongst the strongest and stiffest of all thermoplastics. It is also amongst the easiest plastic to machine and is known for its low moisture absorption.

The Acetal Homopolymer brand Delrin® is more expensive than acetal copolymers but does have some properties that make it more suitable for highly regulated industries.

 

Choosing a material


Choosing a material for your waterproof enclosure is possibly the biggest decision you will need to make. We always recommend speaking to an experienced CNC machining company who can help you strike the right balance between required properties, cost and availability of materials and machinability. 
 

Waterproof enclosure design tips

 

When designing an outdoor enclosure for electronics, it’s vital to integrate waterproofing features into the design from the get-go. 

 

In this section, we will take you through our top tips for waterproof enclosure design.
 

Waterproof enclosure seal design

 

The most important feature of a weatherproof enclosure is undoubtedly the seal. The are several approaches you can choose.

 

O-ring seals

 

O-rings are the most common seal design feature. They are circular rings which come in all different sizes. 

When denoting the size, there are two numbers, one for the internal diameter and one for the external diameter. 

 

O-ring seals

Source: Ilja, CC BY-SA 3.0 <http://creativecommons.org/licenses/by-sa/3.0/>, via Wikimedia Commons

There are two types of o-rings, static and dynamic:

 

Static O-ring seal

 

A static o-ring is a good choice where the lid and base of your enclosure will be mated most of the time. 

When designing your enclosure with a static o-ring seal, you’ll need to design a groove where the lid and base will meet and where the o-ring will sit. 

The two variables you’ll need to calculate are the required size of the o-ring and the width of the groove.

To calculate what size o-ring you require, you will need to calculate either the internal diameter (for a round seal) or the internal perimeter (for a non-round seal) of the groove.

Once you have this number, you will be able to choose the o-ring size. 

Please note you will always need a smaller o-ring than the diameter to account for stretch, so you can expect your o-ring internal diameter to be one to five percent smaller than the groove internal diameter for a good tight fit.

For the width of the groove, you can calculate this using the cross-sectional diameter of the o-ring which is based on the tolerance of the surface you’re sealing against. 

For a seal to be achieved, the o-ring will need to be compressed between 10 and 40 percent.

 

Dynamic O-ring seal

 

Dynamic o-rings are very similar to static o-rings but they help to form a seal between moving parts using less compression (10 to 30 percent) and more lubrication. 

Because a dynamic o-ring is continuously moving, you will need to use a tougher material and ensure the surface finish is non-abrasive. 

You will also need to bear in mind that dynamic o-rings will be open to greater wear and tear than static o-rings and therefore more regular checking, maintenance and replacement will be required.

 

Download Ultimate Guide Banner Small

 

Gasket

 

A nitrile or neoprene gasket is another sealing option for waterproof enclosures. Gaskets are most applicable to complex face-to-face seals, particularly with multiple cavities. 

Similarly to o-rings, you will need to consider the compression required for your application and gasket thickness based on the tolerances of the lid and the base. 

Unlike o-rings, gaskets are generally custom made and therefore you can design a gasket to your exact needs.
 

Tight tolerances

 

As you can well imagine, tolerances are key to achieving a waterproof design. 

Effective waterproof enclosure design is about cleverly designed mating parts, perfectly executed. 

Thus, the tighter the tolerance of the mating parts, the higher the protection against the elements.

 

Aluminium nickel bronze enclosure

Good machined surface finish

 

When an enclosure needs to be waterproof or weatherproof, the mating faces and usually the groove should have what we call a ‘good machined’ surface finish of Ra0.8µm or better. This will stop water from getting into the machining marks and getting past the o-ring.
 

Quality procedures for waterproof enclosures

 

When designing your enclosure, it’s a good idea to have several prototyping rounds. 

In the earlier stages, you may choose to use a lower-grade (and therefore cheaper) material. 

At some stage in your prototyping process, you will need to use the exact materials intended for your final enclosure to conduct waterproof testing. 

For best results and certainly if you require an IP rating for your waterproof electronics enclosure, you can use a dedicated IP testing company. They will have the necessary specialist equipment and expertise.

You will want to ensure that IP testing is carried out to the British standard BS EN 60529:1992. For Europe it will need to be IEC standard 60509:1989 and internationally should conform to EN 60529.
 

What finishing processes can be used for waterproof housings?

 

Any finishing processes will rely largely on the material selected. 

 

Anodising

 

Chromic acid anodising, hard anodising and sulphuric acid anodising all give an additional layer of corrosion resistance to aluminium as well as offering other properties such as improving adhesion and bond strength, heat resistance or electrical insulation. 

Anodising is also known for producing a more aesthetically pleasing finished component. 

 

Aluminium soft sulfuric blue anodised enclosure

 

Powder coating

 

Powder coating is a dry finishing process used largely for stainless steel where an electric charge causes a dry powder to fuse to the surface of the metal. It is then cured to achieve the final finish.

Powder-coated stainless steel is highly corrosion-resistant. Powder-coating has the additional benefit of opening up a vast array of colours for your waterproof enclosure.

It is worth noting that powder coating does add thickness to the machined structure so this needs to be factored in when specifying tolerances.