[go: up one dir, main page]

TWI820894B - Motor driving system and torque distribution method - Google Patents

Motor driving system and torque distribution method Download PDF

Info

Publication number
TWI820894B
TWI820894B TW111133664A TW111133664A TWI820894B TW I820894 B TWI820894 B TW I820894B TW 111133664 A TW111133664 A TW 111133664A TW 111133664 A TW111133664 A TW 111133664A TW I820894 B TWI820894 B TW I820894B
Authority
TW
Taiwan
Prior art keywords
current
torque
command
motor
characteristic table
Prior art date
Application number
TW111133664A
Other languages
Chinese (zh)
Other versions
TW202411089A (en
Inventor
蕭稚宏
辜重興
邱上維
楊智勝
Original Assignee
台達電子工業股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 台達電子工業股份有限公司 filed Critical 台達電子工業股份有限公司
Priority to TW111133664A priority Critical patent/TWI820894B/en
Application granted granted Critical
Publication of TWI820894B publication Critical patent/TWI820894B/en
Publication of TW202411089A publication Critical patent/TW202411089A/en

Links

Images

Landscapes

  • Control Of Ac Motors In General (AREA)
  • Control Of Multiple Motors (AREA)
  • Control Of Electric Motors In General (AREA)

Abstract

A motor driving system is disclosed. The motor driving system comprises a driving circuit and a controller. The driving circuit supplies driving current to a motor. The controller comprises a current command generation unit. The current command generation unit outputs a current command which corresponds to a torque command received by the controller and the state of the motor. The current command includes a d-axis and/or a q-axis current command. The controller converts the driving current into d-axis and/or q-axis current, and controls the driving circuit so that the driving current approaches the d-axis and/or q-axis current corresponding to the current command. The current command generation unit includes a maximum torque per amp table and a zero-recovery characteristic table. When the torque command is a positive torque output, the current command generating unit outputs the current command according to the maximum torque per ampere table, and when the torque command is a negative torque output, the current command generating unit outputs the current command according to the zero-recovery characteristic table.

Description

電動機驅動系統及扭矩分配方法Electric motor drive system and torque distribution method

本案屬於一種電動機領域,尤指一種電動機驅動系統及扭矩分配方法。 This case belongs to the field of electric motors, especially an electric motor drive system and a torque distribution method.

電動機驅動系統通常包含直流電源端、驅動電路及電動機,當電動機通電運轉過程中,於直流電源端、驅動電路及電動機三者之間可進行雙向的供給電能和接收電能。更進一步說明,當驅動電路依據為正扭輸出的扭矩命令驅動電動機運作時,電動機將產生正扭矩來推動機械負載進行正轉;反之,當驅動電路依據為負扭輸出的扭矩命令驅動電動機運作時,電動機將產生負扭矩去反抗當下機械負載之正扭矩,且一般而言,當電動機將產生負扭矩時,電動機亦產生再生回收能量,該再生回收能量可被回收利用,例如在動機驅動系統之直流電源端由二次電池構成的情況下,該再生回收能量可回收而對電動機驅動系統的二次電池進行充電。 The motor drive system usually includes a DC power supply end, a drive circuit and a motor. When the motor is powered on and running, power can be supplied and received in both directions between the DC power supply end, the drive circuit and the motor. To further explain, when the drive circuit drives the motor to operate based on the torque command with positive torque output, the motor will generate positive torque to push the mechanical load to rotate forward; conversely, when the drive circuit drives the motor to operate based on the torque command with negative torque output , the motor will generate negative torque to resist the positive torque of the current mechanical load, and generally speaking, when the motor will generate negative torque, the motor will also generate regenerative energy, which can be recycled, such as in a motor drive system. When the DC power supply terminal is composed of a secondary battery, the regenerated energy can be recovered to charge the secondary battery of the motor drive system.

然而在特殊條件下,若電動機產生的再生回收能量無法有效回收,將使電動機驅動系統存在缺失。例如將電動機運用於高速鐵路列車,若列車高速進行中煞車且遭遇市電中斷,此時將造成驅動電路回收至直流電源端的再生回收能量無處消耗,造成驅動電路損壞,或是將再生回收能量推入電網造成孤島效應危害。又例如電動機運用於電動車,若電動車充滿電源行駛至高山上時,由於高山上低溫造成電動機的二次電池的能力減半,因此當下山時頻繁使用煞車,將使得二次電池無法接收再生回收能量,導致電動車只能轉而使用機械式耗損的煞車方式,如此一來,電動車可能過熱或無法有效消耗再生回收能量。再例如電動機運用於插電式混合動力車(PLUG-IN HYBRID ELECTRIC VEHICLE,PHEV)或是燃料電池車時,由於主要電源供給來源為內燃機或燃料電池,故車內的二次電池的儲能能力較小,進而導致二次電池可能無法瞬間回收較大再生回收能量,造成無法使用電動機煞車,雖可加入超級電容與煞車電阻的搭配組合來進行電動機煞車,卻也導致車輛的內部可利用空間減少,同時增加了車輛成本,更造成車輛之重量變重而影響續航力。 However, under special conditions, if the regenerative energy generated by the motor cannot be effectively recovered, there will be defects in the motor drive system. For example, when an electric motor is used in a high-speed railway train, if the train brakes while running at high speed and encounters a power interruption, the regenerative energy recovered from the drive circuit to the DC power supply end will have nowhere to be consumed, causing damage to the drive circuit, or pushing the regenerative energy out of the system. Integration into the power grid will cause island effect hazards. Another example is when an electric motor is used in an electric vehicle. If the electric vehicle is fully charged and driven up a mountain, the capacity of the motor's secondary battery will be halved due to the low temperature on the mountain. Therefore, frequent use of the brakes when going down the mountain will prevent the secondary battery from being regenerated. Energy, causing electric vehicles to switch to mechanical braking methods. As a result, electric vehicles may overheat or be unable to effectively consume regenerative energy. For another example, when electric motors are used in plug-in hybrid vehicles (PLUG-IN HYBRID ELECTRIC VEHICLE, PHEV) or fuel cell vehicles, since the main power supply source is the internal combustion engine or fuel cell, the energy storage capacity of the secondary battery in the vehicle Smaller, which means the secondary battery may not be able to instantly recycle the larger regeneration energy, making it impossible to use motor braking. Although a combination of supercapacitors and braking resistors can be added for motor braking, this also results in a reduction in the available internal space of the vehicle. , while increasing the cost of the vehicle, causing the weight of the vehicle to become heavier and affecting the endurance of the vehicle.

因此,如何發展一種克服上述缺失之電動機驅動系統及扭矩分配方法,實為目前最為迫切需解決的課題。 Therefore, how to develop a motor drive system and torque distribution method that overcomes the above deficiencies is currently the most urgent issue to be solved.

本案之目的在於提供一種電動機驅動系統使其電動機不會有再生回收能量來回收,電動機驅動系統之控制器根據扭矩命令及電動機的電動機狀態配合控制器之零回收特性表對應輸出電流命令,以控制電動機之運作,進而 讓電動機產生的再生回收能量完全由電動機的能量損耗抑制,藉此不但增加電動機制動應用情境而提升制動程序的可靠性,更減少機械制動器的磨損與過多熱能累積,此外,也避免再生回收能量對電動機驅動系統造成損壞,也因電動機驅動系統無須額外設置其他裝置來消耗再生回收能量而使電動機驅動系統的空間利用率增加並減少生產成本。 The purpose of this case is to provide a motor drive system so that the motor does not regenerate and recover energy. The controller of the motor drive system cooperates with the zero recovery characteristic table of the controller to correspond to the output current command according to the torque command and the motor state of the motor to control The operation of the electric motor, and then Let the regenerative energy generated by the motor be completely suppressed by the energy loss of the motor. This not only increases the application scenarios of the motor and improves the reliability of the braking process, but also reduces the wear and excessive heat energy accumulation of the mechanical brake. In addition, it also avoids the impact of regenerative energy on the motor. The electric motor drive system causes damage, but also because the electric motor drive system does not need to set up other additional devices to consume regenerated energy, the space utilization of the electric motor drive system is increased and the production cost is reduced.

本案之再一目的在於提供一種電動機驅動系統及扭矩分配方法,電動機驅動系統接獲扭矩命令時會控制兩個電動機協作,以增進電動機驅動系統制動操作能力提升,並可在因應緊急狀態下提供更大的負扭矩輸出而提升安全性。 Another purpose of this case is to provide an electric motor drive system and a torque distribution method. When the electric motor drive system receives a torque command, it will control the cooperation of two electric motors to enhance the braking operation capability of the electric motor drive system and provide more accurate information in emergency situations. Large negative torque output improves safety.

本案之另一目的在於提供一種電動機驅動系統及扭矩分配方法,電動機驅動系統接獲扭矩命令時會控制兩個電動機協作,以讓電動機產生的再生回收能量能以符合電池充電曲線的情況下對二次電池進行充電,藉此保護二次電池。 Another purpose of this case is to provide an electric motor drive system and a torque distribution method. When the electric motor drive system receives a torque command, it will control the cooperation of two electric motors, so that the regenerative energy generated by the electric motor can be matched to the battery charging curve. The secondary battery is charged, thereby protecting the secondary battery.

為達上述目的,本案之一較廣義實施樣態為提供一種電動機驅動系統,包含:驅動電路,其係將輸入電力轉換並供給驅動電流至電動機並驅動電動機;及控制器,其係進一步包含電流命令產生單元,電流命令產生單元輸出電流命令對應控制器接收的扭矩命令以及電動機狀態,電流命令係包括d軸電流命令及/或q軸電流命令,控制器依據驅動電流座標轉換為d軸電流及/或q軸電流,並控制驅動電路使得驅動電流趨近於電流命令所對應的d軸電流命令及/或q軸電流命令;其中,電流命令產生單元進一步包含每安培最大扭矩表與零回收特性表,每安培最大扭矩表係在電動機能量損耗最小下並依據電動機狀態將扭矩命令轉 換為電流命令,零回收特性表係在電動機能量損耗與再生回收能量相互抵消下並依據電動機狀態將扭矩命令轉換為電流命令;其中於控制器接收扭矩命令為正扭矩輸出時,電流命令產生單元依據每安培最大扭矩表輸出對應的電流命令,於控制器接收扭矩命令為負扭矩輸出且電動機驅動系統不包含一二次電池時,電流命令產生單元依據零回收特性表輸出對應的電流命令。 In order to achieve the above purpose, one of the broader implementation aspects of this project is to provide a motor drive system, including: a drive circuit, which converts input power and supplies drive current to the motor and drives the motor; and a controller, which further includes a current The command generation unit, the current command generation unit outputs a current command corresponding to the torque command received by the controller and the motor status. The current command includes a d-axis current command and/or a q-axis current command, and the controller converts it into a d-axis current and a q-axis current command based on the drive current coordinates. /or q-axis current, and controls the drive circuit so that the drive current approaches the d-axis current command and/or q-axis current command corresponding to the current command; wherein, the current command generation unit further includes a maximum torque table per ampere and a zero recovery characteristic The maximum torque table per ampere is based on the minimum energy loss of the motor and converts the torque command according to the motor status. Switching to a current command, the zero recovery characteristic table converts the torque command into a current command according to the motor state when the motor energy loss and regeneration recovery energy cancel each other out; among them, when the controller receives a torque command and it is a positive torque output, the current command generation unit The current command corresponding to the maximum torque table per ampere is output. When the torque command received by the controller is a negative torque output and the motor drive system does not include a primary and secondary battery, the current command generating unit outputs the corresponding current command according to the zero recovery characteristic table.

為達上述目的,本案之又一較廣義實施樣態為提供一種電動機驅動系統,包含:電動機,包含第一電動機及第二電動機;驅動電路,包含第一驅動電路及第二驅動電路,分別將輸入電力轉換且供給第一驅動電流與第二驅動電流至所對應的第一與第二電動機,並分別驅動所對應的第一電動機與第二電動機;以及控制器,其係包含扭矩分配單元、第一控制器及第二控制器,扭矩分配單元接收一扭矩命令並對應分配一第一扭矩命令與一第二扭矩命令分別給對應的第一控制器與第二控制器;第一控制器與第二控制器分別進一步包含第一電流命令產生單元及第二電流命令產生單元,第一與第二電流命令產生單元分別輸出第一電流命令與第二電流命令對應第一與第二扭矩命令及第一與第二電動機狀態,第一電流命令係包括第一d軸電流命令及/或第一q軸電流命令,第二電流命令係包括第二d軸電流命令及/或第二q軸電流命令,控制器對應依據第一與第二驅動電流座標各自轉換為d軸電流及/或q軸電流並控制所對應的第一與第二驅動電路使得第一與第二驅動電流趨近於第一與第二電流命令所對應的d軸電流及/或q軸電流;其中第一與第二電流命令產生單元分別包含第一負扭矩電流特性表與第二負扭矩電流特性表,第一與第二負扭矩電流特性表係分別在所對應的第一與第二電動機為負扭矩輸出時依據第一與第二電動機狀態將第一與第 二扭矩命令轉換為第一電流命令及第二電流命令;於第一控制器接收第一扭矩命令為負扭矩輸出時,第一電流命令產生單元依據第一負扭矩電流特性表輸出對應的第一電流命令;以及於第二控制器接收第二扭矩命令為負扭矩輸出時,第二電流命令產生單元依據第二負扭矩電流特性表輸出對應的電流命令。 In order to achieve the above purpose, another broader implementation form of this project is to provide a motor drive system, including: a motor, including a first motor and a second motor; a drive circuit, including a first drive circuit and a second drive circuit, respectively. The input power converts and supplies the first driving current and the second driving current to the corresponding first and second electric motors, and drives the corresponding first electric motor and the second electric motor respectively; and a controller, which includes a torque distribution unit, The first controller and the second controller, the torque distribution unit receives a torque command and distributes a first torque command and a second torque command to the corresponding first controller and the second controller respectively; the first controller and The second controller further includes a first current command generating unit and a second current command generating unit respectively. The first and second current command generating units respectively output the first current command and the second current command corresponding to the first and second torque commands and The first and second motor states, the first current command includes the first d-axis current command and/or the first q-axis current command, the second current command includes the second d-axis current command and/or the second q-axis current command, the controller correspondingly converts the first and second drive current coordinates into d-axis current and/or q-axis current and controls the corresponding first and second drive circuits so that the first and second drive currents approach the a d-axis current and/or q-axis current corresponding to the second current command; wherein the first and second current command generating units respectively include a first negative torque current characteristic table and a second negative torque current characteristic table, the first and The second negative torque current characteristic table is for converting the first and second motors according to the states of the first and second motors respectively when the corresponding first and second motors have negative torque output. The two torque commands are converted into a first current command and a second current command; when the first controller receives the first torque command as a negative torque output, the first current command generating unit outputs the corresponding first current command according to the first negative torque current characteristic table. a current command; and when the second controller receives the second torque command as a negative torque output, the second current command generating unit outputs the corresponding current command according to the second negative torque current characteristic table.

為達上述目的,本案之再一較廣義實施樣態為提供一種扭矩分配方法,應用於如電動機驅動系統的控制器的扭矩分配單元中,該扭矩分配方法包含步驟:(s10)依據扭矩命令進行第一扭矩命令的計算;(s11)判斷二次電池的電池電壓是否大於預設的參考電壓;(s12)當步驟(s11)的判斷結果為電池電壓大於參考電壓時,加大參考電流;(s13)判斷參考電流是否大於最大充電電流命令;(s14)當步驟(s13)的判斷結果為參考電流大於最大充電電流命令時,限制參考電流等於最大充電電流命令;(s15)判斷參考電流是否大於二次電池的電池電流;(s16)當步驟(s15)的判斷結果為參考電流大於電池電流時,加大第扭矩命令;(s17)判斷第一扭矩命令是否大於扭矩命令;(s18)當步驟(s17)的判斷結果為第一扭矩命令大於扭矩命令時,限制第一扭矩命令等於扭矩命令;(s19)輸出第一扭矩命令;(s20)依據扭矩命令與第一扭矩命令兩者的相減結果輸出第二扭矩命令;(s21)當步驟(s11)的判斷結果為電池電壓不大於參考電壓時,減小參考電流,並執行步驟(s15);以及(s22)當步驟(s15)的判斷結果為參考電流不大於電池電流時,減小第一扭矩命令,並執行步驟(s19);其中當步驟(s13)的判斷結果為參考電流不大於最大充電電流命令時,執行步驟(S15)。 In order to achieve the above purpose, another broader implementation aspect of this case is to provide a torque distribution method, which is applied in a torque distribution unit such as a controller of an electric motor drive system. The torque distribution method includes the steps: (s10) based on the torque command. Calculation of the first torque command; (s11) Determine whether the battery voltage of the secondary battery is greater than the preset reference voltage; (s12) When the judgment result of step (s11) is that the battery voltage is greater than the reference voltage, increase the reference current; ( s13) Determine whether the reference current is greater than the maximum charging current command; (s14) When the judgment result of step (s13) is that the reference current is greater than the maximum charging current command, limit the reference current to be equal to the maximum charging current command; (s15) Determine whether the reference current is greater than The battery current of the secondary battery; (s16) When the judgment result in step (s15) is that the reference current is greater than the battery current, increase the first torque command; (s17) Judge whether the first torque command is greater than the torque command; (s18) When the step When the judgment result of (s17) is that the first torque command is greater than the torque command, the first torque command is limited to be equal to the torque command; (s19) the first torque command is output; (s20) based on the subtraction of the torque command and the first torque command As a result, the second torque command is output; (s21) when the judgment result of step (s11) is that the battery voltage is not greater than the reference voltage, reduce the reference current and execute step (s15); and (s22) when the judgment result of step (s15) When the result is that the reference current is not greater than the battery current, the first torque command is reduced and step (s19) is executed; when the judgment result of step (s13) is that the reference current is not greater than the maximum charging current command, step (S15) is executed.

1、1a、1b:電動機驅動系統 1, 1a, 1b: Motor drive system

2:控制器 2:Controller

3:電動機 3: Electric motor

4:驅動電路 4: Drive circuit

Is:驅動電流 Is: drive current

Tn:扭矩命令 Tn: Torque command

Idcom:d軸電流命令 Idcom: d-axis current command

Iqcom:q軸電流命令 Iqcom: q-axis current command

20:電流命令產生單元 20:Current command generation unit

21:轉速及角度偵測器 21: Speed and angle detector

22:PI控制器 22:PI controller

23:電流轉換裝置 23:Current conversion device

24:電壓轉換裝置 24:Voltage conversion device

25:脈衝寬度調變裝置 25: Pulse width modulation device

ω:轉速資訊 ω: Speed information

θ:角度資訊 θ: Angle information

Ia、Ib、Ic:單相電流 Ia, Ib, Ic: single-phase current

Id:d軸電流 Id: d-axis current

Iq:q軸電流 Iq: q-axis current

Vdcom:d軸電壓命令 Vdcom: d-axis voltage command

Vqcom:q軸電壓命令 Vqcom: q-axis voltage command

Vabc:驅動電壓命令 Vabc: drive voltage command

PWM:脈衝寬度調變信號 PWM: pulse width modulation signal

min:最小的驅動電流 min: minimum drive current

S1:第一轉速 S1: first speed

S2:第二轉速 S2: second speed

S3:第三轉速 S3: The third speed

S4:第四轉速 S4: The fourth speed

T1:第一負扭矩值 T1: first negative torque value

T2:第二負扭矩值 T2: The second negative torque value

spec:特定的驅動電流 spec: specific drive current

Is_a:第一驅動電流值 Is_a: first drive current value

Is_b:第二驅動電流 Is_b: second drive current

8:溫度偵測器 8: Temperature detector

5:二次電池 5: Secondary battery

Tm:溫度資訊 Tm: temperature information

6:扭矩分配單元 6:Torque distribution unit

2a:第一控制器 2a: First controller

2b:第二控制器 2b: Second controller

40:第一驅動電路 40: First drive circuit

41:第二驅動電路 41: Second drive circuit

30:第一電動機 30:First electric motor

31:第二電動機 31:Second electric motor

Tn1:第一扭矩命令 Tn1: first torque command

Tn2:第二扭矩命令 Tn2: Second torque command

Vd:電池電壓 Vd: battery voltage

Ie:電池電流 Ie: battery current

V1:第一參考電壓區間 V1: first reference voltage interval

I1:第一參考電流區間 I1: first reference current interval

V2:第二參考電壓區間 V2: second reference voltage range

I2:第二參考電流區間 I2: second reference current interval

V3:第三參考電壓區間 V3: The third reference voltage range

I3:第三參考電流區間 I3: The third reference current interval

t0~t4:時間 t0~t4: time

7:電動車系統 7: Electric vehicle system

S10~S22:扭矩分配方法的步驟 S10~S22: Steps of torque distribution method

第1圖為本案第一較佳實施例之電動機驅動系統的系統方塊示意圖;第2圖為第1圖所示之電動機驅動系統的電動機在不同扭矩及不同轉速下,電動機所接收之驅動電流的最大值及功率的關係示意圖;第3圖為第1圖所示之電動機驅動系統所接收之扭矩命令與電動機所接收之驅動電流的最大值在d軸及q軸坐標下的關係示意圖;第4圖為本案第二較佳實施例之電動機驅動系統的系統方塊示意圖;第5圖為本案第三較佳實施例之電動機驅動系統的系統方塊示意圖;第6圖為第5圖所示之電動機驅動系統的二次電池在進行充電運作時的電壓/電流充電曲線示意圖 Figure 1 is a system block diagram of the motor drive system of the first preferred embodiment of this case; Figure 2 is a diagram of the drive current received by the motor of the motor drive system shown in Figure 1 under different torques and different speeds. Schematic diagram of the relationship between the maximum value and power; Figure 3 is a schematic diagram of the relationship between the torque command received by the motor drive system shown in Figure 1 and the maximum value of the drive current received by the motor in the d-axis and q-axis coordinates; Figure 4 The figure is a system block diagram of the motor drive system of the second preferred embodiment of this case; Figure 5 is a system block diagram of the motor drive system of the third preferred embodiment of this case; Figure 6 is the motor drive shown in Figure 5 Schematic diagram of the voltage/current charging curve of the system's secondary battery during charging operation.

第7圖為第5圖所示之電動機驅動系統的扭矩分配單元的扭矩分配方法的步驟示意圖。 FIG. 7 is a schematic diagram of the steps of the torque distribution method of the torque distribution unit of the electric motor drive system shown in FIG. 5 .

體現本案特徵與優點的一些典型實施例將在後段的說明中詳細敘述。應理解的是本案能夠在不同的態樣上具有各種的變化,其皆不脫離本案的範圍,且其中的說明及圖示在本質上當作說明之用,而非架構於限制本案。 Some typical embodiments embodying the features and advantages of this case will be described in detail in the following description. It should be understood that this case can have various changes in different aspects without departing from the scope of this case, and the descriptions and illustrations are essentially for illustrative purposes rather than limiting the scope of this case.

請參閱第1圖、第2圖及第3圖,其中第1圖為本案第一較佳實施例之電動機驅動系統的系統方塊示意圖,第2圖為第1圖所示之電動機驅動系統的 電動機在不同扭矩及不同轉速下,電動機所接收之驅動電流的最大值及功率的關係示意圖,第3圖為第1圖所示之電動機驅動系統所接收之扭矩命令與電動機所接收之驅動電流的最大值在d軸及q軸坐標下的關係示意圖。本實施例的電動機驅動系統1可為但不限於應用在高速鐵路列車、電動車、插電式混合動力車或是燃料電池車等,且高速鐵路列車、電動車、插電式混合動力車及燃料電池車分別包含用來控制自身整體運作的電動車系統7。 Please refer to Figures 1, 2 and 3. Figure 1 is a system block diagram of the motor drive system of the first preferred embodiment of this case, and Figure 2 is a system block diagram of the motor drive system shown in Figure 1. Schematic diagram of the relationship between the maximum driving current received by the motor and the power under different torques and different speeds of the motor. Figure 3 shows the relationship between the torque command received by the motor drive system shown in Figure 1 and the drive current received by the motor. Schematic diagram of the relationship between the maximum value in the d-axis and q-axis coordinates. The motor drive system 1 of this embodiment can be used in, but is not limited to, high-speed railway trains, electric vehicles, plug-in hybrid vehicles, fuel cell vehicles, etc., and high-speed railway trains, electric vehicles, plug-in hybrid vehicles, and Each fuel cell vehicle contains an electric vehicle system 7 used to control its overall operation.

電動機驅動系統1包含控制器2、電動機3及驅動電路4。驅動電路4可為但不限於由可雙向傳遞電能的逆變器構成,且與電動機3電連接,用以將所接收的輸入電力轉換,並供給驅動電壓及驅動電流Is至電動機3,以驅動電動機3進行正扭矩運作或是負扭矩運作,其中驅動電路4的電路結構已常見於電動機領域中,於此不再詳述。 The motor drive system 1 includes a controller 2 , a motor 3 and a drive circuit 4 . The drive circuit 4 may be, but is not limited to, composed of an inverter that can transmit electric energy in both directions, and is electrically connected to the motor 3 to convert the received input power and supply the drive voltage and drive current Is to the motor 3 to drive. The electric motor 3 performs positive torque operation or negative torque operation. The circuit structure of the drive circuit 4 is already common in the field of electric motors and will not be described in detail here.

電動機3可驅動負載(未圖示)轉動,即電動機3在進行正扭矩運作時驅動負載正轉,在進行負扭矩運作時驅動負載負轉,且於電動機3進行正扭矩運作時,電動機3會運作於電動機模式,而於電動機3需煞車而進行負扭矩運作時,電動機3一般會運作於發電機模式而產生再生回收能量。為便於說明,本案將以電動機3為三相電動機作舉例,但並非以此做為限制。 The motor 3 can drive the load (not shown) to rotate, that is, the motor 3 drives the load to rotate forward when operating with positive torque, and drives the load to rotate negatively when operating with negative torque. When the motor 3 operates with positive torque, the motor 3 will It operates in the motor mode, and when the motor 3 needs to brake and perform negative torque operation, the motor 3 will generally operate in the generator mode to generate regenerative energy. For ease of explanation, this case will take motor 3 as a three-phase motor as an example, but this is not a limitation.

控制器2可從電動車系統7接收扭矩命令Tn,其中該扭矩命令Tn可為正扭矩輸出,用以驅使電動機3進行正扭矩運作,或該扭矩命令Tn可為負扭矩輸出,用以驅使電動機3進行負扭矩運作。此外,控制器2更包含電流命令產生單元20,電流命令產生單元20會輸出電流命令,其中電流命令對應控制器2所接收的扭矩命令Tn以及電動機3的電動機狀態而產生,且電流命令包括d軸電流命令 Idcom及/或q軸電流命令Iqcom,而控制器2可依據驅動電流Is而座標轉換為d軸電流Id及/或q軸電流Iq,並控制驅動電路4的驅動電流Is趨近於電流命令所對應的d軸電流命令及/或q軸電流命令。 The controller 2 may receive a torque command Tn from the electric vehicle system 7 , where the torque command Tn may be a positive torque output to drive the electric motor 3 to perform positive torque operation, or the torque command Tn may be a negative torque output to drive the electric motor 3 3 Perform negative torque operation. In addition, the controller 2 further includes a current command generating unit 20. The current command generating unit 20 outputs a current command, where the current command is generated corresponding to the torque command Tn received by the controller 2 and the motor state of the motor 3, and the current command includes d. Axis current command Idcom and/or q-axis current command Iqcom, and the controller 2 can convert the coordinates into the d-axis current Id and/or q-axis current Iq according to the drive current Is, and control the drive current Is of the drive circuit 4 to approach the current command. Corresponding d-axis current command and/or q-axis current command.

此外,電流命令產生單元20更包含每安培最大扭矩表與零回收特性表,其中每安培最大扭矩表係紀錄了在電動機3的能量損耗最小下讓電流命令產生單元20依據電動機狀態將扭矩命令Tn轉換為電流命令的轉換對照表,零回收特性表係記錄了在電動機3的能量損耗與再生回收能量相互抵消下,讓電流命令產生單元20依據電動機狀態將扭矩命令Tn轉換為電流命令的轉換對照表,其中此處所指的電動機狀態可包含電動機3的轉速等。更甚者,於控制器2接收的扭矩命令Tn為正扭矩輸出時,電流命令產生單元20依據每安培最大扭矩表輸出對應的電流命令,於控制器2接收的扭矩命令Tn為負扭矩輸出時,電流命令產生單元20依據零回收特性表輸出對應的電流命令。 In addition, the current command generation unit 20 further includes a maximum torque per ampere table and a zero recovery characteristic table. The maximum torque per ampere table records that the current command generation unit 20 generates the torque command Tn according to the motor state when the energy loss of the motor 3 is minimized. The conversion comparison table that converts into a current command, the zero recovery characteristic table records the conversion comparison that allows the current command generation unit 20 to convert the torque command Tn into a current command according to the motor state when the energy loss of the motor 3 and the regeneration recovery energy cancel each other. table, where the motor state referred to here may include the rotation speed of the motor 3 and so on. What's more, when the torque command Tn received by the controller 2 is a positive torque output, the current command generating unit 20 outputs the corresponding current command according to the maximum torque table per ampere. When the torque command Tn received by the controller 2 is a negative torque output, , the current command generating unit 20 outputs the corresponding current command according to the zero recovery characteristic table.

於一些實施例中,控制器2更包含轉速及角度偵測器21、PI控制器22、電流轉換裝置23、電壓轉換裝置24及脈衝寬度調變裝置25。轉速及角度偵測器21用以依據電動機3的轉速而產生轉速資訊ω,並依據電動機3的旋轉角度而產生角度資訊θ,其中電動機3的電動機狀態包含轉速資訊ω且可提供至電流命令產生單元20,角度資訊θ則可分別提供至電流轉換裝置23及電壓轉換裝置24。電流轉換裝置23擷取流入電動機3的驅動電流Is,以獲得與驅動電流Is有對應關係的電流(例如驅動電流Is為三相驅動電流,則電流轉換裝置23擷取驅動電流Is而獲得單相電流Ia、Ib及Ic,即如第1圖所示),並依據角度資訊θ將反應驅動電流Is的單相電流Ia、Ib及Ic進行座標轉換,以產生d軸電流Id及/或q軸電流Iq。PI控制器22 依據d軸電流Id及/或q軸電流Iq與d軸電流命令Idcom及/或q軸電流命令Iqcom進行PI控制,以輸出d軸電壓命令Vdcom及/或q軸電壓命令Vqcom。電壓轉換裝置24接收d軸電壓命令Vdcom及/或q軸電壓命令Vqcom,並依據角度資訊θ將d軸電壓命令Vdcom及/或q軸電壓命令Vqcom進行座標轉換,以產生為三相的驅動電壓命令Vabc。脈衝寬度調變裝置25則依據驅動電壓命令Vabc產生對應的脈衝寬度調變信號PWM給驅動電路4的開關元件(未圖示),以調整驅動電路4提供給電動機3之驅動電壓及驅動電流Is,藉此使驅動電路4的驅動電流Is趨近於電流命令所對應的d軸電流命令及/或q軸電流命令。 In some embodiments, the controller 2 further includes a rotation speed and angle detector 21, a PI controller 22, a current conversion device 23, a voltage conversion device 24 and a pulse width modulation device 25. The rotation speed and angle detector 21 is used to generate rotation speed information ω according to the rotation speed of the motor 3, and generate angle information θ according to the rotation angle of the motor 3. The motor status of the motor 3 includes the rotation speed information ω and can be provided to the current command generation Unit 20, the angle information θ can be provided to the current conversion device 23 and the voltage conversion device 24 respectively. The current conversion device 23 captures the drive current Is flowing into the motor 3 to obtain a current corresponding to the drive current Is (for example, the drive current Is is a three-phase drive current, then the current conversion device 23 captures the drive current Is to obtain a single-phase Currents Ia, Ib and Ic (as shown in Figure 1), and coordinate conversion is performed on the single-phase currents Ia, Ib and Ic that reflect the driving current Is according to the angle information θ to generate the d-axis current Id and/or the q-axis Current Iq. PI controller 22 PI control is performed based on the d-axis current Id and/or q-axis current Iq and the d-axis current command Idcom and/or q-axis current command Iqcom to output the d-axis voltage command Vdcom and/or the q-axis voltage command Vqcom. The voltage conversion device 24 receives the d-axis voltage command Vdcom and/or the q-axis voltage command Vqcom, and performs coordinate conversion on the d-axis voltage command Vdcom and/or the q-axis voltage command Vqcom according to the angle information θ to generate a three-phase driving voltage. CommandVabc. The pulse width modulation device 25 generates a corresponding pulse width modulation signal PWM to the switching element (not shown) of the drive circuit 4 according to the drive voltage command Vabc to adjust the drive voltage and drive current Is provided by the drive circuit 4 to the motor 3 , thereby making the drive current Is of the drive circuit 4 approach the d-axis current command and/or the q-axis current command corresponding to the current command.

當然電動機3不侷限於為三相電動機,只要為永磁同步伺服電動機(Permanent-Magnet Synchronous Motor,PMSM)即可,例如電動機3可為多相電動機,其中對應電動機3為多相電動機,則驅動電路4提供多相驅動電壓及多相驅動電流給電動機3,而電流轉換裝置23擷取流入電動機3的多相驅動電流而獲得每一單相電流,並依據角度資訊θ將獲得的每一單相電流進行座標轉換,而產生d軸電流Id及/或q軸電流Iq,此外,電壓轉換裝置24接收d軸電壓命令Vdcom及/或q軸電壓命令Vqcom,並依據角度資訊θ將d軸電壓命令Vdcom及/或q軸電壓命令Vqcom進行座標轉換,以產生為多相的驅動電壓命令,而脈衝寬度調變裝置25則依據多相的驅動電壓命令產生對應的脈衝寬度調變信號PWM給驅動電路4的開關元件。 Of course, the motor 3 is not limited to a three-phase motor, as long as it is a permanent magnet synchronous servo motor (PMSM). For example, the motor 3 can be a multi-phase motor, and the corresponding motor 3 is a multi-phase motor, then the drive circuit 4 provides multi-phase driving voltage and multi-phase driving current to the motor 3, and the current conversion device 23 captures the multi-phase driving current flowing into the motor 3 to obtain each single-phase current, and converts each single-phase obtained according to the angle information θ The current undergoes coordinate conversion to generate a d-axis current Id and/or a q-axis current Iq. In addition, the voltage conversion device 24 receives the d-axis voltage command Vdcom and/or the q-axis voltage command Vqcom, and converts the d-axis voltage command according to the angle information θ. Vdcom and/or the q-axis voltage command Vqcom performs coordinate conversion to generate a multi-phase driving voltage command, and the pulse width modulation device 25 generates a corresponding pulse width modulation signal PWM to the driving circuit according to the multi-phase driving voltage command. 4 switching elements.

請再參閱第2圖及第3圖,其中在第2圖中顯示了四種不同種類的線條,第一種類的線條代表本案之電動機3所接收之驅動電流Is的最大值與電動機3的能量損耗的關係,於第2圖註記為能量損耗,該線條隨著驅動電流Is的最大 值變大而呈現指數上升關係,且電動機3的能量損耗不受扭矩命令的不同及電動機3的電動機狀態,例如轉速,的不同而影響。 Please refer to Figures 2 and 3 again. Figure 2 shows four different types of lines. The first type of lines represents the maximum value of the driving current Is received by the motor 3 in this case and the energy of the motor 3. The relationship between losses is marked as energy loss in Figure 2. This line increases with the maximum drive current Is. The value becomes larger and exhibits an exponential rising relationship, and the energy loss of the electric motor 3 is not affected by differences in torque commands and differences in the motor status of the electric motor 3, such as rotational speed.

第二種類的線條代表採用每安培最大扭矩(Maximum Torque Per Ampere;MTPA,以下簡稱MTPA)控制時的驅動電流Is的最大值與電動機3的再生回收能量的關係,於第2圖註記為MTPA,第二種類的線條呈現線性關係。在傳統的電動機驅動系統中,當電動機驅動系統接收到扭矩命令時,一般皆會基於MTPA控制方式而依據扭矩命令的不同來對應輸出電動機所接收之驅動電流,以在匹配扭矩命令的情況下選擇最小的驅動電流(當本案之電動機驅動系統1接收到為負扭矩輸出的扭矩命令Tn時,第二種類線條也可視為本案之電動機3基於MTPA控制方式的所呈現出的驅動電流Is的最大值與電動機3的再生回收能量之間的關係),藉此讓電動機驅動系統在根據扭矩命令運作時可達到最佳效率(即最小的能量損耗),因此如第3圖所示,在由d軸電流及q軸電流所構成的坐標系中,d軸電流為零及q軸電流為零的原點到扭矩命令間的最短距離即為MTPA控制方式中依據扭矩命令Tn所選擇最小的驅動電流Is(於第3圖上標示min,代表在d軸電流為零及q軸電流為零的原點到扭矩命令Tn間為最短距離時的最小的驅動電流min)。另外,由於電動機3不同的轉速會使得電動機3產生的再生回收能量不同,因此第2圖中將第二種類的線條例示為四條,分別呈現電動機3不同的轉速,於第2圖中標示為第一轉速S1、第二轉速S2、第三轉速S3及第四轉速S4。 The second type of line represents the relationship between the maximum value of the drive current Is and the regenerated energy of the motor 3 when controlled by Maximum Torque Per Ampere (MTPA, hereinafter referred to as MTPA). It is noted as MTPA in Figure 2. The second type of lines exhibits a linear relationship. In a traditional motor drive system, when the motor drive system receives a torque command, it is generally based on the MTPA control method and outputs the drive current received by the motor according to the different torque commands, so as to match the torque command. Minimum drive current (when the motor drive system 1 in this case receives the torque command Tn which is a negative torque output, the second type of line can also be regarded as the maximum drive current Is presented by the motor 3 in this case based on the MTPA control method. relationship with the regenerative energy of the motor 3), so that the motor drive system can achieve optimal efficiency (i.e. minimum energy loss) when operating according to the torque command. Therefore, as shown in Figure 3, when the d-axis In the coordinate system composed of current and q-axis current, the shortest distance between the origin of zero d-axis current and zero q-axis current and the torque command is the minimum driving current Is selected according to the torque command Tn in the MTPA control mode. (Min marked on Figure 3 represents the minimum driving current min when the shortest distance is between the origin where the d-axis current is zero and the q-axis current is zero and the torque command Tn). In addition, since different rotational speeds of the electric motor 3 will result in different regenerative energy generated by the electric motor 3, the second type of lines is shown as four lines in Figure 2, respectively showing different rotational speeds of the electric motor 3, which are marked as the second line in Figure 2. The first rotational speed S1, the second rotational speed S2, the third rotational speed S3 and the fourth rotational speed S4.

第三種類的線條顯示當扭矩命令Tn為負扭矩輸出且維持在第一扭矩值T1,且驅動電流Is從符合MPTA控制的最小的驅動電流逐漸變大時,電動機3產生的再生回收能量的變化,其中第三種類的線條於第2圖註記為T1。又如 前所述,由於電動機3不同的轉速會使得電動機3產生的再生回收能量不同,因此第2圖中將第三種類的線條例示為四條,分別呈現電動機3在扭矩命令Tn維持在第一扭矩值T1時的不同轉速,於第2圖中標示為第一轉速S1、第二轉速S2、第三轉速S3及第四轉速S4。 The third type of line shows the change in the regenerative recovery energy generated by the motor 3 when the torque command Tn is a negative torque output and is maintained at the first torque value T1, and the drive current Is gradually increases from the minimum drive current consistent with MPTA control. , the third type of line is marked as T1 in Figure 2. Another example As mentioned above, since different rotational speeds of the electric motor 3 will cause different regenerative recovery energy generated by the electric motor 3, the third type of lines is shown as four in Figure 2, respectively showing that the electric motor 3 maintains the first torque value under the torque command Tn. The different rotational speeds at T1 are marked in Figure 2 as the first rotational speed S1, the second rotational speed S2, the third rotational speed S3 and the fourth rotational speed S4.

第四種類的線條則顯示出當扭矩命令Tn為負扭矩輸出且維持在第二扭矩值T2(假設第二扭矩值T2大於第一扭矩值T1),且驅動電流Is從符合MPTA控制的最小的驅動電流逐漸變大時,電動機3產生的再生回收能量的變化。又如前所述,由於電動機3不同的轉速會使得電動機3產生的再生回收能量不同,因此第2圖中將第四種類的線條例示為四條,分別呈現電動機3在扭矩命令Tn維持在第二扭矩值T2時的不同轉速,於第2圖中標示為第一轉速S1、第二轉速S2、第三轉速S3及第四轉速S4。由第三種的類線條及第四種類的線條可以了解扭矩命令不同會使得電動機3產生的再生回收能量不同。 The fourth type of line shows that when the torque command Tn is a negative torque output and is maintained at the second torque value T2 (assuming that the second torque value T2 is greater than the first torque value T1), and the drive current Is changes from the minimum value consistent with MPTA control When the driving current gradually increases, the regenerative recovery energy generated by the motor 3 changes. As mentioned above, since different rotational speeds of the electric motor 3 will cause different regenerative energy generated by the electric motor 3, the fourth type of lines is shown as four in Figure 2, respectively showing that the electric motor 3 maintains the torque command Tn at the second The different rotational speeds at the torque value T2 are marked as the first rotational speed S1, the second rotational speed S2, the third rotational speed S3 and the fourth rotational speed S4 in Figure 2. From the third type of lines and the fourth type of lines, it can be understood that different torque commands will cause different regenerative recovery energy generated by the electric motor 3 .

以下將約略說明本案之電動機驅動系統1的原理。由第2圖及第3圖可知,首先,當電動機驅動系統1接收到的扭矩命令Tn為正扭矩輸出時,電動機驅動系統1會基於MTPA控制電動機3所接收之驅動電流Is。另外,當電動機驅動系統1接收到的扭矩命令Tn為負扭矩輸出時,若電動機驅動系統1基於MTPA控制電動機3所接收之驅動電流Is,則在一般情況下(即電動機3的轉速大於低轉速門檻值的情況下),電動機3所產生之再生回收能量皆會高於電動機3的能量損耗,因此無法由電動機3的能量損耗所抵銷的多餘再生回收能量將回灌至驅動電路4,然而若能在符合扭矩命令Tn的情況下,將驅動電流Is從符合MPTA控制的最小的驅動電流調整增大,亦即如第3圖所示,從最小的驅動電流min增大至例如特 定的驅動電流spec,使電動機3的再生回收能量等於電動機3的能量損耗,則可防止多餘再生回收能量從電動機3回灌至驅動電路4。舉例而言,如第2圖所示,在扭矩命令Tn維持在第二扭矩值T2且電動機3的轉速為第二轉速S2時,若讓驅動電流Is由MTPA控制所對應的第一驅動電流值Is_a增加至第二驅動電流值Is_b時,即可使電動機3的再生回收能量等於電動機3的能量損耗。基於上述原理,本實施例之電動機驅動系統1在控制器2接收扭矩命令Tn為負扭矩輸出時,讓電流命令產生單元20依據零回收特性表輸出對應的電流命令,以讓電動機3的能量損耗等於電動機3產生的再生回收能量。 The principle of the motor drive system 1 of this case will be briefly explained below. As can be seen from Figures 2 and 3, first, when the torque command Tn received by the motor drive system 1 is a positive torque output, the motor drive system 1 will control the drive current Is received by the motor 3 based on MTPA. In addition, when the torque command Tn received by the motor drive system 1 is a negative torque output, if the motor drive system 1 controls the drive current Is received by the motor 3 based on MTPA, under normal circumstances (that is, the speed of the motor 3 is greater than the low speed threshold), the regenerative energy generated by the motor 3 will be higher than the energy loss of the motor 3, so the excess regenerative energy that cannot be offset by the energy loss of the motor 3 will be fed back to the drive circuit 4. However, If the drive current Is can be adjusted and increased from the minimum drive current consistent with MPTA control while complying with the torque command Tn, that is, as shown in Figure 3, from the minimum drive current min to, for example, special A certain driving current spec is set so that the regenerative energy of the motor 3 is equal to the energy loss of the motor 3, thereby preventing excess regenerative energy from being fed back to the drive circuit 4 from the motor 3. For example, as shown in Figure 2, when the torque command Tn is maintained at the second torque value T2 and the rotation speed of the motor 3 is the second rotation speed S2, if the drive current Is is controlled by MTPA, the corresponding first drive current value When Is_a increases to the second drive current value Is_b, the regenerative recovery energy of the motor 3 can be equal to the energy loss of the motor 3 . Based on the above principle, when the controller 2 receives the torque command Tn and outputs a negative torque, the motor drive system 1 of this embodiment allows the current command generation unit 20 to output the corresponding current command according to the zero recovery characteristic table, so as to reduce the energy loss of the motor 3 It is equal to the regenerative energy generated by motor 3.

由上可知,本實施例之電動機驅動系統1在控制器2接收到為負扭矩輸出的扭矩命令Tn時,可讓電流命令產生單元20依據零回收特性表輸出對應的電流命令,以讓電動機3產生的再生回收能量完全由電動機3的能量損耗抑制,如此一來,不但增加電動機3制動的可用性,更減少機械制動器的磨損與過多熱能累積,此外,也避免再生回收能量對電動機驅動系統1造成損壞,更因電動機驅動系統1無須額外設置其他裝置來消耗再生回收能量而使電動機驅動系統1的空間利用率增加並減少生產成本。 It can be seen from the above that when the controller 2 receives the torque command Tn for negative torque output, the motor drive system 1 of this embodiment can allow the current command generating unit 20 to output the corresponding current command according to the zero recovery characteristic table, so that the motor 3 The generated regenerative recovery energy is completely suppressed by the energy loss of the motor 3. This not only increases the braking availability of the motor 3, but also reduces the wear and excessive heat energy accumulation of the mechanical brake. In addition, it also avoids the impact of the regenerative recovery energy on the motor drive system 1. Furthermore, since the motor drive system 1 does not need to install other additional devices to consume the regenerated energy, the space utilization of the motor drive system 1 is increased and the production cost is reduced.

於一些實施例中,如第1圖所示,電動機驅動系統1更包含二次電池5,二次電池5與驅動電路4電連接,且二次電池5供給輸入電力至驅動電路4,另外,驅動電路4也可對二次電池5進行充電,其中當二次電池5的電池電壓低於滿電診斷閥值時,二次電池5可接收能量而進行充電運作,反之,當二次電池5的電池電壓不低於滿電診斷閥值時,二次電池5則不進行充電運作。另外,控制器2更可判斷二次電池5的電池電壓是否低於滿電診斷閥值,以及/或判斷二次電池 5是否異常。更甚者,於控制器2接收扭矩命令Tn為負扭矩輸出且控制器2判斷二次電池5的電池電壓不低於滿電診斷閥值或二次電池5異常時,電流命令產生單元20依據零回收特性表輸出對應的電流命令,以讓電動機3產生的再生回收能量完全由電動機3的能量損耗抑制。反之,於控制器2接收扭矩命令Tn為負扭矩輸出且二次電池5的電池電壓低於滿電診斷閥值時,電流命令產生單元20根據每安培最大扭矩表對應輸出電流命令,且控制器2控制驅動電路4轉換電動機3產生的再生回收能量對二次電池5進行充電。 In some embodiments, as shown in Figure 1, the motor drive system 1 further includes a secondary battery 5, the secondary battery 5 is electrically connected to the drive circuit 4, and the secondary battery 5 supplies input power to the drive circuit 4. In addition, The drive circuit 4 can also charge the secondary battery 5. When the battery voltage of the secondary battery 5 is lower than the full power diagnosis threshold, the secondary battery 5 can receive energy and perform charging operation. On the contrary, when the secondary battery 5 When the battery voltage is not lower than the full-charge diagnosis threshold, the secondary battery 5 will not perform charging operation. In addition, the controller 2 can further determine whether the battery voltage of the secondary battery 5 is lower than the full power diagnosis threshold, and/or determine whether the secondary battery 5 is abnormal. What's more, when the controller 2 receives the torque command Tn as a negative torque output and the controller 2 determines that the battery voltage of the secondary battery 5 is not lower than the full power diagnosis threshold or the secondary battery 5 is abnormal, the current command generating unit 20 is based on The zero recovery characteristic table outputs the corresponding current command so that the regenerative recovery energy generated by the motor 3 is completely suppressed by the energy loss of the motor 3 . On the contrary, when the controller 2 receives the torque command Tn for negative torque output and the battery voltage of the secondary battery 5 is lower than the full power diagnosis threshold, the current command generation unit 20 outputs the current command correspondingly according to the maximum torque table per ampere, and the controller 2. Control the driving circuit 4 to convert the regenerated energy generated by the electric motor 3 to charge the secondary battery 5.

由於電動機3的內阻抗會隨溫度而變化,因此為了更精確達成電動機3產生的再生回收能量完全由電動機3的能量損耗抑制,而不受溫度變化的影響,於一些實施例中,如第1圖所示,控制器2更包含溫度偵測器8,用以偵測電動機3的環境溫度,並對應偵測結果輸出溫度資訊Tm給控制器2之電流命令產生單元20,其中電動機3的電動機狀態包含溫度資訊Tm,而電流命令產生單元20依據輸出溫度資訊Tm得知電動機3的環境溫度,此外,電流命令產生單元20的零回收特性表係紀錄了在電動機3的能量損耗與再生回收能量相互抵消下讓電流命令產生單元20依據電動機狀態(包含電動機3的轉速及電動機3的環境溫度)將扭矩命令Tn轉換為電流命令的轉換對照表,因此電流命令產生單元20便根據零回收特性表而輸出對應的電流命令,以讓電動機3產生的再生回收能量完全由電動機3的能量損耗抑制。本案後續提到的零回收特性表可為在電動機3的能量損耗與再生回收能量相互抵消下讓電流命令產生單元20依據電動機3的轉速將扭矩命令Tn轉換為電流命令,或可為在電動機3的能量損耗與再生回收能量相互抵 消下讓電流命令產生單元20依據電動機3的轉速及電動機3的環境溫度將扭矩命令Tn轉換為電流命令,因此後續不再進行贅述。 Since the internal impedance of the motor 3 changes with temperature, in order to more accurately achieve the regenerative recovery energy generated by the motor 3 is completely suppressed by the energy loss of the motor 3 and is not affected by temperature changes, in some embodiments, as shown in No. 1 As shown in the figure, the controller 2 further includes a temperature detector 8 for detecting the ambient temperature of the motor 3, and outputting temperature information Tm to the current command generating unit 20 of the controller 2 corresponding to the detection result, in which the motor of the motor 3 The status includes temperature information Tm, and the current command generation unit 20 knows the ambient temperature of the motor 3 based on the output temperature information Tm. In addition, the zero recovery characteristic table of the current command generation unit 20 records the energy loss and regeneration recovery energy of the motor 3 Under mutual cancellation, the current command generation unit 20 converts the torque command Tn into a conversion table of current commands according to the motor state (including the rotation speed of the motor 3 and the ambient temperature of the motor 3). Therefore, the current command generation unit 20 converts the torque command Tn into a conversion table of current commands according to the zero recovery characteristic table. The corresponding current command is output, so that the regenerative recovery energy generated by the motor 3 is completely suppressed by the energy loss of the motor 3 . The zero recovery characteristic table mentioned later in this case can be that the current command generation unit 20 converts the torque command Tn into a current command according to the rotation speed of the motor 3 when the energy loss of the motor 3 and the regeneration recovery energy cancel each other out, or it can be that when the motor 3 The energy loss and regeneration recovery energy offset each other. Next, let the current command generating unit 20 convert the torque command Tn into a current command according to the rotation speed of the motor 3 and the ambient temperature of the motor 3, so no details will be described later.

由上述內容可知,當二次電池5的電池電壓低於滿電診斷閥值時,電流命令產生單元20根據每安培最大扭矩表對應輸出電流命令,因此在扭矩命令Tn為負扭矩輸出且給定的情況下,可最優配置d軸和q軸電流分量,使驅動電動機3的驅動電流Is為最小,以減少電動機3的能量損耗。然而,當二次電池5的電池電壓不低於滿電診斷閥值,或是二次電池5異常時,此時由於二次電池5已無法再進行充電而回收電動機3產生的再生回收能量,故電流命令產生單元20根據零回收特性表對應輸出電流命令,以調整驅動電流Is增大,使電動機3的能量損耗可增大至等於電動機3產生的再生回收能量,藉此可讓電動機3產生的再生回收能量完全由電動機3的能量損耗抑制,進而達到前述的多個功效。 It can be seen from the above that when the battery voltage of the secondary battery 5 is lower than the full-charge diagnosis threshold, the current command generation unit 20 outputs the current command correspondingly according to the maximum torque table per ampere. Therefore, the torque command Tn is a negative torque output and is given In the case of , the d-axis and q-axis current components can be optimally configured to minimize the drive current Is of the drive motor 3 to reduce the energy loss of the motor 3 . However, when the battery voltage of the secondary battery 5 is not lower than the full-charge diagnosis threshold, or the secondary battery 5 is abnormal, the secondary battery 5 can no longer be charged and the regenerative energy generated by the motor 3 is recovered. Therefore, the current command generation unit 20 corresponds to the output current command according to the zero recovery characteristic table to adjust the increase in the driving current Is, so that the energy loss of the motor 3 can be increased to be equal to the regeneration recovery energy generated by the motor 3, thereby allowing the motor 3 to generate The regeneration and recovery energy is completely suppressed by the energy loss of the electric motor 3, thereby achieving the multiple effects mentioned above.

請參閱第4圖,其為本案第二較佳實施例之電動機驅動系統的系統方塊示意圖。本實施例之驅動系統1a包含電動機、驅動電路及控制器。電動機包含第一電動機30及第二電動機31。驅動電路包含第一驅動電路40及第二驅動電路41,其中第一驅動電路40將輸入電力轉換,並供給第一驅動電流至所對應的第一電動機30,以驅動第一電動機30,第二驅動電路41將輸入電力轉換,並供給第二驅動電流至所對應的第二電動機31,以驅動第二電動機31。控制器包含扭矩分配單元6、第一控制器2a及第二控制器2b。扭矩分配單元6接收扭矩命令Tn,並對應分配第一扭矩命令Tn1給第一控制器2a,亦分配第二扭矩命令Tn2給第二控制器2b,其中第一扭矩命令Tn1與第二扭矩命令Tn2之和等於扭矩命令Tn。於一些實施例中,第一電動機30為主要電動機,而第二電動機31為輔助電動機,當第 一電動機30無法滿足扭矩命令Tn時,扭矩分配單元6便將扭矩命令Tn對應分配第一扭矩命令Tn1給第一控制器2a,亦分配第二扭矩命令Tn2給第二控制器2b,使第二電動機31運作而輔助第一電動機30。 Please refer to Figure 4, which is a system block diagram of the motor drive system of the second preferred embodiment of the present invention. The driving system 1a of this embodiment includes a motor, a driving circuit and a controller. The electric motor includes a first electric motor 30 and a second electric motor 31 . The driving circuit includes a first driving circuit 40 and a second driving circuit 41. The first driving circuit 40 converts the input power and supplies the first driving current to the corresponding first motor 30 to drive the first motor 30 and the second driving circuit 41. The driving circuit 41 converts the input power and supplies the second driving current to the corresponding second motor 31 to drive the second motor 31 . The controller includes a torque distribution unit 6, a first controller 2a and a second controller 2b. The torque distribution unit 6 receives the torque command Tn, and correspondingly distributes the first torque command Tn1 to the first controller 2a, and also distributes the second torque command Tn2 to the second controller 2b, wherein the first torque command Tn1 and the second torque command Tn2 The sum is equal to the torque command Tn. In some embodiments, the first motor 30 is a main motor, and the second motor 31 is an auxiliary motor. When the electric motor 30 cannot satisfy the torque command Tn, the torque distribution unit 6 allocates the first torque command Tn1 to the first controller 2a corresponding to the torque command Tn, and also allocates the second torque command Tn2 to the second controller 2b, so that the second The electric motor 31 operates to assist the first electric motor 30 .

於本實施例中,第一控制器2a及第二控制器2b的作動方式及結構相似於第1圖所示之控制器2,第一驅動電路40、第二驅動電路41的作動方式及結構相似於第1圖所示之驅動電路4,故後續僅對第一控制器2a、第二控制器2b、第一驅動電路40、第二驅動電路41的作動方式及結構進行部分描述。第一控制器2a包含第一電流命令產生單元20a,第一電流命令產生單元20a會輸出第一電流命令,其中第一電流命令對應第一控制器2a所接收的第一扭矩命令Tn1以及第一電動機30的電動機狀態而產生,且第一電流命令包括第一d軸電流命令及/或第一q軸電流命令,而控制器的第一控制器2a可依據第一驅動電流而座標轉換為第一d軸電流及/或第一q軸電流,並控制第一驅動電路40的第一驅動電流趨近於第一電流命令所對應的第一d軸電流命令及/或第一q軸電流命令。第二控制器2b包含第二電流命令產生單元20b,第二電流命令產生單元20b會輸出第二電流命令,第二電流命令對應第二控制器2b所接收的第二扭矩命令Tn2以及第二電動機31的電動機狀態而產生,且第二電流命令包括第二d軸電流命令及/或第二q軸電流命令,而控制器的第二控制器2b可依據第二驅動電流而座標轉換為第二d軸電流及/或第二q軸電流,並控制第二驅動電路41的第二驅動電流趨近於第二電流命令所對應的第二d軸電流命令及/或第二q軸電流命令。 In this embodiment, the operating modes and structures of the first controller 2a and the second controller 2b are similar to the controller 2 shown in Figure 1, and the operating modes and structures of the first driving circuit 40 and the second driving circuit 41 are similar. Similar to the driving circuit 4 shown in FIG. 1 , only a partial description of the operation mode and structure of the first controller 2 a , the second controller 2 b , the first driving circuit 40 and the second driving circuit 41 will be given below. The first controller 2a includes a first current command generating unit 20a. The first current command generating unit 20a outputs a first current command, where the first current command corresponds to the first torque command Tn1 received by the first controller 2a and the first The first current command includes the first d-axis current command and/or the first q-axis current command, and the first controller 2a of the controller can coordinately convert to the first drive current according to the first driving current. A d-axis current and/or a first q-axis current, and controls the first driving current of the first driving circuit 40 to approach the first d-axis current command and/or the first q-axis current command corresponding to the first current command. . The second controller 2b includes a second current command generating unit 20b. The second current command generating unit 20b outputs a second current command. The second current command corresponds to the second torque command Tn2 received by the second controller 2b and the second electric motor. 31, and the second current command includes a second d-axis current command and/or a second q-axis current command, and the second controller 2b of the controller can coordinately convert to the second d-axis current and/or the second q-axis current, and controls the second drive current of the second drive circuit 41 to approach the second d-axis current command and/or the second q-axis current command corresponding to the second current command.

另外,第一電流命令產生單元20a包含第一負扭矩電流特性表,第一負扭矩電流特性表係紀錄了在所對應的第一電動機30為負扭矩輸出時,依據 第一電動機30的第一電動機狀態將第一扭矩命令Tn1轉換為第一電流命令的轉換對照表。第二電流命令產生單元20b包含第二負扭矩電流特性表,第二負扭矩電流特性表係紀錄了在所對應的第二電動機31為負扭矩輸出時依據第二電動機31的第二電動機狀態將第二扭矩命令Tn2轉換為第二電流命令的轉換對照表。 In addition, the first current command generating unit 20a includes a first negative torque current characteristic table. The first negative torque current characteristic table records when the corresponding first electric motor 30 outputs negative torque according to The first motor state of the first motor 30 converts the first torque command Tn1 into a conversion lookup table of the first current command. The second current command generating unit 20b includes a second negative torque current characteristic table. The second negative torque current characteristic table records that when the corresponding second motor 31 is in negative torque output, the second motor state of the second motor 31 will be A conversion table for converting the second torque command Tn2 into the second current command.

更甚者,於第一控制器2a接收第一扭矩命令Tn1為負扭矩輸出時,第一電流命令產生單元20a依據第一負扭矩電流特性表輸出對應的第一電流命令。於第二控制器2b接收第二扭矩命令Tn2為負扭矩輸出時,第二電流命令產生單元20b依據第二負扭矩電流特性表輸出對應的第二電流命令。 What's more, when the first controller 2a receives the first torque command Tn1 as a negative torque output, the first current command generating unit 20a outputs the corresponding first current command according to the first negative torque current characteristic table. When the second controller 2b receives the second torque command Tn2 which is a negative torque output, the second current command generating unit 20b outputs the corresponding second current command according to the second negative torque current characteristic table.

於一些實施例中,第一負扭矩電流特性表包含第一零回收特性表,該第一零回收特性表係紀錄了在第一電動機30的能量損耗與再生回收能量相互抵消下並依據第一電動機狀態將第一扭矩命令Tn1轉換為第一電流命令的轉換對照表。因此,於第一控制器2a接收第一扭矩命令Tn1為負扭矩輸出時,第一電流命令產生單元20a係進一步依據第一負扭矩電流特性表中的第一零回收特性表輸出對應的第一電流命令,以讓第一電動機30的能量損耗等於第一電動機30產生的再生回收能量。 In some embodiments, the first negative torque current characteristic table includes a first zero recovery characteristic table, which records that the energy loss of the first electric motor 30 and the regeneration recovery energy offset each other and according to the first The motor state converts the first torque command Tn1 into a conversion table of the first current command. Therefore, when the first controller 2a receives the first torque command Tn1 as a negative torque output, the first current command generating unit 20a further outputs the corresponding first zero recovery characteristic table according to the first negative torque current characteristic table. The current command is such that the energy loss of the first motor 30 is equal to the regenerated energy generated by the first motor 30 .

第二負扭矩電流特性表包含第二零回收特性表,該第二零回收特性表係紀錄了在第二電動機31的能量損耗與再生回收能量相互抵消下並依據第二電動機狀態將第二扭矩命令Tn2轉換為第二電流命令的轉換對照表。因此,於第二控制器2b接收第二扭矩命令Tn2為負扭矩輸出時,第二電流命令產生單元20b依據第二負扭矩電流特性表中的第二零回收特性表輸出對應的電流命令,以讓第二電動機31的能量損耗等於第二電動機31產生的再生回收能量。 The second negative torque current characteristic table includes a second zero recovery characteristic table, which records that the energy loss of the second electric motor 31 and the regenerative recovery energy cancel each other out and the second torque is converted according to the state of the second electric motor. A conversion table that converts the command Tn2 into the second current command. Therefore, when the second controller 2b receives the second torque command Tn2 as a negative torque output, the second current command generating unit 20b outputs the corresponding current command according to the second zero recovery characteristic table in the second negative torque current characteristic table, so as to Let the energy loss of the second motor 31 be equal to the regenerated energy generated by the second motor 31 .

又於其它實施例中,第一負扭矩電流特性表包含第一再生回收特性表,第一再生回收特性表係紀錄了所對應的第一電動機30的特性並在負扭矩輸出時產生再生回收能量,且依據第一電動機狀態將第一扭矩命令Tn1轉換為第一電流命令的轉換對照表。另外,第二負扭矩電流特性表進一步包含耗能特性表,耗能特性表係紀錄了所對應的第二電動機31的特性並在負扭矩輸出時需消耗能量,且依據第二電動機狀態將第二扭矩命令轉換為該第二電流命令的轉換對照表。於控制器判斷扭矩命令Tn為負扭矩輸出時,扭矩分配單元6對應扭矩命令Tn分配出第一扭矩命令Tn1與第二扭矩命令Tn2,而第一電流命令產生單元20a依據第一扭矩命令Tn1以及第一再生回收特性表輸出對應的第一電流命令,第二電流命令產生單元20b依據第二扭矩命令Tn2以及耗能特性表輸出對應的第二電流命令,其中,第一電動機30產生再生回收能量與第二電動機31消耗能量相互抵消。 In other embodiments, the first negative torque current characteristic table includes a first regeneration recovery characteristic table, which records the corresponding characteristics of the first electric motor 30 and generates regeneration recovery energy when the negative torque is output. , and converts the first torque command Tn1 into a conversion table of the first current command according to the first motor state. In addition, the second negative torque current characteristic table further includes an energy consumption characteristic table. The energy consumption characteristic table records the characteristics of the corresponding second motor 31 and consumes energy when outputting negative torque, and changes the second motor 31 according to the state of the second motor. The second torque command is converted into a conversion table of the second current command. When the controller determines that the torque command Tn is a negative torque output, the torque distribution unit 6 distributes the first torque command Tn1 and the second torque command Tn2 corresponding to the torque command Tn, and the first current command generation unit 20a responds to the first torque command Tn1 and The first regeneration and recovery characteristic table outputs the corresponding first current command, and the second current command generating unit 20b outputs the corresponding second current command according to the second torque command Tn2 and the energy consumption characteristic table, wherein the first electric motor 30 generates regeneration and recovery energy. The energy consumption of the second electric motor 31 cancels each other out.

請參閱第5圖,其係為本案第三較佳實施例之電動機驅動系統的系統方塊示意圖。本實施例的電動機驅動系統1b相較於第4圖所示的電動機驅動系統1a更包含二次電池5,二次電池5分別與驅動電路的第一驅動電路40及第二驅動電路41電連接,且二次電池5可分別供給輸入電力至第一驅動電路40及第二驅動電路41,另外,第一驅動電路40及第二驅動電路41也可分別對二次電池5進行充電,其中當二次電池5的電池電壓低於滿電診斷閥值時,二次電池5可接收能量而進行充電運作,反之,當二次電池5的電池電壓不低於滿電診斷閥值或異常時,二次電池5則不進行充電運作。 Please refer to Figure 5, which is a system block diagram of the motor drive system of the third preferred embodiment of the present invention. Compared with the motor drive system 1a shown in Figure 4, the motor drive system 1b of this embodiment further includes a secondary battery 5. The secondary battery 5 is electrically connected to the first drive circuit 40 and the second drive circuit 41 of the drive circuit respectively. , and the secondary battery 5 can supply input power to the first driving circuit 40 and the second driving circuit 41 respectively. In addition, the first driving circuit 40 and the second driving circuit 41 can also charge the secondary battery 5 respectively, wherein when When the battery voltage of the secondary battery 5 is lower than the full-charge diagnostic threshold, the secondary battery 5 can receive energy and perform charging operation. On the contrary, when the battery voltage of the secondary battery 5 is not lower than the full-charge diagnostic threshold or is abnormal, The secondary battery 5 does not perform charging operation.

另外,於控制器判斷扭矩命令為負扭矩輸出,且控制器判斷二次電池5的電池電壓不低於滿電診斷閥值或二次電池異常5時,扭矩分配單元6對應扭矩命令分配出第一扭矩命令Tn1及與第二扭矩命令Tn2,且第一電流命令產生單元20a依據第一扭矩命令Tn1以及第一零回收特性表輸出第一電流命令,第二電流命令產生單元20b依據第二扭矩命令Tn2以及第二零回收特性表輸出第二電流命令。故在此運作下,第一電動機30的能量損耗等於第一電動機30產生的再生回收能量,而第二電動機31的能量損耗等於第二電動機31產生的再生回收能量。 In addition, when the controller determines that the torque command is a negative torque output, and the controller determines that the battery voltage of the secondary battery 5 is not lower than the full-charge diagnosis threshold or the secondary battery is abnormal 5, the torque distribution unit 6 distributes the third torque corresponding to the torque command. A torque command Tn1 and a second torque command Tn2, and the first current command generating unit 20a outputs the first current command according to the first torque command Tn1 and the first zero recovery characteristic table, and the second current command generating unit 20b outputs the first current command according to the second torque command Tn1. The command Tn2 and the second zero recovery characteristic table output the second current command. Therefore, under this operation, the energy loss of the first motor 30 is equal to the regenerated energy generated by the first motor 30 , and the energy loss of the second motor 31 is equal to the regenerated energy generated by the second motor 31 .

於一些實施例中,第二電流命令產生單元20b的第二負扭矩電流特性表更包含第二再生回收特性表,其中第二再生回收特性表係紀錄了所對應的第二電動機31的特性並在負扭矩輸出時產生再生回收能量,且依據第二電動機狀態將第二扭矩命令Tn2轉換為第二電流命令的轉換對照表。於控制器判斷扭矩命令為負扭矩輸出且控制器判斷二次電池5的電池電壓低於滿電診斷閥值時,扭矩分配單元6對應扭矩命令分配出第一扭矩命令Tn1與第二扭矩命令Tn2,而第一電流命令產生單元20a則依據第一扭矩命令Tn1以及第一零回收特性表輸出對應的第一電流命令,第二電流命令產生單元20b依據第二扭矩命令Tn2以及第二再生回收特性表輸出對應的第二電流命令。故在此運作下,第一電動機30的能量損耗等於第一電動機30產生的再生回收能量,而第二電動機31的能量損耗小於第二電動機31產生的再生回收能量,而第二電動機31所產生的未被抵銷的再生回收能量可透過第二驅動電路41轉換而對二次電池5充電。於一些實施例中,第二再生回收特性表更可為每安培最大扭矩表,且該每安培最大扭矩表係在第二 電動機31能量損耗最小下並依據第二電動機31狀態將第二扭矩命令Tn2轉換為第二電流命令。 In some embodiments, the second negative torque current characteristic table of the second current command generating unit 20b further includes a second regeneration recovery characteristic table, wherein the second regeneration recovery characteristic table records the characteristics of the corresponding second electric motor 31 and Regenerative recovery energy is generated when negative torque is output, and the second torque command Tn2 is converted into a conversion table of the second current command according to the second motor state. When the controller determines that the torque command is a negative torque output and the controller determines that the battery voltage of the secondary battery 5 is lower than the full power diagnosis threshold, the torque distribution unit 6 distributes the first torque command Tn1 and the second torque command Tn2 corresponding to the torque command. , and the first current command generating unit 20a outputs the corresponding first current command according to the first torque command Tn1 and the first zero recovery characteristic table, and the second current command generating unit 20b outputs the corresponding first current command according to the second torque command Tn2 and the second regeneration recovery characteristic table. The meter outputs the corresponding second current command. Therefore, under this operation, the energy loss of the first motor 30 is equal to the regenerative energy generated by the first motor 30 , while the energy loss of the second motor 31 is less than the regenerative energy generated by the second motor 31 , and the energy loss generated by the second motor 31 is The unoffset regenerated energy can be converted through the second driving circuit 41 to charge the secondary battery 5 . In some embodiments, the second regeneration recovery characteristic table may be a maximum torque per ampere table, and the maximum torque per ampere table is based on the second regeneration recovery characteristic table. The second torque command Tn2 is converted into a second current command according to the state of the second motor 31 when the energy loss of the electric motor 31 is minimized.

於一些實施例中,第二電流命令產生單元20b的第二負扭矩電流特性表更包含耗能特性表,其中耗能特性表係紀錄了所對應的第二電動機31的特性並在負扭矩輸出時需消耗能量,且依據第二電動機狀態將第二扭矩命令Tn2轉換為第二電流命令的轉換對照表。於控制器判斷扭矩命令Tn為負扭矩輸出且控制器判斷二次電池5低於滿電診斷閥值可正常供電時,扭矩分配單元6對應扭矩命令Tn分配出第一扭矩命令Tn1與第二扭矩命令Tn2,而第一電流命令產生單元20a依據第一扭矩命令Tn1以及第一零回收特性表輸出對應的第一電流命令,第二電流命令產生單元20b依據第二扭矩命令Tn2以及耗能特性表輸出對應的第二電流命令。故在此運作下,第一電動機30的能量損耗等於第一電動機30產生的再生回收能量,而第二電動機31的能量損耗大於第二電動機31產生的再生回收能量,故當二次電池5輸出電能時,例如不正當的放電等,便可藉由第二電動機31的能量損耗來抵銷二次電池5所輸出的電能。 In some embodiments, the second negative torque current characteristic table of the second current command generating unit 20b further includes an energy consumption characteristic table, where the energy consumption characteristic table records the characteristics of the corresponding second electric motor 31 and outputs the negative torque when the second negative torque current characteristic table is used. Energy needs to be consumed, and the second torque command Tn2 is converted into a conversion table of the second current command according to the second motor state. When the controller determines that the torque command Tn is a negative torque output and the controller determines that the secondary battery 5 is lower than the full power diagnostic threshold and can supply power normally, the torque distribution unit 6 distributes the first torque command Tn1 and the second torque corresponding to the torque command Tn. command Tn2, and the first current command generating unit 20a outputs the corresponding first current command according to the first torque command Tn1 and the first zero recovery characteristic table, and the second current command generating unit 20b outputs the corresponding first current command according to the second torque command Tn2 and the energy consumption characteristic table. Output the corresponding second current command. Therefore, under this operation, the energy loss of the first motor 30 is equal to the regenerated energy generated by the first motor 30, and the energy loss of the second motor 31 is greater than the regenerated energy generated by the second motor 31. Therefore, when the secondary battery 5 outputs When the electric energy is discharged, for example, due to improper discharge, the energy loss of the second motor 31 can offset the electric energy output by the secondary battery 5 .

又於其它實施例中,第一負扭矩電流特性表進一步包含第一再生回收特性表,第一再生回收特性表係紀錄了所對應的第一電動機30的特性並在負扭矩輸出時產生再生回收能量,且依據第一電動機狀態將第一扭矩命令Tn1轉換為第一電流命令的轉換對照表。於控制器判斷扭矩命令Tn為負扭矩輸出且控制器判斷二次電池5的電池電壓低於滿電診斷閥值並可正常供電時,扭矩分配單元6對應該扭矩命令分Tn配出第一扭矩命令Tn1與第二扭矩命令Tn2,第一電流命令產生單元20a依據第一扭矩命令Tn1以及第一再生回收特性表輸出對應的第一 電流命令,該第二電流命令產生單元20b依據第二扭矩命令Tn2以及耗能特性表輸出對應的第二電流命令。 In other embodiments, the first negative torque current characteristic table further includes a first regeneration recovery characteristic table, which records the corresponding characteristics of the first electric motor 30 and generates regeneration recovery when the negative torque is output. Energy, and a conversion table that converts the first torque command Tn1 into the first current command according to the first motor state. When the controller determines that the torque command Tn is a negative torque output and the controller determines that the battery voltage of the secondary battery 5 is lower than the full power diagnosis threshold and can supply power normally, the torque distribution unit 6 distributes the first torque corresponding to the torque command Tn. According to the command Tn1 and the second torque command Tn2, the first current command generating unit 20a outputs the corresponding first torque command Tn1 and the first regeneration recovery characteristic table. The second current command generating unit 20b outputs the corresponding second current command according to the second torque command Tn2 and the energy consumption characteristic table.

請參閱第6圖並配合第5圖,其中第6圖為第5圖所示之電動機驅動系統的二次電池在進行充電運作時的電壓/電流充電曲線示意圖。於一些實施例中,當扭矩命令Tn為負扭矩輸出且二次電池5為正常並進行充電運作時,二次電池5會以符合第6圖所示之充電曲線進行充電,更進一步說明,當電動機驅動系統1b的控制器判斷扭矩命令Tn為負扭矩輸出時,控制器係依據以二次電池5的電池電壓Vd(如第6圖所示之電池電壓Vd)低於預設的參考電壓區間(例如發生在時間t0~t3之間)而選擇進行二次電池5充電的限制電流充電模式,在限制電流充電模式下,控制器控制驅動電路提供二次電池5的電池電流Ie不高於預設的參考電流區間,此外,控制器係依據以二次電池5的電池電壓Vd不低於參考電壓區間(例如發生在時間t3~t4之間)選擇進行二次電池5充電的限制電壓充電模式,在限制電壓充電模式下,控制器控制驅動電路提供二次電池5的電池電流Ie所對應的電池電壓Vd落於預設的參考電壓區間。 Please refer to Figure 6 in conjunction with Figure 5. Figure 6 is a schematic diagram of the voltage/current charging curve of the secondary battery of the motor drive system shown in Figure 5 during charging operation. In some embodiments, when the torque command Tn is a negative torque output and the secondary battery 5 is normal and performing charging operation, the secondary battery 5 will be charged according to the charging curve shown in Figure 6. To further illustrate, when When the controller of the motor drive system 1b determines that the torque command Tn is a negative torque output, the controller determines that the battery voltage Vd of the secondary battery 5 (battery voltage Vd as shown in Figure 6) is lower than the preset reference voltage range. (for example, occurs between time t0~t3) and selects the limited current charging mode for charging the secondary battery 5. In the limited current charging mode, the controller controls the driving circuit to provide the battery current Ie of the secondary battery 5 not to be higher than the predetermined value. The set reference current interval, in addition, the controller selects the limited voltage charging mode for charging the secondary battery 5 based on the battery voltage Vd of the secondary battery 5 not being lower than the reference voltage interval (for example, occurring between time t3 and t4). , in the limited voltage charging mode, the controller controls the driving circuit to provide the battery voltage Vd corresponding to the battery current Ie of the secondary battery 5 to fall within the preset reference voltage range.

於一些實施例中,參考電壓區間進一步包括兩個以上參考電壓區間,例如第6圖所示,參考電壓區間包含一第一參考電壓區間V1、小於第一參考電壓區間V1的一第二參考電壓區間V2及小於第二參考電壓區間V2的一第三參考電壓區間V3,其中在充電過程中基於保護二次電池5下,依據該二次電池5特性,將電池電壓Vd區分多個區間,而區隔這些區間所對應的電池電壓Vd再加上控制所需的電壓閥值區間即可定義該第一參考電壓區間V1、該第二參考電壓區間V2與該第三參考電壓區間V3,然而第6圖所示則未呈現這些電壓閥值區間並 分別簡化為一直線。參考電流區間進一步包括兩個以上參考電流區間,例如第6圖所示,參考電流區間包含一第一參考電流區間I1、小於第一參考電流區間I1的一第二參考電流區間I2及小於第二參考電流區間I2的一第三參考電流區間I3,其中在充電過程中基於保護該二次電池5下,該第一參考電壓區間V1、該第二參考電壓區間V2與該第三參考電壓區間V3所區分的各個充電區間的電池電流再加上控制所需的電流閥值區間即可定義該第一參考電流區間I1、該第二參考電流區間I2與該第三參考電流區間I3,然而第6圖所示則未呈現這些電流閥值區間並分別簡化為一直線。再者,限制電流充電模式進一步包括兩個以上限制電流充電模式,例如第一限制電流充電模式、第二限制電流充電模式及第三限制電流充電模式。 In some embodiments, the reference voltage interval further includes two or more reference voltage intervals. For example, as shown in Figure 6, the reference voltage interval includes a first reference voltage interval V1 and a second reference voltage that is smaller than the first reference voltage interval V1. interval V2 and a third reference voltage interval V3 that is smaller than the second reference voltage interval V2, in which the battery voltage Vd is divided into multiple intervals based on the characteristics of the secondary battery 5 during the charging process, and The first reference voltage interval V1, the second reference voltage interval V2 and the third reference voltage interval V3 can be defined by dividing the battery voltage Vd corresponding to these intervals and adding the voltage threshold interval required for control. However, the As shown in Figure 6, these voltage threshold ranges are not shown and are simplified to a straight line. The reference current interval further includes two or more reference current intervals. For example, as shown in Figure 6, the reference current interval includes a first reference current interval I1, a second reference current interval I2 that is smaller than the first reference current interval I1, and a second reference current interval that is smaller than the second reference current interval I1. A third reference current interval I3 of the reference current interval I2, wherein the first reference voltage interval V1, the second reference voltage interval V2 and the third reference voltage interval V3 are based on protecting the secondary battery 5 during the charging process. The battery currents in each of the distinguished charging intervals plus the current threshold interval required for control can define the first reference current interval I1, the second reference current interval I2 and the third reference current interval I3. However, the sixth As shown in the figure, these current threshold intervals are not shown and are simplified to a straight line. Furthermore, the limited current charging mode further includes two or more limited current charging modes, such as a first limited current charging mode, a second limited current charging mode, and a third limited current charging mode.

在第一限制電流充電模式下,控制器控制驅動電路提供二次電池5的電池電流Ie不高於第一參考電流區間I1(即二次電池5的電池電流Ie的上限值為第一電流值I1),在第二限制電流充電模式下,控制器控制驅動電路提供二次電池5的電池電流Ie不高於第二參考電流區間I2(即二次電池5的電池電流Ie的上限值為第二電流值I2),在第三限制電流充電模式下,控制器控制驅動電路提供二次電池5的電池電流Ie不高於第三參考電流區間I3(即二次電池5的電池電流Ie的上限值為第三電流值I3)。此外,控制器判斷扭矩命令Tn為負扭矩輸出時,控制器係依據以二次電池5的電池電壓Vd低於第一參考電壓區間V1且不低於第二參考電壓區間V2選擇進行二次電池5充電的第一限制電流充電模式,而控制器係依據以二次電池5的電池電壓Vd低於第二參考電壓區間V2且不低於第一參考電壓區間V1選擇進行二次電池5充電的第二限制電流充電模式,又控制器係依據以 二次電池5的電池電壓Vd低於第三參考電壓區間V3選擇進行二次電池5充電的第三限制電流充電模式。 In the first limited current charging mode, the controller controls the driving circuit to provide that the battery current Ie of the secondary battery 5 is not higher than the first reference current interval I1 (that is, the upper limit value of the battery current Ie of the secondary battery 5 is the first current value I1), in the second limited current charging mode, the controller controls the driving circuit to provide that the battery current Ie of the secondary battery 5 is not higher than the second reference current interval I2 (that is, the upper limit value of the battery current Ie of the secondary battery 5 is the second current value I2), in the third limited current charging mode, the controller controls the driving circuit to provide the battery current Ie of the secondary battery 5 not to be higher than the third reference current interval I3 (that is, the battery current Ie of the secondary battery 5 The upper limit value of is the third current value I3). In addition, when the controller determines that the torque command Tn is a negative torque output, the controller selects the secondary battery based on the battery voltage Vd of the secondary battery 5 being lower than the first reference voltage interval V1 and not lower than the second reference voltage interval V2. 5 is the first limited current charging mode for charging, and the controller selects the method for charging the secondary battery 5 based on the fact that the battery voltage Vd of the secondary battery 5 is lower than the second reference voltage interval V2 and not lower than the first reference voltage interval V1. In the second limited current charging mode, the controller is based on the When the battery voltage Vd of the secondary battery 5 is lower than the third reference voltage interval V3, the third current limiting charging mode for charging the secondary battery 5 is selected.

當二次電池5為正常並進行充電運作時,第5圖所示之驅動系統1b會存在多種運作狀態,第一種運作狀態為由第一扭矩命令Tn1完全匹配扭矩命令Tn,而第二扭矩命令Tn2係對應無扭矩輸出,即第二電動機31不運作,且第一電動機30可產生多餘的再生電能並經由第一驅動電路40轉換而對二次電池5充電。第二種運作狀態則為第一扭矩命令Tn1與第二扭矩命令Tn2皆非為零,且第一扭矩命令Tn1與第二扭矩命令Tn2所對應的扭矩輸出係匹配扭矩命令Tn所對應的扭矩輸出,而第一電動機30可產生多餘的再生電能並經由第一驅動電路40轉換而對二次電池5充電,而第二電動機31的能量損耗則等於第二電動機31產生的再生回收能量。第三種運作狀態則為第一扭矩命令Tn1與第二扭矩命令Tn2皆非為零,且第一扭矩命令Tn1與第二扭矩命令Tn2所對應的扭矩輸出係匹配扭矩命令Tn所對應的扭矩輸出,且第一電動機30可產生多餘的再生電能並經由第一驅動電路40轉換而對二次電池5充電,而第二電動機31亦可產生多餘的再生電能並經由第二驅動電路41轉換而對二次電池5充電。第四種運作狀態則為第一扭矩命令Tn1與第二扭矩命令Tn2皆非為零,且第一扭矩命令Tn1與第二扭矩命令Tn2所對應的扭矩輸出係匹配扭矩命令Tn所對應的扭矩輸出,且第二電動機31的能量損耗大於第二電動機31產生的再生回收能量,而第一電動機30可產生多餘的再生電能,第一電動機30產生的多餘的再生電能可經由第一驅動電路40轉換而對二次電池5充電,及/或由第二電動機31消耗。以下將分別說明驅動系統1b在不同運作狀態下的運作方式。於一些實施例中,如第5圖所示,第一電流命令產生單元20a的第 一負扭矩電流特性表更包含第一再生回收特性表,其中第一再生回收特性表係紀錄了所對應的第一電動機30的特性並在負扭矩輸出時產生再生回收能量,且依據第一電動機狀態將第一扭矩命令Tn1轉換為第一電流命令的轉換對照表。而在第一運作狀態下,即扭矩分配單元6對應扭矩命令Tn分配出第一扭矩命令Tn1與第二扭矩命令Tn2,且第一扭矩命令Tn1匹配扭矩命令Tn,第二扭矩命令Tn2係對應無扭矩輸出時,此時第一電流命令產生單元20a依據第一扭矩命令Tn1以及第一再生回收特性表輸出對應的第一電流命令。故在此第一運作狀態下,第一電動機30的能量損耗小於第一電動機30產生的再生回收能量,第一電動機30所產生的未被抵銷的再生回收能量可透過第一驅動電路40轉換而對二次電池5充電。在第一種狀態下,第一電動機30產生的再生回收能量使得驅動電路輸出電力係符合二次電池5的限制電流充電模式或限制電壓充電模式,使二次電池5以符合第6圖所示之充電曲線進行充電。 When the secondary battery 5 is normal and charging, the drive system 1b shown in Figure 5 will have multiple operating states. The first operating state is that the first torque command Tn1 completely matches the torque command Tn, and the second torque command Tn1 completely matches the torque command Tn. The command Tn2 corresponds to no torque output, that is, the second electric motor 31 does not operate, and the first electric motor 30 can generate excess regenerative electric energy and convert it through the first driving circuit 40 to charge the secondary battery 5 . The second operating state is that neither the first torque command Tn1 nor the second torque command Tn2 is zero, and the torque output corresponding to the first torque command Tn1 and the second torque command Tn2 matches the torque output corresponding to the torque command Tn. , and the first motor 30 can generate excess regenerated electric energy and convert it through the first drive circuit 40 to charge the secondary battery 5 , while the energy loss of the second motor 31 is equal to the regenerated energy generated by the second motor 31 . The third operating state is that neither the first torque command Tn1 nor the second torque command Tn2 is zero, and the torque output corresponding to the first torque command Tn1 and the second torque command Tn2 matches the torque output corresponding to the torque command Tn. , and the first electric motor 30 can generate excess regenerative electric energy and convert it through the first drive circuit 40 to charge the secondary battery 5 , and the second electric motor 31 can also generate excess regenerative electric energy and convert it through the second drive circuit 41 to charge the secondary battery 5 . Recharge the secondary battery 5. The fourth operating state is that neither the first torque command Tn1 nor the second torque command Tn2 is zero, and the torque output corresponding to the first torque command Tn1 and the second torque command Tn2 matches the torque output corresponding to the torque command Tn. , and the energy loss of the second motor 31 is greater than the regenerated energy generated by the second motor 31 , and the first motor 30 can generate excess regenerated electrical energy, and the excess regenerated electrical energy generated by the first motor 30 can be converted through the first drive circuit 40 The secondary battery 5 is charged and/or consumed by the second electric motor 31 . The operation modes of the drive system 1b in different operating states will be described below. In some embodiments, as shown in FIG. 5 , the first current command generating unit 20a A negative torque current characteristic table further includes a first regeneration recovery characteristic table, wherein the first regeneration recovery characteristic table records the corresponding characteristics of the first electric motor 30 and generates regeneration recovery energy when the negative torque is output, and according to the first electric motor 30 The state converts the first torque command Tn1 into a conversion table of the first current command. In the first operating state, that is, the torque distribution unit 6 distributes the first torque command Tn1 and the second torque command Tn2 corresponding to the torque command Tn, and the first torque command Tn1 matches the torque command Tn, and the second torque command Tn2 corresponds to none. During torque output, the first current command generating unit 20a outputs the corresponding first current command according to the first torque command Tn1 and the first regeneration recovery characteristic table. Therefore, in this first operating state, the energy loss of the first motor 30 is less than the regenerative energy generated by the first motor 30 , and the unoffset regenerative energy generated by the first motor 30 can be converted through the first driving circuit 40 And the secondary battery 5 is charged. In the first state, the regenerative energy generated by the first motor 30 makes the output power of the drive circuit comply with the limited current charging mode or the limited voltage charging mode of the secondary battery 5, so that the secondary battery 5 can comply with the charging mode shown in Figure 6 Charge according to the charging curve.

在第二運作狀態下,即扭矩分配單元6對應扭矩命令Tn分配出第一扭矩命令Tn1與第二扭矩命令Tn2,且第一扭矩命令Tn1與第二扭矩命令Tn2所對應的扭矩輸出總和係匹配扭矩命令Tn所對應的扭矩輸出,此時第一電流命令產生單元20a依據第一扭矩命令Tn1以及第一再生回收特性表輸出對應的第一電流命令,且第二電流命令產生單元20b分別依據第二扭矩命令Tn2以及第二零回收特性表輸出對應的第二電流命令。故在此第二運作狀態下,第一電動機30的能量損耗小於第一電動機30產生的再生回收能量,第一電動機30所產生的未被抵銷的再生回收能量可透過第一驅動電路40轉換而對二次電池5充電,而第二電動機31的能量損耗等於第二電動機31產生的再生回收能量。在第二種狀態下,第一 電動機30產生的再生回收能量使得驅動電路輸出電力係符合二次電池5的限制電流充電模式或限制電壓充電模式,使二次電池5以符合第6圖所示之充電曲線進行充電。 In the second operating state, that is, the torque distribution unit 6 distributes the first torque command Tn1 and the second torque command Tn2 corresponding to the torque command Tn, and the total torque output corresponding to the first torque command Tn1 and the second torque command Tn2 matches. The torque output corresponding to the torque command Tn. At this time, the first current command generating unit 20a outputs the corresponding first current command according to the first torque command Tn1 and the first regeneration recovery characteristic table, and the second current command generating unit 20b respectively outputs the corresponding first current command according to the first torque command Tn1 and the first regeneration recovery characteristic table. The second torque command Tn2 and the second current command corresponding to the second zero recovery characteristic table output. Therefore, in this second operating state, the energy loss of the first motor 30 is less than the regenerative energy generated by the first motor 30 , and the unoffset regenerative energy generated by the first motor 30 can be converted through the first driving circuit 40 When charging the secondary battery 5 , the energy loss of the second motor 31 is equal to the regenerated energy generated by the second motor 31 . In the second state, the first The regenerated energy generated by the motor 30 makes the output power of the drive circuit comply with the limited current charging mode or the limited voltage charging mode of the secondary battery 5, so that the secondary battery 5 is charged according to the charging curve shown in Figure 6.

在第三運作狀態下,即扭矩分配單元6對應扭矩命令Tn分配出第一扭矩命令Tn1與第二扭矩命令Tn2,且第一扭矩命令Tn1與第二扭矩命令Tn2所對應的扭矩輸出總和係匹配扭矩命令Tn所對應的扭矩輸出,此時第一電流命令產生單元20a依據第一扭矩命令Tn1以及第一再生回收特性表輸出對應的第一電流命令,且第二電流命令產生單元20b分別依據第二扭矩命令Tn2以及第二再生回收特性表輸出對應的第二電流命令。故在此第三運作狀態下,第一電動機30的能量損耗小於第一電動機30產生的再生回收能量,第一電動機30所產生的未被抵銷的再生回收能量可透過第一驅動電路40轉換而對二次電池5充電,而第二電動機31的能量損耗小於第二電動機31產生的再生回收能量,第二電動機31所產生的未被抵銷的再生回收能量可透過第二驅動電路41轉換而對二次電池5充電。在第三種狀態下,第一電動機30及第二電動機31產生的再生回收能量使得驅動電路輸出電力係符合二次電池5的限制電流充電模式或限制電壓充電模式,使二次電池5以符合第6圖所示之充電曲線進行充電。 In the third operating state, that is, the torque distribution unit 6 distributes the first torque command Tn1 and the second torque command Tn2 corresponding to the torque command Tn, and the total torque output corresponding to the first torque command Tn1 and the second torque command Tn2 matches. The torque output corresponding to the torque command Tn. At this time, the first current command generating unit 20a outputs the corresponding first current command according to the first torque command Tn1 and the first regeneration recovery characteristic table, and the second current command generating unit 20b respectively outputs the corresponding first current command according to the first torque command Tn1 and the first regeneration recovery characteristic table. The second torque command Tn2 and the second regeneration recovery characteristic table output the corresponding second current command. Therefore, in this third operating state, the energy loss of the first motor 30 is less than the regenerative energy generated by the first motor 30 , and the unoffset regenerative energy generated by the first motor 30 can be converted through the first driving circuit 40 When charging the secondary battery 5, the energy loss of the second motor 31 is less than the regeneration energy generated by the second motor 31. The unoffset regeneration energy generated by the second motor 31 can be converted through the second drive circuit 41. And the secondary battery 5 is charged. In the third state, the regenerative energy generated by the first motor 30 and the second motor 31 makes the output power of the driving circuit comply with the limited current charging mode or the limited voltage charging mode of the secondary battery 5, so that the secondary battery 5 meets the requirements. Charge according to the charging curve shown in Figure 6.

在第四運作狀態下,即扭矩分配單元6對應扭矩命令Tn分配出第一扭矩命令Tn1與第二扭矩命令Tn2,且第一扭矩命令Tn1與第二扭矩命令Tn2所對應的扭矩輸出總和係匹配扭矩命令Tn所對應的扭矩輸出,此時第一電流命令產生單元20a依據第一扭矩命令Tn1以及第一再生回收特性表輸出對應的第一電流命令,且第二電流命令產生單元20b分別依據第二扭矩命令以及耗能特性表輸 出對應的第二電流命令。故在此第四運作狀態下,第一電動機30的能量損耗小於第一電動機30產生的再生回收能量,而第二電動機31的能量損耗大於第二電動機31產生的再生回收能量,且第一電動機30所產生的未被抵銷的再生回收能量可透過第一驅動電路40轉換而對二次電池5充電,或由第二電動機31進行消耗。在第四種狀態下,第一電動機30的再生回收能量抵消第二電動機31的消耗能量,使得驅動電路輸出電力係符合二次電池5的限制電流充電模式或限制電壓充電模式,使二次電池5以符合第6圖所示之充電曲線進行充電。 In the fourth operating state, that is, the torque distribution unit 6 distributes the first torque command Tn1 and the second torque command Tn2 corresponding to the torque command Tn, and the total torque output corresponding to the first torque command Tn1 and the second torque command Tn2 matches. The torque output corresponding to the torque command Tn. At this time, the first current command generating unit 20a outputs the corresponding first current command according to the first torque command Tn1 and the first regeneration recovery characteristic table, and the second current command generating unit 20b respectively outputs the corresponding first current command according to the first torque command Tn1 and the first regeneration recovery characteristic table. 2. Torque command and energy consumption characteristics table output Outputs the corresponding second current command. Therefore, in this fourth operating state, the energy loss of the first motor 30 is less than the regenerative energy generated by the first motor 30 , and the energy loss of the second motor 31 is greater than the regenerative energy generated by the second motor 31 , and the first motor 31 The unoffset regenerative energy generated by 30 can be converted by the first drive circuit 40 to charge the secondary battery 5 or consumed by the second motor 31 . In the fourth state, the regenerated energy of the first motor 30 offsets the energy consumption of the second motor 31, so that the output power of the drive circuit complies with the limited current charging mode or limited voltage charging mode of the secondary battery 5, so that the secondary battery 5Charge according to the charging curve shown in Figure 6.

請再參閱第7圖並配合第5、6圖,其中第7圖為第5圖所示之電動機驅動系統的扭矩分配單元的扭矩分配方法的步驟示意圖。如圖所示,電動機驅動系統1b的扭矩分配單元6會且預設參考電壓區間及參考電流,其中參考電壓落在參考電壓內,參電流落在參考電流區間內,且扭矩分配單元6執行扭矩分配方法,包含下列步驟。 Please refer to Figure 7 again in conjunction with Figures 5 and 6. Figure 7 is a schematic diagram of the steps of the torque distribution method of the torque distribution unit of the motor drive system shown in Figure 5. As shown in the figure, the torque distribution unit 6 of the electric motor drive system 1b will preset a reference voltage interval and a reference current, where the reference voltage falls within the reference voltage, the reference current falls within the reference current interval, and the torque distribution unit 6 executes torque The allocation method consists of the following steps.

步驟S10,扭矩分配單元6依據扭矩命令Tn進行第一扭矩命令Tn1的計算。其中步驟S10的計算方式可依據實際需求來預先設定。 In step S10, the torque distribution unit 6 calculates the first torque command Tn1 according to the torque command Tn. The calculation method of step S10 can be preset according to actual needs.

步驟S11,扭矩分配單元6判斷二次電池5的電池電壓Vd是否大於或等於扭矩分配單元6所預設的參考電壓區間。 In step S11 , the torque distribution unit 6 determines whether the battery voltage Vd of the secondary battery 5 is greater than or equal to the reference voltage interval preset by the torque distribution unit 6 .

步驟S12,當扭矩分配單元6判斷二次電池5的電池電壓Vd大於或等於參考電壓時,扭矩分配單元6會加大參考電流。 Step S12, when the torque distribution unit 6 determines that the battery voltage Vd of the secondary battery 5 is greater than or equal to the reference voltage, the torque distribution unit 6 increases the reference current.

步驟S13,扭矩分配單元6判斷參考電流是否大於最大充電電流命令。於本實施例中,最大充電電流命令會依據二次電池5當下電池電壓Vd在不同 電壓範圍內而有不同數值,當參考電流等於最大充電電流命令時,即代表驅動電路提供給二次電池5的電池電流Ie已達到當下二次電池5的電池電壓Vd所對應的參考電流區間的上限值。 In step S13, the torque distribution unit 6 determines whether the reference current is greater than the maximum charging current command. In this embodiment, the maximum charging current command will vary according to the current battery voltage Vd of the secondary battery 5. There are different values within the voltage range. When the reference current is equal to the maximum charging current command, it means that the battery current Ie provided by the drive circuit to the secondary battery 5 has reached the reference current range corresponding to the current battery voltage Vd of the secondary battery 5. Upper limit.

步驟S14,當扭矩分配單元6判斷參考電流大於最大充電電流命令時,扭矩分配單元6限制參考電流等於最大充電電流命令。 Step S14, when the torque distribution unit 6 determines that the reference current is greater than the maximum charging current command, the torque distribution unit 6 limits the reference current to be equal to the maximum charging current command.

步驟S15,扭矩分配單元6判斷參考電流是否大於二次電池5的電池電流Ie。 In step S15 , the torque distribution unit 6 determines whether the reference current is greater than the battery current Ie of the secondary battery 5 .

步驟S16,當扭矩分配單元6判斷參考電流大於二次電池5的電池電流Ie時,扭矩分配單元6加大第一扭矩命令Tn1。 Step S16, when the torque distribution unit 6 determines that the reference current is greater than the battery current Ie of the secondary battery 5, the torque distribution unit 6 increases the first torque command Tn1.

步驟S17,扭矩分配單元6判斷第一扭矩命令Tn1是否大於扭矩命令Tn。 In step S17, the torque distribution unit 6 determines whether the first torque command Tn1 is greater than the torque command Tn.

步驟S18,當扭矩分配單元6判斷第一扭矩命令Tn1大於扭矩命令Tn時,扭矩分配單元6限制第一扭矩命令Tn1等於扭矩命令Tn。 Step S18, when the torque distribution unit 6 determines that the first torque command Tn1 is greater than the torque command Tn, the torque distribution unit 6 limits the first torque command Tn1 to be equal to the torque command Tn.

步驟S19,扭矩分配單元6輸出第一扭矩命令Tn1給第一控制器2a。 In step S19, the torque distribution unit 6 outputs the first torque command Tn1 to the first controller 2a.

步驟S20,扭矩分配單元6依據扭矩命令Tn與第一扭矩命令Tn1兩者的相減結果輸出第二扭矩命令Tn2給第二控制器2b。 In step S20, the torque distribution unit 6 outputs the second torque command Tn2 to the second controller 2b based on the subtraction result of the torque command Tn and the first torque command Tn1.

步驟S21,當扭矩分配單元6判斷二次電池5的電池電壓Vd小於預設的參考電壓時,扭矩分配單元6減小參考電流,再執行步驟S15。在此步驟中,參考電流可被減小至零。 In step S21, when the torque distribution unit 6 determines that the battery voltage Vd of the secondary battery 5 is less than the preset reference voltage, the torque distribution unit 6 reduces the reference current and then executes step S15. In this step, the reference current can be reduced to zero.

步驟S22,當扭矩分配單元6判斷參考電流不大於二次電池5的電池電流Ie時,扭矩分配單元6減小第一扭矩命令Tn1,再執行步驟S19。在此步驟中,第一扭矩命令Tn1可被減小至零。 In step S22, when the torque distribution unit 6 determines that the reference current is not greater than the battery current Ie of the secondary battery 5, the torque distribution unit 6 decreases the first torque command Tn1, and then executes step S19. In this step, the first torque command Tn1 may be reduced to zero.

另外,當步驟S13中扭矩分配單元6判斷參考電流不大於最大充電電流命令時,則執行步驟S15。當步驟S17中扭矩分配單元6判斷第一扭矩命令Tn1不大於扭矩命令Tn時,則執行步驟S19。 In addition, when the torque distribution unit 6 determines in step S13 that the reference current is not greater than the maximum charging current command, step S15 is executed. When the torque distribution unit 6 determines in step S17 that the first torque command Tn1 is not greater than the torque command Tn, step S19 is executed.

因此為了在二次電池5的電池電壓Vd不低於滿電診斷閥值時讓二次電池5以符合第6圖所示之充電曲線進行充電,扭矩分配單元6便會依據二次電池5的電池電壓Vd、二次電池5的電池電流Ie及扭矩命令Tn分配第一扭矩命令Tn1及第二扭矩命令Tn2。當電池電壓Vd及參考電壓相異時,扭矩分配單元6會調整參考電流,例如當參考電壓大於電池電壓Vd時,扭矩分配單元6會調整參考電流變大,但不會超過最大充電電流命令,反之,當參考電壓小於電池電壓Vd時,扭矩分配單元6會調整參考電流變小。當電池電流Ie及參考電流的相異時,扭矩分配單元6會調整第一扭矩命令Tn1,例如當參考電流大於電池電流Ie時,扭矩分配單元6會調整第一扭矩命令Tn1變大,但不會超過扭矩命令Tn,反之,當參考電流小於電池電流Ie時,扭矩分配單元6會調整第一扭矩命令Tn1變小。 Therefore, in order to allow the secondary battery 5 to be charged according to the charging curve shown in Figure 6 when the battery voltage Vd of the secondary battery 5 is not lower than the full-charge diagnosis threshold, the torque distribution unit 6 will be based on the voltage of the secondary battery 5. The battery voltage Vd, the battery current Ie of the secondary battery 5 and the torque command Tn are allocated to the first torque command Tn1 and the second torque command Tn2. When the battery voltage Vd is different from the reference voltage, the torque distribution unit 6 will adjust the reference current. For example, when the reference voltage is greater than the battery voltage Vd, the torque distribution unit 6 will adjust the reference current to become larger, but will not exceed the maximum charging current command. On the contrary, when the reference voltage is less than the battery voltage Vd, the torque distribution unit 6 will adjust the reference current to become smaller. When the battery current Ie is different from the reference current, the torque distribution unit 6 will adjust the first torque command Tn1. For example, when the reference current is greater than the battery current Ie, the torque distribution unit 6 will adjust the first torque command Tn1 to become larger, but not will exceed the torque command Tn. On the contrary, when the reference current is less than the battery current Ie, the torque distribution unit 6 will adjust the first torque command Tn1 to become smaller.

綜上所述,本案提供一種電動機驅動系統及扭矩分配方法,電動機驅動系統之控制器根據扭矩命令及電動機的電動機狀態配合控制器之零回收特性表對應輸出電流命令,以控制電動機之運作,進而讓電動機產生的再生回收能量完全由電動機的能量損耗抑制,藉此不但增加電動機制動的可用性,更減少機械制動器的磨損與過多熱能累積,此外,也避免再生回收能量對電動機驅動系 統造成損壞,更因電動機驅動系統無須額外設置其他裝置來消耗再生回收能量而使電動機驅動系統的空間利用率增加並減少生產成本。更甚者,在電動機驅動系統具有兩個電動機且接獲扭矩命令時,電動機驅動系統控制兩個電動機協作,以讓電動機產生的再生回收能量能以符合電池充電曲線的情況下對二次電池進行充電,藉此保護二次電池。 To sum up, this case provides a motor drive system and torque distribution method. The controller of the motor drive system cooperates with the zero recovery characteristic table of the controller to output current commands according to the torque command and the motor status of the motor to control the operation of the motor, and then The regenerative energy generated by the motor is completely suppressed by the energy loss of the motor. This not only increases the availability of the motor brake, but also reduces the wear and excessive heat energy accumulation of the mechanical brake. In addition, it also avoids the impact of the regenerative energy on the motor drive system. Moreover, since the motor drive system does not need to install other additional devices to consume regenerated energy, the space utilization of the motor drive system is increased and production costs are reduced. What's more, when the motor drive system has two motors and receives a torque command, the motor drive system controls the cooperation of the two motors so that the regenerative energy generated by the motors can recharge the secondary battery in compliance with the battery charging curve. Charging, thereby protecting the secondary battery.

1:電動機驅動系統 1: Electric motor drive system

2:控制器 2:Controller

3:電動機 3: Electric motor

4:驅動電路 4: Drive circuit

Is:驅動電流 Is: drive current

Tn:扭矩命令 Tn: Torque command

Idcom:d軸電流命令 Idcom: d-axis current command

Iqcom:q軸電流命令 Iqcom: q-axis current command

20:電流命令產生單元 20:Current command generation unit

21:轉速及角度偵測器 21: Speed and angle detector

22:PI控制器 22:PI controller

23:電流轉換裝置 23:Current conversion device

24:電壓轉換裝置 24:Voltage conversion device

25:脈衝寬度調變裝置 25: Pulse width modulation device

ω:轉速資訊 ω: Speed information

θ:角度資訊 θ: Angle information

Ia、Ib、Ic:單相電流 Ia, Ib, Ic: single-phase current

Id:d軸電流 Id: d-axis current

Iq:q軸電流 Iq: q-axis current

Vdcom:d軸電壓命令 Vdcom: d-axis voltage command

Vqcom:q軸電壓命令 Vqcom: q-axis voltage command

Vabc:驅動電壓命令 Vabc: drive voltage command

PWM:脈衝寬度調變信號 PWM: pulse width modulation signal

8:溫度偵測器 8: Temperature detector

5:二次電池 5: Secondary battery

Tm:溫度資訊 Tm: temperature information

7:電動車系統 7: Electric vehicle system

Claims (21)

一種電動機驅動系統,包含: 一電動機; 一驅動電路,其係將一輸入電力轉換並供給一驅動電流至該電動機並驅動該電動機;及 一控制器,其係進一步包含一電流命令產生單元,該電流命令產生單元輸出一電流命令對應該控制器接收的一扭矩命令以及一電動機狀態,該電流命令係包括一d軸電流命令及/或一q軸電流命令,該控制器依據驅動電流座標轉換為一d軸電流及/或一q軸電流,並控制該驅動電路使得該驅動電流趨近於該電流命令所對應的該d軸電流命令及/或該q軸電流命令; 其中,該電流命令產生單元進一步包含一每安培最大扭矩表與一零回收特性表,該每安培最大扭矩表係在該電動機能量損耗最小下並依據該電動機狀態將該扭矩命令轉換為該電流命令,該零回收特性表係在該電動機能量損耗與再生回收能量相互抵消下並依據該電動機狀態將該扭矩命令轉換為該電流命令; 其中於該控制器接收該扭矩命令為正扭矩輸出時,該電流命令產生單元依據該每安培最大扭矩表輸出對應的該電流命令,於該控制器接收該扭矩命令為負扭矩輸出時,該電流命令產生單元依據該零回收特性表輸出對應的該電流命令。 An electric motor drive system including: an electric motor; A drive circuit that converts an input power and supplies a drive current to the motor and drives the motor; and A controller further includes a current command generation unit, the current command generation unit outputs a current command corresponding to a torque command received by the controller and a motor state, the current command includes a d-axis current command and/or A q-axis current command, the controller converts it into a d-axis current and/or a q-axis current according to the drive current coordinate, and controls the drive circuit to make the drive current approach the d-axis current command corresponding to the current command. and/or the q-axis current command; Wherein, the current command generating unit further includes a maximum torque per ampere table and a zero recovery characteristic table. The maximum torque per ampere table converts the torque command into the current command according to the motor state when the energy loss of the motor is minimum. , the zero recovery characteristic table converts the torque command into the current command according to the motor state under the condition that the motor energy loss and the regeneration recovery energy cancel each other out; When the controller receives the torque command and outputs a positive torque, the current command generating unit outputs the corresponding current command according to the maximum torque table per ampere. When the controller receives the torque command and outputs a negative torque, the current command The command generating unit outputs the corresponding current command according to the zero recovery characteristic table. 如請求項1所述之電動機驅動系統,其中更包含一二次電池,該二次電池供給該輸入電力至該驅動電路,該驅動電路由該控制器控制,且輸出該驅動電流給該電動機,或是對該二次電池進行充電; 其中,於該控制器接收該扭矩命令為負扭矩輸出且該控制器判斷該二次電池的一電池電壓不低於一滿電診斷閥值或該二次電池異常時,該電流命令產生單元依據該零回收特性表輸出對應的該電流命令。 The motor drive system of claim 1, further comprising a secondary battery, the secondary battery supplies the input power to the drive circuit, the drive circuit is controlled by the controller, and outputs the drive current to the motor, Or charge the secondary battery; Wherein, when the controller receives the torque command as a negative torque output and the controller determines that a battery voltage of the secondary battery is not lower than a full power diagnosis threshold or the secondary battery is abnormal, the current command generating unit is based on The zero recovery characteristic table outputs the corresponding current command. 如請求項2所述之電動機驅動系統,其中,於該控制器接收該扭矩命令為負扭矩輸出且該二次電池的該電池電壓低於該滿電診斷閥值時,該電流命令產生單元根據該每安培最大扭矩表對應輸出該電流命令,且該控制器控制該驅動電路對該二次電池進行充電。The motor drive system of claim 2, wherein when the controller receives the torque command as a negative torque output and the battery voltage of the secondary battery is lower than the full power diagnostic threshold, the current command generating unit is based on The maximum torque per amp meter outputs the current command correspondingly, and the controller controls the driving circuit to charge the secondary battery. 如請求項1所述之電動機驅動系統,其中該控制器更接收關於該電動機環境溫度的一溫度資訊,且該零回收特性表紀錄了在不同的該扭矩命令、該電動機不同的轉速及該電動機不同的環境溫度下,能讓該電動機的能量損耗等於該電動機產生的再生回收能量所對應的該電流命令,且於該控制器接收該扭矩命令為負扭矩輸出時,該電流命令產生單元根據當下該扭矩命令、該電動機當下轉速及該電動機當下環境溫度配合該零回收特性表對應調整該電流命令,以讓該電動機產生的再生回收能量完全由該電動機的能量損耗抑制,其中該電動機狀態包含該電動機當下轉速及該電動機當下環境溫度。The motor drive system as described in claim 1, wherein the controller further receives a temperature information about the ambient temperature of the motor, and the zero recovery characteristic table records the different torque commands, different rotation speeds of the motor and the temperature of the motor. Under different ambient temperatures, the energy loss of the motor can be equal to the current command corresponding to the regenerative energy generated by the motor, and when the controller receives the torque command as a negative torque output, the current command generation unit The torque command, the current speed of the motor and the current ambient temperature of the motor are matched with the zero recovery characteristic table to correspondingly adjust the current command so that the regenerative recovery energy generated by the motor is completely suppressed by the energy loss of the motor, wherein the motor state includes the The current speed of the motor and the current ambient temperature of the motor. 一種電動機驅動系統,包含: 一電動機,包含一第一電動機及一第二電動機; 一驅動電路,包含一第一驅動電路及一第二驅動電路,分別將一輸入電力轉換且供給一第一驅動電流與一第二驅動電流至所對應的該第一與該第二電動機,並分別驅動所對應的該第一電動機與該第二電動機;以及 一控制器,其係包含一扭矩分配單元、一第一控制器及一第二控制器,該扭矩分配單元接收一扭矩命令並對應分配一第一扭矩命令與一第二扭矩命令分別給對應的該第一控制器與該第二控制器;該第一控制器與該第二控制器分別進一步包含一第一電流命令產生單元及一第二電流命令產生單元,該第一與該第二電流命令產生單元分別輸出一第一電流命令與一第二電流命令對應該第一與該第二扭矩命令及一第一與一第二電動機狀態,該第一電流命令係包括一第一d軸電流命令及/或一第一q軸電流命令,該第二電流命令係包括一第二d軸電流命令及/或一第二q軸電流命令,該控制器對應依據該第一與該第二驅動電流座標各自轉換為一d軸電流及/或一q軸電流並控制所對應的該第一與該第二驅動電路使得該第一與該第二驅動電流趨近於該第一與該第二電流命令所對應的該d軸電流及/或該q軸電流; 其中該第一與該第二電流命令產生單元分別包含一第一負扭矩電流特性表與一第二負扭矩電流特性表,該第一與該第二負扭矩電流特性表係分別在所對應的該第一與該第二電動機為負扭矩輸出時依據該第一與該第二電動機狀態將該第一與該第二扭矩命令轉換為該第一電流命令及該第二電流命令; 於該第一控制器接收該第一扭矩命令為負扭矩輸出時,該第一電流命令產生單元依據該第一負扭矩電流特性表輸出對應的該第一電流命令; 於該第二控制器接收該第二扭矩命令為負扭矩輸出時,該第二電流命令產生單元依據該第二負扭矩電流特性表輸出對應的該第二電流命令。 An electric motor drive system including: An electric motor, including a first electric motor and a second electric motor; A drive circuit, including a first drive circuit and a second drive circuit, respectively converts an input power and supplies a first drive current and a second drive current to the corresponding first and second motors, and respectively drive the corresponding first motor and the second motor; and A controller includes a torque distribution unit, a first controller and a second controller. The torque distribution unit receives a torque command and distributes a first torque command and a second torque command to corresponding The first controller and the second controller; the first controller and the second controller respectively further include a first current command generating unit and a second current command generating unit, the first and the second current command generating unit. The command generation unit respectively outputs a first current command and a second current command corresponding to the first and second torque commands and a first and a second motor state. The first current command includes a first d-axis current. command and/or a first q-axis current command, the second current command includes a second d-axis current command and/or a second q-axis current command, the controller corresponds to the first and the second drive The current coordinates are each converted into a d-axis current and/or a q-axis current and the corresponding first and second drive circuits are controlled so that the first and second drive currents approach the first and second drive circuits. The d-axis current and/or the q-axis current corresponding to the current command; The first and second current command generating units respectively include a first negative torque current characteristic table and a second negative torque current characteristic table, and the first and second negative torque current characteristic tables are respectively in the corresponding When the first and second electric motors are in negative torque output, the first and second torque commands are converted into the first current command and the second current command according to the states of the first and second electric motors; When the first controller receives the first torque command as a negative torque output, the first current command generating unit outputs the corresponding first current command according to the first negative torque current characteristic table; When the second controller receives the second torque command as a negative torque output, the second current command generating unit outputs the corresponding second current command according to the second negative torque current characteristic table. 如請求項5所述之電動機驅動系統,其中該第一與該第二負扭矩電流特性表分別包含一第一零回收特性表與一第二零回收特性表,該第一與該第二零回收特性表分別係所對應的該第一與該第二電動機能量損耗與再生回收能量相互抵消下並依據該第一與該第二電動機狀態將該第一與該第二扭矩命令轉換為該第一與該第二電流命令; 於該第一控制器接收該第一扭矩命令為負扭矩輸出時,該第一電流命令產生單元係進一步依據該第一負扭矩電流特性表中的該第一零回收特性表輸出對應的該第一電流命令;以及 於該第二控制器接收該第二扭矩命令為負扭矩輸出時,該第二電流命令產生單元依據該第二負扭矩電流特性表中的該第二零回收特性表輸出對應的該第二電流命令。 The motor drive system of claim 5, wherein the first and second negative torque current characteristic tables respectively include a first zero recovery characteristic table and a second zero recovery characteristic table, and the first and second zero recovery characteristic tables The recovery characteristic table corresponds to the energy loss and regeneration recovery energy of the first and second motors respectively canceling each other out and converting the first and second torque commands into the first and second torque commands according to the states of the first and second motors. one and the second current command; When the first controller receives the first torque command as a negative torque output, the first current command generating unit further outputs the corresponding third value according to the first zero recovery characteristic table in the first negative torque current characteristic table. a current command; and When the second controller receives the second torque command as a negative torque output, the second current command generating unit outputs the corresponding second current according to the second zero recovery characteristic table in the second negative torque current characteristic table. Order. 如請求項6所述之電動機驅動系統,其中更包含一二次電池,該二次電池供給該輸入電力至該驅動電路,該驅動電路由該控制器控制,且輸出該驅動電流給該電動機,或是對該二次電池進行充電; 其中,於該控制器判斷該扭矩命令為負扭矩輸出且該控制器判斷該二次電池的一電池電壓不低於一滿電診斷閥值或該二次電池異常時,該扭矩分配單元對應該扭矩命令分配出該第一與該第二扭矩命令,該第一與該第二電流命令產生單元分別依據該第一與該第二扭矩命令以及該第一與該第二零回收特性表輸出對應的該第一與該第二電流命令。 The motor drive system of claim 6, further comprising a secondary battery, the secondary battery supplies the input power to the drive circuit, the drive circuit is controlled by the controller, and outputs the drive current to the motor, Or charge the secondary battery; Wherein, when the controller determines that the torque command is a negative torque output and the controller determines that a battery voltage of the secondary battery is not lower than a full power diagnosis threshold or the secondary battery is abnormal, the torque distribution unit corresponds to the The first and second torque commands are assigned to the torque command, and the first and second current command generating units respectively output corresponding values according to the first and second torque commands and the first and second zero recovery characteristic tables. the first and the second current command. 如請求項7所述之電動機驅動系統,其中該第二負扭矩電流特性表進一步包含一第二再生回收特性表,該第二再生回收特性表係所對應的該第二電動機的特性並在負扭矩輸出時產生再生回收能量,且依據該第二電動機狀態將該第二扭矩命令轉換為該第二電流命令; 於該控制器判斷該扭矩命令為負扭矩輸出且該控制器判斷該二次電池的一電池電壓低於一滿電診斷閥值時,該扭矩分配單元對應該扭矩命令分配出該第一與該第二扭矩命令,該第一電流命令產生單元依據該第一扭矩命令以及該第一零回收特性表輸出對應的該第一電流命令,該第二電流命令產生單元依據該第二扭矩命令以及該第二再生回收特性表輸出對應的該第二電流命令。 The motor drive system of claim 7, wherein the second negative torque current characteristic table further includes a second regeneration recovery characteristic table, and the second regeneration recovery characteristic table is the corresponding characteristic of the second motor and is used in the negative torque current characteristic table. Regenerative recovery energy is generated during torque output, and the second torque command is converted into the second current command according to the state of the second motor; When the controller determines that the torque command is a negative torque output and the controller determines that a battery voltage of the secondary battery is lower than a full power diagnostic threshold, the torque distribution unit distributes the first and the first torque corresponding to the torque command. The second torque command, the first current command generating unit outputs the corresponding first current command according to the first torque command and the first zero recovery characteristic table, the second current command generating unit outputs the corresponding first current command according to the second torque command and the first zero recovery characteristic table. The second regeneration recovery characteristic table outputs the corresponding second current command. 如請求項8所述之電動機驅動系統,其中該第二再生回收特性表係一每安培最大扭矩表,且該每安培最大扭矩表係在該第二電動機能量損耗最小下並依據該第二電動機狀態將該第二扭矩命令轉換為該第二電流命令。The motor drive system of claim 8, wherein the second regeneration recovery characteristic table is a maximum torque per ampere table, and the maximum torque per ampere table is based on the second motor when the energy loss of the second motor is minimum. The state converts the second torque command to the second current command. 如請求項7所述之電動機驅動系統,其中該第二負扭矩電流特性表進一步包含一耗能特性表,該耗能特性表係所對應的該第二電動機的特性並在負扭矩輸出時需消耗能量,且依據該第二電動機狀態將該第二扭矩命令轉換為該第二電流命令; 於該控制器判斷該扭矩命令為負扭矩輸出且該控制器判斷該二次電池低於一滿電診斷閥值並可正常供電時,該扭矩分配單元對應該扭矩命令分配出該第一與該第二扭矩命令,該第一電流命令產生單元依據該第一扭矩命令以及該第一零回收特性表輸出對應的該第一電流命令,該第二電流命令產生單元依據該第二扭矩命令以及該耗能特性表輸出對應的該第二電流命令。 The motor drive system of claim 7, wherein the second negative torque current characteristic table further includes an energy consumption characteristic table, the energy consumption characteristic table corresponds to the characteristics of the second motor and is required when negative torque is output. Consume energy and convert the second torque command to the second current command according to the second motor state; When the controller determines that the torque command is a negative torque output and the controller determines that the secondary battery is lower than a full power diagnostic threshold and can supply power normally, the torque distribution unit distributes the first and the first battery in response to the torque command. The second torque command, the first current command generating unit outputs the corresponding first current command according to the first torque command and the first zero recovery characteristic table, the second current command generating unit outputs the corresponding first current command according to the second torque command and the first zero recovery characteristic table. The energy consumption characteristic table outputs the corresponding second current command. 如請求項5所述之電動機驅動系統,其中更包含一二次電池,該二次電池供給該輸入電力至該驅動電路,該驅動電路由該控制器控制,且輸出該驅動電流給該電動機,或是對該二次電池進行充電;該第一負扭矩電流特性表進一步包含一第一再生回收特性表,該第一再生回收特性表係所對應的該第一電動機的特性並在負扭矩輸出時產生再生回收能量,且依據該第一電動機狀態將該第一扭矩命令轉換為該第一電流命令;以及該第二負扭矩電流特性表進一步包含一耗能特性表,該耗能特性表係所對應的該第二電動機的特性並在負扭矩輸出時需消耗能量,且依據該第二電動機狀態將該第二扭矩命令轉換為該第二電流命令; 其中,於該控制器判斷該扭矩命令為負扭矩輸出且該控制器判斷該二次電池的一電池電壓低於一滿電診斷閥值並可正常供電時,該扭矩分配單元對應該扭矩命令分配出該第一與該第二扭矩命令,該第一電流命令產生單元依據該第一扭矩命令以及該第一再生回收特性表輸出對應的該第一電流命令,該第二電流命令產生單元依據該第二扭矩命令以及該耗能特性表輸出對應的該第二電流命令。 The motor drive system of claim 5, further comprising a secondary battery, the secondary battery supplies the input power to the drive circuit, the drive circuit is controlled by the controller, and outputs the drive current to the motor, Or charging the secondary battery; the first negative torque current characteristic table further includes a first regeneration recovery characteristic table, the first regeneration recovery characteristic table corresponds to the characteristics of the first electric motor and is used when the negative torque output Regenerative recovery energy is generated when the first motor state is generated, and the first torque command is converted into the first current command according to the first motor state; and the second negative torque current characteristic table further includes an energy consumption characteristic table, the energy consumption characteristic table is Corresponding to the characteristics of the second motor, energy is consumed when outputting negative torque, and the second torque command is converted into the second current command according to the state of the second motor; Wherein, when the controller determines that the torque command is a negative torque output and the controller determines that a battery voltage of the secondary battery is lower than a full-charge diagnosis threshold and can supply power normally, the torque distribution unit distributes the torque command correspondingly. The first and second torque commands are output, the first current command generating unit outputs the corresponding first current command according to the first torque command and the first regeneration recovery characteristic table, and the second current command generating unit outputs the corresponding first current command according to the first regeneration recovery characteristic table. The second torque command and the energy consumption characteristic table output the corresponding second current command. 如請求項5所述之電動機驅動系統,其中該第一負扭矩電流特性表進一步包含一第一再生回收特性表,該第一再生回收特性表係所對應的該第一電動機的特性並在負扭矩輸出時產生再生回收能量,且依據該第一電動機狀態將該第一扭矩命令轉換為該第一電流命令;以及該第二負扭矩電流特性表進一步包含一耗能特性表,該耗能特性表係所對應的該第二電動機的特性並在負扭矩輸出時需消耗能量,且依據該第二電動機狀態將該第二扭矩命令轉換為該第二電流命令; 其中,於該控制器判斷該扭矩命令為負扭矩輸出時,該扭矩分配單元對應該扭矩命令分配出該第一與該第二扭矩命令,該第一電流命令產生單元依據該第一扭矩命令以及該第一再生回收特性表輸出對應的該第一電流命令,該第二電流命令產生單元依據該第二扭矩命令以及該耗能特性表輸出對應的該第二電流命令; 其中,該第一電動機產生再生回收能量與該第二電動機消耗能量相互抵消。 The motor drive system of claim 5, wherein the first negative torque current characteristic table further includes a first regeneration recovery characteristic table, and the first regeneration recovery characteristic table corresponds to the characteristics of the first motor and is used in the negative torque current characteristic table. Regenerative energy is generated during torque output, and the first torque command is converted into the first current command according to the first motor state; and the second negative torque current characteristic table further includes an energy consumption characteristic table, the energy consumption characteristic table The table corresponds to the characteristics of the second motor and consumes energy when outputting negative torque, and converts the second torque command into the second current command according to the state of the second motor; Wherein, when the controller determines that the torque command is a negative torque output, the torque distribution unit distributes the first and second torque commands corresponding to the torque command, and the first current command generation unit is based on the first torque command and The first regeneration recovery characteristic table outputs the corresponding first current command, and the second current command generating unit outputs the corresponding second current command according to the second torque command and the energy consumption characteristic table; Wherein, the regenerative recovery energy generated by the first electric motor and the energy consumed by the second electric motor offset each other. 如請求項6所述之電動機驅動系統,其中該第一控制器更接收關於該第一電動機環境溫度的一第一溫度資訊,且該第一零回收特性表紀錄了在不同的該第一扭矩命令、該第一電動機不同的轉速及該第一電動機不同的環境溫度下,能讓該第一電動機的能量損耗等於該第一電動機產生的再生回收能量所對應的該第一電流命令,該第二控制器更接收關於該第二電動機的環境溫度的一第二溫度資訊,該第二零回收特性表紀錄了在不同的該第二扭矩命令、該第二電動機不同的轉速及該第二電動機不同的環境溫度下,能讓該第二電動機的能量損耗等於該第二電動機產生的再生回收能量所對應的該第二電流命令,其中該第一電動機狀態包含該第一電動機當下轉速及該第一電動機當下環境溫度,該第二電動機狀態包含該第二電動機當下轉速及該第二電動機當下環境溫度。The motor drive system of claim 6, wherein the first controller further receives a first temperature information about the ambient temperature of the first motor, and the first zero recovery characteristic table records the first torque at different times. command, different rotation speeds of the first motor and different ambient temperatures of the first motor, the energy loss of the first motor can be equal to the first current command corresponding to the regenerative energy generated by the first motor, and the first current command The two controllers further receive a second temperature information about the ambient temperature of the second motor, and the second zero recovery characteristic table records the different second torque commands, different rotation speeds of the second motor, and the second zero recovery characteristic table. Under different ambient temperatures, the energy loss of the second motor can be equal to the second current command corresponding to the regenerative energy generated by the second motor, wherein the first motor state includes the current rotation speed of the first motor and the third A current ambient temperature of the motor, and the second motor state includes the current rotation speed of the second motor and the current ambient temperature of the second motor. 如請求項5所述之電動機驅動系統,其中更包含一二次電池,該二次電池供給該輸入電力至該驅動電路,該驅動電路由該控制器控制,且輸出該驅動電流給該電動機,或是對該二次電池進行充電; 其中,該控制器判斷該扭矩命令為負扭矩輸出時,該控制器係依據以該二次電池的一電池電壓低於預設的一參考電壓區間選擇進行該二次電池充電的一限制電流充電模式,且該控制器係依據以該二次電池的該電池電壓不低於該參考電壓區間選擇進行該二次電池充電的一限制電壓充電模式; 其中在該限制電流充電模式下,該控制器控制該驅動電路提供該二次電池的電池電流不高於該參考電流區間,在該限制電壓充電模式下,該控制器控制該驅動電路提供該二次電池的電池電壓不高於該參考電壓區間。 The motor drive system of claim 5, further comprising a secondary battery, the secondary battery supplies the input power to the drive circuit, the drive circuit is controlled by the controller, and outputs the drive current to the motor, Or charge the secondary battery; Wherein, when the controller determines that the torque command is a negative torque output, the controller selects a limited current charging method for charging the secondary battery based on a battery voltage of the secondary battery being lower than a preset reference voltage interval. mode, and the controller selects a limited voltage charging mode for charging the secondary battery based on the battery voltage of the secondary battery not being lower than the reference voltage range; In the limited current charging mode, the controller controls the driving circuit to provide the battery current of the secondary battery not higher than the reference current interval. In the limited voltage charging mode, the controller controls the driving circuit to provide the secondary battery with a battery current not higher than the reference current interval. The battery voltage of the secondary battery is not higher than this reference voltage range. 如請求項14所述之電動機驅動系統,其中該參考電壓區間進一步包括一第一參考電壓區間以及小於該第一參考電壓區間的一第二參考電壓區間;該參考電流區間進一步包括一第一參考電流區間以及小於該第一參考電流區間的一第二參考電流區間;及該限制電流充電模式進一步包括一第一限制電流充電模式與一第二限制電流充電模式; 其中,該第一限制電流充電模式下,該控制器控制該驅動電路提供該二次電池的電池電流不高於該第一參考電流區間;及該第二限制電流充電模式下,該控制器控制該驅動電路提供該二次電池的電池電流不高於該第二參考電流區間; 其中,該控制器判斷該扭矩命令為負扭矩輸出時,該控制器係依據以該二次電池的該電池電壓低於該第一參考電壓區間且不低於該第二參考電壓區間選擇進行該二次電池充電的該第一限制電流充電模式;及該控制器係依據以該二次電池的該電池電壓低於該第二參考電壓區間選擇進行該二次電池充電的該第二限制電流充電模式。 The motor drive system of claim 14, wherein the reference voltage interval further includes a first reference voltage interval and a second reference voltage interval smaller than the first reference voltage interval; the reference current interval further includes a first reference voltage interval. current interval and a second reference current interval smaller than the first reference current interval; and the limited current charging mode further includes a first limited current charging mode and a second limited current charging mode; Wherein, in the first limited current charging mode, the controller controls the drive circuit to provide the battery current of the secondary battery not higher than the first reference current range; and in the second limited current charging mode, the controller controls The driving circuit provides that the battery current of the secondary battery is not higher than the second reference current interval; Wherein, when the controller determines that the torque command is a negative torque output, the controller selects the battery voltage of the secondary battery to be lower than the first reference voltage interval and not lower than the second reference voltage interval. The first limited current charging mode of secondary battery charging; and the controller selects the second limited current charging of the secondary battery based on the battery voltage of the secondary battery being lower than the second reference voltage interval. model. 如請求項14所述之電動機驅動系統,其中該第一負扭矩電流特性表進一步包含一第一再生回收特性表,該第一再生回收特性表係所對應的該第一電動機的特性並在負扭矩輸出時產生再生回收能量,且依據該第一電動機狀態將該第一扭矩命令轉換為該第一電流命令;該扭矩分配單元對應該扭矩命令分配出該第一與該第二扭矩命令,且該第一扭矩命令匹配該扭矩命令,該第二扭矩命令係對應無扭矩輸出;及該第一電流命令產生單元分別依據該第一扭矩命令以及該第一再生回收特性表輸出對應的該第一電流命令,且該第一電動機產生的再生回收能量使得該驅動電路輸出電力係符合該二次電池的該限制電流充電模式或該限制電壓充電模式。The motor drive system of claim 14, wherein the first negative torque current characteristic table further includes a first regeneration recovery characteristic table, and the first regeneration recovery characteristic table corresponds to the characteristics of the first motor and is used in the negative torque current characteristic table. Regenerative recovery energy is generated during torque output, and the first torque command is converted into the first current command according to the first motor state; the torque distribution unit distributes the first and second torque commands corresponding to the torque command, and The first torque command matches the torque command, the second torque command corresponds to no torque output; and the first current command generating unit outputs the corresponding first current command according to the first torque command and the first regeneration recovery characteristic table respectively. The current command and the regenerative recovery energy generated by the first motor make the output power of the drive circuit comply with the limited current charging mode or the limited voltage charging mode of the secondary battery. 如請求項14所述之電動機驅動系統,其中該第一負扭矩電流特性表進一步包含一第一再生回收特性表,該第一再生回收特性表係所對應的該第一電動機的特性並在負扭矩輸出時產生再生回收能量,且依據該第一電動機狀態將該第一扭矩命令轉換為該第一電流命令;該第二負扭矩電流特性表進一步包含一第二零回收特性表,該第二零回收特性表係所對應的該第二電動機能量損耗與再生回收能量相互抵消下並依據該第二電動機狀態將該第二扭矩命令轉換為該第二電流命令;該扭矩分配單元對應該扭矩命令分配出該第一與該第二扭矩命令,且該第一扭矩命令與該第二扭矩命令所對應的扭矩輸出係匹配該扭矩命令所對應的扭矩輸出;該第一電流命令產生單元分別依據該第一扭矩命令以及該第一再生回收特性表輸出對應的該第一電流命令,且該第二電流命令產生單元分別依據該第二扭矩命令以及該第二零回收特性表輸出對應的該第二電流命令;及該第一電動機產生的再生回收能量使得該驅動電路輸出電力係符合該二次電池的該限制電流充電模式或該限制電壓充電模式。The motor drive system of claim 14, wherein the first negative torque current characteristic table further includes a first regeneration recovery characteristic table, and the first regeneration recovery characteristic table corresponds to the characteristics of the first motor and is used in the negative torque current characteristic table. Regenerative recovery energy is generated during torque output, and the first torque command is converted into the first current command according to the first motor state; the second negative torque current characteristic table further includes a second zero recovery characteristic table, the second The zero recovery characteristic table corresponds to the energy loss and regeneration recovery energy of the second motor canceling each other out and converting the second torque command into the second current command according to the state of the second motor; the torque distribution unit corresponds to the torque command The first and second torque commands are allocated, and the torque output corresponding to the first torque command and the second torque command matches the torque output corresponding to the torque command; the first current command generating unit is respectively based on the The first torque command and the first regeneration recovery characteristic table output the corresponding first current command, and the second current command generating unit outputs the corresponding second current command according to the second torque command and the second zero recovery characteristic table respectively. The current command; and the regenerated energy generated by the first motor makes the output power of the drive circuit comply with the limited current charging mode or the limited voltage charging mode of the secondary battery. 如請求項14所述之電動機驅動系統,其中該第一與該第二負扭矩電流特性表分別進一步包含一第一再生回收特性表與一第二再生回收特性表,該第一與該第二再生回收特性表係所對應的該第一與該第二電動機的特性並在負扭矩輸出時產生再生回收能量,且依據該第一與該第二電動機狀態將該第一與該第二扭矩命令轉換為該第一與該第二電流命令;該扭矩分配單元對應該扭矩命令分配出該第一與該第二扭矩命令,且該第一扭矩命令與該第二扭矩命令所對應的扭矩輸出係匹配該扭矩命令所對應的扭矩輸出;及該第一與該第二電流命令產生單元分別依據該第一與該第二扭矩命令以及該第一與該第二再生回收特性表輸出對應的該第一與該第二電流命令;及該第一電動機與該第二電動機產生的再生回收能量使得該驅動電路輸出電力係符合該二次電池的該限制電流充電模式或該限制電壓充電模式。The electric motor drive system of claim 14, wherein the first and second negative torque current characteristic tables further include a first regeneration recovery characteristic table and a second regeneration recovery characteristic table, respectively. The regenerative recovery characteristic table corresponds to the characteristics of the first and second electric motors and generates regenerative recovery energy when negative torque is output, and the first and second torque commands are generated according to the states of the first and second electric motors. Convert to the first and second current commands; the torque distribution unit distributes the first and second torque commands corresponding to the torque command, and the torque output system corresponding to the first torque command and the second torque command Match the torque output corresponding to the torque command; and the first and second current command generating units respectively output the corresponding third current command according to the first and second torque commands and the first and second regeneration recovery characteristic tables. and the second current command; and the regenerative energy generated by the first motor and the second motor makes the output power of the drive circuit comply with the limited current charging mode or the limited voltage charging mode of the secondary battery. 如請求項14所述之電動機驅動系統,其中該第一負扭矩電流特性表進一步包含一第一再生回收特性表,該第一再生回收特性表係所對應的該第一電動機的特性並在負扭矩輸出時產生再生回收能量,且依據該第一電動機狀態將該第一扭矩命令轉換為該第一電流命令;該第二負扭矩電流特性表進一步包含一耗能特性表,該耗能特性表係所對應的該第二電動機的特性並在負扭矩輸出時需消耗能量,且依據該第二電動機狀態將該第二扭矩命令轉換為該第二電流命令;該扭矩分配單元對應該扭矩命令分配出該第一與該第二扭矩命令,且該第一扭矩命令與該第二扭矩命令所對應的扭矩輸出係匹配該扭矩命令所對應的扭矩輸出;及該第一電流命令產生單元分別依據該第一扭矩命令以及該第一再生回收特性表輸出對應的該第一電流命令,且該第二電流命令產生單元分別依據該第二扭矩命令以及該耗能特性表輸出對應的該第二電流命令;及該第一電動機的再生回收能量抵消該第二電動機的消耗能量使得該驅動電路輸出電力係符合該二次電池的該限制電流充電模式或該限制電壓充電模式。The motor drive system of claim 14, wherein the first negative torque current characteristic table further includes a first regeneration recovery characteristic table, and the first regeneration recovery characteristic table corresponds to the characteristics of the first motor and is used in the negative torque current characteristic table. Regenerative energy is generated during torque output, and the first torque command is converted into the first current command according to the first motor state; the second negative torque current characteristic table further includes an energy consumption characteristic table, and the energy consumption characteristic table It corresponds to the characteristics of the second motor and consumes energy when outputting negative torque, and converts the second torque command into the second current command according to the state of the second motor; the torque distribution unit distributes the torque command correspondingly The first and second torque commands are generated, and the torque output corresponding to the first torque command and the second torque command matches the torque output corresponding to the torque command; and the first current command generating unit is respectively based on the The first torque command and the first regeneration recovery characteristic table output the corresponding first current command, and the second current command generating unit outputs the corresponding second current command according to the second torque command and the energy consumption characteristic table respectively. ; And the regenerated energy of the first motor offsets the energy consumption of the second motor so that the output power of the drive circuit is consistent with the limited current charging mode or the limited voltage charging mode of the secondary battery. 一種扭矩分配方法,應用於如請求項14-19的任一項的該電動機驅動系統的該控制器的該扭矩分配單元中,該扭矩分配方法包含步驟: (s10) 依據該扭矩命令進行該第一扭矩命令的計算; (s11) 判斷該二次電池的一電池電壓是否大於預設的一參考電壓; (s12) 當該步驟(s11)的判斷結果為該電池電壓大於該參考電壓時,加大該參考電流; (s13) 判斷該參考電流是否大於一最大充電電流命令; (s14) 當該步驟(s13)的判斷結果為該參考電流大於該最大充電電流命令時,限制該參考電流等於該最大充電電流命令; (s15) 判斷該參考電流是否大於該二次電池的一電池電流; (s16)當該步驟(s15)的判斷結果為該參考電流大於該電池電流時,加大該第一扭矩命令; (s17)判斷該第一扭矩命令是否大於該扭矩命令; (s18)當該步驟(s17)的判斷結果為該第一扭矩命令大於該扭矩命令時,限制該第一扭矩命令等於該扭矩命令; (s19)輸出該第一扭矩命令; (s20)依據該扭矩命令與該第一扭矩命令兩者的相減結果輸出該第二扭矩命令; (s21) 當該步驟(s11)的判斷結果為該電池電壓不大於該參考電壓時,減小該參考電流,並執行該步驟(s15);以及 (s22) 當該步驟(s15)的判斷結果為該參考電流不大於該電池電流時,減小該第一扭矩命令,並執行該步驟(s19); 其中當該步驟(s13)的判斷結果為該參考電流不大於該最大充電電流命令時,執行該步驟(S15)。 A torque distribution method, applied in the torque distribution unit of the controller of the electric motor drive system as in any one of claims 14-19, the torque distribution method includes the steps: (s10) Calculate the first torque command based on the torque command; (s11) Determine whether a battery voltage of the secondary battery is greater than a preset reference voltage; (s12) When the judgment result of step (s11) is that the battery voltage is greater than the reference voltage, increase the reference current; (s13) Determine whether the reference current is greater than a maximum charging current command; (s14) When the judgment result of step (s13) is that the reference current is greater than the maximum charging current command, limit the reference current to be equal to the maximum charging current command; (s15) Determine whether the reference current is greater than a battery current of the secondary battery; (s16) When the judgment result of step (s15) is that the reference current is greater than the battery current, increase the first torque command; (s17) Determine whether the first torque command is greater than the torque command; (s18) When the judgment result of step (s17) is that the first torque command is greater than the torque command, limit the first torque command to be equal to the torque command; (s19) Output the first torque command; (s20) Output the second torque command based on the subtraction result of the torque command and the first torque command; (s21) When the judgment result of step (s11) is that the battery voltage is not greater than the reference voltage, reduce the reference current and execute this step (s15); and (s22) When the judgment result of step (s15) is that the reference current is not greater than the battery current, reduce the first torque command and execute this step (s19); When the judgment result of step (s13) is that the reference current is not greater than the maximum charging current command, this step (S15) is executed. 如請求項20所述之扭矩分配方法,其中該最大充電電流命令依據該二次電池當下該電池電壓的電壓範圍而有不同數值。The torque distribution method of claim 20, wherein the maximum charging current command has different values according to the current voltage range of the battery voltage of the secondary battery.
TW111133664A 2022-09-06 2022-09-06 Motor driving system and torque distribution method TWI820894B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW111133664A TWI820894B (en) 2022-09-06 2022-09-06 Motor driving system and torque distribution method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW111133664A TWI820894B (en) 2022-09-06 2022-09-06 Motor driving system and torque distribution method

Publications (2)

Publication Number Publication Date
TWI820894B true TWI820894B (en) 2023-11-01
TW202411089A TW202411089A (en) 2024-03-16

Family

ID=89722296

Family Applications (1)

Application Number Title Priority Date Filing Date
TW111133664A TWI820894B (en) 2022-09-06 2022-09-06 Motor driving system and torque distribution method

Country Status (1)

Country Link
TW (1) TWI820894B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150115850A1 (en) * 2012-06-15 2015-04-30 Danfoss Drives A/S Variable torque angle for electric motor
CN107112939A (en) * 2015-01-08 2017-08-29 三星电子株式会社 Equipment and its control method for motor
TW201817153A (en) * 2016-10-19 2018-05-01 台達電子工業股份有限公司 Synchronous motor control circuit and control method
CN109194221A (en) * 2018-11-16 2019-01-11 福州大学 A kind of novel permanent magnet synchronous motor is tabled look-up field weakening control method
TW202027403A (en) * 2019-01-08 2020-07-16 台達電子工業股份有限公司 Motor controlling method and device
CN109039197B (en) * 2018-07-24 2022-01-07 上海大郡动力控制技术有限公司 Correction method for temperature influence of output torque of permanent magnet synchronous motor
US20220231624A1 (en) * 2019-05-30 2022-07-21 Aiswarya BALAMURALl Motor drive optimization system and method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150115850A1 (en) * 2012-06-15 2015-04-30 Danfoss Drives A/S Variable torque angle for electric motor
CN107112939A (en) * 2015-01-08 2017-08-29 三星电子株式会社 Equipment and its control method for motor
TW201817153A (en) * 2016-10-19 2018-05-01 台達電子工業股份有限公司 Synchronous motor control circuit and control method
CN109039197B (en) * 2018-07-24 2022-01-07 上海大郡动力控制技术有限公司 Correction method for temperature influence of output torque of permanent magnet synchronous motor
CN109194221A (en) * 2018-11-16 2019-01-11 福州大学 A kind of novel permanent magnet synchronous motor is tabled look-up field weakening control method
TW202027403A (en) * 2019-01-08 2020-07-16 台達電子工業股份有限公司 Motor controlling method and device
US20220231624A1 (en) * 2019-05-30 2022-07-21 Aiswarya BALAMURALl Motor drive optimization system and method

Also Published As

Publication number Publication date
TW202411089A (en) 2024-03-16

Similar Documents

Publication Publication Date Title
JP6681002B2 (en) Power control device for hybrid vehicle
US11318848B2 (en) Vehicle power supply system
CN110315988B (en) Vehicle power supply system
CN102958745B (en) Electric automobile
US10252618B2 (en) Backup electrical supply for main capacitor discharge
CN110315998A (en) Vehicular power supply system
CN110316018B (en) Vehicle power supply system
US20140111120A1 (en) Vehicle, power supply system, and method for controlling power supply system
JP2013038910A (en) Power supply system and vehicle including the same
CN110316019B (en) Vehicle power supply system
CN102834280A (en) Power supply system and vehicle equipped with power supply system
CN110315999B (en) Vehicle Power System
WO2015071721A1 (en) Charging and discharging system and vehicle used therein
CN110315976A (en) Vehicular power supply system
WO2020001265A1 (en) External charging method and device for vehicle
CN103818265A (en) Battery management device used on power communication medium
JP2013051831A (en) Power source control device of electric vehicle
JPWO2011118019A1 (en) Power converter
TWI820894B (en) Motor driving system and torque distribution method
JP2014155298A (en) Power supply system, and vehicle mounting the same
JP2006033966A (en) Electric motor drive
JP7099132B2 (en) Rotating electric machine control system
JP2018027733A (en) Charge controller of hybrid vehicle
JP7798046B2 (en) vehicle
US11718201B2 (en) Motor vehicle