1 Attachment(s)
Selective Soldering Robot Conversion to Mach3 and Smooth Stepper
This build thread is of a Fisnar Selective Soldering Robot.
The plan is to convert from its propriety control to the Mach3 CNC control Software and a SmoothStepper.
The soldering robot is pictured in the attached image. It was purchased as a 2nd hand machine and pulled out of a production environment. The Robot is basically a 3 Axis X/Y/Z platform base with an automated soldering head module mounted to the gantry. As the soldering head is a separate module, it has it's own teach pendent which is used to program the automated soldering cycles in it.
Currently the machine is programmed in 2 parts. First, the head is programmed with all the different soldering profiles, including
- joint pre-heat,
- the amount of solder feed,
- rotation of the head,
- the soldering duration etc.
These different profiles are called Blocks.
The 2nd part is to program the base X/Y/Z movements with the other pendant. You move the head to a point, then select the soldering block you want to execute. You do this for every solder point. It works OK but is very tedious to program.
When the robot is soldering, the soldering tip moves down by a pneumatic actuator. The air pressure controls the contact force. You need to position the head so that the iron contacts both surfaces of the joint precisely .
The soldering head has 30 different soldering profiles. Each profile has 9 or so different parameters that define the soldering cycle. The base unit selects the profile it wants and tells it to do it. Once it receives the acknowledgement back, it carries on.
The video below shows the machine operating under the existing inbuilt software.
Selective soldering through hole components - YouTube
3 Attachment(s)
H-01 Step/Dir to CW/CCW Conversion board
I've designed the Step/Dir to CW/CCW board for converting the signals from Mach3 to that required by the Vexta half stepper drives. Additionally, the board also receives and opto-isolates the home switch inputs.
I don't usually bother with homes switches on my machines as most of the work on them is one offs and I normally just manually set the home or reference position to the work piece once it is clamped down. This machine is different, it is a production machine. Jigs are fitted to the machine and boards to be soldered are located into the jigs. Once set up, I can place the jig and pcb into the machine, home it and then just cycle start.
I designed the circuit, laid out the pcb and had the board house produce a batch of them. As you can see it is a lot smaller than the PCB it is replacing. To be fair, the original pcb was part of a machine that was a complete stand-alone system.
Below is an image of the populated PCB. I stole the connectors off the original board as I was too lazy to source them. The only mistake was I did not put enough separation between the connectors for the three axis drives so plugging in the cables is a tight squeeze. If you look closely, you can see that the microprocessors are labelled DC-03V3, which are the pre-programmed ones for the DigiSpeed controller. I didn't have any spare ones around, so I just grabbed them from the tube off the pick and place machine and re-programmed them.
It wasn't a difficult layout, but it is always satisfying when there are no mods on the pcb. The only change I had to make was to replace the 2.7K opto-led bias resistor with a lower value one.
It worked first time which was probably first in itself for me. Looking at the manual for the machine, the accuracy and repeatability for the X and Y axis is specified at 0.05mm.The Z axis is 0.024mm.
So, from that I knew that the base units for the machine are likely to be mm, and the steps/mm is likely to be 1/.05 = 20
I configured Mach3 to this, then did a quick test and it appears to be correct according to a ruler. The manual also specified that the maximum speed was 500mm/s. I cut the air with the roadrunner.tap file running at 4000mm/min. It seemed to handle that without any problems.
I did notice that the motion is a lot smoother than it used to be. I put this down to the step generator on the original set-up being a lot coarser than that being produced by Mach3 and the SmoothStepper.
The image below shows the new pcb and the smoothstepper inside the base.
H-02 Solder Head Interface board
The next step is to start on the Solder head interface board. It uses signal relays for the outputs and opto-isolators for the inputs.All of the signals enter/exit through a 50-pin Centronics connector.
Once thing I did release when starting to look at the H-02 board , is that I need nine relay outputs, and 11 opto inputs for the expansion port. Then there is a 4 bit single digit program selector switch, cycle start button on the front panel.
I like to use the selector switch on the machine to select and load the GCode program. Not sure how easy it is to do this, but it should be possible.
Looking at the I/O requirements, a single 2nd port is not going to be enough to deal with all these signals.
The solution I'm now leaning towards is to use the Ethernet Version of the Smooth Stepper. It has the equivalent of three parallel ports.