EPC EPC110

epc110
Fully integrated configurable light barrier driver & receiver
General Description
Features
The epc110 is a general purpose, fully integrated self-contained
CMOS circuit to be used in light-barrier applications.
 Fully integrated light barrier chip
 Needs just a photo diode and a LED with a LED driver
 Customer configurable version
for i.e. high sensitivity or high speed applica tions
 Integrated clock generator
 CSP10 package with very small footprint
or standard QFN16 package available
The chip contains a controller which drives an LED, typically an IRLED. The LED is used in a pulsed mode to increase the signal-tonoise ratio even when there is very strong sunlight biasing the photo
diode.
It contains also a high sensitive photo diode amplifier and a signal
conditioning circuitry to cancel unwanted environmental light including
strong sunlight and pulsed light sources. The receiver is built around a
synchronous demodulator circuitry. Two output signals with different
threshold levels are implemented in order to trigger the light barrier
output or to indicate light reserve.
Applications
 Light barriers ranging from millimeters to tens of meters
 Smoke detectors
 Liquid detectors
The chip also includes a power supply circuitry to establish all
internally required voltages from one source only.
It can be used either as a standalone device, forming the whole core
of an industrial light barrier. It can also be used together with a microcontroller (µC) for more advance applications.
Functional Block Diagram
for 10-Pin Chip Scale Package (for 16-pin QFN Package)
VDD33 VDD PROG
SCK
VDD 1 (9)
VLED
LED
SCK
Interface
8 (14)
VDD33
VDD18
LED
Voltage Regulator
9 (12)
Parameter
Memory
Processor
10 (10)
SPI
Controller
PD
Signal
Processor
f
3 (6)
D1
2 (7)
4 (4)
CS
GND
7 (15)
EN
SI
6 (1)
5 (2)
OUTN OUTH
SO
Figure 1: Block Diagram
Configuration
Fix-parameter mode
Dynamic mode
standalone
epc110
µC --> “SPI” --> epc110
Internal controlled light barrier read rate
controlled
“EN” --> epc110
µC --> “SPI / EN” --> epc110
External controlled light barrier read rate
Static parameters
Ambient adaptive reading
Application
Table 1: Configurations versus applications
© 2011 ESPROS Photonics Corporation
Characteristics subject to change without notice
1
Datasheet epc110 - V2.1
www.espros.ch
epc110
Absolute Maximum Ratings (Notes 1, 2)
Voltage at any pin except pin VDD
-0.3V to VN +0.3 V
Power Supply Voltage at pin VDD
Programming Voltage at pin VDD
-0.3V to +5.5V
-0.3V to +8.0V
Power Supply Voltage at pin VDD33
Recommended Operating Conditions
Min.
Max.
Units
Operating supply voltage at VDD
Programming voltage at VDD
3.0
7.0
3.6
8.0
V
V
-0.3V to +5.5V
Operating supply voltage at VDD33
3.0
3.6
V
Output current at any pin except pin LED
-6mA to +6mA
Operating Temperature (T O)
-40°
+85°
C
Power Consumption with maximum load
125 mW
Lead Temperature solder, 4 sec. (T L)
+260°C
Humidity (non-condensing)
+5
+95
%
Note 1: Absolute Maximum Ratings indicate limits beyond which damage to the device may occur. Recommended operating conditions
indicate conditions for which the device is intended to be functional, but do not guarantee specific performance limits. For guaranteed specific ations and test conditions, see Electrical Characteristics.
Note 2: This device is a highly sensitive CMOS ac current amplifier with an ESD rating of JEDEC HBM class 0 (<250V). Handling and
assembly of this device should only be done at ESD protected workstations.
Electrical Characteristics
3.0V < VN < 3.6V, -40°C < T A < +85°C, unless otherwise specified
General Data
Symbol
Parameter
Conditions/Comments
Values
Min.
VN
Operating power supply voltage
at VDD33 (and VDD)
VPUP
Power-up Threshold Voltage
Voltage at VDD33 when the device starts up
VPP
Ripple on supply voltage,
peak to peak
IN
Typ.
Units
Max.
3
3.6
2.4
3
V
36nA
70
mV
48nA
150
mV
72nA
350
mV
108nA
600
mV
Input pulse I PD NST
Current consumption operating
in operation mode, I PD = 0 mA, no load
2
mA
IProg
Current consumption programming
in program mode, VDD @ 8.0V, I PD = 0 mA, no load
4
mA
VOH
Output high voltage
except OUTH and LED
VOL
Output low voltage
@ 4mA source, including OUTH and LED
VHOH
Output high voltage OUTH
see Figure 8
VLEDH
Output high voltage LED
@ 0.1mA sink current
ILED
Source current maximum
at Pin LED, V LED @ 0... VN - 1.0V
VIH
Input high voltage
VIL
Input low voltage
ILEAKD
VN - 0.5V
V
0.5
V
1.3
mA
0.7*VN
VN
V
GND
0.3*VN
V
10
µA
VN - 0.5V
V
0.7
Input leakage current
RPU
Pull-up resistor
internal at digital input
fclk
Reference clock
of internal oscillator - for information only
All internal timings are referenced to this clock
32
MHz
dfclk
Temperature drift
of the oscillator - for information only
640
ppm/K
© 2011 ESPROS Photonics Corporation
Characteristics subject to change without notice
30
2
200
kΩ
Datasheet epc110 - V2.1
www.espros.ch
epc110
SPI Interface Data (for more details refer to “SPI Interface“)
Symbol Parameter
Conditions/Comments
Values
Min.
fSCK
Max.
10
tH
High period of SCK
50
tL
Low period of SCK
50
trfSCK
Typ.
SCK Clock frequency
Units
MHz
ns
ns
Serial clock rise / fall time of SCK
20
ns
t1
Edge time CS --> SCK
50
ns
tSU
Set-up time of SI
15
ns
thold
Hold time of SI
15
ns
tD
Output data of SO valid after SCK
20
ns
trf
Output data rise / fall time of SO
20
ns
Other Data (refer to “Functional Description“)
Symbol
Parameter
Conditions/Comments
Parameter
Values
Min.
Typ.
Units
Max.
IPDN
Photo Current Sensitivity OUTN
Pulse height to trigger internal threshold
OUTN. Refer to Functional Description
SENSN
Programmable between
24...108
nA
IPDH
Photo Current Sensitivity OUTH
Pulse height to trigger internal threshold
OUTH. Refer to Functional Description
SENSH
Programmable between
60...144
nA
Ipulse
Maximum Input Pulse Current
If the input current pulse is above this level,
the recovery time t REC becomes trelax . (refer to
parameter trelax)
100
µA
IN_Imin
Input related noise
@ IPDDC =0
15
nA RMS
IN_Imax
Input related noise
@ IPDDC =IPDDCMax
20
nA RMS
IPDDC
DC Photo Diode Current
generated by ambient light with no effect to
the sensitivity
2
mA
CPD
Photodiode Capacitance
Refer to section Application Information,
Photodiode Capacitance
50
pF
tPulse
LED Pulse Length
tCycle
LED Cycle Time
trelax
Recovery time
after a strong current pulse (I pulse = 100µA)
tR
Response Time
Minimum time from light beam detection to
status change of the output OUTN or OUTH.
tR_MAX = ( nV + 1 ) * tCycle
refer to
tCycle / nV
Programmable between
10µs...3.3s
tF
Release Time (fall time)
Minimum time from beam interruption to
status change of the output OUTN or OUTH.
tF_MAX = ( nM + 1 ) * tCycle
refer to
tCycle / nM
Programmable between
10µs...54.6min
nV
Valid pulse counts
Number of weighted valid (non-missing)
pulses to trigger the output.
Refer to Functional Description
INC
(Programmable between
1…32 pulses)
nM
Missing pulse counts
Number of weighted missing pulses to
release the output.
Refer to Functional Description
DEC
(Programmable between
1…32'767 pulses)
for fork light barrier, standalone mode
0.0
TPULSE
Programmable between
1…8
µs
TPER
Programmable between
5…100'000
µs
for fork light barrier, controlled mode
© 2011 ESPROS Photonics Corporation
Characteristics subject to change without notice
3
controlled by EN input
50
µs
Datasheet epc110 - V2.1
www.espros.ch
epc110
Other Parameters
Sensitivity [nA]
(typical values, T amb = 25°C, VDD = 3.3V)
120
110
100
90
80
70
60
50
40
0
1
2
3
4
5
6
Pulse width [us]
Figure 2: Input Sensitivity vs. LED pulse width
© 2011 ESPROS Photonics Corporation
Characteristics subject to change without notice
4
Datasheet epc110 - V2.1
www.espros.ch
epc110
2
3
4
10-Pin Chip Scale Package (CSP)
8
7
NC_GND
NC_GND
VDD18
VDD
2
3
4
16-Pin QFN Package
10-Pin
CSP
16-Pin
QFN
1
9
VDD
Power Supply
Positive power supply.
Operation mode: to be connect to VDD33.
During command PROG: to be connected to programming voltage.
2
7
GND
Power Supply
Negative power supply pin.
3
6
PD
Analog Input
Photo diode input.
4
4
CS
Digital Input
Terminated with internal pull up resistor
Light barrier:
Mode selection:
CS = 1: Operation Mode (LED, EN, OUTN active)
SPI interface:
Chip select,
CS = 0: Command/Program Mode (SCK, SI, SO active)
5
2
OUTH
Digital Output
Load depending
Light reserve detected - see Figure 8.
Refer to section Light Reserve Output OUTH
Open drain output
6
1
OUTN
SO
Digital Output
Open drain output
Light barrier:
Light pulses detected, amplified and filtered signal
see Functional
DescriptionLST
PIN Connections
QFN16-VEEDSPI interface:
Serial data output
1VN4
7
15
EN
SI
Digital Input
Terminated with internal pull up resistor
Light barrier:
Fork light
barrier
controlled
mode:
PIN
Connections
QFN16-VEED1VN4
Fork light
barrier standalone mode:
SPI interface:
File:Serial data input
8
Pin Name Type
1
CS
1
NC_GND
CS
16
PD
15
NC_GND
GND
PD
Top View
EN/SI
VDD
GND
6
LED/SCK
NC_GND
5
5
OUTH
OUTH
Top View
14
VDD18
13
10
NC_GND
OUTN/SO
6
OUTN
SO
12
7
EN
SI
11
8
LED
SCK
10
9
VDD33
9
VDD33
Connection Diagrams
Description
LEDLST
pulse stimulation
No function.
LED
SCK
Digital Output
Digital Input
Light barrier:
SPI interface:
12
VDD33
Power Supply
Positive power supply.
10
10
VDD18
Decoupling
Pin for external filter/decoupling of the internal 1.8V supply: 4.7nF ceramic type
Not for supply of external circuits
n/a
3, 5, 8,
11, 13,
16
NC_GND
Characteristics subject to change without notice
Page 1
This document is confidential and protected by law and international trades. It must not be shown to any third party nor be copied in any form without our written
14
© 2011 ESPROS Photonics Corporation
20.05.2011
Output to LED driver
Serial input/output clock.
For start/stop condition of SPI communication (while CS = 1):
Set SCK =1 and SCK line in tristate mode (high ohmic)
Not connected. Connect this pins to GND (Guarding).
5
Datasheet epc110 - V2.1
www.espros.ch
epc110
Functional Description
Light barrier applications
To cover different aspects of applications the epc110 device can operate in various modes:
1.
2.
3.
4.
Standalone mode
The LED flashes in a predefined/programmed cycle time.
Controlled mode together with a micro-controller
The LED pulse starts on the positive edge of the input EN. The light is detected while the enable signal EN is high.
Fix-parameter mode
This is the use of a pre-programmed parameter setting all the time. Usually the programming takes place during configuration and
test period of the board.
Ambient adaptive reading by dynamic parameters
In this mode the micro-controller is doing the parameter setting during the operation mode. For the communication the SPI interface
is used. For more technical details refer to chapter “SPI Interface“.
Application is for enhanced functionality and requirements as additional filtering of environmental ac light, adjustments of the
sensitivity on the fly, controlling the LED current by micro-processor, etc. Example of a sensitivity control: The photo diode current is
compared to two threshold levels. The result from the higher comparison ( OUTH) may be used to regulate the LED current as well
the photodiode receiving parameters appropriate to the environmental conditions.
Light barrier application without an additional controller
RStab
VDD
VDD
epc110
RLED
VDD33
OUTN
OUTN
OUTH
OUTH
C1
LED
PD
C2
GND
D2
D1
GND
Figure 3: Principle of standalone light barrier application
Figure 3 shows the epc110 in a light barrier application with minimal part count. The LED flashes with a predefined rate. If the current of the
light reflected (e. g. from a diffuse reflecting object or a retro reflector) to the photo diode at pin PD exceeds the threshold val ue IPDN, the output
OUTN goes to the low state for a time which is longer than the time to the next LED pulse. Thus, the signal at the pin OUTN is constantly low
when the photo diode generates a photo current which exceeds the threshold level. The stored flashing parameters of the LED can be
programmed using the SPI interface described in this manual.
The photo diode current is compared to two threshold levels. The result OUTH from the higher comparison level may be used to detect the
light reserve.
Light barrier application using a micro-controller
If additional functionality is required in a specific application, a micro-controller can be used. Such additional requirements can be power
saving modes, additional filtering of environmental ac light, counting purposes, etc. In this configuration, the LED emits one light pulse on the
positive edge at the pin EN. The photo diode bias and amplifier chain is enabled while the enable signal EN is high so a light pulse can be
detected.
Transmitter
24.01.2011
LST
Page 1
rades. It must not be shown to any third party nor be copied in any form without our written permission.
© 2011 ESPROS Photonics Corporation
Characteristics subject to change without notice
6
Datasheet epc110 - V2.1
www.espros.ch
epc110
RStab
VDD
VDD
epc100
VDD33
RLED
VDD
µC
OUT OUT
IN1
IN2
OUTN
OUTH
EN
EN
PD GND
GND
C1
LED
GND
Figure 4: Principle of controlled light barrier application using a micro-controller
The photo diode current is compared to two threshold levels. The result OUTH from the higher comparison level may be used to detect the
light reserve.
Evaluation of a single light pulse
The photodiode is operated against ground and is reverse biased at a constant voltage of 1.2V. The input impedance of pin PD is kept low
(<1 kOhm @ 100kHz) in order to minimize the influence of the parasitic capacitance of the photodiode. To ensure proper operation under high
ambient-light conditions, the photo diode DC current can be up to 2 mA.
The resulting current from the light pulses are converted to a voltage, filtered, amplified and compared to two different threshold levels. The
lower threshold SENSN (input related 60nA typical) is used for the detection of the signal, the higher threshold SENSH (input related to
96nA typical) is used to provide an output when a certain signal reserve is achieved.
To detect the received light pulse properly, the given threshold must be at least five times higher than the rms value of the noise floor
generated by the circuitry without ACAN
lightepc100
stimulation.
light curtain Transmitter
The comparator resultsFile:
are digitally filtered and output at pin OUT and OUTH.
document is confidential and protected by law and international trades. It must not be shown to any third party nor be copied in any form without our written permission .
The parameter TPER This
defines
the scan period in the standalone light barrier application but has also an impact to the settling time of the
receiver in the controlled mode application. It this case it has to be set corresponding to the scan period. Refer to the description of the TPER
command.
For each single light pulse, received and detected by the photodiode, the threshold levels for output OUTN and for output OUTH can be set by
programming (parameter SENSN resp. SENSH). They are processed according to the following principle to propagate the output signals
OUTN and OUTH resp. OUTNINT and OUTHINT. As far the received light pulse signal exceeds the corresponding threshold level, the pulse will
be recognized as a valid pulse and the detection circuit sets the appropriate output signal OUTN INT or OUTHINT.
IPD
Light pulse detection
IPD
Light reserve detection
Threshold levels:
Light reserve OUTH
Signal output OUTN
t
t
t
t
t
t
OUTNINT
OUTHINT
Figure 5: Pulse evaluation
© 2011 ESPROS Photonics Corporation
Characteristics subject to change without notice
7
Datasheet epc110 - V2.1
www.espros.ch
LST
epc110
Pulse Modulated Operation (e.g. OUTN int to OUTN)
The epc110 chip operates the LED and the receiver path on a pulse modulated concept. Thus, the LED is operated with short pulses whereas
the receiver channel does synchronous demodulation of the received light pulses by reading the current pulses of the photo diode. This
concept allows a very high sensitivity, high speed operation, and a high suppression of input ambient or foreign light (DC currents) generated
by sunlight or other DC light sources like light bulbs. The pulse length is set by the parameter TPULSE.
In the standalone mode the whole system is clocked by the scan period defined by the programmed parameter TPER. In the controlled mode
the timing is propagated from the external sig nal EN (positive edge, synchronized on the internal clock).
In order to eliminate interference caused by modulated light, e.g. a flashing light or by other light barriers, the input signal from the photodiode
is amplified, filtered, and processed by an integrated signal processor. If the photo diode signal meets the required frequency, pattern and
amplitude, the output(s) are triggered. The following timing diagram shows the basic concept.
tCycle
tPulse
on
off
Emitter LED
yes
Beam interrupted
no
Photo diode current IPD
1
2
nM
1
2
nV
OUTNINT or OUTHINT
OUTN or OUTH
[V]
tF
tR
Release time
missing pulses
Response time
valid (non-missing) pulses
Figure 6: Pulse modulation concept
It is in fact a digital filter which counts missing and non-missing pulses to change the ou tput state of OUTN or OUTH.
Working principle of the digital filter e.g. for the signal OUTNint to OUTN Filter:
The aim of this programmable filter is to suppress single pulses, so they cannot trigger the output and generate a false signals.
This filter is based on a counter, which is counting up (increment) the valid pulses and counting down (decrement) the missing pulses in a
weighted manner. Separate weighting factors can be selected for valid pulses (parameter INC) and missing pulses (parameter DEC). If the
counter reaches the upper limit (maximum count, response time), the signal OUTN is set to LOW. Similar in the opposite direction, if the
counter reaches zero, the lower limit (minimum count, release time), the signal OUTN is put to HIGH. With the parameters INC and DEC the
filter has the advantage of individual selectable gradients of the slopes. Counter will never exceed maximum nor minimum limit. In between it
acts as an integrator of both parameters.
IF Pulse then
–
IF Pulse = valid then
Counter = Counter + (INC * 1024 for INC > 0 and 32 * 1024 for INC = 0)
IF counter > 2 15 (maximum limit) then Counter = maximum limit
IF counter = maximum limit then OUTN = 0
–
IF Pulse = missing then
Counter = Counter - (2 DEC)
IF counter < 0 (minimum limit) then Counter = minimum limit
IF counter = minimum limit then OUTN = 1
ELSE wait for Pulse
Lets assume that the photo diode does not receive light pulses for a long time: This means the light beam is interrupted. Then OUTN is at high
level. If the light beam is not anymore interrupted, the photodiode receives light pulses which are strong enough to trigger the OUTNINT
threshold and the internal pulse evaluation unit (designated in Figure 5 with 'Pulse evaluation') starts to count the receiving pulses. If the
number of received pulses reach the set level n V, the output OUTN turns to low level. Thus, single pulses cannot trigger the output and
generate a false signal.
The same procedure is used when a beam changes from not interrupted to interrupted. The internal pulse evaluation unit counts the missing
pulses. If the number of missing pulses reaches the set level n M, OUTN is turned to high level.
© 2011 ESPROS Photonics Corporation
Characteristics subject to change without notice
8
Datasheet epc110 - V2.1
www.espros.ch
epc110
The same principle applies to the counter and signal of OUTH.
The parameter INC defines the delay nV in number of clock cycles from the start of a pulse chain to the negative edge of OUTN.
The parameter DEC defines the delay n M from the end of a pulse chain to the positive edge of OUTN.
Application
example
No. of
Pulses nM
No. of
missing Pulses n V
Long range
8
8
High speed
3
2
Table 2: Example: Settings based of filter coefficients INC and DEC
Light Pulse Detection Output OUTN
The epc110 contains two digital outputs to indicate that a valid signal of light pulses are received by the photo diode. The first output OUTN is
triggered, when the lower threshold is reached by the input signal (see Figure 5). This output is used usually to drive the output of the light
barrier. This is a fully CMOS compatible digital output.
Light Reserve Output OUTH
However, if the incoming signal is just at the trigger threshold of OUTN, an unstable situation can occur. Thus, a second output OUTH is
integrated with a higher trigger threshold to indicate that a certain 'light reserve' is reached (see Figure 5). This output is usually used to drive
a visible LED to indicate to the operator a stable detection function of the light barrier. To have not too short pulses OUTH, this signal is
stimulated by signal OUTH Filter and synchronized reseted by OUTN.
Emitter LED
OUTN Filter
OUTH Filter
OUTN
OUTH
Figure 7: synchronization OUTH with OUTN
The trigger threshold of OUTH is set usually approx. 50% above the trigger threshold of OUTN.
This output is not CMOS compatible. Its voltage is depending of the load according to Figure 8.
OUTH low max.
Current OUTH [mA]
OUTH high max.: 3.6V / - 40ºC
OUTH high typ.
OUTH high min.: 3.0V / + 85ºC
Voltage OUTH [V]
Figure 8: Output voltage versus output current of output OUTH
© 2011 ESPROS Photonics Corporation
Characteristics subject to change without notice
9
Datasheet epc110 - V2.1
www.espros.ch
epc110
To have still digital compatible signals a level conversion is necessary. Below you find some examples for such circuits for converting OUTH
levels to full CMOS compatible digital output.
+3.3V
R4
10k
VDD
epc110
VDD33
VDD18
R2
12k
R1
3k6
OUTH
T1
BC846 B
LED
PD
OUTN
OUTH
GND
R3
4k7
GND
Figure 9: Non-inverting, low power level shifter (additional current approx. 0.6mA)
+3.3V
+3.3V
VDD
epc110
R3
33k
R1
1k5
VDD33
R4
22k
VDD
epc110
VDD33
OUTH
VDD18
VDD18
LED
PD
OUTN
OUTH
GND
R2
10k
R1
3k6
R2
12k
OUTH
T1
BC846 B
LED
PD
T1
BC846 B
R5
33k
T2
BC846 B
OUTN
OUTH
GND
R3
4k7
<name>
<Title>
<xx>
File:
GND
This document is confidential andGND
protected by law and international trades. It must not be shown to any third party nor be copied in any form without our written permission .
Figure 10: Simple inverting level shifter
(additional current approx. 1.6mA or 2.6mA)
Figure 11: Inverting, low power level shifter
(additional current approx. 0.8 ... 1.0mA)
<name>
<Title>
<xx>
File:
This document is confidential and protected by law and international trades. It must not be shown to any third party nor be copied in any form without our written permission .
<name>
24.01.2011
<xx>
Page 1
cted by law and international trades. It must not be shown to any third party nor be copied in any form without our written permission
.
© 2011 ESPROS Photonics Corporation
Characteristics subject to change without notice
10
Datasheet epc110 - V2.1
www.espros.ch
epc110
Parameters
The parameters are defining the functionality of the epc110. The big variety of possible settings allows to cover a wide range of applications.
The devices contains a memory to store the application parameters. They are stored into 16bit registers. The registers are organized into
2 blocks: a volatile and a non-volatile one.
Parameter Memory Organization (epc110)
The following classes of data are stored for each device:
•
•
Application parameters
Unique chip ID and chip adjustments (factory set)
This data can be permanently stored in a read-only memory (ROM) 1 and is mirrored in a volatile memory (RAM). At power up, the data
(except the chip ID) is copied from the ROM to the RAM. During operation, the data from the RAM is used. Both memories are organized in
16 registers at 16 bits each. The data can be accessed on a 16-bit register base.
If a register has been burned (=stored into the ROM) the first bit is set: FUSEBIT = 1. If VMOD = 1 is selected, the register cannot be modified
any more nor in RAM nor in ROM area. For VMOD = 0 the RAM area is still accessible.
So far the chip can be operated in two different modes:
•
Fix-parameter mode VMOD = 1: e.g. as standalone or pre-configured device
Operated with not modifiable data from RAM, which are stored permanently in ROM.
•
Dynamic mode VMOD = 0: e.g. for adaptive systems, dynamic systems
Operated with modifiable data from RAM. The SPI interface allows to modify these data in the RAM area at any time on the fly.
At power up these data are loaded from the permanent stored data in the ROM. If the run-time configuration differs from the data set
stored in the ROM, it has to be restored after each power-up again by the external micro-processor over the SPI interface.
The following table shows the memory organization:
Non-Volatile Memory Address Range Volatile Memory Address Range
(Register no.)
(Register no.)
Description
0-3
16 - 19
Application parameters
4-6
20 - 22
Trim values, factory set
7
23
8 - 15
-
-
24 - 31
Device Address (not applicable)
Chip ID, factory set
For factory test purpose. Read only.
Table 3: Memory map overview
As shown in the table above, registers 0 – 3 are used for configuring the chip in the application. Before the devices can be used in a final lightbarrier system, the required application parameters of the chip in the system have to be stored into the device memory.
The following table shows the allocation of the available parameters in the memory of the epc110:
Bit #
Register #
ROM RAM
0
16
1
17
2
18
3
19
4
20
5
21
6
22
7
23
8
24
9
25
10
26
11
27
12
28
13
29
14
30
15
31
15
14
VMODE
0
13
12
MODE
TPER
0
11
1
10
9
0
0
DEC
0
0
1
0
8
7
6
5
0
0
0
0
1
0
1
don't use
don't use
don't use
don't use
don't use
Lot no. LSB
Lot no. MSB
Chip ID
Factory use only
Revision no.
no function
no function
no function
0
0
INC
SENSH
4
3
2
TPULSE
0
SENSN
1
0
POL FUSEBIT
0 FUSEBIT Application
FUSEBIT parameters
FUSEBIT
FUSEBIT
FUSEBIT Trimming
FUSEBIT
FUSEBIT Device Address
FUSEBIT
FUSEBIT
FUSEBIT
FUSEBIT
Chip ID
FUSEBIT
FUSEBIT
FUSEBIT
FUSEBIT
Figure 12: Detailed memory map epc110
1 The non-volatile memory is a one-time-programmable memory (OTP). Once the memory is programmed, the programmed values cannot be
overwritten anymore.
© 2011 ESPROS Photonics Corporation
Characteristics subject to change without notice
11
Datasheet epc110 - V2.1
www.espros.ch
epc110
Parameter settings can be done by writing complete 16 bit registers only.
Bits marked up in white fields shall be modified or programmed only. Gray marked bits with a given value in the memory map above must be
set to this. Never change the memory content of gray marked cells without numeric indication. Writing to this cells is not allowed.
The RAM can be written only, if the corresponding ROM memory hasn’t been written before (FUSEBIT = 0) or if the volatile mode is active
(VMODE = 0). The first bit of each 16-bit ROM register serves as write inhibit bit (FUSEBIT). To write to the ROM, the micro-controller has to
write the data to the RAM first (with FUSEBIT = 0). From there, the micro-controller can first double check the data integrity. When a memory
section is verified, the content can be transferred from the RAM memory to the ROM using the command PROG (refer to chapter Command
PROG). While processing this instruction the FUSEBIT will be set to “1” by epc110.
The device is fully operational as well without programming the ROM, but data will be lost at power down. Operating the chip in this mode is
helpful during the development of the product or if your application needs an adaptive mode. However, in the final application for a standalone
or self-reboot operation, the parameters must be stored into the ROM memory.
Parameter Description (epc110)
Parameter
Name
FUSEBIT
POL
TPULSE
n/a
MODE
Register No.
ROM
RAM
0
16
0
0
2
0
Bit No.
0
Values
0
The corresponding ROM register is not programmed
1
The corresponding ROM register is programmed
1
Polarity of the LED pulse. Setting is depending on the LED driver circuitry.
1
Values
0
active low
1
active high
16
16
During write operation to this RAM register, put this bit = 0.
This bit will be set automatically, when corresponding ROM register is prog rammed.
0
16
18
Function
4...2
Default
X
Pulse length tPulse of the light pulse
4
3
2
Values
Default
0
0
0
1μs
X
0
0
1
2μs
0
1
0
3μs
0
1
1
4μs
1
0
0
5μs
1
0
1
6μs
1
1
0
7μs
1
1
1
8μs
11...5
Recommended Setting
X (typical setting)
no function, must be set as listed below
11
10
9
8
7
6
5
1
0
0
0
0
0
0
14...12
Recommended Setting
X
Definition of operation mode.
14 13
12 Value
1
0
1
Fork light barrier, standalone mode:
LED pulse and light detection reading generated internally.
0
1
1
Fork light barrier, controlled mode:
Externally stimulated LED pulse by positive edge of signal on pin EN.
Externally controlled light detection by signal on pin EN=1.
x
x
x
All other settings forbidden. Function of the device not defined and guaranteed.
© 2011 ESPROS Photonics Corporation
Characteristics subject to change without notice
12
Datasheet epc110 - V2.1
www.espros.ch
epc110
VMODE
0
16
15
Disables WRITE access to volatile RAM
11
Values
Default
0
On
X
Recommended Setting
WRITE access to RAM possible.
1.
2.
1
Off
Fix-parameter mode / Debug mode:
This setting allows to overwrite the RAM contents, which is useful during debugging.
Once the system is fully developed, this parameter should be set to “1”.
Dynamic mode:
This setting could also be useful for dynamic system application, if the system
parameters should be changed “on the fly” after power-up. It is recommended to
program the parameters and burn it into the ROM first. All deviating run-time
parameters have then to be downloaded on the fly after power-up every time.
WRITE access to RAM denied.
Set to “1” in the final product to avoid accidentally overwriting of the contents of the RAM registers.
Parameter
Name
FUSEBIT
n/a
INC
n/a
Register No.
ROM
RAM
1
17
1
1
1
17
17
17
Bit No.
Function
0
During write operation to this RAM register, put this bit = 0.
This bit will be set automatically, when corresponding ROM register is programmed.
0
Values
0
The corresponding ROM register is not programmed
1
The corresponding ROM register is programmed
2...1
2
1
0
0
6...3
no function, must be set to “0”
Weight of valid pulse counts. Refer to Pulse Modulated Operation (e.g. OUTNint to OUTN) :
Minimum number of valid (non-missing) pulses nV of light detection for counting the r esponse time t R.
6
5
4
3
INC
min. nV
0
0
0
0
0
1
0
0
0
1
1
32
0
0
1
0
2
16
0
0
1
1
3
11
0
1
0
0
4
8
0
1
0
1
5
7
0
1
1
0
6
6
0
1
1
1
7
5
1
0
0
0
8
4
1
0
0
1
9
4
1
0
1
0
10
4
1
0
1
1
11
3
1
1
0
0
12
3
1
1
0
1
13
3
1
1
1
0
14
3
1
1
1
1
15
3
8...7
8
7
0
0
© 2011 ESPROS Photonics Corporation
Characteristics subject to change without notice
Setting
X (Default setting)
X (typical setting)
no function, must be set to “0”
13
Datasheet epc110 - V2.1
www.espros.ch
epc110
DEC
TPER
Parameter
Name
FUSEBIT
SENSN
1
1
17
17
Register No.
ROM
RAM
2
18
2
18
12...9
Weight of missing pulse counts. Refer to Pulse Modulated Operation (e.g. OUTNint to OUTN) :
Minimum number of missing pulses nM of light detection for counting the r elease time (fall time) t F.
12
11
10
9
DEC
0
0
0
0
0
Min. nM
32768
Setting
0
0
0
1
1
16384
0
0
1
0
2
8192
0
0
1
1
3
4096
0
1
0
0
4
2048
0
1
0
1
5
1024
0
1
1
0
6
512
0
1
1
1
7
256
1
0
0
0
8
128
1
0
0
1
9
64
1
0
1
0
10
32
1
0
1
1
11
16
1
1
0
0
12
8
1
1
0
1
13
4
1
1
1
0
14
2
1
1
1
1
15
1
X (Default setting)
X (typical setting)
15...13
For fork light barrier, standalone mode: LED cycle time tCycle.
For fork light barrier, controlled mode: Select next lower value then external EN cycle time.
15
14
13
0
0
0
5μs
0
0
1
10μs
0
1
0
30μs
0
1
1
100μs
1
0
0
300μs
1
0
1
1ms
1
1
0
10ms
1
1
1
100ms
Bit No.
Values Default
Recommended Setting
X
X (typical setting)
Function
0
During write operation to this RAM register, put this bit = 0.
This bit will be set automatically, when corresponding ROM register is programmed.
0
Values
0
The corresponding ROM register is not programmed
1
The corresponding ROM register is programmed
3...1
Lower threshold setting of the p hoto current sensitivity IPDN to trigger output OUTN.
3
2
1
0
0
0
24nA
0
0
1
36nA
0
1
0
48nA
0
1
1
60nA
1
0
0
72nA
1
0
1
84nA
1
1
0
96nA
1
1
1
108nA
© 2011 ESPROS Photonics Corporation
Characteristics subject to change without notice
Values Default Recommended Comments
X
A lower value increases the sensitivity. A too sensitive setting leads to
false readings because of shot noise of the receiver photo diode and the
internal amplifier (typ. input noise level is 7nA RMS without photo diode).
Also induced EMI can lead to false readings if the sensitivity is set too
low. The EMI sensitivity is heavily depending on the system architecture
and the electromechanical design. The better the shielding of the chip
and the photo diode and the better the PCB layout, the better the EMI
immunity.
X
The tolerance of the threshold is approx. ±25%.
14
Datasheet epc110 - V2.1
www.espros.ch
epc110
SENSH
n/a
2
2
18
18
6...4
Upper threshold setting of the p hoto current sensitivity IPDH. to trigger output OUTH.
6
5
4
0
0
0
60nA
0
0
1
72nA
0
1
0
84nA
0
1
1
96nA
1
0
0
108nA
1
0
1
120nA
1
1
0
132nA
1
1
1
144nA
15...7
Values Default Recommended Recommended Setting
X
Common use is to set this value 50% above the value used at SENSN,
i.e., if SENSN is put to 48nA, set SENSH to 72nA.
The tolerance of the threshold is approx. ±25%.
X
no function, must be set as listed below
15 14 13 12 11 10
9
8
7
0
1
0
1
0
0
0
1
0
Sample Parameter Setting
In the section “Applications“ you will find programming examples for “Long range light barrier application (refer also to datasheet epc111)“ and
for “High speed detection rate design (refer also to datasheet epc112) “.
© 2011 ESPROS Photonics Corporation
Characteristics subject to change without notice
15
Datasheet epc110 - V2.1
www.espros.ch
epc110
SPI Interface
The serial peripheral interface (SPI) allows the micro-controller to communicate with the epc110 device. It allows the access to the internal
memory of the chip for parameter setting and programming for configuration or in a dynamic mode to change parameters on the fly.
Hardware interface
This functionality is given by double-used pins: LED/ SCK, EN/SI, OUTN/SO.
The signal CS does the selection, if the operation mode or the command/program mode is active:
1.
2.
CS = 1:
CS = 0:
operation mode
→ LED, EN, OUTN are active.
command/program mode
→ SCK, SI, OUTN are active.
As long as CS = 0 the pin LED/SCK is set to high-ohmic and defined as input pin.
IMPORTANT NOTICE:
Due to fact of the advantage of the flexibility in use of this devic e the responsibility of any possible hardware, LED load or LED driver conflicts
have to be handled by the user and are depending of the final application schematic. Main items to take care of are:
•
Double-use as input as well output of LED/ SCK signals/line. For non-standalone application a well done decoupling of the signals is
needed.
•
Parameter setting and programming of the device in final application environment e.g. if LED and LED drivers are not designed for
continuous mode application, risk of overloading.
•
During SPI access of the device in final application environment e.g. if LED and LED drivers are not designed for continuous mode
application, risk of overloading.
Possible solutions are discussed at the example of the principal schematic “ Figure 13: Hardware interface micro-controller – epce110 “.
VDD PROG
VLED
R5
R2
T2
VDD
R6
R8
D1
epc110
T3
INV1
VDD33
CS
VDD18
LED/SCK
PD
OUTN/SO
D4
8V2
AND1
T1
+
C1
EN/SI
OUTH
D2
S1
R1
GND
D3
VDD µC
V_IN
V_OUT
Regulator 3.3V
ADJ
VDD
R3
T4
R7
µController
OUT PROG
BUF1
CS
SCK
SO
SI
R4
OUT ESCK
GND
IN
GND
<Title>
Figure 13: Hardware interface micro-controller – epce110
LST
<xx>
25.01.2011
Page 1
File: Unbenannt
1.This document
Mode
selection: Operation mode - Parameter/Program mode
is confidential and protected by law and international trades. It must not be shown to any third party nor be copied in any form without our written permission
.
As long the device is not connected to an LED driver, the access to the SPI interface is allowed while CS = 0. This can simply be
done by the switch S1 before power up the circuit. In this case the output LED/ SCK will not be driven as an output.
2.
Run-time access of SPI interface
To have no conflicts together with a micro-processor on the bus line LED/SCK (Output/input) during run-time operation in this
example, the decoupling and interfacing of the LED/ SCK line is done by the tristate buffer BUF1, the additional input IN and
additional output enable SCK (OUT ESCK). While the LED is in operation, driven by the epc110, OUT ESCK = 0 will tristate the
buffer and the SCK line from the micro-processor. With the input IN the micro-processor can read the status of the LED/ SCK line
after the buffer for finding the correct transition time.
© 2011 ESPROS Photonics Corporation
Characteristics subject to change without notice
16
Datasheet epc110 - V2.1
www.espros.ch
epc110
Signal conditions and sequences:
Operation mode:
CS = 1, SCK =1, BUF1 = tristate (OUT ESCK = 0), LED/SCK toggling by epc110.
Mode transition to SPI:
If LED/SCK = 1: SCK =1, BUF1 = transparent (OUT ESCK = 1), CS = 0.
Parameter/program mode:
CS = 0, BUF1 = transparent (OUT ESCK = 1), SCK and LED/SCK toggling by micro-processor.
Mode transition to operation: If LED/SCK =1: BUF1 = tristate (OUT ESCK = 0), CS = 1.
3.
Overload-protection of LED and LED driver
Are the LED and LED driver not designed for continuous mode operation, there is a risk of overloading the LED or the LED driver in
case of no decoupling of the LED driver input from the SPI interface as well from the command instructions. The signals on the line
LED/SCK are depending of the status of the SCK signal itself and from the commands polarity of LED pulse POL, pulse length
TPULSE, Mode selection MODE and the status of the line EN.
In the example circuitry this decoupling is done by the signal OUT ESCK, the inverter INV1 and the and-circuit AND1. In case of
switching the buffer BUF1 transparent (OUT ESCK =1) the LED driver signal is set to low.
4.
Supply of the programming voltage (VPROG 7.5V) at pin VDD (refer also to chapter “ Programming Procedure“)
To write the data from the volatile RAM section to the non-volatile ROM section a programming voltage has to be connected to the
VDD pin of the epc110 following the timing diagram of Figure 17: Direct programming procedure.
This is done by an overwriting voltage source to the VDD pin in the proposed design. The main supply for he micro-processor and
the epc110, pin VDD33 is done by the 3.3V voltage regulator, the diode D3 and the resistors R3 and R4. Pin VDD of the epc110 is
fed by diode D2. This allows to overwrite the 3.3V operating supply by the higher 7.5V programming voltage. The programming
voltage is produced by the voltage regulator T3, D4 and R6. Switch on/off of the programming voltage will be done by the R7,T4,R5
and T2 and the signal OUT PROG.
Timing Specifications of telegrams
While CS = 0 and serial clock SCK is toggling in bi-directional function data are
–
–
on input SI read in (Command) with the positive edge and
on output SO read out (Result) with the negative edge of the serial clock.
Means whilst data are sent to the epc110 chip by the micro-controller, in parallel the result of the last (or more generally: of a previous)
command is sent back from the epc110 to the micro-controller according to the SPI protocol. The timing diagram is shown in Figure 14).
t1
CS
tL
trfSCK
tH
1/fSCK
SCK
tSU
tHold
SI
trf
tD
SO
CS
SCK
SI
SO
Device selection
Serial input/output clock – positive edge: data read in; negative edge: data read out
Serial data input
Serial data output
Figure 14: SPI bus timing
Raster 2.5 x 2.5mm
© 2011 ESPROS Photonics Corporation
Characteristics subject to change without notice
17
Datasheet epc110 - V2.1
www.espros.ch
epc110
Symbol Parameter
Comments / Conditions
Values
Min.
t1
Edge time CS to SCK
f SCK
Clock frequency of SCK
Falling edge CS to falling edge SCK
tH / tL
HIGH and LOW period of SCK
tSU / tHold
Set-up and hold time of SI
Data stable before and after positive edge of SCK
tD
Output data of SO valid
Data valid after negative edge of SCK
trf / trf SCK
Rise / fall time SO / SCK
Typ.
Units
Max.
50
ns
10
MHz
50
ns
15
ns
20
ns
20
ns
Input Data Format and Command List
The communication is based on telegrams (Direct commands or results), which are sent and received over the SPI interface.
The input data format (telegram) is given in Figure 15. The first bit in the data stream from the microprocessor to the epc110 chip (SI pin) will
be B = 0 always.
CS
SCK
B
SI
C0
C1
C2
R0
R1
R2
R3
R4
D0
Dn
T1
T0
Data
Register Address or Cmd Extension
Command
D1
Figure 15: Communication to the epc110 device: Direct Command
Command set:
Name
Cmd Code
Start
B
Cmd Code
Command
C0...C2
Cmd Code
Extension
R0...R4
Cmd Code
Data
D0...D16
Cmd Code
Termination
T0, T1
NOP
0
000
---
---
---
READ
0
010
Register address
---
WRITE
0
011
Register address
Data
PROG
0
110
Register address
RESET
0
111
<SPI
Direct command>
11001
File:
Function
Result Data
No. of data bits
on SPI interface
Command / Result
No operation,
or read out data
No
≧4
00
Read register Rn
Yes
11 / 22
00
Write data to RAM
(Register 16...18)
No
27 / --
---
---
Copy data to ROM
No
9 / --
---
---
Reset the device
20.05.2011
9 / --
<LST>
No
Page 1
Table 4: Command list
This document is confidential and protected by law and international trades. It must not be shown to any third party nor be copied in any form without our written permission.
Remarks:
•
The telegram data is transmitted with the LSB first.
•
A telegram starts with the CS change from high to low (Synchronization) and ends with the change from low to high.
•
Single telegrams either commands as well results have to be separated by a CS = 1 in between.
•
Additional SCK clock cycles have no effect.
This allows to extend the above given minimal telegram lengths to a standardized telegram lengths (Byte, word or double-word).
•
The minimum telegram length is given in Table 3, section Number of data bits.
© 2011 ESPROS Photonics Corporation
Characteristics subject to change without notice
18
Datasheet epc110 - V2.1
www.espros.ch
epc110
Detailed Command & Result Descriptions
Command NOP: No operation
The command NOP can be used to fetch data without sending a new command – see next section Readout of Returned Results.
Readout of Returned Results
The results/data at output pin SO depend on the previous transmitted command to input pin SI.
Two ways to readout this data are possible:
1.
Either it can be fetched in parallel of transmitting a next command
2.
or by sending NOP commands just by toggling SCK while CS is low.
Remarks:
•
The data is represented with the LSB first.
•
Data is valid on positive edge of clock SCK while CS is low.
•
If more clock toggles SCK are issued than data can be fetched, zeros are transmitted.
Command READ: Read register Rn
With the command READ the registers of the RAM and ROM memory can be read register by register.
The command extension “Register address” defines the requested register for reading it out.
After command transmission the expected result data can be readout on the SO pin.
Result readout frame (telegram):
CS
SCK
SO
N
R0
R1
R2
R3
R4
D0
Dn
Figure 16: Timing Result Data
Result data format:
Data Bits
N
Function
Not used, have to be ignored
R0...R4
5 bit register address
D0...D15
16 bit returned data of the corresponding register (one complete register)
Table 5: Result of a READ command
Command WRITE: Write to RAM register 16 - 18
Data can be written into the volatile RAM register 16 – 18 by using the command WRITE. The command extension “Register a ddress” selects
the register. It is followed by the data to be written.
24.01.2011
<LST>
<Timming SPI read command 1>
Page 1
In VMOD = 1 it is possible to write to registers only, if the corresponding register in the ROM has not been written yet. It is not possible
to write
File:
directly to a ROM register.
If the data has to be stored into the ROM register, a subsequent command PROG has to be used.
This document is confidential and protected by law and international trades. It must not be shown to any third party nor be copied in any form without our written permission .
In VMOD = 0 the RAM registers can be written at anytime.
Command PROG
The command PROG transfers the data from the RAM register to the corresponding ROM register. See chapter Parameter Programming for a
detailed description.
Command RESET
The command RESET resets the device and initiates a startup.
© 2011 ESPROS Photonics Corporation
Characteristics subject to change without notice
19
Datasheet epc110 - V2.1
www.espros.ch
epc110
Parameter Programming
General Description
A description of the hardware interface for programming is given in chapter “ Hardware interface“.
The device is initially not parametrized. In order to operate the light barrier, the micro-controller (or programmer) needs to do the correct
parameter settings for the selected functionality. This step is usually done in the factory of the light barrier manufacturer. After this the microcontroller can operate the light barrier or it can work in a standalone mode.
To do so, a specific parametrization of the devices must be executed first. The following procedure is an example thereof.
No.
Step
Description
1
Set parameters
Parameters like POL, TPULSE, MODE, VMODE, INC, DEC, TPER, SENSN, SENSH are stored into the RAM
of the device using the command WRITE. Write them register by register.
2
Check
parameters
The parameters should be checked by reading them back from each device using the READ command.
3
Program
parameters
If all parameters are stored correctly, store the parameters into the non-volatile memory by using the command
PROG. Please refer to chapter Programming Procedure.
4
Final test
To check the programming of the parameters, turn off the power supply and readout all parameters again.
Programming Procedure
Programming the device is a transfer of the data from the RAM to the corresponding ROM register. Each 16-bit register must be transferred
individually. Thus, register 16 is transferred to register 0, register 17 to register 1, register 18 to register 2. All other registers must not be used.
Figure 12 shows the timing of the programming sequence for one register:
50μs
400μs
7.5V
VDD
3.3V
CS
SCK
SI
B
1
1
0 R0 R1 R2 R3 R4
PROG
Register
Figure 17: Direct programming procedure
“PROG” is the PROG command sequence (110). “Register” means the address of the target register (ROM), e.g. 0, 1, 2.
During programming the voltage at pin VDD has to be increased to VPROG (7.5V) and has to be kept stable buffered during the whole
programming cycle. For an example of a hardware design to generate this supply refer to chapter “ Hardware interface“ in the SPI interface
section.
The timing parameters given in Figure 17 have to be obeyed.
Remarks:
•
It is possible to program more than one register during a VDD high cycle. Between two PROG commands a delay of 400μs is
needed.
•
Each register can be programmed once only (ROM).
•
After programming a register, bit no. 0 of this register becomes automatically a one to indicate that the register is programmed
(FUSEBIT).
© 2011 ESPROS Photonics Corporation
Characteristics subject to change without notice
20
Datasheet epc110 - V2.1
www.espros.ch
epc110
Applications
Long range light barrier application (refer also to datasheet epc111)
Figure 18 shows the epc110 as an example in a long range light barrier application with minimal part count. The LED flashes according to the
description of the previous chapter. Light of the LED is passing either direct, reflecting from a reflecting object or a retro reflector to the photo
diode PD. If the received light fulfills the criteria according to the description in the previous chapter, the output signals OUTN and OUTH are
set.
LED Driver:
The output LED of the epc110 to drive the LED driver circuit is a current source capable to drive typically 1mA. For a high performance long
range light barrier (>8m), an LED peak current of up to 1.5A is needed. To generate such a high LED current, an external driver circuit is
necessary. The circuitry in Figure 18 is a simple implementation of such a driver circuit. The darlington circuit with T2 and T3 and R2 and R3
does the job. In order to avoid interference on the supply voltage, the supply is isolated (filtered) with R1 and C1. The high peak LED pulse
current is delivered by the capacitor C1, which itself is charged by R1. Make sure, that there is no coupling of the high LED current to the
ground of the epc110 or to the cathode of the photo diode. This driver circuit operates with a VDD LED in a range of 10 to 30 VDC.
+3.3V
VDD LED= +24V
C2 1μF
R1
100R
C3 100nF
R4
10k
R8
10k
R6
12k
VDD
C4 100nF
epc110
C5 4.7nF
R5
3k6
VDD33
VDD18
T1
BC846
T2
BC846
LED
PD
OUTN
OUTH
GND
PD
epc300
IR LED
TSML1000
R2
1k
R7
4k7
GND
OUTN
T3
BCP56
C1
47μF
Low ESR
R3
1R2
OUTH
Marked conductors must be short and low ohmic
C2
The epc111 device with its very sensitive input PD needs a well decoupled power supply
Figure 18: Long range light barrier application with minimal part count
Notice:
The schematic is for illustrating the basic circuit idea only. For the real built up the designer has to take all other additional influence factors in
consideration too e.g. design rules, power rating, heat dissipation, ...
ROM RAM
15
14
13
12
11
10
9
1
0
0
1
1
0
0
1
0
1
1
0
1
1
1
0
0
0
0
0
1
8
7
6
5
4
0
0
0
0
0
0
0
0
1
0
0
1
0
1
1
2
18
don't use
3
19
don't use
4
20
<Title>
don't use
5
21
File:
don't use
6
22
This document is confidential and protected by law and international trades. It must not be shown to any third party nor be copied in any form without our written permission .
don't use
7
23
Lot no. LSB
8
24
9
25
Lot no. MSB
Chip ID
10 26
Factory use only
11 27
Revision no.
12 28
no function
13 29
no function
14 30
no function
15 31
16
1
17
2
1
0
0
0
1
0
1
1
0
1
Register #
0
3
0
FUSEBIT
FUSEBIT Application
FUSEBIT parameters
<name>FUSEBIT
FUSEBIT
<xx>
FUSEBIT Trimming
FUSEBIT
FUSEBIT Device Address
FUSEBIT
FUSEBIT
FUSEBIT
FUSEBIT
Chip ID
FUSEBIT
FUSEBIT
FUSEBIT
FUSEBIT
Figure 19: Corresponding memory map epc110 “Long range”
Parameter settings can be done by writing complete 16 bit registers only.
© 2011 ESPROS Photonics Corporation
Characteristics subject to change without notice
21
Datasheet epc110 - V2.1
www.espros.ch
25.01.2011
Page 1
epc110
High speed detection rate design (refer also to datasheet epc112)
Figure 20 shows the epc 110 as an example in a high speed detection rate light barrier application with minimal part count. This design is
optimized for a fast reading of light beam interruptions. Where as the working principle is similar to the above example. This driver circuit
operates with a VDD LED in a range of 6 to 20 VDC.
VDDLED= +12V
+3.3V
C2 1μF
C3 100nF
R3
10k
R5
12k
VDD
C4 100nF
epc110
C5 4.7nF
R4
3k6
VDD33
VDD18
IR LED
TSML1000
T2
BC846B
T1
BC846B
LED
PD
OUTN
OUTH
GND
PD
epc300
R1
47R
R7
10k
R6
4k7
GND
C1
10μF
Low ESR
R2
13R
OUTH
OUTN
Marked conductors must be short and low ohmic
C2
The epc112 device with its very sensitive input PD needs a well decoupled power supply
Figure 20: High speed detection rate light barrier application with minimal part count
Notice:
The schematic is for illustrating the basic circuit idea only. For the real built up the designer has to take all other additional influence factors in
consideration too e.g. design rules, power rating, heat dissipation, ...
The following table shows the parameter allocation in the memory:
ROM RAM
15
14
13
12
11
10
9
1
0
0
1
0
0
0
1
0
1
1
0
1
1
1
0
1
0
0
0
1
8
7
6
5
4
0
0
0
0
0
0
0
1
1
1
0
1
1
1
1
2
18
<Title>
don't use
3
19
File:
don't use
4
20
This document is confidential and protected by law and international trades. It must not be shown to any third party nor be copied in any form without our written permission .
don't use
5
21
don't use
6
22
don't use
7
23
Lot no. LSB
8
24
Lot no. MSB
9
25
Chip ID
10 26
Factory use only
11 27
Revision no.
12 28
no function
13 29
no function
14 30
no function
15 31
16
1
17
Register #
0
3
2
1
0
0
0
1
0
0
1
1
FUSEBIT
0 FUSEBIT
<name>
25.01.201
<xx>
Page 1
1
Application
FUSEBIT parameters
FUSEBIT
FUSEBIT
FUSEBIT Trimming
FUSEBIT
FUSEBIT Device Address
FUSEBIT
FUSEBIT
FUSEBIT
FUSEBIT
Chip ID
FUSEBIT
FUSEBIT
FUSEBIT
FUSEBIT
Figure 21: Detailed memory map epc110 “High speed”
Parameter settings can be done by writing complete 16 bit registers only.
© 2011 ESPROS Photonics Corporation
Characteristics subject to change without notice
22
Datasheet epc110 - V2.1
www.espros.ch
epc110
Design Precautions: EMC shielding
The sensitivity at pin PD is very high in order to achieve a long operation range of light barriers even without
lenses in front of the IR LED and/or the photo diode. Thus, the pin PD is very sensitive to EMI. Special care
should be taken to keep the PCB track at pin PD as short as possible (a few mm only!). This track should be
kept away from the IR LED signal tracks and from other sources which may induce unwanted signals. It is
strongly recommended to cover the chip, the photodiode and all passive components around the chip with a
metal shield. A recommended part is shown in Figure 22. The pins at the bottom are to solder the shield to
Figure 22: Recommended EMC
the PCB with electrical connection to GND. The hole in the front is the opening window for the photo diode.
shield
The backside of the PCB below the sensitive area (PD, epc110) shall be a polygon connected to GND to
shield the circuit from the backside as well.
Ambient Light
Photodiode DC current can be generated by ambient light, e.g. sunlight. DC current at pin PD does not generate a DC output signal. However,
if IPDDC is above the stated maximal value, the input is saturate d. This blocks the detection of AC current pulses.
Photodiode Capacitance
If the photo diode capacity is above the specified value, a lower detection sensitivity and a possible higher sensitivity spread results.
© 2011 ESPROS Photonics Corporation
Characteristics subject to change without notice
23
Datasheet epc110 - V2.1
www.espros.ch
Layout Information (all measures in mm,
)
CSP-10 Package
Designed
Approved
Scale
Page
Part Name
<Name>
<Partname>
26.02.2009
<Name>
<Data>
M 1:1
DIN A4
1
Part No.
<x000 000>
This document is confidential and protected by law and internati onal trades. It mu st not be shown to any third party nor be copied in any form withou t our written permission
.
epc110
File: Unben annt
0.15
1.9 +0.0/-0.1
∅ 0.3
0.1524
0.5
0.5
0.5
Pin 1
Solder balls Sn97.5Ag2.5
0.11 ±0.01
0.3
0.15
2.0
no solder mask inside this area
0.5
1.4 +0.0/-0.1
0.5
Bottom View ∅ 0.12
0.5
0.5
2.5
no solder mask inside this area
Figure 23: CSP10: Mechanical dimensions
Figure 24: CSP10: Layout recommendation
Recommendations for reliable soldering of solder balls:
•
Use a pad layout similar as given in Figure 24. Notice that all tracks should go underneath the solder mask area.
•
Do not connect any pins direct pin to pin inside of the opening of the solder mask.
•
In case of the conductors are with a Au-Ni surface finish the preferred landing pad design for the solder balls will be covering the
round landing pad with a gold surface finish as a solderable area only.
QFN-16 Package
NC_GND
VDD18
VDD
11
10
9
VDD33
Opening in solder mask
Conductor layout
<Title>
12
File:
8
7
14
GND
6
13
LED/SCK
This document is confidential andNC_GND
protected by law and international trades. It must not be shown to any third party nor be copied in any form wit
PD
5
NC_GND
NC_GND
Top View
16
NC_GND
15
EN/SI
3
OUTH
NC_GND
4
CS
2
OUTN/SO
Shielding of PD pin
1
Figure 25: QFN-16: Layout recommendation
© 2011 ESPROS Photonics Corporation
Characteristics subject to change without notice
24
Datasheet epc110 - V2.1
www.espros.ch
epc110
1.9
Bottom View
0.25
Top view
2.9 - 3.1
1.9
0.5
0.1 - 0.2
0.02
0.9
2.9 - 3.1
0.25
0.3
Figure 26: QFN-16: Mechanical dimensions
Reflow Solder Profile
For infrared or conventional soldering the solder profile has to follow the recommendations of IPC/JEDEC J-STD-020C (min. revision C) for
Pb-free assembly for both types of packages. The peak soldering t emperature (TL) should not exceed +260°C for a maximum of 4 sec.
© 2011 ESPROS Photonics Corporation
Characteristics subject to change without notice
25
Datasheet epc110 - V2.1
www.espros.ch
CSP6 Tape
QFN16 Tape
Pin 1
Pin 1
8
epc110
12
Packaging Information (all measures in mm)
Tape & Reel Information
The devices are mounted on embossed tape for2 automatic placement systems. The tape is wound on 178 mm (7 inch) or 330 mm (13 inch)
reels and individually packaged for shipment. General tape-and-reel specification data are available in a separate data sheet and indicate the
tape sizes for various package types. Further tape-and-reel specifications can be found in the8Electronic Industries Association (EIA) standard
481-1, 481-2, 481-3.
CSP6 Tape
QFN16 Tape
Pin 1
12
8
Pin 1
4
8
Figure 27: CSP10 and QFN16 Tape Dimension. Parts are placed with solder pads on bottom side
ESPROS Photonics AG does not guarantee that there are no empty cavities. Thus, the pick-and-place machine should check the presence of
a chip during picking.
Ordering Information
Type
Package
RoHS compliance
Packaging Method
epc110-CSP10
CSP10
Yes
Reel
epc110-QFN16
QFN16
Yes
Reel
© 2011 ESPROS Photonics Corporation
Characteristics subject to change without notice
26
Datasheet epc110 - V2.1
www.espros.ch
epc110
IMPORTANT NOTICE
ESPROS Photonics AG and its subsidiaries (epc) reserve the right to make corrections, modifications, enhancements, improvements, and
other changes to its products and services at any time and to discontinue any product or service without notice. Customers should obtain the
latest relevant information before placing orders and should verify that such information is current and complete. All products are sold subject
to epc’s terms and conditions of sale supplied at the time of order acknowledgment.
epc warrants performance of its hardware products to the specifications applicable at the time of sale in accordance with epc’s standard war ranty. Testing and other quality control techniques are used to the extent epc deems necessary to support this warranty. Except where man dated by government requirements, testing of all parameters of each product is not necessarily performed.
epc assumes no liability for applications assistance or customer product design. Customers are responsible for their products and applications
using epc components. To minimize the risks associated with customer products and applications, customers should provide adequate design
and operating safeguards.
epc does not warrant or represent that any license, either express or implied, is granted under any epc patent right, copyright, mask work
right, or other epc intellectual property right relating to any combination, machine, or process in which epc products or services are used.
Information published by epc regarding third-party products or services does not constitute a license from epc to use such products or
services or a warranty or endorsement thereof. Use of such information may require a license from a third party under the patents or other
intellectual property of the third party, or a license from epc under the patents or other intellectual property of epc.
Resale of epc products or services with statements different from or beyond the parameters stated by epc for that product or service voids all
express and any implied warranties for the associated epc product or service. epc is not responsible or liable for any such statements.
epc products are not authorized for use in safety-critical applications (such as life support) where a failure of the epc product would
reasonably be expected to cause severe personal injury or death, unless officers of the parties have executed an agreement specifically
governing such use. Buyers represent that they have all necessary expertise in the safety and regulatory ramifications of their applications,
and acknowledge and agree that they are solely responsible for all legal, regulatory and safety-related requirements concerning their products
and any use of epc products in such safety-critical applications, notwithstanding any applications-related information or support that may be
provided by epc. Further, Buyers must fully indemnify epc and its representatives against any damages arising out of the use of epc products
in such safety-critical applications.
epc products are neither designed nor intended for use in military/aerospace applications or environments unless the epc products are specifically designated by epc as military-grade or "enhanced plastic." Only products designated by epc as military-grade meet military specifications. Buyers acknowledge and agree that any such use of epc products which epc has not designated as military-grade is solely at the
Buyer's risk, and that they are solely responsible for compliance with all legal and regulatory requirements in connection with such use.
epc products are neither designed nor intended for use in automotive applications or environments unless the specific epc products are designated by epc as compliant with ISO/TS 16949 requirements. Buyers acknowledge and agree that, if they use any non-designated products in
automotive applications, epc will not be responsible for any failure to meet such requirements.
© 2011 ESPROS Photonics Corporation
Characteristics subject to change without notice
27
Datasheet epc110 - V2.1
www.espros.ch