The disclosure relates generally to electrical machines. In particular aspects, the disclosure relates to a method for an electrical machine. The disclosure can be applied to stand-alone applications as well as to heavy-duty vehicles, such as trucks, buses, and construction equipment, among other vehicle types. Although the disclosure may be described with respect to a particular vehicle, the disclosure is not restricted to any particular vehicle.
The dq frame is a mathematical tool used to simplify the analysis and control of electrical machines, such as electric motors or generators.
The dq frame is a coordinate system that rotates with the rotor of the electrical machine, with the d-axis aligned with the machine's magnetic field and the q-axis 90 degrees ahead of the d-axis. By transforming the three-phase electrical quantities of the machine (i.e. with regards to voltage and current) from the stationary orthogonal frame to the rotating dq frame, it is possible to represent the behavior of the electrical machine as a set of two variables, i.e. the direct-axis (d-axis) and the quadrature-axis (q-axis) components.
The d-axis and the q-axis components may represent any electrical or magnetic quantity (such as current, voltage, or flux) that changes in a three-phase system when the phases are shifted 120 degrees in space and time.
Using the dq frame, it is possible to control the behavior of the electrical machine with regards to speed and torque output by manipulating the d-axis and q-axis components of the voltage and current.
A commonly used way to control electrical machines is called field-oriented control (FOC). FOC involves adjusting the d-axis and q-axis components to control the machine's magnetic field. By adjusting these components in real-time, it is possible to maintain a desired speed or torque output from the machine.
FOC requires the position of the rotor as an input. For this purpose, resolvers may be arranged at the rotor shaft, providing resolver signals indicative of the position of the rotor. Nevertheless, a mechanical resolver offset may exist due to the imbalance of mechanical tolerance during the resolver assembly on the rotor shaft.
Another issue that may be associated with resolvers is related to the analog-to-digital conversion of the resolver signals. One common method when performing the analog-to-digital conversion of the resolver signals is to use delta-sigma modulation, which typically includes an initial encoding of the analog signal using high-frequency delta-sigma modulation, and a subsequent digital filtering to form a high-resolution/low sample-frequency digital output. This conversion technique normally comes with an intrinsic delay called group delay.
The resolver offset, as well as the group delay, will cause errors that will lead to an inaccurate determination of the rotor position, which errors may affect the control and efficiency of the electrical machine negatively.
Today, there are strategies for dealing with imprecise values of the rotor position. A widely used approach is to calibrate the resolver offset by applying dq-control, in particular by applying direct current control and set the d and q current components to zero. The resolver mechanical offset compensation is then determined, preferably using a PI controller, so that the d-axis voltage is zero.
The limitation of this calibration strategy is that there is only one input to calibrate, i.e. the mechanical offset of the resolver. However, since there is an increasing use of delta-sigma analog-to-digital conversion due to its high resolution and noise mitigation compared to the traditional successive-approximation analog-to-digital conversion, the additional offset caused by the group delay is a factor that also needs to be compensated for.
There is therefore a need for improved methods, especially with regards to efficient calibration of resolver offsets.
According to a first aspect of the disclosure, a computer system is provided. The computer system comprises processing circuitry configured to determine a first average of a measured current load angle of an electrical machine and a first average of a correct current load angle of the electrical machine for a plurality of positive speed values within a positive speed interval. The processing circuitry is further configured to determine a second average of the measured current load angle of the electrical machine and a second average of the correct current load angle of the electrical machine for a plurality of negative speed values within a negative speed interval. The processing circuitry is further configured to determine a resolver offset error of the electrical machine from the first and second average of the measured current load angle, and to determine a resolver delay error of the electrical machine from the first and second average of the measured current load angle, from the first and second average of the correct current load angle, and from the rotor speed. The first aspect of the disclosure may seek to improve the accuracy of resolver signals. A technical benefit may include calibration of both mechanical offset and the group delay at the same time to a great accuracy.
In some examples, including in at least one preferred example, optionally the processing circuitry is further configured to determine the first average of the measured current load angle based on at least data representing measured three phase currents and data representing measured resolver position. A technical benefit may include the possibility to use easily available current data.
In some examples, including in at least one preferred example, optionally the processing circuitry is further configured to determine the first average of the correct current load angle based on at least data representing a perfectly aligned dq frame with no resolver error. A technical benefit may include facilitated processing of data in order to obtain a required parameter for determining the resolver error.
In some examples, including in at least one preferred example, optionally the processing circuitry is further configured to disconnect the electrical machine from an associated load prior to determining the first and second averages of the measured and correct current load angle. A technical benefit may include substantial simplification of the calculation process. While this particularly beneficial for vehicle applications, where the electrical machine is connected to the wheels, in other applications the electrical machine may be left connected to the load as long as the electrical machine can spin and that measurements of currents and the resolver angle are possible. A connected load introducing some braking torque will still allow the processing circuitry to determine the resolver offset error and the resolver delay error.
In some examples, including in at least one preferred example, optionally the processing circuitry is further configured to accelerate the electrical machine to a maximum speed value of the positive speed interval, and to allow the electrical machine to freewheel to a minimum speed value of the positive speed interval, wherein the processing circuitry is further configured to determine the first average of the measured and correct current load angle during deceleration of the electrical machine from the maximum speed value to the minimum speed value. A technical benefit may include improved robustness of the processing for determining the resolver error.
In some examples, including in at least one preferred example, optionally the processing circuitry is further configured to control the electrical machine in active short circuit mode during deceleration from the maximum speed value to the minimum speed value of the positive speed interval. A technical benefit may include simplification of the calculation process.
In some examples, including in at least one preferred example, optionally the processing circuitry is further configured to accelerate the electrical machine to a maximum speed value of the negative speed interval, and to allow the electrical machine to freewheel to a minimum speed value of the negative speed interval, wherein the processing circuitry is further configured to determine the second average of the measured and correct current load angle during deceleration of the electrical machine from the maximum speed value to the minimum speed value. A technical benefit may include improved robustness of the processing for determining the resolver error.
In some examples, including in at least one preferred example, optionally the processing circuitry is further configured to control the electrical machine in active short circuit mode during deceleration from the maximum speed value to the minimum speed value of the negative speed interval. A technical benefit may include simplification of the calculation process.
In some examples, including in at least one preferred example, optionally the processing circuitry is further configured to determine the first average of the measured current load angle, the second average of the measured current load angle, the first average of the correct current load angle, and/or the second average of the correct current load angle by a recursive method. A technical benefit may include improved accuracy, as noise of the measured currents is effectively reduced.
In some examples, including in at least one preferred example, optionally the processing circuitry is further configured to determine the resolver offset error as
A technical benefit may include simplified calculation and processing of parameter data.
In some examples, including in at least one preferred example, optionally the processing circuitry is further configured to determine the resolver delay error as
In some examples, including in at least one preferred example, optionally the processing circuitry is further configured to determine the first average of the measured current load angle based on at least data representing measured three phase currents and data representing measured resolver position; determine the first average of the correct current load angle based on at least data representing a perfectly aligned dq frame with no resolver error; disconnect the electrical machine from an associated load prior to determining the first and second averages of the measured and correct current load angle; accelerate the electrical machine to a maximum speed value of the positive speed interval, and to allow the electrical machine to freewheel to a minimum speed value of the positive speed interval, wherein the processing circuitry is further configured to determine the first average of the measured and correct current load angle during deceleration of the electrical machine from the maximum speed value to the minimum speed value, and control the electrical machine in active short circuit mode during deceleration from the maximum speed value to the minimum speed value of the positive speed interval; to accelerate the electrical machine to a maximum speed value of the negative speed interval, and allow the electrical machine to freewheel to a minimum speed value of the negative speed interval, wherein the processing circuitry is further configured to determine the second average of the measured and correct current load angle during deceleration of the electrical machine from the maximum speed value to the minimum speed value, and control the electrical machine in active short circuit mode during deceleration from the maximum speed value to the minimum speed value of the negative speed interval; to determine the first average of the measured current load angle, the second average of the measured current load angle, the first average of the correct current load angle, and/or the second average of the correct current load angle by a recursive method; to determine the resolver offset error as
According to a second aspect of the disclosure, a vehicle is provided. The vehicle comprises the computer system according to the first aspect.
The second aspect of the disclosure may seek to improve control of vehicle operation. A technical benefit may include a more accurate value of the rotor position during operation of the electrical machine, thereby improving vehicle operation.
In some examples, including in at least one preferred example, optionally the vehicle comprises an electrical machine comprising a resolver and at least one load connected to the electrical machine, wherein the computer system is configured to determine the resolver offset error and the resolver delay error of the resolver of the electrical machine.
According to a third aspect of the disclosure, a computer-implemented method is provided. The computer-implemented method comprises determining, by processing circuitry of a computer system, a first average of a measured current load angle of an electrical machine and a first average of a correct current load angle of the electrical machine for a plurality of positive speed values within a positive speed interval, determining, by the processing circuitry, a second average of the measured current load angle of the electrical machine and a second average of the correct current load angle of the electrical machine for a plurality of negative speed values within a negative speed interval, determining, by the processing circuitry, a resolver offset error of the electrical machine from the first and second average of the measured current load angle, and determining, by the processing circuitry, a resolver delay error of the electrical machine from the first and second average of the measured current load angle, from the first and second average of the correct current load angle, and from the rotor speed.
In some examples, including in at least one preferred example, optionally the method further comprises disconnecting, by the processing circuitry, the electrical machine from an associated load prior to determining the first and second averages of the measured and correct current load angle. A technical benefit may include that the electrical machine is allowed to rotate freely, thereby simplifying the method.
In some examples, including in at least one preferred example, optionally the method further comprises controlling, by the processing circuitry, the electrical machine in active short circuit mode during deceleration from a maximum speed value to a minimum speed value of the positive speed interval and of the negative speed interval. A technical benefit may include further simplification of the calculation and processing.
In some examples, including in at least one preferred example, optionally the method further comprises calibrating, by the processing circuitry, the resolver position based on the resolver offset error and the resolver delay error.
According to a fourth aspect of the disclosure, a computer program product is provided. The computer program product comprises program code for performing, when executed by the processing circuitry, the method of the third aspect.
According to a fifth aspect of the disclosure, a non-transitory computer-readable storage medium is provided. The non-transitory computer-readable storage medium comprises instructions, which when executed by the processing circuitry, cause the processing circuitry to perform the method of the third aspect.
The disclosed aspects, examples (including any preferred examples), and/or accompanying claims may be suitably combined with each other as would be apparent to anyone of ordinary skill in the art. Additional features and advantages are disclosed in the following description, claims, and drawings, and in part will be readily apparent therefrom to those skilled in the art or recognized by practicing the disclosure as described herein.
There are also disclosed herein computer systems, control units, code modules, computer-implemented methods, computer readable media, and computer program products associated with the above discussed technical benefits.
The detailed description set forth below provides information and examples of the disclosed technology with sufficient detail to enable those skilled in the art to practice the disclosure.
It should be emphasized that the computer system 100 described herein is not exclusively designed to operate with a vehicle 1, but the computer system 100 may be used in any suitable application, such as moving or stationary applications, embedded or stand-alone applications, etc., as long as it is connected to an electrical machine 10 and forms part of an electrical machine arrangement 5.
The electrical machine arrangement 5 further comprises a computer system 100. The computer system 100 is programmed to determine the resolver offset error and the resolver delay error of the resolver 12. The computer system 100 is further configured to allow field-oriented control (FOC) of the electrical machine 10. The computer system 100 comprises a transformation circuitry 110 configured to measure and transform the motor phase currents to the dq frame, resulting in measured dq frame currents Id and Iq. These transformed currents Id and Iq are compared to reference currents Idref and Iqref (i.e. the flux reference and the torque reference) by regulators 120a, 120b, outputting reference voltages Vdref and Vqref in the dq frame. An inverse transformation circuitry 130 is configured to invert the reference voltages Vdref and Vqref to the voltage components Vαref and Vβref of the stator vector voltage in the stationary orthogonal reference frame. These reference voltages are inputs to a space vector pulse-width modulator 140 which is configured to provide drive signals to an inverter 150.
Each of the transformation circuitry 110 and the inverse transformation circuitry 130 requires the rotor flux position 0. While the rotor flux position can be provided by the resolver 12, any built-in error in the resolver 12 will cause control errors which may affect operation of the electrical machine 10 negatively.
For this purpose, the computer system 100 is configured to determine these built-in errors of the resolver 12 according to a general principle which will be further explained in the following.
The electrical machine arrangement 5 comprises a disconnect clutch 20 which is arranged to allow disconnection of the electrical machine 10 from any load 30 connected to it. In a vehicle application, such load may typically be a wheel, a speed reducer, or a differential mechanism.
The computer system 100 is configured to control disconnection of the disconnect clutch 20 such that the electrical machine 10 can rotate freely without driving any load 30.
The computer system 100 comprises computing circuitry 160 being configured to determine the resolver offset error and the resolver delay error according to a method 200 generally described with reference to
It should be noted that the computing circuitry 160, as well as any processing circuitry programmed to perform the method 200, could be implemented as embedded software and/or hardware with a computer system 100 configured to control the operation of the electrical machine 10. However, the computing circuitry 160, as well as any processing circuitry programmed to perform the method 200, could in other examples be implemented as a stand-alone application. Hence, calculation of the built-in errors of the resolver 12 could be performed as part of the normal operation control of the electrical machine 10, or for example only once during production, preferably at the end of line.
As shown in
When the electrical machine 10 has reached is target speed the electrical machine 10 is controlled 206 in active short circuit mode. Due to the braking torque, friction, and losses the electrical machine 10 will start to decelerate 208 from the target speed.
During deceleration from an upper speed to a lower speed, i.e. during a speed interval, the method 200 determines 210 a first average of a measured current load angle δm(n) of an electrical machine 10 and a first average of a correct current load angle δc(n) of the electrical machine 10. The speed interval may e.g. be from 8000 rpm to 6000 rpm.
The measured current load angle δm(n) of the electrical machine 10 is determined as:
δm(n) is the current load angle from the measured currents at speed n, idm(n) and iqm(n) are the d, q-axis currents at speed n transformed from the measured three phase currents and the resolver angle demodulated from the measured sine and cosine resolver signals.
The correct current load angle δc(n) of the electrical machine 10 is determined as:
δc(n) is the current load angle from the correct currents at speed n, idc(n) and iqc(n) are the correct d, q-axis currents at speed n.
The following voltage equations are applied to calculate the correct d, q-axis currents idc(n) and iqc(n).
ud and uq are all 0. The voltage equations above thus become:
By combing the two equations, the correct d, q-axis currents idc, iqc are acquired as a function of electrical speed shown below:
So far both the measured current load angle δm and the correct current load angle δc are obtained with respect to each mechanical speed n or electrical speed we. Since the resolver mechanical offset and the group delay contribute the same to the shift of the current load angle and that of the resolver position, it follows that:
θm(n) and θc (n) are the measured rotor position angle and the correct rotor position angle at n rpm, respectively. θoffset is the mechanical offset, i.e. the resolver offset error, and τgd is the group delay, i.e. the resolver delay error. Therefore, with knowing the characteristics of the electrical machine 10, the measured phase currents and the measured resolver angle, the sum of mechanical offset and group delay can be calculated at each speed. This sum is a constant so theoretically it is supposed to be the same at all speeds. However, due to the fluctuations and noises on the measured signals, the calculated value may differ at different speeds. To solve this problem, multiple measurement values are sampled within a speed range.
The method 200 is further designed to determine 212 a second average of a measured current load angle δm(n) of the electrical machine 10 and a second average of a correct current load angle δc(n) of the electrical machine 10. This determination is performed for a plurality of negative speed values within a negative speed interval, by again accelerating the electrical machine 10 using speed or torque control and applying active short circuit mode. The negative speed interval may e.g. be from −8000 rpm to −6000 rpm. Hence, the negative speed interval is thus extending between a maximum speed value of the negative speed interval to a minimum speed value of the negative speed interval. Any reference to a maximum speed value and/or a minimum speed value is herein made with regards to the absolute value of the speed. It should be noted that in some examples the electrical machine 10 is not used for accelerating, but another machine may be used as well. The other machine may be an electrical machine of the same vehicle 1, or an external rig machine.
Applying the negative speed but with the same absolute values, it follows that:
By adding the above equations, it is possible to cancel ωeτgd in order to formulate the following equation:
Based on the above equations it follows that
equals to π, so it can be derived that:
Consequently, the resolver delay error can be formulated as:
The method 200 is thus programmed to determine 214 the resolver offset error θoffset, and to determine 216 the resolver delay error τgd.
When these parameters are known, it is possible to obtain a more accurate value of the rotor position, thereby improving control of the electrical machine 10.
To further optimize the algorithm and save the memory, the method 200 may be performed as a recursive method, at least the parts required to calculate the average value.
The same procedure is repeated for active short circuit 312 and deceleration within a negative speed interval 314, e.g. from −8000 rpm to −6000 rpm. The measured current load angle δm(n), i.e. the output of logical operators 306 and 308, is also input to a second recursive average calculation 316 together with the negative rotational speed.
The output from the first and second recursive average calculations 310, 316 is input to a sum operator 318, a “divide by 2” operator 320, and to a “minus x” operator 322. The result is the resolver offset error θoffset.
The correct current load angle δm(n) is determined by an operator 324 determining the correct d and q currents idc(n) and iqc(n) during the positive speed interval 304. The correct currents idc(n) and iqc(n) are input to an arctan function 326. Due to periodicity, these values are a modulus 2π function 328. The correct current load angle δc(n), i.e. the output of logical operators 326 and 328, is subtracted from the measured current load angle δm(n) by a “minus” operator 330, and thereafter divided by the rotation speed by a “division” operator 332. The output of operator 332 is input to a third recursive average calculation 334 together with the positive rotational speed, and to a fourth recursive average calculation 336 together with the negative rotational speed.
The outputs from the third and fourth recursive average calculations 334 and 336 are input to a sum operator 338 and to a “divide by 2” operator 340. The result is the resolver delay error τgd.
The method 400 is further configured to determine 406 a resolver offset error θoffset of the electrical machine 10 from the first and second average of the measured current load angle δm(n).
The method 400 is also configured to determine 408 a resolver delay error τgd of the electrical machine 10 from the first and second average of the measured current load angle δm(n), from the first and second average of the correct current load angle δc(n), and from the rotor speed w (n).
To control a 440 Nm/230 KW electrical machine 10, for instance, the speed range of 6000 rpm to 8000 rpm to calculate the current load angle with may be chosen. Normally, under this range the torque is low and not changing fast which leads to a relatively stable deceleration of the machine when the active short circuit is activated. As a result, no further noticeable delay is introduced with the help of a 3rd order angel tracking observer (ATO). On the other hand, at too high-speed range, e.g., around 10000 rpm, the q-axis current lands around OA, the noises on which will generate a relatively larger error on the current load angle calculation. Therefore, 6000 rpm to 8000 has been chosen as the optimal speed range for this purpose.
Experiments have been made, indicating that the resolver offset error for a 4 pole pair electrical machine 10 may be determined to be around 5.5e-8 electrical degrees while the of the resolver delay error may be determined to be around 3.2e-4 microseconds.
The computer system 500 may comprise at least one computing device or electronic device capable of including firmware, hardware, and/or executing software instructions to implement the functionality described herein. The computer system 500 may include processing circuitry 502 (e.g., processing circuitry including one or more processor devices or control units), a memory 504, and a system bus 506. The computer system 500 may include at least one computing device having the processing circuitry 502. The system bus 506 provides an interface for system components including, but not limited to, the memory 504 and the processing circuitry 502. The processing circuitry 502 may include any number of hardware components for conducting data or signal processing or for executing computer code stored in memory 504. The processing circuitry 502 may, for example, include a general-purpose processor, an application specific processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA), a circuit containing processing components, a group of distributed processing components, a group of distributed computers configured for processing, or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof designed to perform the functions described herein. The processing circuitry 502 may further include computer executable code that controls operation of the programmable device.
The system bus 506 may be any of several types of bus structures that may further interconnect to a memory bus (with or without a memory controller), a peripheral bus, and/or a local bus using any of a variety of bus architectures. The memory 504 may be one or more devices for storing data and/or computer code for completing or facilitating methods described herein. The memory 504 may include database components, object code components, script components, or other types of information structure for supporting the various activities herein. Any distributed or local memory device may be utilized with the systems and methods of this description. The memory 504 may be communicably connected to the processing circuitry 502 (e.g., via a circuit or any other wired, wireless, or network connection) and may include computer code for executing one or more processes described herein. The memory 504 may include non-volatile memory 508 (e.g., read-only memory (ROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), etc.), and volatile memory 510 (e.g., random-access memory (RAM)), or any other medium which can be used to carry or store desired program code in the form of machine-executable instructions or data structures and which can be accessed by a computer or other machine with processing circuitry 502. A basic input/output system (BIOS) 512 may be stored in the non-volatile memory 508 and can include the basic routines that help to transfer information between elements within the computer system 500.
The computer system 500 may further include or be coupled to a non-transitory computer-readable storage medium such as the storage device 514, which may comprise, for example, an internal or external hard disk drive (HDD) (e.g., enhanced integrated drive electronics (EIDE) or serial advanced technology attachment (SATA)), HDD (e.g., EIDE or SATA) for storage, flash memory, or the like. The storage device 514 and other drives associated with computer-readable media and computer-usable media may provide non-volatile storage of data, data structures, computer-executable instructions, and the like.
Computer-code which is hard or soft coded may be provided in the form of one or more modules. The module(s) can be implemented as software and/or hard-coded in circuitry to implement the functionality described herein in whole or in part. The modules may be stored in the storage device 514 and/or in the volatile memory 510, which may include an operating system 516 and/or one or more program modules 518. All or a portion of the examples disclosed herein may be implemented as a computer program 520 stored on a transitory or non-transitory computer-usable or computer-readable storage medium (e.g., single medium or multiple media), such as the storage device 514, which includes complex programming instructions (e.g., complex computer-readable program code) to cause the processing circuitry 502 to carry out actions described herein. Thus, the computer-readable program code of the computer program 520 can comprise software instructions for implementing the functionality of the examples described herein when executed by the processing circuitry 502. In some examples, the storage device 514 may be a computer program product (e.g., readable storage medium) storing the computer program 520 thereon, where at least a portion of a computer program 520 may be loadable (e.g., into a processor) for implementing the functionality of the examples described herein when executed by the processing circuitry 502. The processing circuitry 502 may serve as a controller or control system for the computer system 500 that is to implement the functionality described herein.
The computer system 500 may include an input device interface 522 configured to receive input and selections to be communicated to the computer system 500 when executing instructions, such as from a keyboard, mouse, touch-sensitive surface, etc. Such input devices may be connected to the processing circuitry 502 through the input device interface 522 coupled to the system bus 506 but can be connected through other interfaces, such as a parallel port, an Institute of Electrical and Electronic Engineers (IEEE) 1394 serial port, a Universal Serial Bus (USB) port, an IR interface, and the like. The computer system 500 may include an output device interface 524 configured to forward output, such as to a display, a video display unit (e.g., a liquid crystal display (LCD) or a cathode ray tube (CRT)). The computer system 500 may include a communications interface 526 suitable for communicating with a network as appropriate or desired.
The operational actions described in any of the exemplary aspects herein are described to provide examples and discussion. The actions may be performed by hardware components, may be embodied in machine-executable instructions to cause a processor to perform the actions, or may be performed by a combination of hardware and software. Although a specific order of method actions may be shown or described, the order of the actions may differ. In addition, two or more actions may be performed concurrently or with partial concurrence.
Example 1: A computer system (100, 500) comprising processing circuitry (502) configured to: determine (210) a first average of a measured current load angle (δm(n)) of an electrical machine (10) and a first average of a correct current load angle (δc(n)) of the electrical machine (10) for a plurality of positive speed values within a positive speed interval, determine (212) a second average of the measured current load angle (δm(n)) of the electrical machine (10) and a second average of the correct current load angle (δc(n)) of the electrical machine (10) for a plurality of negative speed values within a negative speed interval, determine (214) a resolver offset error (θoffset) of the electrical machine (10) from the first and second average of the measured current load angle (δm(n)), and determine (216) a resolver delay error (τgd) of the electrical machine (10) from the first and second average of the measured current load angle (δm(n)), from the first and second average of the correct current load angle (δc(n)), and from the rotor speed (ωe).
Example 2: The computer system of Example 1, wherein the processing circuitry (502) is further configured to: determine (210) the first average of the measured current load angle (δm(n)) based on at least data representing measured three phase currents (Ia, Ib) and data representing measured resolver position.
Example 3: The computer system of Example 1 or 2, wherein the processing circuitry (502) is further configured to: determine (210) the first average of the correct current load angle (δc(n)) based on at least data representing a perfectly aligned dq frame with no resolver error.
Example 4: The computer system of any of Examples 1-3, wherein the processing circuitry (502) is further configured to: disconnect the electrical machine (10) from an associated load (30) prior to determining the first and second averages of the measured and correct current load angle (δm(n), δc(n)).
Example 5: The computer system of any of Examples 1-4, wherein the processing circuitry (502) is further configured to: accelerate the electrical machine (10) to a maximum speed value of the positive speed interval, and allow the electrical machine (10) to freewheel to a minimum speed value of the positive speed interval, wherein the processing circuitry (502) is further configured to: determine the first average of the measured and correct current load angle (δm(n), δc(n)) during deceleration of the electrical machine (10) from the maximum speed value to the minimum speed value.
Example 6: The computer system of Example 5, wherein the processing circuitry (502) is further configured to: control the electrical machine (10) in active short circuit mode during deceleration from the maximum speed value to the minimum speed value of the positive speed interval.
Example 7: The computer system of any of Examples 1-6, wherein the processing circuitry is further configured to: accelerate the electrical machine (10) to a maximum speed value of the negative speed interval, and allow the electrical machine (10) to freewheel to a minimum speed value of the negative speed interval, wherein the processing circuitry (502) is further configured to: determine the second average of the measured and correct current load angle (δm(n), δc (n)) during deceleration of the electrical machine (10) from the maximum speed value to the minimum speed value.
Example 8: The computer system of Example 7, wherein the processing circuitry (502) is further configured to: control the electrical machine (10) in active short circuit mode during deceleration from the maximum speed value to the minimum speed value of the negative speed interval.
Example 9: The computer system of any of Examples 1-8, wherein the processing circuitry (502) is further configured to: determine the first average of the measured current load angle (δm(n)), the second average of the measured current load angle (δm (n)), the first average of the correct current load angle (δc(n)), and/or the second average of the correct current load angle (δc(n)) by a recursive method.
Example 10: The computer system of any of Examples 1-9, wherein the processing circuitry (502) is further configured to determine the resolver offset error as
Example 11: The computer system of any of Examples 1-10, wherein the processing circuitry (502) is further configured to determine the resolver delay error as:
where ωe is the electrical speed in rad/s.
Example 12: The computer system of Example 1, wherein the processing circuitry (502) is further configured to: determine (210) the first average of the measured current load angle (δm(n)) based on at least data representing measured three phase currents (Ia, Ib) and data representing measured resolver position; determine (212) the first average of the correct current load angle (δc(n)) based on at least data representing a perfectly aligned dq frame with no resolver error; disconnect the electrical machine (10) from an associated load (30) prior to determining the first and second averages of the measured and correct current load angle (δm (n), δc(n)); accelerate the electrical machine (10) to a maximum speed value of the positive speed interval, and allow the electrical machine (10) to freewheel to a minimum speed value of the positive speed interval, wherein the processing circuitry is further configured to: determine the first average of the measured and correct current load angle (δm(n), δc(n)) during deceleration of the electrical machine (10) from the maximum speed value to the minimum speed value, and control the electrical machine (10) in active short circuit mode during deceleration from the maximum speed value to the minimum speed value of the positive speed interval; accelerate the electrical machine (10) to a maximum speed value of the negative speed interval, and allow the electrical machine (10) to freewheel to a minimum speed value of the negative speed interval, wherein the processing circuitry is further configured to: determine the second average of the measured and correct current load angle (δm(n), 8° C. (n)) during deceleration of the electrical machine (10) from the maximum speed value to the minimum speed value, and control the electrical machine (10) in active short circuit mode during deceleration from the maximum speed value to the minimum speed value of the negative speed interval; determine the first average of the measured current load angle (δm(n)), the second average of the measured current load angle (δm(n)), the first average of the correct current load angle (δc(n)), and/or the second average of the correct current load angle (δc(n)) by a recursive method; determine (214) the resolver offset error as
and determine (216) the resolver delay error as
where ωe is the electrical speed in rad/s.
Example 13: A vehicle (1) comprising the computer system (100, 500) of any of Examples 1-12.
Example 14: The vehicle of Example 13, further comprising: an electrical machine (10) comprising a resolver (12) and at least one load (30) connected to the electrical machine (10), wherein the computer system is configured to determine the resolver offset error (θoffset) and the resolver delay error (τgd) of the resolver (12) of the electrical machine (10).
Example 15: A computer-implemented method, comprising: determining (210), by processing circuitry of a computer system, a first average of a measured current load angle (δm(n)) of an electrical machine (10) and a first average of a correct current load angle (δc(n)) of the electrical machine (10) for a plurality of positive speed values within a positive speed interval, determining (212), by the processing circuitry, a second average of the measured current load angle (δm (n)) of the electrical machine (10) and a second average of the correct current load angle (δc(n)) of the electrical machine (10) for a plurality of negative speed values within a negative speed interval, determining (214), by the processing circuitry, a resolver offset error (O offset) of the electrical machine (10) from the first and second average of the measured current load angle (δm(n)), and determining (216), by the processing circuitry, a resolver delay error (τgd) of the electrical machine (10) from the first and second average of the measured current load angle (δm(n)), from the first and second average of the correct current load angle (δc(n)), and from the rotor speed (ωe).
Example 16: The method of Example 15, further comprising: disconnecting, by the processing circuitry, the electrical machine (10) from an associated load (30) prior to determining the first and second averages of the measured and correct current load angle (δm(n), 8° C. (n)).
Example 17: The method of any of Examples 15-16, further comprising: controlling, by the processing circuitry, the electrical machine (10) in active short circuit mode during deceleration from a maximum speed value to a minimum speed value of the positive speed interval and of the negative speed interval.
Example 18: The method of any of Examples 15-17, further comprising: calibrating, by the processing circuitry, the resolver position based on the resolver offset error (θoffset) and the resolver delay error (τgd).
Example 19: A computer program product comprising program code for performing, when executed by the processing circuitry, the method of any of Examples 15-18.
Example 20: A non-transitory computer-readable storage medium comprising instructions, which when executed by the processing circuitry, cause the processing circuitry to perform the method of any of Examples 15-18.
The terminology used herein is for the purpose of describing particular aspects only and is not intended to be limiting of the disclosure. As used herein, the singular forms “a,” “an,” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. As used herein, the term “and/or” includes any and all combinations of one or more of the associated listed items. It will be further understood that the terms “comprises,” “comprising,” “includes,” and/or “including” when used herein specify the presence of stated features, integers, actions, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, actions, steps, operations, elements, components, and/or groups thereof.
It will be understood that, although the terms first, second, etc., may be used herein to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another. For example, a first element could be termed a second element, and, similarly, a second element could be termed a first element without departing from the scope of the present disclosure.
Relative terms such as “below” or “above” or “upper” or “lower” or “horizontal” or “vertical” may be used herein to describe a relationship of one element to another element as illustrated in the Figures. It will be understood that these terms and those discussed above are intended to encompass different orientations of the device in addition to the orientation depicted in the Figures. It will be understood that when an element is referred to as being “connected” or “coupled” to another element, it can be directly connected or coupled to the other element, or intervening elements may be present. In contrast, when an element is referred to as being “directly connected” or “directly coupled” to another element, there are no intervening elements present.
Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this disclosure belongs. It will be further understood that terms used herein should be interpreted as having a meaning consistent with their meaning in the context of this specification and the relevant art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
It is to be understood that the present disclosure is not limited to the aspects described above and illustrated in the drawings; rather, the skilled person will recognize that many changes and modifications may be made within the scope of the present disclosure and appended claims. In the drawings and specification, there have been disclosed aspects for purposes of illustration only and not for purposes of limitation, the scope of the disclosure being set forth in the following claims.
Number | Date | Country | Kind |
---|---|---|---|
23168578.5 | Apr 2023 | EP | regional |