[SPSM-2] Measurement rail for SMD parts

Measurement rail for SMD parts - Front view render

Front view render

Today I will describe a quite interesting project that I’ve done about week or two ago – a “Measurement rail for SMD parts”. I think I can now reveal the secret – the name inside square brackets [SPSM] stands for “SMD parts sorting machine”. It will be used to sort SMD parts by their size,shape and most importantly by their values and other important parameters. This project is quite big , that’s why I’ve divided the whole topic to smaller articles. Each bigger part of this project will have its own article. They will be numbered accordingly ,for example [SPSM-1] ..[SPSM-2] etc. Soon I will publish one big “main” article that will contain description of the whole project, links and short descriptions of all sub-articles.

 

EDIT:  This is a part of [SPSM] project — > SMD parts sorting machine (Main article)


Mechanical design & some renders:

Measurement rail for SMD parts - Wireframe render

Wireframe render

As always I’ve designed everything in my favorite CAD software (Inventor). There’s nothing special about this particular project so there’s not much to write about. Designing the whole thing took me one or two days (I don’t remember exactly). After making first prototype I’ve made some minor changes to the project. For example I’ve modeled a slot at the bottom of the rail to allow the vibration motor to spin freely (I’ve completely forgot about it <facepalm> 😯 , but you know a few “scratches” with the Dremel tool solves the problem instantly 😆  ). The whole thing was designed in the way that most dimensions and angles can be adjusted to allow the correct operation of the whole device.

Measurement rail for SMD parts - Solenoid actuator exploded view render

Solenoid actuator exploded view render


3D printing some parts:

Measurement rail for SMD parts - Some 3D printed parts

Some 3D printed parts

As always everything was printed on my RAPTOR XLS-360 printer. There is not much to write about, you know the whole process is quite obvious. As usual I’ve printed everything using ABS filament (my favorite material). P.S I really hate to print with PLA  🙂  . Most of the parts didn’t needed any support structures so they were relatively easy to print. It took a few hours to print everything.

Measurement rail for SMD parts - 3D printing some parts

3D printing some parts


Small solenoid linear actuators:

Measurement rail for SMD parts - Finished solenoid actuator

Finished solenoid actuator

The solenoid linear actuators were definitely the hardest thing to do. I started by making some simple calculations to determine the needed wire diameter. I’ve choose 0.12 mm diameter copper wire if I remember correctly. As always to simplify the whole process of winding such an solenoid coil I made a drill adapter that allowed me to wind the coil relatively precise and fast. This actuator is quite unusual – it uses a neodymium magnet to “actuate”. The magnet allows to actuate in two directions just by reversing current flow in the coil. Because of that a return spring is not needed. A simple H-bridge is just enough to control the whole device. The coil was designed in the way that it can operate at standard voltage of 12 volts without overheating – it is quite big problem because ABS softens in about 100 deg C. The coil was secured with some layers of Kapton tape to ensure that it wouldn’t unwind by itself. As usual I’ve used some heat shrink tubing to protect the copper wires from breaking off (strain relief). The whole thing works quite well, I can’t say anything bad about this design. I wanted to use some pneumatic actuators but the cost of the whole pneumatic system would definitely blow up my wallet so I went with this cheaper option.

The solenoid linear actuator consists of the following parts:

  • Main body to which the coil is wound on
  • A strong cylindrical neodymium magnet 6×12 mm
  • A coil of course
  • A M3 bolt shortened to the right length
  • An offset washer
  • And again I don’t really know how to call this part , maybe “piston” or “pushing block” (it is this fancy trapezoidal shaped part with a hole in one side of it)
Measurement rail for SMD parts - Solenoid actuator coil winding

Solenoid actuator coil winding

Measurement rail for SMD parts - Solenoid actuator coil winding 2

Solenoid actuator coil winding 2

Measurement rail for SMD parts - Solenoid actuator coil winding 3

Solenoid actuator coil winding 3

Measurement rail for SMD parts - Solenoid actuator parts

Solenoid actuator parts

Measurement rail for SMD parts - Securing wires with heat shrink tubes

Securing wires with heat shrink tubes

Measurement rail for SMD parts - Securing coil with kapton tape

Securing coil with kapton tape


Measurement contacts:

Measurement rail for SMD parts - Finished PCB with etched measurement contacts

Finished PCB with etched measurement contacts

I’ve designed this simple measurement contacts in the way that they will make good contact with the SMD part itself. In the next iteration of this prototype I will definitely take the parasitic capacitance problem into account because this measurement rail will be used mainly to measure parameters of some SMD capacitors. There might be a problem with a wear of these contacts because layer of copper is quite thin on the PCB. Maybe I will fix this potential problem in the next prototype. Firstly I have cut out this piece of PCB and later I’ve painted it with permanent marker pen. Then I scratched the painted surface with small knife to expose the copper in some places. Prepared PCB was etched in my etching tank.The water is heated and mixed with air bubbles which come from an aquarium pump. Really nothing fancy. P.S I’m using a Sodium Persulfate (Na2S2O8) solution instead of ferric chloride that is quite “messy”.

Measurement rail for SMD parts - Etching PCB

Etching PCB

Measurement rail for SMD parts - PCB before etching

PCB before etching


How does it work?

Measurement rail for SMD parts - Part numbers

Part numbers

The whole setup will be connected to the rest of the machine through two points: [1] Part inlet and part detection module, [4] part outlet and part detection module. The whole measurement rail angle can be adjusted in wide range to ensure that SMD parts can slide freely on it (this adjustment is accomplished with adjustable legs [7] ). Additionally a vibration motor [6] is attached to the bottom of the rail to help with the overall movement of the parts. Just below the part inlet there is an “barrier” and a “flipper” [5] that make sure that the part is in correct orientation just before the measurement. There is also a precise slot to which PCB with measurement contacts slides in [8] . [2] and [3] are solenoid linear actuators (described in one of the previous paragraphs). The first one [2] is responsible for pushing down the SMD part against the contacts to ensure good electrical connection with it. The second one [3] is preventing the part from falling down the rail until the measurement is done.

The whole measurement process proceeds in the following steps:

  1. Single part falls down to the part detection module from the bowl feeder
  2. First part detection module [1] senses the part and sends signal to the MCU (Main Controller Unit)
  3. First linear actuator [2] lifts up and the second one [3] falls down
  4. MCU turns on the vibration motor [6]
  5. Part slides through the alignment barrier [5] to the measurement contacts [8]
  6. MCU turns off the vibration motor [6]
  7. First linear actuator [2] pushes the part down to the contacts
  8. Measurement is being taken
  9. Both linear actuators lift up [2][3]
  10. MCU turns on the vibration motor [6]
  11. Part slides down the rail to the outlet
  12. After it passes second part detection module [4] the whole process repeats again
Measurement rail for SMD parts - Part falling down

Part falling down

Measurement rail for SMD parts - SMD part properly seated on the contacts

SMD part properly seated on the contacts

Measurement rail for SMD parts - Vibration motor from old phone

Vibration motor from old phone

 


Part detection modules:

Measurement rail for SMD parts - SMD part detector module

SMD part detector module

Part detection modules are used to sense the movement of the SMD parts through the whole system. They are important because without them MCU wouldn’t know where the part is at a given moment. They will be used to detect jams in the whole system. One of these modules will be placed under the bowl feeder. Bowl feeder will be turned on and off accordingly to the signal from this module to ensure that only one part falls to the measurement rail at the given moment. SMD part detector module consists of a two 3D printed halves and a optocoupler sensor. At the top of it there is a embedded funnel that aligns the part just before it enters the optocoupler. When the part cuts off the IR beam a small voltage spike is send to the MCU board. This module can be used also for part counting.

Measurement rail for SMD parts - SMD part detector module 3

SMD part detector module 3

Measurement rail for SMD parts - SMD part detector module 2

SMD part detector module 2

 


Short video from the tests:

As always I’ve made a short video to help you with understanding how the whole thing works.


More photos:

And some closeups of the whole assembled prototype , just in case previous photos are not enough for you  😉 :

Measurement rail for SMD parts - Front view

Front view

Measurement rail for SMD parts - Front view 2

Front view 2

Measurement rail for SMD parts - Rear view

Rear view

Measurement rail for SMD parts - View at the linear actuators

View at the linear actuators


Summary:

Building this prototype was an big fun for me , as you might already know I love to make “something from nothing”. I will publish an “work log-style” article about the whole project in next few days.

I hope that you enjoyed this project just like me.

I will probably release all of the CAD files in the near future when the whole thing will be finished.

As always, you can post comments below (If you have any questions feel free to ask):