Method and device for determining an estimated value of a measurement offset of a phase current sensor

The method and device for determining the measurement offset of phase current sensors in electric drive machines address inaccuracies by using a dq coordinate system and PLL filter unit, ensuring precise and robust current control for reliable electric vehicle operation.

WO2024193928A1PCT designated stage expired Publication Date: 2024-09-26BAYERISCHE MOTOREN WERKE AG
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/EP2024/054236
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-20
Filing Date
2024-02-20
Publication Date
2024-09-26

AI Technical Summary

Technical Problem

The measurement offset of phase current sensors in electric drive machines can lead to inaccuracies over time due to service life degradation and temperature fluctuations, affecting the reliable operation of electric vehicles.

Method used

A method and device that determine the estimated value of the measurement offset using a dq coordinate system, iterative adjustments, and a phase-locked loop filter unit, based on control error measurements and stator inductance models, to correct and minimize deviations in current control.

Benefits of technology

This approach enables precise and robust determination of the measurement offset, ensuring long-term reliable operation and precise current control of electric machines by iteratively adjusting the estimated offset values using a PLL-based filter unit.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure EP2024054236_26092024_PF_FP
    Figure EP2024054236_26092024_PF_FP
Patent Text Reader

Abstract

The invention describes a device (101, 300) for determining an estimated value (314, 315) of a measurement offset of a phase current sensor (115) for a phase current (112) of an electric machine (103). The device (101, 300) is set up to determine a measurement value (215) of a control error of a current controller (200) for setting the phase current (112) of the electric machine (103) for a time. The device (101, 300) is further set up to use a model (302) that is dependent on the stator inductance of the electric machine (103) to determine a model value (313) of the control error for the time based on the estimated value (314, 315) of the measurement offset of the phase current sensor (115) for the time. The device (101, 300) is furthermore set up to use a filter unit (301) to determine the estimated value (314, 315) of the measurement offset of the phase current sensor (115) for a subsequent time based on the measurement value (215) of the control error and based on the model value (313) of the control error.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] 22-2096 - 1 - Method and device for determining an estimated value of a measurement offset of a phase current sensor. The invention relates to a method and a corresponding device designed to determine the offset of a phase current sensor of an electrical machine. An electrically powered vehicle has an electric drive motor that can be operated with several, generally N, approximately N=3, phase currents. The phase currents can be generated by a converter based on a direct current provided by an electrical energy storage device. The individual phase currents can each be detected and monitored by a current sensor arranged on the respective phase line. The measured values ​​of N-1 current sensors can be used to control the phase currents. The N teCurrent sensor can be used for total current plausibility check. Over the service life of a phase current sensor and / or due to temperature fluctuations, the measured values ​​of the 22-2096 - 2 - phase current sensor may exhibit a measurement offset and / or the measurement offset of the phase current sensor may change. This can lead to inaccuracies in the operation of the vehicle's electric drive motor. This document addresses the technical problem of enabling efficient, precise, and robust determination of the measurement offset of a phase current sensor, in particular to ensure permanently reliable operation of an electric machine. This problem is solved by each of the independent claims. Advantageous embodiments are described, among other things, in the dependent claims.It should be noted that additional features of a patent claim dependent on an independent patent claim, without the features of the independent patent claim or only in combination with a subset of the features of the independent patent claim, can form a separate invention independent of the combination of all features of the independent patent claim, which can be made the subject of an independent claim, a divisional application, or a subsequent application. This equally applies to technical teachings described in the description, which can form an invention independent of the features of the independent patent claims. According to one aspect, a device for determining an estimated value of the measurement offset of a phase current sensor for a phase current of a (possibly three-phase) electrical machine (such as a synchronous machine) is described.The device can be configured to determine the estimated value of the measurement offset of the phase current sensor for the d-axis and for the q-axis of the dq coordinate system of the electrical machine. The estimated value of the measurement offset of the phase current sensor can then be transformed from the dq coordinate system into the three-phase system of the electrical machine using an inverse Park transformation in order to determine an estimated value of the measurement offset of a first phase current sensor for a first phase and an estimated value of the measurement offset of a second phase current sensor for a second phase of the electrical machine. The estimated value can thus be determined in the dq coordinate system of the electrical machine. Furthermore, the determination can be performed iteratively at a sequence of consecutive points in time.The device is configured to repeatedly determine, at one point in time in each case of the sequence of consecutive points in time, a measured value of the control error of the current controller for setting the phase current of the electrical machine for the point in time (in each case for the d-axis and for the q-axis). The control error of the current controller is typically dependent on the measurement offset of the one or more phase current sensors. The device is further configured to repeatedly determine, at one point in time in each case of the sequence of consecutive points in time, a model value of the control error for the point in time (in each case for the d-axis and for the q-axis) using a model that is dependent on at least one stator inductance of the electrical machine, on the basis of the estimated value of the measurement offset of the phase current sensor for the point in time. The (mathematical) model can be from the ^^. ^^ Stator inductance and the ^^ ^^Stator inductance may depend on the ^^ ^^ Stator inductance and the ^^ ^^Stator inductance are different. A mathematical model can thus be used to determine a model value of the control error on the basis of the previously determined estimated value of the measurement offset, which should correspond to the measured value of the control error. The estimated value of the measurement offset can be adjusted iteratively in order to reduce (in particular to minimize) the deviation of the model value of the control error from the measured value of the control error, and in this way to determine the estimated value of the measurement offset in an efficient and precise manner. 22-2096 - 4 - The device can in particular be set up to determine the estimated value of the measurement offset of the phase current sensor for the time (directly) following the respective time using a filter unit on the basis of the measured value of the control error and on the basis of the model value of the control error.The device, in particular the filter unit, can be configured to determine the estimated value of the measurement offset of the phase current sensor using a phase-locked loop (PLL). The PLL can depend on the electrical frequency of the electrical machine and / or on the (electrical) speed of the electrical machine. By using a (PLL-based) filter unit, the estimated value of the measurement offset can be determined in a particularly robust and precise manner. The filter unit can comprise a bandpass filter (or be designed as a bandpass filter). The device can be configured to determine the electrical frequency and / or the (electrical) speed of the electrical machine for the respective point in time. The bandpass filter, in particular the passband of the bandpass filter, can then be adjusted depending on the electrical frequency and / or the (electrical) speed of the electrical machine.Alternatively or additionally, the model can be adapted depending on the (electrical) speed of the electric machine. In this way, the estimated value of the measurement offset can be determined in a particularly precise and robust manner. The device can be configured to use the filter unit, in particular the bandpass filter of the filter unit, to filter a signal dependent on the measured value of the control error for the time and on the model value of the control error for the time, in particular a signal dependent on the difference between the measured value and the model value. The estimated value of the measurement offset of the phase current sensor for the subsequent time can then be determined in a particularly precise and robust manner based on the filtered signal.The device can be configured to determine the input value of the filter unit based on the measured value of the control error for the time and on the model value of the control error for the time, in particular based on the difference between the measured value of the control error for the time and the model value of the control error for the time. The filter unit can then be used to determine the estimated value of the measurement offset of the phase current sensor for the subsequent time based on the input value of the filter unit. The filter unit can be configured to adapt the estimated value of the measurement offset of the phase current sensor along the sequence of times in such a way that the input value (if applicable, the input value accumulated over the sequence of times) is reduced. The estimated value of the measurement offset can thus be determined in a particularly precise and robust manner.As already explained above, the measured value of the control error, the model value of the control error, and the estimated value of the measurement offset of the phase current sensor can be determined for the d-axis and the q-axis of the dq coordinate system of the electrical machine, respectively, to enable particularly precise current control of the electrical machine. The (mathematical) model can be dependent on, on, and / or include; in particular, the model can correspond to, where 22-2096 - 6 - • ^^ ^^_ ^^ , ^^ ^^_ ^^ a model value of the measured value of the (at least one) phase current sensor for the d-axis or for the q-axis of the dq coordinate system of the electrical machine; • ^^ ^ ∗ ^ is the setpoint of the phase current (for the current controller) for the d-axis or for the q-axis of the dq coordinate system; • ^^ ^^_ ^^ − is the model value of the control error for the d-axis or for the q-axis of the dq coordinate system; • ^^ ^^ ^^ , ∆ ^^^^_ ^^ ^^ ^^is the estimated value of the measurement offset of the phase current sensor for the d-axis or for the q-axis of the dq coordinate system; • ^^ ^^ ^^ the bandwidth of the current controller; • ^^ ^^ is the electrical resistance of the stator of the electrical machine; • ^^ ^^ , ^^ ^^ is the stator inductance for the d-axis or for the q-axis of the dq coordinate system; and / or • ^^ ^^is the electrical speed of the electrical machine. The above-mentioned mathematical model enables particularly precise determination of the estimated value of the measurement offset. The device can be configured to record a measured value for the phase current for the subsequent point in time using the (at least one) phase current sensor (and to transform it into the dq coordinate system). The measured value for the phase current can be corrected (in the dq coordinate system) using the estimated value of the measurement offset of the phase current sensor for the subsequent point in time in order to determine a corrected measured value for the phase current for the subsequent point in time. Furthermore, the phase current can be adjusted, in particular within the framework of current control, as a function of the corrected measured value for the phase current, in particular regulated to the setpoint for the phase current. In this way, particularly precise operation of the electrical machine can be achieved.22-2096 - 7 - According to a further aspect, a (road) motor vehicle (in particular a passenger car or a truck or a bus or a motorcycle) is described which comprises the device described in this document. The vehicle further comprises an electric drive machine. According to a further aspect, a method for determining an estimated value of the measurement offset of at least one phase current sensor for a phase current of an electric machine is described. In this case, one or more estimated values ​​can be determined in the dq coordinate system and transformed into the three-phase system of the electric machine. The method comprises, repeatedly, at one point in time in a sequence of consecutive points in time, determining a measured value of the control error of the current regulator for adjusting the phase current of the electric machine for the respective point in time.Furthermore, the method comprises determining, using a model dependent on at least one stator inductance of the electric machine, a model value of the control error for the point in time on the basis of the estimated value of the measurement offset of the phase current sensor for the respective point in time. The method further comprises determining, using a (PLL) filter unit, the estimated value of the measurement offset of the phase current sensor for the point in time directly following the respective point in time (in the sequence of points in time) on the basis of the measured value of the control error for the point in time and on the basis of the model value of the control error for the point in time. According to a further aspect, a software (SW) program is described. The SW program can be set up to be executed on a processor (e.g. on a control unit of a vehicle) and to thereby carry out the method described in this document.22-2096 - 8 - According to a further aspect, a storage medium is described. The storage medium can comprise a software program which is configured to be executed on a processor and thereby to carry out the method described in this document. It should be noted that the methods, devices, and systems described in this document can be used both alone and in combination with other methods, devices, and systems described in this document. Furthermore, any aspects of the methods, devices, and systems described in this document can be combined with one another in a variety of ways. In particular, the features of the claims can be combined with one another in a variety of ways. Furthermore, features listed in parentheses are to be understood as optional features. The invention is described in more detail below using exemplary embodiments.Figure 1a shows an exemplary inverter or converter for an electrical machine of a vehicle; Figure 1b shows an exemplary phase voltage profile; Figure 2 shows exemplary current control loops in the dq coordinate system for current control of an electrical machine; Figure 3 shows an exemplary device for determining an estimated value of the offset of a current sensor; and Figure 4 shows a flow chart of an exemplary method for determining an estimated value of an offset of a phase current sensor. As explained at the beginning, the present document deals with the efficient and precise determination of the measurement offset of a phase current sensor of a multi-phase electrical machine. In this context, Fig. 1a shows an exemplary inverter 100 that is configured to calculate the measured value based on an on-board electrical system voltage U. DC110 (ie a direct voltage) to generate phase voltages 111 22-2096 - 9 - (ie alternating voltages) for the stator coils of an electrical machine 103 (e.g. of a vehicle). The inverter 100 can have an intermediate circuit with an intermediate circuit capacitor 105, to which the vehicle electrical system voltage U DC110 is applied. The inverter 100 (or inverter or converter) comprises a plurality of switches or switching elements 102, 104, which in the example shown are each arranged in a half-bridge for each phase 121, 122, 123. The switching elements 102, 104 are controlled by a control device 101 in order to generate the phase voltages 111 for the electrical machine 103. Fig. 1b shows an example phase voltage 111 that can be generated by the switching elements 102, 104 of a half-bridge. As can be seen from Fig. 1b, the switching elements 102, 104 are switched (i.e. opened or closed) with a specific pulse pattern in order to generate a (sinusoidal) alternating voltage 111. The pulse pattern for a specific (static) operating point of the electric machine 103 can be determined in advance, e.g. by means of an optimization method such as SOPWM (synchronous optimal pulse width modulation), by means of which a specific optimization criterion (e.g.the harmonic distortion of the phase currents) can be optimized, in particular minimized. The determined pulse patterns for different operating points of the electrical machine 103 can be saved, e.g., in a look-up table (LUT). The individual pulse patterns each have a specific number M of pulses for each wave or half-wave of the alternating voltage to be generated, where M is an integer (e.g., M=1, 2, 3, 4, 5, 6 or more). The different operating points of the electrical machine 103 can, for example, include different torques to be set and / or different speeds. 22-2096 - 10 - The device 101 can be configured to effect current regulation, in particular regulation of the phase currents 112 for the different phases 121, 122, 123 of the electrical machine 103, in order to set a specific operating point of the electrical machine 103.For this purpose, current sensors 115 can be used to record measured values ​​for the phase currents 112 in the different phases 121, 122. Typically, with N different phases 121, 122, 123 (e.g., N=3), it is sufficient to record measured values ​​for N-1 phases, since the phase current 112 is on the N. ten Phase 123 is the sum current of the other N-1 phases 121, 122 (e.g., zero). Therefore, the inverter 100 advantageously has only N-1 current sensors 115 for N-1 corresponding phase currents 112. The measured values ​​of the phase currents of the individual phases a (121), b (122), and c (123) can be defined for N=3 as follows: There are ^^ ^^ ^^ , ^^ ^^ ^^ and ^^ ^^ ^^the correct values ​​of the phase currents for the first phase a, for the second phase b, and for the third phase c, respectively. ∆ ^^^^ ^^_ ^^ ^^ ^^ is the measurement offset of the first current sensor 115 for the first phase, and ∆ ^^^^ ^^_ ^^ ^^ ^^ is the measurement offset of the second current sensor 115 for the second phase. ^^ ^^ ^^_ ^^ and ^^ ^^ ^^_ ^^ are the actual measured values ​​of the current sensors 115 for the first phase and for the second phase, respectively, and ^^ ^^ ^^_ ^^ is the actual measured value of the current sensor 115 for the third phase (if present). The above currents can be transformed into the dq coordinate system using a Park transformation, resulting in 22-2096 - 11 - or accordingly in matrix form ^^ ^^the electrical angle of rotation of the electrical machine 103. ∆ ^^^^_ ^^ ^^ ^^ is the d-component of the measurement offset, and ∆ ^^^^_ ^^ ^^ ^^ is the q-component of the measurement offset in the dq coordinate system. In particular, ∆ ^^^^_ ^^ ^^ ^^ describes the influence of the measurement offsets of the phase current sensors 115 on the d-component of the current, and ∆ ^^^^_ ^^ ^^ ^^ describes the influence of the measurement offsets of the phase current sensors 115 on the q-component of the current. The above equations can be reformulated as follows: ∆ ^^^^_ ^^ ^^ ^^= ^^ ^^ ^^ ^^ ^^ ^^ ^^( ^^ ^^ + ^^) (7) ∆ ^^^^_ ^^ ^^ ^^= ^^ ^^ ^^ ^^ ^^ ^^ ^^ ( ^^ ^^ + ^^ ) (8) with ^ ^ ^^ ^^ √ ^ ^ 2 1 2 ^^ = ∆ ^^ ^^_ ^^ ^^ ^^+ 3 (∆ ^^^^ ^^_ ^^ ^^ ^^+ 2∆ ^^^^ ^^_ ^^ ^^ ^^) (9) From equations (7) and (8) it can be seen that the measurement offsets of the phase current sensors 115 cause a harmonic in the phase currents 112 in the dq coordinate system, wherein the harmonic has a frequency corresponding to the electrical rotational speed or speed ^^ ^^of the rotor. Fig. 2 shows exemplary current control loops 200 for the d-component (top) and for the q-component (bottom) of the current. The control loops 200 each have a controller 211 and a system 212 to be controlled. The system 212 to be controlled can be modeled by the formula shown in each case. The system 212 to be controlled provides the actual value 213 of the d-component or the q-component of the current, which are distorted by the respective measurement offset, resulting in the measured values ​​216 of the current. The control loops 200 shown in Fig. 2 are also applicable to a current-excited synchronous machine. Assuming that the controllers 211 (in particular the PI controllers) have a bandwidth of ^^ ^^ ^^ the following formulas can be determined for the d-component and the q-component of the current, Fig.3 shows an exemplary device 300, which is designed to determine estimated values ​​314 for the measurement offsets ∆ ^^^^_ ^^ ^^ ^^, ∆ ^^^^_ ^^ ^^ ^^ (in the dq coordinate system) based on the above-mentioned formulas, in particular based on formulas (11) and (12). The device 300 comprises a model unit 302, which is set up to determine model values ​​313 ^^^^_ ^^ ^^ ^^ for the measured values ​​of the ^^ based on the above-mentioned formulas, in particular based on formulas (11) and (12), and based on the estimated values ​​314 for the measurement offsets. ^^_ ^^ , ^^ ^^_ ^^and / or (based on formulas (13) and (14)) for the control error. Thus, based on the formulas, an observer can be provided to estimate the phase currents measured by the sensors 115 and / or the control error 215 of the current control loops 200. 22-2096 - 13 - The model values ​​313 of the control error can be subtracted from the corresponding measured values ​​215 of the control errors of the current controllers 200 in order to determine input values ​​311 to a filter unit 301, in particular to a Phase Locked Loop (PLL) filter unit 301. The input values ​​311 should ideally be zero. The filter unit 301 can be designed as a bandpass filter with which a signal with the electrical frequency fe ( ^^ ^^= 2 ^^ ∗ ^^ ^^ ∗ ^^) can be extracted from the input values ​​311, in particular from the difference between the input values ​​311 and the output values ​​314 (i.e., the estimated values ​​of the measurement offset) of the filter unit 301. As explained above, the measurement offsets depend on this electrical frequency. The filter unit 301 is further configured to iteratively reduce the input values ​​311, in particular to minimize them (to zero). If this is the case, the model values ​​313 ^^^^_ ^^ ^^ ^^ of the control error determined by the model unit 302 agree with the measured values ​​215 of the control error, and precise estimated values ​​314 of the measurement offsets are thus provided. The filter unit 301 can be designed as described in the document M. Karimi-Ghartemani and AK Ziaran, “Performance characterization of a non-linear system as both an adaptive notch filter and a phase-locked loop”, INTERNATIONAL JOURNAL OF ADAPTIVE CONTROL AND SIGNAL PROCESSING, Int. J. Adapt.Control Signal Process.2004; 18:23-53, (see especially Figures 2 and 5). The content of this document is fully incorporated into this document by reference. The estimated values ​​314 of the measurement offsets can be transformed in a transformation unit 303 from the dq coordinate system to the abc coordinate system in order to provide estimated values ​​315 of the measurement offsets ∆ ^^^^ ^^_ ^^ ^^ ^^, ∆ ^^^^ ^^_ ^^ ^^ ^^. 22-2096 - 14 - Fig.4 shows a flowchart of a (possibly computer-implemented) method 400 for determining an estimated value 314, 315 of a measurement offset of a phase current sensor 115 for a phase current 112 of an electrical machine 103. The method 400 can be designed to determine the estimated value 314 of the measurement offset of at least one phase current sensor (in particular for exactly two phase current sensors) 115 for the d and q axes of the dq coordinate system.Alternatively or additionally, the estimated value 315 of the measurement offset of a phase current sensor 115 can be determined for different phases 121, 122 in the three-phase system of the electric machine 103. The method 400 can be executed repeatedly at one point in time in a sequence of consecutive points in time. In this case, a current estimated value 314, 315 of the measurement offset can be determined, in particular updated, in a recursive manner. The method 400 comprises (at one point in time in the sequence of points in time) determining 401 the measured value 215 of the control error of the current controller 200 for adjusting the phase current 112 of the electric machine 103 for the point in time (in each case for the d-axis and for the q-axis). The measured value 215 of the control error can depend (in the steady state of the current controller 200) on the measurement offset of the phase current sensor 115.Furthermore, the method 400 comprises determining 402, using a model 302 dependent on the stator inductance of the electric machine 103, a model value 313 of the control error for the time on the basis of the estimated value 314, 315 of the measurement offset of the phase current sensor 115 for the time. 22-2096 - 15 - The method 400 further comprises determining 403, using a filter unit 301 (with a bandpass filter), the estimated value 314, 315 of the measurement offset of the phase current sensor 115 for a time subsequent to the time on the basis of the measured value 215 of the control error for the time and on the basis of the model value 313 of the control error for the time.The measures described in this document enable a particularly efficient and precise determination of the measurement offset of at least one phase current sensor 115 of an electrical machine 103, thereby increasing the reliability of the current control and thus the operation of the electrical machine 103. The present invention is not limited to the exemplary embodiments shown. In particular, it should be noted that the description and the figures are intended only to illustrate the principle of the proposed methods, devices, and systems by way of example.

Claims

22-2096 - 16 - Claims 1) Device (101, 300) for determining an estimated value (314, 315) of a measurement offset of a phase current sensor (115) for a phase current (112) of an electrical machine (103); wherein the device (101, 300) is configured to repeatedly, at a respective point in time of a sequence of successive points in time, - determine a measured value (215) of a control error of a current regulator (200) for setting the phase current (112) of the electrical machine (103) for the point in time; − using a model (302) dependent on at least one stator inductance of the electric machine (103), to determine a model value (313) of the control error for the time on the basis of the estimated value (314, 315) of the measurement offset of the phase current sensor (115) for the time;and − using a filter unit (301), on the basis of the measured value (215) of the control error and on the basis of the model value (313) of the control error, to determine the estimated value (314, 315) of the measurement offset of the phase current sensor (115) for a point in time following the point in time. 2) Device (101, 300) according to claim 1, wherein − the filter unit (301) comprises a bandpass filter; and − the device (101, 300) is configured to − determine an electrical frequency and / or an electrical speed of the electrical machine (103) for the point in time; and − adapt the bandpass filter, in particular a passband of the bandpass filter, as a function of the electrical frequency and / or the electrical speed of the electrical machine (103). 22-2096 - 17 - 3) Device (101, 300) according to one of the preceding claims, wherein the device (101, 300) is configured to − use the filter unit (301), in particular use a bandpass filter of the filter unit (301), filter a signal dependent on the measured value (215) of the control error for the time and on the model value (313) of the control error for the time; and − determine the estimated value (314, 315) of the measurement offset of the phase current sensor (115) for the subsequent time on the basis of the filtered signal.4) Device (101, 300) according to one of the preceding claims, wherein the device (101, 300) is configured to − determine an input value (311) of the filter unit (301) on the basis of the measured value (215) of the control error for the time and on the basis of the model value (313) of the control error for the time, in particular on the basis of a difference between the measured value (215) of the control error for the time and the model value (313) of the control error for the time; and − using the filter unit (301), determine the estimated value (314, 315) of the measurement offset of the phase current sensor (115) for the subsequent time on the basis of the input value (311) of the filter unit (301). 5) Device (101, 300) according to claim 4, wherein the filter unit (301) is configured to adapt the estimated value (314, 315) of the measurement offset of the phase current sensor (115) along the sequence of times such that the input value (311) is reduced.6) Device (101, 300) according to one of the preceding claims, wherein the device (101, 300), in particular the filter unit (301), is configured to determine the estimated value (314, 315) of the measurement offset of the phase current sensor (115). 22-2096 - 18 - using a phase-locked loop with respect to an electrical frequency of the electrical machine (103); wherein the electrical frequency depends on an electrical speed of the electrical machine (103).7) Device (101, 300) according to one of the preceding claims, wherein the device (101, 300) is configured to determine the measured value (215) of the control error, the model value (313) of the control error and the estimated value (314) of the measurement offset of the phase current sensor (115) respectively for a d-axis and for a q-axis of a dq-coordinate system of the electrical machine (103); − transforming the estimated value (314) of the measurement offset of the phase current sensor (115) from the dq coordinate system into a three-phase system using an inverse Park transformation (303) in order to determine an estimated value (315) of the measurement offset of a first phase current sensor (115) for a first phase (121) and an estimated value (315) of the measurement offset of a second phase current sensor (115) for a second phase (122) of the electrical machine (103). 8) Device (101, 300) according to one of the preceding claims, wherein − the model (302) is derived from a ^^. ^^ Stator inductance and a ^^^^ Stator inductance depends; and − the ^^ ^^ Stator inductance and the ^^ ^^ Stator inductance are different. 9) Device (101, 300) according to one of the preceding claims, wherein the device (101, 300) is configured to determine an electrical speed of the electrical machine (103) for the time; and 22-2096 - 19 - − adapting the model (302) as a function of the electrical speed. 10) Device (101, 300) according to one of the preceding claims, wherein the model (302) is dependent on, comprises, and / or corresponds to, where − ^^ ^^_ ^^ , ^^ ^^_ ^^ a model value of the measured value of the phase current sensor (115) for a d-axis and for a q-axis of a dq coordinate system of the electrical machine (103); − ^^ ^ ∗ ^is a setpoint of the phase current for the d-axis and for the q-axis of the dq-coordinate system; − is the model value (313) of the control error; − ^^ ^^ ^^ , ∆ ^^^^_ ^^ ^^ ^^is the estimated value (314) of the measurement offset of the phase current sensor (115) for the d-axis and for the q-axis of the dq coordinate system; − ^^ ^^ ^^ is a bandwidth of the current controller (200); − ^^ ^^ is an electrical resistance of a stator of the electrical machine (103); − ^^ ^^ , ^^ ^^ is a stator inductance for the d-axis and for the q-axis of the dq coordinate system; and − ^^ ^^an electrical speed of the electrical machine (103). 11) Device (101, 300) according to one of the preceding claims, wherein the device (101, 300) is configured to: − detect a measured value for the phase current (112) for the subsequent point in time using the phase current sensor (115); − correct the measured value for the phase current (112) using the estimated value (314, 315) of the measurement offset of the phase current sensor (115) for the subsequent point in time in order to determine a corrected measured value for the phase current (112) for the subsequent point in time; and − adjust the phase current (112), in particular within the scope of current control, as a function of the corrected measured value for the phase current (112), in particular to control it to a setpoint for the phase current (112).12) Method (400) for determining an estimated value (314, 315) of a measurement offset of a phase current sensor (115) for a phase current (112) of an electrical machine (103); wherein the method (400) comprises, repeatedly, at each point in time of a sequence of successive points in time, − determining (401) a measured value (215) of a control error of a current controller (200) for setting the phase current (112) of the electrical machine (103) for the point in time; − determining (402), using a model (302) dependent on a stator inductance of the electrical machine (103), a model value (313) of the control error for the point in time on the basis of the estimated value (314, 315) of the measurement offset of the phase current sensor (115) for the point in time; and. - 21 - − Determining (403), using a filter unit (301), the estimated value (314, 315) of the measurement offset of the phase current sensor (115) for a point in time following the point in time on the basis of the measured value (215) of the control error for the point in time and on the basis of the model value (313) of the control error for the point in time.