Saturday, June 27, 2015

Ball sensor

 

In most pinballs, the ball is detected by switches. In older systems these are leaf switches. In more modern ones they are micro switches. In some systems they are contactless.

Leaf switch clip_image001
Micro lane switch
 
Leaf lane switch image lane switches between the lane guides  

For contactless ball detection are 3 systems present:

  • Optical detection with a infrared diode and sensor. the ball breaks the beam.
  • Electronic circuit that detects the ball when it gets close to a coil.
  • Magnetic detection
optos
image
 
optical detection coil detection magnetic detection

 

The sensor

I don’t like mechanics switches and I prefer a contactless approach. Less things to get damaged or break. Also for the switches the playfield need a long and narrow slit, what is difficult to make when making the playfield by hand. 

There are induction sensors available on ebay or aliexpress, that are very cheap. Less as 2 usd shipped! I don’t understand how they make them for this amount.

image

http://www.aliexpress.com/item/Free-Shipping-10pcs-lot-Original-Gaode-Inductive-Proximity-Sensor-LJ12A3-4-Z-BX-NPN-3-wire/2038864848.html

The biggest drawback of this specific type is the detection distance. For the 12mm version this is 4mm. Therefore the sensor needs to very close to the pinball.

There are other types with larger diameters that have much longer detection distances, but also more expensive. This one has a diameter of 30mm and a detection distance of 25mm. It can therefore be mounted below the playfield and sense through it. Still need to order one in for some testing.

image

http://www.aliexpress.com/store/product/SE-3025A-Genuine-inductive-proximity-switch-sensor-switch-NPN-3-wire-NO-DC6-36V/808493_1980850614.htm

The other alternative is to design my own induction sensor. Then you can adjust the coil size to what is needed. I did some experiments with a LC oscillator, and this looks feasible. I will design a small PCB with and 8pins AVR processor to do some more test.

I have not finalised what approach I will take. For that need to do some more experiments.

12mm sensor

To test the 12mm sensor I designed a holder for it.

sensor holder sensorholdertop  
top bottom  

This is screwed in the playfield

sensor_insert sensor_insertass  
sensor_playfield sensor_insertxx  

To bring the sensor close to the ball, the sensor has to stick through the playfield. A small insert is designed with a thin front to bring the sensor as close as possible to the ball. The problem is that the this front is very thin and thus less strong, and question is if it will be strong enough.

tn_IMAG1773

The printed insert feels strong enough.

Now I need to find some time to glue the insert in a piece of plywood and do some testing if it sensitive enough.

I also designed a shooterlane with the sensor. Here the sensor works good, because the ball is located and centered above the the sensor.  tn_IMAG1879

 

tn_IMAG1880

More about this part in a later blog.

 

 

.

No comments:

Post a Comment