Method and Device for Driving Motors

Information

  • Patent Application
  • 20200274471
  • Publication Number
    20200274471
  • Date Filed
    May 12, 2020
    4 years ago
  • Date Published
    August 27, 2020
    4 years ago
Abstract
A method and device for diving a motor by synchronously calculating reconstructed phase current and phase voltage for a motor driver, including: sampling a direct current (DC) bus current and performing phase current reconstruction according to the DC bus current to acquire a three-phase current of a motor; during the phase current reconstruction, acquiring two sampled currents of each pulse width modulation (PWM) cycle as a two-phase current of the motor and acquiring a command voltage or a sampled voltage; and performing synchronous conversion on the two sampled currents and the command voltage or the sampled voltage to keep a current vector and a voltage vector synchronous, wherein the current vector and the voltage vector are input to a flux observer.
Description
TECHNICAL FIELD

The present disclosure relates to a field of motor driving technologies, and more particularly to a method for synchronously calculating a reconstructed phase current and a phase voltage for a motor driver, a non-transitory computer-readable storage medium, a device for synchronously calculating a reconstructed phase current and a phase voltage for a motor driver, and a motor driving system.


BACKGROUND

For a high-performance AC motor driving system, a vector control technology, such as field-oriented control or direct torque control, is commonly used, on condition that accurate flux linkage position or speed information of the motor is acquired. In industrial, home appliance or automobile applications, in order to reduce hardware costs or ease mechanical installation restrictions, a flux observer can be used to replace position/speed sensors of the motor. In this way, the flux linkage position and speed information of the motor can be acquired by a software estimation method of the flux observer.


The flux observer needs to acquire current and voltage of the motor when estimating the flux linkage position and speed information of the motor. Specifically, the current of the motor may be acquired from hardware sampling, and the voltage of the motor may be a command voltage or acquired from the hardware sampling. Among several current sampling manners, a single measuring element is often used to sample the motor current due to fewer components and less cost.


However, when the single measuring element is used to sample currents of a motor, two sampled currents may be out of synchronization, or two sampled currents and a command voltage or a sampled voltage may be out of synchronization. When the motor is operated at a high frequency or a digital sampling frequency (i.e., a current loop control frequency, a pulse width modulation (PWM) switching frequency) is low, non-synchronization may cause a deviation in phase angle calculated by the flux observer and affect the control performance of the motor.


SUMMARY

The present disclosure seeks to solve at least one of the problems that exist in the related art to at least some extent. Accordingly, an object of the present disclosure is to provide a method for synchronously calculating a reconstructed phase current and a phase voltage for a motor driver, which may improve the accuracy of the angle output by the flux observer and allow the motor to run normally. Moreover, this calculation method has a small calculation amount and is easy to be realized.


A second object of the present disclosure is to provide a non-transitory computer-readable storage medium.


A third object of the present disclosure is to provide a device for synchronously calculating a reconstructed phase current and a phase voltage for a motor driver.


A fourth object of the present disclosure is to provide a motor driving system.


In order to achieve the above objects, in a first aspect, the present disclosure provides in embodiments a method for synchronously calculating a reconstructed phase current and a phase voltage for a motor driver, including: sampling a direct current (DC) bus current and performing phase current reconstruction according to the DC bus current to acquire a three-phase current of a motor; during the phase current reconstruction, acquiring two sampled currents of each PWM cycle as a two-phase current of the motor and acquiring a command voltage or a sampled voltage; performing synchronous conversion on the two sampled currents and the command voltage or the sampled voltage to allow a current vector and a voltage vector, that are input to a flux observer, to keep synchronous.


With such a method for synchronously calculating a reconstructed phase current and a phase voltage for a motor driver according to the embodiments of the present disclosure, the DC bus current is sampled and the phase current reconstruction is performed according to the DC bus current to acquire the three-phase current of the motor. During the phase current reconstruction, two sampled currents are acquired for each PWM cycle as the two-phase current of the motor and the command voltage or the sampled voltage is acquired. The synchronous conversion is performed on the two sampled currents and the command voltage or the sampled voltage to allow the current vector and the voltage vector, that are input to the flux observer, to keep synchronous. Therefore, the method may make the current vector and the voltage vector input to the flux observer at the same time, so as to improve the accuracy of the angle output by the flux observer and allow the motor to run normally. Moreover, this calculation method has a small calculation amount and is easy to be realized.


In addition, the method for synchronously calculating a reconstructed phase current and a phase voltage for a motor driver provided in the above embodiments may further include following additional technical features.


In an embodiment of the present disclosure, the synchronous conversion is performed on the two sampled currents and the command voltage or the sampled voltage in any one of the following manners of: (1) simultaneously converting the two sampled currents into two currents at a time corresponding to the command voltage or the sampled voltage; (2) simultaneously converting one of the two sampled currents and the command voltage or the sampled voltage into a current and a voltage at a time corresponding to the other one of the two sampled currents; (3) simultaneously converting the two sampled currents and the command voltage or the sampled voltage into two currents and a voltage at a random time in each PWM cycle.


In an embodiment of the present disclosure, the manner (1) is applied, if the two sampled currents correspond to a c-phase current and an a-phase current, the c-phase current and the a-phase current are synchronously converted according to the following formula:







[




i
α






i
β




]

=




[






i
a


·

cos


(


ω
e



(


t

Δ

1


+

t

Δ

2



)


)



+




i
c


-


i
a




cos


(



ω
e



t

Δ

2



-

2


π
/
3



)





sin


(



ω
e



t

Δ

2



-

2


π
/
3



)



·

sin


(


ω
e



(


t

Δ

1


+

t

Δ

2



)


)













i
c


-


i
a




cos


(



ω
e



t

Δ

2



-

2


π
/
3



)





sin


(



ω
e



t

Δ

2



-

2


π
/
3



)



·

cos


(


ω
e



(


t

Δ

1


+

t

Δ

2



)


)



-


i
a


·

sin


(


ω
e



(


t

Δ

1


+

t

Δ

2



)


)







]

,






where iα,iβ represent currents in a two-phase stationary coordinate system, respectively, tΔ1 represents a time difference between the time corresponding to the command voltage or the sampled voltage and a time corresponding to the c-phase current, tΔ2 represents a time difference between the time corresponding to the c-phase current and a time corresponding to the a-phase current, ωe represents an electrical angular frequency, and i″a,i′c represent the a-phase current and the c-phase current, respectively.


In an embodiment of the present disclosure, the manner (2) is applied, if the two sampled currents correspond to a c-phase current and an a-phase current, the command voltage or the sampled voltage, and the c-phase current and the a-phase current are synchronously converted according to the following formulas, respectively:








[




v
α







v
β





]

=

[






v
α


cos






(


ω
e



(


t

Δ

1


+

t

Δ

2



)


)


-


v
β


sin






(


ω
e



(


t

Δ

1


+

t

Δ

2



)


)










v
β


cos






(


ω
e



(


t

Δ

1


+

t

Δ

2



)


)


+


v
α


sin






(


ω
e



(


t

Δ

1


+

t

Δ

2



)


)






]


,






[




i
α







i
β





]

=

[




i
a









i
c


-


i
a



cos






(



ω
e



t

Δ

2



-

2


π
/
3



)




sin


(



ω
e



t

Δ

2



-

2


π
/
3



)






]


,




where vα,vβ represent voltages in a two-phase stationary coordinate system, respectively, v″α,v″β represent voltages at a time corresponding to the a-phase current in the two-phase stationary coordinate system, respectively, i″α,i″β represent currents at the time corresponding to the a-phase current in the two-phase stationary coordinate system, respectively, tΔ1 represents a time difference between the time corresponding to the command voltage or the sampled voltage and a time corresponding to the c-phase current, tΔ2 represents a time difference between the time corresponding to the c-phase current and the time corresponding to the a-phase current, ωe represents an electrical angular frequency, and i″a,i″c represent the a-phase current and the c-phase current, respectively.


In an embodiment of the present disclosure, the manner (3) is applied, if the two sampled currents correspond to a c-phase current and an a-phase current, the command voltage or the sampled voltage, and the c-phase current and the a-phase current are synchronously converted according to the following formulas, respectively:








[




v
α







v
β





]

=

[






v
α


cos






(


ω
e



(


t

Δ

1


+

t

Δ

2


+

t

Δ

3



)


)


-


v
β


sin






(


ω
e



(


t

Δ

1


+

t

Δ

2


+

t

Δ

3



)


)










v
β


cos






(


ω
e



(


t

Δ

1


+

t

Δ

2


+

t

Δ

3



)


)


+


v
α


sin






(


ω
e



(


t

Δ

1


+

t

Δ

2


+

t

Δ

3



)


)






]


,






[




i
α







i
β





]

=

[






i
a



cos






(


ω
e



t

Δ

3



)


-




i
c


-


i
a



c

o


s


(



ω
e



t

Δ

2



-

2


π
/
3



)





sin






(



ω
e



t

Δ

2



-

2


π
/
3



)



·

sin


(


ω
e



t

Δ

3



)













i
c


-


i
a




cos


(



ω
e



t

Δ

2



-

2


π
/
3



)





sin


(



ω
e



t

Δ

2



-

2


π
/
3



)



·

cos


(


ω
e



t

Δ

3



)



+


i
a




sin


(


ω
e



t

Δ

3



)







]


,




where vα,v62 represent voltages in a two-phase stationary coordinate system, respectively, v′″α,v′″62 represent voltages at a random time in the two-phase stationary coordinate system, respectively, i′″60 ,i′″β represent currents at the random time in the two-phase stationary coordinate system, respectively, tΔ1 represents a time difference between the time corresponding to the command voltage or the sampled voltage and a time corresponding to the c-phase current, tΔ2 represents a time difference between the time corresponding to the c-phase current and the time corresponding to the a-phase current, tΔ3, represents a time difference between the time corresponding to the a-phase current and the random time, ωe represents an electrical angular frequency, and i″a,i′c represent the a-phase current and the c-phase current, respectively.


In order to achieve the above objects, in a second aspect, the present disclosure provides in embodiments a non-transitory computer-readable storage medium having stored therein computer programs that, when executed by a processor, cause the processor to perform a method for synchronously calculating a reconstructed phase current and a phase voltage for a motor driver provided in the embodiments of the first aspect of the present disclosure.


The non-transitory computer-readable storage medium according to the embodiments of the present disclosure may improve the accuracy of the angle output by the flux observer and allow the motor to run normally.


In order to achieve the above objects, in a third aspect, the present disclosure provides in embodiments a device for synchronously calculating a reconstructed phase current and a phase voltage for a motor driver, including: a current sampling module configured to sample a DC bus current; a current reconstructing module configured to perform phase current reconstruction according to the DC bus current to acquire a three-phase current of a motor; an acquiring module configured to acquire two sampled currents of each PWM cycle as a two-phase current of the motor and acquiring a command voltage or a sampled voltage during the phase current reconstruction; a synchronously calculating module configured to perform synchronous conversion on the two sampled currents and the command voltage or the sampled voltage to allow a current vector and a voltage vector, that are input to a flux observer, to keep synchronous.


With such a device for synchronously calculating a reconstructed phase current and a phase voltage for a motor driver according to the embodiments of the present disclosure, the current reconstructing module is configured to perform phase current reconstruction according to the DC bus current sampled by the current sampling module to acquire the three-phase current of the motor. The acquiring module is configured to acquire two sampled currents of each PWM cycle as the two-phase current of the motor and acquire the command voltage or the sampled voltage during the phase current reconstruction. The synchronously calculating module is configured to perform synchronous conversion on the two sampled currents and the command voltage or the sampled voltage to allow the current vector and the voltage vector, that are input to the flux observer, to keep synchronous. Therefore, the device may improve the accuracy of the angle output by the flux observer and allow the motor to run normally.


In addition, the device for synchronously calculating a reconstructed phase current and a phase voltage for a motor driver provided in the above embodiments may further include following additional technical features.


In an embodiment of the present disclosure, the synchronous calculating module is configured to perform the synchronous conversion on the two sampled currents and the command voltage or the sampled voltage in any one of the following manners of: (1) simultaneously converting the two sampled currents into two currents at a time corresponding to the command voltage or the sampled voltage; (2) simultaneously converting one of the two sampled currents and the command voltage or the sampled voltage into a current and a voltage at a time corresponding to the other one of the two sampled currents; (3) simultaneously converting the two sampled currents and the command voltage or the sampled voltage into two currents and a voltage at a random time in each PWM cycle.


In an embodiment of the present disclosure, the manner (1) is applied, if the two sampled currents correspond to a c-phase current and an a-phase current, the synchronously calculating module is configured to perform the synchronous conversion on the c-phase current and the a-phase current according to the following formula:








[




i
α






i
β




]

=

[






i
a


·

cos


(


ω
e



(


t

Δ

1


+

t

Δ

2



)


)



+




i
c


-


i
a




cos


(



ω
e



t

Δ

2



-

2


π
/
3



)





sin


(



ω
e



t

Δ

2



-

2


π
/
3



)



·







sin


(


ω
e



(


t

Δ

1


+

t

Δ

2



)


)











i
c


-


i
a




cos


(



ω
e



t

Δ

2



-

2


π
/
3



)





sin


(



ω
e



t

Δ

2



-

2


π
/
3



)



·

cos


(


ω
e



(


t

Δ

1


+

t

Δ

2



)


)



-







i
a


·

sin


(


ω
e



(


t

Δ

1


+

t

Δ

2



)


)






]


,




where iα, iβ represent currents in a two-phase stationary coordinate system, respectively, tΔ1 represents a time difference between the time corresponding to the command voltage or the sampled voltage and a time corresponding to the c-phase current, tΔ2 represents a time difference between the time corresponding to the c-phase current and a time corresponding to the a-phase current, ωe represents an electrical angular frequency, and i″a,ic represent the a-phase current and the c-phase current, respectively.


In an embodiment of the present disclosure, the manner (2) is applied, if the two sampled currents correspond to a c-phase current and an a-phase current, the synchronously calculating module is configured to perform the synchronous conversion on the command voltage or the sampled voltage, and the c-phase current and the a-phase current according to the following formulas, respectively:








[




v
α







v
β





]

=

{






v
α


cos






(


ω
e



(


t

Δ

1


+

t

Δ

2



)


)


-


v
β


sin






(


ω
e



(


t

Δ

1


+

t

Δ

2



)


)










v
β


cos






(


ω
e



(


t

Δ

1


+

t

Δ

2



)


)


+


v
α







sin


(


ω
e



(


t

Δ

1


+

t

Δ

2



)


)







]


,






[




i
α







i
β





]

=

[




i
a









i
c


-


i
a



cos






(



ω
e



t

Δ

2



-

2


π
/
3



)




sin


(



ω
e



t

Δ

2



-

2


π
/
3



)






]


,




where vα, vβ represent voltages in a two-phase stationary coordinate system, respectively, v″α,v″β represent voltages at a time corresponding to the a-phase current in the two-phase stationary coordinate system, respectively, i″α,i″β represent currents at the time corresponding to the a-phase current in the two-phase stationary coordinate system, respectively, tα1 represents a time difference between the time corresponding to the command voltage or the sampled voltage and a time corresponding to the c-phase current, tΔ2 represents a time difference between the time corresponding to the c-phase current and the time corresponding to the a-phase current, ωe represents an electrical angular frequency, and i″a,i″c represent the a-phase current and the c-phase current, respectively.


In an embodiment of the present disclosure, the manner (3) is applied, if the two sampled currents correspond to a c-phase current and an a-phase current, the synchronously calculating module is configured to perform the synchronous conversion on the command voltage or the sampled voltage, and the c-phase current and the a-phase current according to the following formulas, respectively:








[




v
α







v
β





]

=

[






v
α


cos






(


ω
e



(


t

Δ

1


+

t

Δ

2


+

t

Δ

3



)


)


-


v
β


sin






(


ω
e



(


t

Δ

1


+

t

Δ

2


+

t

Δ

3



)


)










v
β


cos






(


ω
e



(


t

Δ

1


+

t

Δ

2


+

t

Δ

3



)


)


+


v
α


sin






(


ω
e



(


t

Δ

1


+

t

Δ

2


+

t

Δ

3



)


)






]


,






[




i
α
′′′






i
β
′′′




]

=

[






i
a








cos


(


ω
e



t

Δ

3



)



-




i
c


-


i
o



cos






(



ω
e



t

Δ

2



-

2


π
/
3



)




sin


(



ω
e



t

Δ

2



-

2


π
/
3



)



·

sin


(


ω
e



t

Δ

3



)













i
c


-


i
o



cos






(



ω
e



t

Δ

2



-

2


π
/
3



)




sin


(



ω
e



t

Δ

2



-

2


π
/
3



)



·

cos


(


ω
e



t

Δ

3



)



+


i
o



sin






(


ω
e



t

Δ

3



)






]


,




where vα,v β represent voltages in a two-phase stationary coordinate system, respectively, vα,vβ represent voltages at a random time in the two-phase stationary coordinate system, respectively, i′″a,i′41β represent currents at the random time in the two-phase stationary coordinate system, respectively, tΔ1 represents a time difference between the time corresponding to the command voltage or the sampled voltage and a time corresponding to the c-phase current, tα2 represents a time difference between the time corresponding to the c-phase current and the time corresponding to the a-phase current, tα3 represents a time difference between the time corresponding to the a-phase current and the random time, ωe represents an electrical angular frequency, and i″a,i′c represent the a-phase current and the c-phase current, respectively.


In order to achieve the above objects, in a fourth aspect, the present disclosure provides in embodiments a motor driving system, including a device for synchronously calculating a reconstructed phase current and a phase voltage for a motor driver provided in the embodiments of the third aspect of the present disclosure.


The motor driving system according to the embodiments of the present disclosure may improve the accuracy of the angle output by the flux observer and allow the motor to run normally.





BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 is a flow chart of a method for synchronously calculating a reconstructed phase current and a phase voltage for a motor driver according to an embodiment of the present disclosure;



FIG. 2 is a schematic diagram of sampling a DC bus current with a single measuring element and acquiring a three-phase current of a motor according to an embodiment of the present disclosure;



FIG. 3 is a waveform diagram of phase current reconstruction on the basis of a DC bus current according to a specific embodiment of the present disclosure;



FIG. 4 is a schematic diagram of a sampled current vector, a command voltage vector or a sampled voltage vector corresponding to any time according to a specific embodiment of the present disclosure;



FIG. 5 is a schematic diagram of a sampled current vector, a command voltage vector or a sampled voltage vector corresponding to any time according to another specific embodiment of the present disclosure;



FIG. 6 is a block diagram of a device for synchronously calculating a reconstructed phase current and a phase voltage for a motor driver according to an embodiment of the present disclosure.





DETAILED DESCRIPTION

Embodiments of the present disclosure are described in detail below, examples of which are illustrated in the drawings. The same or similar elements are denoted by same reference numerals in different drawings unless indicated otherwise. The embodiments described herein with reference to drawings are explanatory, and used to generally understand the present disclosure. The embodiments shall not be construed to limit the present disclosure.


Method and device for synchronously calculating a reconstructed phase current and a phase voltage for a motor driver provided in the embodiments of the present disclosure are described below with reference to the drawings.



FIG. 1 is a flow chart of a method for synchronously calculating a reconstructed phase current and a phase voltage for a motor driver according to an embodiment of the present disclosure.


As shown in FIG. 1, the method for synchronously calculating a reconstructed phase current and a phase voltage for a motor driver according to the embodiments of the present disclosure may include the following steps.


In S1, a DC bus current is sampled and phase current reconstruction is performed according to the DC bus current to acquire a three-phase current of a motor.



FIG. 2 is a schematic diagram of sampling a DC bus current with a single measuring element and acquiring a three-phase current of a motor according to an embodiment of the present disclosure.


In a specific embodiment of the present disclosure, as shown in FIG. 2, in three-phase bridge arms of a, b and c-phases, the a-phase bridge arm may include an upper bridge switch tube T1 and a lower bridge switch tube T2, the b-phase bridge arm may include an upper bridge switch tube T3 and a lower bridge switch tube T4, and the c-phase bridge arm may include an upper bridge switch T5 and a lower bridge switch T6. When the motor is driven by the space vector pulse width modulation (SVPWM) technology, the upper bridge switch tube and lower bridge switch tube of the bridge arm of each phase are different in state. Moreover, for each phase, when the upper bridge switch tube of the bridge arm is on and the lower bridge switch tube of the bridge is off, it refers to “1”; when the upper bridge switch tube of the bridge arm is off and the lower bridge switch tube of the bridge arm is on, it refers to “0”, and thus, in this way, six non-zero vectors “001”, “010”, “011”, “100”, “101”, “110” and two zero vectors “000”, “111” can be formed. As shown in FIG. 3, in one SVPWM cycle, there may be two non-zero vectors “100” and “110”. At a time corresponding to the vector “100”, i.e., when the upper bridge switch T1 is on and the lower bridge switch T2 is off, the upper bridge switch T3 is off and the lower bridge switch T4 is on, and the upper bridge switch T5 is off and the lower bridge switch T6 is on, the sampled DC bus current is the a-phase current, i.e., ia=idc1,where idc1 represents the DC bus current sampled at this time, and is represents the a-phase current. At a time corresponding to the vector “110”, i.e., when the upper bridge switch T1 is on and the lower bridge switch T2 is off, the upper bridge switch T3 is on and the lower bridge switch T4 is off, and the upper bridge switch T5 is off and the lower bridge switch T6 is on, the sampled DC bus current is the c-phase current, i.e., ic=idc2, where idc2 represents the DC bus current sampled at this time, and is represents the c-phase current. At this time, according to relationship of the three-phase currents, the b-phase current can be calculated, and thus the three-phase current of the motor in one PWM cycle can be acquired.


Similarly, the a-phase current and the b-phase current can be acquired according to the states of the switch tubes and the DC bus currents, and the c-phase current can be calculated according to the relationship of the three-phase current, thus acquiring the three-phase current of the motor in one PWM cycle. Alternatively, the b-phase current and the c-phase current can be acquired according to the states of the switch tubes and the DC bus currents, and the a-phase current can be calculated according to the relationship of the three-phase current, thus acquiring the three-phase current of the motor in one PWM cycle.


In S2, during the phase current reconstruction, two sampled currents of each PWM cycle are acquired as a two-phase current of the motor and a command voltage or a sampled voltage is acquired.


In S3, synchronous conversion is performed on the two sampled currents and the command voltage or the sampled voltage to allow a current vector and a voltage vector, that are input to a flux observer, to keep synchronous.


In an embodiment of the present disclosure, the synchronous conversion is performed on the two sampled currents and the command voltage or the sampled voltage in a manner (1), i.e., by simultaneously converting the two sampled currents into two currents at a time corresponding to the command voltage or the sampled voltage.


In a specific embodiment of the present disclosure, the two sampled currents correspond to the c-phase current and the a-phase current. As shown in FIG. 4, t3−t2 represents a cycle of the PWM carrier wave (t3,t2, respectively, corresponds to a valley of the PWM carrier wave), a time tp, represents a time corresponding to the command voltage or the sampled voltage (tp is a midpoint between t2 and t3, i.e., corresponds to a peak of the PWM carrier wave), a time t′p represents a time corresponding to the c-phase current, a time t″p represents a time corresponding to the a-phase current, tΔ1 represents a time difference between the time corresponding to the command voltage or the sampled voltage and the time corresponding to the c-phase current, and tΔ2 represents a time difference between the time corresponding to the c-phase current and the time corresponding to the a-phase current.


A current vector at the time tp is defined as follows:











I


=

I
·

e

j






θ
1





,




(
1
)








[




i
α






i
β




]

=

[




I





cos






θ
I







I





sin






θ
I





]


,




(
2
)







where custom-character represents the current vector at the time tp, I represents an amplitude of the current vector custom-character, θI represents an angle of the current vector at the time tp, and iα,iβ represent currents in a two-phase stationary coordinate system, respectively.


A current vector at the time t′p is defined as follows:












I




=

I
·

e

j






θ
I
*





,




(
3
)








[




i
α







i
β





]

=

[




I





cos






θ
I








I





sin






θ
I






]


,




(
4
)







where custom-character represents the current vector at the time t′p, θ′I represents an angle of the current vector at the time t′p, and i′α, i′β represent currents at the time corresponding to the c-phase current in the two-phase stationary coordinate system, respectively.


A current vector at the time t″p is defined as follows:












I




=

I
·

e

j






θ
I
*





,




(
5
)








[




i
α







i
β





]

=

[




I





cos






θ
I








I





sin






θ
I






]


,




(
6
)







where custom-character represents the current vector at the time t″p, θ″I represents an angle of the current vector at the time t″p, and i″α,i″β represent currents at the time corresponding to the a-phase current in the two-phase stationary coordinate system, respectively.


It should be noted that a difference between the angle θI of the current vector at the time tp and the angle θI of the current vector at the time t′p is ωetΔ1, i.e., θ′IIetΔI, and a difference between the angle θ′I of the current vector at the time t′p and the angle θ″I of the current vector at the time t″p is ωetΔ2, i.e. θ″I=θ′IetΔ2, where ωe represents an electrical angular frequency.


Therefore, the c-phase current and the a-phase current can be expressed by the following formulas:











i
a


=

i
α



,




(

7


-


1

)










i
c


=



I






cos


(


θ
I


+

2






π
/
3



)









=



I





cos






(


θ
I


-


ω
e



t

Δ





2



+

2






π
/
3



)








=




I





cos







θ
I


·

cos


(



ω
e



t

Δ





2



-

2






π
/
3



)




+

I





sin







θ
I


·

sin


(



ω
e



t

Δ





2



-

2






π
/
3



)












=





i
α


·

cos


(



ω
e



t

Δ





2



-

2






π
/
3



)



+


i
β


·

sin


(



ω
e



t

Δ





2



-

2






π
/
3



)





,







(

7


-


2

)







where tΔ2 represents the time difference between the time corresponding to the c-phase current and the time corresponding to the a-phase current, ωe represents the electrical angular frequency, and i″a,i′c represent the a-phase current and the c-phase current, respectively.


By processing the formulas (7-1) and (7-2), the current vector custom-character″ at the time t″p may be calculated as follows:











I




=


[




i
α







i
β





]

=


[




i
a









i
c


-


i
o



cos






(



ω
e



t

Δ

2



-

2


π
/
3



)




sin


(



ω
e



t

Δ

2



-

2


π
/
3



)






]

.






(
8
)







According to the formulas (1), (3) and (5), it can be acquired that custom-character″=I·ejθ″I=I·ej(θ′IetΔ2)=I·ej(θIetΔ1etΔ2)=custom-character·ee(tΔ1+tΔ2), that is, it can be acquired that custom-character=custom-character″·e−jωe(tΔ1+tΔ2). In combination with the formula (8), it can be acquired that










I


=


[




i
α






i
β




]

=


[






i
a


·

cos


(


ω
e



(


t

Δ

1


+

t

Δ

2



)


)



+




i
c


-


i
a




cos


(



ω
e



t

Δ

2



-

2


π
/
3



)





sin


(



ω
e



t

Δ

2



-

2


π
/
3



)



·







sin


(


ω
e



(


t

Δ

1


+

t

Δ

2



)


)











i
c


-


i
o




cos


(



ω
e



t

Δ

2



-

2


π
/
3



)





sin


(



ω
e



t

Δ

2



-

2


π
/
3



)



·

cos


(


ω
e



(


t

Δ

1


+

t

Δ

2



)


)



-







i
o


·

sin


(


ω
e



(


t

Δ

1


+

t

Δ

2



)


)






]

.






(
9
)







Therefore, when i″a,i′c are known, that is, the c-phase current and the a-phase current are acquired by the sampling, the current vector at the time tp, can be calculated, that is, the current vector at the time corresponding to the command voltage or the sampled voltage is acquired, to allow the current vector and the voltage vector input to the flux observer to be at the same time, thus improving the accuracy of the angle output by the flux observer and allowing the motor to run normally.


In another embodiment of the present disclosure, the two sampled currents may also correspond to the c-phase current and the b-phase current, and by similar processes, it can be acquired that













i
c


=



I






cos


(


θ
I


+

2






π
/
3



)









=



I





cos






(


θ
I

+


ω
e



t
Δ1


+

2






π
/
3



)








=




I





cos






θ
I



cos


(



ω
e



t

Δ





1



+

2






π
/
3



)



-

I





sin






θ
I



sin


(



ω
e



t

Δ





1



+

2


π
/
3



)











=





i
α



cos


(



ω
e



t

Δ





1



+

2






π
/
3



)



-


i
β



sin


(



ω
e



t

Δ





1



+

2






π
/
3



)





,







(

10


-


1

)










i
b


=



I






cos


(


θ
I


+

2






π
/
3



)









=



I





cos






(


θ
I

+


ω
e



t

Δ





1



+


ω
e



t

Δ





2



-

2






π
/
3



)








=




I





cos






θ
I



cos


(



ω
e



t

Δ





1



+


ω
e



t

Δ





2



-

2






π
/
3



)



-










I





sin






θ
I



sin


(



ω
e



t

Δ





1



+


ω
e



t
Δ2


-

2






π
/
3



)










=





i
α



cos


(



ω
e



t

Δ





1



+


ω
e



t

Δ





2



-

2






π
/
3



)



-


i
β



sin


(



ω
e



t

Δ





1



+


ω
e



t

Δ





2



-

2






π
/
3



)





,







(

10


-


2

)







where i′c,i″b represent the c-phase current and the b-phase current, respectively, θI represents an angle of the current vector at the time corresponding to the command voltage or sampled voltage, θ′I represents an angle of the current vector at the time corresponding to the c-phase current, θ″I represents an angle of the current vector at the time corresponding to the b-phase current, an angle difference between θI and θ″I is ωetΔ1, i.e., θ′IIetΔ1, an angle difference between θ′I and θ″I is ωetΔ2, i.e., θ″I=θ′IetΔ2, ωe represents the electrical angular frequency, and iα,iβ represent currents in the two-phase stationary coordinate system, respectively.


By processing the formulas (10-1) and (10-2), it can be acquired that










i
β

=





i
α



cos


(



ω
e



t

Δ

1



+

2


π
/
3



)



-

i
c




sin


(



ω
e



t

Δ

1



+

2


π
/
3



)



=





i
α



cos


(



ω
e



t

Δ

1



+


ω
e



t

Δ

2



-

2


π
/
3



)



-

i
b




sin


(



ω
e



t

Δ

1



+


ω
e



t

Δ

2



-

2


π
/
3



)



.






(
11
)







Moreover, by processing the formula (11), it can be acquired that














i
α



sin


(



ω
e



t

Δ

1



+


ω
e



t

Δ

2



-

2


π
/
3



)




cos


(



ω
e



t

Δ

1



+

2


π
/
3



)



-


i
c




sin


(



ω
e



t

Δ

1



+


ω
e



t

Δ

2



-

2


π
/
3



)








=



i
α



cos


(



ω
e



t

Δ

1



+


ω
e



t

Δ

2



-

2


π
/
3



)




sin


(



ω
e



t

Δ

1



+

2


π
/
3



)



-


i
b




sin


(



ω
e



t

Δ

1



+

2


π
/
3



)











i
a


=





i
c




sin


(



ω
e



t

Δ

1



+


ω
e



t

Δ

2



-

2


π
/
3



)



-


i
b




sin


(



ω
e



t

Δ

1



+

2


π
/
3



)





sin


(



ω
e



t

Δ

2



-

4


π
/
3



)



.





(
12
)







In addition, by processing the formulas (10-1) and (10-2), it can be further acquired that











i
a

=




i
c


+


i
β



sin


(



ω
e



t

Δ

1



+

2


π
/
3



)





cos


(



ω
e



t

Δ

1



+

2


π
/
3



)



=



i
b


+


i
β



sin


(



ω
e



t

Δ

1



+


ω
e



t

Δ

2



-

2


π
/
3



)





cos


(



ω
e



t

Δ

1



+


ω
e



t

Δ

2



-

2


π
/
3



)





.




(
13
)







Further, by processing the formula (13), it can be acquired that












i
c




cos


(



ω
e



t

Δ

1



+


ω
e



t

Δ

2



-

2


π
/
3



)



+


i
β



sin


(



ω
e



t

Δ

1



+

2


π
/
3



)




cos


(



ω
e



t

Δ

1



+


ω
e



t

Δ

2



-

2


π
/
3



)




=





i
b




cos


(



ω
e



t

Δ

1



+

2


π
/
3



)



+


i
β



cos


(



ω
e



t

Δ

1



+

2


π
/
3



)




sin


(



ω
e



t

Δ

1



+


ω
e



t

Δ

2



-

2


π
/
3



)






i
β


=





i
c




cos


(



ω
e



t

Δ

1



+


ω
e



t

Δ

2



-

2


π
/
3



)



-


i
b




cos


(



ω
e



t

Δ

1



+

2


π
/
3



)





sin


(



ω
e



t

Δ

2



-

4


π
/
3



)



.






(
14
)







The following formula can be acquired according to the formulas (12) and (14):










I


=


[




i
α






i
β




]

=


[







i
c




sin


(



ω
e



t

Δ

1



+


ω
e



t

Δ

2



-

2


π
/
3



)



-


i
b




sin


(



ω
e



t

Δ

1



+

2


π
/
3



)





sin


(



ω
e



t

Δ

2



-

4


π
/
3



)











i
c




cos


(



ω
e



t

Δ

1



+


ω
e



t

Δ

2



-

2


π
/
3



)



-


i
b




cos


(



ω
e



t

Δ

1



+

2


π
/
3



)





sin


(



ω
e



t

Δ

2



-

4


π
/
3



)






]

.






(
15
)







Therefore, when i′c,i″b are known, that is, the c-phase current and the b-phase current are acquired by the sampling, the current vector at the time corresponding to the command voltage or the sampled voltage can be calculated, so as to allow the current vector and the voltage vector input to the flux observer to be at the same time, thus improving the accuracy of the angle output by the flux observer and allowing the motor to run normally.


The two sampled currents may also correspond to the a-phase current and the b-phase current, and by similar processes, it can be acquired that













i
b


=



I






cos


(


θ
I


-

2


π
/
3



)









=



I






cos


(


θ
I

+


ω
e



t

Δ

1



-

2


π
/
3



)









=




I





cos






θ
I



cos


(



ω
e



t

Δ

1



-

2


π
/
3



)



-

I





sin






θ
I



sin


(



ω
e



t

Δ

1



-

2


π
/
3



)











=





i
α



cos


(



ω
e



t

Δ

1



-

2


π
/
3



)



-


i
β



sin


(



ω
e



t

Δ

1



-

2


π
/
3



)





,







(

16


-


1

)










i
a


=



I





cos






θ
I









=



I






cos


(


θ
I

+


ω
e



t

Δ

1



+


ω
e



t

Δ

2




)









=




I





cos






θ
I



cos


(



ω
e



t

Δ

1



+


ω
e



t

Δ

2




)



-

I





sin






θ
I



sin


(



ω
e



t

Δ

1



+


ω
e



t

Δ

2




)











=





i
α



cos


(



ω
e



t

Δ

1



+


ω
e



t

Δ

2




)



-


i
β



sin


(



ω
e



t

Δ

1



+


ω
e



t

Δ

2




)





,







(

16


-


2

)







where i″a,i′b represent the a-phase current and the b-phase current, respectively, θI represents the angle of the current vector at the time corresponding to the command voltage or sampled voltage, θ′I represents an angle of the current vector at the time corresponding to the b-phase current, θ″I represents an angle of the current vector at the time corresponding an angle difference between θ′I and θ″I is ωetΔ2, i.e., θ″I=θ′IetΔ1, to the a-phase current, and angle difference between θI and θ′I is ωetΔ1, i.e., θ′IIetΔ1, an angle difference θ′I and θ″I is ωetΔ2, i.e., θ″1=θ′1etΔ2, ωe represents the electrical angular frequency, and iα,iβ represent currents in the two-phase stationary coordinate system, respectively.


By processing the formulas (16-1) and (16-2), it can be acquired that











i
β

=





i
α



cos


(



ω
e



t

Δ

1



-

2


π
/
3



)



-

i
b




sin


(



ω
e



t

Δ

1



-

2


π
/
3



)



=




i
α



cos


(



ω
e



t

Δ

1



+


ω
e



t

Δ

2




)



-

i
a




sin


(



ω
e



t

Δ

1



+


ω
e



t

Δ

2




)





.




(
17
)







Moreover, by processing the formula (17), it can be acquired that












i
α



sin


(



ω
e



t

Δ

1



-

2


π
/
3



)




cos


(



ω
e



t

Δ

1



+


ω
e



t

Δ

2




)



-


i
a




sin


(



ω
e



t

Δ

1



-

2


π
/
3



)




=





i
α



cos


(



ω
e



t

Δ

1



-

2


π
/
3



)




sin


(



ω
e



t

Δ

1



+


ω
e



t

Δ

2




)



-


i
b




sin


(



ω
e



t

Δ

1



+


ω
e



t

Δ

2




)






i
α


=





i
b




sin


(



ω
e



t

Δ

1



+


ω
e



t

Δ

2




)



-


i
a




sin


(



ω
e



t

Δ

1



-

2


π
/
3



)





sin


(



ω
e



t

Δ

2



+

2


π
/
3



)



.






(
18
)







In addition, by processing the formulas (16-1) and (16-2), it can be further acquired that











i
α

=




i
b


+


i
β



sin


(



ω
e



t

Δ

1



-

2


π
/
3



)





cos


(



ω
e



t

Δ

1



-

2


π
/
3



)



=



i
a


+


i
β



sin


(



ω
e



t

Δ

1



+


ω
e



t

Δ

2




)





cos


(



ω
e



t

Δ

1



+


ω
e



t

Δ

2




)





.




(
19
)







Further, by processing the formula (19), it can be acquired that












i
b




cos


(



ω
e



t

Δ

1



+


ω
e



t

Δ

2




)



+


i
β



sin


(



ω
e



t

Δ

1



-

2


π
/
3



)




cos


(



ω
e



t

Δ

1



+


ω
e



t

Δ

2




)




=





i
a




cos


(



ω
e



t

Δ

1



-

2


π
/
3



)



+


i
β



cos


(



ω
e



t

Δ

1



-

2


π
/
3



)




sin


(



ω
e



t

Δ

1



+


ω
e



t

Δ

2




)






i
β


=





i
b




cos


(



ω
e



t

Δ

1



+


ω
e



t

Δ

2




)



-


i
a




cos


(



ω
e



t

Δ

1



-

2


π
/
3



)





sin


(



ω
e



t

Δ

2



+

2


π
/
3



)



.






(
20
)







The following formula can be acquired according to the formulas (18) and (20):









=


[




i
α






i
β




]

=


[







i
b




sin


(



ω
e



t

Δ

1



+


ω
e



t

Δ

2




)



-


i
a




sin


(



ω
e



t

Δ

1



-

2


π
/
3



)





sin


(



ω
e



t

Δ

2



+

2


π
/
3



)











i
b




cos


(



ω
e



t

Δ

1



+


ω
e



t

Δ

2




)



-


i
a




cos


(



ω
e



t

Δ

1



-

2


π
/
3



)





sin


(



ω
e



t

Δ

2



+

2


π
/
3



)






]

.






(
21
)







Therefore, when i″a,i′b are known, that is, the a-phase current and the b-phase current are acquired by the sampling, the current vector at the time corresponding to the command voltage or the sampled voltage can be calculated, so as to allow the current vector and the voltage vector input to the flux observer to be at the same time, thus improving the accuracy of the angle output by the flux observer and allowing the motor to run normally.


In an embodiment of the present disclosure, the synchronous conversion is performed on the two sampled currents and the command voltage or the sampled voltage in manner (2), i.e., by simultaneously converting one of the two sampled currents and the command voltage or the sampled voltage into a current and a voltage at a time corresponding to the other one of the two sampled currents.


In a specific embodiment of the present disclosure, the two sampled currents correspond to the c-phase current and the a-phase current. As shown in FIG. 4, t3−t2 represents a cycle of the PWM carrier wave (t3,t2, respectively, corresponds to a valley of the PWM carrier wave), a time tp represents a time corresponding to the command voltage or the sampled voltage (tp is a midpoint between t2 and t3, i.e., corresponds to a peak of the PWM carrier wave), a time t′p represents a time corresponding to the c-phase current, a time t″p represents a time corresponding to the a-phase current, tΔ1 represents a time difference between the time corresponding to the command voltage or the sampled voltage and the time corresponding to the c-phase current, and tΔ2 represents a time difference between the time corresponding to the c-phase current and the time corresponding to the a-phase current.


A current vector at the time tp is defined as follows:










=

I
·

e

j






θ
I





,




(
22
)








[




i
α






i
β




]

=

[




I





cos






θ
I







I





sin






θ
I





]


,




(
23
)







where custom-character represents the current vector at the time tp, I represents an amplitude of the current vector custom-character, θI represents an angle of the current vector at the time tp, and iα,iβ represent currents in a two-phase stationary coordinate system, respectively.


A voltage vector at the time tp is defined as follows:










=

V
·

e

j






θ
V





,




(
24
)








[




v
α






v
β




]

=

[




V





cos






θ
V







V





sin






θ
V





]


,




(
25
)







where custom-character represents the voltage vector at the time tp, V represents an amplitude of the voltage vector custom-character, θV represents an angle of the voltage vector at the time tp, and vα, vβ represent voltages in the two-phase stationary coordinate system, respectively.


A current vector at the time t′p is defined as follows:










=

I
·

e

j






θ
I






,




(
26
)








[




i
α







i
β





]

=

[




I





cos






θ
I








I





sin






θ
I






]


,




(
27
)







where custom-character represents the current vector at the time t′p, θ′I represents an angle of the current vector at the time t′p, and vα,i′β represent currents at the time corresponding to the c-phase current in the two-phase stationary coordinate system, respectively.


A voltage vector at the time t′p is defined as follows:













=

V
·

e

j






θ
V






,




(
28
)








[




v
α







v
β





]

=

[




V





cos






θ
V








V





sin






θ
V






]


,




(
29
)







where custom-character represents the voltage vector at the time t′p, θ′v represents an angle of the voltage vector at the time t′p, and v′α, v′β represent voltages at the time corresponding to the c-phase current in the two-phase stationary coordinate system, respectively.


A current vector at the time t″p is defined as follows:













=

I
·

e

j






θ
I






,




(
30
)








[




i
α







i
β





]

=

[




I





cos






θ
I








I





sin






θ
I






]


,




(
31
)







where custom-character represents the current vector at the time t″p, θ″I represents an angle of the current vector at the time t″p, and i″α,i″β represent currents at the time corresponding to the a-phase current in the two-phase stationary coordinate system, respectively.


A voltage vector at the time t″p is defined as follows:













=

V
·

e

j






θ
V






,




(
32
)








[




v
α







v
β





]

=

[




V





cos






θ
V








V





sin






θ
V






]


,




(
33
)







where custom-character″ represents the voltage vector at the time t″p, θ″v represents an angle of the voltage vector at the time t″p, and v″60 ,v″62 represent voltages at the time corresponding to the a-phase current in the two-phase stationary coordinate system, respectively.


It should be noted that a difference between the angle θI of the current vector at the time tp and the angle θ′I of the current vector at the time t′p is ωetΔ1, i.e., θ′IIetΔ1, a difference between the angle θV of the voltage vector at the time tp and the angle θ′v of the voltage vector at the time t′p is ωetΔ1, i.e., θ′vvetΔ1, a difference between the angle θ′I of the current vector at the time t′p and the angle θ″I of the current vector at the time t″p is ωetΔ2, i.e., θ″I=θ′IetΔ2, and a difference between the angle θ′v of the voltage vector at the time t′p and the angle θ″v of the voltage vector at the t″p is ωetΔ2, i.e., θ″V=θ′VetΔ2, where ωe represents an electrical angular frequency.


Therefore, the voltage vector custom-character″ at the time t″p may be calculated according to the voltage vector custom-character at the time tp with the following formulas:












V




=


V
·

e

j






θ
V





=


V
·

e

j






(


θ
V


+


ω
e



t

Δ





2




)




=


V
·

e

j


(


θ
V

+


ω
e



t

Δ





1



+


ω
e



t

Δ





2




)




=


V


·

e

j







ω
e



(


t

Δ





1


+

t

Δ





2



)









,




(
34
)







V


=


[




v
α






v
β




]

.





(
35
)







By processing the formulas (34) and (35), the voltage vector custom-character″ at the time t″p is acquired as:











V




=


[




v
α







v
β





]

=


[




v
α





cos






(


ω
e



(


t

Δ

1


+

t

Δ

2



)


)


-


v
β


sin






(


ω
e



(


t

Δ

1


+

t

Δ

2



)


)








v
β





cos






(


ω
e



(


t

Δ

1


+

t

Δ

2



)


)


+


v
α


sin






(


ω
e



(


t

Δ

1


+

t

Δ

2



)


)






]

.






(
36
)







When vα,vβ are known, i.e., the command voltage or the sampled voltage is acquired, the voltage vector custom-character at the time t″p can be calculated.


Further, it is known from the manner (1) that when the two sampled currents correspond to the c-phase current and the a-phase current, the current vector custom-character″ at the time t″p can be calculated as:











I




=


{




i
α







i
β





}

=


[




i
a









i
c


-


i
o



cos






(



ω
e



t

Δ

2



-

2


π
/
3



)




sin


(



ω
e



t

Δ

2



-

2


π
/
3



)






]

.






(
37
)







When i″a,i′c are known, i.e., the c-phase current and the a-phase current are acquired by the sampling, the current vector custom-character″ at the time t″p can be calculated.


Therefore, after the synchronous conversion is performed on the two sampled currents (the c-phase current and the a-phase current) and the command voltage or the sampled voltage, the voltage vector custom-character″ and the current vector custom-character″ at the time t″p, i.e., the voltage vector custom-character″ and the current vector custom-character″ at the time corresponding to the a-phase current, can be acquired, so as to allow the current vector and the voltage vector input to the flux observer to be at the same time, thus improving the accuracy of the angle output by the flux observer and allowing the motor to run normally.


In another embodiment of the present disclosure, the two sampled currents may also correspond to the c-phase current and the b-phase current, and by similar processes, the voltage vector custom-character″ at the time t″p may be acquired as:











V




=


{




v
α







v
β





}

=


{






v
α


cos






(


ω
e



(


t

Δ

1


+

t

Δ

2



)


)


-


v
β


sin






(


ω
e



(


t

Δ

1


+

t

Δ

2



)


)










v
β


cos






(


ω
e



(


t

Δ

1


+

t

Δ

2



)


)


+


v
α


sin






(


ω
e



(


t

Δ

1


+

t

Δ

2



)


)






}

.






(
38
)







Moreover, the following formulas are acquired:













i
c


=



I






cos


(


θ
I


+

2


π
/
3



)









=



I






cos


(


θ
I


-


ω
e



t

Δ





2



+

2






π
/
3



)









=




I





cos







θ
I




(



-

ω
e




t

Δ





2



-

2






π
/
3



)



-

I





sin






θ
I




sin


(



-

ω
e




t

Δ





2



+

2






π
/
3



)










=




I





cos






θ
I




cos


(



ω
e



t

Δ





2



-

2






π
/
3



)



+


i
β




sin


(



ω
e



t

Δ





2



-

2






π
/
3



)











=





i
α




cos


(



ω
e



t

Δ





2



-

2






π
/
3



)



+


i
β




sin


(



ω
e



t

Δ





2



-

2






π
/
3



)





,







(

39


-


1

)










i
b


=



I






cos


(


θ
I


-

2






π
/
3



)









=




I





cos






θ
I




cos


(

2






π
/
3


)



+

I





sin






θ
I




sin


(

2






π
/
3


)










=





i
α




cos
(





2






π
/
3


)


+


i
β





sin


(

2






π
/
3


)


.










(

39


-


2

)







By processing the formulas (39-1) and (39-2), it can be acquired that










i
β


=




i
c


-


i
α




cos


(



ω
e



t

Δ

2



-

2


π
/
3



)





sin


(



ω
e



t

Δ

2



-

2


π
/
3



)



=



i
b


-


i
α




cos


(

2


π
/
3


)





sin


(

2


π
/
3


)








(
40
)







Moreover, by processing the formula (40), it can be acquired that












i
c




sin


(

2






π
/
3


)



-


i
α




cos


(



ω
e



t

Δ





2



-

2






π
/
3



)




sin


(

2






π
/
3


)




=





i
b




sin


(



ω
e



t

Δ





2



-

2






π
/
3



)



-


i
α




sin


(



ω
e



t

Δ





2



-

2






π
/
3



)




cos


(

2






π
/
3


)






i
α



=





i
b




sin


(



ω
e



t

Δ





2



-

2






π
/
3



)



-


i
c




sin


(

2






π
/
3


)





sin


(



ω
e



t

Δ





2



-

4






π
/
3



)



.






(
41
)







In addition, by processing the formulas (39-1) and (39-2), it can be further acquired that










i
α


=




i
c


-


i
β




sin


(



ω
e



t

Δ

2



-

2


π
/
3



)





cos


(



ω
e


t





Δ2

-

2


π
/
3



)



=




i
b


-


i
β




sin


(

2


π
/
3


)





cos






(

2


π
/
3


)



.






(
42
)







Moreover, by processing the formula (42), it can be acquired that












i
c




cos


(

2






π
/
3


)



-


i
β




sin


(



ω
e



t

Δ





2



-

2






π
/
3



)




cos


(

2






π
/
3


)




=





i
b




cos


(



ω
e



t

Δ





2



-

2






π
/
3



)



-


i
β




cos


(



ω
e



t

Δ





2



-

2






π
/
3



)




sin


(

2






π
/
3


)






i
β



=





i
c




cos


(

2






π
/
3


)



-


i
b




cos


(



ω
e



t

Δ





2



-

2






π
/
3



)





sin


(



ω
e



t

Δ





2



-

4






π
/
3



)



.






(
43
)







The following formula can be acquired according to the formulas (41) and (43):











I




=


[




i
α







i
β





]

=


[







i
b




sin


(



ω
e



t
Δ2


-

2






π
/
3



)



-


i
c




sin


(

2






π
/
3


)





sin


(



ω
e



t


Δ





2








-

4






π
/
3



)











i
c




cos


(

2






π
/
3


)



-


i
b




cos


(



ω
e



t

Δ





2



-

2






π
/
3



)





sin


(



ω
e



t

Δ





2



-

4






π
/
3



)






]

.






(
44
)







Therefore, when i″c,i″b are known, i.e., the c-phase current and the b-phase current are acquired by the sampling, the voltage vector custom-character and the current vector custom-character at the time t″p, i.e., the voltage vector custom-character and the current vector custom-character at the time corresponding to the b-phase current, can be calculated, so as to allow the current vector and the voltage vector input to the flux observer to be at the same time, thus improving the accuracy of the angle output by the flux observer and allowing the motor to run normally.


The two sampled currents may also correspond to the a-phase current and the b-phase current, and by similar processes, it can be acquired that











V




=


[




v
α







v
β





]

=


[






v
α



cos


(


ω
e



(


t

Δ





1


+

t

Δ





2



)


)



-


v
β



sin


(


ω
e



(


t

Δ





1


+

t

Δ





2



)


)











v
β



cos


(


ω
e



(


t

Δ





1


+

t

Δ





2



)


)



+


v
α



sin


(


ω
e



(


t

Δ





1


+

t

Δ





2



)


)







]

.






(
45
)







Moreover, it can be acquired that













i
b


=



I






cos


(


θ
I


-

2






π
/
3



)









=



I






cos


(


θ
I


-


ω
e



t

Δ





2



-

2






π
/
3



)









=



I





cos






θ
I




cos
(



ω
e



(


t

Δ





2


+

2






π
/
3



)


+

I





sin






θ
I




sin
(







ω
e



t

Δ





2



+

2






π
/
3



)












=





i
α




cos


(



ω
e



t

Δ





2



+

2






π
/
3



)



+


i
β




sin


(



ω
e



t

Δ





2



+

2






π
/
3



)





,







(

46


-


1

)










i
a


=



I





cos






θ
I









=




i
α


.








(

46


-


2

)







Further, by processing the formulas (46-1) and (46-2), it can be acquired that











I




=


[




i
α







i
β





]

=


[




i
a









i
b


-


i
a




cos


(



ω
e



t

Δ





2



+

2






π
/
3



)





sin


(



ω
e



t

Δ





2



+

2






π
/
3



)






]

.






(
47
)







Therefore, when i″a,i′b, are known, i.e., the a-phase current and the b-phase current are acquired by the sampling, the voltage vector custom-character″ and the current vector custom-character″ at the time t″p, i.e., the voltage vector custom-character″ and the current vector custom-character″ at the time corresponding to the a-phase current, can be calculated, so as to allow the current vector and the voltage vector input to the flux observer to be at the same time, thus improving the accuracy of the angle output by the flux observer and allowing the motor to run normally.


In an embodiment of the present disclosure, the synchronous conversion is performed on the two sampled currents and the command voltage or the sampled voltage in a manner (3), i.e., by simultaneously converting the two sampled currents and the command voltage or the sampled voltage into two currents and a voltage at a random time in each PWM cycle.


In a specific embodiment of the present disclosure, the two sampled currents correspond to the c-phase current and the a-phase current. As shown in FIG. 5, t3−t2 represents a cycle of the PWM carrier wave (t3,t2, respectively, corresponds to a valley of the PWM carrier wave), a time tp represents a time corresponding to the command voltage or the sampled voltage (tp is a midpoint between t2 and t3, i.e., corresponds to a peak of the PWM carrier wave), a time t′p represents a time corresponding to the c-phase current, a time t″prepresents a time corresponding to the a-phase current, a time t″p represents a random time in a PWM cycle, tΔ1 represents a time difference between the time corresponding to the command voltage or the sampled voltage and the time corresponding to the c-phase current, tΔ2 represents a time difference between the time corresponding to the c-phase current and the time corresponding to the a-phase current, and tΔ3, represents a time difference between the time corresponding to the a-phase current and the random time.


A current vector at the time tp is defined as follows:











I


=

I
·

e

j






θ
I





,




(
48
)








[




i
α






i
β




]

=

[




I





cos






θ
I







I





sin






θ
I





]


,




(
49
)







where custom-character represents the current vector at the time tp, I represents an amplitude of the current vector custom-character, θI represents an angle of the current vector at the time tp, and iα,iβrepresent currents in a two-phase stationary coordinate system, respectively.


A voltage vector at the time tp is defined as follows:










V


=

V
·

e

j






θ

V
,









(
50
)








[




v
α






v
β




]

=

[




V





cos






θ
V







V





sin






θ
V





]


,




(
51
)







where custom-character represents the voltage vector at the time tp, V represents an amplitude of the voltage vector custom-character, θV represents an angle of the voltage vector at the time tp, and vα,vβ represent voltages in the two-phase stationary coordinate system, respectively.


A current vector at the time t′p is defined as follows:











I


=

I
·

e

j






θ
I






,




(
52
)








[




i
α







i
β





]

=

[




I





cos






θ
I








I





sin






θ
I






]


,




(
53
)







where custom-character′ represents the current vector at the time t′p, θ′I represents an angle of the current vector at the time t′p, and i′′α,i′β represent currents at the time corresponding to the c-phase current in the two-phase stationary coordinate system, respectively.


A voltage vector at the time t′p is defined as follows:












V




=

V
·

e

j






θ
V






,




(
54
)








[




v
α







v
β





]

=

[




V





cos






θ
V








V





sin






θ
V






]


,




(
55
)







where custom-character represents the voltage vector at the time t′p, θ′v represents an angle of the voltage vector at the time t′p , and v′α,v′β represent voltages at the time corresponding to the c-phase current in the two-phase stationary coordinate system, respectively.


A current vector at the time t″p is defined as follows:












I




=

I
·

e

j






θ
I






,




(
56
)








[




i
α







i
β





]

=

[




I





cos






θ
I








I





sin






θ
I






]


,




(
57
)







where custom-character represents the current vector at the time t″p, θ″I represents an angle of the current vector at the time t′p, and i″α,i″β represent currents at the time corresponding to the a-phase current in the two-phase stationary coordinate system, respectively.


A voltage vector at the time t″p is defined as follows:












V




=

V
·

e

j






θ
V






,




(
58
)








[




v
α







v
β





]

=

[




V





cos






θ
V








V





sin






θ
V






]


,




(
59
)







where custom-character represents the voltage vector at the time t″p, θ″v represents an angle of the voltage vector at the time t″p, and v″α,v″β represent voltages at the time corresponding to the a-phase current in the two-phase stationary coordinate system, respectively.


A current vector at the time t′″p is defined as follows:












I


′′′

=

I
·

e

j






θ
I
′′′





,




(
60
)








[




i
α
′′′






i
β
′′′




]

=

[




I





cos






θ
I
′′′







I





sin






θ
I
′′′





]


,




(
61
)







where custom-character represents the current vector at the time t′″p, θ′″I represents an angle of the current vector at the time t′″p, and i′″α,i′″β represent currents at the random time in the two-phase stationary coordinate system, respectively.


A voltage vector at the time t′″p is defined as follows:












V


′′′

=

V
·

e

j






θ
I
′′′





,




(
62
)








[




v
α
′′′






v
β
′′′




]

=

[




V





cos






θ
V
′′′







V





sin






θ
V
′′′





]


,




(
63
)







where custom-character′″ represents the voltage vector at the time t′″p, θ′″V represents an angle of the voltage vector at the time t′″p, and v′″α,v′″β represent voltages at the random time in the two-phase stationary coordinate system, respectively.


It should be noted that a difference between the angle θI of the current vector at the time tp and the angle θ′I of the current vector at the time t′p is ωetΔ1, i.e., θ′IIetΔ1, a difference between the angle θV of the voltage vector at the time tp and the angle θ′V of the voltage vector at the time t′p is ωetΔ1, i.e., θ′VVetΔ1, a difference between the angle θ′I of the current vector at the time t′p and the angle θ″I of the current vector at the time t″p is ωetΔ2, θ″I=θ′IetΔ2, a difference between the angle θ′v of the voltage vector at the time t′p and the angle θ″v of the voltage vector at the time t″p is ωetΔ2, i.e., θ″V=θ′VetΔ2, a difference between the angle θ″I of the current vector at the time t″p and the angle θ′″I of the current vector at the time t′″p is ωe tΔ3, i.e., θ′″I=θ″IetΔ3, and a difference between the angle θ″V of the voltage vector at the time t″p and the angle θ′″V of the voltage vector at the time t′″p is ωetΔ3, i.e., θ′″V=θ″VetΔ3, where ωe represents an electrical angular frequency.


Therefore, the voltage vector custom-character′″ at the time t′″p may be calculated according to the following formulas:














V


′′′

=




V
·

e

j






θ
I
′′′




=


V
·

e

j


(


θ
V


+


ω
e



t

Δ





3




)




=

V
·

e

j


(


θ
V


+


ω
e



t
Δ2


+


ω
e



t

Δ





3




)













=




V
·

e

j


(


θ
V

+


ω
e



t

Δ





1



+


ω
e



t

Δ





2



+


ω
e



t

Δ





3




)




=


V


·

e

j







ω
e



(


t

Δ





1


+

t

Δ





2


+

t

Δ





3



)







,







(
64
)







V


=


[




v
α






v
β




]

.





(
65
)







By processing the formulas (64) and (65), the voltage vector custom-character′″ at the time t′″p may be calculated t′″p is acquired as:











V


′′′

=




[




v
α
″′






v
β
′′′




]

=


[






v
α







cos


(


ω
e



(


t

Δ

1


+

t

Δ

2


+

t

Δ

3



)


)



-


v
β



sin


(


ω
e



(


t

Δ

1


+

t

Δ

2


+

t

Δ

3



)


)











v
β


cos






(


ω
e



(


t

Δ

1


+

t

Δ

2


+

t

Δ

3



)


)


+


v
α



sin


(


ω
e



(


t

Δ

1


+

t

Δ

2


+

t

Δ

3



)


)







]

.







(
66
)







When vα,vβ are known, i.e., the command voltage or the sampled voltage is acquired, the voltage vector custom-character′″ at the time t′″p can be calculated.


Further, it is known from the manner (1) that when the two sampled currents correspond to the c-phase current and the a-phase current, the current vector custom-character at the time t″p can be calculated as:











I




=


[




i
α







i
β





]

=


[




i
a









i
c


-


i
a



cos






(



ω
e



t

Δ

2



-

2


π
/
3



)




sin


(



ω
e



t

Δ

2



-

2


π
/
3



)






]

.






(
67
)







The current vector custom-character′″0 at the time t′″p can be calculated according to the current vector custom-characterI″ at the time t″p with the following formula:














I


′′′

=




I
·

e

j






θ
I
′′′




=


I
·

e

j


(


θ
I


+


ω
e



t

Δ

3




)




=



I




·

e

j






ω
e



t

Δ





3













=




[




i
α
′″






i
β
′′′




]

=


[






i
a




cos


(


ω
e



t

Δ





3



)



-




i
c


-


i
a




cos


(



ω
e



t

Δ





2



-

2






π
/
3



)





sin


(



ω
e



t

Δ





2



-

2






π
/
3



)



·

sin


(


ω
e



t

Δ





3



)













i
c


-


i
a




cos


(



ω
e



t

Δ





2



-

2






π
/
3



)





sin


(



ω
e



t

Δ





2



-

2






π
/
3



)



·

cos


(


ω
e



t

Δ





3



)



+


i
a




sin


(


ω
e



t

Δ





3



)







]

.









(
68
)







When i″a,i′c are known, i.e., the c-phase current and the a-phase current are acquired by the sampling, the current vector custom-character′″ at the time t′″p can be calculated.


Therefore, after the synchronous conversion is performed on the two sampled currents (the c-phase current and the a-phase current) and the command voltage or the sampled voltage, the voltage vector custom-character′″ and the current vector custom-character′″ at the time t′″p, i.e., the voltage vector custom-character′″ and the current vector custom-character′″ at the random time of each PWM cycle, can be acquired, so as to allow the current vector and the voltage vector input to the flux observer to be at the same time, thus improving the accuracy of the angle output by the flux observer and allowing the motor to run normally.


In another embodiment of the present disclosure, the two sampled currents may also correspond to the c-phase current and the b-phase current, and by similar processes, the voltage vector custom-character′″ at the time t′″p may be acquired as:











V


′′′

=


[




v
α
′′′






v
β
′′′




]

=




[






v
α



cos


(


ω
e



(


t

Δ





1


+

t

Δ





2


+

t

Δ





3



)


)



-


v
β



sin


(


ω
e



(


t
Δ1

+

t

Δ





2


+

t

Δ





3



)


)











v
β



cos


(


ω
e



(


t

Δ





1


+

t

Δ





2


+

t

Δ





3



)


)



+


v
α



sin


(


ω
e



(


t

Δ





1


+

t

Δ





2


+

t

Δ





3



)


)







]

,







(
69
)







and the current vector custom-character′″ at the time t′″p may be acquired as:











I


′′′

=


[




i
α
′′′






i
β
′′′




]

=


[









i
b




sin


(



ω
e



t

Δ





2



-

2






π
/
3



)



-


i
c




sin


(

2






π
/
3


)





sin


(



ω
e



t

Δ





2



-

4






π
/
3



)





cos


(


ω
e



t

Δ





3



)



-











i
c




cos


(

2






π
/
3


)



-


i
b




cos


(



ω
e



t

Δ





2



-

2






π
/
3



)










sin


(



ω
e



t

Δ





2



-

4






π
/
3



)





sin


(


ω
e



t

Δ





3



)














i
c




cos


(

2






π
/
3


)



-


i
b




cos


(



ω
e



t

Δ





2



-

2






π
/
3



)










sin


(



ω
e



t

Δ





2



-

4






π
/
3



)



·

cos


(


ω
e



t

Δ





3



)



+










i
b




sin


(



ω
e



t

Δ





2



-

2






π
/
3



)



-


i
c




sin


(

2






π
/
3


)





sin


(



ω
e



t

Δ





2



-

4






π
/
3



)





sin


(


ω
e



t

Δ





3



)






]

.






(
70
)







Therefore, after the synchronous conversion is performed on the two sampled currents (the c-phase current and the b-phase current) and the command voltage or the sampled voltage, the voltage vector custom-character′″ and the current vector custom-character at the time t′″p, i.e., the voltage vector custom-character′″ and the current vector custom-character′″ at the random time of each PWM cycle, can be acquired, so as to allow the current vector and the voltage vector input to the flux observer to be at the same time, thus improving the accuracy of the angle output by the flux observer and allowing the motor to run normally.


The two sampled currents may also correspond to the a-phase current and the b-phase current, and by similar processes, the voltage vector custom-character′″ at the time t′″p may be acquired as:











V


′′′

=


[




v
α
′′′






v
β
′′′




]

=




[






v
α



cos


(


ω
e



(


t

Δ





1


+

t

Δ





2


+

t

Δ





3



)


)



-


v
β



sin


(


ω
e



(


t
Δ1

+

t

Δ





2


+

t

Δ





3



)


)











v
β



cos


(


ω
e



(


t

Δ





1


+

t

Δ





2


+

t

Δ





3



)


)



+


v
α



sin


(


ω
e



(


t

Δ





1


+

t

Δ





2


+

t

Δ





3



)


)







]

,







(
71
)







Moreover, the current vector custom-character′″ at the time t′″p may be acquired as:











I


′′′

=




[




i
α
′′′






i
β
′′′




]

=


[






i
a




cos


(


ω
e



t

Δ





3



)



-




i
b


-


i
a




cos


(



ω
e



t

Δ





2



+

2






π
/
3



)





sin


(



ω
e



t

Δ





2



+

2






π
/
3



)



·

sin


(


ω
e



t

Δ





3



)













i
b


-


i
a




cos


(



ω
e



t

Δ





2



+

2






π
/
3



)





sin


(



ω
e



t

Δ





2



+

2






π
/
3



)



·

cos


(


ω
e



t

Δ





3



)



+


i
a




sin


(


ω
e



t

Δ





3



)







]

.







(
72
)







Therefore, after the synchronous conversion is performed on the two sampled currents (the a-phase current and the b-phase current) and the command voltage or the sampled voltage, the voltage vector custom-character′″ and the current vector custom-character′″ at the time t′″p, i.e., the voltage vector custom-character′″ and the current vector custom-character′″ at the random time of each PWM cycle, can be acquired, so as to allow the current vector and the voltage vector input to the flux observer to be at the same time, thus improving the accuracy of the angle output by the flux observer and allowing the motor to run normally.


With such a method for synchronously calculating a reconstructed phase current and a phase voltage for a motor driver according to the embodiments of the present disclosure, the DC bus current is sampled and the phase current reconstruction is performed according to the DC bus current to acquire the three-phase current of the motor. During the phase current reconstruction, two sampled currents are acquired for each PWM cycle as the two-phase current of the motor and the command voltage or the sampled voltage is acquired. The synchronous conversion is performed on the two sampled currents and the command voltage or the sampled voltage to allow the current vector and the voltage vector, that are input to the flux observer, to keep synchronous. Therefore, the method may make the current vector and the voltage vector input to the flux observer at the same time, so as to improve the accuracy of the angle output by the flux observer and allow the motor to run normally. Moreover, this calculation method has a small calculation amount and is easy to be realized.


Corresponding to the above embodiments, the present disclosure further provides a non-transitory computer-readable storage medium.


The non-transitory computer-readable storage medium according to the embodiments of the present disclosure has stored therein computer programs that, when executed by a processor, cause the processor to perform a method for synchronously calculating a reconstructed phase current and a phase voltage for a motor driver provided in the above embodiments of the present disclosure.


With the non-transitory computer-readable storage medium according to the embodiments of the present disclosure, the computer programs stored therein can be executed, so as to improve the accuracy of the angle output by the flux observer and allow the motor to run normally.


Corresponding to the above embodiments, the present disclosure further provides a device for synchronously calculating a reconstructed phase current and a phase voltage for a motor driver.


As shown in FIG. 6, the device for synchronously calculating a reconstructed phase current and a phase voltage for a motor driver may include a current sampling module 100, a current reconstructing module 200, an acquiring module 300 and a synchronously calculating module 400.


The current sampling module 100 is configured to sample a DC bus current. The current reconstructing module 200 is configured to perform phase current reconstruction according to the DC bus current to acquire a three-phase current of a motor. The acquiring module 300 is configured to acquire two sampled currents of each PWM cycle as a two-phase current of the motor and acquire a command voltage or a sampled voltage during the phase current reconstruction. The synchronously calculating module 400 is configured to perform synchronous conversion on the two sampled currents and the command voltage or the sampled voltage to allow a current vector and a voltage vector, that are input to a flux observer, to keep synchronous.


Specifically, FIG. 2 is a schematic diagram of sampling a DC bus current with a single measuring element and acquiring a three-phase current of a motor according to an embodiment of the present disclosure.


In a specific embodiment of the present disclosure, as shown in FIG. 2, in three-phase bridge arms of a, b and c-phases, the a-phase bridge arm may include an upper bridge switch tube T1 and a lower bridge switch tube T2, the b-phase bridge arm may include an upper bridge switch tube T3 and a lower bridge switch tube T4, and the c-phase bridge arm may include an upper bridge switch T5 and a lower bridge switch T6. When the motor is driven by the SVPWM technology, the upper bridge switch tube and lower bridge switch tube of the bridge arm of each phase are different in state. Moreover, for each phase, when the upper bridge switch tube of the bridge arm is on and the lower bridge switch tube of the bridge is off, it refers to “1”; when the upper bridge switch tube of the bridge arm is off and the lower bridge switch tube of the bridge arm is on, it refers to “0”, and thus, in this way, six non-zero vectors “001”, “010”, “011”, “100”, “101”, “110” and two zero vectors “000”, “111” can be formed. As shown in FIG. 3, in one SVPWM cycle, there may be two non-zero vectors “100” and “110”. At a time corresponding to the vector “100”, i.e., when the upper bridge switch T1 is on and the lower bridge switch T2 is off, the upper bridge switch T3 is off and the lower bridge switch T4 is on, and the upper bridge switch T5 is off and the lower bridge switch T6 is on, the sampled DC bus current is the a-phase current, i.e., ia=idc1, where idc1 represents the DC bus current sampled at this time, and is represents the a-phase current. At a time corresponding to the vector “110”, i.e., when the upper bridge switch T1 is on and the lower bridge switch T2 is off, the upper bridge switch T3 is on and the lower bridge switch T4 is off, and the upper bridge switch T5 is off and the lower bridge switch T6 is on, the sampled DC bus current is the c-phase current, i.e., ic=dc2, where idc2 represents the DC bus current sampled at this time, and ic represents the c-phase current. At this time, according to relationship of the three-phase currents, the b-phase current can be calculated by the current reconstructing module 200, and thus the three-phase current of the motor in one PWM cycle can be acquired.


Similarly, the a-phase current and the b-phase current can be acquired by the current reconstructing module 200 according to the states of the switch tubes and the DC bus currents sampled by the current sampling module 100, and the c-phase current can be calculated according to the relationship of the three-phase current, thus acquiring the three-phase current of the motor in one PWM cycle. Alternatively, the b-phase current and the c-phase current can be acquired by the current reconstructing module 200 according to the states of the switch tubes and the DC bus currents sampled by the current sampling module 100, and the a-phase current can be calculated according to the relationship of the three-phase current, thus acquiring the three-phase current of the motor in one PWM cycle.


In an embodiment of the present disclosure, the synchronously calculating module 400 may be used to perform the synchronous conversion on the two sampled currents and the command voltage or the sampled voltage in a manner (1), i.e., by simultaneously converting the two sampled currents into two currents at a time corresponding to the command voltage or the sampled voltage.


In a specific embodiment of the present disclosure, the two sampled currents correspond to the c-phase current and the a-phase current. As shown in FIG. 4, t3−t2 represents a cycle of the PWM carrier wave (t3,t2, respectively, corresponds to a valley of the PWM carrier wave), a time tp represents a time corresponding to the command voltage or the sampled voltage (tp is a midpoint between t′2 and t3, i.e., corresponds to a peak of the PWM carrier wave), a time t′p represents a time corresponding to the c-phase current, a time t″p represents a time corresponding to the a-phase current, tΔ1 represents a time difference between the time corresponding to the command voltage or the sampled voltage and the time corresponding to the c-phase current, and tΔ2 represents a time difference between the time corresponding to the c-phase current and the time corresponding to the a-phase current.


A current vector at the time tp is defined as follows:











I


=

I
·

e

j






θ
1





,




(
1
)








[




i
α






i
β




]

=

[




I





cos






θ
I







I





sin






θ
I





]


,




(
2
)







where custom-character represents the current vector at the time tp, I represents an amplitude of the current vector custom-character, θI represents an angle of the current vector at the time tp, and iα,iβ represent currents in a two-phase stationary coordinate system, respectively.


A current vector at the time t′p is defined as follows:












I




=

I
·

e

j






θ
I






,




(
3
)








[




i
α







i
β





]

=

[




I





cos






θ
I








I





sin






θ
I






]


,




(
4
)







where custom-character′ represents the current vector at the time t′p, θ′I represents an angle of the current vector at the time t′p, and i′α,t′β represent currents at the time corresponding to the c-phase current in the two-phase stationary coordinate system, respectively.


A current vector at the time t″p is defined as follows:












I




=

I
·

e

j






θ
I






,




(
5
)








[




i
α







i
β





]

=

[




I





cos






θ
I








I





sin






θ
I






]


,




(
6
)







where custom-character″ represents the current vector at the time t″p, θ″I represents an angle of the current vector at the time t″p, and i″α,i″β represent currents at the time corresponding to the a-phase current in the two-phase stationary coordinate system, respectively.


It should be noted that a difference between the angle θI of the current vector at the time tp and the angle θ′I of the current vector at the time t′p is ωetΔ1, i.e., θ′IIetΔ1, and a difference between the angle θ′I of the current vector at the time t′p and the angle θ″I of the current vector at the time t″p is ωetβ2, i.e., θ″I=θ′IetΔ2, where ωe represents an electrical angular frequency.


Therefore, the c-phase current and the a-phase current can be expressed by the synchronously calculating module 400 with the following formulas:











i
a


=

i
α



,




(

7


-


1

)










i
c


=



I






cos


(


θ
I


+

2





π


/


3


)









=



I






cos


(


θ
I


-


ω
e



t

Δ

2



+

2





π


/


3


)









=




I





cos







θ
I


·

cos


(



ω
e



t

Δ

2



-

2

π


/


3


)




+

I





sin







θ
I


·

sin


(



ω
e



t

Δ

2



-

2

π


/


3


)












=





i
α


·

cos


(



ω
e



t

Δ

2



-

2

π


/


3


)



+


i
β


·

sin


(



ω
e



t

Δ

2



-

2

π


/


3


)





,







(

7


-


2

)







where tΔ2 represents the time difference between the time corresponding to the c-phase current and the time corresponding to the a-phase current, ωe represents the electrical angular frequency, and i″a,i′c represent the a-phase current and the c-phase current, respectively.


The formulas (7-1) and (7-2) are processed by the synchronously calculating module 400 to calculate the current vector custom-character″ at the time t″p as follows:











I




=


[




i
α







i
β





]

=


[




i
a









i
c


-


i
a




cos


(



ω
e



t

Δ

2



-

2

π


/


3


)





sin


(



ω
e



t

Δ

2



-

2

π


/


3


)






]

.






(
8
)







According to the formulas (1), (3) and (5), it can be acquired that custom-character″=I·ejθ″I=I·ej(θ′IetΔ2 )=I·ej(θIetΔ1etΔ2)=custom-character·ee(tΔ1+tΔ2), that is, it can be acquired that custom-character=custom-character″·−jωe(tΔ1+tΔ2). In combination with the formula (8), it can be acquired that










I


=


[




i
α






i
β




]

=




[










i
a


·

cos


(


ω
e



(


t

Δ





1


+

t

Δ





2



)


)



+





i
c


-


i
a




cos


(



ω
e



t

Δ

2



-

2

π


/


3


)





sin


(



ω
e



t

Δ

2



-

2

π


/


3


)



·
sin







(


ω
e



(


t

Δ





1


+

t

Δ





2



)


)












i
c


-


i
a




cos


(



ω
e



t

Δ

2



-

2

π


/


3


)





sin


(



ω
e



t

Δ

2



-

2

π


/


3


)



·

cos


(


ω
e



(


t

Δ





1


+

t

Δ





2



)


)



-


i
a


·

sin


(


ω
e



(


t

Δ





1


+

t

Δ





2



)


)











]





.







(
9
)







Therefore, when i″a,i′c are known, that is, the c-phase current and the a-phase current are acquired by the acquiring module, the current vector at the time tp can be calculated by the synchronously calculating module 400, that is, the current vector at the time corresponding to the command voltage or the sampled voltage is acquired, to allow the current vector and the voltage vector input to the flux observer to be at the same time, thus improving the accuracy of the angle output by the flux observer and allowing the motor to run normally.


In another embodiment of the present disclosure, the two sampled currents may also correspond to the c-phase current and the b-phase current, and the synchronously calculating module 400 may perform similar processes to acquire that













i
c


=



I






cos


(


θ
I


+

2





π


/


3


)









=



I






cos


(


θ
I

+


ω
e



t
Δ1


+

2





π


/


3


)









=




I





cos






θ
I



cos


(



ω
e



t
Δ1


+

2





π


/


3


)



-

I





sin






θ
I



sin


(



ω
e



t
Δ1


+

2





π


/


3


)











=





i
α



cos


(



ω
e



t
Δ1


+

2





π


/


3


)



-


i
β



sin


(



ω
e



t
Δ1


+

2





π


/


3


)





,







(

10


-


1

)










i
b


=



I






cos


(


θ
I


-

2





π


/


3


)









=



I






cos


(


θ
I

+


ω
e



t
Δ1


+


ω
e



t

Δ

2



-

2

π


/


3


)









=




I





cos






θ
I



cos


(



ω
e



t
Δ1


+


ω
e



t

Δ

2



-

2

π


/


3


)



-










I





sin






θ
I



sin


(



ω
e



t
Δ1


+


ω
e



t

Δ

2



-

2

π


/


3


)









=





i
α



cos


(



ω
e



t
Δ1


+


ω
e



t

Δ

2



-

2

π


/


3


)



-












i
β



sin


(



ω
e



t
Δ1


+


ω
e



t

Δ

2



-

2

π


/


3


)



,








(

10


-


2

)







where i′c,i″b represent the c-phase current and the b-phase current, respectively, θI represents an angle of the current vector at the time corresponding to the command voltage or sampled voltage, θ′I represents an angle of the current vector at the time corresponding to the c-phase current, θ″I represents an angle of the current vector at the time corresponding to the b-phase current, an angle difference between θI and θ′I is ωetΔ1, i.e., θ′IIetΔ1, an angle difference between θ′I and θ″I is ωetΔ2, i.e., θ″I=θ′1etΔ2, ωe represents the electrical angular frequency, and iα,iβ represent currents in the two-phase stationary coordinate system, respectively.


By processing the formulas (10-1) and (10-2), it can be acquired that











i
β

=





i
α



cos


(



ω
e



t

Δ

1



+

2

π


/


3


)



-

i
c




sin


(



ω
e



t

Δ

1



+

2

π


/


3


)



=




i
α



cos


(



ω
e



t

Δ

1



+


ω
e



t

Δ

2



-

2

π


/


3


)



-

i
b




sin


(



ω
e



t

Δ

1



+


ω
e



t

Δ

2



-

2

π


/


3


)





.




(
11
)







Moreover, by processing the formula (11), it can be acquired that












i
α



sin


(



ω
e



t

Δ

1



+


ω
e



t

Δ

2



-

2

π


/


3


)




cos


(



ω
e



t

Δ

1



+

2

π


/


3


)



-


i
c




sin


(



ω
e



t

Δ

1



+


ω
e



t

Δ

2



-

2

π


/


3


)




=





i
α



cos


(



ω
e



t

Δ

1



+


ω
e



t

Δ

2



-

2

π


/


3


)




sin


(



ω
e



t

Δ

1



+

2

π


/


3


)



-


i
b




sin


(



ω
e



t

Δ

1



+

2

π


/


3


)






i
α


=





i
c




sin


(



ω
e



t

Δ

1



+


ω
e



t

Δ

2



-

2

π


/


3


)



-


i
b




sin


(



ω
e



t

Δ

1



+

2

π


/


3


)





sin


(



ω
e



t

Δ

2



-

4

π


/


3


)



.






(
12
)







In addition, by processing the formulas (10-1) and (10-2), it can be further acquired that











i
α

=




i
c


+


i
β



sin


(



ω
e



t

Δ

1



+

2

π


/


3


)





cos


(



ω
e



t

Δ

1



+

2

π


/


3


)



=



i
b


+


i
β



sin


(



ω
e



t

Δ

1



+


ω
e



t

Δ

2



-

2

π


/


3


)





cos


(



ω
e



t

Δ

1



+


ω
e



t

Δ

2



-

2

π


/


3


)





.




(
13
)







Further, by processing the formula (13), it can be acquired that












i
c




cos


(



ω
e



t

Δ

1



+


ω
e



t

Δ

2



-

2

π


/


3


)



+


i
β



sin


(



ω
e



t

Δ

1



+

2

π


/


3


)




cos


(



ω
e



t

Δ

1



+


ω
e



t

Δ

2



-

2

π


/


3


)




=





i
b




cos


(



ω
e



t

Δ

1



+

2

π


/


3


)



+


i
β



cos


(



ω
e



t

Δ

1



+

2

π


/


3


)




sin


(



ω
e



t

Δ

1



+


ω
e



t

Δ

2



-

2

π


/


3


)










i
β


=





i
c




cos


(



ω
e



t

Δ

1



+


ω
e



t

Δ

2



-

2

π


/


3


)



-


i
b




cos


(



ω
e



t

Δ

1



+

2

π


/


3


)





sin


(



ω
e



t

Δ

2



-

4

π


/


3


)



.






(
14
)







The following formula can be acquired according to the formulas (12) and (14):










I


=


[




i
α






i
β




]

=


[







i
c




sin


(



ω
e



t

Δ

1



+


ω
e



t

Δ

2



-

2

π


/


3


)



-


i
b




sin


(



ω
e



t

Δ

1



+

2

π


/


3


)





sin


(



ω
e



t
Δ2


-

4

π


/


3


)











i
c




cos


(



ω
e



t

Δ

1



+


ω
e



t

Δ

2



-

2

π


/


3


)



-


i
b




cos


(



ω
e



t

Δ

1



+

2

π


/


3


)





sin


(



ω
e



t
Δ2


-

4

π


/


3


)






]

.






(
15
)







Therefore, when i′c,i″b are known, that is, the c-phase current and the b-phase current are acquired by the acquiring module, the current vector at the time corresponding to the command voltage or the sampled voltage can be calculated by the synchronously calculating module 400, so as to allow the current vector and the voltage vector input to the flux observer to be at the same time, thus improving the accuracy of the angle output by the flux observer and allowing the motor to run normally.


The two sampled currents may also correspond to the a-phase current and the b-phase current, and the synchronously calculating module 400 may perform similar processes to acquire that













i
b


=



I






cos


(


θ
I


-

2





π


/


3


)









=



I






cos


(


θ
I

+


ω
e



t
Δ1


-

2





π


/


3


)









=




I





cos






θ
I



cos


(



ω
e



t
Δ1


-

2





π


/


3


)



-

I





sin






θ
I



sin


(



ω
e



t
Δ1


-

2





π


/


3


)











=





i
α



cos


(



ω
e



t
Δ1


-

2





π


/


3


)



-


i
β



sin


(



ω
e



t
Δ1


-

2





π


/


3


)





,







(

16


-


1

)










i
a


=



I





cos






θ
I









=



I






cos


(


θ
I

+


ω
e



t
Δ1


+


ω
e



t

Δ

2




)









=




I





cos






θ
I



cos


(



ω
e



t
Δ1


+


ω
e



t

Δ

2




)



-

I





sin






θ
I



sin


(



ω
e



t
Δ1


+


ω
e



t

Δ

2




)











=





i
α



cos


(



ω
e



t
Δ1


+


ω
e



t

Δ

2




)



-


i
β



sin


(



ω
e



t
Δ1


+


ω
e



t

Δ

2




)





,







(

16


-


2

)







where i″a,i′b represent the a-phase current and the b-phase current, respectively, θI represents the angle of the current vector at the time corresponding to the command voltage or sampled voltage, θ′I represents an angle of the current vector at the time corresponding to the b-phase current, θ″I represents an angle of the current vector at the time corresponding to the a-phase current, an angle difference between θI and θ′I is ωetΔ1, i.e, θ′IIetΔ1, an angle difference between θ′I and θ″I is ωetΔ2, i.e., θ″I=θ′IetΔ2, ωe represents the electrical angular frequency, and iα,iβ represent currents in the two-phase stationary coordinate system, respectively.


By processing the formulas (16-1) and (16-2), it can be acquired that











i
β

=





i
α



cos


(



ω
e



t

Δ

1



-

2





π


/


3


)



-

i
b




sin


(



ω
e



t

Δ

1



-

2





π


/


3


)



=




i
α



cos


(



ω
e



t

Δ

1



+


ω
e



t

Δ

2




)



-

i
a




sin


(



ω
e



t

Δ

1



+


ω
e



t

Δ

2




)





.




(
17
)







Moreover, by processing the formula (17), it can be acquired that












i
α



sin


(



ω
e



t

Δ

1



-

2

π


/


3


)




cos


(



ω
e



t

Δ

1



+


ω
e



t

Δ

2




)



-


i
a




sin


(



ω
e



t

Δ

1



-

2

π


/


3


)




=





i
α



cos


(



ω
e



t

Δ

1



-

2

π


/


3


)




sin


(



ω
e



t

Δ

1



+


ω
e



t

Δ

2




)



-


i
b




sin


(



ω
e



t

Δ

1



+


ω
e



t

Δ

2




)






i
α


=





i
b




sin


(



ω
e



t

Δ

1



+


ω
e



t

Δ

2




)



-


i
a




sin


(



ω
e



t

Δ

1



-

2

π


/


3


)





sin


(



ω
e



t

Δ

2



+

2

π


/


3


)



.






(
18
)







In addition, by processing the formulas (16-1) and (16-2), it can be further acquired that











i
α

=




i
b


+


i
β



sin


(



ω
e



t

Δ

1



-

2

π


/


3


)





cos


(



ω
e



t

Δ

1



-

2

π


/


3


)



=



i
a


+


i
β



sin


(



ω
e



t

Δ

1



+


ω
e



t

Δ

2




)





cos


(



ω
e



t

Δ

1



+


ω
e



t

Δ

2




)





.




(
19
)







Further, by processing the formula (19), it can be acquired that












i
b




cos


(



ω
e



t

Δ

1



+


ω
e



t

Δ

2




)



+


i
β


sin






(



ω
e



t

Δ

1



-

2

π


/


3


)



cos


(



ω
e



t

Δ

1



+


ω
e



t

Δ

2




)




=





i
a




cos


(



ω
e



t

Δ

1



-

2

π


/


3


)



+


i
β



cos


(



ω
e



t

Δ

1



-

2

π


/


3


)




sin


(



ω
e



t

Δ

1



+


ω
e



t

Δ

2




)






i
β


=





i
b




cos


(



ω
e



t

Δ

1



+


ω
e



t

Δ

2




)



-


i
a




cos


(



ω
e



t

Δ

1



-

2

π


/


3


)





sin


(



ω
e



t

Δ

2



+

2

π


/


3


)



.






(
20
)







The following formula can be acquired according to the formulas (18) and (20):










I


=


[




i
α






i
β




]

=


[







i
b




sin


(



ω
e



t

Δ





1



+


ω
e



t

Δ





2




)



-


i
a




sin


(



ω
e



t

Δ





1



-

2


π
/
3



)





sin


(



ω
e



t

Δ





2



+

2


π
/
3



)











i
b




cos


(



ω
e



t

Δ





1



+


ω
e



t

Δ





2




)



-


i
a




cos


(



ω
e



t

Δ





1



-

2


π
/
3



)





sin


(



ω
e



t

Δ





2



+

2


π
/
3



)






]

.






(
21
)







Therefore, when i″a,i′b are known, that is, the a-phase current and the b-phase current are acquired by the acquiring module 300, the current vector at the time corresponding to the command voltage or the sampled voltage can be calculated by the synchronously calculating module 400 so as to allow the current vector and the voltage vector input to the flux observer to be at the same time, thus improving the accuracy of the angle output by the flux observer and allowing the motor to run normally.


In an embodiment of the present disclosure, the synchronously calculating module 400 may be used to perform the synchronous conversion on the two sampled currents and the command voltage or the sampled voltage in manner (2), i.e., by simultaneously converting one of the two sampled currents and the command voltage or the sampled voltage into a current and a voltage at a time corresponding to the other one of the two sampled currents.


In a specific embodiment of the present disclosure, the two sampled currents correspond to the c-phase current and the a-phase current. As shown in FIG. 4, t3−t2 represents a cycle of the PWM carrier wave (t3,t2, respectively, corresponds to a valley of the PWM carrier wave), a time tp represents a time corresponding to the command voltage or the sampled voltage (tp is a midpoint between t2 and t3, i.e., corresponds to a peak of the PWM carrier wave), a time t′p represents a time corresponding to the c-phase current, a time t″p represents a time corresponding to the a-phase current, tΔ1 represents a time difference between the time corresponding to the command voltage or the sampled voltage and the time corresponding to the c-phase current, and tΔ2 represents a time difference between the time corresponding to the c-phase current and the time corresponding to the a-phase current.


A current vector at the time tp is defined as follows:











I


=

I
·

e

j






θ
I





,




(
22
)








[




i
α






i
β




]

=

[





I

cos

θ

I







I

sin

θ

I




]


,




(
23
)







where custom-character represents the current vector at the time tp, I represents an amplitude of the current vector custom-character, θI represents an angle of the current vector at the time tp, and iα,iβ represent currents in a two-phase stationary coordinate system, respectively.


A voltage vector at the time tp is defined as follows:











V


=

V
·

e

j






θ
V





,




(
24
)








[




v
α






v
β




]

=

[





V

cos

θ

V






V





sin






θ
V





]


,




(
25
)







where custom-character represents the voltage vector at the time tp, V represents an amplitude of the voltage vector custom-character, θI represents an angle of the voltage vector at the time tp, and vα,vβ represent voltages in the two-phase stationary coordinate system, respectively.


A current vector at the time t′p is defined as follows:












I




=

I
·

e

j






θ
I






,




(
26
)








[




i
α







i
β





]

=

[





I

cos







θ
I









I

sin







θ
I






]


,




(
27
)







where custom-character″ represents the current vector at the time t′p, θ′I represents an angle of the current vector at the time t′p, and i′α,t′β represent currents at the time corresponding to the c-phase current in the two-phase stationary coordinate system, respectively.


A voltage vector at the time t′p is defined as follows:












V




=

V
·

e

j






θ
V






,




(
28
)








[




v
α







v
β





]

=

[





V

cos







θ
V








V





sin






θ
V






]


,




(
29
)







where custom-character′ represents the voltage vector at the time t′p, θ′v represents an angle of the voltage vector at the time t′p, and v′α,v′β represent voltages at the time corresponding to the c-phase current in the two-phase stationary coordinate system, respectively.


A current vector at the time t″p is defined as follows:












I




=

I
·

e

j






θ
I






,




(
30
)








[




i
α







i
β





]

=

[





I

cos







θ
I









I

sin







θ
I






]


,




(
31
)







where custom-character″ represents the current vector at the time t″p, θ″I represents an angle of the current vector at the time t″p, and t″α,i″β represent currents at the time corresponding to the a-phase current in the two-phase stationary coordinate system, respectively.


A voltage vector at the time t″p is defined as follows:












V




=

V
·

e

j






θ
V






,




(
32
)








[




v
α







v
β





]

=

[





V

cos







θ
V








V





sin






θ
V






]


,




(
33
)







where custom-character″ represents the voltage vector at the time t″p, θ″v represents an angle of the voltage vector at the time t″p, and v″α,v″β represent voltages at the time corresponding to the a-phase current in the two-phase stationary coordinate system, respectively.


It should be noted that a difference between the angle θI of the current vector at the time tp and the angle θ′I of the current vector at the time t′p is ωetΔ1, i.e., θ′IIetΔ1, a difference between the angle θv of the voltage vector at the time tp and the angle θ′v pf the voltage vector at the time t′p is ωetΔ1, i.e., θ′vvetΔ1, a difference between the angle θ′I of the current vector at the time t′p and the angle θ′I of the current vector at the time t″p is ωetΔ2, i.e., θ″I=θ′IetΔ2, and a difference between the angle θ′v of the voltage vector at the time t′p and the angle θ″v of the voltage vector at the time t″p is ωetΔ2, i.e., θ″vetΔ2, where ωe represents an electrical angular frequency.


Therefore, the voltage vector custom-character0 at the time t″p may be calculated by the synchronously calculating module 400 according to the voltage vector custom-character at the time tp with the following formulas:














V




=



V
·

e

j






θ
V











=



V
·

e

j


(


θ
V


+


ω
e



t

Δ

2




)










=



V
·

e

j


(


θ
V

+


ω
e



t

Δ

1



+


ω
e



t

Δ

2




)











=




V


·

e

j



ω
e



(


t

Δ

1


+

t

Δ

2



)






,







(
34
)












V


=


[




v
α






v
β




]

.






(
35
)







By processing the formulas (34) and (35), the voltage vector custom-character″ at the time t″p is acquired as:











V




=


[




v
α







v
β





]

=


[






v
α



cos


(


ω
e



(


t

Δ

1


+

t

Δ

2



)


)



-


v
β



sin


(


ω
e



(


t

Δ

1


+

t

Δ

2



)


)











v
β



cos


(


ω
e



(


t

Δ

1


+

t

Δ

2



)


)



+


v
α



sin


(


ω
e



(


t

Δ

1


+

t

Δ

2



)


)







]

.






(
36
)







When vα,vβ are known, i.e., the command voltage or the sampled voltage is acquired, the voltage vector custom-character″ at the time t″p can be calculated by the synchronously calculating module 400.


Further, it is known from the manner (1) that when the two sampled currents correspond to the c-phase current and the a-phase current, the current vector custom-character0 at the time t″p can be calculated by the synchronously calculating module 400 as:











I




=


[




i
α







i
β





]

=


[




i
a









i
c


-


i
a




cos


(



ω
e



t

Δ

2



-

2


π
/
3



)





sin


(



ω
e



t

Δ

2



-

2


π
/
3



)






]

.






(
37
)







When i″a,i′c are known, i.e., the c-phase current and the a-phase current are acquired by the sampling, the current vector custom-character″ at the time t″p can be calculated by the synchronously calculating module 400.


Therefore, after the synchronous conversion is performed by the synchronously calculating module 400 on the two sampled currents (the c-phase current and the a-phase current) and the command voltage or the sampled voltage, the voltage vector custom-character″ and the current vector custom-character″ at the time t″p, i.e., the voltage vector custom-character″ and the current vector custom-character″ at the time corresponding to the a-phase current, can be acquired, so as to allow the current vector and the voltage vector input to the flux observer to be at the same time, thus improving the accuracy of the angle output by the flux observer and allowing the motor to run normally.


In another embodiment of the present disclosure, the two sampled currents may also correspond to the c-phase current and the b-phase current, and the synchronously calculating module 400 performs similar processes to acquire the voltage vector custom-character″ at the time t″p as:











V




=


[




v
α







v
β





]

=


[






v
α



cos


(


ω
e



(


t

Δ

1


+

t

Δ

2



)


)



-


v
β



sin


(


ω
e



(


t

Δ

1


+

t

Δ

2



)


)











v
β



cos


(


ω
e



(


t

Δ

1


+

t

Δ

2



)


)



+


v
α



sin


(


ω
e



(


t

Δ

1


+

t

Δ

2



)


)







]

.






(
38
)







Moreover, the following formulas are acquired:













i
c


=



I






cos


(


θ
I


+

2


π
/
3



)









=



I


cos


(


θ
I


-


ω
e



t

Δ

2



+

2


π
/
3



)









=




I





cos






θ
I




cos


(



-

ω
e




t

Δ

2



+

2


π
/
3



)



-

I





sin






θ
I




sin


(



-

ω
e




t

Δ

2



+

2


π
/
3



)










=




I





cos






θ
I




cos


(



ω
e



t

Δ

2



-

2


π
/
3



)



+

I





sin






θ
I




sin


(



ω
e



t

Δ

2



-

2


π
/
3



)











=





i
α




cos


(



ω
e



t

Δ

2



-

2


π
/
3



)



+


i
β




sin


(



ω
e



t

Δ

2



-

2


π
/
3



)





,







(

39


-


1

)










i
b


=



I





cos






(


θ
I


-

2


π
/
3



)








=




I





cos






θ
I




cos


(

2


π
/
3


)



+

I





sin






θ
I




sin


(

2


π
/
3


)










=





i
α




cos


(

2


π
/
3


)



+


i
β





sin


(

2


π
/
3


)


.










(

39


-


2

)







By processing the formulas (39-1) and (39-2), it can be acquired that











i
β


=




i
c


-


i
α




cos


(



ω
e



t

Δ

2



-

2


π
/
3



)





sin


(



ω
e



t

Δ

2



-

2


π
/
3



)



=



i
b


-


i
α




cos


(

2


π
/
3


)





sin


(

2


π
/
3


)





.




(
40
)







Moreover, by processing the formula (40), it can be acquired that












i
c




(

2


π
/
3


)


-


i
α




cos


(



ω
e



t

Δ

2



-

2


π
/
3



)




sin


(

2


π
/
3


)




=





i
b




sin


(



ω
e



t

Δ

2



-

2


π
/
3



)



-


i
α




sin


(



ω
e



t

Δ

2



-

2


π
/
3



)




cos


(

2


π
/
3


)






i
α



=





i
b




sin


(



ω
e



t

Δ

2



-

2


π
/
3



)



-


i
c




sin


(

2


π
/
3


)





sin


(



ω
e



t

Δ

2



-

4


π
/
3



)



.






(
41
)







In addition, by processing the formulas (39-1) and (39-2), it can be further acquired that











i
α


=




i
c


-


i
β




sin


(



ω
e



t

Δ

2



-

2


π
/
3



)





cos


(



ω
e



t

Δ

2



-

2


π
/
3



)



=



i
b


-


i
β




sin


(

2


π
/
3


)





cos


(

2


π
/
3


)





.




(
42
)







Moreover, by processing the formula (42), it can be acquired that












i
c







cos






(

2

π


/


3

)


-


i
β







sin






(



ω
e



t

Δ

2



-

2

π


/


3


)






cos






(

2

π


/


3

)



=





i
b







cos






(



ω
e



t

Δ

2



-

2

π


/


3


)


-


i
β







cos






(



ω
e



t

Δ

2



-

2

π


/


3


)






sin






(

2

π


/


3

)





i
β



=





i
c







cos






(

2

π


/


3

)


-


i
b







cos






(



ω
e



t

Δ

2



-

2

π


/


3


)




sin






(



ω
e



t

Δ

2



-

4

π


/


3


)



.






(
43
)







The following formula can be acquired according to the formulas (41) and (43):












=


[




i
α







i
β





]

=


[







i
b







sin






(



ω
e



t

Δ





2



-

2

π


/


3


)


-


i
c







sin






(

2

π


/


3

)




sin






(



ω
e



t

Δ





2



-

4

π


/


3


)











i
c







cos






(

2

π


/


3

)


-


i
b







cos






(



ω
e



t

Δ





2



-

2

π


/


3


)




sin






(



ω
e



t

Δ





2



-

4

π


/


3


)






]

.






(
44
)







Therefore, when i′c,i″b are known, i.e., the c-phase current and the b-phase current are acquired by the acquiring module 300, the voltage vector custom-character″ and the current vector custom-character″ at the time t″p, i.e., the voltage vector custom-character″ and the current vector custom-characterI″ at the time corresponding to the b-phase current, can be acquired by the synchronously calculating module 400, so as to allow the current vector and the voltage vector input to the flux observer to be at the same time, thus improving the accuracy of the angle output by the flux observer and allowing the motor to run normally.


The two sampled currents may also correspond to the a-phase current and the b-phase current, and the synchronously calculating module 400 may perform similar processes to acquire that












=


[




v
α







v
β





]

=


[






v
α






cos






(


ω
e



(


t

Δ

1


+

t

Δ

2



)


)


-


v

β







sin






(


ω
e



(


t

Δ

1


+

t

Δ

2



)


)










v
β






cos






(


ω
e



(


t

Δ

1


+

t

Δ

2



)


)


+


v
α






sin






(


ω
e



(


t

Δ

1


+

t

Δ

2



)


)






]

.






(
45
)







Moreover, it can be acquired that













i
b


=



I





cos






(


θ
I


-

2

π


/


3


)








=



I





cos






(


θ
I


-


ω
e



t

Δ

2



-

2

π


/


3


)








=




I





cos






θ
I







cos






(



ω
e



t

Δ

2



+

2

π


/


3


)


+

I





sin






θ
I







sin






(



ω
e



t

Δ

2



+

2

π


/


3


)










=





i
α







cos






(



ω
e



t

Δ

2



+

2

π


/


3


)


+


i
β







sin






(



ω
e



t

Δ

2



+

2

π


/


3


)




,







(

46


-


1

)











i
a


=



I





cos






θ
I









=



i
α






.




(

46


-


2

)







Further, by processing the formulas (46-1) and (46-2), it can be acquired that












=


[




i
α







i
β





]

=


[




i
a









i
b


-


i
a







cos






(



ω
e



t

Δ

2



+

2

π


/


3


)




sin






(



ω
e



t

Δ

2



+

2

π


/


3


)






]

.






(
47
)







Therefore, when i″a,i′b are known, i.e., the a-phase current and the b-phase current are acquired by the acquiring module 300, the voltage vector custom-character″ and the current vector custom-character″ at the time t″p, i.e., the voltage vector custom-character″ and the current vector custom-character″ at the time corresponding to the a-phase current, can be calculated by the synchronously calculating module 400, so as to allow the current vector and the voltage vector input to the flux observer to be at the same time, thus improving the accuracy of the angle output by the flux observer and allowing the motor to run normally.


In an embodiment of the present disclosure, the synchronously calculating module 400 may perform the synchronous conversion on the two sampled currents and the command voltage or the sampled voltage in a manner (3), i.e., by simultaneously converting the two sampled currents and the command voltage or the sampled voltage into two currents and a voltage at a random time in each PWM cycle.


In a specific embodiment of the present disclosure, the two sampled currents correspond to the c-phase current and the a-phase current. As shown in FIG. 5, t3−t2 represents a cycle of the PWM carrier wave (t3,t2, respectively, corresponds to a valley of the PWM carrier wave), a time tp represents a time corresponding to the command voltage or the sampled voltage (tp is a midpoint between t2 and t3, i.e., corresponds to a peak of the PWM carrier wave), a time t′p represents a time corresponding to the c-phase current, a time t″p represents a time corresponding to the a-phase current, a time t′″p represents a random time in a PWM cycle, t′Δ1 represents a time difference between the time corresponding to the command voltage or the sampled voltage and the time corresponding to the c-phase current, tΔ2 represents a time difference between the time corresponding to the c-phase current and the time corresponding to the a-phase current, and tΔ3, represents a time difference between the time corresponding to the a-phase current and the random time.


A current vector at the time tp is defined as follows:










=

I
·

e

j






θ
I





,




(
48
)








[




i
α






i
β




]

=

[




I





cos






θ
I







I





sin






θ
I





]


,




(
49
)







where custom-character represents the current vector at the time tp, θ′I represents an amplitude of the current vector custom-character, θI represents an angle of the current vector at the time tp, and iα,iβ represent currents in a two-phase stationary coordinate system, respectively.


A voltage vector at the time tp is defined as follows:










=

V
·

e

j






θ
V





,




(
50
)








[




v
α






v
β




]

=

[




V





cos






θ
V







V





sin






θ
V





]


,




(
51
)







where custom-character represents the voltage vector at the time tp, V represents an amplitude of the voltage vector custom-character, θV represents an angle of the voltage vector at the time tp , and vα,vβ represent voltages in the two-phase stationary coordinate system, respectively.


A current vector at the time t′p is defined as follows:










=

I
·

e

j






θ
I






,




(
52
)








[




i
α







i
β





]

=

[




I





cos






θ
I








I





sin






θ
I






]


,




(
53
)







where custom-character′ represents the current vector at the time t′p, θ′I represents an angle of the current vector at the time t′p, and iα,i′p represent currents at the time corresponding to the c-phase current in the two-phase stationary coordinate system, respectively.


A voltage vector at the time t′p is defined as follows:













=

V
·

e

j






θ
V






,




(
54
)








[




v
α







v
β





]

=

[




V





cos






θ
V








V





sin






θ
V






]


,




(
55
)







where custom-character′ represents the voltage vector at the time tp, θ′V represents an angle of the voltage vector at the time t′p, and v′α,v′β represent voltages at the time corresponding to the c-phase current in the two-phase stationary coordinate system, respectively.


A current vector at the time t″p is defined as follows:













=

I
·

e

j






θ
I






,




(
56
)








[




i
α







i
β





]

=

[




I





cos






θ
I








I





sin






θ
I






]


,




(
57
)







where custom-character″ represents the current vector at the time t″p, θ″I represents an angle of the current vector at the time t″p, and i″α,i″β represent currents at the time corresponding to the a-phase current in the two-phase stationary coordinate system, respectively.


A voltage vector at the time t″p is defined as follows:













=

V
·

e

j






θ
V






,




(
58
)








[




v
α







v
β





]

=

[




V





cos






θ
V








V





sin






θ
V






]


,




(
59
)







where custom-character″ represents the voltage vector at the time t″p, θ″v represents an angle of the voltage vector at the time t″p, and v″α, v″β represent voltages at the time corresponding to the a-phase current in the two-phase stationary coordinate system, respectively.


A current vector at the time t′″p is defined as follows:











′′′

=

I
·

e

j






θ
I
′′′





,




(
60
)








[




i
α
′′′






i
β
′′′




]

=

[




I





cos






θ
I
′′′







I





sin






θ
I
′′′





]


,




(
61
)







where custom-character′″ represents the current vector at the time t′″p, θ′″I represents an angle of the current vector at the time t′″p, and i′″α,i′″β represent currents at the random time in the two-phase stationary coordinate system, respectively.


A voltage vector at the time t′″p is defined as follows:











′′′

=

V
·

e

j






θ
I
′′′





,




(
62
)








[




v
a
′′′






v
β
′′′




]

=

[




V





cos






θ
V
′′′







V





sin






θ
V
′′′





]


,




(
63
)







where custom-character′″ represents the voltage vector at the time t′″p, θ′″V represents an angle of the voltage vector at the time t′″p, and v′″α,v′″β represent voltages at the random time in the two-phase stationary coordinate system, respectively.


It should be noted that a difference between the angle θI of the current vector at the time tp and the angle θ′I of the current vector at the time t′p is ωetΔ1, i.e., θ′IIetΔ1, a difference between the angle θV of the voltage vector at the time tp and the angle θV of the voltage vector at the time t′p is ωetΔ1, i.e.,θ′VVetΔ1, a difference between the angle θ′I of the current vector at the time t′p and the angle θ″I of the current vector at the time t″p is ωetΔ2, i.e., θ″I=θ′IetΔ2, a difference between the angle θ′V BV of the voltage vector at the time t′p and the angle θ″V of the voltage vector at the time t″p is ωetΔ2, i.e., θ″V=θ′VetΔ2, a difference between the angle θ″I of the current vector at the time t″p and the angle θ″I of the current vector at the time t′″p is ωetΔ3, i.e., θ′″I=θ″IetΔ3, and a difference between the angle θ″V of the voltage vector at the time t″p and the angle θ′″V of the voltage vector at the time t′″p is ωetΔ3, i.e., θ′″V=θ″VetΔ3, where ωe represents an electrical angular frequency.


Therefore, the voltage vector custom-character′″ at the time t′″p may be calculated by the synchronously calculating module 400 according to the following formulas:













′′′

=



=

V
·

e

j


(


θ
V


+


ω
e



t

Δ





2



+


ω
e



t

Δ





3




)











=









(
64
)







V


=


[




v
α






v
β




]

.





(
65
)







By processing the formulas (64) and (65), the voltage vector custom-character′″ at the time t′″p is acquired as:










′′′

=


[




v
α
′′′






v
β
′′′




]

=




[






v
α






cos






(


ω
e



(


t

Δ

1


+

t

Δ

2


+

t

Δ

3



)


)


-


v
β






sin






(


ω
e



(


t

Δ

1


+

t

Δ

2


+

t

Δ

3



)


)










v
β






cos






(


ω
e



(


t

Δ

1


+

t

Δ

2


+

t

Δ

3



)


)


+


v
α






sin






(


ω
e



(


t

Δ

1


+

t

Δ

2


+

t

Δ

3



)


)






]

.







(
66
)







When vα,vβ are known, i.e., the command voltage or the sampled voltage is acquired by the acquiring module 300, the voltage vector custom-character′″ at the time t′″p can be calculated by the synchronously calculating module 400.


Further, it is known from the manner (1) that when the two sampled currents correspond to the c-phase current and the a-phase current, the current vector custom-characterI″ at the time t″p can be calculated by the synchronously calculating module 400 as:












=


[




i
α







i
β





]

=


[




i
a









i
c


-


i
a







cos






(



ω
e



t

Δ





2



-

2

π


/


3


)




sin






(



ω
e



t

Δ





2



-

2

π


/


3


)






]

.






(
67
)







The current vector custom-character′″ at the time t′″p can be calculated according to the current vector custom-character″ at the time t″p with the following formula:













′′′

=




I
·

e

j






θ
1
′′′




=


I
·

e

j


(


θ
1


+


ω
e



t

Δ





3




)




=



I




·

e

j






ω
e



t

Δ





3













=




[




i
α
′′′






i
β
′′′




]

=













[






i
a







cos






(


ω
e



t

Δ





3



)


-





i
c


-


i
a







cos






(



ω
e



t

Δ





2



-

2

π


/


3


)




sin






(



ω
e



t

Δ





2



-

2

π


/


3


)



·
sin







(


ω
e



t

Δ





3



)













i
c


-


i
a







cos






(



ω
e



t

Δ





2



-

2

π


/


3


)




sin






(



ω
e



t

Δ





2



-

2

π


/


3


)



·
cos







(


ω
e



t

Δ





3



)


+


i
a







sin






(


ω
e



t

Δ





3



)






]

.









(
68
)







When i″a,i′c are known, i.e., the c-phase current and the a-phase current are acquired by the acquiring module 300, the current vector custom-character′″ at the time t′″p can be calculated by the synchronously calculating module 400.


Therefore, after the synchronous conversion is performed by the synchronously calculating module 400 on the two sampled currents (the c-phase current and the a-phase current) and the command voltage or the sampled voltage, the voltage vector custom-character′″ and the current vector custom-character′″ at the time t′″p, i.e., the voltage vector custom-character′″ and the current vector custom-character′″ at the random time of each PWM cycle, can be acquired, so as to allow the current vector and the voltage vector input to the flux observer to be at the same time, thus improving the accuracy of the angle output by the flux observer and allowing the motor to run normally.


In another embodiment of the present disclosure, the two sampled currents may also correspond to the c-phase current and the b-phase current, and the synchronously calculating module 400 may perform similar processes to acquire the voltage vector custom-character′″ at the time t′″p as:










′′′

=


[




v
α
′′′






v
β
′′′




]

=




[






v
α






cos






(


ω
e



(


t

Δ





1


+

t

Δ





2


+

t

Δ





3



)


)


-


v
β






sin






(


ω
e



(


t

Δ





1


+

t

Δ





2


+

t

Δ





3



)


)










v
β






cos






(


ω
e



(


t

Δ





1


+

t

Δ





2


+

t

Δ





3



)


)


+


v
α






sin






(


ω
e



(


t

Δ





1


+

t

Δ





2


+

t

Δ





3



)


)






]

,







(
69
)







and the current vector custom-character′″ at the time t′″p as:










′′′

=


[




i
α
′′′






i
β
′′′




]

=


[









i
b







sin






(



ω
e



t

Δ





2



-

2

π


/


3


)


-


i
c







sin






(

2

π


/


3

)




sin






(



ω
e



t

Δ





2



-

4


π
/
3



)




cos






(


ω
e



t

Δ





3



)


-











i
c







cos






(

2

π


/


3

)


-


i
b







cos






(



ω
e



t

Δ





2



-

2

π


/


3


)




sin






(



ω
e



t

Δ





2



-

4

π


/


3


)



·
sin







(


ω
e



t

Δ





3



)













i
c







cos






(

2

π


/


3

)


-


i
b







cos






(



ω
e



t

Δ





2



-

2

π


/


3


)




sin






(



ω
e



t

Δ





2



-

4

π


/


3


)



·
cos







(


ω
e



t

Δ





3



)


+










i
b







sin






(



ω
e



t

Δ





2



-

2

π


/


3


)


-


i
c







sin






(

2

π


/


3

)




sin






(



ω
e



t

Δ





2



-

4

π


/


3


)




sin






(


ω
e



t

Δ





3



)





]

.






(
70
)







Therefore, after the synchronous conversion is performed by the synchronously calculating module 400 on the two sampled currents (the c-phase current and the b-phase current), and the command voltage or the sampled voltage, the voltage vector custom-character′″ and the current vector custom-character′″ at the time t′″p, i.e., the voltage vector custom-character′″ and the current vector custom-character′″ at the random time of each PWM cycle, can be acquired, so as to allow the current vector and the voltage vector input to the flux observer to be at the same time, thus improving the accuracy of the angle output by the flux observer and allowing the motor to run normally.


The two sampled currents may also correspond to the a-phase current and the b-phase current, and the synchronously calculating module 400 may perform similar processes to acquire the voltage vector custom-character′″ at the time t′″p as: as:










′′′

=


[




v
α
′′′






v
β
′′′




]

=




[






v
α






cos






(


ω
e



(


t

Δ





1


+

t

Δ





2


+

t

Δ





3



)


)


-


v
β






sin






(


ω
e



(


t

Δ





1


+

t

Δ





2


+

t

Δ





3



)


)










v
β






cos






(


ω
e



(


t

Δ





1


+

t

Δ





2


+

t

Δ





3



)


)


+


v
α






sin






(


ω
e



(


t

Δ





1


+

t

Δ





2


+

t

Δ





3



)


)






]

,







(
71
)







and the current vector custom-character′″ at the time t′″p as:










m

=


[




i
α
′′′






i
β
′′′




]

=




[






i
a







cos






(


ω
e



t

Δ





3



)


-





i
b


-


i
a







cos






(



ω
e



t

Δ





2



+

2

π


/


3


)




sin






(



ω
e



t

Δ





2



+

2

π


/


3


)



·
sin







(


ω
e



t

Δ





3



)













i
b


-


i
a







cos






(



ω
e



t

Δ





2



+

2

π


/


3


)




sin






(


ω
e






t

Δ





2


+

2

π


/


3


)





·
cos







(


ω
e



t

Δ





3



)


+


i
a







sin






(


ω
e



t

Δ





3



)






]

.







(
72
)







Therefore, after the synchronous conversion is performed by the synchronously calculating module 400 on the two sampled currents (the a-phase current and the b-phase current), and the command voltage or the sampled voltage, the voltage vector custom-character′″ and the current vector custom-character′″ at the time t′″p, i.e., the voltage vector custom-character′″ and the current vector custom-character′″ at the random time of each PWM cycle, can be acquired, so as to allow the current vector and the voltage vector input to the flux observer to be at the same time, thus improving the accuracy of the angle output by the flux observer and allowing the motor to run normally.


With such a device for synchronously calculating a reconstructed phase current and a phase voltage for a motor driver according to the embodiments of the present disclosure, the current reconstructing module is configured to perform phase current reconstruction according to the DC bus current sampled by the current sampling module to acquire the three-phase current of the motor. The acquiring module is configured to acquire two sampled currents of each PWM cycle as the two-phase current of the motor and acquire the command voltage or the sampled voltage during the phase current reconstruction. The synchronously calculating module is configured to perform synchronous conversion on the two sampled currents and the command voltage or the sampled voltage to allow the current vector and the voltage vector, that are input to the flux observer, to keep synchronous. Therefore, the device may improve the accuracy of the angle output by the flux observer and allow the motor to run normally.


Corresponding to the above embodiments, the present disclosure further provides a motor driving system.


The motor driving system according to the embodiments of the present disclosure includes a device for synchronously calculating a reconstructed phase current and a phase voltage for a motor driver provided in the above embodiments of the present disclosure, specific embodiments of the motor driving system may refer to the embodiments described above, which are not described herein again to avoid redundancy.


The motor driving system according to the embodiments of the present disclosure may improve the accuracy of the angle output by the flux observer and allow the motor to run normally.


In the specification, it is to be understood that terms such as “central”, “longitudinal”, “lateral”, “length”, “width”, “thickness”, “upper”, “lower”, “front”, “rear”, “left”, “right”, “vertical”, “horizontal”, “top”, “bottom”, “inner”, “outer”, “clockwise”, “counterclockwise”, “axial”, “radial” and “circumferential” should be construed to refer to the orientation as then described or as shown in the drawings under discussion. These relative terms are for convenience of description and do not require that the present disclosure be constructed or operated in a particular orientation, and thus shall not be construed to limit the present disclosure.


In addition, terms such as “first” and “second” are used herein for purposes of description and are not intended to indicate or imply relative importance or significance or to imply the number of indicated technical features. Thus, the feature defined with “first” and “second” may include one or more of this feature. In the description of the present disclosure, unless specified otherwise, “a plurality of” means two or more than two.


In the present disclosure, unless specified or limited otherwise, the terms “mounted”, “connected”, “coupled”, “fixed” and the like are used broadly, and may be, for example, fixed connections, detachable connections, or integral connections; may also be mechanical or electrical connections; may also be direct connections or indirect connections via intervening structures; may also be inner communications of two elements, which can be understood by those skilled in the art according to specific situations.


In the description, unless specified or limited otherwise, a structure in which a first feature is “on” or “below” a second feature may include an embodiment in which the first feature is in direct contact with the second feature, and may also include an embodiment in which the first feature and the second feature are not in direct contact with each other, but are contacted via an additional feature formed therebetween. Furthermore, a first feature “on”, “above” or “on top of” a second feature may include an embodiment in which the first feature is right or obliquely “on”, “above” or “on top of” the second feature, or just means that the first feature is at a height higher than that of the second feature; while a first feature “below”, “under” or “on bottom of” a second feature may include an embodiment in which the first feature is right or obliquely “below”, “under” or “on bottom of” the second feature, or just means that the first feature is at a height lower than that of the second feature.


Reference throughout this specification to “an embodiment”, “some embodiments”, “an example”, “a specific example”, or “some examples” means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present disclosure. Thus, the appearances of above phrases in various places throughout this specification are not necessarily referring to the same embodiment or example of the present disclosure. Furthermore, the particular features, structures, materials, or characteristics may be combined in any suitable manner in one or more embodiments or examples. In addition, different embodiments or examples described in the specification, as well as features of embodiments or examples, without conflicting, may be combined by one skilled in the art.


Although explanatory embodiments have been shown and described, it would be appreciated by those skilled in the art that the above embodiments cannot be construed to limit the present disclosure, and changes, alternatives, and modifications can be made in the embodiments without departing from scope of the present disclosure.


It should be noted that, as used herein, the terms “including,” “comprising,” or any other variations thereof are intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus that includes a series of elements includes not only those elements, but other elements as well that have not expressly listed, or further includes elements inherent to such processes, methods, articles, or apparatuses. Without further limitations, an element modified by the phrase “including a . . . ” does not exclude the existence of additional identical elements in the process, method, article, or apparatus that includes this element.


Sequence numbers applied to the foregoing embodiments according to the present disclosure are merely for description purposes and are not intended to indicate the advantages and disadvantages of these embodiments.


Through the above description of the embodiments, those skilled in the art can clearly understand that the above-mentioned method embodiments can be implemented by means of software plus a necessary universal hardware platform. Of course, they can also be implemented by hardware, but in many cases the former will be better. Based on such an understanding, the essential technical solution of this disclosure, or the portion that contributes to the prior art may be embodied as software products. Computer software products can be stored in a storage medium (such as a ROM/RAM, a magnetic disk, or an optical disc), and can include multiple instructions that when executed cause a device (e.g., a device including one or more processors and memory), to execute the methods in accordance with various embodiments.


The foregoing merely illustrates some exemplary embodiments of this disclosure and is not intended as limiting the patentable scope of the disclosure. Any equivalent configurational or flow transformations made taking advantage of the foregoing description and accompanying drawings of this disclosure, or any direct or indirect applications in other related technical fields will all be compassed within the patentable scope of this disclosure.

Claims
  • 1. A method, comprising: sampling a direct current (DC) bus current and performing phase current reconstruction according to the DC bus current to acquire a three-phase current of a motor;during the phase current reconstruction, acquiring two sampled currents of each pulse width modulation (PWM) cycle as a two-phase current of the motor and acquiring a command voltage or a sampled voltage; andperforming synchronous conversion on the two sampled currents and the command voltage or the sampled voltage to keep a current vector and a voltage vector synchronous, wherein the current vector and the voltage vector are input to a flux observer.
  • 2. The method of claim 1, wherein performing the synchronous conversion on the two sampled currents and the command voltage or the sampled voltage includes: in accordance with a determination that a first criterion is satisfied, simultaneously converting the two sampled currents into two currents at a time corresponding to the command voltage or the sampled voltage;in accordance with a determination that a second criterion is satisfied, simultaneously converting one current of the two sampled currents and the command voltage or the sampled voltage into a current and a voltage at a time corresponding to the other current of the two sampled currents; andin accordance with a determination that a third criterion is satisfied, simultaneously converting the two sampled currents and the command voltage or the sampled voltage into two currents and a voltage at a random time in each PWM cycle.
  • 3. The method of claim 2, wherein the first criterion is satisfied if the two sampled currents correspond to a c-phase current and an a-phase current, and the c-phase current and the a-phase current are synchronously converted according to the following formula:
  • 4. The method of claim 2, wherein the second criterion is satisfied if the two sampled currents correspond to a c-phase current and an a-phase current, and the command voltage or the sampled voltage and the c-phase current and the a-phase current are synchronously converted according to the following formulas:
  • 5. The method of claim 2, wherein the third criterion is satisfied if the two sampled currents correspond to a c-phase current and an a-phase current, and the command voltage or the sampled voltage and the c-phase current and the a-phase current are synchronously converted according to the following formulas:
  • 6. A non-transitory computer-readable storage medium storing one or more computer programs comprising instructions that, when executed by an electronic device, cause the electronic device to: sample a direct current (DC) bus current and performing phase current reconstruction according to the DC bus current to acquire a three-phase current of a motor;during the phase current reconstruction, acquire two sampled currents of each pulse width modulation (PWM) cycle as a two-phase current of the motor and acquiring a command voltage or a sampled voltage; andperform synchronous conversion on the two sampled currents and the command voltage or the sampled voltage to keep a current vector and a voltage vector synchronous, wherein the current vector and the voltage vector are input to a flux observer.
  • 7. The computer-readable storage medium of claim 6, wherein performing the synchronous conversion on the two sampled currents and the command voltage or the sampled voltage includes: n accordance with a determination that a first criterion is satisfied, simultaneously converting the two sampled currents into two currents at a time corresponding to the command voltage or the sampled voltage;in accordance with a determination that a second criterion is satisfied, simultaneously converting one current of the two sampled currents and the command voltage or the sampled voltage into a current and a voltage at a time corresponding to the other current of the two sampled currents; andin accordance with a determination that a third criterion is satisfied, simultaneously converting the two sampled currents and the command voltage or the sampled voltage into two currents and a voltage at a random time in each PWM cycle.
  • 8. The computer readable storage medium of claim 7, wherein the first criterion is satisfied if the two sampled currents correspond to a c-phase current and an a-phase current, and the c-phase current and the a-phase current are synchronously converted according to the following formula:
  • 9. The computer readable storage medium of claim 7, wherein the second criterion is satisfied if the two sampled currents correspond to a c-phase current and an a-phase current, and the command voltage or the sampled voltage and the c-phase current and the a-phase current are synchronously converted according to the following formulas:
  • 10. The computer readable storage medium of claim 7, wherein the third criterion is satisfied if the two sampled currents correspond to a c-phase current and an a-phase current, and the command voltage or the sampled voltage and the c-phase current and the a-phase current are synchronously converted according to the following formulas:
  • 11. A motor driving system including one or more processors, memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for: sampling a direct current (DC) bus current and performing phase current reconstruction according to the DC bus current to acquire a three-phase current of a motor;during the phase current reconstruction, acquiring two sampled currents of each pulse width modulation (PWM) cycle as a two-phase current of the motor and acquiring a command voltage or a sampled voltage;performing synchronous conversion on the two sampled currents and the command voltage or the sampled voltage to keep a current vector and a voltage vector synchronous, wherein the current vector and the voltage vector are input to a flux observer.
  • 12. The motor driving system of claim 11, wherein performing the synchronous conversion on the two sampled currents and the command voltage or the sampled voltage includes: in accordance with a determination that a first criterion is satisfied, simultaneously converting the two sampled currents into two currents at a time corresponding to the command voltage or the sampled voltage;in accordance with a determination that a second criterion is satisfied, simultaneously converting one current of the two sampled currents and the command voltage or the sampled voltage into a current and a voltage at a time corresponding to the other current of the two sampled currents; andin accordance with a determination that a third criterion is satisfied, simultaneously converting the two sampled currents and the command voltage or the sampled voltage into two currents and a voltage at a random time in each PWM cycle.
  • 13. The motor driving system of claim 12, wherein the first criterion is satisfied if the two sampled currents correspond to a c-phase current and an a-phase current, and the c-phase current and the a-phase current are synchronously converted on according to the following formula:
  • 14. The motor driving system of claim 12, wherein the second criterion is satisfied if the two sampled currents correspond to a c-phase current and an a-phase current, and the command voltage or the sampled voltage and the c-phase current and the a-phase current are synchronously converted according to the following formulas:
  • 15. The motor driving system of claim 12, wherein the third criterion is satisfied if the two sampled currents correspond to a c-phase current and an a-phase current, and the command voltage or the sampled voltage and the c-phase current and the a-phase current are synchronously converted according to the following formulas:
Priority Claims (1)
Number Date Country Kind
201711146572.0 Nov 2017 CN national
CROSS-REFERENCE TO RELATED APPLICATION

This application is a continuation of PCT International Application No. PCT/CN2018/108563, filed Sep. 29, 2018, which claims priority to and benefits of Chinese Patent Application Serial No. 201711146572.0, filed Nov. 17, 2017, both of which are incorporated herein by reference in their entireties.

Continuations (1)
Number Date Country
Parent PCT/CN2018/108563 Sep 2018 US
Child 15930375 US