MELEXIS MLX90719S Datasheet

MLX902xx Name of Sensor Rev Y.X 22/Aug/98 Page 1
MLX9 0719
General purpos e timer
MLX90719 General purpose timer Page 1 Rev 1.0 30/Jul/00
1µm CMOS technology MLX8 core with 8 accumulators, 80 b
y
tes RAM and 6K ROM
1 hi
g
h voltage input (detection of mains-active)
Zero-crossin
g
detection input to detect the 50/60Hz
7 standard inputs of which 2 can be used as comparator inputs and 2 can be confi
g
ured as open-collector o utp uts . 15 confi
g
urable LCD outputs (segment/backplane)
3 rela
y
drivers which can also be used to drive a triac or LED’s without the need for exter­nal resistors. Buzzer driver with pro
g
ramm able frequency
On-chip 4MHz oscillator, cr
y
stal oscillator and low power RC oscillator
Low power mo de
(
battery or decoupling capacitor)
Hi
g
h supply voltage eliminates the need for high power resistors
Batter
y
backup
On-chip watchdo
g
Applications
24 hour timer for cooker applications, coffee maker, ...
Ordering Information
Part No. Temperature Suffix Package version Temperature Range MLX90719 S LS -x 0C to 85C The c ustom er sp ecifi c ver sion c ode
(
defining the RO M conten t) is i ndi cat ed wit h 1 cha rac ter at th e en d of th e
orderin
g
number.
Description
The ASIC consists of a dedicated microcontroller combined with on-chip analo
g
and digital blocks,
which can be confi
g
ured to a great extend. This
makes it ideal to adapt it to different applications b
y
means of an update in the software. The number of external components for the electronic module is minimized. A t
y
pical application mainly consists of the MLX90719 ASIC, a number of command buttons, a LCD, a rela
y
, some LED’s and a buzzer. The number of buttons and their function can be freel
y
chosen. The configuration of the LCD, the number of backplanes and its pinout is also under software control. Three outputs are available for a rela
y
and LED’s.
Functional Diagram
MLX90719
LX11
Interrupt
controller
RAM
1 x comp
CounterWatchdo
g
XT1
XT2
IN 1-8
ZCD
VDD4
BAT VSS
LCD 1-15
OUT A,B,C
BUZ
17bit timer
Controller
125kHz
oscillator
4MHz
PLL
LC
oscillator
POR
8 x input
Vre
g
Xtal
LCD
Output
A, B, C
Buzzer
Zero
cross
MLX9 0719
General purpos e timer
MLX90719 General purpose timer Page 2 Rev 1.0 30/Jul/00
General description
The MLX90719 is an ASIC which is ideally suited for timing control application, low cost as well as high end, such as clocks in coffee machines, cook­ers, baking eq uipm ent,...
The ASIC consists of a dedicated microcontroller combined with on-chip analog and digital blocks, which can be configured to a great extend. This makes it ideal to adapt it to different applications by means of an update in the software. The number of external components for the electronic module is minimized. A typical application mainly consists of the MLX90719 ASIC, a number of command but­tons, a LCD, a relay, some LED’s and a buzzer. The number of buttons and their function can be freely chosen. The configuration of the LCD, the number of backplanes and its pinout is also under soft war e contr ol. Thr ee out puts ar e avail able f or a relay and LED’s.
Main functions:
General-purpose timer chip based on the 8-bit LX11 core, including 80 bytes RAM and 6 Kbytes ROM. Programming of the ROM and selection of all other options is done with one mask. An interrupt controller guarantees exact timings and a clean refresh rate of the LCD. High supply voltage eliminates the need for high power resistors. 6 digital inputs and 2 I/O pins (function is under software control). 1 comparator (uses 2 of the digital inputs) which can be used for analog measurements. 3 hig h cur rent out put dri ver s. Th ey are s uita bl e for driving low cost 12V relays, but other types can also be used. They can also be used to drive triac or LED’s without the need for external resistors. 1 bu zzer ou t pu t fo r piezo el ec t r ic b u zzer s, w it h pr o ­grammable frequency. The LCD interface consists of 15 outputs, each of them can be con figured as backpl ane or segm ent driver. The time base for the clock function is derived ei­ther f r om t he m ains fr eq uen c y o r f r om a cr y st a l o s ­cillator. The clock frequency for the microcontroller, relay drivers and buzzer output is derived from an on chip oscillator, which is calibrated under software control. For applications that are disconnected from the mains for longer times, a battery backup can be foreseen, so that the module always keeps track of the time.
For short mains interruptions (up to 5 minutes), the energy in a decoupling capacitor can be used to keep track of the time. An on-chip watchdog ensures the functioning of the chip under all environmental conditions. The package size can be adapted to the number of used pins (non-used I/O’s do not need to be bonded).
MLX902xx Name of Sensor Rev Y.X 22/Aug/98 Page 3
MLX9 0719
General purpos e timer
MLX90719 General purpose timer Page 3 Rev 1.0 30/Jul/00
MLX90719 Electrical Specifications
DC Operating Parameters T
A
= 0oC to 85
o
C, VDD = 60V (unless otherwise specified)
Parameter
Symbol
Test Conditions
Min Typ Max Units
Ambient temperature
Tamb
0
85 °C
Maximum chip temperature
Tic
150 °C Maximum allowed source
supply current
Idd4m
Drivers off = all the current flows in the chip
6 mA
Analog features
Power supply
The MLX90719 suppl
y
pin (VDD4) must be connected
b
y
external series resistor and rectifier diode to the
mains. An internal Zener function limits the volta
g
e at
VDD4 to 70-80V. For proper operation, a decouplin
g
capacitor needs to be connected between VDD4 and VSS
(
see figure 1).
90719
Vdd4
Vss
line
R1
R2
C
6k*
6k*
22uF*
*for information onl
y
MLX9 0719
General purpos e timer
MLX90719 General purpose timer Page 4 Rev 1.0 30/Jul/00
The MLX90719 has several internal supply lines for both analog and digital blocks:
Parameter
Symbol
Test Conditions
Min Typ Max Units
Voltage applied at the supply pin
Vdd4 Idd4 = 5mA
DRAINB = Vss
63 73 77 V
Internal buzzer driver supply
Vbuz Option OBZ3 active
20 V
Internal 11V supply
Vdd2 10 15 12 V
Internal 5V for main oscillator
Vdd1 4.5 5.0 5.5 V Internal 5V for digital
Vdd Normal mode
4.0 5.0 6.0 V Low power mode
2.7
LCD driver supply
Vlcd Option OLCD1 active
3.0 V
Option OLCD2 active
3.25 V
Option OLCD3 active
3.5 V
Option OLCD4 active
3.75 V
Option OLCD5 active
4 V
Option OLCD6 active
4.25 V
Option OLCD7 active
4.5 V
Option OLCD8 active
4.75 V
Option OLCD9 active
5 V
Option OLCD10 active
5.25 V
Option OLCD11 active
5.5 V
Option OLCD12 active
5.75 V
Option OLCD13 active
6 V
Option OLCD14 active
6.25 V
1Vlcd/3
Vlcd1
Of Vlcd
30 33 36 %
2Vlcd/3
Vlcd2
Of Vlcd
64 67 70 % Idd4 For Vdd4<Vaporl (LPM)
3
uA For Vdd4 = 73V
5 mA
Voltage of backup battery
Vbat
2.7 3 3.3 V Supply for external circuitry
Vext At Iext = 2mA
3.9 5 V
MLX902xx Name of Sensor Rev Y.X 22/Aug/98 Page 5
MLX9 0719
General purpos e timer
MLX90719 General purpose timer Page 5 Rev 1.0 30/Jul/00
Parameter
Symbol
Test Conditions
Min Typ Max Units
High level threshold
Vdporh
3.4 V Low level threshold
Vdporl
2.2
2.6 V Hysteresis
Vdphyst
0.3 V
Notes:
The power on reset does not reset the s
y
stem when en tering low power mode with battery (Vdporl<Vbat).
The power on reset resets the s
y
stem if the RAM data may be corrupt due to undervoltage (Vdporl>RAM data
retention volta
ge)
.
Analog Power-On Reset
The MLX90719 includes a high voltage power-on reset that watches on VDD3. This block has two outputs APORL and APORH: APORL = 1 when VDD3 > Vaporl APORH = 1 when VDD3 > Vaporh
(
see table 4)
The states of APORH and APORL define the operation mode of the chip
(
see s ecti ons “S leep m anager” and
“Interrupt controller”
)
.
In low power mode the analo
g
power on reset operates in strobe mode. It is only enabled a few microseconds at
each risin
g
edge of th e signal ASTR generated by the digital core.
When Vdd3 > Vapo r l the ci rcuit
g
oes out of strobe mode.
Parameter
Symbol
Test Conditions
Min Typ Max Units
High level threshold
Vaporh
65 V Low level threshold
Vaporl
50 V Hysteresis
Vaphyst
10 V Strobe frequency
Fastr Slow rate of Vdd3>200V/s
25 Hz
Low power mode (LPM)
In low power mode (when the mains hav e been dis connec ted from the application) all supply lin es ar e di s abled except VDD, which is
g
enera ted by a low co nsum ing regulator. The current is taken from the external decou-
plin
g
capa cit or of V DD4 or f rom a ba ck up ba tt ery connected to pin BAT. This depends on the type of applica-
tion defined b
y
the mask option OXBAT implem ented within the chip:
OXBAT = 1 for application with batter
y
and crystal.
OXBAT = 0 for applications without batter
y
or crystal.
LCD operating voltage
The LCD operating voltage can have14 different values and can be chosen by mask options.
Supply for external components
If the mask option OVEXT is set the MLX90719 can supply some external circuitry from the internal Vdd1 throu
g
h pin IN5B (which can not be used as input anymore).
Power On Reset
This module ensures a correct start of the MLX90719 logic. The reset si
g
nal (DPORB) rises when VDD>Vdporh and falls when VDD<Vdporl
MLX9 0719
General purpos e timer
MLX90719 General purpose timer Page 6 Rev 1.0 30/Jul/00
Zero crossing detector
The MLX90719 includes a zero crossing detector on pin ZCD. This detector contains two comparators with hys­teresis. The first comparator has negative thresholds and the second one has positive thresholds (see table 5). Outputs ZOUT1 and ZOUT2 of those comparators are changing as follows: ZOUT1 rises wh en Vmains>Vz1h ZOUT1 fal ls when Vmains<V z1l ZOUT2 rises wh en Vmains>Vz2h ZOUT2 fal ls when Vmains<V z2l
A mask option defines the levels of those thresholds. Low levels (+/- 5V, option OZCD = 0) are suitable for zero crossing detection and high levels (+/- 20V, option OZCD = 1) for frequency detection with a better noise immu­nity. A 1M resistor must be connected between pin ZCD and the mains.
Parameter
Symbol
Test Conditions
Min Typ Max Units
High level threshold 1
Vz1h Rzcd = 1Mohm
-5 V Rzc d = 1Mohm, OZCD = 1
-5 V Low level threshold 1
Vz1l Rzcd = 1Mohm
-9 V Rzcd = 1Mohm, OZCD = 1
-29 V High level threshold 2
Vz2h Rzcd = 1Mohm
9 V
Rzcd = 1Mohm, OZCD = 1
29 V
Low level threshold 2
Vz2l Rzcd = 1Mohm
5 V
Rzcd = 1Mohm, OZCD = 1
5 V
External resistor
Rzcd Vline = 230VAC typical
0.8 1 1.2 Mohm
Low voltage inputs
The MLX90719 has 7 CMOS Schmitt trigger inputs with internal pull-up.
Note:
the input signals are inverted in the digital core so these inputs are active low. Signal ENINB (active at 0) enables the pull-up current flowing through external pad to VSS if the input is pushed to VSS. When ENINB=1 (input disabled), DINxB = 1. The programmer must enable inputs by setting bit ENIN of P7 at least 5us before reading the input port P3 (see section “I/O ports”). The debouncing of inputs must be done by software.
Parameter
Symbol
Test Conditions
Min Typ Max Units
Pull-up current
Ipu1 Input to Vss
40 70
100 uA Low level threshold
Vthinl
30 %Vdd
High level threshold
Vthinh
70 %Vdd
Hysteresis
Vhystin
5 %Vdd
Multipurpose inputs:
Inp uts 3 and 6 ca n be used al so as pul l-dow n output s: the pul l down tr ansis tors ar e turn ed on by sett ing bit s PD3 and PD6 of P6 (see section ”I/O ports”). Inputs 1, 2 and 4 are used by the on-chip comparator (see section “comparator”) Input 5 can be tur n ed into sup ply for external cir cuitry by mask option OVEXT (see “Power s u p pl y ”).
MLX902xx Name of Sensor Rev Y.X 22/Aug/98 Page 7
MLX9 0719
General purpos e timer
MLX90719 General purpose timer Page 7 Rev 1.0 30/Jul/00
High voltage input
The MLX90719 has an eighth input that can be used either as a standard input (as described above) or as an hi
g
h volt age input to detect the mains via an external resistor. The high voltage mode is enabled if mask option OIN7 is set. Output DIN7B of this detector is hi
g
h when Vmains>Vthinh2 and low when Vmains<Vthinl2.
Note:
si
g
nal DIN7B is inverted whiti n the digital core.
Parameter
Symbol
Test Conditions
Min Typ Max Units
Pull-down current
Ipd2 12 uA
Low level threshold
Vthinl2
Rin = 1Mohm
6.9 V
High level threshold
Vthinh2
Rin = 1Mohm
12.3 V
External resistor
Rin
0.8 1 1.2 Mohm
Main oscillator
The MLX90719 contains a 4Mhz on-chip oscillator. In low power mode this oscillator is turned off.
Parameter
Symbol
Test Conditions
Min Typ Max Units
Master frequency of the
main oscillator (signal
CKM)
Fckm
Over full temp. and supply range
2.4 4.0 5.6 MHz
Low power crystal oscillator
In case of applications with battery and crystal (OXBAT = 1) the MLX90719 uses a low power crystal osci ll ato r as time reference for both normal and low power mode. This oscillator re
q
uires a standard 32kHz crystal connected between pin XTAL1 and pin XTAL2.
No external capacitor is re
q
uired for proper operation.
Parameter
Symbol
Test Conditions
Min Typ Max Units
Master frequency of the
crystal oscillator
Fckx Over full temp. and supply range
32768
Hz
Note:
This oscillator is disabled if OXBAT = 0.
VDD
INxB
ENINB
DINxB
MLX9 0719
General purpos e timer
MLX90719 General purpose timer Page 8 Rev 1.0 30/Jul/00
Low power RC oscillator
In case of applications without battery or crystal (OXBAT = 0) the MLX90719 uses an on-chip low power RC os­cillator to count time during a few minutes after the mains has been disconnected (low power mode).
Parameter
Symbol
Test Conditions
Min Typ Max Units
Master frequency of the
low power RC oscillator
Fckl Over full temp. and supply range
1.0 2.5 5 kHz
Notes:
As the CPU must calibrate it in normal mode, the low power oscillator is running continuously. The low power RC oscillator is disabled if OXBAT = 1.
LCD outputs
The MLX90719 has 15 configurable LCD outputs able to drive either a backplane or a segment by mask option: OLCDx = 0 => segment OLCDx = 1 => backplane The LCD voltages are defined according to bits LCDx and CKLCD written in P3 and P4 (see section “I/O ports”). With Vcdl1 and Vlcd2 being respectively 1/3Vlcd and 2/3Vlcd, the MLX90719 is suitable for LCD having 1, 2, 3 or 4 backplanes.
Parameter
Symbol
Test Conditions
Min Typ Max Units
Output impedance
Rolcd
All cases
20
kohm
OLCDx
LCDx
CKLCD
OUT 0 0 0 Vlcd1
0 0 1
Vlcd2
0 1 0
Vlcd 0 1 1 Vss 1 0 0 Vlcd2
1 0 1
Vlcd1
1 1 0
Vss 1 1 1 Vlcd
Relay drivers
The MLX90719 includes 3 pull-down power outputs A, B, and C able to drive relays, triacs or LED’s. The gates of the drivers are controlled respectively by signals POUTA, POUTB and POUTC generated by the digital core (see section “PWM generator”). Each driver has its source and its drain connected to a pad (DRAINx and SOURCEx) except driver C of which the source is connected to the ground. This allows a series connection of the drivers. In such a configuration the current flowing through the relay is used to feed the LED’s.
Internal current generator
In a ppli cati ons b ased on th e foll owi ng sc hemati c, w here t he LE D(‘ s) may have t o be dr iven when the r elay is off, an internal current peak generator can be activated to supply the LED’s through pin SourceA. This function is enabled by bit INTCUR of P5 (see section “I/O ports”). When INTCUR is set the current generator is acti­vated like a relay by signal PINT at frequenc y Fpwm and at 14.3% duty c ycle (see “PWM generator”).
Note:
If the application has no relay, this feature allows the MLX90719 to drive 2 LED’s without any external
resistors.
Loading...
+ 16 hidden pages