Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7802587B2 - Vehicle control device - Google Patents
[go: Go Back, main page]

JP7802587B2 - Vehicle control device - Google Patents

Vehicle control device

Info

Publication number
JP7802587B2
JP7802587B2 JP2022049435A JP2022049435A JP7802587B2 JP 7802587 B2 JP7802587 B2 JP 7802587B2 JP 2022049435 A JP2022049435 A JP 2022049435A JP 2022049435 A JP2022049435 A JP 2022049435A JP 7802587 B2 JP7802587 B2 JP 7802587B2
Authority
JP
Japan
Prior art keywords
current
correction
gain
voltage
motor
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
JP2022049435A
Other languages
Japanese (ja)
Other versions
JP2023142488A (en
Inventor
稔浩 米澤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Daihatsu Motor Co Ltd
Original Assignee
Daihatsu Motor Co Ltd
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 Daihatsu Motor Co Ltd filed Critical Daihatsu Motor Co Ltd
Priority to JP2022049435A priority Critical patent/JP7802587B2/en
Publication of JP2023142488A publication Critical patent/JP2023142488A/en
Application granted granted Critical
Publication of JP7802587B2 publication Critical patent/JP7802587B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Control Of Electric Motors In General (AREA)

Description

本発明は、車両に搭載されたモータによるアシスト機能を有する車両用制御装置に関する。 The present invention relates to a vehicle control device that has an assist function using a motor installed in the vehicle.

従来から、モータの目標トルク(電流指令値)と実トルク(実電流)との乖離を低減する車両用制御装置がある(例えば、特許文献1参照)。 Conventionally, there have been vehicle control devices that reduce the discrepancy between a motor's target torque (current command value) and its actual torque (actual current) (see, for example, Patent Document 1).

特開2021-27627号公報Japanese Patent Application Laid-Open No. 2021-27627

ところで、図6に示す搭載されたEPS(電動パワーステアリング)システム1Cでは、EPS-ECS(Electric Power Steering - Electronic Control Unit:電動パワーステアリング 電子制御ユニット)2CのCPU4Cは、操舵力、総舵角、車速情報などに基づいて、さらに、電流指令値と電流検出回路6の検出結果に基づいて算出する実際にモータ3に流れている電流の電流値との差分に基づくフィードバック制御を行って、電流指令値を算出してモータ3に流れる電流を制御する。 In the mounted EPS (electric power steering) system 1C shown in Figure 6, the CPU 4C of the EPS-ECS (Electric Power Steering - Electronic Control Unit) 2C calculates a current command value and controls the current flowing through the motor 3 based on steering force, total steering angle, vehicle speed information, etc., and also performs feedback control based on the difference between the current command value and the current value actually flowing through the motor 3, which is calculated based on the detection results of the current detection circuit 6.

電流検出回路6は、図7に示す一般的な電流検出回路の構成であり、詳細な説明を記載せず、簡単な記載に留める。電流検出回路6は、抵抗R1~R7、オペアンプAMPを備える。モータ3に流れる電流(ここでは、「モータ電流」と記載する。)をシャント抵抗である抵抗R1に通電することにより電圧に変換する。抵抗R2~R7、オペアンプAMPは、抵抗R5,R6で負帰還をかけ、抵抗R2~R3でオペアンプAMPの非反転入力端子と反転入力端子との間に発生するオフセット電圧を補償する、オフセット補償された負帰還の非反転増幅回路を構成している。オペアンプAMPの非反転端子および反転端子の各々には抵抗R4および抵抗R5が接続され、オペアンプAMPの出力端子には抵抗R7が接続されている。シャント抵抗R1にモータ電流を通電することにより変換された電圧はオペアンプAMP、抵抗R5,R6により増幅され、増幅された電圧はターミナルTから出力される。電流検出回路6で増幅されたアナログの電圧値は、CPU4Cによりデジタルの電圧値に変換されて補正される。 The current detection circuit 6 has the configuration of a typical current detection circuit shown in Figure 7, and will be described briefly without further detail. The current detection circuit 6 includes resistors R1-R7 and an operational amplifier AMP. The current flowing through the motor 3 (referred to here as "motor current") is converted into a voltage by passing it through shunt resistor R1. Resistors R2-R7 and the operational amplifier AMP form an offset-compensated negative feedback non-inverting amplifier circuit, with negative feedback provided by resistors R5 and R6, and resistors R2-R3 compensating for the offset voltage generated between the non-inverting and inverting input terminals of the operational amplifier AMP. Resistors R4 and R5 are connected to the non-inverting and inverting terminals of the operational amplifier AMP, respectively, and resistor R7 is connected to the output terminal of the operational amplifier AMP. The voltage converted by passing the motor current through shunt resistor R1 is amplified by the operational amplifier AMP and resistors R5 and R6, and the amplified voltage is output from terminal T. The analog voltage value amplified by the current detection circuit 6 is converted to a digital voltage value by the CPU 4C and corrected.

ここで、まず、CPU4Cによりアナログからデジタルに変換された電圧(以下、「AD電圧」と記載する。)ADの補正のための事前準備について図8を参照しつつ説明する。図8(a)および図8(b)では、横軸をモータ電流[A]とし、縦軸をAD電圧[V]としており、図8(a)および図8(b)に、モータ電流[A]とAD電圧[V]との関係を示す特性(以下、「モータ電流-AD電圧特性」と記載する。)を示している。 First, we will explain the preparations for correcting the voltage converted from analog to digital by the CPU 4C (hereinafter referred to as "AD voltage") with reference to Figure 8. In Figures 8(a) and 8(b), the horizontal axis represents the motor current [A] and the vertical axis represents the AD voltage [V]. Figures 8(a) and 8(b) show the relationship between the motor current [A] and the AD voltage [V] (hereinafter referred to as the "motor current-AD voltage characteristic").

図8(a)には、モータ電流[A]とAD電圧[V]とが比例する理想のモータ電流-AD電圧特性(以下、「理想モータ電流-AD電圧特性」と記載する。:図8(a)および図8(b)の各図では「理想特性」と簡略化して記載している。)を実線で、実物のモータ3に流した電流(モータ電流)[A]と実物の電流検出回路6による検出結果に基づくAD電圧[V]との関係を示すモータ電流-AD電圧特性(以下、「実物モータ電流-AD電圧特性」と記載する。:図8(a)および図8(b)の各図では「実物特性」と簡略化して記載している。)を点線で示している。 Figure 8(a) shows, using a solid line, the ideal motor current-AD voltage characteristic (hereinafter referred to as the "ideal motor current-AD voltage characteristic"; abbreviated as "ideal characteristic" in Figures 8(a) and 8(b)) where the motor current [A] and AD voltage [V] are proportional, and, using a dotted line, the motor current-AD voltage characteristic (hereinafter referred to as the "actual motor current-AD voltage characteristic"; abbreviated as "actual characteristic" in Figures 8(a) and 8(b)) showing the relationship between the current (motor current) [A] passed through the actual motor 3 and the AD voltage [V] based on the detection results from the actual current detection circuit 6.

モータ電流が0[A]である電流ポイントで、実物モータ電流-AD電圧特性のAD電圧の電圧値を、理想モータ電流-AD電圧特性のAD電圧の電圧値に一致させる補正(非通電時のオフセット量の補正)を行う。オフセット量は、モータ電流が0[A]である電流ポイントでの実物モータ電流-AD電圧特性のAD電圧の電圧値から、理想モータ電流-AD電圧特性のAD電圧の電圧値を減算した値であり、EEPROMなどで構築されるメモリ5Cに記憶する。また、EPS-ECU2Cの温度(サーミスタ温度)毎に、電流検出回路6のドリフトに関わるオフセット量の変動量(以下、「温度ドリフト量」と記載する。)をメモリ5Cに記憶する。オフセット量や温度ドリフト量は、例えば、EPS-ECU2Cの出荷検査時にメモリ5Cに記憶される。 At the current point where the motor current is 0 [A], the AD voltage value of the actual motor current-AD voltage characteristic is corrected to match the AD voltage value of the ideal motor current-AD voltage characteristic (offset correction when de-energized). The offset amount is calculated by subtracting the AD voltage value of the ideal motor current-AD voltage characteristic from the AD voltage value of the actual motor current-AD voltage characteristic at the current point where the motor current is 0 [A], and is stored in memory 5C constructed from an EEPROM or the like. Furthermore, the amount of change in the offset amount related to the drift of the current detection circuit 6 (hereinafter referred to as "temperature drift amount") is stored in memory 5C for each temperature (thermistor temperature) of the EPS-ECU 2C. The offset amount and temperature drift amount are stored in memory 5C, for example, during shipping inspection of the EPS-ECU 2C.

図8(b)には、実物モータ電流-AD電圧特性の各電流値からオフセット量を減算したモータ電流-AD電圧特性(以下、「第1補正後モータ電流-AD電圧特性」と記載する。:図8(b)では「第1補正後特性」と簡略化して記載している。)を一点鎖線で示している。 In Figure 8(b), the motor current-AD voltage characteristics obtained by subtracting the offset amount from each current value of the actual motor current-AD voltage characteristics (hereinafter referred to as the "motor current-AD voltage characteristics after first correction"; in Figure 8(b), this is abbreviated to "characteristics after first correction") are shown by a dashed dotted line.

モータ電流が定格電流値である電流ポイントで、第1補正後モータ電流-AD電圧特性のAD電圧の電圧値を、理想モータ電流-AD電圧特性のAD電圧の電圧値に一致させる補正を行う。当該補正は、電流ポイントでの第1補正後モータ電流-AD電圧特性のAD電圧の電圧値に補正ゲインの値を乗算して理想モータ電流-AD電圧特性のAD電圧の電圧値に一致させる補正であり、補正ゲインの値をメモリ5Cに記憶する。ここで、電流ポイントにおいて、補正ゲインの値で補正される補正量は、第1補正後モータ電流-AD電圧特性のAD電圧の電圧値から理想モータ電流-AD電圧特性のAD電圧の電圧値を減算して得られる補正量である。補正ゲインの値は、例えば、EPS-ECU2Cの出荷検査時にメモリ5Cに記憶される。 At a current point where the motor current is at the rated current value, a correction is made to match the AD voltage value of the first-corrected motor current-AD voltage characteristic to the AD voltage value of the ideal motor current-AD voltage characteristic. This correction is made by multiplying the AD voltage value of the first-corrected motor current-AD voltage characteristic at the current point by the correction gain value to match the AD voltage value of the ideal motor current-AD voltage characteristic, and the correction gain value is stored in memory 5C. Here, the correction amount corrected using the correction gain value at the current point is the correction amount obtained by subtracting the AD voltage value of the ideal motor current-AD voltage characteristic from the AD voltage value of the first-corrected motor current-AD voltage characteristic. The correction gain value is stored in memory 5C, for example, during shipping inspection of the EPS-ECU 2C.

続いて、AD電圧ADの補正の処理内容について図9を参照しつつ説明する。 Next, the process for correcting the AD voltage AD will be explained with reference to Figure 9.

CPU4Cは、第1の補正処理を行う。第1の補正処理では、CPU4Cは、加算部11において、メモリ5Cに記憶されているオフセット量Offsetと、サーミスタ温度に対応する温度ドリフト量Driftとを加算してドリフト補正オフセット量Offset_Driftを算出する(Offset_Drift=Offset+Drift)。CPU4Cは、減算部12において、AD電圧ADからドリフト補正オフセット量Offset_Driftを減算してオフセット補正AD電圧AD_Subを算出する(AD_Sub=AD-Offset_Drift=AD-(Offset+Drift))。 The CPU 4C performs a first correction process. In the first correction process, the CPU 4C adds the offset amount Offset stored in memory 5C and the temperature drift amount Drift corresponding to the thermistor temperature in the adder 11 to calculate the drift-correction offset amount Offset_Drift (Offset_Drift = Offset + Drift). The CPU 4C subtracts the drift-correction offset amount Offset_Drift from the AD voltage AD in the subtracter 12 to calculate the offset-correction AD voltage AD_Sub (AD_Sub = AD - Offset_Drift = AD - (Offset + Drift)).

CPU4Cは、第2の補正処理を行う。第2の補正処理では、CPU4Cは、乗算部13において、メモリ5Cに記憶されている補正ゲインGをオフセット補正AD電圧AD_Subに乗算して補正後AD電圧AD_COR_Cを算出する(AD_COR_C=G×AD_Sub=G×(AD-(Offset+Drift))。そして、CPU4Cは、補正後AD電圧AD_COR_Cの電圧値を基にモータ3に実際に流れているモータ電流の電流値を算出する。 The CPU 4C performs a second correction process. In the second correction process, the CPU 4C uses the multiplication unit 13 to multiply the offset-corrected AD voltage AD_Sub by the correction gain G stored in memory 5C to calculate the corrected AD voltage AD_COR_C (AD_COR_C = G x AD_Sub = G x (AD - (Offset + Drift)). Then, the CPU 4C calculates the current value of the motor current actually flowing through the motor 3 based on the voltage value of the corrected AD voltage AD_COR_C.

EPSシステム1でモータアシストを決定するモータ電流の電流値は走行時のユーザハンドルの操舵力に影響するため電流の検出精度が求められる。従来は図6から図9を参照して説明した第1補正および第2補正を行うことによりモータ電流の電流値の誤差をなくすようにしている。 The motor current value that determines the motor assist in the EPS system 1 affects the steering force of the user's handlebars while driving, so high accuracy in detecting the current is required. Conventionally, errors in the motor current value have been eliminated by performing the first and second corrections described with reference to Figures 6 to 9.

しかしながら、上記の第2補正では、モータ電流が定格電流値である電流ポイントにおける、第1補正後モータ電流-AD電圧特性のAD電圧の電圧値が理想モータ電流-AD電圧特性のAD電圧の電圧値に一致させる補正ゲインを用いるため、他の電流値の領域での誤差が発生しやすく、ユーザ操舵力の連続性の悪化につながってしまう。例えば、IPA(Intelligent Parking Asist)仕様では、定格電流値50[A]に対して通常時の電流の最大値として例えば45[A]が設定されるため、定格電流値50[A]の電流ポイントで取得した補正ゲインを用いた第2補正では通常時に使用される電流値の電流領域では誤差が発生しやすい。 However, the second correction described above uses a correction gain that matches the AD voltage value of the motor current-AD voltage characteristic after the first correction with the AD voltage value of the ideal motor current-AD voltage characteristic at the current point where the motor current is at the rated current value. This makes it easy for errors to occur in other current value ranges, leading to a deterioration in the continuity of the user steering force. For example, in the IPA (Intelligent Parking Assist) specification, the maximum normal current value is set to, for example, 45 [A] for a rated current value of 50 [A]. Therefore, when using the second correction that uses the correction gain obtained at the current point where the rated current value is 50 [A], errors are likely to occur in the current range of current values used under normal circumstances.

本発明の目的は、広い電流領域で実際にモータに流れている電流の電流値の検出精度を高くできる車両用制御装置を提供することである。 The object of the present invention is to provide a vehicle control device that can increase the accuracy of detecting the current value actually flowing through the motor over a wide current range.

前記の目的を達成するため、本発明に係る車両用制御装置は、車両に搭載されたモータによるアシスト機能を有する車両用制御装置であって、実際に前記モータに流れる電流値を電圧値に変換して検出するオペアンプを備えた電流検出手段と、前記電流検出手段により検出される電圧値を補正する補正処理を行う補正手段とを備え、前記補正手段は、第1の補正処理を行った後に第2の補正処理を行うものであり、前記第1の補正処理は、モータに流れるモータ電流と、前記モータ電流から前記電流検出手段により変換される電圧値との関係である電流-電圧特性であって、電流と電圧が比例する理想モータ電流-電圧特性における非通電時の前記電流検出手段による前記電圧値に対して、実際の前記モータに流した実物モータ電流-電圧特性における非通電時の前記電流検出手段による電圧値に一致させるオフセット量を導出し、前記電流検出手段の異なる複数の温度毎に予め導出した温度ドリフト量を前記オフセット量に加味した補正量を、当該電圧値から減算する補正であり、前記第2の補正処理は、前記モータの定格電流値を含む複数の電流値の各々における、当該電流値に対応する前記電流検出手段による前記電圧値と、前記理想モータ電流-電圧特性における当該電流値での前記電圧値とを基に当該電流値各々に対応する補正係数を予め導出しておき、前記第1の補正処理後の前記電圧値に当該電流値に対応する前記補正係数を乗算して前記理想モータ電流-電圧特性における前記電圧値に一致させる補正であることを特徴としている。 In order to achieve the above object, a vehicle control device according to the present invention is a vehicle control device having an assist function using a motor mounted on a vehicle, and comprises: current detection means having an operational amplifier that converts a value of a current actually flowing through the motor into a voltage value and detects it; and correction means that performs correction processing to correct the voltage value detected by the current detection means, the correction means performs a first correction processing and then a second correction processing, and the first correction processing is a current-voltage characteristic that is a relationship between a motor current flowing through the motor and a voltage value converted from the motor current by the current detection means, and the voltage value detected by the current detection means when current is not being applied in an ideal motor current-voltage characteristic in which current and voltage are proportional to each other is compared to the voltage value detected by the current detection means when current is not being applied. The second correction process is a correction in which an offset amount is derived to match the voltage value measured by the current detection means when no current is applied in the motor current-voltage characteristic, and a correction amount obtained by adding a temperature drift amount derived in advance for each of a plurality of different temperatures of the current detection means to the offset amount is subtracted from the voltage value; the second correction process is a correction in which a correction coefficient corresponding to each current value is derived in advance based on the voltage value measured by the current detection means corresponding to each current value at each of a plurality of current values including the rated current value of the motor and the voltage value at that current value in the ideal motor current-voltage characteristic, and the voltage value after the first correction process is multiplied by the correction coefficient corresponding to that current value to match the voltage value in the ideal motor current-voltage characteristic .

この構成によれば、所定の電流値を含む複数の電流値の各々における補正係数に基づく補正処理を行うことで、広い電流領域で実際にモータに流れている電流の電流値の検出精度を高くできる。 With this configuration, correction processing is performed based on a correction coefficient for each of multiple current values, including a predetermined current value, thereby improving the accuracy of detecting the current value actually flowing through the motor over a wide current range.

また、前記補正手段は、前記車両用制御装置の複数の温度の各々における、前記複数の電流値の各々での前記補正係数に基づいて、前記第1、第2の補正処理を行うとしてもよい。 The correction means may perform the first and second correction processes based on the correction coefficients for each of the plurality of current values at each of a plurality of temperatures of the vehicle control device.

この構成によれば、車両用制御装置の温度に応じた適切な補正処理が可能になって、車両用制御装置の温度が変化しても実際にモータに流れている電流の電流値の検出精度を高くできる。 This configuration enables appropriate correction processing according to the temperature of the vehicle control device, thereby improving the accuracy of detecting the current value actually flowing through the motor even when the temperature of the vehicle control device changes.

また、前記補正手段は、前記複数の温度の各々において、前記複数の電流値の各々での前記補正係数に基づいて作成されるマップを用いて、前記第1、第2の補正処理を行うとしてもよい。 The correction means may perform the first and second correction processes using a map created based on the correction coefficient at each of the plurality of temperatures and each of the plurality of current values.

この構成によれば、補正手段による補正処理で適した補正係数を用いることができる。 This configuration allows the correction means to use appropriate correction coefficients in the correction process.

本発明によれば、所定の電流値を含む複数の電流値の各々における補正係数に基づく補正処理を行うことで、広い電流領域で実際にモータに流れている電流の電流値の検出精度を高くできる。 According to the present invention, by performing correction processing based on correction coefficients for each of multiple current values, including a predetermined current value, it is possible to improve the detection accuracy of the current value actually flowing through the motor over a wide current range.

本発明の一実施形態に係るEPS(電動パワーステアリング)システムの構成を示すシステム構成図である。1 is a system configuration diagram showing the configuration of an EPS (electric power steering) system according to an embodiment of the present invention. 図1のCPUによるAD電圧の補正を説明するための説明図である。2 is an explanatory diagram for explaining correction of an AD voltage by a CPU in FIG. 1; FIG. 図1のCPUによるAD電圧の補正を説明するための説明図である。2 is an explanatory diagram for explaining correction of an AD voltage by a CPU in FIG. 1; FIG. 図1のCPUによるAD電圧の補正処理を説明するための説明図である。2 is an explanatory diagram for explaining a correction process of an AD voltage by a CPU in FIG. 1; FIG. 図1のCPUの演算部により行われる演算後補正ゲインの算出処理を説明するための説明図である。1. FIG. 4 is an explanatory diagram for explaining a calculation process of a post-calculation correction gain performed by a calculation unit of a CPU in FIG. 従来のEPS(電動パワーステアリング)システムの構成を示すシステム構成図である。FIG. 1 is a system configuration diagram showing the configuration of a conventional EPS (electric power steering) system. 図6の電流検出回路の構成を示す回路構成図である。FIG. 7 is a circuit diagram showing the configuration of the current detection circuit of FIG. 6 . 図6のCPUによるAD電圧の補正を説明するための説明図である。FIG. 7 is an explanatory diagram for explaining correction of an AD voltage by the CPU of FIG. 6 . 図6のCPUによるAD電圧の補正処理を説明するための説明図である。7 is an explanatory diagram for explaining a correction process of an AD voltage by the CPU of FIG. 6. FIG.

以下では、本発明の実施形態について、添付図面を参照しつつ詳細に説明する。 Embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

本発明の一実施形態に係るEPS(電動パワーステアリング)システム1の構成について図1を参照して説明する。 The configuration of an EPS (electric power steering) system 1 according to one embodiment of the present invention will be described with reference to Figure 1.

本実施形態のEPSシステム1は、図6から図9を参照して説明した従来のEPSシステム1Cとは、EPS-ECU2のCPU4がメモリ5の記憶内容を利用してAD電圧ADを補正する仕組みが、EPS-ECU2CのCPU4Cがメモリ5Cの記憶内容を利用してAD電圧ADを補正する仕組みと異なっているものであり、それ以外の点については従来のEPSシステム1Cと同様であり、同じ構成には同じ符号を付してその説明を省略する。なお、EPS-ECU2が本発明の「車両用制御装置」に相当する。また、図7の回路構成を有する図1の電流検出回路6が本発明の「電流検出手段」に相当する。 The EPS system 1 of this embodiment differs from the conventional EPS system 1C described with reference to Figures 6 to 9 in that the mechanism by which the CPU 4 of the EPS-ECU 2 corrects the AD voltage AD using the stored contents of memory 5 is different from the mechanism by which the CPU 4C of the EPS-ECU 2C corrects the AD voltage AD using the stored contents of memory 5C. In all other respects, the EPS system 1 is similar to the conventional EPS system 1C, and the same components are designated by the same reference numerals and their description will be omitted. The EPS-ECU 2 corresponds to the "vehicle control device" of the present invention. Furthermore, the current detection circuit 6 of Figure 1, which has the circuit configuration shown in Figure 7, corresponds to the "current detection means" of the present invention.

まず、CPU4が電流検出回路6の検出結果であるアナログの電圧値を変換したデジタルの電圧値(AD電圧ADの電圧値)の補正のための事前準備について図2および図3を参照しつつ説明する。図2(a),(b)および図3では、横軸をモータ電流[A]とし、縦軸をAD電圧[V]としており、図2(a),(b)および図3に、モータ電流[A]とAD電圧[V]との関係を示す特性(モータ電流-AD電圧特性)を示している。 First, we will explain the preparations made by the CPU 4 to correct the digital voltage value (the voltage value of the AD voltage AD) obtained by converting the analog voltage value detected by the current detection circuit 6, with reference to Figures 2 and 3. In Figures 2(a), (b), and 3, the horizontal axis represents the motor current [A] and the vertical axis represents the AD voltage [V]. Figures 2(a), (b), and 3 show the relationship between the motor current [A] and the AD voltage [V] (motor current-AD voltage characteristic).

図2(a)には、モータ電流[A]とAD電圧[V]とが比例する理想のモータ電流-AD電圧特性(理想モータ電流-AD電圧特性:図2(a),(b)および図3の各図では「理想特性」と簡略化して記載している。)を実線で、実物のモータ3に流した電流(モータ電流)[A]と実物の電流検出回路6による検出結果に基づくAD電圧[V]との関係を示すモータ電流-AD電圧特性(実物モータ電流-AD電圧特性:図2(a),(b)および図3の各図では「実物特性」と簡略化して記載している。)を点線で示している。 Figure 2(a) shows, using a solid line, the ideal motor current-AD voltage characteristic (ideal motor current-AD voltage characteristic: abbreviated as "ideal characteristic" in Figures 2(a), (b), and 3), where the motor current [A] and AD voltage [V] are proportional, and, using a dotted line, the motor current-AD voltage characteristic (actual motor current-AD voltage characteristic: abbreviated as "actual characteristic" in Figures 2(a), (b), and 3), which shows the relationship between the current (motor current) [A] passed through the actual motor 3 and the AD voltage [V] based on the detection results from the actual current detection circuit 6.

EPS-ECU2の所定の温度(以下、「サーミスタ基準温度」と記載する。)において、モータ電流が0[A]である電流ポイントで、実物モータ電流-AD電圧特性のAD電圧の電圧値を、理想モータ電流-AD電圧特性のAD電圧の電圧値に一致させる補正(非通電時のオフセット量の補正)を行う。オフセット量は、モータ電流が0[A]である電流ポイントでの実物モータ電流-AD電圧特性のAD電圧の電圧値から、理想モータ電流-AD電圧特性のAD電圧の電圧値を減算した値であり、EEPROMなどで構築されるメモリ5に記憶する。また、EPS-ECU2の複数の温度(サーミスタ温度)毎の当該サーミスタ温度と当該サーミスタ温度での電流検出回路6のドリフトに関わるオフセット量の変動量(温度ドリフト量)とから、両者の対応関係を示す温度ドリフト量マップを作成してメモリ5に記憶する。ただし、各サーミスタ温度での温度ドリフト量は、当該サーミスタ温度でのオフセット量から、サーミスタ基準温度でのオフセット量を減算した値である。オフセット量や温度ドリフト量マップは、例えば、EPS-ECU2の出荷検査時にメモリ5に記憶される。 At a specified temperature (hereinafter referred to as the "thermistor reference temperature") of the EPS-ECU 2, the AD voltage value of the actual motor current-AD voltage characteristic is corrected to match the AD voltage value of the ideal motor current-AD voltage characteristic at the current point where the motor current is 0 [A] (correction of the offset amount when power is off). The offset amount is the value obtained by subtracting the AD voltage value of the ideal motor current-AD voltage characteristic from the AD voltage value of the actual motor current-AD voltage characteristic at the current point where the motor current is 0 [A], and is stored in memory 5 constructed from an EEPROM or the like. In addition, a temperature drift amount map showing the correspondence between the thermistor temperature for each of multiple temperatures (thermistor temperatures) of the EPS-ECU 2 and the fluctuation amount of the offset amount related to the drift of the current detection circuit 6 at that thermistor temperature is created and stored in memory 5. However, the temperature drift amount at each thermistor temperature is the offset amount at that thermistor temperature minus the offset amount at the thermistor reference temperature. The offset amount and temperature drift amount map are stored in memory 5, for example, during shipping inspection of the EPS-ECU 2.

図2(b)および図3には、実物モータ電流-AD電圧特性の各電流値からオフセット量を減算したモータ電流-AD電圧特性(第1補正後モータ電流-AD電圧特性:図2(b)および図3の各図では「第1補正後特性」と簡略化して記載している。)を一点鎖線で示している。 In Figures 2(b) and 3, the motor current-AD voltage characteristics obtained by subtracting the offset amount from each current value of the actual motor current-AD voltage characteristics are shown by dashed dotted lines (motor current-AD voltage characteristics after first correction: simply referred to as "characteristics after first correction" in Figures 2(b) and 3).

図3において、モータ電流が定格電流値である第1の電流ポイント、定格電流値より小さく0[A]より大きい電流値である第2の電流ポイント、および、第2の電流ポイントの電流値より小さく0[A]より大きい電流値である第3の電流ポイントのそれぞれで、第1補正後モータ電流-AD電圧特性のAD電圧の電圧値を、理想モータ電流-AD電圧特性のAD電圧の電圧値に一致させる補正を行う。第1の電流ポイント、第2の電流ポイント、および、第3の電流ポイントの夫々の当該補正は、電流ポイントでの第1補正後モータ電流-AD電圧特性のAD電圧の電圧値に補正ゲインの値を乗算して理想モータ電流-AD電圧特性のAD電圧の電圧値に一致させる補正である。ここで、電流ポイント(第1の電流ポイント、第2の電流ポイント、第3の電流ポイント)において、補正ゲインの値で補正される補正量は、第1補正後モータ電流-AD電圧特性のAD電圧の電圧値から理想モータ電流-AD電圧特性のAD電圧の電圧値を減算して得られる補正量(第1の補正量、第2の補正量、第3の補正量)である。第1の電流ポイント、第2の電流ポイント、および、第3の電流ポイント毎の電流指令値(電流ポイントの電流値)[A]と補正ゲイン[-(単位なし)]とに基づいて、両者の対応関係を示す補正ゲインマップを作成してメモリ5に記憶する。なお、補正ゲインは、本発明の「補正係数」に相当する。 In Figure 3, at each of the first current point where the motor current is the rated current value, the second current point where the motor current is a current value less than the rated current value and greater than 0 [A], and the third current point where the motor current is a current value less than the second current point and greater than 0 [A], a correction is made to match the AD voltage value of the motor current-AD voltage characteristic after the first correction to the AD voltage value of the ideal motor current-AD voltage characteristic. The correction for each of the first current point, second current point, and third current point is a correction in which the AD voltage value of the motor current-AD voltage characteristic after the first correction at the current point is multiplied by the correction gain value to match the AD voltage value of the ideal motor current-AD voltage characteristic. Here, the correction amount corrected by the correction gain value at the current points (first current point, second current point, third current point) is the correction amount (first correction amount, second correction amount, third correction amount) obtained by subtracting the voltage value of the AD voltage of the ideal motor current-AD voltage characteristic from the voltage value of the AD voltage of the first corrected motor current-AD voltage characteristic. A correction gain map showing the correspondence between the current command value (current value at the current point) [A] and the correction gain [- (unitless)] for each of the first current point, second current point, and third current point is created and stored in memory 5. The correction gain corresponds to the "correction coefficient" in this invention.

本実施形態では、メモリ5には、補正ゲインマップとして、サーミスタ温度が-30度での理想モータ電流-AD電圧特性および第1補正後モータ電流-AD電圧特性を用いて作成する補正ゲインマップ(以下、「-30度補正ゲインマップ」と記載する。)、サーミスタ温度が25度での理想モータ電流-AD電圧特性および第1補正後モータ電流-AD電圧特性を用いて作成する補正ゲインマップ(以下、「25度補正ゲインマップ」と記載する。)、および、サーミスタ温度が65度での理想モータ電流-AD電圧特性および第1補正後モータ電流-AD電圧特性を用いて作成する補正ゲインマップ(以下、「65度補正ゲインマップ」と記載する。)の3つの補正ゲインマップが記憶されている。-30度補正ゲインマップ、25度補正ゲインマップ、および、65度補正ゲインマップは、例えば、EPS-ECU2の出荷検査時にメモリ5に記憶される。 In this embodiment, the memory 5 stores three correction gain maps: a correction gain map created using the ideal motor current-AD voltage characteristics and the motor current-AD voltage characteristics after the first correction when the thermistor temperature is -30 degrees (hereinafter referred to as the "-30-degree correction gain map"); a correction gain map created using the ideal motor current-AD voltage characteristics and the motor current-AD voltage characteristics after the first correction when the thermistor temperature is 25 degrees (hereinafter referred to as the "25-degree correction gain map"); and a correction gain map created using the ideal motor current-AD voltage characteristics and the motor current-AD voltage characteristics after the first correction when the thermistor temperature is 65 degrees (hereinafter referred to as the "65-degree correction gain map"). The -30-degree correction gain map, the 25-degree correction gain map, and the 65-degree correction gain map are stored in the memory 5, for example, during shipping inspection of the EPS-ECU 2.

続いて、AD電圧ADの補正の処理内容について図4を参照しつつ説明する。なお、図4および図5を参照して説明する補正内容の処理を行うCPU4の部分が本発明の「補正手段」に相当する。 Next, the process for correcting the AD voltage AD will be described with reference to Figure 4. Note that the part of CPU 4 that processes the correction details described with reference to Figures 4 and 5 corresponds to the "correction means" of the present invention.

CPU4は、第1の補正処理を行う。第1の補正処理では、CPU4は、メモリ5に記憶されている温度ドリフトマップを参照してサーミスタ温度に対応する温度ドリフト量Driftを取得する。なお、図4の温度ドリフトマップでは、サーミスタ温度を「温度」と簡略化し、温度ドリフト量を「ドリフト」と簡略化して図示している。 The CPU 4 performs a first correction process. In the first correction process, the CPU 4 references the temperature drift map stored in the memory 5 to obtain the temperature drift amount Drift corresponding to the thermistor temperature. Note that in the temperature drift map in Figure 4, the thermistor temperature is simplified to "temperature" and the temperature drift amount is simplified to "drift."

CPU4は、加算部11において、メモリ5に記憶されているオフセット量Offsetと、サーミスタ温度に対応する温度ドリフト量Driftとを加算してドリフト補正オフセット量Offset_Driftを算出する(Offset_Drift=Offset+Drift)。 The CPU 4 calculates the drift correction offset amount Offset_Drift in the adder 11 by adding the offset amount Offset stored in the memory 5 and the temperature drift amount Drift corresponding to the thermistor temperature (Offset_Drift = Offset + Drift).

CPU4は、減算部12において、AD電圧(CPU4により、電流検出回路6で得られたアナログの電圧をデジタルの電圧に変換したもの)ADからドリフト補正オフセット量Offset_Driftを減算してオフセット補正AD電圧AD_Subを算出する(AD_Sub=AD-Offset_Drift=AD-(Offset+Drift))。 The CPU 4 calculates the offset-corrected AD voltage AD_Sub by subtracting the drift correction offset amount Offset_Drift from the AD voltage AD (the analog voltage obtained by the current detection circuit 6 converted to a digital voltage by the CPU 4) in the subtraction unit 12 (AD_Sub = AD - Offset_Drift = AD - (Offset + Drift)).

CPU4は、第2の補正処理を行う。第2の補正処理では、CPU4は、例えば、操舵力、総舵角、車速情報などに基づいて、さらに、電流指令値と電流検出回路6の検出結果に基づいて算出する実際にモータ3に流れている電流の電流値との差分に基づくフィードバック制御を行って、電流指令値を算出する。CPU4は、メモリ5に記憶されている-30度補正ゲインマップを参照して、算出した電流指令値[A]に対応する補正ゲイン(以下、「-30度補正ゲイン」と記載する。)GAIN_m30を取得し、25度補正ゲインマップを参照して、算出した電流指令値[A]に対応する補正ゲイン(以下、「25度補正ゲイン」と記載する。)GAIN_25を取得し、65度補正ゲインマップを参照して、算出した電流指令値(A)に対応する補正ゲイン(以下、「65度補正ゲイン」と記載する。)GAIN_65を取得する。補正ゲインマップ(-30度補正ゲインマップ、25度補正ゲインマップ、65度補正ゲインマップ)を用いて補正ゲイン(-30度補正ゲイン、25度補正ゲイン、65度補正ゲイン)を取得するために、例えば、補間または外挿を行う。 The CPU 4 performs a second correction process. In the second correction process, the CPU 4 calculates a current command value based on, for example, steering force, total steering angle, vehicle speed information, etc., and further performs feedback control based on the difference between the current command value and the current value of the current actually flowing through the motor 3, which is calculated based on the detection results of the current detection circuit 6. The CPU 4 references the -30-degree correction gain map stored in the memory 5 to obtain a correction gain (hereinafter referred to as the "-30-degree correction gain") GAIN_m30 corresponding to the calculated current command value [A], references the 25-degree correction gain map to obtain a correction gain (hereinafter referred to as the "25-degree correction gain") GAIN_25 corresponding to the calculated current command value [A], and references the 65-degree correction gain map to obtain a correction gain (hereinafter referred to as the "65-degree correction gain") GAIN_65 corresponding to the calculated current command value (A). For example, interpolation or extrapolation is performed to obtain the correction gains (-30 degree correction gain, 25 degree correction gain, 65 degree correction gain) using the correction gain maps (-30 degree correction gain map, 25 degree correction gain map, 65 degree correction gain map).

続いて、CPU4は、演算部20において、演算後補正ゲインGAIN_CALを算出する。CPU4の演算部20において行われる演算後補正ゲインGAIN_CALの算出処理について図5を参照しつつ説明する。 Next, the CPU 4 calculates the post-calculation correction gain GAIN_CAL in the calculation unit 20. The calculation process for the post-calculation correction gain GAIN_CAL performed in the calculation unit 20 of the CPU 4 will be described with reference to Figure 5.

演算後補正ゲインGAIN_CALの算出は、サーミスタで計測されるEPS-ECUの温度(サーミスタ温度)Tempに応じた内容の処理が行われる。本実施形態では、(A)サーミスタ温度が-30度未満の場合、(B)サーミスタ温度が-30度以上25度未満の場合、(C)サーミスタ温度が25度以上65度未満の場合、(D)サーミスタ温度が65度以上の場合に分けた処理となっている。 The calculation of the post-calculation correction gain GAIN_CAL is performed according to the EPS-ECU temperature (thermistor temperature) Temp measured by the thermistor. In this embodiment, the process is divided into three cases: (A) when the thermistor temperature is less than -30 degrees, (B) when the thermistor temperature is -30 degrees or more but less than 25 degrees, (C) when the thermistor temperature is 25 degrees or more but less than 65 degrees, and (D) when the thermistor temperature is 65 degrees or more.

(A)サーミスタ温度が-30度未満の場合
サーミスタ温度Tempが-30度未満の場合、-30度補正ゲインGAIN_m30を演算後補正ゲインGAIN_CALとする(GAIN_CAL=GAIN_m30)。
(A) When the thermistor temperature is less than −30 degrees Celsius When the thermistor temperature Temp is less than −30 degrees Celsius, the −30 degree correction gain GAIN_m30 is set as the post-calculation correction gain GAIN_CAL (GAIN_CAL=GAIN_m30).

(B)サーミスタ温度が-30度以上25度未満の場合
サーミスタ温度Tempが-30度以上25度未満の場合、まず、計算パラメータ(第1補正ゲインGAIN_MAP1、第2補正ゲインGAIN_MAP2、温度差Temp_DIF、基準温度Temp_REF)の設定を行う。本実施形態では、第1補正ゲインGAIN_MAP1に対して-30補正ゲインGAIN_m30を設定し(GAIN_MAP1=GAIN_m30)、第2補正ゲインGAIN_MAP2に対して25補正ゲインGAIN_25を設定する(GAIN_MAP2=GAIN_25)。また、温度差Temp_DIFに対して55度を設定し(Temp_DIF=55)、基準温度Temp_REFに対して25度を設定する(Temp_REF=25)。
(B) When the thermistor temperature is -30 degrees or more and less than 25 degrees When the thermistor temperature Temp is -30 degrees or more and less than 25 degrees, first, the calculation parameters (first correction gain GAIN_MAP1, second correction gain GAIN_MAP2, temperature difference Temp_DIF, reference temperature Temp_REF) are set. In this embodiment, the first correction gain GAIN_MAP1 is set to a -30 correction gain GAIN_m30 (GAIN_MAP1 = GAIN_m30), and the second correction gain GAIN_MAP2 is set to a 25 correction gain GAIN_25 (GAIN_MAP2 = GAIN_25). Furthermore, the temperature difference Temp_DIF is set to 55 degrees (Temp_DIF = 55), and the reference temperature Temp_REF is set to 25 degrees (Temp_REF = 25).

続いて、設定した計算パラメータを用いて演算後補正ゲインGAIN_CALの算出を行う。なお、当該算出は、線形補間と呼ばれる手法を利用しているが、これに限定されるものではない。 Next, the post-calculation correction gain GAIN_CAL is calculated using the set calculation parameters. This calculation uses a technique called linear interpolation, but is not limited to this.

具体的には、演算部20は、減算部21において、第2補正ゲインGAIN_MAP2から第1補正ゲインGAIN_MAP1を減算して補正ゲイン差GAIN_DIFを算出する(GAIN_DIF=GAIN_MAP2-GAIN_MAP1=GAIN_25-GAIN_m30)。演算部20は、除算部22において、補正ゲイン差GAIN_DIFを温度差Temp_DIFで除算して補正ゲイン傾きGAIN_TILTを算出する(GAIN_TILT=GAIN_DIF/Temp_DIF=(GAIN_MAP2-GAIN_MAP1)/Temp_DIF=(GAIN_25-GAIN_m30)/55)。 Specifically, the calculation unit 20 calculates the correction gain difference GAIN_DIF by subtracting the first correction gain GAIN_MAP1 from the second correction gain GAIN_MAP2 in the subtraction unit 21 (GAIN_DIF = GAIN_MAP2 - GAIN_MAP1 = GAIN_25 - GAIN_m30). The calculation unit 20 calculates the correction gain slope GAIN_TILT by dividing the correction gain difference GAIN_DIF by the temperature difference Temp_DIF in the division unit 22 (GAIN_TILT = GAIN_DIF / Temp_DIF = (GAIN_MAP2 - GAIN_MAP1) / Temp_DIF = (GAIN_25 - GAIN_m30) / 55).

演算部20は、減算部23において、サーミスタ温度Tempから基準温度Temp_REFを減算して温度幅Temp_WIDを算出する(Temp_WID=Temp-Temp_REF=Temp-25)。 The calculation unit 20 calculates the temperature range Temp_WID in the subtraction unit 23 by subtracting the reference temperature Temp_REF from the thermistor temperature Temp (Temp_WID = Temp - Temp_REF = Temp - 25).

演算部20は、乗算部24において、補正ゲイン傾きGAIN_TILTを温度幅Temp_WIDに乗算して補正ゲイン幅GAIN_WIDを算出する(GAIN_WID=GAIN_TILT×Temp_WID=((GAIN_25-GAIN_m30)/55)×(Temp-25))。 The calculation unit 20 calculates the correction gain width GAIN_WID by multiplying the temperature width Temp_WID by the correction gain slope GAIN_TILT in the multiplication unit 24 (GAIN_WID = GAIN_TILT × Temp_WID = ((GAIN_25 - GAIN_m30) / 55) × (Temp - 25)).

演算部20は、加算部25において、第2補正ゲインGAIN_MAP2と補正ゲイン幅GAIN_WIDとを加算して演算後補正ゲインGAIN_CALを算出する(GAIN_CAL=GAIN_MAP2+GAIN_WID=GAIN_25+((GAIN_25-GAIN_m30)/55)×(Temp-25))。 The calculation unit 20 calculates the calculated correction gain GAIN_CAL by adding the second correction gain GAIN_MAP2 and the correction gain width GAIN_WID in the addition unit 25 (GAIN_CAL = GAIN_MAP2 + GAIN_WID = GAIN_25 + ((GAIN_25 - GAIN_m30)/55) x (Temp - 25)).

(C)サーミスタ温度が25度以上65度未満の場合
サーミスタ温度Tempが25度以上65度度未満の場合、まず、計算パラメータ(第1補正ゲインGAIN_MAP1、第2補正ゲインGAIN_MAP2、温度差Temp_DIF、基準温度Temp_REF)の設定を行う。本実施形態では、第1補正ゲインGAIN_MAP1に対して25補正ゲインGAIN_25を設定し(GAIN_MAP1=GAIN_25)、第2補正ゲインGAIN_MAP2に対して65補正ゲインGAIN_65を設定する(GAIN_MAP2=GAIN_65)。また、温度差Temp_DIFに対して40度を設定し(Temp_DIF=40)、基準温度Temp_REFに対して65度を設定する(Temp_REF=65)。
(C) When the thermistor temperature is equal to or greater than 25°C and less than 65°C When the thermistor temperature Temp is equal to or greater than 25°C and less than 65°C, the calculation parameters (first correction gain GAIN_MAP1, second correction gain GAIN_MAP2, temperature difference Temp_DIF, and reference temperature Temp_REF) are first set. In this embodiment, the first correction gain GAIN_MAP1 is set to a 25 correction gain GAIN_25 (GAIN_MAP1 = GAIN_25), and the second correction gain GAIN_MAP2 is set to a 65 correction gain GAIN_65 (GAIN_MAP2 = GAIN_65). Furthermore, the temperature difference Temp_DIF is set to 40°C (Temp_DIF = 40), and the reference temperature Temp_REF is set to 65°C (Temp_REF = 65).

続いて、設定した計算パラメータを用いて演算後補正ゲインGAIN_CALの算出を行う。なお、当該算出は、線形補間と呼ばれる手法を利用しているが、これに限定されるものではない。 Next, the post-calculation correction gain GAIN_CAL is calculated using the set calculation parameters. This calculation uses a technique called linear interpolation, but is not limited to this.

具体的には、演算部20は、減算部21において、第2補正ゲインGAIN_MAP2から第1補正ゲインGAIN_MAP1を減算して補正ゲイン差GAIN_DIFを算出する(GAIN_DIF=GAIN_MAP2-GAIN_MAP1=GAIN_65-GAIN_25)。演算部20は、除算部22において、補正ゲイン差GAIN_DIFを温度差Temp_DIFで除算して補正ゲイン傾きGAIN_TILTを算出する(GAIN_TILT=GAIN_DIF/Temp_DIF=(GAIN_MAP2-GAIN_MAP1)/Temp_DIF=(GAIN_65-GAIN_25)/40)。 Specifically, the calculation unit 20 calculates the correction gain difference GAIN_DIF by subtracting the first correction gain GAIN_MAP1 from the second correction gain GAIN_MAP2 in the subtraction unit 21 (GAIN_DIF = GAIN_MAP2 - GAIN_MAP1 = GAIN_65 - GAIN_25). The calculation unit 20 calculates the correction gain slope GAIN_TILT by dividing the correction gain difference GAIN_DIF by the temperature difference Temp_DIF in the division unit 22 (GAIN_TILT = GAIN_DIF / Temp_DIF = (GAIN_MAP2 - GAIN_MAP1) / Temp_DIF = (GAIN_65 - GAIN_25) / 40).

演算部20は、減算部23において、サーミスタ温度Tempから基準温度Temp_REFを減算して温度幅Temp_WIDを算出する(Temp_WID=Temp-Temp_REF=Temp-65)。 The calculation unit 20 calculates the temperature range Temp_WID by subtracting the reference temperature Temp_REF from the thermistor temperature Temp in the subtraction unit 23 (Temp_WID = Temp - Temp_REF = Temp - 65).

演算部20は、乗算部24において、補正ゲイン傾きGAIN_TILTを温度幅Temp_WIDに乗算して補正ゲイン幅GAIN_WIDを算出する(GAIN_WID=GAIN_TILT×Temp_WID=((GAIN_65-GAIN_25)/40)×(Temp-65))。 The calculation unit 20 calculates the correction gain width GAIN_WID by multiplying the temperature width Temp_WID by the correction gain slope GAIN_TILT in the multiplication unit 24 (GAIN_WID = GAIN_TILT × Temp_WID = ((GAIN_65 - GAIN_25) / 40) × (Temp - 65)).

演算部20は、加算部25において、第2補正ゲインGAIN_MAP2と補正ゲイン幅GAIN_WIDとを加算して演算後補正ゲインGAIN_CALを算出する(GAIN_CAL=GAIN_MAP2+GAIN_WID=GAIN_65+((GAIN_65-GAIN_25)/40)×(Temp-65))。 The calculation unit 20 calculates the calculated correction gain GAIN_CAL by adding the second correction gain GAIN_MAP2 and the correction gain width GAIN_WID in the addition unit 25 (GAIN_CAL = GAIN_MAP2 + GAIN_WID = GAIN_65 + ((GAIN_65 - GAIN_25) / 40) × (Temp - 65)).

(D)サーミスタ温度が65度以上の場合
サーミスタ温度Tempが65度未満の場合、65度補正ゲインGAIN_65を演算後補正ゲインGAIN_CALとする(GAIN_CAL=GAIN_65)。
(D) When the thermistor temperature is 65 degrees or higher When the thermistor temperature Temp is less than 65 degrees, the 65 degree correction gain GAIN_65 is set as the post-calculation correction gain GAIN_CAL (GAIN_CAL=GAIN_65).

サーミスタ温度Tempに応じて、上記の(A)~(D)の何れかの処理が行われた後、図4に示すように、CPU4は、乗算部30において、演算後補正ゲインGAIN_CALをオフセット補正AD電圧AD_Subに乗算して補正後AD電圧AD_CORを算出する(AD_COR=GAIN_CAL×AD_Sub)。そして、CPU4は、例えば、予め補正後AD電圧AD_CORの電圧値とモータ3に実際に流れているモータ電流との対応関係を予めメモリ5に記憶しておいて、補正後AD電圧AD_CORの電圧値を基にモータ3に実際に流れているモータ電流の電流値を算出する。 After one of the above processes (A) to (D) is performed depending on the thermistor temperature Temp, as shown in FIG. 4, the CPU 4 calculates the corrected AD voltage AD_COR by multiplying the offset-corrected AD voltage AD_Sub by the calculated correction gain GAIN_CAL in the multiplication unit 30 (AD_COR = GAIN_CAL x AD_Sub). Then, for example, the CPU 4 stores in advance in memory 5 the correspondence between the voltage value of the corrected AD voltage AD_COR and the motor current actually flowing through the motor 3, and calculates the current value of the motor current actually flowing through the motor 3 based on the voltage value of the corrected AD voltage AD_COR.

上記した実施形態によれば、第1の電流ポイント(定格電流値の電流ポイント)、第2の電流ポイント、第3の電流ポイントの各々における補正ゲインに基づいて作成される補正ゲインマップ(-30度補正ゲインマップ、25度補正ゲインマップ、65度補正ゲインマップ)に基づく補正処理を行うことで、広い電流領域で実際にモータ3に流れている電流の電流値の検出精度を高くできる。 According to the above-described embodiment, correction processing is performed based on correction gain maps (-30-degree correction gain map, 25-degree correction gain map, 65-degree correction gain map) created based on the correction gains at the first current point (current point at the rated current value), second current point, and third current point, thereby improving the detection accuracy of the current value actually flowing through the motor 3 over a wide current range.

また、補正ゲインマップとして、サーミスタ温度が-30度である場合における-30度補正ゲインマップ、サーミスタ温度が25度である場合における25度補正ゲインマップ、および、サーミスタ温度が65度である場合における65度補正ゲインマップを用いることにより、EPS-ECU2の温度(サーミスタ温度)に応じた適切な補正処理が可能になって、EPS-ECU2の温度(サーミスタ温度)が変化しても実際にモータ3に流れている電流の電流値の検出精度を高くできる。 In addition, by using the correction gain maps - a -30 degree correction gain map when the thermistor temperature is -30 degrees, a 25 degree correction gain map when the thermistor temperature is 25 degrees, and a 65 degree correction gain map when the thermistor temperature is 65 degrees, appropriate correction processing according to the temperature (thermistor temperature) of the EPS-ECU 2 becomes possible, and the detection accuracy of the current value actually flowing through the motor 3 can be improved even if the temperature (thermistor temperature) of the EPS-ECU 2 changes.

また、補正ゲインマップ(-30度補正ゲインマップ、25度補正ゲインマップ、65度補正ゲインマップ)を用いることにより、補正処理で適した補正ゲインを用いて補正処理を行うことができる。 In addition, by using correction gain maps (-30 degree correction gain map, 25 degree correction gain map, 65 degree correction gain map), correction processing can be performed using the appropriate correction gain.

その他、前述の構成には、特許請求の範囲に記載された事項の範囲で種々の設計変更を施すことが可能である。 In addition, various design modifications may be made to the above-described configuration within the scope of the claims.

例えば、上記実施形態では、第1の電流ポイント、第2の電流ポイント、および、第3の電流ポイントの3つの電流ポイントでの補正ゲインを予め設定して用いるようにしているが、これに限定されず、2つの電流ポイント(例えば、定格電流値の電流ポイントを含む2つの電流ポイント)での補正ゲインを用いるようにしてもよいし、4つ以上の電流ポイント(例えば、定格電流値の電流ポイントを含む4つ以上の電流ポイント)での補正ゲインを用いるようにしてもよい。 For example, in the above embodiment, correction gains are set in advance and used at three current points: the first current point, the second current point, and the third current point. However, this is not limited to this, and correction gains may be used at two current points (e.g., two current points including the current point at the rated current value), or at four or more current points (e.g., four or more current points including the current point at the rated current value).

また、上記実施形態では、サーミスタ温度が-25度、30度、および、65度それぞれに対応する補正ゲインマップを予め設定して用いるようにしているが、これに限らず、2つの温度それぞれに対応する補正ゲインマップを用いるようにしてもよいし、4つ以上の温度それぞれに対応する補正ゲインマップを用いるようにしてもよい。 In addition, in the above embodiment, correction gain maps corresponding to thermistor temperatures of -25 degrees, 30 degrees, and 65 degrees are set in advance and used, but this is not limited to this. It is also possible to use correction gain maps corresponding to two temperatures, or correction gain maps corresponding to four or more temperatures.

また、上記の実施形態で説明した内容や上記の変形例で説明した内容を適宜組み合わせるようにしてもよい。 In addition, the contents described in the above embodiment and the contents described in the above modified example may be combined as appropriate.

本発明は、車両に搭載されたモータによるアシスト機能を有する車両用制御装置に広く適用可能である。 The present invention is widely applicable to vehicle control devices that have an assist function using a motor installed in the vehicle.

1:EPS(電動パワーステアリング)システム
2:EPS-ECU
3:EPS-ECU
4:CPU
5:メモリ
6:電流検出回路
11:加算部
12:減算部
20:演算部
21:減算部
22:除算部
23:減算部
24:乗算部
25:加算部
30:乗算部
1: EPS (electric power steering) system 2: EPS-ECU
3: EPS-ECU
4: CPU
5: Memory 6: Current detection circuit 11: Addition section 12: Subtraction section 20: Calculation section 21: Subtraction section 22: Division section 23: Subtraction section 24: Multiplication section 25: Addition section 30: Multiplication section

Claims (3)

車両に搭載されたモータによるアシスト機能を有する車両用制御装置であって、
実際に前記モータに流れる電流値を電圧値に変換して検出するオペアンプを備えた電流検出手段と、
前記電流検出手段により検出される電圧値を補正する補正処理を行う補正手段と
を備え、
前記補正手段は、前記補正処理として第1の補正処理を行った後に第2の補正処理を行うものであり、
前記第1の補正処理は、
モータに流れるモータ電流と、前記モータ電流から前記電流検出手段により変換される電圧値との関係である電流-電圧特性であって、電流と電圧が比例する理想モータ電流-電圧特性における非通電時の前記電流検出手段による前記電圧値に対して、実際の前記モータに流した実物モータ電流-電圧特性における非通電時の前記電流検出手段による電圧値に一致させるオフセット量を導出し、前記電流検出手段の異なる複数の温度毎に予め導出した温度ドリフト量を前記オフセット量に加味した補正量を、当該電圧値から減算する補正であり、
前記第2の補正処理は、
前記モータの定格電流値を含む複数の電流値の各々における、当該電流値に対応する前記電流検出手段による前記電圧値と、前記理想モータ電流-電圧特性における当該電流値での前記電圧値とを基に当該電流値各々に対応する補正係数を予め導出しておき、前記第1の補正処理後の前記電圧値に当該電流値に対応する前記補正係数を乗算して前記理想モータ電流-電圧特性における前記電圧値に一致させる補正である
ことを特徴とする車両用制御装置。
A vehicle control device having an assist function using a motor mounted on a vehicle,
a current detection means including an operational amplifier for converting the value of the current actually flowing through the motor into a voltage value and detecting the voltage value;
a correction unit that performs a correction process to correct the voltage value detected by the current detection unit,
the correction means performs a first correction process as the correction process and then a second correction process,
The first correction process includes:
a current-voltage characteristic that is the relationship between the motor current flowing through the motor and the voltage value converted from the motor current by the current detection means, the voltage value being an ideal motor current-voltage characteristic in which current and voltage are proportional to each other, and an offset amount that matches the voltage value being measured by the current detection means when no current is being applied in the actual motor current-voltage characteristic that is measured when no current is being applied to the motor; and a correction amount that takes into account temperature drift amounts calculated in advance for a plurality of different temperatures of the current detection means and adds to the offset amount, and then subtracts the resulting correction amount from the voltage value;
The second correction process includes:
A correction coefficient corresponding to each current value is derived in advance based on the voltage value detected by the current detection means corresponding to each current value, including the rated current value of the motor, and the voltage value at that current value in the ideal motor current-voltage characteristic , and the voltage value after the first correction process is multiplied by the correction coefficient corresponding to that current value to make it match the voltage value in the ideal motor current-voltage characteristic.
A vehicle control device comprising:
前記補正手段は、前記車両用制御装置の複数の温度の各々における、前記複数の電流値の各々での前記補正係数に基づいて、前記第1、第2の補正処理を行うことを特徴とする請求項1に記載の車両用制御装置。 2. The vehicle control device according to claim 1, wherein the correction means performs the first and second correction processes based on the correction coefficients for each of the plurality of current values at each of a plurality of temperatures of the vehicle control device. 前記補正手段は、前記複数の温度の各々において、前記複数の電流値の各々での前記補正係数に基づいて作成されるマップを用いて、前記第1、第2の補正処理を行うことを特徴とする請求項2に記載の車両用制御装置。



3. The vehicle control device according to claim 2, wherein the correction means performs the first and second correction processes using a map created based on the correction coefficients at each of the plurality of current values at each of the plurality of temperatures.



JP2022049435A 2022-03-25 2022-03-25 Vehicle control device Active JP7802587B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2022049435A JP7802587B2 (en) 2022-03-25 2022-03-25 Vehicle control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2022049435A JP7802587B2 (en) 2022-03-25 2022-03-25 Vehicle control device

Publications (2)

Publication Number Publication Date
JP2023142488A JP2023142488A (en) 2023-10-05
JP7802587B2 true JP7802587B2 (en) 2026-01-20

Family

ID=88205747

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022049435A Active JP7802587B2 (en) 2022-03-25 2022-03-25 Vehicle control device

Country Status (1)

Country Link
JP (1) JP7802587B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001268978A (en) 2000-03-17 2001-09-28 Mitsubishi Electric Corp Motor control device
JP2015141021A (en) 2014-01-27 2015-08-03 パナソニックIpマネジメント株式会社 Correction circuit

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06292389A (en) * 1993-04-01 1994-10-18 Omron Corp Driving device for motor

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001268978A (en) 2000-03-17 2001-09-28 Mitsubishi Electric Corp Motor control device
JP2015141021A (en) 2014-01-27 2015-08-03 パナソニックIpマネジメント株式会社 Correction circuit

Also Published As

Publication number Publication date
JP2023142488A (en) 2023-10-05

Similar Documents

Publication Publication Date Title
KR102120840B1 (en) Position estimation method, position estimation device and position control device
JP4905208B2 (en) Overcurrent detection circuit
KR101399047B1 (en) Temperature sensor bow compensation
JP4823517B2 (en) Apparatus and method for compensated sensor output
CN110943661B (en) On-line correction method and device for rotor magnetic field orientation deviation
JP4736508B2 (en) Physical quantity detection method and sensor device
JP7211515B2 (en) Phase adjustment method, correction value calculation device, motor control device, electric actuator product, and electric power steering device
US8901874B2 (en) Electric power steering system
JP7802587B2 (en) Vehicle control device
JP3183516B2 (en) A method for determining stator flux estimates for asynchronous machines.
JPH0763829A (en) Load measuring apparatus
JP2010081726A (en) Controller of ac motor and control method thereof
CN119246925B (en) Voltage measurement temperature effect calibration circuit and method, battery management system and vehicle
JPH0638574A (en) Motor controller for induction motor
JP4858006B2 (en) Electric power steering control device
JPH05217548A (en) Quadrupole mass spectrometer
JP3699772B2 (en) Servo controller A / D converter
JPH06294664A (en) Nonlinear circuit
JP4687104B2 (en) Control device and method for permanent magnet type rotary motor
WO2022029911A1 (en) Motor iron-loss calculation device and motor control device comprising same
CN115516754A (en) Motor control device and motor control method
JP2005059777A (en) Electrically powered steering device
JP3318649B2 (en) Measurement data processing apparatus and method
JP2516647Y2 (en) Temperature compensation circuit
WO2024252841A1 (en) Control apparatus for electric power conversion device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20250206

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20251027

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20251104

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20251222

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20260106

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20260107

R150 Certificate of patent or registration of utility model

Ref document number: 7802587

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150