JP2022129047A - Motor control device, and electric motor apparatus provided with motor and control device - Google Patents

Motor control device, and electric motor apparatus provided with motor and control device Download PDF

Info

Publication number
JP2022129047A
JP2022129047A JP2021027589A JP2021027589A JP2022129047A JP 2022129047 A JP2022129047 A JP 2022129047A JP 2021027589 A JP2021027589 A JP 2021027589A JP 2021027589 A JP2021027589 A JP 2021027589A JP 2022129047 A JP2022129047 A JP 2022129047A
Authority
JP
Japan
Prior art keywords
voltage
supply voltage
motor
driver
control
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.)
Pending
Application number
JP2021027589A
Other languages
Japanese (ja)
Inventor
和幸 井口
Kazuyuki Iguchi
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.)
NTN Corp
Original Assignee
NTN Corp
NTN Toyo Bearing 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 NTN Corp, NTN Toyo Bearing Co Ltd filed Critical NTN Corp
Priority to JP2021027589A priority Critical patent/JP2022129047A/en
Publication of JP2022129047A publication Critical patent/JP2022129047A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

To properly determine whether a supply voltage is abnormal by narrowing a detection voltage reactive range without increasing the number of components.SOLUTION: A control device (30) includes an inverter (31) that drives a motor (20) with power supplied from a DC power source (11), a driver (32) that drives the inverter (31), a control power source unit (33) that generates, as a control voltage, a voltage obtained by stepping down a supply voltage, and a control computation unit (34) that is operated with the control voltage. The driver (32) has a voltage drop detection unit (32a) that detects a drop in the supply voltage. The control computation unit (34) determines whether or not the supply voltage is abnormal, by using a supply voltage drop detection result obtained by the driver (32) and a detection voltage calculated by a digital computation unit (34b) using the control voltage and an output from an A/D converter (34a).SELECTED DRAWING: Figure 1

Description

この発明は、モータの制御装置、および、そのモータおよび制御装置を備える電動装置に関する。 BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a motor control device and an electric device including the motor and the control device.

直流電源から供給される電力で駆動される電動装置(モータなど)においては、直流電源から電動装置に供給される電源電圧(以下「供給電圧」ともいう)が変動することがあり、そのときも安定して作動することが要求される。たとえば電動装置としてオイルポンプ駆動用のモータを備える車両においては、補機バッテリなどの直流電源からモータに供給される電源電圧は、通常時では12V程度であるが、高負荷時(たとえばスタータによるエンジンのクランキング時)には瞬間的に6V程度まで低下することがあり、そのような状況でもオイルポンプ駆動用のモータを適切に制御することが要求される。このため、電動装置を制御するための制御装置のなかには、供給電圧を検出し、供給電圧に合わせて電動装置の出力を制御するマイコンを搭載したものが存在する(たとえば特許文献1,2参照)。 In an electric device (motor, etc.) driven by power supplied from a DC power supply, the power supply voltage (hereinafter also referred to as "supply voltage") supplied to the electric device from the DC power supply may fluctuate. Stable operation is required. For example, in a vehicle equipped with a motor for driving an oil pump as an electric device, the power supply voltage supplied to the motor from a DC power supply such as an auxiliary battery is normally about 12 V, but when the load is high (for example, when the engine is driven by a starter) (during cranking), the voltage may momentarily drop to about 6V, and it is required to appropriately control the motor for driving the oil pump even in such a situation. For this reason, some control devices for controlling electric devices are equipped with a microcomputer that detects the supply voltage and controls the output of the electric device according to the supply voltage (see Patent Documents 1 and 2, for example). .

特開2002-218799号公報JP-A-2002-218799 特許第4066914号公報Japanese Patent No. 4066914

マイコンで供給電圧を検出する場合、マイコンに内蔵されたA/Dコンバータを用いて供給電圧を検出することが多い。マイコンに内蔵されたA/Dコンバータを用いて供給電圧を検出する場合、供給電圧の検出範囲は0VからA/Dコンバータの基準電圧までの範囲となるが、A/Dコンバータの基準電圧は、通常、マイコンの電源電圧に設定されている。そのため、マイコンの電源電圧よりも供給電圧が高い場合には、供給電圧をマイコンの電源電圧以下の略一定の電圧に降圧する分圧回路を設け、マイコンが、分圧回路によって供給電圧を降圧した後の電圧とマイコンの電源電圧とを用いて演算することによって、供給電圧の検出値を算出することになる。 When detecting the supply voltage with a microcomputer, the supply voltage is often detected using an A/D converter built into the microcomputer. When the supply voltage is detected using an A/D converter built into the microcomputer, the detection range of the supply voltage is from 0 V to the reference voltage of the A/D converter, but the reference voltage of the A/D converter is Normally, it is set to the power supply voltage of the microcomputer. Therefore, when the supply voltage is higher than the power supply voltage of the microcomputer, a voltage dividing circuit is provided to reduce the supply voltage to a substantially constant voltage equal to or lower than the power supply voltage of the microcomputer, and the microcomputer reduces the supply voltage by the voltage dividing circuit. A detected value of the supply voltage is calculated by performing calculation using the later voltage and the power supply voltage of the microcomputer.

上記のような構成において、供給電圧が過度に降下し、これに伴ってマイコンの電源電圧が過度に降下すると、A/Dコンバータの基準電圧も低下してしまうため、供給電圧を正しく検出できない電圧範囲(以下「検出電圧無効範囲」ともいう)が生じることがあり、この影響で供給電圧が異常であるか否かを適切に判定することができなくなる場合がある。その対策として、A/Dコンバータの基準電圧をマイコンの電源電圧とは独立して生成する方法が考えられるが、この手法では、精度の良い基準電圧を生成する回路が別途必要となるため、部品点数が増加し、コストアップや回路基板の大型化を招くため、好ましくない面がある。 In the above configuration, if the supply voltage drops excessively and the power supply voltage of the microcomputer accordingly drops, the reference voltage of the A/D converter also drops, making it impossible to correctly detect the supply voltage. A range (hereinafter also referred to as a "detection voltage invalid range") may occur, and this effect may make it impossible to appropriately determine whether the supply voltage is abnormal. As a countermeasure, it is possible to generate the reference voltage for the A/D converter independently of the power supply voltage for the microcomputer. There is an unfavorable aspect because the number of points increases, leading to an increase in cost and an increase in the size of the circuit board.

本開示は、上記の課題を解決するためになされたものであって、その目的は、部品点数を増加することなく、検出電圧無効範囲を狭小化することによって供給電圧が異常であるか否かを適切に判定することである。 The present disclosure has been made to solve the above problems, and the object thereof is to narrow the detection voltage invalid range without increasing the number of parts, thereby determining whether the supply voltage is abnormal. is to be determined appropriately.

本開示によるモータの制御装置は、直流電源から供給される電力でモータを駆動するインバータと、直流電源から供給される電圧である供給電圧を電源として作動することによってインバータを駆動するドライバと、供給電圧あるいは供給電圧を降圧した電圧を制御電圧として生成する電源部と、制御電圧を電源として作動することによってドライバに対する指令を生成する演算部とを備える。演算部は、制御電圧を基準電圧として直流電源から入力される電圧のアナログ値をデジタル値に変換するA/Dコンバータと、制御電圧とA/Dコンバータの出力とを用いて供給電圧の検出値である検出電圧を算出するデジタル演算部とを含む。ドライバは、供給電圧の低下を検出する機能を有する。演算部は、ドライバによる供給電圧の低下の検出結果と、デジタル演算部によって算出された検出電圧とを用いて、供給電圧が異常であるか否かを判定する。 A motor control device according to the present disclosure includes an inverter that drives a motor with power supplied from a DC power supply, a driver that drives the inverter by operating with a supply voltage that is the voltage supplied from the DC power supply as a power supply, and a supply voltage. It comprises a power supply section that generates a voltage or a voltage obtained by stepping down the supply voltage as a control voltage, and a computing section that generates a command to the driver by operating with the control voltage as a power supply. The calculation unit uses an A/D converter that converts the analog value of the voltage input from the DC power supply using the control voltage as a reference voltage into a digital value, and the control voltage and the output of the A/D converter to obtain the detected value of the supply voltage. and a digital calculation unit for calculating the detected voltage. The driver has the function of detecting a drop in the supply voltage. The calculation unit determines whether the supply voltage is abnormal using the detection result of the supply voltage drop by the driver and the detected voltage calculated by the digital calculation unit.

本開示によれば、インバータを駆動するための既存のドライバが供給電圧の低下を検出する機能を有する点に鑑み、ドライバによる供給電圧の低下の検出結果と、デジタル演算部によって算出された検出電圧との双方を用いて、供給電圧が異常であるか否かを判定する。そのため、検出電圧のみを用いて供給電圧が異常であるか否かを判定する場合に比べて、検出電圧無効範囲を狭小化することができる。これにより、基準電圧を生成するための新たな回路を別途設けることなく、供給電圧が異常であるか否かを適切に判定することができる。その結果、部品点数を増加することなく、検出電圧無効範囲を狭小化することによって供給電圧が異常であるか否かを適切に判定することができる。 According to the present disclosure, in view of the fact that an existing driver for driving an inverter has a function of detecting a supply voltage drop, and are used to determine whether the supply voltage is abnormal. Therefore, the detection voltage invalid range can be narrowed compared to the case of determining whether or not the supply voltage is abnormal using only the detection voltage. Accordingly, it is possible to appropriately determine whether or not the supply voltage is abnormal without separately providing a new circuit for generating the reference voltage. As a result, it is possible to appropriately determine whether or not the supply voltage is abnormal by narrowing the detection voltage invalid range without increasing the number of parts.

制御システムの概略構成を示す図である。It is a figure which shows schematic structure of a control system. 制御演算部における、供給電圧の検出に関する部分を模式的に示す図である。FIG. 4 is a diagram schematically showing a portion related to supply voltage detection in a control calculation unit; 供給電圧と制御電圧と検出電圧と電圧低下検出結果との関係の一例を示す図(その1)である。FIG. 11 is a diagram (part 1) showing an example of the relationship between the supply voltage, the control voltage, the detection voltage, and the voltage drop detection result; 供給電圧と制御電圧と検出電圧と電圧低下検出結果との関係の一例を示す図(その2)である。FIG. 10 is a diagram (Part 2) showing an example of the relationship between the supply voltage, the control voltage, the detection voltage, and the voltage drop detection result; 供給電圧と制御電圧と検出電圧と電圧低下検出結果との関係の一例を示す図(その3)である。FIG. 9 is a diagram (part 3) showing an example of the relationship between the supply voltage, the control voltage, the detection voltage, and the voltage drop detection result; 制御演算部がモータの制御中に行なう処理手順の一例を示すフローチャートである。5 is a flow chart showing an example of a processing procedure performed by a control calculation unit during motor control; 制御演算部による供給電圧の異常判定手法の一例を説明するための図である。It is a figure for demonstrating an example of the abnormality determination method of the supply voltage by a control calculating part.

以下、本開示の実施の形態について図面を参照しつつ説明する。なお、以下の図面において同一または相当する部分には同一の参照番号を付し、その説明は繰返さない。 Embodiments of the present disclosure will be described below with reference to the drawings. In the drawings below, the same or corresponding parts are denoted by the same reference numerals, and the description thereof will not be repeated.

(構成)
図1は、本実施の形態による制御システム1の概略構成を示す図である。制御システム1は、たとえば車両に搭載される。
(Constitution)
FIG. 1 is a diagram showing a schematic configuration of a control system 1 according to this embodiment. The control system 1 is mounted on a vehicle, for example.

制御システム1は、直流電源11と、電動装置10と、上位コントローラ12とを備える。電動装置10は、直流電源11から供給される電力によって作動する。制御システム1が車両に搭載される場合、電動装置10は車両の補機装置に相当し、直流電源11は車両の補機装置を作動する電力を蓄える補機バッテリに相当し、上位コントローラ12は車両全体を制御する電子制御装置に相当し得る。以下では、直流電源11から電動装置10に供給される電圧を「供給電圧」ともいう。 The control system 1 includes a DC power supply 11 , an electric device 10 and a host controller 12 . The electric device 10 operates by power supplied from the DC power supply 11 . When the control system 1 is mounted on a vehicle, the electric device 10 corresponds to an auxiliary device of the vehicle, the DC power supply 11 corresponds to an auxiliary battery that stores electric power for operating the auxiliary device of the vehicle, and the host controller 12 is It can correspond to an electronic control unit that controls the entire vehicle. Hereinafter, the voltage supplied from the DC power supply 11 to the electric device 10 is also referred to as "supply voltage".

電動装置10は、モータ20と、オイルポンプ21と、制御装置30とを備える。電動装置10は、直流電源11より供給される電力により、制御装置30を用いてモータ20を駆動し、オイルポンプ21を回転することでオイルを吸入し吐出する。 The electric device 10 includes a motor 20 , an oil pump 21 and a control device 30 . The electric device 10 drives the motor 20 using the control device 30 with electric power supplied from the DC power supply 11 and rotates the oil pump 21 to suck and discharge oil.

特に、車両においては、電動装置10以外の多数の補機装置が直流電源11(補機バッテリ)に接続されており、それらの補機装置の作動状況に応じて直流電源11から電動装置10に供給される「供給電圧」は大きく変動する場合がある。供給電圧が大きく変動した場合においても、オイルポンプ21を適切に作動することが求められる。 In particular, in a vehicle, a large number of auxiliary devices other than the electric device 10 are connected to a DC power source 11 (auxiliary device battery). The supplied "supply voltage" may vary greatly. Even when the supply voltage fluctuates greatly, the oil pump 21 is required to operate properly.

制御装置30は、インバータ31と、ドライバ32と、制御電源部33と、制御演算部34とを備える。直流電源11からの供給電圧は、インバータ31、ドライバ32、制御電源部33、および制御演算部34に供給される。 The control device 30 includes an inverter 31 , a driver 32 , a control power supply section 33 and a control calculation section 34 . A supply voltage from the DC power supply 11 is supplied to the inverter 31 , the driver 32 , the control power supply section 33 and the control calculation section 34 .

インバータ31は、直流電源11から供給される直流電力を交流電力に変換してモータ20に出力する。これにより、モータ20が駆動される。本実施の形態においは、モータ20は多相のブラシレスモータであり、インバータ31はモータ20のコイルの各相に応じた複数のスイッチング素子を有する。インバータ31の各スイッチング素子は、ドライバ32により通電(オン)と非通電(オフ)とのいずれかの状態に適宜切り替えられる。 Inverter 31 converts the DC power supplied from DC power supply 11 into AC power and outputs the AC power to motor 20 . Thereby, the motor 20 is driven. In this embodiment, motor 20 is a multiphase brushless motor, and inverter 31 has a plurality of switching elements corresponding to each phase of the coil of motor 20 . Each switching element of the inverter 31 is appropriately switched between an energized (ON) state and a non-energized (OFF) state by the driver 32 .

ドライバ32は、制御演算部34からの指令に応じて、インバータ31の各スイッチング素子のオンとオフとの切り替えを実際に行なう。ドライバ32は、直流電源11からの「供給電圧」が下限値V1以上である場合に作動するように構成されている。言い換えれば、供給電圧が下限値V1未満になると、ドライバ32は非作動状態(停止状態)となる。 Driver 32 actually switches each switching element of inverter 31 between on and off in accordance with a command from control calculation unit 34 . The driver 32 is configured to operate when the "supply voltage" from the DC power supply 11 is equal to or higher than the lower limit value V1. In other words, when the supply voltage becomes less than the lower limit value V1, the driver 32 is in a non-operating state (stopped state).

さらに、ドライバ32には、電圧低下検出部32aが備えられる。電圧低下検出部32aは、供給電圧の低下を検出する機能を有する。具体的には、電圧低下検出部32aは、供給電圧が下限値V1に近い所定値V2(V2>V1)まで低下すると、供給電圧の低下を検出する。ドライバ32は、たとえば電圧低下検出機能(電圧低下検出部32a)を有するワンチップゲートドライバなど、インバータ31のスイッチング素子のブリッジ回路を駆動するための集積回路によって実現することができる。 Further, the driver 32 is provided with a voltage drop detector 32a. The voltage drop detector 32a has a function of detecting a drop in supply voltage. Specifically, the voltage drop detector 32a detects a drop in the supply voltage when the supply voltage drops to a predetermined value V2 (V2>V1) close to the lower limit value V1. Driver 32 can be realized by an integrated circuit for driving a bridge circuit of switching elements of inverter 31, such as a one-chip gate driver having a voltage drop detection function (voltage drop detection unit 32a).

本実施の形態においては、ドライバ32の電圧低下検出部32aによる供給電圧の低下の検出結果を示す信号が、制御演算部34に入力されるように構成されている。この点については後に詳述する。 In the present embodiment, a signal indicating the detection result of the supply voltage drop by the voltage drop detection section 32 a of the driver 32 is input to the control calculation section 34 . This point will be described in detail later.

ドライバ32は、制御演算部34からの指令に応じてインバータ31の各スイッチング素子を制御する。これにより、モータ20が制御演算部34の指令に応じて駆動される。 Driver 32 controls each switching element of inverter 31 according to a command from control calculation unit 34 . Thereby, the motor 20 is driven according to the command from the control calculation section 34 .

制御電源部33は、直流電源11からの供給電圧を略一定の電圧に降圧し、降圧された略一定の電圧を制御電圧として制御演算部34に出力する。以下では、本実施の形態では、直流電源11が車両用の補機バッテリであることを想定し、通常状態において供給電圧が12V程度であり、制御電源部33が供給電圧を5V程度の制御電圧に降圧する場合について説明する。なお、たとえば、供給電圧が5V程度である場合には、制御電源部33は、供給電圧そのものを制御電圧として生成するようにしてもよい。 The control power supply unit 33 steps down the voltage supplied from the DC power supply 11 to a substantially constant voltage, and outputs the reduced substantially constant voltage to the control calculation unit 34 as a control voltage. Hereinafter, in the present embodiment, it is assumed that the DC power supply 11 is an auxiliary battery for a vehicle, the supply voltage is approximately 12 V in a normal state, and the control power supply unit 33 supplies a control voltage of approximately 5 V. A case of stepping down the voltage to For example, when the supply voltage is approximately 5 V, the control power supply section 33 may generate the supply voltage itself as the control voltage.

制御演算部34は、制御電源部33から供給される制御電圧を電源として作動することによって、ドライバ32に対する指令を生成する。制御演算部34は、制御電源部33からの「制御電圧」が制御回路の作動可能最低電圧となる供給電圧の下限値V0以上である場合に作動するように構成されている。言い換えれば、供給電圧が下限値V0未満になると、制御演算部34は非作動状態(停止状態)となる。 The control calculation unit 34 generates a command for the driver 32 by operating using the control voltage supplied from the control power supply unit 33 as a power source. The control calculation unit 34 is configured to operate when the "control voltage" from the control power supply unit 33 is equal to or higher than the lower limit value V0 of the supply voltage, which is the minimum operable voltage of the control circuit. In other words, when the supply voltage becomes less than the lower limit value V0, the control calculation unit 34 is in a non-operating state (stopped state).

さらに、制御演算部34は、供給電圧を検出するためのA/Dコンバータ34a(後述の図2参照)を備える。以下では、制御演算部34によって検出された供給電圧を「検出電圧」とも称する。制御演算部34は、供給電圧の変動に起因するモータ20の出力変動を抑制するため、ドライバ32へ出力する指令のDuty比を、検出電圧に基づいて補正する。 Furthermore, the control calculation unit 34 includes an A/D converter 34a (see FIG. 2 described later) for detecting the supply voltage. Hereinafter, the supply voltage detected by the control calculation unit 34 is also referred to as "detected voltage". The control calculation unit 34 corrects the duty ratio of the command output to the driver 32 based on the detected voltage in order to suppress the output fluctuation of the motor 20 caused by the fluctuation of the supply voltage.

さらに、制御演算部34は、供給電圧が過度に低い状態ではモータ20により駆動されるオイルポンプ21の出力性能を確保することができなくなることに鑑み、検出電圧がしきい値Vth未満であるか否かを判定する。制御演算部34は、検出電圧がしきい値Vth未満である場合、供給電圧が異常であると判定して、モータ20を停止するとともに供給電圧が異常である旨を上位コントローラ12へ通知する。 Furthermore, in view of the fact that the output performance of the oil pump 21 driven by the motor 20 cannot be ensured when the supply voltage is excessively low, the control calculation unit 34 determines whether the detected voltage is less than the threshold value Vth. determine whether or not When the detected voltage is less than the threshold value Vth, the control calculation unit 34 determines that the supply voltage is abnormal, stops the motor 20, and notifies the host controller 12 of the abnormality of the supply voltage.

図2は、制御演算部34における、供給電圧の検出に関する部分を模式的に示す図である。制御演算部34は、抵抗R1,R2と、A/Dコンバータ34aと、デジタル演算部34bとを備える。A/Dコンバータ34aおよびデジタル演算部34bは、CPU(Central Processing Unit)などのマイコンによって構成することができる。 FIG. 2 is a diagram schematically showing a part related to supply voltage detection in the control calculation unit 34. As shown in FIG. The control calculation unit 34 includes resistors R1 and R2, an A/D converter 34a, and a digital calculation unit 34b. The A/D converter 34a and the digital calculation unit 34b can be configured by a microcomputer such as a CPU (Central Processing Unit).

抵抗R1,R2は、供給電圧を制御演算部34の制御電圧(5V)と同じレベルに降圧するための分圧回路である。すなわち、本実施の形態においては、A/Dコンバータ34aを用いて供給電圧(12V)を検出するところ、通常、A/Dコンバータによる検圧検出範囲は、0Vから制御電圧(5V)の範囲となる。そのため、制御電圧(5V)よりも高い供給電圧(12V)を検出する場合には、図2のように、供給電圧を制御電圧と同じレベルに降圧するための分圧回路(抵抗R1,R2)が設けられる。 The resistors R1 and R2 are voltage dividing circuits for stepping down the supply voltage to the same level as the control voltage (5V) of the control arithmetic unit 34. FIG. That is, in the present embodiment, the supply voltage (12 V) is detected using the A/D converter 34a, but normally the voltage detection detection range by the A/D converter is from 0 V to the control voltage (5 V). Become. Therefore, when detecting a supply voltage (12 V) higher than the control voltage (5 V), a voltage dividing circuit (resistors R1 and R2) for stepping down the supply voltage to the same level as the control voltage is used as shown in FIG. is provided.

具体的には、抵抗R1,R2は、直流電源11とグランドとの間に直列に接続される。抵抗R1,R2間の電圧がA/Dコンバータ34aに入力される。抵抗R1,R2の抵抗値をそれぞれr1,r2とすると、抵抗R1,R2間の電圧(すなわちA/Dコンバータ34aに実際に入力される電圧のアナログ値)は、オームの法則により、供給電圧×r2/(r1+r2)と表わすことができる。 Specifically, the resistors R1 and R2 are connected in series between the DC power supply 11 and the ground. A voltage across the resistors R1 and R2 is input to the A/D converter 34a. Assuming that the resistance values of the resistors R1 and R2 are r1 and r2, respectively, the voltage between the resistors R1 and R2 (that is, the analog value of the voltage actually input to the A/D converter 34a) is the supply voltage× It can be expressed as r2/(r1+r2).

A/Dコンバータ34aは、制御電源部33からの制御電圧(5V)を基準電圧として、抵抗R1,R2間の電圧(アナログ値)をデジタル値に変換する。 The A/D converter 34a converts the voltage (analog value) between the resistors R1 and R2 into a digital value using the control voltage (5 V) from the control power supply section 33 as a reference voltage.

デジタル演算部34bは、制御電源部33から供給される制御電圧と、A/Dコンバータ34aから出力されるデジタル値とを用いて、供給電圧の検出値である「検出電圧」を算出する。デジタル演算部34bによって算出される検出電圧は、下記の式(1)によって表わすことができる。 The digital calculation unit 34b uses the control voltage supplied from the control power supply unit 33 and the digital value output from the A/D converter 34a to calculate a "detection voltage" that is a detection value of the supply voltage. The detected voltage calculated by the digital calculator 34b can be represented by the following equation (1).

検出電圧=制御電圧×D/N×(r1+r2)/r2 ・・・(1)
式(1)において、「D」はA/Dコンバータ34aが出力するデジタル値を表わし、「N」はA/Dコンバータ34aの量子化レベル数を表わす。たとえば、A/Dコンバータ34aのビット数が12である場合、量子化レベル数Nは「4096」(=212)である。なお、r1,r2は、上述したように、抵抗R1,R2の抵抗値をそれぞれ表わす。
Detection voltage=control voltage×D/N×(r1+r2)/r2 (1)
In equation (1), "D" represents the digital value output from A/D converter 34a, and "N" represents the number of quantization levels of A/D converter 34a. For example, when the number of bits of the A/D converter 34a is 12, the number of quantization levels N is "4096" (=2 12 ). Note that r1 and r2 represent the resistance values of resistors R1 and R2, respectively, as described above.

上記のような構成において、供給電圧が過度に降下し、これに伴って制御演算部34の電源電圧である「制御電圧」が過度に降下すると、供給電圧の検出に問題が発生することがある。上述のように、制御電圧は、制御電源部33によって、直流電源11からの供給電圧(12V)を略一定の電圧(5V)に降圧することによって生成される。この際、供給電圧は制御電圧よりも高い所定値Vm(たとえば6V)以上である必要があり、供給電圧が所定値Vmよりも降下すると、制御電圧が略一定の電圧よりも降下する。供給電圧がさらに降下して下限値V0(たとえば4V)を下回ると制御演算部34の作動は停止されるが、制御電圧が降下を始める供給電圧の所定値Vmから制御演算部34の作動が停止される下限値V0までの電圧範囲(以下「中間電圧範囲」ともいう)では制御演算部34は作動状態を維持する。 In the configuration as described above, if the supply voltage drops excessively and the "control voltage", which is the power supply voltage of the control calculation unit 34, drops excessively, a problem may occur in detecting the supply voltage. . As described above, the control voltage is generated by the control power supply section 33 by stepping down the supply voltage (12V) from the DC power supply 11 to a substantially constant voltage (5V). At this time, the supply voltage must be at least a predetermined value Vm (for example, 6 V) higher than the control voltage. If the supply voltage drops below the predetermined value Vm, the control voltage drops below a substantially constant voltage. When the supply voltage further drops below the lower limit value V0 (for example, 4V), the operation of the control calculation unit 34 is stopped, but the operation of the control calculation unit 34 is stopped from the predetermined value Vm of the supply voltage at which the control voltage starts to drop. In the voltage range up to the lower limit value V0 (hereinafter also referred to as “intermediate voltage range”), the control calculation unit 34 maintains the operating state.

上述したように、供給電圧を検出するためのA/Dコンバータ34aは、制御演算部34の電源電圧である制御電圧を基準電圧として検出電圧を算出する。しかしながら、制御演算部34は、供給電圧の低下によって制御電圧が略一定の電圧(5V)未満に降下して上述の中間電圧範囲に含まれる状態になった場合においても、降下後の制御電圧(5V未満の電圧)を基準電圧として供給電圧を算出することになる。この影響で、制御電圧が中間電圧範囲に含まれる状態においては、制御演算部34は、供給電圧を正しく算出できないという問題がある。 As described above, the A/D converter 34a for detecting the supply voltage calculates the detected voltage using the control voltage, which is the power supply voltage of the control calculator 34, as the reference voltage. However, even if the control voltage drops below the substantially constant voltage (5 V) due to a drop in the supply voltage and falls within the above-described intermediate voltage range, the control operation unit 34 does not allow the control voltage after the drop ( A voltage of less than 5 V) is used as a reference voltage to calculate the supply voltage. Due to this influence, there is a problem that the control calculation unit 34 cannot correctly calculate the supply voltage when the control voltage is included in the intermediate voltage range.

図3は、実際の供給電圧と、制御電源部33によって生成される制御電圧と、制御演算部34によって算出される検出電圧と、ドライバ32による電圧低下検出結果との関係の一例を示す図である。 FIG. 3 is a diagram showing an example of the relationship between the actual supply voltage, the control voltage generated by the control power supply unit 33, the detection voltage calculated by the control calculation unit 34, and the voltage drop detection result by the driver 32. be.

制御電圧は供給電圧を降圧して生成されるため、供給電圧が所定値Vm(たとえば6V)未満になると、制御電圧も略一定の電圧(たとえば5V)よりも降下する。制御電圧が略一定の電圧よりも降下することによって、A/Dコンバータ34aの基準電圧が略一定の電圧よりも降下する。検出電圧は降下した基準電圧(制御電圧)と比較されるため、実施の供給電圧よりも高く検出され、下限値V0から所定値Vmまでの中間電圧範囲において、デジタル演算部34bは、実際の供給電圧と乖離した検出電圧を算出してしまう。特に、中間電圧範囲においては、図3に示されるように、供給電圧の低下に応じて、検出電圧が増加している。そのため、図3に示される下限値V0から所定値V0_hiまでの範囲に供給電圧が含まれる場合、上述の式(1)で検出電圧Vdが算出されたとしても、算出された検出電圧Vdから実際の供給電圧を一意に特定できない、すなわち図3に示す所定値Vd_lowであるのか所定値Vd_hiであるのかを特定できない、という問題が発生する。以下では、検出電圧から供給電圧を一意に特定することができない供給電圧範囲(すなわち供給電圧を正しく検出できない電圧範囲)を「検出電圧無効範囲」と称する。 Since the control voltage is generated by stepping down the supply voltage, when the supply voltage becomes less than the predetermined value Vm (eg 6V), the control voltage also drops below a substantially constant voltage (eg 5V). When the control voltage drops below the substantially constant voltage, the reference voltage of the A/D converter 34a drops below the substantially constant voltage. Since the detected voltage is compared with the dropped reference voltage (control voltage), it is detected to be higher than the actual supply voltage, and in the intermediate voltage range from the lower limit value V0 to the predetermined value Vm, the digital operation unit 34b detects the actual supply voltage. A detected voltage that deviates from the voltage is calculated. In particular, in the middle voltage range, as shown in FIG. 3, the detected voltage increases as the supply voltage decreases. Therefore, when the supply voltage is included in the range from the lower limit value V0 to the predetermined value V0_hi shown in FIG. , that is, it is impossible to specify whether it is the predetermined value Vd_low or the predetermined value Vd_hi shown in FIG. Hereinafter, a supply voltage range in which the supply voltage cannot be uniquely specified from the detected voltage (that is, a voltage range in which the supply voltage cannot be correctly detected) is referred to as a "detected voltage invalid range."

この対策として、検出電圧から供給電圧を常に一意の関係で得られるよう、A/Dコンバータ34aの基準電圧を制御電圧とは独立して生成する方法が考えられる。しかしながら、この手法は、精度の良い基準電圧を生成する回路が別途必要となるため、部品点数が増加し、コストアップおよび回路基板の大型化を招くため、好ましくない面がある。 As a countermeasure for this, a method of generating the reference voltage for the A/D converter 34a independently of the control voltage is conceivable so that the supply voltage can always be obtained from the detected voltage in a unique relationship. However, this method requires a separate circuit for generating a reference voltage with high accuracy, which increases the number of parts, increases the cost, and increases the size of the circuit board, which is not preferable.

そこで、本実施の形態による制御演算部34は、ドライバ32の電圧低下検出部32aの機能を利用することによって「検出電圧無効範囲」を狭小化するように構成されている。上述したように、ドライバ32は、供給電圧が下限値V1から所定値V2(V2>V1)までの電圧低下検出範囲に含まれる場合に、供給電圧の低下を検出する。本実施の形態においては、ドライバ32による供給電圧低下の検出結果を示す信号が、制御演算部34に入力されるように構成されている。 Therefore, the control calculation unit 34 according to the present embodiment is configured to narrow the "detection voltage invalid range" by using the function of the voltage drop detection unit 32a of the driver 32. FIG. As described above, the driver 32 detects a drop in the supply voltage when the supply voltage falls within the voltage drop detection range from the lower limit value V1 to the predetermined value V2 (V2>V1). In this embodiment, a signal indicating the detection result of the supply voltage drop by the driver 32 is input to the control calculation section 34 .

図3に示す例では、下限値V1と下限値V0とが一致し、所定値V2と所定値Vmとが一致する例が示されている。この場合、中間電圧範囲とドライバ32による電圧低下検出範囲とを一致させることができる。これにより、制御演算部34は、ドライバ32による電圧低下が検出されたか否かによって、供給電圧が中間電圧範囲に含まれるか否かを判定することができる。そして、制御演算部34は、供給電圧が中間電圧範囲に含まれる場合には、たとえば上述の式(1)とは別の検出式を用いることで、正しい検出電圧を算出することが可能である。たとえば図3に示すような検出電圧Vdが算出された場合においても、ドライバ32による電圧低下が検出されている場合には供給電圧が所定値Vd_lowであると判定し、ドライバ32による電圧低下が検出されていない場合には供給電圧が所定値Vd_hiであると判定することができる。言い換えれば、図3に示す例では、ドライバ32による電圧低下の検出結果を利用することによって、検出電圧無効範囲を無くすことができる。 The example shown in FIG. 3 shows an example in which the lower limit value V1 and the lower limit value V0 match, and the predetermined value V2 and the predetermined value Vm match. In this case, the intermediate voltage range and the voltage drop detection range by the driver 32 can be matched. Accordingly, the control calculation unit 34 can determine whether or not the supply voltage is included in the intermediate voltage range based on whether or not a voltage drop by the driver 32 has been detected. Then, when the supply voltage is included in the intermediate voltage range, the control calculation unit 34 can calculate the correct detection voltage by using a detection formula other than the above-described formula (1), for example. . For example, even when the detection voltage Vd as shown in FIG. 3 is calculated, if a voltage drop by the driver 32 is detected, it is determined that the supply voltage is the predetermined value Vd_low, and the voltage drop by the driver 32 is detected. If not, it can be determined that the supply voltage is the predetermined value Vd_hi. In other words, in the example shown in FIG. 3, the detection voltage invalid range can be eliminated by using the voltage drop detection result by the driver 32 .

本実施の形態においては、検出電圧がしきい値Vth未満である場合には供給電圧が異常であると判定されてモータ20が停止されることに鑑み、しきい値Vthが中間電圧範囲の上限である所定値Vm以上である場合は、中間電圧範囲における供給電圧を算出しなくてもよい。 In the present embodiment, when the detected voltage is less than the threshold value Vth, it is determined that the supply voltage is abnormal and the motor 20 is stopped. is equal to or greater than a predetermined value Vm, it is not necessary to calculate the supply voltage in the intermediate voltage range.

なお、図3に示す例では中間電圧範囲とドライバ32による電圧低下検出範囲とを一致させているが、ドライバ32の電圧低下検出機能によっては中間電圧範囲と電圧低下検出範囲とを一致させることができない場合も想定される。 In the example shown in FIG. 3, the intermediate voltage range and the voltage drop detection range of the driver 32 are matched, but depending on the voltage drop detection function of the driver 32, the intermediate voltage range and the voltage drop detection range may be matched. It is assumed that it may not be possible.

図4は、中間電圧範囲の上限である所定値Vmよりも電圧低下検出範囲の上限である所定値V2が高い場合における、供給電圧と制御電圧と検出電圧と電圧低下検出結果との関係の一例を示す図である。なお、図4には、中間電圧範囲の下限値V0よりも電圧低下検出範囲の下限値V1が低い例が示されている。 FIG. 4 shows an example of the relationship between the supply voltage, the control voltage, the detected voltage, and the voltage drop detection result when the predetermined value V2, which is the upper limit of the voltage drop detection range, is higher than the predetermined value Vm, which is the upper limit of the intermediate voltage range. It is a figure which shows. Note that FIG. 4 shows an example in which the lower limit value V1 of the voltage drop detection range is lower than the lower limit value V0 of the intermediate voltage range.

図4に示すように、中間電圧範囲の上限である所定値Vmよりも電圧低下検出範囲の上限である所定値V2が高い場合は、図4に示す所定値V2_lowから所定値V2までの電圧範囲が検出電圧無効範囲となる。しかしながら、この検出電圧無効範囲は、ドライバ32による電圧低下の検出結果を用いない場合の検出電圧無効範囲(図4に示す下限値V0から所定値V0_hiまでの範囲)よりも狭小化されていることが理解できる。 As shown in FIG. 4, when the predetermined value V2 that is the upper limit of the voltage drop detection range is higher than the predetermined value Vm that is the upper limit of the intermediate voltage range, the voltage range from the predetermined value V2_low to the predetermined value V2 shown in FIG. is the detection voltage invalid range. However, this detection voltage invalid range is narrower than the detection voltage invalid range (the range from the lower limit value V0 to the predetermined value V0_hi shown in FIG. 4) when the voltage drop detection result by the driver 32 is not used. is understandable.

本実施の形態においては、検出電圧がしきい値Vth未満である場合には供給電圧が異常であると判定されてモータ20が停止されることに鑑み、しきい値Vthが電圧低下検出範囲の上限値である所定値V2よりも高い場合は、電圧低下検出範囲における供給電圧を算出しなくてもよい。 In the present embodiment, when the detected voltage is less than the threshold value Vth, it is determined that the supply voltage is abnormal and the motor 20 is stopped. If it is higher than the predetermined value V2 which is the upper limit, it is not necessary to calculate the supply voltage in the voltage drop detection range.

図5は、中間電圧範囲の上限である所定値Vmよりも電圧低下検出範囲の上限である所定値V2が低い場合における、供給電圧と制御電圧と検出電圧と電圧低下検出結果との関係の一例を示す図である。なお、図5においても、図4と同様、中間電圧範囲の下限値V0よりも電圧低下検出範囲の下限値V1が低い例が示されている。 FIG. 5 shows an example of the relationship between the supply voltage, the control voltage, the detected voltage, and the voltage drop detection result when the predetermined value V2, which is the upper limit of the voltage drop detection range, is lower than the predetermined value Vm, which is the upper limit of the intermediate voltage range. It is a figure which shows. As in FIG. 4, FIG. 5 also shows an example in which the lower limit value V1 of the voltage drop detection range is lower than the lower limit value V0 of the intermediate voltage range.

図5に示すように、中間電圧範囲の上限である所定値Vmよりも電圧低下検出範囲の上限である所定値V2が低い場合は、図5に示す所定値V2から所定値V2_hiまでの電圧範囲が検出電圧無効範囲となる。しかしながら、この検出電圧無効範囲は、ドライバ32による電圧低下の検出結果を用いない場合の検出電圧無効範囲(図5に示す下限値V0から所定値V0_hiまでの範囲)よりも狭小化されていることが理解できる。 As shown in FIG. 5, when the predetermined value V2 that is the upper limit of the voltage drop detection range is lower than the predetermined value Vm that is the upper limit of the intermediate voltage range, the voltage range from the predetermined value V2 to the predetermined value V2_hi shown in FIG. is the detection voltage invalid range. However, this detection voltage invalid range is narrower than the detection voltage invalid range (the range from the lower limit value V0 to the predetermined value V0_hi shown in FIG. 5) when the voltage drop detection result by the driver 32 is not used. is understandable.

本実施の形態においては、検出電圧がしきい値Vth未満である場合には供給電圧が異常であると判定されてモータ20が停止されることに鑑み、しきい値Vthが電圧低下検出範囲の上限値である所定値V2よりも高い場合は、しきい値Vth未満における供給電圧を算出しなくてもよい。 In the present embodiment, when the detected voltage is less than the threshold value Vth, it is determined that the supply voltage is abnormal and the motor 20 is stopped. If it is higher than the predetermined value V2 which is the upper limit, it is not necessary to calculate the supply voltage below the threshold Vth.

また、図4,図5のどちらの場合においても、中間電圧範囲の下限値V0よりも電圧低下検出範囲の下限値V1が低い。これにより、制御演算部34が作動している状態において、ドライバ32は常に作動している状態となる。そのため、制御演算部34の作動中においては、制御演算部34は、ドライバ32による供給電圧低下の検出結果を取得することが可能である。 4 and 5, the lower limit value V1 of the voltage drop detection range is lower than the lower limit value V0 of the intermediate voltage range. As a result, the driver 32 is always in operation while the control calculation unit 34 is in operation. Therefore, while the control calculation unit 34 is in operation, the control calculation unit 34 can acquire the detection result of the supply voltage drop by the driver 32 .

図6は、制御演算部34がモータ20の制御中に行なう処理手順の一例を示すフローチャートである。このフローチャートは、予め定められた条件が成立する毎(たとえば所定周期毎)に繰り返し実行される。 FIG. 6 is a flow chart showing an example of a processing procedure performed by the control calculation unit 34 while the motor 20 is being controlled. This flowchart is repeatedly executed each time a predetermined condition is established (for example, every predetermined cycle).

制御演算部34は、ドライバ32による電圧低下が検出されたか否かを判定する(ステップS10)。 The control calculation unit 34 determines whether or not a voltage drop has been detected by the driver 32 (step S10).

ドライバ32による電圧低下が検出された場合(ステップS10においてYES)、制御演算部34は、供給電圧が異常であると判定(ステップS22)してモータ20を停止する(ステップS24)とともに、供給電圧が異常である旨を上位コントローラ12に通知する(ステップS26)。 If a voltage drop by the driver 32 is detected (YES in step S10), the control calculation unit 34 determines that the supply voltage is abnormal (step S22), stops the motor 20 (step S24), and stops the supply voltage. is abnormal to the host controller 12 (step S26).

ドライバ32による電圧低下が検出されていない場合(ステップS10においてNO)、制御演算部34は、上述の式(1)によって検出電圧を算出する(ステップS12)。 If a voltage drop by driver 32 is not detected (NO in step S10), control calculation unit 34 calculates the detected voltage using the above equation (1) (step S12).

次いで、制御演算部34は、ステップS12で算出された検出電圧がしきい値Vth未満であるか否かを判定する(ステップS14)。 Next, the control calculation unit 34 determines whether or not the detected voltage calculated in step S12 is less than the threshold value Vth (step S14).

検出電圧がしきい値Vth未満でない場合(ステップS14においてNO)、制御演算部34は、供給電圧が正常であると判定する(ステップS16)。そして、制御演算部34は、ステップS12で算出された検出電圧に基づいて、モータ20の出力補正値を算出する(ステップS18)。たとえば、制御演算部34は、検出電圧が通常値(12V程)よりも低下している場合には、モータ20の出力が検出電圧が通常値である場合と同じとなるように、モータ20の出力補正値を算出する。そして、制御演算部34は、モータ20の出力補正値に基づいてモータ20を駆動する(ステップS20)。これにより、供給電圧が通常値よりも低下した場合であっても、モータ20の出力変動を抑制することができる。 If the detected voltage is not less than threshold value Vth (NO in step S14), control operation unit 34 determines that the supply voltage is normal (step S16). Then, the control calculation unit 34 calculates the output correction value of the motor 20 based on the detected voltage calculated in step S12 (step S18). For example, when the detected voltage is lower than the normal value (about 12 V), the control calculation unit 34 controls the motor 20 so that the output of the motor 20 is the same as when the detected voltage is the normal value. Calculate the output correction value. Then, the control calculation unit 34 drives the motor 20 based on the output correction value of the motor 20 (step S20). As a result, even when the supply voltage drops below the normal value, fluctuations in the output of the motor 20 can be suppressed.

一方、検出電圧がしきい値Vth未満である場合(ステップS14においてYES)、制御演算部34は、ドライバ32による電圧低下が検出された場合(ステップS10においてYES)と同様に、供給電圧が異常であると判定(ステップS22)してモータ20を停止する(ステップS24)とともに、供給電圧が異常である旨を上位コントローラ12に通知する(ステップS26)。 On the other hand, if the detected voltage is less than the threshold Vth (YES in step S14), the control operation unit 34 determines that the supply voltage is abnormal, as in the case where the voltage drop by the driver 32 is detected (YES in step S10). (Step S22), the motor 20 is stopped (Step S24), and the host controller 12 is notified that the supply voltage is abnormal (Step S26).

なお、図6においては供給電圧が異常であるとの判定(ステップS22)がなされた後のステップS24において、モータ20を停止する例を示した。しかしながら、ステップS24の処理において、モータ20を停止することに変えて、モータ20の出力を予め定められた固定値とするようにしてもよい。 Note that FIG. 6 shows an example in which the motor 20 is stopped in step S24 after it is determined that the supply voltage is abnormal (step S22). However, instead of stopping the motor 20 in the process of step S24, the output of the motor 20 may be set to a predetermined fixed value.

図7は、制御演算部34による供給電圧の異常判定手法の一例を説明するための図である。図7は、上述の図4に対して、しきい値Vthと、制御演算部34が行なう異常判定(第1判定、第2判定)とを追記したものである。なお、図7に示す例では、しきい値Vthが、電圧低下検出範囲の上限である所定値V2よりも高い値に設定されている。 FIG. 7 is a diagram for explaining an example of a supply voltage abnormality determination method by the control calculation unit 34 . FIG. 7 is obtained by adding the threshold value Vth and abnormality determination (first determination and second determination) performed by the control calculation unit 34 to FIG. 4 described above. Note that in the example shown in FIG. 7, the threshold Vth is set to a value higher than the predetermined value V2, which is the upper limit of the voltage drop detection range.

制御演算部34は、供給電圧が異常であるか否かを判定する処理として、ドライバ32による電圧低下の検出結果に基づく異常判定(第1判定)と、検出電圧としきい値Vthとの比較結果に基づく異常判定(第2判定)とを行なう。 As processing for determining whether the supply voltage is abnormal, the control calculation unit 34 performs abnormality determination (first determination) based on the detection result of the voltage drop by the driver 32 and the comparison result between the detected voltage and the threshold value Vth. Abnormality determination (second determination) based on is performed.

具体的には、ドライバ32による電圧低下が検出された場合、すなわち実際の供給電圧が電圧低下検出範囲に含まれる場合に、制御演算部34は、供給電圧が異常であると判定する。したがって、たとえば検出電圧が図7に示す電圧誤認範囲に含まれる場合において、検出電圧のみでは正常と誤判定し得る場合であっても、ドライバ32による電圧低下の検出結果に基づく異常判定(第1判定)によって、供給電圧が異常であると適切に判定することができる。 Specifically, when a voltage drop is detected by the driver 32, that is, when the actual supply voltage is included in the voltage drop detection range, the control calculation unit 34 determines that the supply voltage is abnormal. Therefore, for example, when the detected voltage is included in the voltage erroneous recognition range shown in FIG. 7, even if the detected voltage alone can be erroneously determined to be normal, abnormality determination (first determination) can appropriately determine that the supply voltage is abnormal.

一方、ドライバ32による電圧低下が検出されない場合、すなわち実際の供給電圧が電圧低下検出範囲の上限である所定値V2よりも高い場合、制御演算部34は、検出電圧を算出し、検出電圧としきい値Vthとの比較結果によって、供給電圧が異常であるか否かを判定する(第2判定)。この際、ドライバ32による電圧低下の検出結果に基づく異常判定(第1判定)を併用することで、しきい値Vthを所定値V0_hiよりも小さい値に設定することができる。これにより、検出電圧無効範囲を狭小化して、供給電圧を正常と判定する範囲を拡大することができる。すなわち、仮に検出電圧としきい値Vthとの比較結果に基づく異常判定(第2判定)のみを行なう場合には、図7に示す下限値V0から所定値V0_hiまでの範囲が検出電圧無効範囲となり、検出電圧が下限値V0から所定値V0_hiまでの範囲に含まれる場合には供給電圧を正しく検出することはできない。 On the other hand, when the voltage drop by the driver 32 is not detected, that is, when the actual supply voltage is higher than the predetermined value V2 which is the upper limit of the voltage drop detection range, the control calculation unit 34 calculates the detected voltage and sets it as the detected voltage threshold. It is determined whether or not the supply voltage is abnormal based on the result of comparison with the value Vth (second determination). At this time, the threshold value Vth can be set to a value smaller than the predetermined value V0_hi by also using the abnormality determination (first determination) based on the detection result of the voltage drop by the driver 32 . As a result, the detection voltage invalid range can be narrowed, and the range for determining that the supply voltage is normal can be expanded. That is, if only the abnormality determination (second determination) based on the comparison result between the detected voltage and the threshold value Vth is performed, the range from the lower limit value V0 to the predetermined value V0_hi shown in FIG. 7 becomes the detected voltage invalid range. If the detected voltage is within the range from the lower limit value V0 to the predetermined value V0_hi, the supply voltage cannot be detected correctly.

これに対し、本実施の形態においては、ドライバ32による電圧低下が検出されていない場合には、制御演算部34は、実際の供給電圧が少なくとも所定値V2以上であることを認識することができる。そのため、しきい値Vthを所定値V0_hiよりも小さい値に設定することができる。すなわち、検出電圧としきい値Vthとの比較結果に基づく異常判定(第2判定)のみを行なう場合に比べて、検出電圧無効範囲を狭小化することができる。これにより、供給電圧を正常と判定する範囲を拡大することができる。 On the other hand, in the present embodiment, when the voltage drop by the driver 32 is not detected, the control calculation unit 34 can recognize that the actual supply voltage is at least the predetermined value V2 or more. . Therefore, threshold Vth can be set to a value smaller than predetermined value V0_hi. That is, the detection voltage invalid range can be narrowed compared to the case where only the abnormality determination (second determination) based on the comparison result between the detected voltage and the threshold value Vth is performed. This makes it possible to expand the range in which the supply voltage is determined to be normal.

以上のように、本実施の形態による制御装置30は、直流電源11から供給される電力でモータ20を駆動するインバータ31と、直流電源11から供給される電圧である供給電圧を電源として作動することによってインバータ31を駆動するドライバ32と、供給電圧あるいは供給電圧を降圧した電圧を制御電圧として生成する制御電源部33と、制御電圧を電源として作動することによってドライバ32に対する指令を生成する制御演算部34とを備える。制御演算部34は、制御電圧を基準電圧として、抵抗R1,R2によって供給電圧を降圧した電圧のアナログ値をデジタル値に変換するA/Dコンバータ34aと、制御電圧とA/Dコンバータ34aの出力とを用いて供給電圧の検出値である検出電圧を算出するデジタル演算部34bとを含む。ドライバ32は、供給電圧の低下を検出する電圧低下検出部32aを有する。制御演算部34は、ドライバ32による供給電圧の低下の検出結果と、デジタル演算部34bによって算出された検出電圧とを用いて、供給電圧が異常であるか否かを判定する。 As described above, the control device 30 according to the present embodiment operates using the inverter 31 that drives the motor 20 with the power supplied from the DC power supply 11 and the supply voltage that is the voltage supplied from the DC power supply 11 as power supplies. A driver 32 that drives an inverter 31 by means of a control operation, a control power supply unit 33 that generates a control voltage that is the supply voltage or a voltage obtained by stepping down the supply voltage, and a control operation that generates a command for the driver 32 by operating the control voltage as a power supply. a portion 34; The control calculation unit 34 has an A/D converter 34a that converts an analog value of a voltage obtained by stepping down the supply voltage using resistors R1 and R2 using the control voltage as a reference voltage into a digital value, and an A/D converter 34a that converts the control voltage and the output of the A/D converter 34a. and a digital calculation unit 34b for calculating a detected voltage, which is a detected value of the supply voltage, using and. The driver 32 has a voltage drop detector 32a that detects a drop in supply voltage. The control calculation unit 34 determines whether or not the supply voltage is abnormal using the detection result of the supply voltage drop by the driver 32 and the detection voltage calculated by the digital calculation unit 34b.

上記構成によれば、インバータ31を駆動するための既存のドライバ32が供給電圧の低下を検出する電圧低下検出部32aを有する点に鑑み、ドライバ32による供給電圧の低下の検出結果と、デジタル演算部34bによって算出された検出電圧との双方を用いて、供給電圧が異常であるか否かを判定する。そのため、検出電圧のみを用いて供給電圧が異常であるか否かを判定する場合に比べて、検出電圧無効範囲を狭小化することができる。これにより、新たな回路を別途設けることなく、供給電圧が異常であるか否かを適切に判定することができる。その結果、部品点数を増加することなく、検出電圧無効範囲を狭小化することによって供給電圧が異常であるか否かを適切に判定することができる。 According to the above configuration, in view of the fact that the existing driver 32 for driving the inverter 31 has the voltage drop detection unit 32a that detects a drop in the supply voltage, the detection result of the drop in the supply voltage by the driver 32 and the digital calculation Using both the detection voltage calculated by the unit 34b, it is determined whether or not the supply voltage is abnormal. Therefore, the detection voltage invalid range can be narrowed compared to the case of determining whether or not the supply voltage is abnormal using only the detection voltage. Accordingly, it is possible to appropriately determine whether or not the supply voltage is abnormal without providing a new circuit. As a result, it is possible to appropriately determine whether or not the supply voltage is abnormal by narrowing the detection voltage invalid range without increasing the number of parts.

今回開示された実施の形態は、すべての点で例示であって制限的なものではないと考えられるべきである。本開示の範囲は、上記した実施の形態の説明ではなくて特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。 The embodiments disclosed this time should be considered as examples and not restrictive in all respects. The scope of the present disclosure is indicated by the scope of claims rather than the description of the above-described embodiments, and is intended to include all modifications within the scope and meaning equivalent to the scope of the claims.

1 制御システム、10 電動装置、11 直流電源、12 上位コントローラ、20 モータ、21 オイルポンプ、30 制御装置、31 インバータ、32 ドライバ、32a 電圧低下検出部、33 制御電源部、34 制御演算部、34a A/Dコンバータ、34b デジタル演算部、R1,R2 抵抗。 Reference Signs List 1 control system 10 electric device 11 DC power supply 12 host controller 20 motor 21 oil pump 30 control device 31 inverter 32 driver 32a voltage drop detector 33 control power supply 34 control arithmetic unit 34a A/D converter, 34b digital operation unit, R1, R2 resistors.

Claims (10)

モータの制御装置であって、
直流電源から供給される電力で前記モータを駆動するインバータと、
前記直流電源から供給される電圧である供給電圧を電源として作動することによって前記インバータを駆動するドライバと、
前記供給電圧あるいは前記供給電圧を降圧した電圧を制御電圧として生成する電源部と、
前記制御電圧を電源として作動することによって前記ドライバに対する指令を生成する演算部とを備え、
前記演算部は、
前記制御電圧を基準電圧として前記直流電源から入力される電圧のアナログ値をデジタル値に変換するA/Dコンバータと、
前記制御電圧と前記A/Dコンバータの出力とを用いて前記供給電圧の検出値である検出電圧を算出するデジタル演算部とを含み、
前記ドライバは、前記供給電圧の低下を検出する機能を有し、
前記演算部は、前記ドライバによる前記供給電圧の低下の検出結果と、前記デジタル演算部によって算出された前記検出電圧とを用いて、前記供給電圧が異常であるか否かを判定する、モータの制御装置。
A control device for a motor,
an inverter that drives the motor with power supplied from a DC power supply;
a driver that drives the inverter by operating with a supply voltage, which is the voltage supplied from the DC power supply, as a power supply;
a power supply that generates the supply voltage or a voltage obtained by stepping down the supply voltage as a control voltage;
a computing unit that generates a command for the driver by operating with the control voltage as a power supply;
The calculation unit is
an A/D converter that converts an analog value of the voltage input from the DC power supply using the control voltage as a reference voltage into a digital value;
a digital calculation unit that calculates a detected voltage, which is a detected value of the supply voltage, using the control voltage and the output of the A/D converter;
The driver has a function of detecting a drop in the supply voltage,
The computing unit determines whether or not the supply voltage is abnormal by using a detection result of the drop in the supply voltage by the driver and the detected voltage calculated by the digital computing unit. Control device.
前記演算部は、前記ドライバによって前記供給電圧の低下が検出された場合、前記供給電圧が異常であると判定する、請求項1に記載のモータの制御装置。 2. The motor control device according to claim 1, wherein said calculation unit determines that said supply voltage is abnormal when said driver detects a drop in said supply voltage. 前記演算部は、
前記ドライバによって前記供給電圧の低下が検出されない場合、前記デジタル演算部によって算出された前記検出電圧がしきい値未満であるか否かを判定し、
前記検出電圧が前記しきい値未満であると判定された場合に、前記供給電圧が異常であると判定し、
前記検出電圧が前記しきい値未満であると判定されない場合に、前記供給電圧が正常であると判定する、請求項1または2に記載のモータの制御装置。
The calculation unit is
determining whether the detected voltage calculated by the digital operation unit is less than a threshold value when the driver does not detect a drop in the supply voltage;
determining that the supply voltage is abnormal when the detected voltage is determined to be less than the threshold;
3. The motor control device according to claim 1, wherein said supply voltage is determined to be normal when said detected voltage is not determined to be less than said threshold value.
前記モータは多相モータであり、
前記インバータは、前記多相モータの各相を、前記直流電源に電気的に接続または切断するための複数のスイッチング素子を有する、請求項1~3のいずれかに記載のモータの制御装置。
the motor is a polyphase motor,
4. The motor control device according to claim 1, wherein said inverter has a plurality of switching elements for electrically connecting or disconnecting each phase of said multiphase motor to or from said DC power supply.
前記ドライバは、前記複数のスイッチング素子を駆動する集積回路を有する、請求項4に記載のモータの制御装置。 5. The motor control device according to claim 4, wherein said driver has an integrated circuit for driving said plurality of switching elements. 前記演算部は、前記供給電圧の変動に起因する前記モータの出力変動を抑制するように前記ドライバに対する指令を補正する、請求項1~5のいずれかに記載のモータの制御装置。 6. The motor control device according to claim 1, wherein said calculation unit corrects a command to said driver so as to suppress output fluctuations of said motor caused by fluctuations in said supply voltage. 前記演算部は、前記供給電圧が異常であると判定された場合、前記モータの作動を停止する、もしくは前記モータの出力を予め定められた固定値とするように、前記ドライバに対する指令を生成する、請求項1~6のいずれかに記載のモータの制御装置。 When the supply voltage is determined to be abnormal, the computing unit generates a command to the driver to stop the operation of the motor or set the output of the motor to a predetermined fixed value. A motor control device according to any one of claims 1 to 6. 前記演算部は、前記供給電圧が異常であると判定された場合、前記供給電圧が異常である旨を外部のコントローラに通知する、請求項1~6のいずれかに記載のモータの制御装置。 7. The motor control device according to claim 1, wherein, when it is determined that said supply voltage is abnormal, said calculation unit notifies an external controller that said supply voltage is abnormal. 請求項1~8のいずれかに記載の制御装置およびモータを備える、電動装置。 An electric device comprising the control device according to any one of claims 1 to 8 and a motor. 前記モータによって駆動されるオイルポンプをさらに備える、請求項9に記載の電動装置。 10. The motorized device of claim 9, further comprising an oil pump driven by said motor.
JP2021027589A 2021-02-24 2021-02-24 Motor control device, and electric motor apparatus provided with motor and control device Pending JP2022129047A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021027589A JP2022129047A (en) 2021-02-24 2021-02-24 Motor control device, and electric motor apparatus provided with motor and control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021027589A JP2022129047A (en) 2021-02-24 2021-02-24 Motor control device, and electric motor apparatus provided with motor and control device

Publications (1)

Publication Number Publication Date
JP2022129047A true JP2022129047A (en) 2022-09-05

Family

ID=83150173

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021027589A Pending JP2022129047A (en) 2021-02-24 2021-02-24 Motor control device, and electric motor apparatus provided with motor and control device

Country Status (1)

Country Link
JP (1) JP2022129047A (en)

Similar Documents

Publication Publication Date Title
JP3696588B2 (en) Power supply
US8305057B2 (en) Power supply and over voltage protection apparatus and over voltage protection method
JP2009303459A (en) Power supply circuit and control method of the same
US11613304B2 (en) Electric power steering apparatus
JP2010158117A (en) Inverter apparatus
CN110710096A (en) Current detection device and electric power steering device
US8316256B2 (en) Method and system for supplying output voltage to graphics processing unit
CN108155834B (en) Motor drive control device and control method for motor drive control device
US10374537B2 (en) Rotor position detection system
JP2022129047A (en) Motor control device, and electric motor apparatus provided with motor and control device
JP2008172862A (en) Controller of polyphase rotary electric machine
US11223195B2 (en) Control device and method for power supply to EPS in vehicle
WO2020157919A1 (en) Machine learning device and motor control system
JP2006304456A (en) Power converter
US20200284614A1 (en) Rotation detection device
JP2020157907A (en) On-vehicle power supply device
KR101282263B1 (en) Electronic Apparatus And Electronic Apparatus System
JP6301663B2 (en) Power supply control apparatus, power supply control method, and information processing apparatus
CN110957945B (en) Motor control circuit and motor control device
CN111641364A (en) Motor drive control device
US20100102880A1 (en) Load drive device
JP7414865B2 (en) Rotating electrical machine control device
CN110957959B (en) Motor control circuit and motor control device
KR101822280B1 (en) Method for correcting output voltage sensing error of low voltage dc-dc converter
KR100534131B1 (en) Converter apparatus and control method thereof