Rotor position sensing system for permanent magnet synchronous motors and related methods
11652431 · 2023-05-16
Assignee
Inventors
Cpc classification
H02P6/186
ELECTRICITY
International classification
Abstract
Implementations of a system for sensing rotor position of a PMSM may include: a controller which may be coupled with the PMSM. The controller may be configured to apply a plurality of voltage vectors to the PMSM to generate a plurality of sensing signals from a stator of the PMSM in response. A comparator may be coupled to the PMSM configured to receive and to compare each one of the plurality of sensing signals with a threshold voltage. A rise time measurement circuit may calculate a plurality of rise times using the plurality of sensing signals in response to receiving a signal from the comparator. The rotor-angle estimation circuit may be configured to identify from the plurality of rise times a shortest rise time and a voltage vector corresponding with the shortest rise time and thereby identify the position of the rotor of the PMSM.
Claims
1. A system for sensing rotor position of a permanent magnet synchronous motor, comprising: a controller configured to couple with a permanent magnet synchronous motor (PMSM), wherein the controller is configured to apply a plurality of voltage vectors to the PMSM to generate a plurality of sensing signals from a stator of the PMSM in response; an analog to digital (A/D) converter configured to couple to the PMSM, wherein the A/D converter is configured to convert the plurality of sensing signals into a plurality of digital current signals; a rise time measurement circuit configured to couple to the PMSM, wherein the rise time measurement circuit is configured to calculate a plurality of rise times using at least the plurality of digital current signals, a first threshold current and a second threshold current; a memory coupled with the rise time measurement circuit, wherein the memory is configured to store the plurality of rise times; and a rotor-angle estimation circuit coupled with the memory, wherein the rotor-angle estimation circuit is configured to calculate a rotor position relative to the stator of the PMSM using the plurality of rise times; wherein the controller is configured to generate the first threshold current and the second threshold current.
2. The system of claim 1, further comprising an amplifier coupled to a resistor, wherein the amplifier is configured to receive and to amplify the plurality of sensing signals to form a plurality of amplified sensing signals.
3. The system of claim 1, wherein the first threshold current and the second threshold current are related by an equation
4. The system of claim 1, wherein the plurality of voltage vectors is 12 voltage vectors.
5. The system of claim 1, wherein the plurality of voltage vectors is 24 voltage vectors.
6. The system of claim 1, wherein the controller is configured to generate a first A/D threshold value and a second A/D threshold value using one of a first A/D threshold value equation and a second A/D threshold value equation; wherein the first A/D threshold value equation is
7. The system of claim 6, wherein a rise time measurement circuit measures each rise time using a rise time measurement equation; wherein the rise time measurement equation is
8. A system for sensing rotor position of a permanent magnet synchronous motor, comprising: a controller configured to couple with a permanent magnet synchronous motor (PMSM), wherein the controller is configured to apply a plurality of voltage vectors to the PMSM to generate a plurality of sensing signals from a stator of the PMSM in response; an analog to digital (A/D) converter configured to couple to the PMSM, wherein the A/D converter is configured to convert the plurality of sensing signals into a plurality of digital current signals; a rise time measurement circuit configured to couple to the PMSM, wherein the rise time measurement circuit is configured to calculate a plurality of rise times using the plurality of digital current signals and one or more threshold currents; a memory coupled with the rise time measurement circuit, wherein the memory is configured to store the plurality of rise times; and a rotor-angle estimation circuit coupled with the memory, wherein the rotor-angle estimation circuit is configured to calculate a rotor position relative to the stator of the PMSM using the plurality of rise times; wherein the controller is configured to generate the one or more threshold currents.
9. System of claim 8, further comprising an amplifier configured to receive and to amplify the plurality of sensing voltage signals to form a plurality of amplified sensing voltage signals.
10. The system of claim 8, wherein the one or more threshold currents comprise a first threshold current and a second threshold current, wherein the first threshold current and the second threshold current are related by an equation
11. The system of claim 8, wherein the plurality of voltage vectors is 12 voltage vectors.
12. The system of claim 8, wherein the plurality of voltage vectors is 24 voltage vectors.
13. The system of claim 8, wherein the controller is configured to generate a first A/D threshold value and a second A/D threshold value using one of a first A/D threshold value equation and a second A/D threshold value equation; wherein the first A/D threshold value equation is
14. The system of claim 13, wherein a rise time measurement circuit measures each rise time using a rise time measurement equation; wherein the rise time measurement equation is
15. A system for sensing rotor position of a permanent magnet synchronous motor, comprising: a controller configured to couple with a permanent magnet synchronous motor (PMSM), wherein the controller is configured to apply a plurality of voltage vectors to the PMSM to generate a plurality of sensing signals from a stator of the PMSM in response; an analog to digital (A/D) converter configured to couple to the PMSM, wherein the A/D converter is configured to convert the plurality of sensing signals into a plurality of digital current signals; a rise time measurement circuit configured to couple to the PMSM, wherein the rise time measurement circuit is configured to calculate a plurality of rise times using the plurality of digital current signals and one or more threshold currents received from the controller; a memory coupled with the rise time measurement circuit, wherein the memory is configured to store the plurality of rise times; and a rotor-angle estimation circuit coupled with the memory, wherein the rotor-angle estimation circuit is configured to calculate a rotor position relative to the stator of the PMSM by calculating one of a lowest average rise time, a lowest summed rise time, or a lowest weighted summed rise time using the plurality of rise times.
16. The system of claim 15, wherein the one or more threshold currents comprise a first threshold current and a second threshold current, wherein the first threshold current and the second threshold current are related by an equation
17. The system of claim 15, further comprising an amplifier configured to receive and to amplify the plurality of sensing voltage signals to form a plurality of amplified sensing voltage signals.
18. The system of claim 15, wherein the plurality of voltage vectors is 12 voltage vectors.
19. The system of claim 15, wherein the plurality of voltage vectors is 24 voltage vectors.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) Implementations will hereinafter be described in conjunction with the appended drawings, where like designations denote like elements, and:
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
(15)
(16)
(17)
DESCRIPTION
(18) This disclosure, its aspects and implementations, are not limited to the specific components, assembly procedures or method elements disclosed herein. Many additional components, assembly procedures and/or method elements known in the art consistent with the intended rotor position sensing system will become apparent for use with particular implementations from this disclosure. Accordingly, for example, although particular implementations are disclosed, such implementations and implementing components may comprise any shape, size, style, type, model, version, measurement, concentration, material, quantity, method element, step, and/or the like as is known in the art for such rotor position sensing systems, and implementing components and methods, consistent with the intended operation and methods.
(19) Referring now to
(20)
(21) Referring to
(22) The importance of being able to find the lowest inductance point is important, because that lowest inductance point corresponds with an electrical angle value which corresponds with the physical position of the rotor of the PMSM. Knowing as accurately as possible the electrical angle value, then, permits the system to know as accurately as possible the physical position of the rotor at any given time.
(23)
(24)
where I represents the current, V.sub.DC represents the DC link voltage, R represents equivalent resistance corresponding to the applied voltage vectors, L represents the inductance, and t represents the time.
(25) In graph 16 of
(26)
Equation 2 shows that Tr is proportional to L when R, V, and I.sub.th are constant. Therefore, if the lowest inductance can be detected from the current sensing signal, the lowest rise time can also be detected.
(27) The equivalent circuit illustrated in
L.sub.eq1=3/2L.sub.1, R.sub.eq1=3/2R Eq. 3
(28)
L.sub.eq2=2L.sub.2, R.sub.eq2=2R Eq. 4
(29) When the rotor flux is ignored and L.sub.1 equals L.sub.2, the relationship between L.sub.eq1 and L.sub.eq2 is shown by equation 5.
L.sub.eq1=3/4L.sub.eq2, R.sub.eq1=3/4R.sub.eq2 Eq. 5
(30) If the rise time can be calculated by inserting the equivalent inductance and equivalent impedance values from equation 3 and 4 into equation 2, equations 6 and 7 result.
(31)
(32) As can be seen by equations 6 and 7, the first rise time T.sub.r1 and the second rise time T.sub.r2 are not equal even when L.sub.1 equals L.sub.2. Therefore, a simple comparison of the value of T.sub.r1 and T.sub.r2 does not lead to a proper comparison of the value of L.sub.1 and L.sub.2, and in turn, does not indicate the rotor position of the PMSM. By using different current threshold values, however, this issue can be resolved.
(33) If I.sub.th1 is the current threshold used in association with the voltage vectors of group 2 from
I.sub.th1=4/3I.sub.th2 Eq. 8
(34) Substituting the relationship in equation 8, equations 6 and 7 can be rewritten as equations 9 and 10.
(35)
(36) By varying the threshold currents, the rise times corresponding to all voltage vectors in both groups can now be compared on a same basis, permitting detection of the lowest inductance value through using the rise times of each voltage vector. Equations 9 and 10 may be used to confirm that the rise times are proportional to the coil inductances of each voltage vector by ensuring that the proper current threshold is selected.
(37)
(38) To gain more noise immunity when using the vector data to find the lowest rise time, it is effective to use averaged data or summed data when determining the rotor position of a PMSM.
(39)
(40) In still other implementations, averaged data may be used to calculate the shortest rise time. The average data to be compared can be expressed as equation 11, where A.sub.ave is the average first rise time value, A.sub.1-A.sub.3 are the rise times of the voltage vector with the shortest rise time and its two adjacent voltage vectors, and B.sub.ave is the average second rise time value and B.sub.1-B.sub.3 are the rise times of the voltage vectors 180 degrees out of phase from the voltage vector with the shortest rise time and its two adjacent voltage vectors.
(41)
(42) By comparing A.sub.ave with B.sub.ave in a similar manner as the summed data was compared in
(43) In alternative implementations, averaged data may be used by comparing the average of the rise time values of group 22 with the average of the rise time value corresponding with voltage vector (10) and with adjacent rise time values corresponding with voltage vectors (9) and (11), the fact that the rise time value corresponding with voltage vector (10) is the lowest rise time value can be confirmed. In various implementations, the rise time value corresponding with voltage vector (10) is then compared with the value of the rise time corresponding with a voltage vector in group 24 that is 180 degrees out of phase from the rise time value corresponding to voltage vector (10). Similarly, the lowest rise time value in group 24 is determined by comparing the average of the shortest rise time value of group 24 with the rise time value 180 degrees out of phase (rise time value corresponding with voltage vector (4)) and with the two adjacent rise time values corresponding with voltage vectors (3) and (5). If using the averaging process and the subsequent 180-degree comparison process, the rise time value corresponding to voltage vector (10) indeed represents the lowest rise time value, the position of the north pole of the magnet of the rotor has been identified.
(44) In various implementations, more than two adjacent voltage vectors may be included in the analysis in each group. In such implementations, the adjacent voltage vectors would include those close to and not just next to the point of interest.
(45) Referring now to
(46) The controller 38 is designed to generate a plurality of voltage vectors which may be applied to the PMSM 44, including the twelve voltage vectors used for position sensing. In a particular implementation, twelve out-of-phase voltage vectors are generated, however, in various implementations twenty-four or additional numbers of voltage vectors may be applied to the PMSM 44. In response to the voltage vectors applied to the stator windings of the PMSM 44, a plurality of current sensing signals is generated.
(47) A resistor 46 may be coupled with the stator windings PMSM 44, which may be a shunt resistor in various implementations. The resistor 46 may be configured to receive a plurality of current sensing signals and then generate a corresponding plurality of sensing voltage signals. As illustrated, an amplifier 48 is coupled with the resistor 46 which is designed to receive and to amplify the plurality of sensing voltage signals for subsequent analog processing
(48) The signals from the amplifier 48 are then received by a comparator 50 coupled to the amplifier 48 and to a threshold voltage generator, 52. The comparator 50 receives and compares each sensing voltage signal from the amplifier 48 with a threshold voltage value from the threshold voltage generator 52.
(49) The threshold voltage generator 52 is coupled with the controller 38 and/or with the state control circuit 40 within the controller, and the controller and/or state control circuit 40 determines when and what threshold voltage is generated by the threshold voltage generator 42. The threshold voltage generator 42 may generate a single or multiple threshold voltage values, including 1, 2, 6, 12, or 24 threshold voltage values, depending on the specific implementation and logic circuitry used in the comparator 50 itself. Because different voltage vectors applied to the PMSM 44 may result in different equivalent inductances, and because different equivalent inductances affect the rise time as shown in equations 1 and 2, the controller may adjust the threshold voltage to be produced based upon the particular voltage vector just applied to the PMSM 44. This allows the magnitudes of the rise times corresponding to all the voltage vectors to then be compared on an equivalent basis. In this specific implementation, one of two threshold voltages are produced and can be calculated using equation 12 or equation 13
V.sub.th1=(G)(R.sub.sh)(I.sub.th1)+V.sub.off Eq. 12
V.sub.th2=(G)(R.sub.sh)(I.sub.th2)+V.sub.off Eq. 13
where V.sub.th1 is the first threshold voltage, V.sub.th2 is the second threshold voltage, G is a gain of the amplifier, R.sub.sh is a resistance from the resistor, I.sub.th1 is a first threshold current, I.sub.th2 is a second threshold current, and V.sub.off is the amplifier's offset voltage. The first threshold current and the second threshold current are related by equation 8.
(50) A rise time measurement circuit 54 is coupled with the comparator 50. The rise time measurement circuit 54 calculates a plurality of rise times using the plurality of amplified sensing voltage signals and a counter.
(51) A memory 56 is coupled to the rise time measurement circuit 54 in order to store the plurality of rise times calculated by the rise time measurement circuit 54. The memory may be any device or circuit for data storage.
(52) A rotor-angle estimation circuit 58 is coupled with the memory 56. The rotor-angle estimation circuit 58 determines the rotor position of the PMSM 44 by identifying from the plurality of rise times in the memory 56 the voltage vector with the shortest rise time among the plurality of rise time values stored in the memory 56. In other implementations, the rotor-angle estimation circuit 58 may determine the rotor position of the PMSM 44 by using averaged data, summed data, or summed data using weighted coefficients as previously disclosed in this document. The rotor-angle estimation circuit 58 is coupled with a controller 38 and communicates the rotor position of the PMSM 44 to the controller 38.
(53) In various implementations, a microprocessor may be included in the system which may include the rotor-angle estimation circuit 58. In particular implementations, the microprocessor may also include the controller 38. In these implementations, much of the functions of the various components of the system may be implemented using the microprocessor and/or as part of the microprocessor. In other various implementations, the rotor-angle estimation circuit 58 may include a plurality of logic circuits which act to carry out all of the functions of the various components of the system without including a microprocessor.
(54) Referring now to
(55) An amplifier 68 is coupled with the resistor that generates the current sensing signals from the stator coils of the PMSM 66. The amplifier 68 receives and amplifies the plurality of sensing current signals and routes the plurality of amplified sensing current signals to an analog-to-digital (A/D) converter 70. The A/D converter 70 then converts the plurality of sensing current signals into a plurality of digital current signals.
(56) A rise-time measurement circuit 72 is coupled with the A/D converter 70, to a controller 60, and/or to a state control circuit 62 within the controller 60. The rise-time measurement circuit 72 calculates a plurality of rise times in response to receiving the plurality of digital current signals from the A/D converter 70 using an A/D threshold value. In this implementation, there are two A/D threshold values that may be used as calculated by equations 14 and 15
(57)
where AD.sub.th1 is the first A/D threshold value, AD.sub.th2 is the second A/D threshold value, V.sub.th1 is a first threshold voltage, V.sub.th2 is a second threshold voltage, n is the A/D resolution, and Vref.sub.AD is a full scale voltage value. The calculation of the first and second threshold voltages are shown in equations 12 and 13. The values of the threshold voltages are determined by the values of the threshold currents. The relationship between the first and second threshold currents is shown in equation 8.
(58)
(59)
where T.sub.r is the rise time, AD.sub.th is one of the first A/D value threshold and the second A/D value threshold, AD.sub.2 is a first digital current signal formed when AD.sub.2 exceeds AD.sub.th, AD.sub.1 is a second digital current signal immediately preceding AD.sub.2 at time t.sub.1, t.sub.2 is a time corresponding with AD.sub.2, and t.sub.1 is a time corresponding with AD.sub.1.
(60) In various implementations the controller 60 may generate a single or multiple threshold current values, including 1, 2, 6, 12, or 24 threshold current values. The number of threshold voltages and A/D threshold values correspond with the number of threshold current values generated. Because different voltage vectors applied to the PMSM may result in different equivalent inductances, and because different equivalent inductances affect the rise time as shown in equations 1 and 2, the controller 60 may adjust the threshold current to be produced based upon the particular voltage vector just applied to the PMSM 66. This process of varying the threshold current value allows the rise times corresponding to all the voltage vectors to be compared on a same basis. In this specific implementation two threshold currents are produced by the controller 60 and are related by equation 8. To ensure the rise times are proportional to the coil inductances of resulting from the applied voltage vectors, equations 9 and 10 may be used to confirm that the correct current threshold value was used and that the rise times are in fact proportional to the coil inductances.
(61) Referring back to
(62) In various implementations, the state control section 62, the rotor-angle estimation section 76, the memory 74, the rise time measurement circuit 72, and the A/D converter 70 may all be included in a microcomputer and their functions carried out on the microcomputer entirely. In other implementations, only portions of their functions may be carried out using the microcomputer.
(63) A method for sensing a rotor position of a PMSM may be used by various implementations of systems for sensing the rotor position of a PMSM. The method may include applying a plurality of voltage vectors to stator of a PMSM. In this implementation, twelve voltage vectors are applied, however, in other implementations 6, 24, or any other number of voltage vectors may be applied to the stator of the PMSM. The method includes generating a plurality of sensing current signals from the stator in response to the voltage vectors applied to the PMSM. The method also includes converting the sensing current signals into a plurality of sensing voltage signals using a resistor coupled to the stator, which may be a shunt resistor in particular implementations. The method includes amplifying the plurality of sensing voltage signals using an amplifier coupled with the resistor and comparing each of the plurality of sensing voltage signals to a threshold voltage generated by a threshold voltage generator using a comparator coupled with the amplifier. In various method implementations, there may be a single threshold voltage or multiple threshold voltages, including 2, 6, 12, or 24 threshold voltages. In particular implementations, there is a threshold voltage that corresponds with each sensing voltage signal. The two threshold voltage sensing signals may be related by equations 12 and 13, with the first and second threshold currents related by equation 8. The method may include generating the threshold voltage in response to receiving a command from the controller to the threshold voltage generator. In other implementations, the controller itself generates the threshold voltage.
(64) The method includes calculating a plurality of rise times using the amplified plurality of sensing voltage signals and a signal from the comparator using a rise-time measurement circuit coupled to the comparator. The rise time measurement circuit may calculate a plurality of rise times using the plurality of amplified sensing voltage signals and a counter. The method may include starting a counter when a voltage vector is applied by the controller, and stopping the counter when the sensing voltage signal is the same as the threshold voltage signal. The method includes resetting the counter to measure the rise time of the next voltage vector applied.
(65) The method includes storing the rise times in a memory which may be coupled with the rise time measurement circuit.
(66) The method of determining a rotor position relative to the stator of a PMSM may be determined using a rotor-angle estimation circuit. The rotor-angle estimation circuit may determine the rotor position by identifying a voltage vector with the shortest rise time from the plurality of applied voltage vectors. In other implementations, the rotor-angle estimation circuit may determine the rotor position by using averaged data, summed data, or summed data using weighted coefficients as previously disclosed in this document.
(67) The method also includes communicating the rotor position to the controller by the rotor-angle estimation circuit.
(68) In another implementation of a method for sensing a rotor position of a PMSM, a plurality of voltage vectors is applied to stator of a PMSM. In this implementation, twelve voltage vectors are applied, however, in other implementations 6, 24, or any other number of voltage vectors may be applied to the stator of the PMSM. A plurality of sensing current signals from the stator in response to the voltage vectors applied to the PMSM may be generated.
(69) The method includes amplifying the plurality of sensing current signals using an amplifier which may be coupled with the resistor. and converting each of the amplified sensing current signals to a digital current signal using an A/D converter coupled to the amplifier.
(70) The method also includes calculating a plurality of rise times using a rise-time measurement circuit coupled to the A/D converter and to a controller, based upon the plurality of digital current signals received from the A/D converter and at least one A/D threshold value. In implementations where two threshold values are used, the A/D threshold value may be calculated using equations 14 or 15. The A/D threshold value is influenced by the voltage threshold values as calculated by equations 12 and 13. The voltage threshold values are influenced by the current threshold values, which relationship is shown in equation 8. The controller may produce 1, 2, 6, 12, 24, or any other number of threshold currents. The number of threshold voltages and A/D threshold values correspond with the number of threshold currents produced. In one implementation, the method specifically includes calculating the plurality of rise times by producing a plurality of digital current signals from the A/D converter. When the voltage vector is applied, the rise-time measurement circuit signals to start the A/D converter. When a sensing current signal exceeds the value of the A/D threshold value, the voltage vector is no longer applied. The rise time measurement section collects the value of the digital current signal that exceeded the A/D threshold value, the value of the digital current signal immediately preceding the digital current signal that exceeded the A/D threshold value, and the rise times of the two voltage vectors corresponding with these two digital current sensing signals. The method for calculating the rise times includes using these four data to calculate the rise time as taught in equation 16.
(71) The method may include ensuring the rise times are proportional to the coil inductances resulting from the applied voltage vectors. Equations 9 and 10 may be used to confirm that the correct current threshold value was used and that the rise times are in fact proportional to the coil inductances.
(72) The method also includes storing the rise times in a memory which may be coupled with the rise time measurement circuit.
(73) The method determines a rotor position relative to the stator of a PMSM using a rotor-angle estimation circuit. The rotor-angle estimation circuit may determine the rotor position by identifying a voltage vector with the shortest rise time from the plurality of applied voltage vectors. In other implementations, the rotor-angle estimation circuit may determine the rotor position by using averaged data, summed data, or summed data using weighted coefficients as previously disclosed in this document.
(74) The method includes communicating the rotor position to the controller by the rotor-angle estimation circuit.
(75) In places where the description above refers to particular implementations of a rotor position sensing system and implementing components, sub-components, methods and sub-methods, it should be readily apparent that a number of modifications may be made without departing from the spirit thereof and that these implementations, implementing components, sub-components, methods and sub-methods may be applied to other rotor position sensing systems.