Ed Nisley's Blog: Shop notes, electronics, firmware, machinery, 3D printing, laser cuttery, and curiosities. Contents: 100% human thinking, 0% AI slop.
Category: Science
If you measure something often enough, it becomes science
NYS DOT’s recent Rt 376 repaving projects improved the road surface, but the infractructure seems to be crumbling apace, as we spotted on a recent walk across the bridge over Wappinger Creek:
Red Oaks Mill bridge – dangling concrete
The ragged edge of the deck shows other slivers have fallen into the creek.
My arms aren’t long enough to get a closer view:
Red Oaks Mill bridge – dangling concrete – detail
The concrete roadway is developing potholes in the right hand southbound lane, so the upper surface has begun crumbling, too.
I think the bridge dates to the mid-1990s, based on the aerial photo history from Dutchess GIS, so it’s a bit over twenty years old. Nothing lasts.
KL17H248-15-4A stepper motor – Back EMF vs RPM – data
Maybe the only questions I ask are ones with linear solutions?
Anyhow, the data comes from the Z-axis motor in the lathe:
Stepper back EMF test setup
Scary-looking, but reasonably safe. The chuck holds the motor shaft so it’s not going anywhere, the boring bar prevents any rotation, and the motor bearings do exactly what they’re supposed to. Shorting the motor leads would definitely put a hurt on the PLA frame, so I didn’t do that.
The scope sat on the floor beside the lathe, capturing waveforms and doing calculations:
Motor Back EMF – 500 RPM
Some waveforms look bent:
Motor Back EMF – 300 RPM
I asked the scope to measure the RMS voltage, rather than the peak, because it’s less sensitive to distortions.
Each winding produces one electrical cycle across four mechanical full steps, with the windings in quadrature. One shaft revolution thus produces 200 / 4 = 50 electrical cycles, so converting from shaft RPM into electrical cycles/s goes a little something like this:
So the shaft turns at 375 RPM when the X axis moves at 12 k mm/min, with each motor generating 8.5 Vrms = 12 Vpk of back EMF.
The MPCNC wires the two motors on each axis in series, so the 24 V power supply faces 24 V of back EMF (!) from both motors, leaving exactly nothing to push the winding current around. Because the highest EMF occurs at the zero crossing points of the (normal) winding current, I think the current peaks now occur there, with the driver completely unable to properly shape the current waveform.
What you see in the scope shot is what actually happens: the current stabilizes at a ragged square-ish wave at maybe 300 mA (plus those nasty spikes). More study is needed.
We got several cartons of “medium” brown eggs with what seemed like an unusually wide size distribution, so I picked out and weighed an assortment for future reference:
We occasionally get huge eggs, tiny eggs, eggs with two yolks, no yolks, or blood-spotted yolks, all of which turn out to be no big deal. I admit to not previously encountering the term “fart egg”, however …
Although I repaired the spout a while ago, those water bottles were never satisfactory and saw very little use. A recent cabinet cleanout showed the “stainless steel” has passed beyond its best-used-by date:
Stainless steel water bottle – rust
With no regard for whether the patient would survive the operation, I peeled off its rubber foot and applied the Lesser Hammer:
Stainless steel water bottle – insulation
The “insulation” seems to be a rigid urethane-like foam disk few millimeters thick on the bottom of the interior flask, with good old air around the sides.
The bottles never worked very well and now we know why.
The first height map looks like a mountain sproinged right up through the glass:
ProbeArray-Glass-50
More red-ish means increasing height, more blue-ish means increasing depth, although you can only see the negative signs along the left edge.
The Z axis leadscrew produces 400 step/mm for a “resolution” of 0.0025 mm. The bCNC map rounds to three places, which makes perfect sense to me; I doubt the absolute accuracy is any better than 0.1 mm on a good day with fair skies and a tailwind.
The peak of the mountain rises 0.35 mm above the terrain around it, so it barely counts as a minor distortion in the glass sheet. Overall, however, there’s a 0.6 mm difference from peak to valley, which would be enough to mess up a rigidly held pen tip pretty badly if you assumed the glass was perfectly flat and precisely aligned.
Rotating the glass around the X axis shows a matching, albeit shallower, dent on the other side:
ProbeArray-Glass-flip-50-2018-01-05
For all its crudity, the probe seems to be returning reasonable results.
The obvious question: does it return consistent results?
They’re all 01 size pens, with a nominal 0.25 mm line.
Just for fun, a plot done with four sizes of black Sakura pens at Z=-1.0 before the Great Leveling:
MPCNC – Sakura Micron black pen widths
The 005 pen made a nearly rectangular single-pass tour around the perimeter of the plot, so you’ll see it passing through every legend.
The chunky-by-comparison 08 pen = 0.50 mm:
MPCNC – Sakura Micron 08 Black – detail
The 05 pen = 0.45 mm looks much crisper:
MPCNC – Sakura Micron 05 Black – detail
The 01 pen = 0.25 mm:
MPCNC – Sakura Micron 01 Black – detail
The almost-can’t-see-it 005 pen = 0.20 mm:
MPCNC – Sakura Micron 005 Black – detail
If you were doing this for a living, you’d probably use 05 pens, because plotter pens are hard to find.
Original HP plotter pens produced a 0.3 mm trace (with a hard to find un-worn tip) roughly equal to Sakura 03 pens, but I haven’t seen anything other than black at Amazon. There’s apparently a 003 pen with a 0.15 mm line; that’s just crazy talk.
Jamming Sakura pens into a plotter pen adapter for the MPCNC makes little sense, so I should gimmick up a specialized holder with some thumbscrew action to keep them from crawling upward out of the holder.