L7250
3.6.1 Voltage Mode
In Voltage Mode, the VCM power outputs will apply a voltage to the VCM motor commanded by the VCM DAC.
This is implemented by tristating the sense amp and error amp outputs, and connecting DAC_OUT to
ERR_OUT with an internal switch (switch S2). Skipping the err_out amplifier the DAC command will enter the
power section without any inversion, then the DAC codification must be considered in opposite direction respect
to the current mode operation.
3.7 VCM Loop Offset Calibration Mode
The VCM Loop Calibration mode can be implemented following two different approach:
1) The VCM loop is enabled (sense amp, error amp, DAC), but the VCM power stage is tri-stated. Thus,
the sense amp is guaranteed to be monitoring a zero current condition.
To implement offset calibration, the current command is swept through zero by the controller ASIC.
Since the Gm loop is open, the error amp output will be saturated in one direction or the other depending
on the current command (to configurate the error opamp as a comparator the external compensation
network will be disconnected opening the switch S1). As the command sweeps through the zero current
command point, the error amp output will swing to the other extreme. The comparator senses the out-
put swing of the error amp, and through the serial port (Reg. 00H -> b6) interrupts the ASIC. The ap-
propriate DAC value corresponding to the trip point interrupt is the loop zero current offset.
Figure 9. VCM Current Loop Offset Calibration 1
START
VCM Current Loop
Offset Calibration Routine
Set VCM Offset Calibration
Write Reg.03H
VCMState[2:0] = 101
DAC_VAL = 0
Flag1 = 0 , Flag2 = 0
* DAC_VAL is in 2 complement format
Set SenseAmpl.Gain
Write Reg.09H
Set SenseAmpl.Gain
Write Reg.09H
Select
Sense Amplifier
Gain
4.5 V/V
16 V/V
GainSW bit = 0
GainSW bit = 1
UPDATE 15 Bit DAC
Write Reg.09H
Flag1 = 1
Flag2 = 1
dac[14:0]= DAC_VAL
Read Error Ampl Output
Read Reg.00H
DAC_VAL = DAC_VAL +1
DAC_VAL = DAC_VAL -1
VCMcalOut bit value
NO
Flag2 =1
YES
NO
Flag1 = 1
YES
NO
YES
VCMcalOut = 0
EXIT
VCM Current Loop
Offset Calibration Routine
Store the DAC_VAL
as the zero loop offset
29/46