Professional Documents
Culture Documents
MLX10407 Datasheet Melexis
MLX10407 Datasheet Melexis
* Supply voltage up to 12 V.
SIN1P
* Interface directly with 5 V CMOS logic µP. POR SIN1M
* Serial link. BUF 1 COS1P
ROM COS1M
* can drive SCLK SEQ
two actuators 360° CS SERIAL
SIN2P
DIN
three actuators 90° LINK
BUF 2
SIN2M
COS2P
* open circuit or short circuit detection COS2M
of the drivers outputs. OSCI
OSC OUT5
* Small size (SO24 package). OSCO LOGIC SMALL
OUT6
ANGLE
OUT7
ERR TEST
The 10407 is a µP peripheral for logometers control using SIN/COS PWM commands. The circuit
controls two independant sets of CMOS power bridges. A ten bits angle is displayed with a 9 bits per
quadrant resolution PWM whose frequency is set by a crystal oscillator. A power-on self test detects open or
short-circuits outputs for each logometer and a real time angle tracking avoids display errors.
The 10407 can also drive three small angle logometers (90°).
The communication with the µP is done via a three wires serial link.
The 10407 outputs an error status on a special pin.
Ordering Code
Product Code Temperature Code Package Code Option Code Packing Form Code
MLX10407 E DF AAA-000 RE
Legend:
Temperature Code: E for Temperature Range -40°C to 85°C
Package Code: DF for SOIC300Mil
Packing Form: RE for Reel
PINNING.
Pin 1 : VCC
Pin 2 : SIN1P, Output buffer (coil 1 Logo1 )
Pin 3 : SIN1M, Output buffer (coil 1 Logo1 )
Pin 4 : VSS
Pin 5 : COS1P, Output buffer (coil 2 Logo1 )
VCC 1 24 SIN2P Pin 6 : COS1M, Output buffer (coil 2 Logo1 )
SIN1P 2 23 SIN2M Pin 7 : OUT5, Output buffer ( Logo 3 )
SIN1M 3 22 VSS Pin 8 : OUT6, Output buffer ( Logo 4 )
VSS 4 21 COS2P Pin 9 : OUT7, Output buffer ( Logo 5 )
COS1P 5 20 COS2M
Pin 10 : VCC
COS1M 6 19 OSCI
Pin 11 : CS, Chip select ( Schmitt trigger with 300kΩ pull-down )
OUT5 7 18 OSCO
Pin 12 : SCLK, Serial clock ( Schmitt trigger )
OUT6 8 17 VER
Pin 13 : DIN, Data IN ( Scmitt trigger )
OUT7 9 16 ERR
Pin 14 : TEST input. (1kΩ pull-down)
VCC 10 15 RST
Pin 15 : RSTB, external reset ( Schmitt trigger )
CS 11 14 TEST
Pin 16 : ERRB, Quadrant error output ( Open drain )
12
Pin 17 : VER, Quadrant verification inhibit
SCLK 13 DIN
Pin 18 : OSCO, Crystal oscillator output
10407 Pin 19 : OSCI, Crystal oscillator input
fig.2 Pinning diagram. Pin 20 : COS2M, Output buffer (coil 2 Logo2 )
SO24 PACKAGE
Pin 21 : COS2P, Output buffer (coil 2 Logo2 )
Pin 22 : VSS
Pin 23 : SIN2M, Output buffer (coil 1 Logo2 )
Pin 24 : SIN2P, Output buffer (coil 1 Logo2 )
OPERATION.
1) Logometers 360°
Immediately after a reset, the I.C. checks if there is any short-circuit or open circuit on each buffer driver
output (This test is not made for outputs 5,6 7). For this test, each buffer is held in a high impedance state
and large internal resistances (100kΩ) are sequentially connected on each pair of buffers (note : the actuator
coil must be connected on each bridge).
VCC
S2
OUT1M
condition test for :
Coil
OUT1P
S1
Test 1 S1 closed, S2 open V1 = VSS
(HI Z) (HI Z)
V1
Test 2 S1 closed, S2 closed V1 = VCC/2
R1 Test 3 S1 open, S2 closed V1 = VCC
VSS
During the tests the pin ERRB (16) is at logic level 0. Then after the tests have been done ERRB stays at 0 if
one (or more) test fails or changes to high impedance state if every thing is OK.
These tests last approximately 4 ms with an oscillator clock frequency of 8 Mhz.
After the test all buffers are at VSS. The I.C. waits for the µP to send an angle/quadrant value and then
outputs a PWM signal on every buffer. Every logometer coil is connected in a bridge, so the current Icoil can
be either positive or negative. The total drop-out of a bridge is :
Vd = | VCC - Vcoil |
The four bridges have the same drop-out for the same current Icoil.
Vcoil
OUT1P OUT1M
Coil
Icoil
2) Logometers 90°
There are three different PWM outputs for Logo 3, Logo 4, Logo 5.
SERIAL LINK.
The µP outputs the serial clock SCLK, the chip select CS, the data DIN, and receives from the I.C.
the error status on pin ERRB(16).
The data sent by the µP are latched by the 10407 on the rising edge of SCLK.
The 10407 outputs an error status on pin ERRB (16) on the falling edge of SCLK.
When CS = "0" the serial interface of the 10407 is inactive. When CS goes HIGH the 10407 waits for a
START BIT and then reads the following 15 bits transmitted by the µP (see fig 4.)
The START BIT (D0) must be "1".
The following three bits (D1D2D3) are the operation code for the 10407 :
Any other codes are reserved for test and will have no effect in normal operation mode.
The following 10 bits (D4D5D6D7D8D9D10D11D12D13) are the value of the angle (D4 = MSB, D13 =
LSB).
The following two bits (D14D15) represent the quadrant (D14=MSB). Note : for Logo1 & 2 only.
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
SCLK
CS
z z
ERRB
"0" if error
fig 5. Timing diagram serial link.
The 10407 outputs an error status on pin ERRB (16) on the falling edge of SCLK immediately
following the transmission of the quadrant LSB.
The pin 16 (ERRB) of the 10407 is driven low if there is no continuity between two consecutive
quadrant values sent (for logo1 or logo2). The data is valid till CS is high, then when CS goes low ERRB
returns to high impedance state and the error status is lost.
If the µP has detected an error, it is possible to send data again : the first bit "1" will initiate a new
transmission of 15 data bits.
On the HIGH to LOW transition of CS the values of angle and quadrant are stored into the internal
registers of the 10407 if :
- The µP sent a writing request,
- No quadrant error was detected by the 10407.
Otherwise new values of angle and quadrant are not taken into account by the 10407 and the
previous values are kept. The µP must initialize a new transmission with the 10407.
It is possible to make the 10407 store all values of angles and quadrant even if there is an error
if the pin 17 (VER) is connected to GND.
PWM GENERATION.
From the angle value received from the µP (range [0° - 89.8°]) the 10407 generates two PWM (9 bits
resolution) :
- the first one represents the sinus PWMSIN,
- the second one is the cosinus PWMCOS.
The 10407 uses a ROM 512x9 which contains the sinus of any angle in the range [0° - 89.8°]
(note that the LSB value of the angle is not used).
A value of angle greater than 90° is obtained using different quadrant values :
The PWM are switched to the outputs depending on the value of the quadrant :
QUADRANT
90 SIN1M SIN1P COS1M COS1P
Q1 ++ Q2 -+ D14 D15
0 0 0 PWMSIN 0 PWMCOS
270
Logometer 1 is driven by outputs SIN1M/P COS1M/P,
fig 6. Quadrants and PWM sign. Logometer 2 is driven by outputs SIN2M/P COS2M/P.
ELECTRICAL CHARACTERISTICS.
Inputs
Input capacitance Cin 10 pF
Pin 11
Pull-down resistance Rpd 125 750 kΩ
input voltage LOW VIL -0.3 1 V
input voltage HIGH VIH 4 VCC+0.3 V
Hysteresis VCC = 8.5 V VHYS 0.5 2.5 V
Leakage current pin at VCC or VSS IL -1 1 µA
Pin 12,13,14,15,17
input voltage LOW VIL -0.3 1 V
input voltage HIGH VIH 4 VCC+0.3 V
Hysteresis VCC = 8.5 V VHYS 0.5 2.5 V
Leakage current (p12,15,17) pin at VCC or VSS IL -1 1 µA
Pull-down resistance (p14) Rpd 0.8 1.5 kΩ
Outputs
Pin 16
Low level output voltage IOUT < 500 µA VOL 0.3 V
High level output leakage VOUT = VCC ILKG 10 µA
current
Pin 2,3,5,6,20,21,23,24
Drop-out voltage for each VCC = 8.5V, Tamb = 25°C Vd 1.6 V
pair of buffers Icoil = 30 mA, see fig. 4
Pin 7,8,9
Output voltage low VCC = 8.5V, Tamb = 25°C VOL 0.6 1.0 V
Isink = 40mA
Output voltage high VCC = 8.5V, Tamb=25°C VOH 6.8 7.8 V
Isource = 40mA
Oscillator
Pin 18,19
input pin capacitance Cin 10 20 pF
AC ELECTRICAL CHARACTERISTICS.
APPLICATION SCHEMATIC.
VCC
LOGO1
VCC SIN2P
1 24 LOGO2
SIN1P SIN2M
2 23
SIN1M VSS
3 22
VSS COS2P
4 21
COS1P COS2M
5 20
COS1M OSCI
6 19
CS OSCO 8MHz *
11 18
µP SCLK
12 17
VER
* Load capacitances are internal
DIN ERR
13 16
VCC RST
10 15
TEST OUT7
14 9
+5V OUT6
OUT5
7 8 LOGO5 LOGO4
Rpup
LOGO3
Disclaimer
Devices sold by Melexis are covered by the warranty and patent indemnification provisions appearing in its Term of
Sale. Melexis makes no warranty, express, statutory, implied, or by description regarding the information set forth
herein or regarding the freedom of the described devices from patent infringement. Melexis reserves the right to change
specifications and prices at any time and without notice. Therefore, prior to designing this product into a system, it is
necessary to check with Melexis for current information. This product is intended for use in normal commercial
applications. Applications requiring extended temperature range, unusual environmental requirements, or high
reliability applications, such as military, medical life-support or life-sustaining equipment are specifically not
recommended without additional processing by Melexis for each application.
The information furnished by Melexis is believed to be correct and accurate. However, Melexis shall not be liable to
recipient or any third party for any damages, including but not limited to personal injury, property damage, loss of
profits, loss of use, interrupt of business or indirect, special incidental or consequential damages, of any kind, in
connection with or arising out of the furnishing, performance or use of the technical data herein. No obligation or
liability to recipient or any third party shall arise or flow out of Melexis’ rendering of technical or other services.
© 2012 Melexis NV. All rights reserved.