Patent ID: 7888902

Claim:
A method of configuring a signal for controlling a voice coil motor (VCM), said method comprising: accessing a voltage at an error amplifier of a VCM driver; accessing a target value at said error amplifier; determining a difference value between said target value and said voltage; and adjusting an impedance value of a variable compensation based on said difference value and according to at least one of a VCM driver operation mode and a VCM operating environment mode, said VCM driver operation mode comprising seeking or tracking, said VCM operating environment mode comprising temperature of said VCM, wherein said variable compensation is coupled with said error amplifier, and wherein said adjusting comprises: providing a combination of a variable capacitor in series with a resistor, said resistor comprising a fixed resistor and a variable resistor positioned in a feedback path of an error amplifier, said combination being a variable compensation network configured to be dynamically adjusted via opening and closing switches to establish an impedance to insert into said feedback path, said impedance determined according to a value programmed into a control register; in relation to said VCM driver operation mode, modifying a bandwidth according to said mode of a VCM driver operation, wherein said modifying is based on whether said VCM driver is seeking or tracking; and in relation to said VCM operating environment mode, implementing a temperature compensation algorithm configured for enabling said variable compensation network to adapt to a change in temperature within said VCM.