So you can buy quilting frames that you can set a regular home sewing machine into and use that for free-motion quilting, meaning you control where the needle goes via some handles and the speed the machine stitches with the foot control pedal. This is a great option for someone that doesn't want to purchase a dedicated longarm quilting machine. My plan is the take one of these existing frames and computerize it. The cool thing about computerized longarm quilting machines (in the neighborhood of $16k USD) is they have something called a stitch regulator. Since it's rather hard (at least as far as I know) to make sure every step is at the same exact speed, these machines utilize a stitch regulator to vary the speed at which the machine stitches with respect to how fast the material is moving. They usually use optical encoders directly above the workspace so they can work on pretty much any machine, but they're super pricey. Essentially, the stitch regulator is entirely separate from the CNC part. Imagine getting rid of the motors and you move the machine by hand and the machine will still stitch at the same length despite you not keeping a constant speed.
These stitch regulators plug into where the foot control plugs in, so I figured I would have to match that. Once I bypassed the protection circuit, I found that varying my input voltage (0-5VDC) I am able to adjust across the entire range of the machines stitching speeds. I figured if I can measure the velocity at which the "tool" is moving across the work, I can input the correct voltage to make sure I am stitching at the correct speed.
I have had another thought though, say I want my stitch length to be 8 stitches per inch, or about a 3mm stitch. If I attach a pulley of known diameter to an encoder that is attached to the same stepper motor (either between the existing belt for the axis or tapping off the same motor), I can take its circumference, divide it by the P/R of the encoder, and that will give me the distance per each pulse, correct? I can then, in a given time interval, take the amount of pulses and multiply it by this "distance per pulse" constant to get my total distance covered in that period for both axis. I could then divide it by my stitch length and that would give me how many stitches I would need in that given instance. I could then have a "table" with these values and it would pick the value closest to the calculated value.
Obviously, this wouldn't be super, super precise, but that's okay, it doesn't have to be. I believe if I can keep the interval short enough, say 50ms or maybe even 100ms, whatever works, it will get me close enough to matching speed.
That being said, I'm not using the encoders as a way for the CNC to track the tools location, but rather as sensors to measure the speed at which the material is moving in a given time period. I'm sure a polar system would be faster (given it
is just a angle and magnitude), but I am not sure how I would easily implement it. The quilting frame already only moves in an x and y direction and I will already have drive belts to run these axis for the full length of the frame, but maybe I am missing something?
I think if I can get this stitch regulator implemented correctly then the rest should be a walk in the park!
Also, check out this guy's design. It's pretty much exactly what I plan to do, but his wife's machine already has a stitch regulator installed.
https://youtu.be/tQJAv6M2AA0?si=0SHT0jbt1t0ONCii