1460763662-cf75117b-8d3f-47cc-a72d-b216e9b0458e

1. A motor drive device comprising:
a power supply line to which a power supply voltage is applied;
a ground line to which a ground voltage is applied; and
a first motor driver that, when the power supply voltage is normal, rotates an N-phase first motor (where N is an integer of 2 or more) by using the supply voltage and, when the power supply voltage is abnormal, generates a rectified voltage from phase voltages of different phases appearing while the first motor is idling to regenerate the rectified voltage to the power supply line, wherein
the first motor driver, when generating the rectified voltage, boosts the rectified voltage by periodically repeating a brake cycle to make all the terminals of the different phases of the first motor conduct to the ground line and a boost cycle to rectify the phase voltages of the different phases synchronously while making at least one of the terminals of the different phases conduct to the power supply line, wherein
the first motor driver detects a direction of a current flowing through between the first motor and the ground line during the brake cycle, and then determine a state of a synchronous rectification during the boost cycle in accordance with a detection result, wherein
the first motor driver detects a direction of each current flowing through between the first motor and the power supply line and between the first motor and the ground line, and the state of the synchronous rectification changes so as to cut off the current as to the phase in which the direction of the current is switched, and wherein
the first motor driver includes:
N-phase upper side switches that conductdisconnect between different phase terminals of the first motor and the power supply line to and from each other,
N-phase lower side switches that conductdisconnect between different phase terminals of the first motor and the ground line to and from each other,
N-phase upper side comparators that generate the upper side comparison signals of the different phases by comparing the rectified voltage with the phase voltages of the different phases respectively,
N-phase lower side comparators that generate the lower side comparison signals of the different phases by comparing the ground voltage with the phase voltages of the different phases respectively,
a control unit that generates a switch control signal in accordance with the upper side comparison signals and the lower side comparison signals of the different phases, and
a pre-driver unit that turns on and off the upper side switches and the lower side switches of the different phases in accordance with the switch control signal.
2. The motor drive device according to claim 1, wherein
the control unit generates the switch control signal so as to turn on the upper side switches and turn off the lower side switches in the boost cycle regarding the phases with the phase voltages higher than the ground voltage in the brake cycle, on the other hand, the control unit generates the switch control signal so as to turn off the upper side switches and turn on the lower side switches in the boost cycle regarding the phases with the phase voltages lower than the ground voltage in the brake cycle.
3. The motor drive device according to claim 2, wherein
the control unit, when the phase voltages become lower than the rectified voltage, generates the switch control signal so as to turn off the upper side switches regarding the phases in which the upper side switches are turned on in the boost cycle, on the other hand, the control unit, when the phase voltages exceed the ground voltage, generates the switch control signal so as to turn off the lower side switches regarding the phases in which the lower side switches are turned on in the boost cycle.
4. The motor drive device according to claim 3, wherein
the control unit ignores the upper side comparison signals of the different phases during a predetermined mask term when switching the brake cycle to the boost cycle.
5. The motor drive device according to claim 1, wherein
each of the upper side comparators of the different phases includes:
a first voltage input portion that receive the rectified voltage and the phase voltage;
a first level shifter unit that reduces both the rectified voltage and the phase voltage applied via the first voltage input portion; and
a first voltage comparison unit that generates the upper side comparison signal by comparison between the rectified voltage and the phase voltage received via the first level shifter unit.
6. The motor drive device according to claim 5, wherein
the first voltage input portion reduces both the rectified voltage and the phase voltage to transmit both the voltages thus reduced to the first voltage comparison unit.
7. The motor drive device according to claim 1, wherein
each of the lower side comparators of the different phases includes:
a second voltage input portion that receive the ground voltage and the phase voltage;
a second level shifter unit that raises both the rectified voltage and the phase voltage applied via the second voltage input portion; and
a second voltage comparison unit that generates the upper side comparison signal by comparison between the ground voltage and the phase voltage received via the second level shifter unit.
8. The motor drive device according to claim 7, wherein
the second voltage input portion receives the rectified voltage, only when the lower side switch of the corresponding phase is turned on.
9. The motor drive device according to claim 1, wherein
Each of the upper side comparators and the lower side comparators of the different phases is put together on a phase by phase basis as an upper sidelower side common comparator, and the upper sidelower side common comparator has a structure in which the target of comparison is switched so as to compare the phase voltage with the rectified voltage if the upper side switch is turned on, and so as to compare the phase voltage with the ground voltage if the lower side switch is turned on.
10. The motor drive device according to claim 9, wherein
the upper sidelower side common comparator includes:
a first voltage input portion that receive the rectified voltage and the phase voltage;
a first level shifter unit that reduces both the rectified voltage and the phase voltage applied via the first voltage input portion;
a second voltage input portion that receive the ground voltage and the phase voltage;
a second level shifter unit that raises both the rectified voltage and the phase voltage applied via the second voltage input portion;
a first selector unit that outputs either the rectified voltage applied via the first level shifter unit or the phase voltage applied via the second level shifter unit;
a second selector unit that outputs either the phase voltage applied via the first level shifter unit or the ground voltage applied via the second level shifter unit; and
a voltage comparison unit generates the upper side comparison signal and the lower side comparison signal by comparing a selected signal of the first selector unit with a selected signal of the second selector unit.
11. The motor drive device according to claim 10, wherein
the first voltage input portion reduces both the rectified voltage and the phase voltage to transmit both the voltages thus reduced to the first level shifter unit.
12. The motor drive device according to claim 10, wherein
the second voltage input portion receives the rectified voltage, only when the lower side switch of the corresponding phase is turned on.
13. The motor drive device according to claim 1, further comprising:
an insulation switch that conductsdisconnects an application terminal of the power supply voltage and the power supply line to and from each other.
14. The motor drive device according to claim 1, further comprising:
a second motor unit that is connected in series between the power supply line and the ground line to generate a second motor.
15. A magnetic disk storage device comprising:
a platter;
a magnetic head that reads and writes data from and to the platter;
a swing arm that holds the magnetic head at a tip end thereof;
a spindle motor that rotates the platter;
a voice coil motor that moves the swing arm in an arc; and
a motor drive device that drives the spindle motor and the voice coil motor as a first motor and a second motor; wherein
the motor drive device includes:
a power supply line to which a power supply voltage is applied;
a ground line to which a ground voltage is applied; and
a first motor driver that, when the power supply voltage is normal, rotates an N-phase first motor (where N is an integer of 2 or more) by using the supply voltage and, when the power supply voltage is abnormal, generates a rectified voltage from phase voltages of different phases appearing while the first motor is idling to regenerate the rectified voltage to the power supply line, wherein

the first motor driver, when generating the rectified voltage, boosts the rectified voltage by periodically repeating a brake cycle to make all the terminals of the different phases of the first motor conduct to the ground line and a boost cycle to rectify the phase voltages of the different phases synchronously while making at least one of the terminals of the different phases conduct to the power supply line, wherein
the first motor driver detects a direction of a current flowing through between the first motor and the ground line during the brake cycle, and then determine a state of a synchronous rectification during the boost cycle in accordance with a detection result, wherein
the first motor driver detects a direction of each current flowing through between the first motor and the power supply line and between the first motor and the ground line, and the state of the synchronous rectification changes so as to cut off the current as to the phase in which the direction of the current is switched, and wherein
the first motor driver includes:
N-phase upper side switches that conductdisconnect between different phase terminals of the first motor and the power supply line to and from each other,
N-phase lower side switches that conductdisconnect between different phase terminals of the first motor and the ground line to and from each other,
N-phase upper side comparators that generate the upper side comparison signals of the different phases by comparing the rectified voltage with the phase voltages of the different phases respectively,
N-phase lower side comparators that generate the lower side comparison signals of the different phases by comparing the ground voltage with the phase voltages of the different phases respectively,
a control unit that generates a switch control signal in accordance with the upper side comparison signals and the lower side comparison signals of the different phases, and
a pre-driver unit that turns on and off the upper side switches and the lower side switches of the different phases in accordance with the switch control signal.
16. An electronic apparatus comprising:
a magnetic disk storage device; wherein
the magnetic disk storage device includes:
a platter;
a magnetic head that reads and writes data from and to the platter;
a swing arm that holds the magnetic head at a tip end thereof;
a spindle motor that rotates the platter;
a voice coil motor that moves the swing arm in an arc; and
a motor drive device that drives the spindle motor and the voice coil motor as a first motor and a second motor; wherein

the motor drive device includes:
a power supply line to which a power supply voltage is applied;
a ground line to which a ground voltage is applied; and
a first motor driver that, when the power supply voltage is normal, rotates an N-phase first motor (where N is an integer of 2 or more) by using the supply voltage and, when the power supply voltage is abnormal, generates a rectified voltage from phase voltages of different phases appearing while the first motor is idling to regenerate the rectified voltage to the power supply line, wherein

the first motor driver, when generating the rectified voltage, boosts the rectified voltage by periodically repeating a brake cycle to make all the terminals of the different phases of the first motor conduct to the ground line and a boost cycle to rectify the phase voltages of the different phases synchronously while making at least one of the terminals of the different phases conduct to the power supply line, wherein
the first motor driver detects a direction of a current flowing through between the first motor and the ground line during the brake cycle, and then determine a state of a synchronous rectification during the boost cycle in accordance with a detection result, wherein
the first motor driver detects a direction of each current flowing through between the first motor and the power supply line and between the first motor and the ground line, and the state of the synchronous rectification changes so as to cut off the current as to the phase in which the direction of the current is switched, and wherein
the first motor driver includes:
N-phase upper side switches that conductdisconnect between different phase terminals of the first motor and the power supply line to and from each other,
N-phase lower side switches that conductdisconnect between different phase terminals of the first motor and the ground line to and from each other,
N-phase upper side comparators that generate the upper side comparison signals of the different phases by comparing the rectified voltage with the phase voltages of the different phases respectively,
N-phase lower side comparators that generate the lower side comparison signals of the different phases by comparing the ground voltage with the phase voltages of the different phases respectively,
a control unit that generates a switch control signal in accordance with the upper side comparison signals and the lower side comparison signals of the different phases, and
a pre-driver unit that turns on and off the upper side switches and the lower side switches of the different phases in accordance with the switch control signal.

The claims below are in addition to those above.
All refrences to claim(s) which appear below refer to the numbering after this setence.

1. A method for read measurement of resistive memory cells having s\u22672 programmable cell-states, the method comprising:
applying to each cell at least one initial voltage and making a measurement indicative of cell current due to the initial voltage;
determining a read voltage for the cell in dependence on the measurement;
applying the read voltage to the cell;
making a read measurement indicative of cell current due to the read voltage; and
outputting a cell-state metric dependent on the read measurement;
wherein the read voltages for cells are determined in such a manner that the cell-state metric exhibits a desired property.
2. The method of claim 1, further comprising outputting the read measurement as the cell-state metric.
3. The method of claim 1, wherein the cell-state metric is dependent on the read measurement and the measurement indicative of cell current due to the initial voltage.
4. The method of claim 1, wherein the read voltages are determined such that the cell-state metric provides a desired programming curve.
5. The method of claim 4, wherein the cell-state metric provides a larger programming window than that for the measurement indicative of cell current due to the initial voltage.
6. The method of claim 4, wherein the cell-state metric provides a programming curve having a desired shape.
7. The method of claim 1, wherein the read voltages are determined such that the cell-state metric compensates for drift of the cell-states.
8. The method of claim 1, wherein the read voltage is calculated as a predetermined function of the measurement.
9. The method of claim 1, wherein a single initial voltage is applied to the cell.
10. The method of claim 9, further comprising making a single measurement indicative of cell current due to the initial voltage.
11. The method of claim 9, wherein the read voltage is dependent on the difference between the measurement and a predetermined reference value.
12. The method of claim 11, wherein the read voltage is determined from the initial voltage and the difference.
13. The method of claim 1, further comprising detecting the programmed cell-state for each cell in dependence on the cell-state metric.
14. An iterative programming method for resistive memory cells having s\u22672 programmable cell-states, wherein read measurement of the cells during programming is performed by a method as claimed in claim 1.
15. The method of claim 1, wherein s>2.
16. A method for read measurement of resistive memory cells having s\u22672 programmable cell-states, the method comprising:
applying to each cell at least one initial current and making a measurement indicative of cell voltage due to the initial current;
determining a read current for the cell in dependence on the measurement;
applying the read current to the cell;
making a read measurement indicative of cell voltage due to the read current; and
outputting a cell-state metric dependent on the read measurement;
wherein the read currents for cells are determined in such a manner that the cell-state metric exhibits a desired property.
17. (canceled)
18. (canceled)