Hello, I have a problem with losing steps. Before I go and buy a new set of motor drivers, I wanted to explore the math behind the motor tuning (or I might end up right back where I am). I am cutting PCB copper to make circuit boards. I only need to penetrated 0.01 mm from the surface (0.05 mm is actually acceptable). Someone pointed out to me that is only 0.4 mil and is hard to control too. That made me think about the tuning parameters.
Okay, here's some math. I used a caliper to carefully measure the pitch of my lead screw. It seems to be very precisely 2.5 mm per turn (used several threads, then averaged). My system seems to have everything in metric, so that's why I chose it.
1 turn = 360 degrees, so 1/360 (turn/degrees) = 1 (unity)
2.5 (mm/turn) * 1/360 (turn/degrees) = 1/144 (mm/degrees) This is my lead screw
My stepper motor clearly says "1.8 degrees per step", so
1/144 (mm/degrees) * 1.8 (degrees/step) = 0.0125 (mm/step), or 80 (step/mm) This is my lead screw/motor combination
What's confusing me is that my CNC manufacturer has indicated "640" as the motor tuning parameter for "Steps per". In my case, that's Steps per millimeter.
Using that number: 640 (step) * 0.0125 (mm/step) = 8 mm
The answer should have been "1 mm", not 8. The funny thing is that this 640 value seems to work very well. I have no "scale" issues with X, Y and Z motions using this number. I just don't understand the math behind Mach 3. I think this might be due to the Tonsen controllers then. In the Mach 3 tutorial video on YouTube, the value they recommend is "2000". I've never seen a stepper motor with that kind of resolution.
HERE IS THE IMPORTANT PART:
Most importantly to me, I'm trying to get to "-0.01" mm (repeatedly), but I can see that my step resolution is actually 0.0125 mm/step from the math above. If I repeatedly go to 0, then -0.01, then to 2, then repeat, will I be loosing that 0.0025 mm every time it cycles through this sequence? These are the only values that I ever command my Z-axis to (except to park it at 4 mm when done).
Since my math (theory) shows my steps per mm as being 8 time greater than what practice says, does that mean my resolution is also 8 times better (0.0125 mm divided by 8 is 0.0015625 mm)? Somehow I think not.
I noticed my program (CopperCAM) can't generate values smaller than 0.01 mm. What precision of mm does Mach 3 support?
Sorry, I know I've asked a lot here. Thanks to anyone that helps. Tweakie and RICH have been great to me, but I don't want to look a gift horse in the mouth.
Sincerely, Richard V