TYPE 10407 ACTUATOR DRIVER WITH SERIAL LINK FEATURES VER RST * Supply voltage up to 12 V. * Interface directly with 5 V CMOS logic P. * Serial link. * can drive two actuators 360 three actuators 90 * open circuit or short circuit detection of the drivers outputs. * Small size (SO24 package). VCC VCC GND GND SIN1P POR SIN1M BUF 1 ROM SEQ SCLK CS DIN COS1P COS1M SERIAL SIN2P LINK BUF 2 SIN2M COS2P COS2M OSCI OSCO OSC LOGIC SMALL ANGLE ERR OUT5 OUT6 OUT7 TEST fig 1. Block diagram. 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 MLX10407 Temperature Code Package Code E DF Option Code AAA-000 Legend: Temperature Code: Package Code: Packing Form: E for Temperature Range -40C to 85C DF for SOIC300Mil RE for Reel Ordering example: MLX10407EDF-AAA-000-RE STANDARD PRODUCT july 9, 1997 Packing Form Code RE PAGE 1, REV 4 TYPE 10407 ACTUATOR DRIVER WITH SERIAL LINK PINNING. VCC 1 24 SIN1P 2 23 SIN2P SIN2M SIN1M 3 22 VSS VSS 4 21 COS2P COS1P 5 20 COS2M COS1M 6 19 OSCI OUT5 7 18 OSCO OUT6 8 17 VER OUT7 9 16 ERR VCC 10 15 RST CS 11 14 TEST SCLK 12 13 DIN 10407 fig.2 Pinning diagram. SO24 PACKAGE STANDARD PRODUCT 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 ) Pin 6 : COS1M, Output buffer (coil 2 Logo1 ) Pin 7 : OUT5, Output buffer ( Logo 3 ) Pin 8 : OUT6, Output buffer ( Logo 4 ) Pin 9 : OUT7, Output buffer ( Logo 5 ) Pin 10 : VCC Pin 11 : CS, Chip select ( Schmitt trigger with 300k pull-down ) Pin 12 : SCLK, Serial clock ( Schmitt trigger ) Pin 13 : DIN, Data IN ( Scmitt trigger ) Pin 14 : TEST input. (1k pull-down) Pin 15 : RSTB, external reset ( Schmitt trigger ) Pin 16 : ERRB, Quadrant error output ( Open drain ) Pin 17 : VER, Quadrant verification inhibit Pin 18 : OSCO, Crystal oscillator output Pin 19 : OSCI, Crystal oscillator input Pin 20 : COS2M, Output buffer (coil 2 Logo2 ) 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 ) july 9, 1997 PAGE 2, REV 4 TYPE 10407 ACTUATOR DRIVER WITH SERIAL LINK 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 Three tests are done (see fig 3.) R2 S2 OUT1M Coil OUT1P S1 (HI Z) Test 1 Test 2 Test 3 (HI Z) V1 R1 condition test for : S1 closed, S2 open S1 closed, S2 closed S1 open, S2 closed V1 = VSS V1 = VCC/2 V1 = VCC VSS fig 3. Test for short-circuits and open circuits. 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 fig 4. One bridge. 2) Logometers 90 There are three different PWM outputs for Logo 3, Logo 4, Logo 5. STANDARD PRODUCT july 9, 1997 PAGE 3, REV 4 TYPE 10407 ACTUATOR DRIVER WITH SERIAL LINK 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 : D1D2D3 = 001 D1D2D3 = 011 D1D2D3 = 100 D1D2D3 = 110 D1D2D3 = 101 Writing request LOGO1 Writing request LOGO2 Writing request LOGO3 Writing request LOGO4 Writing request LOGO5 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 1 DIN CODOP 10 BITS ANGLE quad z z ERRB fig 5. Timing diagram serial link. "0" if error 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. STANDARD PRODUCT july 9, 1997 PAGE 4, REV 4 TYPE 10407 ACTUATOR DRIVER WITH SERIAL LINK 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. STANDARD PRODUCT july 9, 1997 PAGE 5, REV 4 TYPE 10407 ACTUATOR DRIVER WITH SERIAL LINK PWM GENERATION. 1) Logometers 360 ( Logo 1 and Logo 2 ) : 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 : Q1 Q2 Q3 Q4 (D14D15 = 00) (D14D15 = 01) (D14D15 = 10) (D14D15 = 11) 0 < 90 90 < 180 180 < 270 270 < 360 The PWM are switched to the outputs depending on the value of the quadrant : QUADRANT 90 Q2 -+ Q1 ++ 0 180 SIN1M SIN1P COS1M COS1P 0 0 PWMSIN 0 PWMCOS 0 1 0 PWMCOS PWMSIN 0 1 0 PWMSIN 0 PWMCOS 0 1 1 PWMCOS 0 0 PWMSIN D14 D15 0 Q3 -- Q4 +270 fig 6. Quadrants and PWM sign. Logometer 1 is driven by outputs SIN1M/P COS1M/P, Logometer 2 is driven by outputs SIN2M/P COS2M/P. The PWM frequency is given by : FPWM = FOSC / 512 (FOSC = Crystal oscillator frequency) 2) Logometers 90 (Logo1, Logo2, Logo3) : The value transmitted by the P is directly the PWM value (D4D5D6D7D8D9D10D11D12), D4 is MSB and D12 LSB. D13 and Quad bits (D14,D15) are not used. STANDARD PRODUCT july 9, 1997 PAGE 6, REV 4 TYPE 10407 ACTUATOR DRIVER WITH SERIAL LINK ABSOLUTE MAXIMUM RATINGS. parameter symbol min. max. unit Storage temperature range Tstg -40 +150 C Operating temperature range Tamb -40 +85 C Supply voltage range (pin 1) VCC -0.3 14.0 V VI -0.3 VCC + 0.3 V Input voltage range STANDARD PRODUCT july 9, 1997 PAGE 7, REV 4 TYPE 10407 ACTUATOR DRIVER WITH SERIAL LINK ELECTRICAL CHARACTERISTICS. Tamb = -40 to 85C, VCC = 5 V to 12 V unless otherwise specified. parameter Supply current conditions symbol Inputs at VCC or VSS No loads on outputs VCC=8.5V T=25C Maximum power dissipation Inputs Input capacitance Pin 11 Pull-down resistance input voltage LOW input voltage HIGH Hysteresis Leakage current Pin 12,13,14,15,17 input voltage LOW input voltage HIGH Hysteresis Leakage current (p12,15,17) Pull-down resistance (p14) Outputs Pin 16 Low level output voltage High level output leakage current VCC = 8.5 V pin at VCC or VSS VCC = 8.5 V pin at VCC or VSS min. typ. max. unit ICC 5.5 mA PDmax 620 mW Cin 10 pF Rpd VIL VIH VHYS IL 125 -0.3 4 0.5 -1 750 1 VCC+0.3 2.5 1 k V V V A VIL VIH VHYS IL Rpd -0.3 4 0.5 -1 0.8 1 VCC+0.3 2.5 1 1.5 V V V A k IOUT < 500 A VOUT = VCC VOL ILKG 0.3 10 V A Pin 2,3,5,6,20,21,23,24 Drop-out voltage for each pair of buffers VCC = 8.5V, Tamb = 25C Icoil = 30 mA, see fig. 4 Vd 1.6 V Mismatch of drop-out voltage VCC = 8.5V, Tamb = 25C Icoil = 30 mA, see fig. 4 Vd 50 mV VCC = 8.5V, Tamb = 25C Isink = 40mA VCC = 8.5V, Tamb=25C Isource = 40mA VOL 1.0 V Pin 7,8,9 Output voltage low Output voltage high Oscillator Pin 18,19 input pin capacitance STANDARD PRODUCT VOH Cin july 9, 1997 0.6 6.8 7.8 10 V 20 pF PAGE 8, REV 4 TYPE 10407 ACTUATOR DRIVER WITH SERIAL LINK clock frequency 8 fclk MHz AC ELECTRICAL CHARACTERISTICS. Parameter Value unit Maximum SCLK input frequency 500 kHz Setup time DIN to SCLK rising 100 ns Hold time DIN to SCLK rising 100 ns Setup time CS high to SCLK rising 100 ns APPLICATION SCHEMATIC. VCC LOGO1 VCC 1 SIN1P COS1P COS1M CS P 2 23 3 22 4 21 5 20 6 19 11 18 12 17 VCC TEST +5V OUT5 LOGO2 VSS COS2P COS2M OSCI OSCO 8MHz * VER SCLK DIN SIN2P SIN2M SIN1M VSS 24 ERR 13 16 10 15 14 9 7 8 * Load capacitances are internal RST OUT7 OUT6 LOGO5 LOGO4 Rpup LOGO3 Fig 7. Typical application STANDARD PRODUCT july 9, 1997 PAGE 9, REV 4 TYPE 10407 ACTUATOR DRIVER WITH SERIAL LINK 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. (c) 2012 Melexis NV. All rights reserved. For the latest version of this document, go to our website at www.melexis.com Or for additional information contact Melexis Direct: Europe, Africa, Asia: Phone: +32 1367 0495 E-mail: sales_europe@melexis.com America: Phone: +1 248 306 5400 E-mail: sales_usa@melexis.com ISO/TS 16949 and ISO14001 Certified STANDARD PRODUCT july 9, 1997 PAGE 10, REV 4