dskids
Veteran
Hey all
Magnetic cubes are getting pretty popular now, and for good reason - they are great.
I recently magnetized my Valk 3 with N35 4mm x 2mm magnets and I consider it a great success (credit: DMCubing youtube tutorial). The cube is even better than before and the improvement to stability and tactile feedback without the introduction of more friction is tremendous. I feel that this particular arrangement provides an ideal amount of magnetic force, i.e. any stronger or weaker and the effect wouldn't be nearly as pleasant.
This got me thinking: How can I find a systematic approach to selection of magnets for different cubes, so that I can replicate the same feeling as my Valk for cubes of different sizes, plastics, and space constraints, with as little trial and error as possible? After some number crunching I believe I have formed the basis for such a method.
Disclaimer: While the math all works out, this approach is still hypothetical and your mileage may vary. I will be "testing" this theory with a few upcoming magnetic cube projects, but proceed at your own risk.
Assumptions:
The Math:
The normal force between two magnets (the direct pull force that attracts the faces toward each other) can be approximated by the following:
Where:
Fn = normal force in Newtons
N = Max Energy Product or "Grade" of magnet (i.e. 35 for N35, 52 for N52, etc)
d = diameter of magnet in mm
t = thickness of magnet in mm
r = the distance between the faces of the magnets (edge piece wall thickness + corner piece wall thickness, generally) in mm
Then the shear force and torque are approximated by:
Where:
Fs = shear force in a pair of magnets in Newtons
Fst = total shear force for a layer in Newtons
n = number of magnets in the plane of rotation for a given layer (typically 4 for a 3x3)
T = magnetic torque for a layer in N-mm
R = distance from axis of rotation to the center of a magnet in the plane of rotation in mm
The Method:
Magnetic cubes are getting pretty popular now, and for good reason - they are great.
I recently magnetized my Valk 3 with N35 4mm x 2mm magnets and I consider it a great success (credit: DMCubing youtube tutorial). The cube is even better than before and the improvement to stability and tactile feedback without the introduction of more friction is tremendous. I feel that this particular arrangement provides an ideal amount of magnetic force, i.e. any stronger or weaker and the effect wouldn't be nearly as pleasant.
This got me thinking: How can I find a systematic approach to selection of magnets for different cubes, so that I can replicate the same feeling as my Valk for cubes of different sizes, plastics, and space constraints, with as little trial and error as possible? After some number crunching I believe I have formed the basis for such a method.
Disclaimer: While the math all works out, this approach is still hypothetical and your mileage may vary. I will be "testing" this theory with a few upcoming magnetic cube projects, but proceed at your own risk.
Assumptions:
- The magnetic force that we "feel" when turning the cube is the shear force of two magnets being drawn across each other. More specifically, the feeling is the torque due to this shear force acting at a certain distance from the axis of rotation.
- Various plastics and sticker vinyl all have a relative magnetic permeability of approx 1.0
- The shear force can be approximated as one half of the normal force between the two magnets (source: K&J Magnetics)
The Math:
The normal force between two magnets (the direct pull force that attracts the faces toward each other) can be approximated by the following:
[1] Fn = 0.01 * N * d * t * e^(-1.9 * r^0.7)
Where:
Fn = normal force in Newtons
N = Max Energy Product or "Grade" of magnet (i.e. 35 for N35, 52 for N52, etc)
d = diameter of magnet in mm
t = thickness of magnet in mm
r = the distance between the faces of the magnets (edge piece wall thickness + corner piece wall thickness, generally) in mm
Then the shear force and torque are approximated by:
[2] Fs = 0.5 * Fn
and[3] Fst = Fs * n
[4] T = Fst * R
Where:
Fs = shear force in a pair of magnets in Newtons
Fst = total shear force for a layer in Newtons
n = number of magnets in the plane of rotation for a given layer (typically 4 for a 3x3)
T = magnetic torque for a layer in N-mm
R = distance from axis of rotation to the center of a magnet in the plane of rotation in mm
The Method:
- Start with a magnetized cube you already enjoy with a feeling you wish to replicate
- Use the formulas above to determine the magnetic layer torque value, T, for that cube
- Then take measurements from the cube you wish to magnetize to determine values r and R
- Then using the same value of T, but the new values of r, R, and n (if applicable) apply the formulas in reverse to determine the Fn required for the new cube
- Plug in different values of N, d, and t to determine which size and strength of magnet gives the desired Fn
- Note 1: Formula [1] is more accurate when the magnet diameter, d, is larger than the thickness, t. The typical case of d = 2 * t (as is the case for 4x2, 3x1.5, etc) gives good accuracy.
- Note 2: I "reverse engineered" Formula [1] from K&J Magnetics pull force calculator. You could use their calculator instead of Formula [1], but note that even though we are talking about attraction between two magnets, the relationship between shear and normal force is based on the Case 1 - Magnet to Steel Plate result. Also note that their results display in pounds instead of Newtons, but that shouldn't matter as you are consistent with your units.
- To use this method you will need a precise way to measure gap thickness, r, between a pair of magnets which requires a pair of dial calipers.
- Pros: gives a starting "basis" for selecting magnets for a new project, should work for cubes such as 2x2 that require more magnets per layer
- Cons/limitations: assumes both cubes have a similar starting turning "weight"; if one cube has substantially higher friction or weight, then the magnetic torque contribution will feel different, even if equal to the other cube
- This theory is based on the above stated assumptions, but ultimately subjective "feel" of the resulting cube will determine whether a given magnet is a good fit for a particular cube. This method merely attempts to quantify that subjectivity for a more systematic approach.
- This theory is untested and may break down in real world application. Other factors of a cube's design may interact with magnet feel in a way that this theory doesn't capture. In other words, always do what feels best to you.