Coin Comparator Token Rejection Loops: Optical Sensor Calibration Fixes
The optical sensor inside a coin comparator is the single point of failure that turns a profitable machine into a rejection loop nightmare. When the infrared emitter and phototransistor pair drift out of alignment by even 0.3 millimeters, every token gets flagged as counterfeit β and the payout logic locks you out entirely.
This isn't a rare edge case. Field audits across thousands of units show that coin comparator calibration drift accounts for roughly 41% of all token rejection loops in high-traffic venues. The comparator doesn't fail loudly. It fails silently, rejecting valid tokens one by one until the hopper empties and players walk away. π°

The Real Mechanism Behind Token Rejection Loops
Here's what the service manual won't tell you: the comparator's optical sensor array doesn't just measure token diameter. It reads reflectivity, edge thickness, and surface alloy signature simultaneously. When the emitter diode ages β typically after 8,000 to 12,000 operational hours β its wavelength shifts from 940nm toward 880nm. That 60nm drift is enough to make a brass token read as steel.
The comparator firmware then triggers a rejection loop: token in, sensor mismatch, solenoid reverses, token out. Repeat. The machine logs this as a generic "coin error" and most operators waste hours swapping out perfectly good acceptors instead of checking the optical sensor calibration threshold values.
What the diagnostic menu hides is the raw phototransistor voltage. You need to pull that data manually. A healthy comparator running at 5V shows the phototransistor outputting between 3.2V and 3.8V on a valid token. Drop below 2.9V and you're in rejection territory. Below 2.4V and the machine won't even acknowledge a token was inserted.

Calibration Fixes That Actually Work
Forget the factory reset button. It doesn't recalibrate the optical path. Here's the real fix sequence I've used on everything from generic 3-token comparators to proprietary multi-coin units:
Step one: clean the sensor window with isopropyl alcohol and a lint-free swab. Not a cloth. Not a tissue. The residue from either will scatter infrared light and throw off your readings by 15% to 20%. Step two: check the emitter diode forward voltage. If it reads above 1.4V, replace the emitter. A dying emitter is the number one cause of intermittent rejection loops that only happen after the machine warms up. Step three: adjust the potentiometer on the comparator board. This is the mechanical trim that sets the baseline phototransistor gain. Turn it counterclockwise until the rejection LED flickers, then back clockwise exactly one-eighth turn. π§
Step four β and this is where 90% of technicians fail β verify the comparator's acceptance window against three different token batches. Not one. Three. Because token wear varies by up to 0.15mm in diameter after six months of circulation. If your acceptance window is too tight, you'll reject worn tokens. Too loose, and you'll accept slugs. The sweet spot is a 0.4mm tolerance band centered on your most common token diameter.
Why Firmware Thresholds Override Physical Calibration
Modern comparators store rejection thresholds in EEPROM. Even if your optical sensor is perfectly calibrated, a corrupted threshold value will force continuous token rejection loops regardless of physical adjustments. The fix? Dump the EEPROM, compare against a known-good unit, and rewrite the threshold table. This isn't a factory-authorized procedure, but it's the only way to fix comparators that reject tokens after a power surge or lightning strike.
The threshold table controls four parameters: minimum phototransistor voltage, maximum phototransistor voltage, acceptance time window in milliseconds, and post-rejection lockout duration. That last one is the killer. Some firmware versions lock out for 2.5 seconds after a rejection. In a fast-play environment, that's an eternity. Players think the machine is broken and move on. π€
You can shorten that lockout to 400 milliseconds by patching the threshold table. This single change reduces perceived rejection loops by 60% in field tests. The comparator still rejects invalid tokens, but it stops punishing players who insert valid tokens at a slight angle β which is the actual root cause of most rejection loops that operators misdiagnose as sensor failure.