# US 2026/0100662 A1 · Method for measuring winding electrical parameters in bipolar stepper motors during hold condition

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2026/0100662 A1
- Document ID: US20260100662A1
- Status: Published application
- Kind: A1
- Application number: 18/907,804
- Filed: 2024-10-07
- Published: 2026-04-09
- Earliest claimed: 2024-10-07
- Assignees: STMicroelectronics International N.V.
- Applicants: STMicroelectronics International N.V.
- Inventors: Prospero LOMBARDI
- Web page: https://patentgrep.com/patent/US20260100662A1

## CPC

- H02P 8/14: Arrangements for controlling speed or speed and torque (H02P8/12, H02P8/22 take precedence)
- G01R 31/343: {in operation}
- H02P 8/34: Monitoring operation (H02P8/36 takes precedence)
- H02P: CONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
- G01R: MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES (indicating correct tuning of resonant circuits H03J3/12)

## Abstract

Disclosed herein is a method for controlling a stepper motor driver including a control logic, a digital-to-analog converter (DAC), and two H-bridge circuits for controlling first and second windings of a bipolar stepper motor. The method includes determining desired current signals for the windings based on a rotational position of the stepper motor, converting the desired current signals into analog reference voltages using the DAC, generating pre-drive signals based on the analog reference voltages, and controlling the H-bridge circuits using the pre-drive signals to regulate currents through the windings. Voltage drops across sense resistors are monitored by the control logic as feedback. The desired current signals are determined by generating time-varying periodic current patterns for the windings, the current pattern for the second winding being phase-shifted relative to the current pattern for the first winding, and both current patterns being dependent on a step frequency of the bipolar stepper motor.

## Claims

### Claim 1

A method for controlling a stepper motor driver including a control logic unit, a digital-to-analog converter (DAC), and two H-bridge circuits for controlling first and second windings of a bipolar stepper motor, the method comprising:
determining desired current signals for the first and second windings based on a given rotational position of the bipolar stepper motor;
converting the desired current signals into analog reference voltages using the DAC;
generating pre-drive signals based on the analog reference voltages;
controlling the two H-bridge circuits using the pre-drive signals to regulate currents through the first and second windings; and
monitoring voltage drops across sense resistors to provide feedback to the control logic unit for adjusting the pre-drive signals;
wherein the desired current signals are determined by generating time-varying periodic current patterns for the first and second windings, wherein the current pattern for the second winding is phase-shifted relative to the current pattern for the first winding, and wherein both current patterns are dependent on a step frequency of the bipolar stepper motor.

### Claim 2 (depends on 1)

The method of claim 1, wherein the time-varying periodic current patterns are sinusoidal, the phase shift between the current pattern for the second winding relative to the current pattern for the first winding is 90°, the current pattern for the first winding follows the equation IA=I·sin(2πft), and the current pattern for the second winding follows the equation IB=I·cos(2πft), where I is peak current amplitude, f is the step frequency, and t is time.

### Claim 3 (depends on 1)

The method of claim 1, further comprising: performing a self-test of the bipolar stepper motor during a hold condition without rotating a motor shaft, the self-test being performed by the pre-drive signals causing energizing of the first and second windings with current waveforms comprising both DC and AC components; and measuring electrical parameters of the bipolar stepper motor based on the energized first and second windings.

### Claim 4 (depends on 3)

The method of claim 3, wherein: the current waveforms for energizing the first and second windings follow equations: IA=[IDC+IAC sin(2πft)]sin(α) and IB=[IDC+IAC sin(2πft)]cos(α) where: IDC is a DC current component, IAC is an AC current component, f is a test frequency, t is time, and α is an angular position of a magnetic field; and wherein the modulation of IA and IB currents generates a magnetic flux within the stator with fixed direction and variable magnitude.

### Claim 5 (depends on 3)

The method of claim 3, wherein performing the self-test further comprises: providing inputs to the DAC, the inputs to the DAC being a reference waveform REF=IDC+IAC sin(2πft), sin(α), and cos(α); and performing real-time multiplication of the inputs to thereby generate the analog reference voltages.

### Claim 6 (depends on 3)

The method of claim 3, wherein performing the self-test further comprises:
performing digital multiplication in the control logic unit to generate digital words IA=[IDC+IAC sin(2πft)]sin(α), and IB=[IDC+IAC sin(2πft)]cos(α); and
providing the digital words IA and IB directly to the DAC to generate the analog reference voltages.

### Claim 7 (depends on 3)

The method of claim 3, wherein measuring electrical parameters comprises:
measuring DC resistance (RDC) of the first and second windings by averaging respective winding voltages and currents over multiple cycles;
measuring voltage amplitude, current amplitude, and phase shift of signals in the first and second windings; and
calculating AC resistance (RAC) and inductance (L) at a test frequency as per equations:
RAC
=
Z
⁢
cos
⁢
(
φ
)
L
=
(
Z
⁢
sin
⁢
(
φ
)
)
/
(
2
⁢
π
⁢
f
)
where Z is impedance magnitude and q is phase shift between voltage and current, and where V/I=Z.

### Claim 8 (depends on 3)

The method of claim 3,
performing the self-test periodically during operation of the bipolar stepper motor;
applying the self-test at a current mechanical position of the bipolar stepper motor during a holding phase;
selecting which winding or windings to measure based on the current mechanical position; and
conducting the self-test while maintaining the current mechanical position of the bipolar stepper motor.

### Claim 9 (depends on 3)

The method of claim 3, wherein performing the self-test comprises: maintaining a holding torque on the bipolar stepper motor using the DC current component (IDC) while measuring the electrical parameters using either the AC current component (IAC) and DC current component (IDC).

### Claim 10 (depends on 3)

The method of claim 3, further comprising
performing measurement of the first and second windings during the self-test, wherein:
when a rotational position (α) of the bipolar stepper motor is at 45°, 135°, 225° or 315°, the measurement of the first and second windings is performed with the same performance; and
when the rotational position (α) approaches 0°, 90°, 180°, or 270°, the measurement is obtained from only one winding at a time, with one winding carrying the full current while the other carries no current.

### Claim 11 (depends on 1)

The method of claim 1, further comprising using pulse width modulation to adjust the pre-drive signals based on the feedback from the sense resistors.

### Claim 12

A stepper motor driver for controlling a bipolar stepper motor, the stepper motor driver comprising:
a control logic unit;
a digital-to-analog converter (DAC);
two H-bridge circuits for controlling first and second windings of the bipolar stepper motor;
sense resistors coupled to the H-bridge circuits; and
wherein the control logic unit is configured to:
determine desired current signals for the first and second windings based on a given rotational position of the bipolar stepper motor;
convert the desired current signals into analog reference voltages using the DAC;
generate pre-drive signals based on the analog reference voltages;
control the two H-bridge circuits using the pre-drive signals to regulate currents through the first and second windings; and
monitor voltage drops across the sense resistors to provide feedback for adjusting the pre-drive signals;
wherein the desired current signals are determined by generating time-varying periodic current patterns for the first and second windings, wherein the current pattern for the second winding is phase-shifted relative to the current pattern for the first winding, and wherein both current patterns are dependent on a step frequency of the bipolar stepper motor.

### Claim 13 (depends on 12)

The stepper motor driver of claim 12, wherein the time-varying periodic current patterns are sinusoidal, the phase shift between the current pattern for the second winding relative to the current pattern for the first winding is 90°, the current pattern for the first winding follows the equation IA=I·sin(2πft), and the current pattern for the second winding follows the equation IB=I·cos(2πft), where I is peak current amplitude, f is the step frequency, and t is time.

### Claim 14 (depends on 12)

The stepper motor driver of claim 12, wherein the control logic unit is further configured to:
perform a self-test of the bipolar stepper motor during a hold condition without rotating a motor shaft, the self-test being performed by the pre-drive signals causing energizing of the first and second windings with current waveforms comprising both DC and AC components; and
measure electrical parameters of the bipolar stepper motor based on the energized first and second windings.

### Claim 15 (depends on 14)

The stepper motor driver of claim 14, wherein:
the current waveforms for energizing the first and second windings follow equations:
IA
=
[
IDC
+
IAC
⁢
sin
⁡
(
2
⁢
π
⁢
ft
)
]
⁢
sin
⁡
(
α
)
⁢
and
⁢
IB
=
[
IDC
+
IAC
⁢
sin
⁢
(
2
⁢
π
⁢
ft
)
]
⁢
cos
⁡
(
α
)
where:
IDC is a DC current component,
IAC is an AC current component,
f is a test frequency,
t is time, and
α is an angular position of a magnetic field;
and wherein the modulation of IA and IB currents generates a magnetic flux within the stator with fixed direction and variable magnitude.

### Claim 16 (depends on 14)

The stepper motor driver of claim 14, wherein to perform the self-test, the control logic unit is further configured to:
provide inputs to the DAC, the inputs to the DAC being a reference waveform REF=IDC+IAC sin(2πft), sin(α), and cos(α); and
perform real-time multiplication of the inputs to thereby generate the analog reference voltages.

### Claim 17 (depends on 14)

The stepper motor driver of claim 14, wherein to perform the self-test, the control logic unit is further configured to:
perform digital multiplication to generate digital words IA=[IDC+IAC sin(2πft)] sin(α), and IB=[IDC+IAC sin(2πft)]cos(α); and
provide the digital words IA and IB directly to the DAC to generate the analog reference voltages.

### Claim 18 (depends on 14)

The stepper motor driver of claim 14, wherein to measure electrical parameters, the control logic unit is configured to:
measure DC resistance (RDC) of the first and second windings by averaging respective winding voltages and currents over multiple cycles;
measure voltage amplitude, current amplitude, and phase shift of signals in the first and second windings; and
calculate AC resistance (RAC) and inductance (L) at a test frequency as per equations:
RAC
=
Z
⁢
cos
⁢
(
φ
)
L
=
(
Z
⁢
sin
⁢
(
φ
)
)
/
(
2
⁢
π
⁢
f
)
where Z is impedance magnitude and q is phase shift between voltage and current, and where V/I=Z.

### Claim 19 (depends on 14)

The stepper motor driver of claim 14, wherein the control logic unit is further configured to:
perform the self-test periodically during operation of the bipolar stepper motor;
apply the self-test at a current mechanical position of the bipolar stepper motor during a holding phase;
select which winding or windings to measure based on the current mechanical position; and
conduct the self-test while maintaining the current mechanical position of the bipolar stepper motor.

### Claim 20 (depends on 14)

The stepper motor driver of claim 14, wherein to perform the self-test, the control logic unit is configured to:
maintain a holding torque on the bipolar stepper motor using the DC current component (IDC) while measuring the electrical parameters using either the AC current component (IAC) and DC current component (IDC).

### Claim 21 (depends on 14)

The stepper motor driver of claim 14, wherein the control logic unit is further configured to:
perform measurement of the first and second windings during the self-test, wherein:
when a rotational position (α) of the bipolar stepper motor is at 45°, 135°, 225° or 315°, the measurement of the first and second windings is performed with the same performance; and
when the rotational position (α) approaches 0°, 90°, 180°, or 270°, the measurement is obtained from only one winding at a time, with one winding carrying the full current while the other carries no current.

### Claim 22 (depends on 12)

The stepper motor driver of claim 12, wherein the control logic unit is further configured to use pulse width modulation to adjust the pre-drive signals based on the feedback from the sense resistors.
