Method for calculating motor angle

Abstract

A method for determining a motor angle, may include deriving a sensor weight and a sensorless weight via a cross product of an actual current vector and a model-based sensored current vector and a cross product of the actual current vector and a model-based sensorless current vector; and determining a final motor angle by applying the sensor weight and the sensorless weight to each of a sensored angle and a sensorless angle.

Claims

1. A method for determining a motor angle of a motor, the method comprising: detecting, by a sensor, a sensored angle and a sensored angular velocity of the motor; determining, by a controller, a model-based sensored current vector via a sensored voltage model based on the sensored angle and the sensored angular velocity of the motor; determining, by the controller, a model-based sensorless current vector via a sensorless voltage model; determining, by the controller, a sensor weight and a sensorless weight via a cross product of an actual current vector and the model-based sensored current vector and a cross product of the actual current vector and the model-based sensorless current vector; determining, by the controller, a final motor angle by applying the sensor weight and the sensorless weight to each of the sensored angle and a sensorless angle; and outputting, by the controller, the final motor angle and controlling the motor based on the output final motor angle.

2. The method of claim 1, wherein the sensored voltage model receives a stationary axis voltage command vector of the motor, the sensored angle, and a sensored angular velocity as inputs of the sensored voltage model, and outputs the model-based sensored current vector.

3. The method of claim 1, wherein the sensorless voltage model receives a stationary axis voltage command vector of the motor, an estimated sensorless angle, and an estimated sensorless angular velocity as inputs of the sensorless voltage model, and outputs the model-based sensorless current vector.

4. The method of claim 1, wherein each of the sensored voltage model and the sensorless voltage model includes an ordinary differential equation and an integrator.

5. The method of claim 1, wherein in the determining the sensor weight and the sensorless weight, a sensored error is determined by squaring the cross product of the actual current vector and the model-based sensored current vector, and a sensorless error is determined by squaring the cross product of the actual current vector and the model-based sensorless current vector.

6. The method of claim 5, wherein in the determining the sensor weight and the sensorless weight, the sensor weight and the sensorless weight are determined by normalizing each of the sensored error and the sensorless error.

7. The method of claim 1, wherein in the determining the final motor angle, the final motor angle is determined by multiplying the sensored angle by the sensor weight, by multiplying the sensorless angle by the sensorless weight, and then by summing a multiplication result of the sensored angle and the sensor weight and a multiplication result of the sensorless angle and the sensorless weight.

8. The method of claim 1, wherein the actual current vector is determined by applying a stationary axis voltage command vector to an actual motor and passing a current detected at the actual motor through a coordinate converter.

9. The method of claim 1, further including: performing a failover function of an air mobility by use of the final motor angle in controlling the motor.

Description

BRIEF DESCRIPTION OF THE DRAWINGS

(1) FIG. 1 is a block diagram illustrating a method for determining a motor angle according to various exemplary embodiments of the present invention;

(2) FIG. 2 and FIG. 3 are views each illustrating a sensored voltage model and a sensorless voltage model of the method for determining a motor angle according to various exemplary embodiments of the present invention;

(3) FIG. 4 is a block diagram illustrating a current vector-based cross product block of the method for determining a motor angle according to various exemplary embodiments of the present invention;

(4) FIG. 5 is a block diagram illustrating an angle fusion block of the method for determining a motor angle according to various exemplary embodiments of the present invention;

(5) FIG. 6 is a view exemplarily illustrating an estimator that outputs velocity information related to a fused angle of the method for determining a motor angle according to various exemplary embodiments of the present invention; and

(6) FIG. 7 is a view exemplarily illustrating a simulation result when a fault occurs at an output of a sensor at the moment of one second.

(7) It may be understood that the appended drawings are not necessarily to scale, presenting a somewhat simplified representation of various features illustrative of the basic principles of the present invention. The specific design features of the present invention as included herein, including, for example, specific dimensions, orientations, locations, and shapes will be determined in part by the particularly intended application and use environment.

(8) In the figures, reference numbers refer to the same or equivalent parts of the present invention throughout the several figures of the drawing.

DETAILED DESCRIPTION

(9) Reference will now be made in detail to various embodiments of the present invention(s), examples of which are illustrated in the accompanying drawings and described below. While the present invention(s) will be described in conjunction with exemplary embodiments of the present invention, it will be understood that the present description is not intended to limit the present invention(s) to those exemplary embodiments. On the other hand, the present invention(s) is/are intended to cover not only the exemplary embodiments of the present invention, but also various alternatives, modifications, equivalents and other embodiments, which may be included within the spirit and scope of the present invention as defined by the appended claims.

(10) FIG. 1 is a block diagram illustrating a method for determining a motor angle according to various exemplary embodiments of the present invention, FIG. 2 and FIG. 3 are views each illustrating a sensored voltage model and a sensorless voltage model of the method for determining a motor angle according to various exemplary embodiments of the present invention, FIG. 4 is a block diagram illustrating a current vector-based cross product block of the method for determining a motor angle according to various exemplary embodiments of the present invention, FIG. 5 is a block diagram illustrating an angle fusion block of the method for determining a motor angle according to various exemplary embodiments of the present invention, FIG. 6 is a view exemplarily illustrating an estimator that outputs velocity information related to a fused angle of the method for determining a motor angle according to various exemplary embodiments of the present invention, and FIG. 7 is a view exemplarily illustrating a simulation result when a fault occurs at an output of a sensor at the moment of one second.

(11) The method for determining a motor angle according to various exemplary embodiments of the present invention may include deriving a model-based sensored current vector via a sensored voltage model; deriving a model-based sensorless current vector via a sensorless voltage model; deriving a sensor weight and a sensorless weight via a cross product of an actual current vector and the model-based sensored current vector and a cross product of the actual current vector and the model-based sensorless current vector; and determining a final motor angle by applying the sensor weight and the sensorless weight to each of a sensored angle and a sensorless angle.

(12) FIG. 1 is a block diagram of the method for determining a motor angle according to various exemplary embodiments of the present invention. A stationary axis voltage command vector 100 of a motor is commonly applied to an actual Permanent Magnet Synchronous Motor (PMSM) 200, a sensored voltage model 202 written within a digital signal processor (DSP), and a sensorless voltage model 203 written within a processor. A sensored angle 104 and a sensored angular velocity 106, which are detected by a sensor, are input to the sensored voltage model 202. An estimated sensorless angle 105 and an estimated sensorless angular velocity 107, which are estimated by a sensorless control, are input to the sensorless voltage model 203.

(13) A three-phase current (i.sub.abc) detected at the actual motor 200 is passed through a coordinate converter 201 that converts a coordinate to a stationary axis, and an actual current vector 101 of a stationary axis is obtained. From the sensored voltage model 202 and the sensorless voltage model 203, a model-based sensored current vector 102 and a model-based sensorless current vector 103 are estimated. If the sensored angle 104 or the sensorless angle 105 coincides with the angle of the actual motor rotor, a cross product of the current vectors becomes zero. By use of the present fact, in a current vector-based cross product block diagram 204, a cross product of the actual current vector 101 and the sensored current vector 102 is determined, and in the same manner, a cross product of the actual current vector 101 and the sensorless current vector 103 is determined.

(14) The determined cross product values are squared and enter a weight-based sensor fusion block 205, and are normalized. After the normalization, a sensor weight (ρ.sub.sen) which decreases as a sensor error increases, and a sensorless weight (ρ.sub.sl) which decreases as a sensorless error increases, are generated. Based on these weights, fused angle information 108 is output.

(15) First, meanings of important variables that will be used in later description are as follows:

(16) TABLE-US-00001 embedded image embedded image embedded image embedded image embedded image embedded image embedded image embedded image embedded image ν.sup.s*.sub.dq: stationary axis voltage command vector custom character .sup.s.sub.dq: actual current vector custom character .sup.sen.sub.dq: model-based sensored current vector custom character .sup.sl.sub.dq: model-based sensorless current vector θ.sup.sen.sub.e: sensored angle θ.sup.sl.sub.e: sensorless angle ω.sup.sen.sub.e: sensored angular velocity ω.sup.sl.sub.e: sensorless electric angular velocity θ.sup.F.sub.e: fused angle

(17) In various exemplary embodiments of the present invention, deriving a model-based sensored current vector via a sensored voltage model, and deriving a model-based sensorless current vector via a sensorless voltage model are performed at first. Each of the sensored voltage model and the sensorless voltage model may include an ordinary differential equation and an integrator. Furthermore, the sensored voltage model may receive a stationary axis voltage command vector of a motor, a sensored angle, and a sensored angular velocity as inputs, and may output the model-based sensored current vector. The sensorless voltage model may receive the stationary axis voltage command vector of a motor, an estimated sensorless angle, and an estimated sensorless angular velocity as inputs, and may output the model-based sensorless current vector.

(18) FIG. 2 and FIG. 3 are views each illustrating the sensored voltage model and the sensorless voltage model of the method for determining a motor angle according to various exemplary embodiments of the present invention. Referring to FIG. 2, the sensored motor stationary axis voltage model 202 receives the stationary axis voltage command vector 100, the sensored angle 104, and the sensored angular velocity 106 as inputs, and outputs the model-based sensored current vector 102.

(19) The interior of the sensored motor stationary axis voltage model 202 includes an ordinary differential equation 400 of the stationary axis voltage model and an integrator 401. The ordinary differential equation 400 of the stationary axis voltage model necessarily includes a stator resistance (r.sub.s), a d-axis inductance (L.sub.d), q-axis inductance (L.sub.q), a sum of inductance (L.sub.Σ), a difference of inductance (L.sub.Δ), an electric angle (θ.sub.e), a d-axis voltage (v.sub.d.sup.sv.sub.d), a q-axis voltage (v.sub.qv.sub.q.sup.s), a d-axis current (i.sub.d.sup.si.sub.d), a q-axis current d(i.sub.q.sup.si.sub.q) and a back electromotive force constant (ω.sub.m), and is expressed by the following equation.

(20) d dt [ i d s i q s ] = I L d L q [ L .Math. - L Δ cos ( 2 θ e ) - L Δ cos ( 2 θ e ) - L Δ cos ( 2 θ e ) L .Math. + L Δ cos ( 2 θ e ) ] ( [ v d s v q s ] - r s [ i d s i q s ] - 2 ω e L Δ [ - sin ( 2 θ e ) cos ( 2 θ e ) cos ( 2 θ e ) sin ( 2 θ e ) ] [ i d s i q s ] - ω e ψ m [ - sin ( θ e ) cos ( θ e ) ] ) L .Math. = L d + L q 2 L Δ = L d L q 2

(21) Referring to FIG. 3, the sensorless motor stationary axis voltage model 203 receives the stationary axis voltage command vector 100, the sensorless electric angle 105, and the sensorless electric angular velocity 107 as inputs, and outputs the model-based sensorless current vector 103. The interior of the sensorless motor stationary axis voltage model 203 includes the ordinary differential equation 400 of the stationary axis voltage model and the integrator 401, as in the same manner as in the sensored motor stationary axis voltage model.

(22) FIG. 4 is a block diagram illustrating a current vector-based cross product block of the method for determining a motor angle according to various exemplary embodiments of the present invention, FIG. 5 is a block diagram illustrating an angle fusion block of the method for determining a motor angle according to various exemplary embodiments of the present invention, FIG. 6 is a view exemplarily illustrating an estimator that outputs velocity information related to a fused angle of the method for determining a motor angle according to various exemplary embodiments of the present invention, and FIG. 7 is a view exemplarily illustrating a simulation result when a fault occurs at an output of a sensor at the moment of one second.

(23) In various exemplary embodiments of the present invention, deriving a sensor weight and a sensorless weight via the above-determined cross product of the actual current vector and the model-based sensored current vector and the cross product of the actual current vector and the model-based sensorless current vector is performed.

(24) In the deriving a sensor weight and a sensorless weight, a sensored error may be determined by squaring the cross product of the actual current vector and the model-based sensored current vector, and a sensorless error may be determined by squaring the cross product of the actual current vector and the model-based sensorless current vector. Furthermore, in the deriving a sensor weight and a sensorless weight, the sensor weight and the sensorless weight are determined by normalizing each of the sensored error and the sensorless error.

(25) Moreover, in various exemplary embodiments of the present invention, determining a final motor angle by applying the sensor weight and the sensorless weight to each of the sensored angle and the sensorless angle is performed. In the determining a final motor angle, the final motor angle may be determined by multiplying the sensored angle by the sensor weight, by multiplying the sensorless angle by the sensorless weight, and then by summing a multiplication result of the sensored angle and the sensor weight and a multiplication result of the sensorless angle and the sensorless weight.

(26) Referring to FIG. 4, in the current vector-based cross product block diagram 204, an error component is obtained by obtaining a cross product 402 of the stationary axis actual current vector 101 and the model-based sensored current vector 102, and squaring 403 the error component, determining an error 301 between an actual current and the sensored current vector. In the same manner, an error 302 between the actual current and the sensorless current vector is obtained by squaring 403 the cross product 402 of the stationary axis actual current vector 101 and the model-based sensorless current vector 103. The error 301 between the actual current and the sensored current vector, and the error 302 between the actual current and the sensorless current vector are expressed by the following equation.

(27) .Math. "\[LeftBracketingBar]" i dq s × i dq sen .Math. "\[RightBracketingBar]" 2 = ( i d s i q sen - i q s i d sen ) 2 , .Math. "\[LeftBracketingBar]" i dq s × i dq sl .Math. "\[RightBracketingBar]" 2 = ( i d s i q sl - i q s i d sl ) 2

(28) Referring to FIG. 5, the weight-based sensor fusion block 205 includes a normalization block 404 and an angle fusion block 405. The normalization block 404 determines a weight by use of the error 301 between the actual current and the sensored current vector and the error 302 between the actual current and the sensorless current vector. The angle fusion block 405 fuses the sensored angle 104 and the sensorless angle 105 by use of the determined weight. The sensor weight (ρ.sub.sen), the sensorless weight (ρ.sub.sl), and the resulting determined fused angle 108 are expressed by the following equation.

(29) ρ sl = .Math. "\[LeftBracketingBar]" i dq s × i dq sen .Math. "\[RightBracketingBar]" 2 .Math. "\[LeftBracketingBar]" i dq s × i dq sen .Math. "\[RightBracketingBar]" 2 + .Math. "\[LeftBracketingBar]" i dq s × i dq sl .Math. "\[RightBracketingBar]" 2 , ρ sen = .Math. "\[LeftBracketingBar]" i dq s × i dq sl .Math. "\[RightBracketingBar]" 2 .Math. "\[LeftBracketingBar]" i dq s × i dq sen .Math. "\[RightBracketingBar]" 2 + .Math. "\[LeftBracketingBar]" i dq s × i dq sl .Math. "\[RightBracketingBar]" 2 , θ e F = ρ sl θ e sl + ρ sen θ e sen

(30) Referring to FIG. 6, the estimator 500 includes a speed tracker 501 and an integrator 401. The estimator 500 outputs an estimated fused angle 109 and an estimated fused angular velocity 110.

(31) The simulation result of FIG. 7 illustrates when a fault occurs at the output of the sensor (resolver) at the moment of one second. When one side of the output coil of the Sin and Cos is shorted is illustrated. First, in the sensor fusion method of the present invention, weights that are to be allocated to each of the sensored angle and the sensorless angle are determined. Before the fault, the difference of angle between the two sensors is imperceptible, so that the weight of 0.5 is allocated separately. After the fault, the weight transient state passes for approximately 0.12 seconds. After the transient state, the weight of zero is allocated to the sensored angle which is broken, and the weight of one is allocated to the sensorless angle. Accordingly, the vector control of the motor is performed with continuously fused angle information, and it also provides robust angle information even in the fault situation.

(32) Velocity detecting with stability is also important for a motor due to the characteristics of velocity control. However, after the fault, there is a problem in the sensored angle information that a heavy error in the velocity information has occurred. On the other hand, the velocity information determined by the angle fusion method of the present invention does not produce much error.

(33) The motor angle determination method of the present invention relates to an angle sensor fusion method of a high power motor which is used in an Urban Air Mobility (UAM). The method of the present invention enables an efficient transition to accurate angle information even in the fault situation, and enables to perform a failover function which is an alternative operation when the fault occurs in any one or more sensors.

(34) In an exemplary embodiment of the present invention, the embodiments of FIGS. 1-6 may be performed by a controller.

(35) In addition, the term related to a control device such as “controller”, “control unit”, “control device” or “control module”, etc refers to a hardware device including a memory and a processor configured to execute one or more steps interpreted as an algorithm structure. The memory stores algorithm steps, and the processor executes the algorithm steps to perform one or more processes of a method in accordance with various exemplary embodiments of the present invention. The control device according to exemplary embodiments of the present invention may be implemented through a nonvolatile memory configured to store algorithms for controlling operation of various components of a vehicle or data about software commands for executing the algorithms, and a processor configured to perform operation to be described above using the data stored in the memory. The memory and the processor may be individual chips. Alternatively, the memory and the processor may be integrated in a single chip. The processor may be implemented as one or more processors. The processor may include various logic circuits and operation circuits, may process data according to a program provided from the memory, and may generate a control signal according to the processing result.

(36) The control device may be at least one microprocessor operated by a predetermined program which may include a series of commands for carrying out the method disclosed in the aforementioned various exemplary embodiments of the present invention.

(37) The aforementioned invention can also be embodied as computer readable codes on a computer readable recording medium. The computer readable recording medium is any data storage device that can store data which can be thereafter read by a computer system. Examples of the computer readable recording medium include hard disk drive (HDD), solid state disk (SSD), silicon disk drive (SDD), read-only memory (ROM), random-access memory (RAM), CD-ROMs, magnetic tapes, floppy discs, optical data storage devices, etc. and

(38) For convenience in explanation and accurate definition in the appended claims, the terms “upper”, “lower”, “inner”, “outer”, “up”, “down”, “upwards”, “downwards”, “front”, “rear”, “back”, “inside”, “outside”, “inwardly”, “outwardly”, “interior”, “exterior”, “internal”, “external”, “forwards”, and “backwards” are used to describe features of the exemplary embodiments with reference to the positions of such features as displayed in the figures. It will be further understood that the term “connect” or its derivatives refer both to direct and indirect connection.

(39) Furthermore, the term of “fixedly connected” signifies that fixedly connected members always rotate at a same velocity. Furthermore, the term of “selectively connectable” signifies “selectively connectable members rotate separately when the selectively connectable members are not engaged to each other, rotate at a same velocity when the selectively connectable members are engaged to each other, and are stationary when at least one of the selectively connectable members is a stationary member and remaining selectively connectable members are engaged to the stationary member”.

(40) The foregoing descriptions of specific exemplary embodiments of the present invention have been presented for purposes of illustration and description. They are not intended to be exhaustive or to limit the present invention to the precise forms disclosed, and obviously many modifications and variations are possible in light of the above teachings. The exemplary embodiments were chosen and described to explain certain principles of the present invention and their practical application, to enable others skilled in the art to make and utilize various exemplary embodiments of the present invention, as well as various alternatives and modifications thereof. It is intended that the scope of the present invention be defined by the Claims appended hereto and their equivalents.