Barcode Technology

Barcode History

Barcode Label Paper

Barcode Printer

Barcode Application

Inventory Management

AI Barcode QRCode

Barcode Scanner

Barcode Software

Barcode Software B

Barcode Software C

Barcode Software D

Barcode Software E

New Technology A

New Technology B

Robot Technology

Barcode Types

Barcode Types B

Barcode Types C

Barcode Types D

Barcode Types E

Barcode Types F

Electronic Technology

Psychology at Work

Barcode Technology and Barcode Software Related   <<< Back to Directory <<<

From Photons to Bits: The Circuit Principles and Design Reality of Barcode Scanners (P36)

Recommended: Free barcode software - Bulk barcode generator and label printing, Free for life. Download

Article 36: Pulsed Illumination and Synchronous Detection in Laser Barcode Scanners

Summary: This article explains why laser barcode scanners pulse their light source and use synchronous detection to recover weak signals from noise. It describes the circuit principles behind a 500 kHz pulse train with 50 percent duty cycle, the multiplier that applies plus one and minus one according to laser state, and then surveys how this technique appears in retail, logistics, manufacturing, healthcare, banking, and other industries. The goal is to show how a simple switching idea becomes a practical design tool across many real products.

1. Introduction: Why a Flying Spot Needs a Clock

1.1 The flying spot is the heart of a laser scanner. A laser scanner works by sweeping a small bright spot across a barcode and watching the reflected light. The spot moves fast, often completing hundreds of scans per second, so the detector sees a rapid sequence of bright and dark patches. The challenge is that the returned light is weak and mixed with ambient light, electrical noise, and the scanner's own interference.

1.2 Pulsing the laser turns a continuous problem into a timed one. Instead of leaving the laser on all the time, a representative design switches it on and off at 500 kHz with a 50 percent duty cycle. This means the laser is on for one microsecond, off for one microsecond, and the pattern repeats two thousand times per millisecond. The detector signal is then multiplied by plus one when the laser is on and by minus one when it is off. This is synchronous detection, and it gives the scanner a way to separate its own light from everything else.

1.3 The rest of this article builds from principle to practice. The next sections explain the circuit blocks, the noise problem, the meaning of the plus one and minus one multiplication, and then a long tour of industry applications. The article ends with a detailed summary that ties the ideas together.

2. The Basic Circuit Chain

2.1 A laser scanner is a chain of simple blocks. The chain begins with a laser diode and its driver, passes through the scanning mirror or polygon, reaches the barcode, reflects back to a photodetector, and then goes through an amplifier, a synchronous demodulator, a filter, and a digitizer. Each block has a clear job, and the pulse timing links them together.

2.2 The laser driver is a switch, not a dimmer. In the pulsed design, the driver does not gradually vary the laser power. It switches the diode fully on and fully off at 500 kHz. The duty cycle is 50 percent, so the average optical power is half the peak power. This keeps the laser within its thermal limits while still giving strong brief flashes of light.

2.3 The photodetector sees both signal and background. The photodetector converts light into current. When the laser is on, the current includes the barcode reflection plus ambient light plus dark current. When the laser is off, the current includes only ambient light and dark current. The difference between these two states is the useful signal, and the synchronous multiplier is the circuit that extracts that difference.

2.4 The multiplier is a polarity switch. Multiplying by plus one and minus one sounds like a mathematical operation, but in hardware it is just a switch that passes the signal unchanged in one phase and inverts it in the other. A simple transistor bridge or an analog switch can do this. The control signal comes from the same clock that drives the laser, so the multiplier is always in step with the light.

2.5 The low-pass filter averages the result. After the multiplier, a low-pass filter averages the signal over many pulse cycles. Because the plus one and minus one phases alternate, the ambient light and slow drifts cancel out, while the barcode reflection adds up. The filter bandwidth is chosen to pass the barcode signal, which changes as the spot moves across bars and spaces, but to reject the 500 kHz switching frequency and its harmonics.

3. The Noise Problem and Why Synchronous Detection Helps

3.1 Ambient light is the largest interference source. Sunlight, room lighting, and nearby displays all add light to the detector. Fluorescent lamps flicker at twice the line frequency, and LED lighting has its own switching noise. If the scanner simply amplified the detector current, these sources would dominate the signal.

3.2 Electrical noise comes from many directions. The laser driver itself creates current spikes. The scanning motor creates magnetic fields. The power supply has ripple. The amplifier has thermal noise. All of these add to the detector signal and make weak barcode returns hard to read.

3.3 Synchronous detection rejects noise that is not synchronized. The key idea is that the multiplier only responds to signals that are correlated with the laser clock. Ambient light that is constant or slowly varying is inverted in the off phase and passed in the on phase, so it averages to zero. Noise at frequencies unrelated to 500 kHz also averages out over many cycles. Only the light that follows the laser pulse pattern survives the filter.

3.4 The 50 percent duty cycle balances sensitivity and rejection. A 50 percent duty cycle gives equal time to the on and off phases. This makes the cancellation of ambient light symmetric. It also gives the laser time to cool and the driver time to recover. Other duty cycles are possible, but 50 percent is a common compromise in representative designs.

3.5 The pulse frequency is chosen above the barcode bandwidth. The barcode signal changes as the spot crosses bars and spaces. For a typical scanner, the highest barcode frequency is in the tens or low hundreds of kilohertz. By choosing 500 kHz, the switching frequency sits well above the signal band, so the low-pass filter can remove it cleanly without distorting the barcode waveform.

4. What the Plus One and Minus One Multiplication Really Does

4.1 It creates a matched filter for the laser pulse. The multiplier and filter together form a matched filter for the known pulse shape. The filter accumulates signal when the laser is on and subtracts signal when the laser is off. This is the best way to detect a known pulse in white noise.

4.2 It doubles the effective signal swing. The difference between the on state and the off state is twice the barcode reflection, because the off state subtracts the background. This doubling improves the signal-to-noise ratio compared with a simple DC measurement.

4.3 It removes offset and drift. Photodetectors and amplifiers have offset voltages and thermal drift. The plus and minus phases cancel these slow errors. This is important in handheld scanners that warm up during use and in fixed scanners that operate over wide temperature ranges.

4.4 It makes gain calibration easier. Because the background is removed, the amplifier gain can be set for the weak barcode signal without worrying about saturating on ambient light. This allows a higher gain and therefore better sensitivity.

4.5 It enables a simple digitizer. After the filter, the signal is a clean baseband waveform that represents the barcode. A comparator or analog-to-digital converter can then slice it into digital bits. The synchronous front end makes the digitizer's job much easier.

5. Timing and Clock Distribution

5.1 The clock must be shared by laser and multiplier. The laser driver and the multiplier must use the same clock, or the phases will drift and the cancellation will fail. In practice, a single oscillator generates the 500 kHz clock, and a divider or phase splitter creates the two control signals.

5.2 Phase alignment matters. If the multiplier switches slightly before or after the laser, the on phase will include some off time and vice versa. This reduces the cancellation of ambient light and adds noise. Careful layout and matched delays keep the phases aligned.

5.3 The scanning motion adds a modulation. As the spot moves across the barcode, the reflection changes. This modulation is the desired signal. The clock and the scanning motion are independent, so the synchronous detection does not interfere with the barcode waveform.

5.4 Jitter in the clock becomes noise. If the clock has jitter, the on and off times vary, and the cancellation is imperfect. Low-jitter oscillators and clean power supplies are therefore important in the design.

5.5 The clock can be used for other housekeeping. The same clock can trigger the digitizer, synchronize the motor drive, and monitor the laser power. This sharing reduces cost and complexity.

6. Optical Power and Eye Safety

6.1 Pulsing reduces average power but not peak power. Eye safety standards limit both average and peak optical power. A 50 percent duty cycle halves the average power for a given peak, which helps meet average-power limits. The peak power must still be kept below the applicable limit for the pulse duration.

6.2 Short pulses are safer for a moving spot. A scanning spot spends very little time on any one point of the eye. Pulsing adds another layer of safety because the eye receives light only half the time. This is one reason pulsed designs are common in consumer scanners.

6.3 The driver must fail safe. If the clock stops, the laser must not stay on. A watchdog circuit or an AC-coupled drive ensures that a stuck clock turns the laser off rather than leaving it on continuously.

6.4 Thermal design benefits from pulsing. Laser diodes degrade faster at high temperature. Pulsing reduces the average heating and extends life. The 50 percent duty cycle is a simple way to balance brightness and lifetime.

6.5 Eye safety is a system property. The housing, the scan pattern, the pulse timing, and the power limit all work together. The pulsed design is one part of a safe product, not a substitute for proper engineering.

7. Retail Point of Sale

7.1 Supermarket checkout is the classic application. A handheld or fixed scanner at the checkout reads barcodes on packaging. The lighting is bright and variable, and the scanner must work under fluorescent and LED store lighting. Pulsed illumination with synchronous detection rejects the flicker and keeps the read rate high.

7.2 The 500 kHz pulse train is fast enough for moving products. A cashier slides products across the window at perhaps one meter per second. The scanner's spot crosses the barcode in a fraction of a millisecond, so the pulse train must be fast enough to sample the bars and spaces. The 500 kHz rate gives many samples per bar.

7.3 Synchronous detection helps with glossy packaging. Glossy film and plastic wrap reflect ambient light strongly. The plus and minus phases cancel the steady reflection and leave the modulated barcode signal. This improves reads on difficult packages.

7.4 Self-checkout kiosks need robust front ends. Self-checkout scanners face the same lighting and packaging challenges but with less operator skill. The synchronous front end reduces misreads and speeds up the transaction.

7.5 Convenience stores use small, low-power scanners. In a small store, the scanner may be battery-powered or tightly packaged. Pulsing reduces average power and heat, which helps in compact designs.

8. Logistics and Warehousing

8.1 Conveyor scanners read many barcodes per second. In a distribution center, packages move quickly past fixed scanners. The scanners must read labels at high speed and at many angles. Pulsed illumination with synchronous detection gives a clean signal even under bright warehouse lighting.

8.2 Forklift-mounted scanners face vibration. A scanner on a forklift shakes and tilts. The synchronous front end rejects low-frequency noise from the motor and the movement, so the barcode signal stays readable.

8.3 Handheld scanners in receiving areas work in mixed light. Loading docks have sunlight, sodium lamps, and LED work lights. The plus and minus multiplication cancels the steady and slowly varying components of these sources, leaving the barcode.

8.4 Sortation systems need high reliability. A missed read sends a package to the wrong place. The synchronous detection improves the signal-to-noise ratio, which reduces misses and rework.

8.5 Cold storage and outdoor yards stress the electronics. Temperature changes cause drift, and the synchronous scheme cancels drift. This makes the design robust in freezers and outdoor loading areas.

9. Manufacturing and Automation

9.1 Production lines use barcodes for tracking. A scanner on a line reads a barcode on each part or pallet. The line may be fast, and the lighting may include welding arcs, machine lights, and sunlight from windows. Pulsed illumination helps reject these sources.

9.2 Robot-mounted scanners need compact front ends. A scanner on a robot arm must be small and light. The synchronous circuit can be built with a few small components, which fits the space and weight limits.

9.3 Synchronous detection helps with shiny metal parts. Metal surfaces reflect light in narrow beams, and the returned signal can be weak or strong depending on angle. The plus and minus phases cancel the steady background and make the barcode signal easier to detect.

9.4 Quality control stations read barcodes and inspect parts. A scanner may share space with cameras and lights. The 500 kHz pulse train is far from the camera frame rate, so the two systems do not interfere.

9.5 Clean rooms require low particle generation. Pulsed lasers produce less heat, which reduces the need for fans and filters. This helps in clean manufacturing environments.

10. Healthcare and Laboratories

10.1 Patient wristbands and medication labels use barcodes. Hospitals scan wristbands, medication bags, and specimen tubes. The lighting in patient rooms and labs varies widely. Synchronous detection keeps reads reliable under different lamps.

10.2 Specimen tracking demands high accuracy. A misread can lead to a wrong test result. The improved signal-to-noise ratio from synchronous detection reduces errors and improves patient safety.

10.3 Small handheld scanners fit clinical workflows. Nurses and technicians need light, easy-to-use scanners. Pulsing reduces power and heat, which helps in compact, battery-powered designs.

10.4 Lab automation uses fixed scanners. Automated analyzers move tubes past scanners at high speed. The 500 kHz pulse train provides enough samples per tube label to read it reliably.

10.5 Sterile environments favor sealed, fanless designs. Pulsed operation reduces heat, so the scanner can be sealed without vents. This helps maintain sterility and simplifies cleaning.

11. Banking, Ticketing, and Access Control

11.1 Check and document scanning uses barcodes for routing. Banks and offices scan documents with barcode labels. The lighting may be office fluorescent or LED. Synchronous detection rejects the flicker and keeps the read rate high.

11.2 Event tickets and boarding passes use barcodes. A scanner at a gate must read quickly under crowd lighting and sometimes sunlight. Pulsed illumination with synchronous detection gives a clean signal in these mixed conditions.

11.3 Access control badges use barcodes or similar patterns. A scanner at a door must work in bright lobbies and dim corridors. The plus and minus phases cancel steady light and drift, so the same design works in both.

11.4 Kiosks and self-service machines need low maintenance. Pulsing reduces heat and extends laser life, which lowers maintenance costs for machines in public places.

11.5 Mobile phone scanners use similar principles. A phone camera scanning a barcode uses a different technology, but the idea of rejecting ambient light and using timed illumination appears in some dedicated scanner accessories as well.

12. Automotive and Heavy Industry

12.1 Vehicle assembly lines track parts with barcodes. The line may be fast, and the lighting includes welding flash, which is a strong broadband source. Pulsed illumination and synchronous detection help reject the flash and keep reads stable.

12.2 Paint shops and body shops have changing light. A scanner in a body shop sees sunlight, halogen lamps, and LED work lights. The synchronous front end cancels the steady components and improves reliability.

12.3 Parts bins and racks use barcodes for inventory. A handheld scanner in a warehouse aisle must read labels at many angles. The pulsed design gives a strong signal even when the label is partly shadowed.

12.4 Heavy equipment uses rugged scanners. A scanner on a construction site must survive dust, vibration, and temperature swings. Pulsing reduces heat, and synchronous detection cancels drift, which helps in these harsh conditions.

12.5 Tire and component tracking needs durable labels. Barcodes on tires and metal parts can be curved or dirty. The improved signal-to-noise ratio helps read these labels despite the challenges.

13. Food and Agriculture

13.1 Produce labels and shipping crates use barcodes. A scanner in a packing house sees sunlight, sodium lamps, and moving produce. Pulsed illumination helps reject the changing light and keeps reads reliable.

13.2 Cold chain tracking uses scanners in freezers. Temperature changes cause drift, and the synchronous scheme cancels it. This helps maintain traceability from farm to store.

13.3 Livestock tags and feed bags use barcodes. A scanner in a barn or feed mill faces dust and variable light. The pulsed design reduces heat and improves reliability.

13.4 Greenhouse and field operations use portable scanners. Sunlight is strong and variable. Synchronous detection cancels the steady component and leaves the barcode signal, which improves reads outdoors.

13.5 Food safety traceability depends on reliable reads. A missed read can break the traceability chain. The improved signal-to-noise ratio from synchronous detection reduces misses and supports food safety.

14. Transportation and Postal Services

14.1 Parcel sorting uses high-speed scanners. A postal or courier facility moves parcels quickly past scanners. The 500 kHz pulse train provides many samples per label, and synchronous detection rejects the facility lighting.

14.2 Baggage handling uses barcodes on tags. An airport baggage system reads tags at high speed. The pulsed design gives a clean signal under bright terminal lighting and helps avoid misreads.

14.3 Rail and trucking use barcodes for freight tracking. A scanner at a yard or terminal faces sunlight and vehicle lights. Synchronous detection cancels the steady components and improves reliability.

14.4 Mobile scanners in delivery vehicles need low power. Pulsing reduces average power, which extends battery life for handheld scanners used by drivers.

14.5 Postal kiosks need simple, robust designs. A self-service kiosk must work under many lighting conditions. The pulsed front end reduces complexity and improves read rate.

15. Electronics and Semiconductor Manufacturing

15.1 Wafer and panel tracking uses barcodes. A scanner in a fab reads labels on carriers and panels. The lighting may include bright inspection lamps. Pulsed illumination helps reject the steady light and keeps reads stable.

15.2 Clean rooms need low heat and low particles. Pulsing reduces heat, which reduces the need for cooling and fans. This helps maintain clean room standards.

15.3 Automated test lines use fixed scanners. A scanner on a test line must read labels at high speed. The 500 kHz pulse train gives enough samples per label to read it reliably.

15.4 Electrostatic discharge is a concern. The synchronous circuit can be designed with protection devices to survive ESD events. This is important in electronics manufacturing.

15.5 Traceability in electronics requires high accuracy. A misread can cause a wrong component to be placed. The improved signal-to-noise ratio reduces errors and supports quality control.

16. Design Tradeoffs and Practical Considerations

16.1 Pulse frequency versus power consumption. A higher pulse frequency gives more samples but uses more power in the driver. The 500 kHz choice is a compromise that fits many barcode scanners.

16.2 Duty cycle versus laser lifetime. A 50 percent duty cycle balances brightness and lifetime. Other duty cycles may be chosen for specific products, but the principle remains the same.

16.3 Filter bandwidth versus signal fidelity. A narrow filter rejects more noise but may distort the barcode waveform. The designer must choose a bandwidth that passes the barcode signal and rejects the switching frequency.

16.4 Component tolerances affect cancellation. The multiplier and filter must be matched to the laser timing. Small errors reduce the cancellation of ambient light. Careful design and calibration keep the errors small.

16.5 Cost and complexity must be balanced. Synchronous detection adds a multiplier and a filter, but it can replace more expensive optical filters and shielding. In many products, the tradeoff favors the pulsed design.

17. Testing and Verification

17.1 The pulse timing must be verified. An oscilloscope can check the laser drive and the multiplier control signals. The phases must align within a small fraction of the pulse period.

17.2 The ambient light rejection must be measured. A test setup with a bright lamp can measure how well the synchronous front end cancels the steady light. The result should show a large improvement over a simple DC measurement.

17.3 The barcode read rate must be measured. A test conveyor or a moving label can measure the read rate under different lighting conditions. The pulsed design should show a higher read rate than a continuous design.

17.4 Temperature drift must be checked. A thermal chamber can test the scanner over its operating range. The synchronous scheme should keep the signal stable despite drift.

17.5 Eye safety must be verified. A laser power meter and a pulse duration measurement can confirm that the product meets the applicable safety limits.

18. Detailed Summary

18.1 The pulsed laser and synchronous detector form a powerful pair. By switching the laser at 500 kHz with a 50 percent duty cycle and multiplying the detector signal by plus one and minus one, the scanner separates its own light from ambient light and noise. This is the core principle described in this article.

18.2 The circuit is simple but effective. The laser driver, the photodetector, the multiplier, and the low-pass filter form a chain that is easy to build and easy to understand. The multiplier is just a polarity switch, and the filter is a simple averaging network.

18.3 The technique improves signal-to-noise ratio in many ways. It doubles the effective signal swing, cancels offset and drift, rejects ambient light, and makes gain calibration easier. These benefits add up to a cleaner signal and a higher read rate.

18.4 The design appears in many industries. Retail checkout, logistics, manufacturing, healthcare, banking, automotive, food and agriculture, transportation, and electronics all use laser scanners with pulsed illumination and synchronous detection. Each industry has its own lighting and environmental challenges, and the pulsed design helps in each case.

18.5 The 500 kHz and 50 percent values are representative, not universal. Different products may use different frequencies and duty cycles. The principle is the same: time the light and the detection so that the scanner's own signal is extracted and everything else is rejected.

18.6 Practical design requires attention to timing, layout, and testing. Phase alignment, low jitter, clean power, and careful filter design are all important. Testing must verify pulse timing, ambient light rejection, read rate, temperature drift, and eye safety.

18.7 The flying spot and its demands are met by this approach. A laser scanner must move a spot quickly, read weak reflections, and work under many lighting conditions. Pulsed illumination with synchronous detection is a practical way to meet those demands, and it is one of the key circuit principles that turns photons into bits.

18.8 The reader should take away the idea of timed detection. The main lesson is that timing the light source and the detector together gives a powerful way to reject noise. This idea appears in many other systems, from optical communication to medical imaging, and it is worth remembering as a general design tool.

18.9 The article connects principle to practice. The early sections explained the circuit and the noise problem. The later sections showed how the technique appears in real products across many industries. The detailed summary ties these threads together and points to the broader theme of the book: the circuit principles and design reality of barcode scanners.

18.10 The flying spot will keep demanding better front ends. As barcodes get smaller, products move faster, and lighting gets more complex, the demands on the scanner front end will grow. Pulsed illumination with synchronous detection is a foundation that designers can build on, and it will remain a useful tool in the years ahead.

 

EasierSoft Barcode Label Design & Bulk Printing Software

---- Use Excel Data to Batch Print Barcodes on Label Sheets or Roll Labels  

---- How to use this barcode software

Download:  Free Barcode Software + Barcode Label Designer

Download Free Barcode Software at Softonic

     Download at CNET

Once you obtain a GS1/UPC/EAN barcode, or other barcode type and QR code, you can use our free software to batch print barcode labels onto Roll label paper using a professional label printer, or to batch print barcodes onto Avery 5160 label sheets using a regular laser or inkjet printer. Our software has free and paid versions.

The free version fully meets your needs for batch printing GS1/UPC/EAN barcodes. The paid version can import data from Excel and databases to batch print barcode labels with different values.

How to Start

Input Data

Import Excel Data

Print Barcode

Barcode Format

Label Designer

All Screen Shot

Export Barcode Image

Save Template

Output Word Excel

How to Use & FAQ:

Add ascii key to barcode

Auto calculate barcode size (Std)

Make barcode by command line

Export barcode image files

Barcode text font setting

Generate ISBN barcode

Predefined label templates

Printing setup

Save settings

Serial number generator

The supported barcode types

Load Excel data (pro)

Manually copy data from Excel files

Filter some data for printing

Edit imported barcode data

Input data (Pro)

Label Designer

Edit data in Label designer

Label Designer - Add new label

Label Designer - Printing

Set the barcode label format to be printed

Other Barcode Label Format Settings

Barcode types supported by this program

Barcode Label Font Settings

Configuring the Barcode Print Rotation

Text Alignment for Barcode Labels

Automatically Adjusting Barcode Width

Text Beneath the Barcode

Configuring Barcode Size

Auto Calculate the Barcode Size

Export Barcode images

Export Barcode Image Format

File Names for Exported Barcode

Resolution of Exported Barcode Images

Fixed Folder for Exporting Barcode

Default Barcode Image Export Format

Print bulk barcodes quickly

Print barcodes to Avery 5160 label

How to bulk Barcode Printing

Sample - Avery 5162 (2x7) Label Sheet

Example: Print barcodes to 5*3cm roll

Example: Print barcodes to 5161 label

Example: Print barcodes to 5162 label

Example: Print barcodes to 5163 label

Example: Print barcodes to 5164 label

Example: Print portrait orientation 5164

Example: Print barcodes to 5167 label

Example: Print barcodes to 5168 label

Example: Print portrait orientation 5168

Example: Print barcodes to 5169 label

Highlights

Excel integration: Import data directly from Excel to generate and print barcodes in bulk.

Label designer: Create complex labels with multiple barcodes, text, logos, and shapes.

Batch printing: Print thousands of barcodes at once using standard inkjet/laser printers or professional barcode printers.


Flexible editions:

Standard Edition: Simple batch printing with Excel data.

Professional Edition: Adds command-line automation for workflow integration.

Label Designer Edition: Advanced design features for complex labels.


Why Choose Our Barcode Solutions?

Cost-effective: Free online generator and permanent free desktop version available.

Easy to use: No technical expertise required—just input data and print.

Versatile: Supports nearly all 1D and 2D barcode types, including QR codes.

Trusted: Recommended by CNET and widely downloaded by users worldwide.


Suitable Use Cases

Small businesses and startups needing quick barcode labels for products.

Retailers and online sellers managing inventory with batch barcode printing.

Manufacturers requiring sequential or custom barcode labels for packaging.

Educational and testing environments where barcodes are used for tracking.

 

 

CONTACT

cs@easiersoft.com

If you have any question, please feel free to email us.

 

https://free-barcode.com

 

<<< Back to Directory <<<     Barcode Generator     Barcode Freeware     Privacy Policy