@inq Thank you for replying. Very appreciated.
I'm working on a video , it's about 10 minutes long. To answer a few questions quickly. I do not know what the rpm is. This machine came with zero information. I use 35% to 50% of what is available. 50 is pretty fast. Using #42awg-44awg you have to be careful.
The windows program. I have been looking around with a Inspector Clouseau level of investigation. I thought maybe it was made on WinCc but it doesn't quite look exact. Bases only on looks. The GUI seems to be or at least looks like "RoboRealm"
The pic seems to be programmed with "www.mecanique.co.uk"
Some of the files from the software are .dll
The machine was designed specifically for winding guitar pickups by someone that doesn't wind guitar/bass pickups. He did really good. But after a decade with this and doing pretty much custom work I would make a few slight adjustments. For one raise the drill chuck about a inch as 6 string bass / 8 string guitar stuff barely fits.
The video will show wire tension , it's not fancy it's just felt washers with a kneerled threaded tube to provide pressure.
The DC motor is not marked in any way. The dimensions are 51.88mm around and 68.60mm long.
I will try to get the video up tonight as I think seeing the machine in action and a explanation of the software in real time will answer a lot of questions.
do not know what the rpm is.
Motor rpm probably isn't the best metric anyway, but what I was getting at... For a "typical" pickup, I'm sure you know the number of winds and how long it takes to do those winds. Getting the winds per minute would be a significant metric of what you expect for it to be useful for your needs. As best as I can count, the previous video is doing less than 100 winds/minute. I estimate with Nema-17 steppers, you should be able to sustain any speed up to as least 1000 winds/minute.
Is the output shaft at the opposite end used for anything?
And yes, a video would be very interesting.
@davee, Yep! Two wires... DC motor. 🙄
Inq
Hi @inq, @night-winder & @thespamcatcher,
I think @inq's question "what all the settings in your software actually do" is a good one.
Clearly, a clarification of actual requirements is a vital ingredient in providing a definitive answer.
I offer a partial suggestion, in hope of provoking a useful discussion starting point.
I presume the video shows a system intended for a small number of jobs, each being quite different, whilst I presume @night-winder is intended to make a considerable number of pick-ups, with some parametric variations, but following one (or perhaps a few) underlying pattern(s).
This implies that @inq's initial 'shopping list' for standard parts is probably more appropriate than recycling parts from old equipment. (As an aside, I wondered if TMC2209 or similar, would be smoother and quieter than DRV8255. The price difference could be negligible with careful shopping.)
-----------------
In addition, the first user page of the Windows programme appeared to be doing some simple geometry calculations, using data like the width of the coil former and the outside diameter of the wire, to calculate how many turns of wire will fit on a layer, the movement of the guide per wound turn for neat winding, and so on. If these data values often change, for different pickup type specifications, then it would be convenient to input them, and have the software adjust the stepping programme to match the requirements, instead of adjusting end stop screws, etc., which would be tricky to set accurately on a repetitive basis. Thus this part of the programme would calculating the mechanical ratios and limits, such as:
- the number of steps to move from 'zero' starting position (defined below) to the position of start of first turn;
- the number of steps for each of the two motors, to achieve 1 winding turn;
- the number of winding turns per layer;
If this 'imagination' requirement is valid, then perhaps the wire guide system could borrow the method often used in cheap consumer 3D printers. i.e. :
Assume the 'forward' direction of the wire guide is from the left (in)side edge of the former across to the right (in)side of the former
'Define the 'zero' position as the former left outside edge, when the former is attached to the machine.
Input the width of the left former side - call it 'Lfs'
Then, the position for the wire guide needs to be 'Lfs' (relative to 'zero').
And the wire guide needs to move one winding width to the right during each winding turn.
The winding process then proceeds until the wire guide has moved across the inside width of the former, and th eformer has 1 complete layer. Whereupon, the next turn will be accompanied by the wire guide moving by one width in the reverse (right to left) direction.
And so on ...
To ensure the system 'knows' where the 'zero' position, a limit switch, or more accurate equivalent, could be used, in which the whole process starts by slowly moving the wire guide to the left, until the switch or equivalent is activated. After this point, the machine synchronises the wire guide position with the winding process.
--------
In practice, I suspect some allowances for mechanical tolerances will be required, but hopefully, this scheme would allow different formers and wire thicknesses to be handled as simple parameter changes to the stepper motors' control programmes.
--------
I would see the Windows programme performing the 'upfront' calculations, with one or two other processors, such as ESP32 family, being sent the calculated results, and hence sending set up and step commands to the stepper driver chips.
For development, the upfront calculations could be 'manual', probably on a spreadsheet, and the ESP32s or equivalent, programmed, controlled and monitored with Arduino IDE or similar.
---------
This total approach would make the software a little more complex than the video example, but providing both motors are of the stepper type, the complexity increase should be small, as the two motors can be kept synchronised by design.
--------
Just a thought (or two) suggestion(s) for discussion ...
Best wishes to all, Dave
YouTube video
My wind count is a bit off , that's what got all this started , but from what I can tell
35% speed = 850 turns - 60 seconds
50% speed = 1000 turns - 60 seconds
50 percent is flying , especially with this size wire. I usually only use 50 with #42. 35% has been very safe with #44awg.
As an aside, I wondered if TMC2209 or similar, would be smoother and quieter than DRV8255. The price difference could be negligible with careful shopping.
I completely agree on most aspect about the TMC2209, but it will be a trade-off.
When experimenting with the TMC2209's, I did find them to be totally silent as long as speeds are kept pretty low. What I found for what I wanted in my project (speed and torque) deteriorated when using the silent features. With those features turned off, it had about the same noise as the DRV8825 at equivalent speeds. However, the DRV8825 easily doubled the speed (and presumably torque) of the TMC2209. So it will depend entirely with what speed/torque expectations @night-winder has.
On the positive side, the Serial communications ability of the TMC2209 and its ability to feedback load information may be more vital than the ultimate torque and speed. This could be used to indicate things like imminent wire failure, wire has failed or maybe a feedback loop to reduce/increase friction on a wire feed mechanism so all are uniformly wound.
Also, 3D printers that use them don't need end switches... the driver can consistently detect hitting a hard stop.
I'm sure all kinds of bells and whistles can be brainstormed as time goes by... possibly using some distance sensors to measure the cores that are loaded and calculating the end stops automatically. @davee, maybe you have some deep theory calculations that can give things like resonance, dynamic behavior to do analysis on a predicted or an as-built state. Maybe there is some magic to do it while winding and thus smartly stop when some beneficial condition occurs. Way above my pay-grade. 🤣
Inq
I think you really have two problems:
#1. your current machine works, but is loosing counts. You probably need to check every thing for loose screws or things rubbing, too tight or somehow out of whack! Loosing counts sounds like mechanical problem. Maybe something is worn or just loose. Any software changes are just a wish list, make the current machine work BETTER.
#2. You want to change things. That requires a working hardware platform. Are you ready tho deal with a complete Hardware design AND software? Most likely a project like this would have some $$$$ involved. To change software you need a well thought out specification with dashboard requirements, input and output to both the dashboard and the machine. That implies that at some point someone writing any software will need hands on your hardware for testing.
My $0.02 is don't complicate things by trying #2 without fixing #1.
DaveP
Hi @inq,
Thanks for your invaluable input ... I am unclear about the speed TMC2209s can achieve. I seem to recall reading that the mode changes as the speed increases, but I'm not clear if this is automatic or requires user input. Either way, I guess it should be fairly straightforward, since the microcontroller in charge will 'know' what step rate it is commanding, and could send additional commands if and when required. I had also naively assumed the TMC2209 could be persuaded to achieve the same max speed as the DRV8255, albeit possibly with some mode changes. Is that assumption invalid?
I suspect that higher speed operation for this application will involve acceleration and deceleration to minimise stress on the wire, which I presume will add some complexity to the software.
Also, at higher speeds, other changes, such as applying a higher voltage to the driver, to offset the inductive nature of the load, may be required and so on. Whilst theoretical modelling should be possible, in practice I think a considerable amount of practical experimentation would be required to obtain the relevant data, before even considering a model.
Hence, my hope was that a 2 stepper motor approach would be amenable to starting the whole process at a slow 'low stress' speed, and gradually speeding it up if desired, introducing features as upgrades, rather than all required from the beginning. At slow speeds I presume the TMC2209 will be more pleasant to use, and possibly less prone to introducing vibration problems, although I have no idea as to whether any changes are significant in this application.
And presumably, there will be the usual diminishing returns relationship, between winding speed (or pretty much any 'simple max' speed) and the throughput of the overall system.
----
I was aware of the end stop protection provided by TMC2209, but had the impression from comments on the web, it was a bit 'hit and miss', and maybe more trouble than benefit. I recall seeing discussion, and possibly a bit of a video, showing it being neccessary to hit the end stop with a 'Goldilock's' velocity - Too fast and the whole printer shuddered from the impact, too slow and it failed to detect the stop. That was enough to make me want to avoid suggesting it. Furthermore, for 3D printers, when it is only used to find the boundary of the build plate, a variability of say 1mm is usually inconsequential, since it will only change the starting point of the print on the plate, assuming the plate has at least 1mm border of unused space.
By contrast, I was suggesting the winding guide positioning may need to repeatably accurate to a small fraction of a millimetre. e.g. AWG 42 is 0.0633 mm, so roughly assuming a start aim of 1 wire width, need to set "zero" to better than about 0.06 mm. In 3D printer terms, this 'felt' rather like the difference between x and y, versus z, where a 1mm error would be printing in air or gouging the plate, for a common bed slinger, etc. arrangement.
Hence, I implied, it might be necessary to detect the 'zero' position more accurately than a simple microswitch arrangement, and the auto end stop protection method sounded fraught.
Of course, this whole comment is all just 'imagination thought', and maybe just rubbish. So apologies, if I am wasting anyone's time.
Best wishes, Dave
Not loosing counts. Over winding.
Looks like the rotary encoder has issues after talking with manufacturer of the encounter in China.
Three new encoders arrived this week
Trying to figure out all this lingo and better understand what's going on here so I can talk with some people , but I need to know certain words and what they mean before I can do that.
If I can not use the existing software then yes. New software and hardware package.
This can not be super impossible or difficult to someone that truly understands this stuff.
It's just a matter of finding someone who is interested. Like the coders with video game consoles. They do it for fun. You can now okay Xbox on PS5 , PS2,3, on PS5. I'm sure that's a lot of code just to spite Sony.
It seems like the software could be moved to new hardware , just need someone that knows how.
If I have to learn another program then so be it. Starting this business I have already learned WordPress due to a lot of problems with people that claim to know how to use it , charge alot but can't really do anything but the basic.
Same with CAD. Had a hard time finding someone to do basic things, so learned basic CAD.
Same with Automotive after a machinist ruined my engine sinking my valves 60 thou in the heads.
Building new machinees is not a issue being a manual machinist , I can cut a lot of parts on my Co2 laser. It's just the running of the machine I need to catch up on.
Hi @night-winder,
Thanks for the video, which provides more insight.
Before proceeding, to be fair to everyone, I think I should reinforce some of what @Inq discussed previously. This forum is about encouraging others to get involved with robots, not a free custom service. So there is a limit to how far everyone will be prepared to go -- the responsibility for designing and building your robot is solely yours. Hopefully, requests for ideas and information will result in useful answers, but developing a 'unique' machine is a lot of work, and not something any of us will do for you.
Having seen your video, and bearing in mind the above 'health and wealth warning', I offer the following comments.
Most of what I saw in the video was similar to what I imagined. So my comments, and also Inq's, I think should fom a useful base.
Perhaps a 'strategic' thought I would make, is that developing a new machine (of almost any type), is only a 1 step process, when you have already made a very similar machine, and the new one is a 'slightly better' one. However, you have never made a similar machine, so you need to modify your approach to meet reality. Please note, I would suggest this point is almost universal - and in no way reflects on your ability, etc.
So, assuming you still want to go ahead, I would suggest you break down the task into smaller manageable bites. Of course, this implies it will take longer than perhaps you hoped, and will require a good deal of patience, and probably falling into a few rabbit holes, but will hopefully be successful.
As suggested by @thespamcatcher, this probably implies that 'patching up' your existing machine, if possible, may be a wise move to keep your existing business afloat for the foreseeable future, but maybe this could be in parallel, rather than instead of developing a new machine. Prioritising the two aims is obviously something only you can resolve - I am only suggesting it as something to think about.
------
Moving to designing a new machine, I'll offer a somewhat chaotic set of 'early development' aims, in a very shortform style. Please look through them, rearrange etc. as you wish, ask questions where they are unclear, or unwise, and decide whether this sort of project suits you.
--------------------------------------
I suspect (hope?) you are capable of designing the mechanical arrangement, and perhaps making a basic frame, with two motors, etc. that you can tinker and test ideas on, would be a good start. If possible make it cheap and simple, with just the basics to get started, that you will not mind scrapping and replacing when necessary.
------
As for motors, I would be tempted to start with a Nema-17 for each. I am guessing the torque is fairly low, and to start at least, aim slow, and learn the basics. @inq has far more bench experience than me, but I would suggest small and cheap for now.
-----
I can understand why you are concerned about the Windows programme, but I would suggest you almost put that to one side for now. We can't see inside that programme, but from your description etc. I think its functionality breaks down into a just a few pieces. e.g.:
- A calculator ... simple geometric stuff, like how many turns of wire of diameter A mm, will fit on a single neat layer former of B mm wide? Presumably this is basically B/A, possibly corrected a little to allow for practical limitations. For now, I would suggest you try to recreate what is needed as a simple spreadsheet or similar, using the Windows programme to check your results. Note, I would expect your first attempt will miss a few parts ... that is normal ... just be ready to add new parts as the need becomes apparent! That is part of the reason for making this as simple as possible. Also note, you can 'fudge' it to handle different designs, by tricks like copying the same basic design to different sheets, using one sheet per design. Inelegant, but workable as a start.
- Transfer of parameters to microcontrollers - The first part will be the source of a few numbers that need to be transferred to the microcontrollers. Leave this for now ... you can manually set up each wind using a development IDE, for the early prototyping. Return to it later.
- Simple direct operations, like 'jogging' the start position. Similarly, this can be worked around for prototyping. Perhaps a couple of jogging buttons could be attached directly to the appropriate microcontroller?
Am I missing any major other elements?
------
For the first part, build a simple circuit, with a microcontroller, stepper driver, and power supply, controlled by an Arduino IDE or similar. develop some simple routines that perform operations needed as part of the winding task.
For example, it appears you are currently using 850 rev per minute for 'safe' operation. @inq has suggested a simple stepper will do 1000 rpm easily. Build a simple rig that demonstrates that.
NB I assume, without evidence, that the pulley reduction is principally to slow the spindle down, and not to increase the torque, as DC motors are tricky to speed control, particularly at slow speeds. Stepper motors can do slow speeds in a very controlled manner .. high speeds are more problematic!
----------------------------
So sorry, the above is chaotic ... feel free to change and suggest an alternate. My aim is to get you to think of an appropriate course of action that suits you, not to tell you exactly what you must do. It is your project!!
I wish you all the best and hope you will be successful! Best wishes, Dave


