Samsung SP0411N HDD Tutorial

Embed Size (px)

Citation preview

  • 8/9/2019 Samsung SP0411N HDD Tutorial

    1/9

    Tutorial Tutorial Tutorial Tutorial - how to locate the basic test points of an unfamiliar HDD - how to locate the basic test points of an unfamiliar HDD - how to locate the basic test points of an unfamiliar HDD - how to locate the basic test points of an unfamiliar HDDPCBPCBPCBPCB

    IntroductionIntroductionIntroductionIntroduction

    This tutorial in intended to show how one may determine the test points for the onboard DC-DC converters, spindle motor, VCM,and preamp supply rails of an unfamiliar HDD PCB. We also identify any protection devices. I have done as much as possible inthe absence of power in order to simulate a non-functioning PCB.

    Our example will be a Samsung SP0411N IDE PCB ( PANGO REV06 ).

    It is assumed that the reader understands how to use a digital multimeter.

    Preliminary observationsPreliminary observationsPreliminary observationsPreliminary observations

    ng SP0411N HDD Tutorial http://www.users.on.net/~fzabkar/HDD/Tutorial_SP0411N.html

    1/29/2015 6

  • 8/9/2019 Samsung SP0411N HDD Tutorial

    2/9

    (a) Date Codes

    These can be observed on the drive's label and on the various ICs and semiconductors. The latter are most often in YWW orYYWW (Year / Week) format.

    In our example the most obvious date codes are ...

    0320 0324 0327 K323 Y325

    This suggests that the drive was manufactured during or after the 27th week of 2003, ie some time in early July.

    (b) SDRAM and EEPROM

    These ICS are two of the easiest to identify. Their datasheets should be easy to locate, and they will tell us the supply voltages andsupply pins of each chip.

    In fact the SDRAM ( IC42S16100-6T ) requires a 3.3V supply on pins 1 and 25, and the EEPROM ( M29F102BB ) is a 5V device.

    Locating the DC-DC convertersLocating the DC-DC convertersLocating the DC-DC convertersLocating the DC-DC converters

    DC-DC converters are of two types, either linear or switchmode .

    Linear supplies will either have a single regulator IC, or a pass transistor that is driven and monitored by the motor controller IC.

    Switchmode DC-DC converters will be identified by an inductor , either a coil or a 2-pin rectangular package. In the vicinity of theinductor will be a MOSFET and Schottky diode . Sometimes the MOSFET and diode are combined in a single FETKY package.The MOSFET is usually controlled by pulses from the motor controller ( Pulse Width Modulation ), but some designs use aseparate PWM controller IC.

    In our case the PCB has no coils, so there don't appear to be any switchmode supplies. This is not surprising since switchmodeconverters weren't regularly used in HDD applications of that time.

    Instead we need to focus on the larger discrete semiconductors, specifically the 3-pin parts marked LT25 , X2B , DA and CF . Thesewould be power devices of some kind. Our initial guess would be that these are transistors ( NPN or PNP ), or MOSFETs(N-channel or P-channel), or 3-terminal LDO (low drop-out) regulators.

    In fact the marking code of the LT25 device would suggest that it may be a 2.5V LDO regulator (we have already determined thatthe K323 marking is a date code). A reasonable assumption would be that this IC may supply one of the voltages for the Marvell88i6522-LGO MCU . LDOs have an input pin, an output pin, and a ground pin. Using the 4-pin Molex power connector as ourreference, a quick continuity test with a multimeter confirms that the uppermost pin connects to +5V and the lowermost to Ground.This would suggest that they are input and ground pins, with the middle pin being the +2.5V output. However, contrary to ourinitial guess, the +2.5V pin does not connect to the MCU.

    We now need to determine which device provides the +3.3V for the SDRAM . This is done by testing for continuity between theSDRAM's supply pins and each of the pins of the DA, CF , and X2B devices. This time we find that the leftmost pin of DA is the+3.3V supply, and its centre pin is +5V which makes it the input. The +3.3V supply also powers the MCU and is probably its Viorail.

    The CF device now looks like it may be a third regulator. If we assume that its middle pin is an input, then we find that it connectsto the centre (output) pin of LT25. The lowermost pin of CF connects to a heavy copper trace, so it would probably be an output.This means that CF down-regulates the +2.5V supply to yet another supply rail. More testing reveals that this lower voltage powersthe MCU via numerous pins, and is probably its Vcore rail. There appears to be no continuity between any pin of the MCU and the+5V input.

    Datasheets confirm that CF and DA are in fact NPN transistors , and their pinouts are BCE (Base / Collector / Emitter). My firstguess would be that the bases of both CF and DA are controlled by the HA13627 , but CF is in fact driven from the MCU. Thiswould now suggest that CF may not be a regulator as originally thought. Instead it may just be a switch, and +2.5V may in fact bethe Vcore supply.

    An actual measurement confirms that the output of the LT25 device is indeed +2.48V , and Vcore is +1.37V . Therefore CF is a pass

    ng SP0411N HDD Tutorial http://www.users.on.net/~fzabkar/HDD/Tutorial_SP0411N.html

    1/29/2015 6

  • 8/9/2019 Samsung SP0411N HDD Tutorial

    3/9

    transistor under the control of the MCU.

    ____ | | +5V o----|LT25|----+------o +2.5V |____| C| +2.5V regulator & Vcore+2.5V regulator & Vcore+2.5V regulator & Vcore+2.5V regulator & Vcore | \| B | CF |------o from MCU pin #24 |

  • 8/9/2019 Samsung SP0411N HDD Tutorial

    4/9

    Protection DevicesProtection DevicesProtection DevicesProtection Devices

    Connected directly in series with the PCB's +5V input is a 2-pin device with a marking that looks like " 1X1 ", the second "1" being

    upside down. Its resistance measures around 0.15 ohms. This would suggest that it is some kind of protection device, possibly a 1Afuse. In fact it is actually a PolySwitch , a device which behaves like a resettable fuse .

    The centre pin of the X2B device connects to +5V and the leftmost pin to Ground. One's first impression might be that it is anLDO. In this case the rightmost pin would be the output, but then one would have to ask why there is a 102 (= 1K) resistorbetween output and ground. In fact X2B is not an LDO, but an SCR . It's function is to crowbar the +5V input to ground in theevent of an overvoltage. That is, when the input voltage exceeds the breakdown voltage of the zener diode (C2 marking code), thegate of the SCR is triggered on, causing the SCR to latch into conduction, and resulting in a short-circuit across the +5V input. Thepolyswitch then goes open circuit and effectively disconnects the supply. When the overvoltage condition is removed and the driveis power cycled, the polyswitch should recover and the drive should continue working.

    +5V o | | .-. PolySwitch| | | | '-' | +----+ A| | | z Zener X2B V A Diode SCR - G | Overvoltage crowbar circuitOvervoltage crowbar circuitOvervoltage crowbar circuitOvervoltage crowbar circuit |\---+ K| |

    ng SP0411N HDD Tutorial http://www.users.on.net/~fzabkar/HDD/Tutorial_SP0411N.html

    1/29/2015 6

  • 8/9/2019 Samsung SP0411N HDD Tutorial

    5/9

  • 8/9/2019 Samsung SP0411N HDD Tutorial

    6/9

    The three parallel connected resistors ( 2R00 , 1R0 , 1R0 ) near the 22uF 25V capacitor are the current sense resistors for thespindle motor . They are easily identified because they have a low equivalent resistance ( 0.4 ohms ), and one side of the array isgrounded. The best test point for the motor current would be the resistors themselves, but there is also a plated through-hole at pins4 and 5 of HA13627. The motor current could be determined by measuring the resistor voltage and applying Ohm's Law (V = IR).For example, a voltage of 400mV across a resistance of 0.4 ohms would equate to a current of 1A.

    One observation I'd like to make is that the three resistors are not of equal value. I don't know why this should be the case.Normally one would expect that an 0.4 ohm array would best be constructed using three 1.2 ohm resistors so that the powerdissipation would be split equally amongst them. Perhaps this is the result of a pick-and-place error on the assembly line ???

    Voi ce Coi l Motor test poi nts Voice Coil M otor test poi nts Voi ce Coi l Motor test poi nts Voice Coil M otor test poi nts

    There are three 2R00 parallel connected resistors near pin #48 of the HA13627 IC. Their equivalent resistance is 0.67 ohms . Thevoltage across these resistors reflects the current in the voice coil. These resistors are not grounded but are connected to oneterminal of the VCM. A continuity test will find the corresponding pin in the HDA connector. Adjacent to this HDA pin is the pinfor the other terminal of the VCM. Both pins have heavy copper traces leading away from them, which confirms that they areintended for current carrying rather than signalling. A continuity test also confirms that pins 46 and 48 of the HA13627 drive thevoice coil, and pin 51 is the VCM current sense input.

    +12V o | | +---------+----------+

    ng SP0411N HDD Tutorial http://www.users.on.net/~fzabkar/HDD/Tutorial_SP0411N.html

    1/29/2015 6

  • 8/9/2019 Samsung SP0411N HDD Tutorial

    7/9

    | | | | ||-+ +-|| |||| ---||-+ +-||--- | |

    | | VCM H-bri dge VCM H-bridge VCM H-bridge VCM H-bridge HA13627 pin#51 o----)-------+ | (internal to HA13627)

    | ___ | | HA13627 pin#48 o---+--|___|-+--o VCM o--+---o HA13627 pin#46 | current | | sense |

    ||-+ +-|| |||| ---||-+ +-||--- | | | | +---------+----------+ | | === GND

    HDA Connector test pointsHDA Connector test pointsHDA Connector test pointsHDA Connector test points

    The VCM pins have already been identified. I have chosen to number them as 19 and 20.

    Most ground pins are obvious by inspection, but pin 4 needs a continuity test.

    The Read and Write differential pairs are also fairly obvious. However, I can't tell which is which.

    I believe pins 10, 11, and 12 are the serial data , clock , and enable pins, although not necessarily in that order. I say this becausepins 10 and 11 both connect to the same 82 ohm resistor (820) and another 8-pin device, probably a capacitor array.

    The preamp's +5V supply is cleaned up by an LC filter (serial inductor plus parallel capacitor). A similar low pass filter connectsto pin #2. It is for this reason that I suspect pin #2 to be a second supply rail, and I've called it Vcc2 . That said, I confess that I'mhaving difficulty understanding this circuit. A diode test on my DMM suggests that the two 3-pin devices marked " P " and " N" maybe dual Schottky diodes . The "P" device has a common anode, and the "N" device has a common cathode. The cathode of N is

    grounded.

    An actual measurement ( -5.0V ) confirms that "Vcc2" is the second supply rail.

    inductor L ___ filtered +5V o----UUU---+----o +5V supply Low Pass LC filterLow Pass LC filterLow Pass LC filterLow Pass LC filter | to preamp --- capacitor C ---

    | | === GND

    ng SP0411N HDD Tutorial http://www.users.on.net/~fzabkar/HDD/Tutorial_SP0411N.html

    1/29/2015 6

  • 8/9/2019 Samsung SP0411N HDD Tutorial

    8/9

    VCC + | +-------------------+-------------------+ | | | | | -5.0V | | o | | | | ||-+ +----+----+ +-|| Q1 |||| Q2 --||-+ P1 | | | P2 +-||-- | V | V | | C1 - | - C2 | -5V DC-DC converter-5V DC-DC converter-5V DC-DC converter-5V DC-DC converter | R1 | |C | R2 | | ___ || | --- | || ___ | PWM1 o---+--|___|--||---+ --- +---||--|___|--+---o PWM2 (HA13627 pin#40)(HA13627 pin#41) | 3R3 || | | | || 3R3 | | V | V | | - | - | ||-+ N1 | | | N2 +-|| Q3 |||| Q4 --||-+ +----+----+ +-||-- | | | | | | | | | | | | | | | +-------------------+-------------------+ |

    === GND

    The -5V negative supply for the preamp appears to be a " regulated charge-pump inverter " topology. I don't have a datasheet forthe HA13627, but I'm guessing that its internal circuit could be represented by an H-bridge. Contrary to my initial guess, this circuitis actually a switchmode power supply. It works by charging capacitors C1 and C2 via Q1 and Q2, respectively, during alternatehalf cycles. The charge on each capacitor is then transferred to capacitor C on opposing half cycles via Q3 and Q4.

    ReferencesReferencesReferencesReferences

    ng SP0411N HDD Tutorial http://www.users.on.net/~fzabkar/HDD/Tutorial_SP0411N.html

    1/29/2015 6

  • 8/9/2019 Samsung SP0411N HDD Tutorial

    9/9

    IC42S16100-6T, 512K x 16 Bit x 2 Banks (16-MBIT) SDRAM, 3.3V, Integrated Circuit Solution Inc.:http://www.datasheetarchive.com/pdf/getfile.php?dir=Datasheets-28&file=DSA-559073.pdf&scan=http://www.eanbowman.com/blog/wp-content/uploads/211-01364-0-IC42S16100.pdf

    M29F102BB, EEPROM, 1 Mbit (64Kb x16), 5V, ST Microelectronics:http://www.datasheetcatalog.org/datasheet/SGSThomsonMicroelectronics/mXruwqu.pdf http://www.datasheetcatalog.org/datasheet/stmicroelectronics/6387.pdf

    PC peripheral power connector pinout:http://pinouts.ru/Power/BigPower_pinout.shtml

    2SD1664, NPN transistor, marking DA, Rohm, 32V, 1A, 0.15V VCE(sat), Q marking = 120-270 hfe, R = 180-390:http://www.datasheetcatalog.org/datasheet/rohm/2sd1664.pdf

    2SD2150, Rohm, NPN Low Frequency Transistor, 20V, 3A, 0.2V VCE(sat), marking CF, R = 180-390 hfe:http://www.rohm.com/products/databook/tr/pdf/2sd2150.pdf http://www.s-manuals.com/smd-files/pdf/2/2sd2150_r.pdf

    X0202BN, ST Microelectronics, marking X2B, SENSITIVE GATE SCR, 1.4A:http://www.datasheetarchive.com/pdf/getfile.php?dir=Datasheets-17&file=DSA-332583.pdf&scan=http://www.mouser.com/catalog/specsheets/X02---N_Datasheet.pdf

    PolySwitch Resettable Devices, Raychem Circuit Protection:http://www.datasheetarchive.com/indexdl/Datasheet-078/DSAE0070002.pdf

    ASCII circuit diagrams created by AACircuit v1.28.6 beta 04/19/05:http://www.tech-chat.de

    HDD IC Database:http://www.users.on.net/~fzabkar/HDD/HDD_ICs.txt

    ng SP0411N HDD Tutorial http://www.users.on.net/~fzabkar/HDD/Tutorial_SP0411N.html