TW201945220A - Drive device, drive method, drive program, and electric vehicle - Google Patents

Drive device, drive method, drive program, and electric vehicle Download PDF

Info

Publication number
TW201945220A
TW201945220A TW108110694A TW108110694A TW201945220A TW 201945220 A TW201945220 A TW 201945220A TW 108110694 A TW108110694 A TW 108110694A TW 108110694 A TW108110694 A TW 108110694A TW 201945220 A TW201945220 A TW 201945220A
Authority
TW
Taiwan
Prior art keywords
signal
interval
signal interval
motor
rotation speed
Prior art date
Application number
TW108110694A
Other languages
Chinese (zh)
Other versions
TWI689427B (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 日商新電元工業股份有限公司
Publication of TW201945220A publication Critical patent/TW201945220A/en
Application granted granted Critical
Publication of TWI689427B publication Critical patent/TWI689427B/en

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01PMEASURING LINEAR OR ANGULAR SPEED, ACCELERATION, DECELERATION, OR SHOCK; INDICATING PRESENCE, ABSENCE, OR DIRECTION, OF MOVEMENT
    • G01P21/00Testing or calibrating of apparatus or devices covered by the preceding groups
    • G01P21/02Testing or calibrating of apparatus or devices covered by the preceding groups of speedometers
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P6/00Arrangements for controlling synchronous motors or other dynamo-electric motors using electronic commutation dependent on the rotor position; Electronic commutators therefor
    • H02P6/14Electronic commutators
    • H02P6/16Circuit arrangements for detecting position
    • H02P6/17Circuit arrangements for detecting position and for generating speed information
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/60Other road transportation technologies with climate change mitigation effect
    • Y02T10/64Electric machine technologies in electromobility
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/60Other road transportation technologies with climate change mitigation effect
    • Y02T10/72Electric energy management in electromobility

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Electric Propulsion And Braking For Vehicles (AREA)
  • Control Of Motors That Do Not Use Commutators (AREA)

Abstract

An electric vehicle control device 1 according to an embodiment is provided with: a signal receiving unit 11 for receiving a signal coming at intervals in accordance with the rotational speed of a motor 3; a signal interval variation calculation unit 12 for calculating a signal interval variation that is the difference between a first signal interval [Delta]T1 and a second signal interval [Delta]T2; a signal interval correction unit 13 for correcting the first signal interval [Delta]T1 on the basis of the signal interval variation; a rotational speed calculation unit 14 for calculating an instantaneous rotational speed of the motor 3 on the basis of the corrected first signal interval [Delta]Ta; and a motor control unit 15 for controlling the motor 3 on the basis of the calculated instantaneous rotational speed.

Description

驅動裝置、驅動方法、驅動程式以及電動車輛Driving device, driving method, driving program and electric vehicle

本發明涉及驅動裝置、驅動方法、驅動程式以及電動車輛。The present invention relates to a driving device, a driving method, a driving program, and an electric vehicle.

在電動兩輪車(兩輪EV)等電動車輛上一般包括:用於驅動車輪的電機、以及具有用於控制電機的控制部的驅動裝置。由於電動車輛在檔位(Gear)固定的情况下從低轉數域至高轉數域都能夠獲得所需要的扭矩,因此行業內近年來正在研究不設置離合器的電動車輛。對於這種無離合器(Clutchless)的電動車輛來說,其電機將直接承受在以往的電動車輛中被離合器所阻斷的來自於車輪外部的外力。Electric vehicles such as electric two-wheeled vehicles (two-wheel EVs) generally include a motor for driving wheels and a driving device having a control section for controlling the motor. Since electric vehicles can obtain the required torque from the low-revolution range to the high-revolution range when the gear is fixed, the industry is currently researching electric vehicles without a clutch. For such a clutchless electric vehicle, its motor will directly withstand the external force from the outside of the wheel that was blocked by the clutch in conventional electric vehicles.

在專利文獻1中,記載了一種控制裝置,其被用於藉由將電機輸出的動力經由變速箱傳達至驅動輪來行進的車輛上。該控制裝置所具備的控制部具有提取用於表示驅動電機的振動或噪音的訊號的多個過濾器。該控制部根據車輛狀態的變化在由各個過濾器提取出的訊號之間附加權重,並基於被附加了權重的訊號對扭矩指令值進行補正。Patent Document 1 describes a control device for a vehicle traveling by transmitting power output from a motor to a drive wheel via a gearbox. The control unit included in the control device includes a plurality of filters for extracting signals indicating vibration or noise of the drive motor. The control unit adds weights to the signals extracted by the filters according to changes in the vehicle state, and corrects the torque command value based on the weighted signals.

【先行技術文獻】[Advanced technical literature]

【專利文獻1】特許公開2016-132443號公報[Patent Document 1] Patent Publication No. 2016-132443

在電動車輛電機的定子處,設置有用於檢測轉子的旋轉位置的旋轉位置感測器。驅動裝置的控制部從旋轉位置感測器處按照每個規定的電角度來接收上升沿訊號或下降沿訊號(以下也稱爲「感測器訊號」)。控制部根據該感測器訊號來把握電機的旋轉速度,並進行電機的控制。At the stator of the electric vehicle motor, a rotation position sensor for detecting a rotation position of the rotor is provided. The control unit of the driving device receives a rising edge signal or a falling edge signal (hereinafter also referred to as a "sensor signal") from the rotary position sensor at each predetermined electrical angle. The control unit grasps the rotation speed of the motor based on the sensor signal and controls the motor.

電動車輛有時會因基於路面狀况等的擾動,導致接收到早於電動車輛的加減速而變化的高頻噪聲。特別是無離合器的電動車輛由於電機會直接承受來自路面的外力,因此高頻噪聲會對電機控制造成很大的影響。即,一旦接收高頻噪聲,就會因其影響導致接收感測器訊號的時間點發生搖擺。其結果就是,感測器訊號之間的時間間隔(以下也稱爲「訊號間隔」)的精度降低,從而無法適宜地進行電機控制。An electric vehicle may receive high-frequency noise that changes earlier than the acceleration and deceleration of the electric vehicle due to disturbances such as road conditions. Especially for electric vehicles without clutches, since the motor will directly withstand external forces from the road, high-frequency noise will have a great impact on motor control. That is, once high-frequency noise is received, it will sway at the time point when the sensor signal is received due to its influence. As a result, the accuracy of the time interval between sensor signals (hereinafter also referred to as the "signal interval") is reduced, making it impossible to perform appropriate motor control.

爲了避免高頻噪聲的影響,可以考慮將多個訊號間隔的值平均化以後再用於電機控制。但是,這樣一來又會産生出電機控制速度下降的問題。In order to avoid the influence of high frequency noise, you can consider averaging the values of multiple signal intervals and then use it for motor control. However, in this case, the problem that the speed of the motor control is reduced will arise.

本發明的目的是提供一種驅動裝置、驅動方法、驅動程式以及電動車輛,能夠在不降低電機的控制速度的情况下,適宜地驅動負載。An object of the present invention is to provide a driving device, a driving method, a driving program, and an electric vehicle, which can appropriately drive a load without reducing the control speed of the motor.

本發明涉及的驅動裝置的特徵在於,包括:The driving device according to the present invention is characterized by comprising:

訊號接收部,接收按照與驅動負載的電機的旋轉速度相應的間隔到來的訊號;The signal receiving unit receives signals that arrive at intervals corresponding to the rotation speed of the motor driving the load;

訊號間隔變化量計算部,計算出作爲第一訊號間隔與第二訊號間隔之間的差的訊號間隔變化量,第一訊號間隔是由訊號接收部剛接收到的第一訊號的接收時間點與早於該第一訊號而接收到的第二訊號的接收時間點之間的訊號間隔,第二訊號間隔是第二訊號的接收時間點與早於該第二訊號而接收到的第三訊號的接收時間點之間的訊號間隔;The signal interval change amount calculation unit calculates a signal interval change amount which is the difference between the first signal interval and the second signal interval. The first signal interval is the reception time point of the first signal just received by the signal receiving unit and The signal interval between the reception time point of the second signal received earlier than the first signal, and the second signal interval is the time interval between the reception time point of the second signal and the third signal received earlier than the second signal. Signal interval between receiving time points;

訊號間隔補正部,根據訊號間隔變化量對第一訊號間隔進行補正;The signal interval correction section corrects the first signal interval according to the signal interval variation;

旋轉速度計算部,根據補正後的第一訊號間隔計算出電機的瞬時旋轉速度;以及The rotation speed calculation unit calculates the instantaneous rotation speed of the motor based on the corrected first signal interval; and

電機控制部,根據計算出的瞬時旋轉速度對電機進行控制。The motor control unit controls the motor based on the calculated instantaneous rotation speed.

在驅動裝置中,訊號間隔補正部藉由:求得與訊號間隔變化量相應的權重係數,並將該權重係數與訊號間隔變化量相乘,並將與權重係數相乘後的訊號間隔變化量與第二訊號間隔相加,來對第一訊號間隔進行補正。In the driving device, the signal interval correction unit obtains a weight coefficient corresponding to the signal interval change amount, multiplies the weight coefficient by the signal interval change amount, and multiplies the signal interval change amount by the weight coefficient. Add to the second signal interval to correct the first signal interval.

在驅動裝置中,權重係數隨訊號間隔變化量的絕對值變大而變小。In the driving device, the weight coefficient becomes smaller as the absolute value of the change amount of the signal interval becomes larger.

在驅動裝置中,權重係數的減少量隨訊號間隔變化量的絕對值變大而變小。In the driving device, the reduction amount of the weight coefficient becomes smaller as the absolute value of the change amount of the signal interval becomes larger.

在驅動裝置中,訊號間隔變化量爲0時的權重係數的值爲1。In the driving device, the value of the weighting coefficient when the signal interval change amount is 0 is 1.

在驅動裝置中,當訊號間隔變化量的絕對值處於規定範圍內時,權重係數爲1,當訊號間隔變化量的絕對值處於規定範圍外時,權重係數隨絕對值變大而變小。In the driving device, when the absolute value of the change amount of the signal interval is within the prescribed range, the weight coefficient is 1, and when the absolute value of the change amount of the signal interval is outside the prescribed range, the weight coefficient becomes smaller as the absolute value becomes larger.

在驅動裝置中,在第二訊號是在第一訊號之前接收到的那一個訊號並且第三訊號是在第二訊號之前接收到的那一個訊號的情况下,旋轉速度計算部藉由以下公式來計算瞬時旋轉速度:
n=60000/(ΔTa×Np)
In the drive device, in the case where the second signal is the signal received before the first signal and the third signal is the signal received before the second signal, the rotation speed calculation section uses the following formula Calculate instantaneous rotation speed:
n = 60000 / (ΔTa × Np)

上述公式中,n表示瞬時旋轉速度(rpm),ΔTa表示補正後的第一訊號間隔(mSec】,Np表示電機在以電角度旋轉一周的期間內訊號接收部接收到的訊號的數量。In the above formula, n represents the instantaneous rotation speed (rpm), ΔTa represents the first signal interval (mSec) after correction, and Np represents the number of signals received by the signal receiving section during a period of one rotation of the motor at an electrical angle.

在驅動裝置中,在訊號接收部接收到第一訊號的情况下,訊號間隔變化量計算部將:在第一訊號與第二訊號之間按照監視時間間隔進行計數後的第一計數數量與在第二訊號與第三訊號之間按照監視時間間隔進行計數後的第二計數數量之間的計數數量差作爲訊號間隔變化量來計算出,訊號間隔補正部藉由:求得與計數數量差相應的權重係數,並將該權重係數與計數數量差相乘,並將與權重係數相乘後的計數數量差與第二計數數量相加,來對第一計數數量進行補正。In the driving device, when the signal receiving unit receives the first signal, the signal interval change calculation unit will: The first count number after counting between the first signal and the second signal according to the monitoring time interval and the The difference between the counted number between the second signal and the third signal after the second counted number is counted according to the monitoring time interval is calculated as the change amount of the signal interval. The signal interval correction unit obtains a value corresponding to the difference in the counted number by: And multiplying the weight coefficient by the difference between the counts, and adding the difference between the counts after multiplying the weight coefficient and the second count, to correct the first count.

在驅動裝置中,監視時間間隔比電機的旋轉速度處於最大時訊號接收部所接收的訊號的時間間隔更短。In the driving device, the monitoring time interval is shorter than the time interval of the signal received by the signal receiving section when the rotation speed of the motor is at the maximum.

在驅動裝置中,訊號間隔變化量計算部在計算出計數數量差後,重置第一計數數量。In the driving device, the signal interval change amount calculation unit resets the first count number after calculating the difference in count numbers.

在驅動裝置中,訊號接收部接收的訊號是從設置在電機處的旋轉位置感測器所輸出的脈衝訊號的上升沿訊號或下降沿訊號。In the driving device, the signal received by the signal receiving unit is a rising edge signal or a falling edge signal of a pulse signal output from a rotary position sensor provided at the motor.

本發明涉及的電動車輛的特徵在於,包括:申請專利範圍第1項中所記載的,並且負載爲電動車輛的車輪的驅動裝置。The electric vehicle according to the present invention is characterized in that it includes a driving device described in item 1 of the scope of patent application and the load is a wheel of the electric vehicle.

在電動車輛中,車輪與電機在不經由離合器的情况下機械連接。In electric vehicles, the wheels and the motor are mechanically connected without passing through a clutch.

本發明涉及的驅動方法的特徵在於,包括:The driving method according to the present invention is characterized by comprising:

訊號接收部接收按照與驅動負載的電機的旋轉速度相應的間隔到來的訊號的步驟;訊號間隔變化量計算部計算出作爲第一訊號間隔與第二訊號間隔之間的差的訊號間隔變化量的步驟,第一訊號間隔是由訊號接收部剛接收到的第一訊號的接收時間點與早於該第一訊號而接收到的第二訊號的接收時間點之間的訊號間隔,第二訊號間隔是第二訊號的接收時間點與早於該第二訊號而接收到的第三訊號的接收時間點之間的訊號間隔;訊號間隔補正部根據所述訊號間隔變化量對第一訊號間隔進行補正的步驟;旋轉速度計算部根據補正後的第一訊號間隔計算出電機的瞬時旋轉速度的步驟 ;以及電機控制部根據計算出的瞬時旋轉速度對電機進行控制的步驟。The step of the signal receiving unit receiving a signal that arrives at an interval corresponding to the rotation speed of the motor that drives the load; the signal interval variation calculation unit calculates the amount of the signal interval change that is the difference between the first signal interval and the second signal interval. Step, the first signal interval is the signal interval between the reception time point of the first signal just received by the signal receiving section and the reception time point of the second signal received earlier than the first signal, and the second signal interval Is the signal interval between the reception time point of the second signal and the reception time point of the third signal received earlier than the second signal; the signal interval correction section corrects the first signal interval according to the change amount of the signal interval A step of calculating the instantaneous rotation speed of the motor based on the corrected first signal interval by the rotation speed calculation unit; and a step of controlling the motor by the motor control unit based on the calculated instantaneous rotation speed.

本發明涉及的驅動程式的特徵在於:The driver according to the present invention is characterized by:

使計算機執行:訊號接收部接收按照與驅動負載的電機的旋轉速度相應的間隔到來的訊號的步驟;訊號間隔變化量計算部計算出作爲第一訊號間隔與第二訊號間隔之間的差的訊號間隔變化量的步驟,第一訊號間隔是由訊號接收部剛接收到的第一訊號的接收時間點與早於該第一訊號而接收到的第二訊號的接收時間點之間的訊號間隔,第二訊號間隔是第二訊號的接收時間點與早於該第二訊號而接收到的第三訊號的接收時間點之間的訊號間隔;訊號間隔補正部根據訊號間隔變化量對第一訊號間隔進行補正的步驟;旋轉速度計算部根據補正後的第一訊號間隔計算出電機的瞬時旋轉速度的步驟 ;以及電機控制部根據計算出的瞬時旋轉速度對電機進行控制的步驟。Steps for the computer to execute: a step in which the signal receiving section receives a signal that arrives at an interval corresponding to the rotation speed of the motor driving the load; the signal interval variation calculating section calculates a signal that is the difference between the first signal interval and the second signal interval In the step of the interval change amount, the first signal interval is a signal interval between the reception time point of the first signal just received by the signal receiving section and the reception time point of the second signal received earlier than the first signal. The second signal interval is a signal interval between the reception time point of the second signal and the reception time point of the third signal received earlier than the second signal; the signal interval correction unit performs an interval on the first signal according to the variation amount of the signal interval A step of performing correction; a step of calculating the instantaneous rotational speed of the motor based on the first signal interval after the correction; and a step of controlling the motor by the motor control portion based on the calculated instantaneous rotational speed.

發明效果Invention effect

在本發明中,訊號間隔補正部根據作爲第一訊號間隔與第二訊號間隔之間的差的訊號間隔變化量對第一訊號間隔進行補正,旋轉速度計算部根據補正後的第一訊號間隔計算出電機的瞬時旋轉速度,電機控制部根據計算出的瞬時旋轉速度對電機進行控制。藉由這樣,就能夠在不降低電機的控制速度的情况下,適宜地驅動負載。In the present invention, the signal interval correction unit corrects the first signal interval based on a signal interval change amount which is a difference between the first signal interval and the second signal interval, and the rotation speed calculation unit calculates the first signal interval after the correction According to the instantaneous rotation speed of the motor, the motor control unit controls the motor based on the calculated instantaneous rotation speed. By doing so, it is possible to appropriately drive the load without reducing the control speed of the motor.

下面,將參照圖式對本發明的實施方式進行說明。在以下的實施方式中,作爲本發明涉及的驅動裝置的一種實施方式,對驅動控制電動車輛的電動車輛控制裝置進行說明。其中,本發明涉及的驅動裝置也可以對電動車輛的車輪以外的負載進行驅動。Hereinafter, embodiments of the present invention will be described with reference to the drawings. In the following embodiments, an electric vehicle control device that drives and controls an electric vehicle will be described as one embodiment of the drive device according to the present invention. Among them, the driving device according to the present invention may drive loads other than the wheels of an electric vehicle.

首先,參照第1圖對實施方式涉及的電動車輛100進行說明。First, the electric vehicle 100 according to the embodiment will be described with reference to FIG. 1.

電動車輛100藉由使用從電池提供的電力對電機進行驅動,從而進行行進。在本實施方式中,電動車輛100是電動摩托車等電動兩輪車,具體來說,就是如第1圖所示的電機3與車輪8在不經由離合器的情况下直接機械連接後的電動兩輪車。其中,本發明涉及的電動車輛也可以是電機3與車輪8在經由離合器的情况下連接後的車輛。此外,不僅限於兩輪車,也可以是例如三輪或四輪的電動車輛。The electric vehicle 100 travels by driving a motor using electric power supplied from a battery. In this embodiment, the electric vehicle 100 is an electric two-wheeled vehicle such as an electric motorcycle, specifically, the electric two after the motor 3 and the wheel 8 are directly mechanically connected without a clutch as shown in FIG. 1. Wheeler. The electric vehicle according to the present invention may be a vehicle in which the motor 3 and the wheels 8 are connected via a clutch. Further, it is not limited to two-wheeled vehicles, but may be, for example, three- or four-wheeled electric vehicles.

電動車輛100如第1圖所示,包括:電動車輛控制裝置1、電池2、電機3、角度感測器(旋轉位置感測器)4、油門位置感測器5、輔助開關6、儀器(顯示部)7、車輪8、以及充電器9。The electric vehicle 100, as shown in FIG. 1, includes: an electric vehicle control device 1, a battery 2, a motor 3, an angle sensor (rotational position sensor) 4, an accelerator position sensor 5, an auxiliary switch 6, and an instrument ( Display) 7, wheels 8, and charger 9.

下面,對電動車輛100的各構成要素進行詳細說明。Hereinafter, each component of the electric vehicle 100 will be described in detail.

電動車輛控制裝置1是控制電動車輛100的裝置,並且具有:控制部10、記憶部20以及電力轉換部(驅動)30。其中,電動車輛控制裝置1也可以是作爲控制整個電動車輛100的ECU(Electronic Control Unit)來構成。The electric vehicle control device 1 is a device that controls the electric vehicle 100 and includes a control unit 10, a memory unit 20, and a power conversion unit (drive) 30. The electric vehicle control device 1 may be configured as an ECU (Electronic Control Unit) that controls the entire electric vehicle 100.

下面,對電動車輛控制裝置1的各構成要素進行詳細說明。Hereinafter, each component of the electric vehicle control device 1 will be described in detail.

控制部10輸入來自連接於電動車輛控制裝置1的各種裝置處的訊息。具體來說,就是控制部10接收:從電池2、角度感測器(旋轉位置感測器)4、油門位置感測器5、輔助開關6、以及充電器9輸出的各種訊號。控制部10輸出顯示在儀器7中的訊號。此外,控制部10藉由電力轉換部30來控制電機3。對於控制部10的詳細訊息會進行後述。The control unit 10 inputs information from various devices connected to the electric vehicle control device 1. Specifically, the control unit 10 receives various signals output from the battery 2, the angle sensor (rotational position sensor) 4, the accelerator position sensor 5, the auxiliary switch 6, and the charger 9. The control unit 10 outputs a signal displayed on the instrument 7. In addition, the control unit 10 controls the motor 3 through the power conversion unit 30. Details of the control unit 10 will be described later.

記憶部20記憶:控制部10所使用的訊息(後述的各種地圖等)以及控制部10用於運作的程式。該記憶部20可以是例如非易失性半導體儲存器,也可以不限於此。其中,記憶部20也可以作爲控制部10的一部分來裝入。The storage unit 20 stores information used by the control unit 10 (various maps and the like described later) and programs used by the control unit 10 to operate. The memory unit 20 may be, for example, a non-volatile semiconductor memory, or is not limited thereto. The memory unit 20 may be incorporated as a part of the control unit 10.

電力轉換部30將從電池2輸出的直流電力轉換爲交流電力後提供至電機3。在本實施方式中,電力轉換部30如第2圖所示,具有藉由三相全橋電路所構成的逆變器。半導體開關Q1、Q3、Q5是高端開關,半導體開關Q2、Q4、Q6是低端開關。半導體開關Q1~Q6的控制端子與控制部10電連接。半導體開關Q1~Q6是例如MOSFET或IGBT等。The power conversion unit 30 converts DC power output from the battery 2 into AC power and supplies the AC power to the motor 3. In this embodiment, as shown in FIG. 2, the power conversion unit 30 includes an inverter configured by a three-phase full-bridge circuit. Semiconductor switches Q1, Q3, and Q5 are high-end switches, and semiconductor switches Q2, Q4, and Q6 are low-end switches. The control terminals of the semiconductor switches Q1 to Q6 are electrically connected to the control unit 10. The semiconductor switches Q1 to Q6 are, for example, MOSFETs or IGBTs.

如第2圖所示,電源端子30a與電源端子30b之間設置有平滑電容器C。As shown in FIG. 2, a smoothing capacitor C is provided between the power terminal 30 a and the power terminal 30 b.

輸入端子3a是電機3的U相輸入端子,輸入端子3b是電機3的V相輸入端子,輸入端子3c是電機3的W相輸入端子。The input terminal 3 a is a U-phase input terminal of the motor 3, the input terminal 3 b is a V-phase input terminal of the motor 3, and the input terminal 3 c is a W-phase input terminal of the motor 3.

半導體開關Q1如第2圖所示,連接在電池2的正極所連接的電源端子30a與電機3的輸入端子3a之間。同樣地,半導體開關Q3連接在電源端子30a與電機3的輸入端子3b之間。半導體開關Q5連接在電源端子30a與電機3的輸入端子3c之間。As shown in FIG. 2, the semiconductor switch Q1 is connected between a power terminal 30 a connected to the positive electrode of the battery 2 and an input terminal 3 a of the motor 3. Similarly, the semiconductor switch Q3 is connected between the power supply terminal 30 a and the input terminal 3 b of the motor 3. The semiconductor switch Q5 is connected between the power supply terminal 30 a and the input terminal 3 c of the motor 3.

半導體開關Q2連接在電機3的輸入端子3a與電池2的負極所連接的電源端子30b之間。同樣地,半導體開關Q4連接在電機3的輸入端子3b與電源端子30b之間。半導體開關Q6連接在電機3的輸入端子3c與電源端子30b之間。The semiconductor switch Q2 is connected between an input terminal 3 a of the motor 3 and a power supply terminal 30 b connected to the negative electrode of the battery 2. Similarly, the semiconductor switch Q4 is connected between the input terminal 3b of the motor 3 and the power terminal 30b. The semiconductor switch Q6 is connected between the input terminal 3c of the motor 3 and the power terminal 30b.

電池2向用於使電動車輛100的車輪8轉動的電機3提供電力。該電池2向電力轉換部30提供直流電力。電池2例如可以是鋰離子電池,也可以是其他種類的電池。其中,電池2的數量不限於一個,也可以是多個。即,電動車輛100中也可以設置有互相並聯或串聯後的多個電池2。此外,電池2中也可以包含有用於向控制部10提供運作電壓的鉛電池。The battery 2 supplies electric power to a motor 3 for rotating the wheels 8 of the electric vehicle 100. The battery 2 supplies DC power to the power conversion unit 30. The battery 2 may be, for example, a lithium ion battery, or may be another type of battery. The number of the batteries 2 is not limited to one, and may be a plurality. That is, the electric vehicle 100 may be provided with a plurality of batteries 2 connected in parallel or in series with each other. The battery 2 may include a lead battery for supplying an operating voltage to the control unit 10.

電池2包含電池管理單元(BMU)。電池管理單元將與電池2的電壓和狀態(充電率等)相關的電池訊息發送至控制部10。Battery 2 contains a battery management unit (BMU). The battery management unit sends a battery message related to the voltage and status (charging rate, etc.) of the battery 2 to the control unit 10.

電機3藉由從電力轉換部30處提供的交流電力,對車輪8等負載進行驅動。在本實施方式中,電機3與車輪8機械連接,從而使車輪8向所需方向轉動。電機3是具有U相、V相以及W相的三相交流電機。如所述般,電機3與車輪8在不經由離合器的情况下直接機械連接。其中,雖然在本實施方式中是使用三相無刷電機來作爲三相交流電機,但是電機3的種類不限於此。The motor 3 drives a load such as a wheel 8 by AC power supplied from the power conversion unit 30. In this embodiment, the motor 3 is mechanically connected to the wheel 8 so that the wheel 8 is rotated in a desired direction. The motor 3 is a three-phase AC motor having U-phase, V-phase, and W-phase. As described, the motor 3 and the wheels 8 are directly mechanically connected without passing through a clutch. However, although a three-phase brushless motor is used as the three-phase AC motor in this embodiment, the type of the motor 3 is not limited to this.

角度感測器4用於檢測電機3的轉子3r的旋轉位置。如第3圖所示,轉子3r的外周面上交替安裝有N極與S極的磁鐵(感測器磁鐵)。角度感測器4例如藉由霍爾元件來構成,並且檢測伴隨電機3的轉動的磁場變化。其中,第3圖所示的磁鐵數量只是一例示例,並不限於此。此外,磁鐵也可以設置在飛輪(fly wheel)(無圖示)的內側。The angle sensor 4 is used to detect the rotation position of the rotor 3 r of the motor 3. As shown in FIG. 3, N-pole and S-pole magnets (sensor magnets) are alternately mounted on the outer peripheral surface of the rotor 3r. The angle sensor 4 is configured by, for example, a Hall element, and detects a change in a magnetic field accompanying rotation of the motor 3. The number of magnets shown in FIG. 3 is only an example, and is not limited thereto. In addition, a magnet may be provided inside a fly wheel (not shown).

如第3圖所示,角度感測器4具有:與電機3的U相對應安裝的U相角度感測器4u、與電機3的V相對應安裝的V相角度感測器4v、以及與電機3的W相對應安裝的W相角度感測器4w。各相的角度感測器4u、4v、以及4w被設置在電機3上。在本實施方式中,U相角度感測器4u與V相角度感測器4v相對於轉子3r是配置爲構成30°的角度。同樣地,V相角度感測器4v與W相角度感測器4w相對於電機3的轉子3r是配置爲構成30°的角度。As shown in FIG. 3, the angle sensor 4 includes a U-phase angle sensor 4u installed corresponding to the U of the motor 3, a V-phase angle sensor 4v installed corresponding to the V of the motor 3, and The W of the motor 3 corresponds to the W-phase angle sensor 4w installed. The angle sensors 4u, 4v, and 4w of each phase are provided on the motor 3. In this embodiment, the U-phase angle sensor 4u and the V-phase angle sensor 4v are arranged at an angle of 30 ° with respect to the rotor 3r. Similarly, the V-phase angle sensor 4v and the W-phase angle sensor 4w are disposed at an angle of 30 ° with respect to the rotor 3r of the motor 3.

如第4圖所示,U相角度感測器4u、V相角度感測器4v以及W相角度感測器4w,輸出對應於轉子3r的旋轉位置的位相脈衝訊號。該脈衝訊號的寬度(或感測器訊號的時間間隔)隨電機3(即,車輪8)的旋轉速度變高而變窄。As shown in FIG. 4, the U-phase angle sensor 4u, the V-phase angle sensor 4v, and the W-phase angle sensor 4w output a phase pulse signal corresponding to the rotation position of the rotor 3r. The width of the pulse signal (or the time interval of the sensor signal) becomes narrower as the rotation speed of the motor 3 (ie, the wheel 8) becomes higher.

如第4圖所示,按照每個規定的旋轉位置來分配表示電機級(motor stage)的編號(電機級編號)。電機級表示轉子3r的旋轉位置,在本實施方式中,按照每60°的電角度來分配電機級編號1、2、3、4、5、6。As shown in FIG. 4, a number (motor stage number) indicating a motor stage is assigned for each predetermined rotation position. The motor stage indicates the rotation position of the rotor 3r. In this embodiment, the motor stage numbers 1, 2, 3, 4, 5, and 6 are assigned at an electrical angle of 60 °.

輸出級也被稱爲通電級,其是:由角度感測器4檢測出的電機級加上基於輸出角度的時間。輸出角度如後述般根據電機3的旋轉速度與目標扭矩而變化。The output stage is also called an energized stage, which is a motor stage detected by the angle sensor 4 plus a time based on the output angle. The output angle changes according to the rotation speed and the target torque of the motor 3 as described later.

控制部10使用PWM訊號來對電力轉換部30的半導體開關Q1~Q6進行ON/OFF控制。藉由這樣,從電池2提供的直流電力被轉換爲交流電力。在本實施方式中,如第5圖所示,U相低端開關(半導體開關Q2)在輸出級6、1、2、3中被PWM控制。V相低端開關(半導體開關Q4)在輸出級2、3、4、5中被PWM控制,W相低端開關(半導體開關Q6)在輸出級4、5、6、1中被PWM控制。其中,進行PWM控制的級是藉由通電方式等來决定的,並不限於此例。The control unit 10 performs ON / OFF control of the semiconductor switches Q1 to Q6 of the power conversion unit 30 using a PWM signal. In this way, the DC power supplied from the battery 2 is converted into AC power. In this embodiment, as shown in FIG. 5, the U-phase low-side switch (semiconductor switch Q2) is PWM-controlled in the output stages 6, 1, 2, and 3. The V-phase low-side switch (semiconductor switch Q4) is PWM-controlled in output stages 2, 3, 4, and 5, and the W-phase low-side switch (semiconductor switch Q6) is PWM-controlled in output stages 4, 5, 6, and 1. The level of the PWM control is determined by the energization method and the like, and is not limited to this example.

如上述般,藉由對低端開關而不是高端開關進行ON/OFF控制,從而就能夠避免因電機3的再生運作從而産生的電流流入電池2。其中,在被允許對電池2流入再生電流的情况下,則也可以對高端開關進行ON/OFF控制。As described above, by performing ON / OFF control of the low-side switch instead of the high-side switch, it is possible to prevent the current generated by the regenerative operation of the motor 3 from flowing into the battery 2. Among them, when a regenerative current is allowed to flow into the battery 2, the high-side switch can also be ON / OFF controlled.

如第5圖所示,高端開關也有成爲ON的時間點。例如,作爲U相高端開關的半導體開關Q1在輸出級1、2中被按照規定的時間間隔來ON控制。藉由這樣對高端開關進行ON控制,就能夠抑制電力轉換部30的發熱。其中,爲了防止電流短路,當高端開關被控制爲ON時,對應的(即,相同臂(arm)的)低端開關則被控制爲OFF。As shown in Figure 5, there are also times when the high-side switch becomes ON. For example, the semiconductor switch Q1, which is a U-phase high-side switch, is ON-controlled in output stages 1 and 2 at predetermined time intervals. By performing ON control of the high-end switch in this manner, it is possible to suppress heat generation of the power conversion unit 30. Among them, in order to prevent current short circuit, when the high-side switch is controlled to be ON, the corresponding (ie, the same arm) low-side switch is controlled to be OFF.

油門位置感測器5,用於檢測相對於電動車輛100的油門的操作量(以下稱爲「油門操作量」),並且將其作爲電訊號發送至控制部10。油門操作量相當於發動機汽車的節氣門開度。用戶在想要加速時油門操作量會增大,用戶在想要減速時油門操作量會減小。The accelerator position sensor 5 detects an operation amount of an accelerator with respect to the electric vehicle 100 (hereinafter referred to as “throttle operation amount”), and sends it to the control unit 10 as an electric signal. The amount of throttle operation is equivalent to the throttle opening of the engine car. When the user wants to accelerate, the throttle operation amount will increase, and when the user wants to decelerate, the throttle operation amount will decrease.

輔助開關6是用戶在請求輔助電動車輛100時操作的開關。輔助開關6在被通過用戶操作時,會將輔助請求訊號發送至控制部10。並且,控制部10控制電機3産生輔助扭矩。The assist switch 6 is a switch that is operated when a user requests assistance of the electric vehicle 100. When the auxiliary switch 6 is operated by a user, it sends an auxiliary request signal to the control unit 10. The control unit 10 controls the motor 3 to generate an assist torque.

儀器(顯示部)7是設置在電動車輛100上的顯示器(例如液晶面板),並顯示各種訊息。儀器7設置在例如電動車輛100的方向盤上(無圖示)。儀器7中顯示有:電動車輛100的行駛速度、電池2的剩餘量、當前時間、行駛總距離、以及剩餘行駛距離等訊息。剩餘行駛距離表示電動車輛100之後還能行駛多少距離。The instrument (display section) 7 is a display (for example, a liquid crystal panel) provided on the electric vehicle 100 and displays various messages. The instrument 7 is provided on a steering wheel (not shown) of the electric vehicle 100, for example. The instrument 7 displays information such as the running speed of the electric vehicle 100, the remaining amount of the battery 2, the current time, the total distance traveled, and the remaining travel distance. The remaining travel distance indicates how far the electric vehicle 100 can travel afterwards.

充電器9具有:電源插頭(無圖示)、以及將藉由該電源插頭提供的交流電源轉換爲直流電源的轉換器電路(無圖示)。電池2藉由轉換器電路轉換後的直流電力來進行充電。充電器9例如藉由電動車輛100內的通訊網絡(CAN等)與電動車輛控制裝置1可通訊連接。The charger 9 includes a power plug (not shown) and a converter circuit (not shown) that converts AC power provided by the power plug into DC power. The battery 2 is charged by the DC power converted by the converter circuit. The charger 9 is communicably connected to the electric vehicle control device 1 via a communication network (CAN, etc.) in the electric vehicle 100, for example.

之後,將對電動車輛控制裝置1的控制部10進行詳細說明。Hereinafter, the control section 10 of the electric vehicle control device 1 will be described in detail.

如第6圖所示,控制部10具有:訊號接收部11、訊號間隔變化量計算部12、訊號間隔補正部13、旋轉速度計算部14、以及電機控制部15。其中,控制部10的各部分中的處理,能夠藉由軟體(程式)來實現。As shown in FIG. 6, the control unit 10 includes a signal receiving unit 11, a signal interval variation calculation unit 12, a signal interval correction unit 13, a rotation speed calculation unit 14, and a motor control unit 15. The processing in each part of the control unit 10 can be realized by software (program).

訊號接收部11,接收按照與電機3的旋轉速度相應的間隔到來的訊號。訊號在電機3旋轉一周的期間內從角度感測器4被輸出多個。具體來說,就是訊號接收部11接收:從U相角度感測器4u、V相角度感測器4v、以及W相角度感測器4w輸出的感測器訊號(即,脈衝訊號的上升沿訊號或下降沿訊號)。在本實施方式中,訊號接收部11在電機3的轉子3r以電角度每旋轉60°時接收感測器訊號。感測器訊號所到來的時間間隔隨電機3的旋轉速度變高而變短。The signal receiving unit 11 receives signals that come at intervals corresponding to the rotation speed of the motor 3. A plurality of signals are output from the angle sensor 4 during one rotation of the motor 3. Specifically, the signal receiving unit 11 receives the sensor signals (ie, the rising edge of the pulse signal) output from the U-phase angle sensor 4u, the V-phase angle sensor 4v, and the W-phase angle sensor 4w. Signal or falling edge signal). In this embodiment, the signal receiving unit 11 receives a sensor signal every time the rotor 3r of the motor 3 rotates by 60 ° at an electrical angle. The time interval at which the sensor signal arrives becomes shorter as the rotation speed of the motor 3 becomes higher.

如第7圖所示,訊號接收部11按照每個監視時間間隔Δtm來確認是否從角度感測器4接收到感測器訊號。監視時間間隔Δtm是例如電機3的控制時間間隔。其中,感測器訊號的接收也可以藉由來自角度感測器4的中斷處理來進行。As shown in FIG. 7, the signal receiving unit 11 confirms whether or not a sensor signal is received from the angle sensor 4 at every monitoring time interval Δtm. The monitoring time interval Δtm is, for example, a control time interval of the motor 3. The receiving of the sensor signal may also be performed by an interrupt process from the angle sensor 4.

當電動車輛100以最高速度行駛時,監視時間間隔Δtm比訊號接收部11所接收的感測器訊號的時間間隔更短,例如50微秒。一般來說,當電機3的旋轉速度爲最大時,監視時間間隔Δtm比訊號接收部11所接收的感測器訊號的時間間隔更短。When the electric vehicle 100 is traveling at the highest speed, the monitoring time interval Δtm is shorter than the time interval of the sensor signal received by the signal receiving unit 11, for example, 50 microseconds. Generally, when the rotation speed of the motor 3 is the maximum, the monitoring time interval Δtm is shorter than the time interval of the sensor signal received by the signal receiving section 11.

訊號間隔變化量計算部12,計算出作爲訊號間隔(也被稱爲感測器之間的時間)變化量的訊號間隔變化量。該訊號間隔變化量如第7圖所示,是第一訊號間隔ΔT1與第二訊號間隔ΔT2之間的差(ΔT2-ΔT1)。此處,第一訊號間隔ΔT1是感測器訊號S1(第一訊號)的接收時間點與感測器訊號S2(第二訊號)的接收時間點之間的時間間隔。感測器訊號S1是訊號接收部11剛接收到的感測器訊號。「剛接收到」中的時間點是指最接近當前時間點的意思。感測器訊號S2是感測器訊號S1之前接收到的那一個感測器訊號。第二訊號間隔ΔT2是感測器訊號S2的接收時間點與感測器訊號S3(第三訊號)的接收時間點之間的時間間隔。感測器訊號S3是感測器訊號S2之前接收到的那一個感測器訊號。其中,訊號間隔不限於連續的訊號間的時間間隔,也可以是每隔一個或每隔大於等於兩個的兩個訊號間的時間間隔。The signal interval change amount calculation unit 12 calculates a signal interval change amount which is a change amount of the signal interval (also referred to as a time between sensors). The change amount of the signal interval is shown in FIG. 7 and is the difference (ΔT2-ΔT1) between the first signal interval ΔT1 and the second signal interval ΔT2. Here, the first signal interval ΔT1 is a time interval between the reception time point of the sensor signal S1 (the first signal) and the reception time point of the sensor signal S2 (the second signal). The sensor signal S1 is a sensor signal just received by the signal receiving section 11. The time point in "just received" means the closest to the current time point. The sensor signal S2 is the sensor signal received before the sensor signal S1. The second signal interval ΔT2 is a time interval between the reception time point of the sensor signal S2 and the reception time point of the sensor signal S3 (third signal). The sensor signal S3 is the sensor signal received before the sensor signal S2. The signal interval is not limited to a time interval between consecutive signals, and may also be a time interval between every other or every two signals greater than or equal to two.

在本實施方式中,訊號間隔變化量計算部12計算出計數數量的差分值來作爲訊號間隔變化量。即,在訊號接收部11沒有接收到感測器訊號的情况下,訊號接收部11或訊號間隔變化量計算部12將增加計數數量。該計數數量表示從接收到剛剛的感測器訊號後經過的時間。計數數量的初始值爲0。另一方面,在訊號接收部11接收到感測器訊號的情况下,訊號間隔變化量計算部12將:在感測器訊號S1與感測器訊號S2之間按照監視時間間隔Δtm進行計數後的第一計數數量N1與在感測器訊號S2與感測器訊號S3之間按照監視時間間隔Δtm進行計數後的第二計數數量N2之間的計數數量差ΔN(=N1-N2)作爲訊號間隔變化量來計算出。In the present embodiment, the signal interval change amount calculation unit 12 calculates a difference value of the counted number as the signal interval change amount. That is, when the signal receiving section 11 does not receive the sensor signal, the signal receiving section 11 or the signal interval change amount calculating section 12 will increase the counted number. This count represents the time that has elapsed since the sensor signal was just received. The initial number of counts is 0. On the other hand, when the signal receiving unit 11 receives the sensor signal, the signal interval change calculation unit 12 counts between the sensor signal S1 and the sensor signal S2 according to the monitoring time interval Δtm. The difference between the count number ΔN (= N1-N2) between the first count number N1 and the second count number N2 after counting at the monitoring time interval Δtm between the sensor signal S2 and the sensor signal S3 as signals Interval change is calculated.

訊號間隔變化量計算部12在計算出計數數量差後,重置第一計數數量N1(即,返回初始值)。The signal interval change amount calculation unit 12 resets the first count number N1 (that is, returns to the initial value) after calculating the difference in count numbers.

訊號間隔補正部13,根據訊號間隔變化量計算部12所計算出的訊號間隔變化量對第一訊號間隔ΔT1進行補正。第一訊號間隔ΔT1如後述般,被補正爲使早於電動車輛100的加速或減速而變化的高頻噪聲的影響受到抑制。The signal interval correction section 13 corrects the first signal interval ΔT1 based on the signal interval change amount calculated by the signal interval change amount calculation section 12. As described later, the first signal interval ΔT1 is corrected to suppress the influence of high-frequency noise that changes earlier than the acceleration or deceleration of the electric vehicle 100.

對本實施方式涉及的第一訊號間隔ΔT1的補正進行詳細說明。The correction of the first signal interval ΔT1 according to the present embodiment will be described in detail.

首先,訊號間隔補正部13求得對應訊號間隔變化量的權重係數C。該權重係數C是藉由參照訊號間隔變化量與權重係數C之間的關係圖而求得的。在本實施方式中,權重係數C如第8圖所示,是藉由參照計數數量差ΔN與權重係數C之間的關係圖而求得的。該關係圖以表格或公式的形式預先記憶在記憶部20中。當關係圖是表格的形式時,藉由線性插值等來求得權重係數C。如第8圖所示,權重係數C被設定爲隨訊號間隔變化量(計數數量差ΔN)的絕對值變大而變小。此外,在訊號間隔變化量爲0時(ΔN=0時),權重係數C爲1。First, the signal interval correction unit 13 obtains a weighting coefficient C corresponding to the amount of change in the signal interval. The weighting coefficient C is obtained by referring to the relationship diagram between the signal interval change amount and the weighting coefficient C. In the present embodiment, as shown in FIG. 8, the weighting coefficient C is obtained by referring to a relationship diagram between the difference in count number ΔN and the weighting coefficient C. The relationship diagram is stored in advance in the memory section 20 in the form of a table or a formula. When the relationship diagram is in the form of a table, the weight coefficient C is obtained by linear interpolation or the like. As shown in FIG. 8, the weighting coefficient C is set to become smaller as the absolute value of the signal interval change amount (the difference in count number ΔN) becomes larger. In addition, when the signal interval change amount is 0 (when ΔN = 0), the weight coefficient C is 1.

在如上述般求得權重係數C之後,訊號間隔補正部13將權重係數C乘以訊號間隔變化量。即,計算C×(ΔT1-ΔT2)。按照本實施方式的情况來說的話,是計算C×ΔN。並且,將與權重係數C相乘後的訊號間隔變化量與第二訊號間隔ΔT2相加。藉由這樣,得到補正後的第一訊號間隔ΔTa。即,補正後的第一訊號間隔ΔTa是通過公式(1)來得到的。After the weighting coefficient C is obtained as described above, the signal interval correction unit 13 multiplies the weighting coefficient C by the signal interval change amount. That is, C × (ΔT1-ΔT2) is calculated. In the case of this embodiment, C × ΔN is calculated. Then, the signal interval change amount multiplied by the weighting coefficient C is added to the second signal interval ΔT2. In this way, the corrected first signal interval ΔTa is obtained. That is, the corrected first signal interval ΔTa is obtained by the formula (1).

ΔTa=C×(ΔT1-ΔT2)+ΔT2 …(1)ΔTa = C × (ΔT1-ΔT2) + ΔT2… (1)

在使用計數數量來作爲訊號間隔時,作爲補正後的第一計數數量N1的計數數量Na是通過公式(2)來得到的。When the counted number is used as the signal interval, the counted number Na, which is the first counted number N1 after correction, is obtained by formula (2).

Na=CΔN+N2 …(2)Na = CΔN + N2… (2)

旋轉速度計算部14根據被訊號間隔補正部13補正後的第一訊號間隔ΔTa來計算出電機3的瞬時旋轉速度。具體來說,就是旋轉速度計算部14通過公式(3)來計算出電機3的瞬時旋轉速度。The rotation speed calculation unit 14 calculates the instantaneous rotation speed of the motor 3 based on the first signal interval ΔTa corrected by the signal interval correction unit 13. Specifically, the rotation speed calculation unit 14 calculates the instantaneous rotation speed of the motor 3 using the formula (3).

n=60000/(ΔTa×Np) …(3)n = 60000 / (ΔTa × Np)… (3)

此處,n是電機3的瞬時旋轉速度【rpm】,ΔTa是補正後的第一訊號間隔【mSec】,Np是電機3以電角度旋轉一周的期間內訊號接收部11所接收的感測器訊號的數量。Here, n is the instantaneous rotation speed of the motor 3 [rpm], ΔTa is the first signal interval [mSec] after correction, and Np is the sensor received by the signal receiving section 11 during the period when the motor 3 rotates at one electrical angle The number of signals.

在使用計數數量時,旋轉速度計算部14藉由公式(4)計算出電機3的瞬時旋轉速度。When the counted number is used, the rotation speed calculation unit 14 calculates the instantaneous rotation speed of the motor 3 by using formula (4).

n=60000/(NaΔtm×Np) …(4)n = 60000 / (NaΔtm × Np)… (4)

此處,n是電機3的瞬時旋轉速度【rpm】,Na是補正後的計數數量,Δtm是監視時間間隔【mSec】,Np是電機3以電角度旋轉一周的期間內訊號接收部11所接收的感測器訊號的數量。Here, n is the instantaneous rotation speed of the motor 3 [rpm], Na is the number of counts after correction, Δtm is the monitoring time interval [mSec], and Np is the signal received by the signal receiving unit 11 during a period of one rotation of the motor 3 at an electrical angle The number of sensor signals.

電機控制部15根據旋轉速度計算部14所計算出的瞬時旋轉速度來控制電機3。電機控制部15向電力轉換部30的半導體開關Q1~Q6發送控制訊號。詳細來說,就是電機控制部15產生PWM訊號,PWM訊號具有:根據電機3的目標扭矩以及瞬時旋轉速度而計算出的占空比,並以根據電機3的目標扭矩以及瞬時旋轉速度而計算出的輸出角度對電力轉換部30進行輸出。藉由這樣,控制電機3以産生目標扭矩。其中,在按照監視時間間隔或每次接收到感測器訊號時,進行PWM訊號的產生。The motor control unit 15 controls the motor 3 based on the instantaneous rotation speed calculated by the rotation speed calculation unit 14. The motor control unit 15 sends control signals to the semiconductor switches Q1 to Q6 of the power conversion unit 30. Specifically, the motor control unit 15 generates a PWM signal. The PWM signal has a duty ratio calculated based on the target torque and instantaneous rotation speed of the motor 3, and is calculated based on the target torque and instantaneous rotation speed of the motor 3. The output angle is output to the power conversion unit 30. In this way, the motor 3 is controlled to generate a target torque. Among them, the PWM signal is generated in accordance with the monitoring time interval or each time a sensor signal is received.

參照第9圖以及第10(a)圖至第10(c)圖,對占空比以及輸出角度的算出進行詳細說明。電機控制部15,藉由:使用從油門位置感測器5接收到的油門操作量、以及經由旋轉速度計算部14所計算出的瞬時旋轉速度對扭矩示意圖M1進行檢索,從而獲取目標扭矩。此處,扭矩示意圖M1如第10a圖所示,示意:油門操作量、電機3的旋轉速度、以及電機3的目標扭矩之間的關係。The calculation of the duty ratio and the output angle will be described in detail with reference to FIGS. 9 and 10 (a) to 10 (c). The motor control unit 15 retrieves the torque map M1 by using the accelerator operation amount received from the accelerator position sensor 5 and the instantaneous rotation speed calculated by the rotation speed calculation unit 14 to obtain a target torque. Here, as shown in FIG. 10a, the torque map M1 indicates the relationship between the accelerator operation amount, the rotation speed of the motor 3, and the target torque of the motor 3.

接著,電機控制部15,藉由:使用從扭矩示意圖M1獲取的目標扭矩、以及經由旋轉速度計算部14所計算出的瞬時旋轉速度對占空比示意圖M2進行檢索,從而獲取占空比。此處,占空比示意圖M2如第10b圖所示,示意:電機3的目標扭矩、電機3的旋轉速度、以及PWM訊號的占空比之間的關係。Next, the motor control unit 15 retrieves the duty cycle map M2 by using the target torque obtained from the torque map M1 and the instantaneous rotation speed calculated by the rotation speed calculation unit 14 to obtain the duty cycle. Here, the schematic diagram of the duty ratio M2 is shown in FIG. 10b, which illustrates the relationship between the target torque of the motor 3, the rotation speed of the motor 3, and the duty ratio of the PWM signal.

電機控制部15進一步藉由:使用從扭矩示意圖M1獲取的目標扭矩、以及經由旋轉速度計算部14所計算出的瞬時旋轉速度對輸出角度示意圖M3進行檢索,從而獲取輸出角度。此處,輸出角度示意圖M3如第10c圖所示,示意:電機3的目標扭矩、電機3的旋轉速度、以及PWM訊號的輸出角度之間的關係。The motor control unit 15 further retrieves the output angle map M3 by using the target torque obtained from the torque map M1 and the instantaneous rotation speed calculated by the rotation speed calculation unit 14 to obtain the output angle. Here, the output angle diagram M3 is shown in FIG. 10c, and illustrates the relationship between the target torque of the motor 3, the rotation speed of the motor 3, and the output angle of the PWM signal.

其中,控制部10在使用多個通電方式(例如,120°通電方式與180°通電方式)對電力轉換部30進行控制時,使用與各通電方式對應的占空比示意圖M2與輸出角度示意圖M3。即,在使用120°通電方式時,使用120°通電方式用的占空比示意圖與輸出角度示意圖來獲取占空比與輸出角度,在使用180°通電方式時,使用180°通電方式用的占空比示意圖與輸出角度示意圖來獲取占空比與輸出角度。Among them, when the control unit 10 controls the power conversion unit 30 using a plurality of energization methods (for example, a 120 ° energization method and a 180 ° energization method), the control unit 10 uses a duty cycle diagram M2 and an output angle diagram M3 corresponding to each energization mode. . That is, when the 120 ° energization method is used, the duty cycle diagram and output angle diagram for the 120 ° energization method are used to obtain the duty cycle and the output angle. The air ratio diagram and the output angle diagram are used to obtain the duty cycle and the output angle.

具有上述般獲取後的占空比的PWM訊號按照上述般獲取後的輸出角度輸出於電力轉換部30,並且半導體開關Q1~Q6被ON/OFF控制。通過這樣,控制電機3以産生所需的扭矩。The PWM signal having the above-obtained duty cycle is output to the power conversion unit 30 in accordance with the above-obtained output angle, and the semiconductor switches Q1 to Q6 are ON / OFF controlled. In this way, the motor 3 is controlled to generate a required torque.

如上所述,在本實施方式涉及的電動車輛控制裝置1中,訊號間隔補正部13根據訊號間隔變化量(ΔT1-ΔT2)對第一訊號間隔ΔT1進行補正,旋轉速度計算部14通過補正後的第一訊號間隔ΔTa來計算出電機3的瞬時旋轉速度。並且,電機控制部15根據計算出的瞬時旋轉速度對電機3進行控制。藉由這樣,就能夠對電動車輛100的車輪8進行適當地驅動。As described above, in the electric vehicle control device 1 according to this embodiment, the signal interval correction unit 13 corrects the first signal interval ΔT1 based on the signal interval change amount (ΔT1-ΔT2), and the rotation speed calculation unit 14 passes the corrected The first signal interval ΔTa is used to calculate the instantaneous rotation speed of the motor 3. The motor control unit 15 controls the motor 3 based on the calculated instantaneous rotation speed. In this way, the wheels 8 of the electric vehicle 100 can be appropriately driven.

在本實施方式中,根據訊號間隔變化量(ΔT1-ΔT2)、以及隨訊號間隔變化量的絕對值變大而變小的權重係數C,對第一訊號間隔ΔT1進行補正,並且根據補正後的第一訊號間隔ΔT1來計算出電機3的瞬時旋轉速度。藉由這樣,就能夠鈍化用於電機控制的瞬時旋轉速度對於高頻噪聲的靈敏度。因此,即使當第一訊號間隔ΔT 1在因高頻噪聲從而導致發生較大波動時,由於第一訊號間隔被補正爲正確的值,所以就能夠進行適當的電機控制,並對作爲負載的車輪8進行驅動。In this embodiment, the first signal interval ΔT1 is corrected based on the signal interval change amount (ΔT1-ΔT2) and the weight coefficient C that becomes smaller as the absolute value of the signal interval change amount becomes larger, and according to the corrected The first signal interval ΔT1 is used to calculate the instantaneous rotation speed of the motor 3. By doing so, it is possible to passivate the sensitivity of the instantaneous rotation speed for high-frequency noise for motor control. Therefore, even when the first signal interval ΔT 1 fluctuates greatly due to high-frequency noise, since the first signal interval is corrected to a correct value, it is possible to perform appropriate motor control, and the wheel as a load can be performed. 8 to drive.

此外,根據本實施方式,由於能夠如上述般在不求得訊號間隔平均值的情况下抑制高頻噪聲的影響,因此就不會使電機3的控制速度下降。In addition, according to this embodiment, since the influence of high-frequency noise can be suppressed without obtaining the average value of the signal interval as described above, the control speed of the motor 3 is not reduced.

所以,根據本實施方式,能夠在不使電機3的控制速度下降的情况下,對負載進行適當的驅動。Therefore, according to this embodiment, it is possible to appropriately drive a load without reducing the control speed of the motor 3.

其中,求得權重係數C的圖表不限於第8圖所示的示圖。以下對幾個變形例進行說明。The graph for obtaining the weight coefficient C is not limited to the graph shown in FIG. 8. Several modifications will be described below.

第11圖展示第一變形例涉及的權重係數C的圖表。在本變形例中,在計數數量差ΔN處於大於等於-α小於等於+α的範圍內的權重係數C爲1,並且權重係數隨偏離該範圍而變小。即,在訊號間隔變化量的絕對值處於規定範圍內(0±α)的情况下權重係數C爲1,在規定範圍外的情况下隨訊號間隔變化量的絕對值變大而變小。藉由使用這樣的權重係數C,在訊號間隔變化量爲較小的情况下,原樣使用第一訊號間隔ΔT1來計算出電機3的瞬時旋轉速度。這樣一來,就能夠將不是由高頻噪聲所引起的訊號間隔的變化原樣反映在電機3的控制中。FIG. 11 is a graph showing the weight coefficient C according to the first modification. In this modification, the weighting coefficient C in the range where the count difference ΔN is greater than or equal to -α and less than or equal to + α is 1, and the weighting coefficient becomes smaller as it deviates from the range. That is, when the absolute value of the change amount of the signal interval is within a predetermined range (0 ± α), the weight coefficient C is 1, and when the absolute value of the change amount of the signal interval is outside the predetermined range, the weight coefficient C becomes smaller and smaller. By using such a weighting coefficient C, when the change amount of the signal interval is small, the first signal interval ΔT1 is used as it is to calculate the instantaneous rotation speed of the motor 3. In this way, it is possible to reflect a change in the signal interval not caused by high-frequency noise in the control of the motor 3 as it is.

第12圖展示第二變形例涉及的權重係數C的圖表。在本變形例中,權重係數C的減少量隨訊號間隔變化量的絕對值變大而變小。換句話說,就是權重係數C的曲線具有向下凸起的形狀。藉由使用這種權重係數C,即使是在向負載施加激烈外力的情况下,也能夠充分抑制訊號間隔變化量。FIG. 12 shows a graph of a weighting coefficient C according to a second modification. In this modification, the decrease amount of the weighting coefficient C becomes smaller as the absolute value of the signal interval change amount becomes larger. In other words, the curve of the weight coefficient C has a downwardly convex shape. By using such a weighting coefficient C, even when a severe external force is applied to the load, the amount of change in the signal interval can be sufficiently suppressed.

第13圖展示第三變形例涉及的權重係數C的圖表。本變形例將第一變形例與第二變形例進行組合。即,在計數數量差ΔN處於大於等於-α小於等於+α的範圍內的權重係數C爲1,並且權重係數C的減少量隨偏離該範圍變小而變小。藉由使用這種權重係數C,能夠在將不是由高頻噪聲所引起的訊號間隔的變化原樣反映在電機3的控制中的同時,即使是在向負載施加激烈外力的情况下,也能夠充分抑制訊號間隔變化量。FIG. 13 is a graph showing a weight coefficient C according to a third modification. This modification example combines the first modification example and the second modification example. That is, the weight coefficient C in the range where the count difference ΔN is equal to or greater than -α and equal to or less than + α is 1, and the decrease amount of the weight coefficient C becomes smaller as the deviation from the range becomes smaller. By using such a weighting coefficient C, it is possible to reflect a change in a signal interval not caused by high-frequency noise in the control of the motor 3 as it is, and it is possible to sufficiently apply even when a strong external force is applied to a load. Suppresses signal interval variation.

>電動車輛控制方法>> Electric Vehicle Control Method>

下面,將參照第14圖的流程圖對本實施方式涉及的電動車輛控制方法的一例來進行說明。其中,計數數量被預先初始化。An example of the electric vehicle control method according to the present embodiment will be described below with reference to the flowchart of FIG. 14. Among them, the count number is initialized in advance.

訊號接收部11對是否經過監視時間間隔Δtm進行判定(步驟S11)。在經過監視時間間隔Δtm的情况下(S11:Yes),判定是否從角度感測器4接收到感測器訊號(步驟S12)。在沒有接收到感測器訊號的情况下(S12:No),增加一個計數數量(步驟S13),並返回步驟S11。The signal receiving unit 11 determines whether or not the monitoring time interval Δtm has elapsed (step S11). When the monitoring time interval Δtm has elapsed (S11: Yes), it is determined whether a sensor signal is received from the angle sensor 4 (step S12). When no sensor signal is received (S12: No), the number of counts is increased (step S13), and the process returns to step S11.

另一方面,在接收到感測器訊號的情况下(S12:Yes),訊號間隔變化量計算部12計算出本次的計數數量N1與前一次的計數數量N2之間的計數數量差ΔN(步驟S14)。此處,本次的計數數量N1是在感測器訊號S1與感測器訊號S2之間計數後的計數數量,前一次的計數數量N2是在感測器訊號S2與感測器訊號S3之間計數後的計數數量。On the other hand, when a sensor signal is received (S12: Yes), the signal interval change amount calculation unit 12 calculates a difference ΔN between the count number N1 this time and the previous count number N2 ( Step S14). Here, the count number N1 this time is the count number after counting between the sensor signal S1 and the sensor signal S2, and the previous count number N2 is between the sensor signal S2 and the sensor signal S3. The number of counts after the interval count.

在計算出計數數量差ΔN之後,訊號間隔變化量計算部12將計數數量N1重置爲初始值(步驟S15)。其中,計數數量N1的重置也可以在步驟S16~S19的任一時間點中進行。After calculating the count number difference ΔN, the signal interval change amount calculation section 12 resets the count number N1 to an initial value (step S15). The reset of the count number N1 may be performed at any time point of steps S16 to S19.

隨後,訊號間隔補正部13求得與藉由步驟S14計算出的計數數量差ΔN相應的權重係數C(步驟S16)。並且,訊號間隔補正部13對本次的計數數量N1進行補正(步驟S17)。具體來說,就是使用所述公式(2),計算出補正後的第一計數數量N1(即,計數數量Na)。Then, the signal interval correction unit 13 obtains a weighting coefficient C corresponding to the count number difference ΔN calculated in step S14 (step S16). Then, the signal interval correction unit 13 corrects the counted number N1 this time (step S17). Specifically, the formula (2) is used to calculate the corrected first count number N1 (that is, the count number Na).

接著,旋轉速度計算部14根據通過步驟S17計算出的計數數量Na來計算出電機3的瞬時旋轉速度(步驟S18)。具體來說,就是使用所述公式(4)來計算出電機3的瞬時旋轉速度。並且,電機控制部15根據藉由步驟S18計算出的瞬時旋轉速度對電機3進行控制(步驟S19)。具體來說,就是如參照第9圖以及第10(a)圖至第10(c)圖進行的說明般,產生用於獲取規定扭矩的PWM訊號,並輸出於電力轉換部30。Next, the rotation speed calculation unit 14 calculates the instantaneous rotation speed of the motor 3 based on the counted number Na calculated in step S17 (step S18). Specifically, the instantaneous rotation speed of the motor 3 is calculated using the formula (4). Then, the motor control unit 15 controls the motor 3 based on the instantaneous rotation speed calculated in step S18 (step S19). Specifically, as described with reference to FIGS. 9 and 10 (a) to 10 (c), a PWM signal for acquiring a predetermined torque is generated and output to the power conversion unit 30.

其中,在上述的處理流程中雖然是使用了計數數量,但是也可以使用感測器訊號的接收時間點來計算出訊號間隔變化量。此外,在沒有接收到感測器訊號的情况下(S12:No),也可以使用剛剛的油門的操作量與前一次計算出的瞬時旋轉速度,從占空比示意圖M2處獲取占空比,從而更新向電力轉換部30發送的PWM訊號。Among them, although the counted number is used in the above-mentioned processing flow, the time interval of receiving the sensor signal may also be used to calculate the change amount of the signal interval. In addition, when the sensor signal is not received (S12: No), the operating amount of the accelerator just now and the instantaneous rotation speed calculated last time can be used to obtain the duty cycle from the duty cycle diagram M2. Accordingly, the PWM signal transmitted to the power conversion unit 30 is updated.

在上述實施方式中說明過的電動車輛控制裝置1(控制部10)的至少一部分,既可以以硬體來構成,也可以以軟體來構成。在以軟體來構成時,也可以將實現控制部10的至少一部分功能的程式收納在軟盤與CD-ROM等的儲存介質中,並使計算機進行讀取後來運行。儲存介質不限於可裝卸的磁盤與光盤等,也可以是硬盤裝置與儲存器等的固定型儲存介質。At least a part of the electric vehicle control device 1 (control unit 10) described in the above embodiment may be configured by hardware or software. When the software is configured, a program that realizes at least a part of the functions of the control unit 10 may be stored in a storage medium such as a floppy disk and a CD-ROM, and read by a computer and then run. The storage medium is not limited to a removable magnetic disk, an optical disk, and the like, and may be a fixed storage medium such as a hard disk device and a storage device.

此外,也可以將實現控制部10的至少一部分功能的程式通過網際網路等通訊線路(包含無線通訊)來進行分發。也可以進一步將程式在加密、調製、壓縮後的狀態下,通過網際網路等有限線路與無線線路、或收納在儲存介質中來進行分發。The program that realizes at least a part of the functions of the control unit 10 may be distributed via a communication line (including wireless communication) such as the Internet. The program may be further distributed in a state of being encrypted, modulated, and compressed through a limited line such as the Internet and a wireless line, or stored in a storage medium.

基於上述記載,如果是本領域具有通常知識者雖然可能想到本發明的追加效果與各種變形,但是本發明方式不限於上述的各種實施方式。也可以將不同實施方式所涉及的構成要素進行適當組合。在不脫離申請專利範圍中指定的內容以及從其均等物體導出的本發明的概念思想與主旨的範圍內,能夠進行各種追加、變更以及部分刪除。Based on the above description, although a person having ordinary knowledge in the art may think of additional effects and various modifications of the present invention, the embodiments of the present invention are not limited to the various embodiments described above. The constituent elements according to different embodiments may be appropriately combined. Various additions, changes, and partial deletions can be made without departing from the contents specified in the scope of the patent application and the concept and gist of the present invention derived from its equivalent.

1‧‧‧電動車輛控制裝置1‧‧‧ electric vehicle control device

2‧‧‧電池 2‧‧‧ battery

3‧‧‧電機 3‧‧‧motor

3r‧‧‧轉子 3r‧‧‧rotor

4‧‧‧角度感測器 4‧‧‧ Angle Sensor

4u‧‧‧U相角度感測器 4u‧‧‧U-phase angle sensor

4v‧‧‧V相角度感測器 4v‧‧‧V phase angle sensor

4w‧‧‧W相角度感測器 4w‧‧‧W Phase Angle Sensor

5‧‧‧油門位置感測器 5‧‧‧ Throttle position sensor

6‧‧‧輔助開關 6‧‧‧ auxiliary switch

7‧‧‧儀器 7‧‧‧ instrument

8‧‧‧車輪 8‧‧‧ Wheel

9‧‧‧充電器 9‧‧‧ Charger

10‧‧‧控制部 10‧‧‧Control Department

11‧‧‧訊號接收部 11‧‧‧Signal receiving department

12‧‧‧訊號間隔變化量計算部 12‧‧‧Signal interval change calculation unit

13‧‧‧訊號間隔補正部 13‧‧‧Signal interval correction section

14‧‧‧旋轉速度計算部 14‧‧‧Rotation speed calculation department

15‧‧‧電機控制部 15‧‧‧Motor Control Department

20‧‧‧記憶部 20‧‧‧Memory Department

30‧‧‧電力轉換部 30‧‧‧Power Conversion Department

100‧‧‧電動車輛 100‧‧‧ electric vehicles

M1‧‧‧扭矩示意圖 M1‧‧‧ torque diagram

M2‧‧‧占空比示意圖 M2‧‧‧ Duty Cycle

M3‧‧‧輸出角度示意圖 M3‧‧‧ output angle diagram

Q1、Q2、Q3、Q4、Q5、Q6‧‧‧半導體開關 Q1, Q2, Q3, Q4, Q5, Q6‧‧‧Semiconductor switches

S1、S2、S3‧‧‧感測器訊號 S1, S2, S3‧‧‧ sensor signals

第1圖是本發明的實施方式涉及的電動車輛的概略構成圖。FIG. 1 is a schematic configuration diagram of an electric vehicle according to an embodiment of the present invention.

第2圖是電力轉換部以及電機的概略構成圖。FIG. 2 is a schematic configuration diagram of a power conversion unit and a motor.

第3圖是設置在電機的轉子上的磁鐵與角度感測器的示意圖。FIG. 3 is a schematic diagram of a magnet and an angle sensor provided on a rotor of a motor.

第4圖是轉子角度與角度感測器的輸出之間的關係示意圖。Fig. 4 is a schematic diagram showing the relationship between the rotor angle and the output of the angle sensor.

第5圖是用於說明實施方式涉及的PWM控制的時序圖。FIG. 5 is a timing chart for explaining PWM control according to the embodiment.

第6圖是電動車輛控制裝置的控制部的功能的方塊圖。Fig. 6 is a block diagram of functions of a control unit of the electric vehicle control device.

第7圖是用於說明感測器訊號與計數數量之間的關係等的說明圖。FIG. 7 is an explanatory diagram for explaining the relationship between the sensor signal and the number of counts.

第8圖是用於求得實施方式涉及的權重係數的圖表。FIG. 8 is a graph for obtaining a weight coefficient according to the embodiment.

第9圖是用於說明PWM訊號的占空比和輸出角度的計算處理的示意圖。FIG. 9 is a schematic diagram for explaining a calculation process of a duty cycle and an output angle of a PWM signal.

第10a圖展示扭矩示意圖的構成,第10b圖展示占空比示意圖的構成,第10c圖展示輸出角度示意圖的構成。Fig. 10a shows the structure of the torque diagram, Fig. 10b shows the structure of the duty cycle diagram, and Fig. 10c shows the structure of the output angle diagram.

第11圖是用於求得第一變形例涉及的權重係數的圖表。FIG. 11 is a graph for obtaining a weight coefficient according to the first modification.

第12圖是用於求得第二變形例涉及的權重係數的圖表。FIG. 12 is a graph for obtaining a weight coefficient according to a second modification.

第13圖是用於求得第三變形例涉及的權重係數的圖表。FIG. 13 is a graph for obtaining a weight coefficient according to a third modification.

第14圖是用於說明實施方式涉及的電動車輛控制方法的一例流程圖。FIG. 14 is a flowchart for explaining an example of an electric vehicle control method according to the embodiment.

Claims (15)

一種驅動裝置,其包括: 訊號接收部,接收按照與驅動負載的電機的旋轉速度相應的間隔到來的訊號; 訊號間隔變化量計算部,計算出作爲第一訊號間隔與第二訊號間隔之間的差的訊號間隔變化量,該第一訊號間隔是由該訊號接收部剛接收到的第一訊號的接收時間點與早於該第一訊號而接收到的第二訊號的接收時間點之間的訊號間隔,該第二訊號間隔是該第二訊號的接收時間點與早於該第二訊號而接收到的第三訊號的接收時間點之間的訊號間隔; 訊號間隔補正部,根據該訊號間隔變化量對該第一訊號間隔進行補正; 旋轉速度計算部,根據補正後的該第一訊號間隔計算出該電機的瞬時旋轉速度;以及 電機控制部,根據計算出的該瞬時旋轉速度對該電機進行控制。A driving device includes: The signal receiving unit receives signals that arrive at intervals corresponding to the rotation speed of the motor driving the load; The signal interval change calculation unit calculates a signal interval change that is the difference between the first signal interval and the second signal interval. The first signal interval is the reception time of the first signal just received by the signal receiving unit. The signal interval between the reception point of the second signal received earlier than the first signal and the reception time point of the second signal received earlier than the first signal, and the second signal interval is the reception time point of the second signal and received before the second signal The signal interval between the reception points of the third signal; A signal interval correction unit that corrects the first signal interval according to the signal interval change amount; The rotation speed calculation unit calculates the instantaneous rotation speed of the motor based on the corrected first signal interval; and The motor control unit controls the motor based on the calculated instantaneous rotation speed. 如申請專利範圍第1項所述的驅動裝置,其中該訊號間隔補正部藉由求得與該訊號間隔變化量相應的權重係數,並將該權重係數與該訊號間隔變化量相乘,並將與該權重係數相乘後的該訊號間隔變化量與該第二訊號間隔相加,來對該第一訊號間隔進行補正。The driving device according to item 1 of the scope of patent application, wherein the signal interval correction unit obtains a weight coefficient corresponding to the signal interval change amount, and multiplies the weight coefficient by the signal interval change amount, and The signal interval change amount multiplied by the weight coefficient is added to the second signal interval to correct the first signal interval. 如申請專利範圍第2項所述的驅動裝置,其中該權重係數隨該訊號間隔變化量的絕對值變大而變小。The driving device according to item 2 of the scope of patent application, wherein the weight coefficient becomes smaller as the absolute value of the signal interval variation becomes larger. 如申請專利範圍第3項所述的驅動裝置,其中該權重係數的減少量隨該訊號間隔變化量的絕對值變大而變小。The driving device according to item 3 of the patent application range, wherein the reduction amount of the weighting coefficient decreases as the absolute value of the change amount of the signal interval becomes larger and smaller. 如申請專利範圍第3項所述的驅動裝置,其中該訊號間隔變化量爲0時的該權重係數的值爲1。The driving device according to item 3 of the scope of patent application, wherein the weight coefficient value is 1 when the signal interval variation is 0. 如申請專利範圍第2項所述的驅動裝置,其中當該訊號間隔變化量的絕對值處於規定範圍內時,該權重係數爲1,當該訊號間隔變化量的絕對值處於該規定範圍外時,該權重係數隨該絕對值變大而變小。The driving device according to item 2 of the patent application range, wherein when the absolute value of the change amount of the signal interval is within the specified range, the weight coefficient is 1, and when the absolute value of the change amount of the signal interval is outside the specified range , The weight coefficient becomes smaller as the absolute value becomes larger. 如申請專利範圍第1項所述的驅動裝置,其中在該第二訊號是在該第一訊號之前接收到的那一個訊號並且所述第三訊號是在所述第二訊號之前接收到的那一個訊號的情况下,藉由旋轉速度計算部藉由以下公式來計算該瞬時旋轉速度: n=60000/(ΔTa×Np) 上述公式中,n表示該瞬時旋轉速度(rpm),ΔTa表示補正後的該第一訊號間隔(mSec),Np表示該電機在以電角度旋轉一周的期間內該訊號接收部接收到的乾訊號的數量。The driving device according to item 1 of the patent application scope, wherein the second signal is a signal received before the first signal and the third signal is a signal received before the second signal In the case of a signal, the instantaneous rotational speed is calculated by the rotational speed calculation section by the following formula: n = 60000 / (ΔTa × Np) In the above formula, n represents the instantaneous rotation speed (rpm), ΔTa represents the first signal interval (mSec) after correction, and Np represents the dry signal received by the signal receiving unit during a period of one revolution of the motor. quantity. 如申請專利範圍第1項所述的驅動裝置,其中在該訊號接收部接收到該第一訊號的情况下,該訊號間隔變化量計算部將在該第一訊號與該第二訊號之間按照監視時間間隔進行計數數量後的第一計數數量與在該第二訊號與該第三訊號之間按照該監視時間間隔進行計數數量後的第二計數數量之間的計數數量差作爲該訊號間隔變化量來計算出,該訊號間隔補正部藉由求得與該計數數量差相應的權重係數,並將該權重係數與該計數數量差相乘,並將與該權重係數相乘後的該計數數量差與該第二計數數量相加,來對該第一計數數量進行補正。The driving device according to item 1 of the scope of patent application, wherein in the case where the signal receiving section receives the first signal, the signal interval variation calculating section will calculate between the first signal and the second signal according to The difference in count between the first count after counting at the monitoring interval and the second count after counting at the monitoring interval between the second signal and the third signal is taken as the signal interval change The signal interval correction unit obtains a weighting coefficient corresponding to the difference between the counted quantities, multiplies the weighted coefficient with the difference between the counted quantities, and multiplies the counted quantity by the weighted coefficient. The difference is added to the second count number to correct the first count number. 如申請專利範圍第8項所述的驅動裝置,其中該監視時間間隔比所述電機的旋轉速度處於最大時所述訊號接收部所接收的所述訊號的時間間隔更短。The driving device according to item 8 of the patent application scope, wherein the monitoring time interval is shorter than the time interval of the signals received by the signal receiving unit when the rotation speed of the motor is at a maximum. 如申請專利範圍第8項所述的驅動裝置,其中該訊號間隔變化量計算部在計算出該計數數量差後,重置該第一計數數量。The driving device according to item 8 of the scope of patent application, wherein the signal interval variation calculation unit resets the first count quantity after calculating the difference in the count quantity. 如申請專利範圍第1項所述的驅動裝置,其中該訊號接收部接收的該訊號是從設置在該電機處的旋轉位置感測器所輸出的脈衝訊號的上升沿訊號或下降沿訊號。The driving device according to item 1 of the patent application range, wherein the signal received by the signal receiving section is a rising edge signal or a falling edge signal of a pulse signal output from a rotary position sensor provided at the motor. 一種電動車輛,其包括:申請專利範圍第1項中所記載的,並且該負載爲電動車輛的車輪的驅動裝置。An electric vehicle includes the device described in item 1 of the scope of patent application, and the load is a driving device for a wheel of the electric vehicle. 如申請專利範圍第12項所述的電動車輛,其中該車輪與該電機在不經由離合器的情况下機械連接。The electric vehicle according to item 12 of the scope of patent application, wherein the wheel and the motor are mechanically connected without passing through a clutch. 一種驅動方法,其包括: 訊號接收部接收按照與驅動負載的電機的旋轉速度相應的間隔到來的訊號的步驟; 訊號間隔變化量計算部計算出作爲第一訊號間隔與第二訊號間隔之間的差的訊號間隔變化量的步驟,該第一訊號間隔是由該訊號接收部剛接收到的第一訊號的接收時間點與早於該第一訊號而接收到的第二訊號的接收時間點之間的訊號間隔,該第二訊號間隔是該第二訊號的接收時間點與早於該第二訊號而接收到的第三訊號的接收時間點之間的訊號間隔; 訊號間隔補正部根據該訊號間隔變化量對該第一訊號間隔進行補正的步驟; 旋轉速度計算部根據補正後的該第一訊號間隔計算出該電機的瞬時旋轉速度的步驟 ;以及 電機控制部根據計算出的該瞬時旋轉速度對該電機進行控制的步驟。A driving method including: A step of the signal receiving unit receiving a signal that arrives at an interval corresponding to the rotation speed of the motor driving the load; The signal interval change amount calculating unit calculates a signal interval change amount as a difference between the first signal interval and the second signal interval. The first signal interval is a reception of the first signal just received by the signal receiving unit. The signal interval between the time point and the reception time point of the second signal received earlier than the first signal, and the second signal interval is the reception time point of the second signal and the second signal received earlier than the second signal. The signal interval between the receiving time points of the third signal; A step of correcting the first signal interval by the signal interval correction unit according to the change amount of the signal interval; A step of the rotation speed calculating unit calculating the instantaneous rotation speed of the motor based on the corrected first signal interval; and A step of the motor control unit controlling the motor based on the calculated instantaneous rotation speed. 一種驅動程式,其中: 使計算機執行: 訊號接收部接收按照與驅動負載的電機的旋轉速度相應的間隔到來的訊號的步驟; 訊號間隔變化量計算部計算出作爲第一訊號間隔與第二訊號間隔之間的差的訊號間隔變化量的步驟,該第一訊號間隔是由該訊號接收部剛接收到的第一訊號的接收時間點與早於該第一訊號而接收到的第二訊號的接收時間點之間的訊號間隔,該第二訊號間隔是該第二訊號的接收時間點與早於該第二訊號而接收到的第三訊號的接收時間點之間的訊號間隔; 訊號間隔補正部根據該訊號間隔變化量對該第一訊號間隔進行補正的步驟; 旋轉速度計算部根據補正後的該第一訊號間隔計算出該電機的瞬時旋轉速度的步驟 ;以及 電機控制部根據計算出的該瞬時旋轉速度對該電機進行控制的步驟。A driver, where: Make the computer execute: A step of the signal receiving unit receiving a signal that arrives at an interval corresponding to the rotation speed of the motor driving the load; The signal interval change amount calculating unit calculates a signal interval change amount as a difference between the first signal interval and the second signal interval. The first signal interval is a reception of the first signal just received by the signal receiving unit. The signal interval between the time point and the reception time point of the second signal received earlier than the first signal, and the second signal interval is the reception time point of the second signal and the second signal received earlier than the second signal. The signal interval between the receiving time points of the third signal; A step of correcting the first signal interval by the signal interval correction unit according to the change amount of the signal interval; A step of the rotation speed calculating unit calculating the instantaneous rotation speed of the motor based on the corrected first signal interval; and A step of the motor control unit controlling the motor based on the calculated instantaneous rotation speed.
TW108110694A 2018-03-28 2019-03-27 Driving device, driving method, driving program and electric vehicle TWI689427B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
WOPCT/JP2018/012744 2018-03-28
PCT/JP2018/012744 WO2019186756A1 (en) 2018-03-28 2018-03-28 Drive device, drive method, drive program, and electric vehicle

Publications (2)

Publication Number Publication Date
TW201945220A true TW201945220A (en) 2019-12-01
TWI689427B TWI689427B (en) 2020-04-01

Family

ID=68059572

Family Applications (1)

Application Number Title Priority Date Filing Date
TW108110694A TWI689427B (en) 2018-03-28 2019-03-27 Driving device, driving method, driving program and electric vehicle

Country Status (4)

Country Link
JP (1) JP6953621B2 (en)
CN (1) CN111954977B (en)
TW (1) TWI689427B (en)
WO (1) WO2019186756A1 (en)

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5423584A (en) * 1977-07-25 1979-02-22 Hitachi Ltd Pulse count type speed detector
JPS63163281A (en) * 1986-12-26 1988-07-06 Koyo Denshi Kogyo Kk Digital speed indicator
JPH09243668A (en) * 1996-03-12 1997-09-19 Toshiba Corp Method and device for measuring instantaneous valve of pulse signal
JP4171612B2 (en) * 2002-05-22 2008-10-22 株式会社東芝 Inverter device, semiconductor integrated circuit device
TWI259648B (en) * 2003-12-02 2006-08-01 Ind Tech Res Inst Method to control the DC brushless motor of electromotive car
US7150263B2 (en) * 2003-12-26 2006-12-19 Yamaha Hatsudoki Kabushiki Kaisha Engine speed control apparatus; engine system, vehicle and engine generator each having the engine speed control apparatus; and engine speed control method
CN100418298C (en) * 2005-03-23 2008-09-10 比亚迪股份有限公司 Permanent-magnet synchronous motor rotor position sensing method and position sensing device
JP4786425B2 (en) * 2006-06-07 2011-10-05 シャープ株式会社 Control device and control method
JP5195738B2 (en) * 2009-12-24 2013-05-15 トヨタ自動車株式会社 Rotation sensor abnormality determination device
TWI454394B (en) * 2012-03-29 2014-10-01 Univ Kun Shan Fuzzy acceleration control method for electric scooter
TWI565603B (en) * 2015-03-26 2017-01-11 鴻海精密工業股份有限公司 Electric bicycle and torque sensor thereof
CN107431452B (en) * 2015-04-10 2020-03-31 株式会社美姿把 Motor drive device and control method for motor drive device
CN106092148B (en) * 2015-04-29 2020-02-28 恩智浦美国有限公司 Counter-based circuit for measuring movement of an object
JP6012892B1 (en) * 2016-01-20 2016-10-25 三菱電機株式会社 Control device and control method for internal combustion engine

Also Published As

Publication number Publication date
CN111954977B (en) 2023-12-12
TWI689427B (en) 2020-04-01
JPWO2019186756A1 (en) 2021-02-25
JP6953621B2 (en) 2021-10-27
WO2019186756A1 (en) 2019-10-03
CN111954977A (en) 2020-11-17

Similar Documents

Publication Publication Date Title
JP2009038934A (en) Controller for motor
JP7162654B2 (en) Driving device, electric vehicle, and driving device control method
TWI689427B (en) Driving device, driving method, driving program and electric vehicle
TWI702338B (en) Driving device, driving method, driving program and electric vehicle
CN111225818B (en) Electric vehicle, electric vehicle control device, and electric vehicle control method
TWI689426B (en) Driving device, driving method, driving program and electric vehicle
JP6862562B2 (en) Electric vehicle control device, electric vehicle control method, electric vehicle control program and electric vehicle
CN111051119B (en) Electric vehicle control device, control method, storage medium, and electric vehicle
JP7127115B2 (en) Driving device, electric vehicle, and driving device control method
JP7135069B2 (en) Driving device, electric vehicle, and driving device control method