JP5892085B2 - Mobile body and control method thereof - Google Patents

Mobile body and control method thereof Download PDF

Info

Publication number
JP5892085B2
JP5892085B2 JP2013028624A JP2013028624A JP5892085B2 JP 5892085 B2 JP5892085 B2 JP 5892085B2 JP 2013028624 A JP2013028624 A JP 2013028624A JP 2013028624 A JP2013028624 A JP 2013028624A JP 5892085 B2 JP5892085 B2 JP 5892085B2
Authority
JP
Japan
Prior art keywords
battery
control unit
ecu
output
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
JP2013028624A
Other languages
Japanese (ja)
Other versions
JP2014156208A (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.)
Toyota Motor Corp
Original Assignee
Toyota Motor Corp
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 Toyota Motor Corp filed Critical Toyota Motor Corp
Priority to JP2013028624A priority Critical patent/JP5892085B2/en
Publication of JP2014156208A publication Critical patent/JP2014156208A/en
Application granted granted Critical
Publication of JP5892085B2 publication Critical patent/JP5892085B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Motorcycle And Bicycle Frame (AREA)
  • Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)

Description

本発明は、移動体及びその制御方法に関し、特にバッテリの電力を使用することで移動体を制御する技術に関する。   The present invention relates to a moving body and a control method therefor, and more particularly to a technique for controlling a moving body by using battery power.

特許文献1に開示されるように、人間を運ぶための車両が検討されてきている。特許文献1には、制御系が、A群のコンポーネントと、B群のコンポーネントとに2重化された個人輸送車が開示されている。この個人輸送車は、A群のコンポーネントとB群のコンポーネントのそれぞれは、プロセッサ、モータに電流を出力する増幅器、プロセッサ及びモータに電力を供給する電力源が含まれている。そして、A群のコンポーネントが故障した場合、B群のコンポーネントによってモータを駆動する。   As disclosed in Patent Document 1, a vehicle for carrying a person has been studied. Patent Document 1 discloses a personal transport vehicle in which a control system is duplicated into a group A component and a group B component. In this personal transport vehicle, each of the group A component and the group B component includes a processor, an amplifier that outputs a current to the motor, a processor, and a power source that supplies power to the motor. When a component in group A fails, the motor is driven by the component in group B.

特許第4162995号公報Japanese Patent No. 4162959

上述したように、特許文献1に開示の個人輸送車では、Aのコンポーネントが故障した場合、B群のコンポーネントによってモータを駆動する。よって、モータに供給する電力量が半減してしまうことになるため、モータに対する十分な出力を維持することができず、モータを十分なトルクで駆動することができなくなってしまうという問題がある。   As described above, in the personal transportation vehicle disclosed in Patent Document 1, when the component A fails, the motor is driven by the component B. As a result, the amount of power supplied to the motor is reduced by half, so that there is a problem that sufficient output to the motor cannot be maintained and the motor cannot be driven with sufficient torque.

特に、バッテリの低温、バッテリの残量低下、又はバッテリの劣化時等によってバッテリの出力が低下してしまう場合や、高出力を必要とする場合(急ブレーキ時又は搭乗者の体重が重い等)にトルク不足となってしまい、動作が不安定となってしまう可能性もある。   In particular, when the battery output decreases due to low battery temperature, low battery level, or when the battery deteriorates, or when high output is required (due to sudden braking or heavy passenger weight, etc.) In addition, the torque may become insufficient and the operation may become unstable.

この問題を回避するために、個々のバッテリの出力量を増加させる方法も考えられる。しかし、そのようにした場合、それに応じてバッテリも大型化してしまい、個人輸送車の小型化・軽量化ができなくなってしまうという問題がある。特に、倒立二輪車を代表とする移動体では、小型化・軽量化されていることが望ましい。   In order to avoid this problem, a method of increasing the output amount of each battery is also conceivable. However, in such a case, there is a problem that the battery is increased in size accordingly, and the personal transport vehicle cannot be reduced in size and weight. In particular, it is desirable that a moving body represented by an inverted motorcycle be reduced in size and weight.

本発明は、上述した知見に基づいてなされたものであって、バッテリの大型化を抑制しつつ、モータに対する十分な出力を維持することができる移動体及びその制御方法を提供することを目的とする。   The present invention has been made on the basis of the above-described knowledge, and an object thereof is to provide a moving body capable of maintaining a sufficient output for a motor while suppressing an increase in the size of a battery and a control method thereof. To do.

本発明の第1の態様にかかる移動体は、車輪と、前記車輪を回転させるモータと、前記モータを駆動する第1の制御部と、前記モータを駆動する第2の制御部と、前記第1の制御部及び前記第2の制御部に前記モータを駆動するための電力を供給する第1のバッテリと、前記第1の制御部及び前記第2の制御部に前記モータを駆動するための電力を供給する第2のバッテリと、を備え、前記第1の制御部及び前記第2の制御部は、前記第1のバッテリ及び前記第2のバッテリのうち、いずれか1つで供給可能な範囲内の電力で前記モータを駆動し、前記第2の制御部は、前記第1の制御部に異常が発生して前記第1の制御部が縮退した場合に、前記第1のバッテリ及び前記第2のバッテリの両方で供給可能な範囲内で増加されるとして予め定められた増加度合いで、前記モータを駆動する電力を増加するものである。   The moving body according to the first aspect of the present invention includes a wheel, a motor that rotates the wheel, a first control unit that drives the motor, a second control unit that drives the motor, A first battery for supplying electric power for driving the motor to the first control unit and the second control unit; and for driving the motor to the first control unit and the second control unit. A second battery for supplying electric power, and the first control unit and the second control unit can be supplied by any one of the first battery and the second battery. The motor is driven with electric power within a range, and the second control unit is configured such that when the first control unit is degenerated due to an abnormality in the first control unit, the first battery and the first control unit Predetermined as increased within the range that can be supplied by both of the second batteries. In increasing degree, which is, it is to increase the power to drive the motor.

本発明の第2の態様にかかる制御方法は、モータを駆動することで車輪を回転させて移動する移動体の制御方法であって、第1の制御部及び第2の制御部のそれぞれが、前記第1のバッテリ及び第2のバッテリから供給される電力を使用して、前記第1のバッテリ及び前記第2のバッテリのうち、いずれか1つで供給可能な範囲内の電力で、前記モータの駆動を開始するステップと、前記第1の制御部の異常の検出に応じて、前記第1の制御部を縮退するステップと、前記第1のバッテリ及び前記第2のバッテリの両方で供給可能な範囲内の電力になるとして予め定められた増加度合いで、前記第2の制御部が前記モータを駆動する電力を増加させるステップと、を備えたものである。   The control method according to the second aspect of the present invention is a control method of a moving body that moves by rotating a wheel by driving a motor, wherein each of the first control unit and the second control unit is Using the electric power supplied from the first battery and the second battery, the motor with electric power within a range that can be supplied by either one of the first battery and the second battery. Can be supplied by both the first battery and the second battery, the step of deactivating the first controller in response to the detection of an abnormality in the first controller, and the step of deactivating the first controller. And a step of increasing the electric power for driving the motor by the second control unit at a predetermined increase degree that the electric power is within a certain range.

上述した本発明の各態様によれば、バッテリの大型化を抑制しつつ、モータに対する十分な出力を維持することができる移動体及びその制御方法を提供することができる。   According to each aspect of the present invention described above, it is possible to provide a moving body that can maintain a sufficient output to the motor while suppressing an increase in the size of the battery, and a control method therefor.

実施の形態1に係る倒立二輪車の概要構成を示す図である。1 is a diagram illustrating a schematic configuration of an inverted motorcycle according to Embodiment 1. FIG. 実施の形態1に係る制御装置の構成を示すブロック図である。2 is a block diagram illustrating a configuration of a control device according to Embodiment 1. FIG. 実施の形態1に係るバッテリとECUの接続関係を示す図である。It is a figure which shows the connection relation of the battery and ECU which concern on Embodiment 1. FIG. 実施の形態1に係るECUの故障検出時処理を示すフローチャートである。4 is a flowchart showing a process at the time of failure detection of the ECU according to the first embodiment. 実施の形態1に係るECUの故障による大電流検出時処理を示すフローチャートである。4 is a flowchart showing processing at the time of detecting a large current due to a failure of the ECU according to the first embodiment. 実施の形態1に係るバッテリの異常検出時処理を示すフローチャートである。3 is a flowchart showing a process for detecting a battery abnormality according to the first embodiment. 実施の形態1に係るバッテリの異常検出時の出力調整処理を示すフローチャートである。4 is a flowchart showing output adjustment processing when a battery abnormality is detected according to the first embodiment. 実施の形態2に係る制御装置の構成を示すブロック図である。6 is a block diagram illustrating a configuration of a control device according to Embodiment 2. FIG. 実施の形態2に係るバッテリ、ECU、及びA/D変換器の接続関係を示す図である。It is a figure which shows the connection relation of the battery which concerns on Embodiment 2, ECU, and an A / D converter. 実施の形態2に係るバッテリの異常検出時処理を示すフローチャートである。6 is a flowchart showing a battery abnormality detection process according to the second embodiment. 実施の形態3に係るバッテリとECUの接続関係を示す図である。It is a figure which shows the connection relation of the battery and ECU which concern on Embodiment 3. FIG. 実施の形態3に係るバッテリの異常検出時処理を示すフローチャートである。6 is a flowchart showing a battery abnormality detection process according to Embodiment 3.

以下に図面を参照しながら、本発明の好適な実施の形態について説明する。以下の実施の形態に示す具体的な数値等は、発明の理解を容易とするための例示にすぎず、特に断る場合を除き、それに限定されるものではない。また、以下の記載及び図面では、説明の明確化のため、当業者にとって自明な事項等については、適宜、省略及び簡略化がなされている。   Hereinafter, preferred embodiments of the present invention will be described with reference to the drawings. Specific numerical values and the like shown in the following embodiments are merely examples for facilitating understanding of the invention, and are not limited thereto unless otherwise specified. In the following description and drawings, matters obvious to those skilled in the art are omitted or simplified as appropriate for the sake of clarity.

<発明の実施の形態1>
図1を参照して、本実施の形態1にかかる倒立二輪車1の概要構成について説明する。図1は、本実施の形態1にかかる倒立二輪車1の概要構成を示す図である。
<Embodiment 1 of the Invention>
With reference to FIG. 1, a schematic configuration of an inverted motorcycle 1 according to the first embodiment will be described. FIG. 1 is a diagram illustrating a schematic configuration of an inverted motorcycle 1 according to the first embodiment.

倒立二輪車1は、ハンドル4を把持してステップカバー3に搭乗した搭乗者が、倒立二輪車1の前後方向に荷重を作用させた際における、前後方向への倒立二輪車1の姿勢角(ピッチ角)をセンサを利用して検出し、この検出結果に基づいて、倒立二輪車1の倒立状態を維持するように左右の車輪2を駆動するモータを制御する。すなわち、倒立二輪車1は、ステップカバー3に搭乗した搭乗者が前方に荷重を作用させて倒立二輪車1を前方に傾斜させると、倒立二輪車1の倒立状態を維持するように前方に加速し、搭乗者が後方に荷重を作用させて倒立二輪車1を後方に傾斜させると、倒立二輪車1の倒立状態を維持するように後方に加速するように、左右の車輪2を駆動するモータを制御する。倒立二輪車1は、制御の安定性を確保するために、モータを制御する制御系が2重化されている。   The inverted two-wheeled vehicle 1 has a posture angle (pitch angle) of the inverted two-wheeled vehicle 1 in the front-rear direction when a passenger who holds the handle 4 and gets on the step cover 3 applies a load in the front-rear direction of the inverted two-wheeled vehicle 1. Is detected using a sensor, and the motor that drives the left and right wheels 2 is controlled so as to maintain the inverted state of the inverted motorcycle 1 based on the detection result. That is, the inverted motorcycle 1 accelerates forward so that the inverted motorcycle 1 maintains the inverted state when the passenger who has boarded the step cover 3 applies a load forward and tilts the inverted motorcycle 1 forward. When a person applies a load rearward to tilt the inverted motorcycle 1 backward, the motors that drive the left and right wheels 2 are controlled so as to accelerate backward so as to maintain the inverted motorcycle 1 in an inverted state. In the inverted two-wheeled vehicle 1, a control system for controlling the motor is duplicated in order to ensure control stability.

なお、これらのモータの制御は、倒立二輪車1に搭載された制御装置10によって行われる。   The control of these motors is performed by the control device 10 mounted on the inverted motorcycle 1.

続いて、図2を参照して、本実施の形態1にかかる制御装置10の構成について説明する。図2は、本実施の形態1にかかる制御装置10の構成を示すブロック図である。   Next, the configuration of the control device 10 according to the first embodiment will be described with reference to FIG. FIG. 2 is a block diagram illustrating a configuration of the control device 10 according to the first embodiment.

制御装置10は、マイクロコントローラ11、12(以下、「マイコン」とも呼ぶ)、インバータ13〜16、モータ17、18、回転角センサ19〜22、ジャイロセンサ23、24、バッテリ25、26、及び保護回路27を有する。   The control device 10 includes microcontrollers 11 and 12 (hereinafter also referred to as “microcomputer”), inverters 13 to 16, motors 17 and 18, rotation angle sensors 19 to 22, gyro sensors 23 and 24, batteries 25 and 26, and protection. A circuit 27 is included.

制御装置10は、倒立二輪車1の制御の安定性を確保するために、その制御系を、0系の制御系と1系の制御系とに二重化させた二重系システムとなっている。0系の制御系は、マイコン11、インバータ13、14、回転角センサ19、20、及びジャイロセンサ23を含む。0系の制御系は、0系のECU(Electronic Control Unit)110として機能する。1系の制御系は、マイコン12、インバータ15、16、回転角センサ21、22、及びジャイロセンサ24を含む。1系の制御系は、1系のECU120として機能する。   The control device 10 is a dual system in which the control system is duplicated into a 0-system control system and a 1-system control system in order to ensure the stability of the control of the inverted motorcycle 1. The 0-system control system includes a microcomputer 11, inverters 13 and 14, rotation angle sensors 19 and 20, and a gyro sensor 23. The 0-system control system functions as a 0-system ECU (Electronic Control Unit) 110. The 1-system control system includes a microcomputer 12, inverters 15 and 16, rotation angle sensors 21 and 22, and a gyro sensor 24. The 1-system control system functions as the 1-system ECU 120.

マイコン11、12のそれぞれは、ジャイロセンサ23、24のそれぞれから出力される角速度信号に基づいて、上述したように、倒立二輪車1の倒立状態を維持するようにモータ17、18を制御する。マイコン11、12のそれぞれは、CPU(Central Processing Unit)及び記憶部を有し、記憶部に格納されたプログラムを実行することによって、本実施の形態におけるマイコン11、12のそれぞれとしての処理を実行する。すなわち、マイコン11、12のそれぞれの記憶部に格納されるプログラムは、本実施の形態におけるマイコン11、12のそれぞれにおける処理を、CPUに実行させるためのコードを含む。なお、記憶部は、例えば、このプログラムや、CPUにおける処理に利用される各種情報を格納することができる任意の記憶装置を含んで構成される。記憶装置は、例えば、メモリ等である。   Each of the microcomputers 11 and 12 controls the motors 17 and 18 to maintain the inverted state of the inverted two-wheeled vehicle 1 as described above based on the angular velocity signals output from the gyro sensors 23 and 24, respectively. Each of the microcomputers 11 and 12 has a CPU (Central Processing Unit) and a storage unit, and executes processing as each of the microcomputers 11 and 12 in the present embodiment by executing a program stored in the storage unit. To do. That is, the program stored in the storage unit of each of the microcomputers 11 and 12 includes a code for causing the CPU to execute processing in each of the microcomputers 11 and 12 in the present embodiment. The storage unit includes, for example, an arbitrary storage device that can store the program and various types of information used for processing in the CPU. The storage device is, for example, a memory.

マイコン11は、モータ17を制御する指令値をインバータ13に出力する。また、マイコン11は、モータ18を制御する指令値をインバータ14に出力する。マイコン12は、モータ17を制御する指令値をインバータ15に出力する。また、マイコン12は、モータ18を制御する指令値をインバータ16に出力する。具体的には、マイコン11、12のそれぞれは、ジャイロセンサ23、24のそれぞれから出力される角速度信号が示す倒立二輪車1のピッチ軸周りの角速度(ピッチ角速度)を積分することで倒立二輪車1の前後方向の姿勢角(ピッチ角)を算出し、算出した姿勢角に基づいて倒立二輪車1の倒立状態を維持するようにモータ17、18を制御する指令値を生成する。   The microcomputer 11 outputs a command value for controlling the motor 17 to the inverter 13. Further, the microcomputer 11 outputs a command value for controlling the motor 18 to the inverter 14. The microcomputer 12 outputs a command value for controlling the motor 17 to the inverter 15. Further, the microcomputer 12 outputs a command value for controlling the motor 18 to the inverter 16. Specifically, each of the microcomputers 11 and 12 integrates angular velocities (pitch angular velocities) around the pitch axis of the inverted motorcycle 1 indicated by the angular velocity signals output from the gyro sensors 23 and 24, respectively. A posture angle (pitch angle) in the front-rear direction is calculated, and a command value for controlling the motors 17 and 18 is generated so as to maintain the inverted state of the inverted motorcycle 1 based on the calculated posture angle.

ここで、制御装置10は、ジャイロセンサ23、24に代えて、倒立二輪車1の前後方向の姿勢角(ピッチ角)を検出し、検出した姿勢角を示す姿勢角信号をマイコン11、12のそれぞれ出力する姿勢角センサを有するようにしてもよい。姿勢角センサは、例えば、加速度センサ及びジャイロセンサによって、倒立二輪車1の姿勢角を検出するように構成される。そして、マイコン11、12のそれぞれは、姿勢角センサから出力された姿勢角信号が示す姿勢角に基づいて、倒立二輪車1の倒立状態を維持するようにモータ17、18を制御する指令値を生成するようにしてもよい。   Here, the control device 10 detects the posture angle (pitch angle) in the front-rear direction of the inverted two-wheeled vehicle 1 instead of the gyro sensors 23 and 24, and sends posture angle signals indicating the detected posture angles to the microcomputers 11 and 12, respectively. You may make it have the attitude | position angle sensor to output. The posture angle sensor is configured to detect the posture angle of the inverted motorcycle 1 by, for example, an acceleration sensor and a gyro sensor. Each of the microcomputers 11 and 12 generates a command value for controlling the motors 17 and 18 so as to maintain the inverted state of the inverted motorcycle 1 based on the attitude angle indicated by the attitude angle signal output from the attitude angle sensor. You may make it do.

また、マイコン11、12のそれぞれは、回転角センサ19、21のそれぞれから出力される、モータ17の回転角を示す回転角信号に基づいて、モータ17をフィードバック制御するように、インバータ13、15のそれぞれに対する指令値を生成する。また、マイコン11、12のそれぞれは、回転角センサ20、22のそれぞれから出力される、モータ18の回転角を示す回転角信号に基づいて、モータ18をフィードバック制御するように、インバータ14、16のそれぞれに対する指令値を生成する。   Each of the microcomputers 11 and 12 includes inverters 13 and 15 so as to feedback-control the motor 17 on the basis of a rotation angle signal output from each of the rotation angle sensors 19 and 21 and indicating the rotation angle of the motor 17. Generate command values for each of. Each of the microcomputers 11 and 12 includes inverters 14 and 16 so as to feedback-control the motor 18 based on a rotation angle signal indicating the rotation angle of the motor 18 output from each of the rotation angle sensors 20 and 22. Generate command values for each of.

インバータ13は、マイコン11から出力された指令値に基づいて、PWM(Pulse Width Modulation)制御を行うことで、バッテリ25、26から供給される電力から、モータ17を駆動する駆動電流を生成してモータ17に供給する。インバータ14は、マイコン11から出力された指令値に基づいて、PWM制御を行うことで、バッテリ25、26から供給される電力から、モータ18を駆動する駆動電流を生成してモータ18に供給する。インバータ15は、マイコン12から出力された指令値に基づいて、PWM制御を行うことで、バッテリ25、26から供給される電力から、モータ17を駆動する駆動電流を生成してモータ17に供給する。インバータ16は、マイコン12から出力された指令値に基づいて、PWM制御を行うことで、バッテリ25、26から供給される電力から、モータ18を駆動する駆動電流を生成してモータ18に供給する。   The inverter 13 generates a drive current for driving the motor 17 from the electric power supplied from the batteries 25 and 26 by performing PWM (Pulse Width Modulation) control based on the command value output from the microcomputer 11. Supply to the motor 17. The inverter 14 performs PWM control based on the command value output from the microcomputer 11, thereby generating a drive current for driving the motor 18 from the power supplied from the batteries 25 and 26 and supplying the drive current to the motor 18. . The inverter 15 generates a drive current for driving the motor 17 from the power supplied from the batteries 25 and 26 by performing PWM control based on the command value output from the microcomputer 12 and supplies the drive current to the motor 17. . The inverter 16 performs PWM control based on the command value output from the microcomputer 12, thereby generating a drive current for driving the motor 18 from the power supplied from the batteries 25 and 26 and supplying the drive current to the motor 18. .

モータ17、18のそれぞれは、二重巻線のモータである。モータ17は、インバータ13から供給される駆動電流と、インバータ15から供給される駆動電流とに基づいて駆動される。モータ17を駆動することによって、倒立二輪車1の左側の車輪2が回転する。モータ18は、インバータ14から供給される駆動電流と、インバータ16から供給される駆動電流とに基づいて駆動される。モータ18を駆動することによって、倒立二輪車1の右側の車輪2が回転する。   Each of the motors 17 and 18 is a double winding motor. The motor 17 is driven based on the drive current supplied from the inverter 13 and the drive current supplied from the inverter 15. By driving the motor 17, the left wheel 2 of the inverted motorcycle 1 rotates. The motor 18 is driven based on the drive current supplied from the inverter 14 and the drive current supplied from the inverter 16. By driving the motor 18, the right wheel 2 of the inverted motorcycle 1 rotates.

回転角センサ19は、モータ17の回転角を検出し、検出した回転角を示す回転角信号を生成してマイコン11に出力する。回転角センサ20は、モータ18の回転角を検出し、検出した回転角を示す回転角信号を生成してマイコン11に出力する。回転角センサ21は、モータ17の回転角を検出し、検出した回転角を示す回転角信号を生成してマイコン12に出力する。回転角センサ22は、モータ18の回転角を検出し、検出した回転角を示す回転角信号を生成してマイコン12に出力する。なお、回転角センサ19〜22として、例えばエンコーダ又はレゾルバ等のモータ17、18の回転角を検出可能なセンサのうち、任意のセンサを利用するようにしてよい。   The rotation angle sensor 19 detects the rotation angle of the motor 17, generates a rotation angle signal indicating the detected rotation angle, and outputs the rotation angle signal to the microcomputer 11. The rotation angle sensor 20 detects the rotation angle of the motor 18, generates a rotation angle signal indicating the detected rotation angle, and outputs the rotation angle signal to the microcomputer 11. The rotation angle sensor 21 detects the rotation angle of the motor 17, generates a rotation angle signal indicating the detected rotation angle, and outputs the rotation angle signal to the microcomputer 12. The rotation angle sensor 22 detects the rotation angle of the motor 18, generates a rotation angle signal indicating the detected rotation angle, and outputs the rotation angle signal to the microcomputer 12. As the rotation angle sensors 19 to 22, for example, an arbitrary sensor among sensors capable of detecting the rotation angle of the motors 17 and 18 such as an encoder or a resolver may be used.

ジャイロセンサ23、24のそれぞれは、搭乗者がステップカバー3に対して、倒立二輪車1の前後方向に荷重を作用させた際における、倒立二輪車1の前後方向に対する角速度(ピッチ軸周りの角速度、ピッチ角速度)を検出し、検出した角速度を示す角速度信号をマイコン11、12のそれぞれに出力する。   Each of the gyro sensors 23 and 24 has an angular velocity (an angular velocity around the pitch axis, a pitch when the passenger applies a load to the step cover 3 in the front-rear direction of the inverted motorcycle 1 with respect to the front-rear direction of the inverted motorcycle 1. Angular velocity) is detected, and angular velocity signals indicating the detected angular velocities are output to the microcomputers 11 and 12, respectively.

バッテリ25、26は、ECU110、120に対して、その動作に必要な電力を供給する。例えば、バッテリ25、26は、マイコン11、12の動作に必要な電力をマイコン11、12に供給する。また、バッテリ25、26は、モータ17、18に対する駆動電流の生成に必要な電力をインバータ13〜16に供給する。   The batteries 25 and 26 supply electric power necessary for the operation to the ECUs 110 and 120. For example, the batteries 25 and 26 supply power necessary for the operation of the microcomputers 11 and 12 to the microcomputers 11 and 12. The batteries 25 and 26 supply power necessary for generating a drive current for the motors 17 and 18 to the inverters 13 to 16.

保護回路27は、ECU110、120の故障(例えばマイコン11、12内の回路のショート等)によって、バッテリ25、26からECU110、120に大電流(過電流)が流れることによる、バッテリ25、26の出力低下を防止する。保護回路27のより詳細な構成については、後述する。   The protection circuit 27 is configured so that a large current (overcurrent) flows from the batteries 25 and 26 to the ECUs 110 and 120 due to a failure of the ECUs 110 and 120 (for example, a short circuit in the microcomputers 11 and 12). Prevent output drop. A more detailed configuration of the protection circuit 27 will be described later.

続いて、図3を参照して、本実施の形態1にかかる供給電力維持方法について説明する。図3は、本実施の形態1にかかる制御装置10におけるバッテリ25、26とECU110、120の接続関係を示す図である。   Next, the method for maintaining power supply according to the first embodiment will be described with reference to FIG. FIG. 3 is a diagram illustrating a connection relationship between the batteries 25 and 26 and the ECUs 110 and 120 in the control device 10 according to the first embodiment.

図3に示すように、ECU110とECU120は、ECU間通信路200によるECU間通信を介して、相互に任意の情報を送受信しつつ、倒立二輪車1の倒立制御を実施する。なお、ECU間通信は、厳密には、マイコン11とマイコン12との間の通信となる。また、図3に示すように、保護回路27は、ダイオード31、32及び過電流遮断部33、34を有している。   As shown in FIG. 3, the ECU 110 and the ECU 120 perform the inversion control of the inverted motorcycle 1 while transmitting and receiving arbitrary information to and from each other via the inter-ECU communication path 200. Strictly speaking, the communication between the ECUs is communication between the microcomputer 11 and the microcomputer 12. As shown in FIG. 3, the protection circuit 27 includes diodes 31 and 32 and overcurrent cutoff units 33 and 34.

ダイオード31は、バッテリ25に対する電流の逆流を防止する整流用のダイオードである。ダイオード32は、バッテリ26に対する電流の逆流を防止する整流用のダイオードである。過電流遮断部33は、ECU110の故障によってバッテリ25、26からECU110に対して過電流が流れてしまった場合に、その過電流を検出してバッテリ25、26からECU110を回路的に分離することで遮断する。過電流遮断部34は、ECU120の故障によってバッテリ25、26からECU120に対して過電流が流れてしまった場合に、その過電流を検出してバッテリ25、26からECU110を回路的に分離することで遮断する。過電流遮断部33、34は、ヒューズであってもよく、ヒューズ及びコンデンサ等が組み込まれ、ヒューズの溶断タイミングが制御された過電流検出(過電流保護)IC(Integrated Circuit)であってもよく、   The diode 31 is a rectifying diode that prevents backflow of current to the battery 25. The diode 32 is a rectifying diode that prevents backflow of current to the battery 26. When an overcurrent flows from the batteries 25 and 26 to the ECU 110 due to a failure of the ECU 110, the overcurrent blocking unit 33 detects the overcurrent and separates the ECU 110 from the batteries 25 and 26 in a circuit form. Shut off with. When an overcurrent flows from the batteries 25 and 26 to the ECU 120 due to a failure of the ECU 120, the overcurrent cutoff unit 34 detects the overcurrent and separates the ECU 110 from the batteries 25 and 26 in a circuit manner. Shut off with. The overcurrent cutoff units 33 and 34 may be fuses, or may be overcurrent detection (overcurrent protection) ICs (Integrated Circuits) in which fuses, capacitors, and the like are incorporated and the fusing timing of the fuses is controlled. ,

バッテリ25とECU110(マイコン11)とは、SM(System Management Bus)バスによって相互に接続されており、任意の情報を送受信することが可能である。バッテリ26とECU120(マイコン12)とは、SMバスによって相互に接続されており、任意の情報を送受信することが可能である。なお、バッテリ25、26のそれぞれと、ECU110、120のそれぞれとの間の通信規格は、SMバスに限られず、他の通信規格を採用するようにしてもよい。   The battery 25 and the ECU 110 (the microcomputer 11) are connected to each other via an SM (System Management Bus) bus, and can transmit and receive arbitrary information. The battery 26 and the ECU 120 (microcomputer 12) are connected to each other via an SM bus, and can transmit and receive arbitrary information. Note that the communication standard between each of the batteries 25 and 26 and each of the ECUs 110 and 120 is not limited to the SM bus, and another communication standard may be adopted.

図3に示すように、バッテリ25の出力端は、ダイオード31の入力端と接続されている。ダイオード31の出力端は、過電流遮断部33及び過電流遮断部34の入力端のそれぞれと接続されている。過電流遮断部33の出力端は、ECU110(マイコン11及びインバータ13、14等)と接続されている。   As shown in FIG. 3, the output terminal of the battery 25 is connected to the input terminal of the diode 31. The output terminal of the diode 31 is connected to each of the input terminals of the overcurrent cutoff unit 33 and the overcurrent cutoff unit 34. The output terminal of the overcurrent interrupting unit 33 is connected to the ECU 110 (the microcomputer 11 and the inverters 13, 14 and the like).

また、バッテリ26の出力端は、ダイオード32の入力端と接続されている。ダイオード32の出力端は、過電流遮断部33及び過電流遮断部34の入力端のそれぞれと接続されている。過電流遮断部34の出力端は、ECU120(マイコン12及びインバータ15、16等)と接続されている。なお、上記の説明は、上記の各要素25、26、31〜34、110、120の間に、他の任意の回路等が接続されることを制限するものではない。   The output terminal of the battery 26 is connected to the input terminal of the diode 32. The output terminal of the diode 32 is connected to each of the input terminals of the overcurrent cutoff unit 33 and the overcurrent cutoff unit 34. The output terminal of the overcurrent interruption unit 34 is connected to the ECU 120 (the microcomputer 12 and the inverters 15 and 16, etc.). In addition, said description does not restrict | limit that other arbitrary circuits etc. are connected between said each element 25, 26, 31-34, 110,120.

すなわち、バッテリ25及びバッテリ26のそれぞれは、ECU110及びECU120のいずれにも電力が供給可能となるように、ECU110及びECU120の両方に接続されている。   That is, each of the battery 25 and the battery 26 is connected to both the ECU 110 and the ECU 120 so that electric power can be supplied to both the ECU 110 and the ECU 120.

以上に説明したように、本実施の形態1によれば、バッテリ25及びバッテリ26のそれぞれは、ECU110、120の両方に対して電力を供給することができる。これによれば、ECU110、120のいずれか一方が故障によって縮退した場合であっても、他方のECUがバッテリ25、26の両方から供給される電力によってモータ17、18を制御することができる。そのため、バッテリの出力量を増加させてバッテリを大型化させることなく、モータ17、18に対する十分な電力の供給を維持することができる。   As described above, according to the first embodiment, each of the battery 25 and the battery 26 can supply power to both the ECUs 110 and 120. According to this, even when one of the ECUs 110 and 120 is degenerated due to a failure, the other ECU can control the motors 17 and 18 by the electric power supplied from both the batteries 25 and 26. Therefore, sufficient power supply to the motors 17 and 18 can be maintained without increasing the battery output amount and increasing the size of the battery.

また、このような構成としているため、ECU110のマイコン11及びECU120のマイコン12のそれぞれは、初期状態では、ECU110及びECU120のそれぞれで使用する電力が、バッテリ25、26の1つ分で供給可能として予め定めた範囲内の電力となるような、モータ17、18に対する出力(マイコン11、12からの指令値及びそれによってインバータ13〜16で生成される駆動電流)で、モータ17、18を制御する。これによって、ECU110及びECU120のそれぞれが、バッテリ25、26の両方の電力を使用していても、ECU110及びECU120の合計の消費電力は、バッテリ25、26の両方から供給可能な範囲内となる。   Further, because of such a configuration, each of the microcomputer 11 of the ECU 110 and the microcomputer 12 of the ECU 120 can supply electric power used by each of the ECU 110 and the ECU 120 by one of the batteries 25 and 26 in the initial state. The motors 17 and 18 are controlled by outputs to the motors 17 and 18 (command values from the microcomputers 11 and 12 and drive currents generated by the inverters 13 to 16 thereby) such that the electric power is within a predetermined range. . As a result, even if each of the ECU 110 and the ECU 120 uses the electric power of both the batteries 25 and 26, the total power consumption of the ECU 110 and the ECU 120 falls within a range that can be supplied from both the batteries 25 and 26.

例えば、ECU110、120がバッテリ25、26から供給可能な範囲を超えて電流を引いてしまうと、バッテリ25、26の電圧が低下し、ECU110、120が動作可能な電圧を下回り、ECU110、120がダウンしてしまう可能性がある。それに対して、モータ17、18に対する出力を、上記のようにすることで、その発生を回避することができる。   For example, if the ECUs 110 and 120 draw current beyond the range that can be supplied from the batteries 25 and 26, the voltage of the batteries 25 and 26 decreases, and the ECUs 110 and 120 fall below the operable voltage. There is a possibility of going down. On the other hand, when the outputs to the motors 17 and 18 are set as described above, the occurrence can be avoided.

続いて、図4〜図6を参照して、本実施の形態1にかかる制御装置10による異常検出時処理について説明する。   Next, with reference to FIGS. 4 to 6, the abnormality detection process performed by the control device 10 according to the first embodiment will be described.

まず、図4を参照して、ECU110の部品に故障が発生し、ECU110(0系の制御系)の動作をECU110が自ら停止する場合における処理について説明する。図4は、本実施の形態1にかかるECU110の故障検出時処理を示すフローチャートである。なお、以下では、ECU110の部品に故障が発生した場合について説明するが、ECU120の部品に故障が発生した場合にも同様の処理が実施される。その場合の処理は、ECU110とECU120の関係が逆になること以外は同様となることは自明であるため、説明は省略する。   First, with reference to FIG. 4, a process in the case where a failure occurs in a part of the ECU 110 and the ECU 110 stops the operation of the ECU 110 (0-system control system) will be described. FIG. 4 is a flowchart showing processing at the time of failure detection of the ECU 110 according to the first embodiment. In the following, a case where a failure has occurred in a part of the ECU 110 will be described, but the same processing is also performed when a failure has occurred in a part of the ECU 120. Since it is obvious that the process in this case is the same except that the relationship between the ECU 110 and the ECU 120 is reversed, the description thereof will be omitted.

ECU110は、例えば所定の一定時間間隔毎に、ECU110の部品(マイコン11、インバータ13、14、回転角センサ19、20、又はジャイロセンサ23等)の故障が発生しているか否かを判定する(S1)。なお、ここでの各部品の故障の判定は、予め定めた任意の方法によって判定するようにしてよい。例えば、センサ(回転角センサ19、20又はジャイロセンサ23)の故障であれば、センサ値(回転角信号が示す回転角又は角速度信号が示す角速度)が異常である場合に故障と判定するようにしてもよい。   The ECU 110 determines whether or not a failure of a component of the ECU 110 (such as the microcomputer 11, the inverters 13 and 14, the rotation angle sensors 19 and 20, or the gyro sensor 23) occurs at predetermined time intervals, for example ( S1). Here, the determination of the failure of each component may be performed by any predetermined method. For example, if the sensor (rotation angle sensor 19, 20 or gyro sensor 23) is faulty, it is determined that the sensor value (rotation angle indicated by the rotation angle signal or angular velocity indicated by the angular velocity signal) is abnormal. May be.

ECU110の部品が故障していないと判定した場合(S1:No)、ECU110は、モータ17、18を制御することによる、倒立二輪車1の制御を継続する(S2)。   When it is determined that the components of the ECU 110 have not failed (S1: No), the ECU 110 continues to control the inverted motorcycle 1 by controlling the motors 17 and 18 (S2).

ECU110の部品が故障していると判定した場合(S1:Yes)、ECU110は、その動作を停止する(S3)。具体的には、マイコン11は、モータ17、18の制御を停止する。よって、ECU110のインバータ13、14によるモータ17、18に対する駆動電流の供給は停止され、インバータ13、14によってバッテリ25、26の電力が消費されなくなる。   When it is determined that a component of the ECU 110 has failed (S1: Yes), the ECU 110 stops its operation (S3). Specifically, the microcomputer 11 stops the control of the motors 17 and 18. Therefore, the supply of drive current to the motors 17 and 18 by the inverters 13 and 14 of the ECU 110 is stopped, and the power of the batteries 25 and 26 is not consumed by the inverters 13 and 14.

ECU120は、ECU110の動作が停止した場合、モータ17、18に対する出力を2倍に変更する(S4)。具体的には、ECU110は、ECU110の部品の故障を検出した場合、ECU120に故障の検出を通知する通知情報を出力する。そして、ECU120は、ECU110から故障を通知する通知情報の出力に応じて、上述のモータ17、18に対する出力を初期状態の2倍に変更する。これによれば、ECU110を縮退したときであっても、ECU120のみからで、バッテリ25、26からモータ17、18に対する十分な電力の供給を維持することができるようになる。   When the operation of ECU 110 stops, ECU 120 changes the output to motors 17 and 18 by a factor of 2 (S4). Specifically, when ECU 110 detects a failure of a part of ECU 110, ECU 110 outputs notification information for notifying ECU 120 of the detection of the failure. Then, the ECU 120 changes the output to the motors 17 and 18 described above to twice the initial state in accordance with the output of the notification information notifying the failure from the ECU 110. According to this, even when the ECU 110 is degenerated, sufficient power supply from the batteries 25 and 26 to the motors 17 and 18 can be maintained only from the ECU 120.

なお、ステップS4では、最終的に出力が2倍になるのであれば、どのような手順で出力を増加させるようにしてもよい。例えば、ECU120は、通知情報の出力に応じて、出力を直接2倍に変更してもよい。また、ECU120は、通知情報の出力時から、所定の一定時間毎に所定幅ずつ出力を増加させることで、段階的に出力が2倍となるように変更するようにしてもよい。   In step S4, the output may be increased by any procedure as long as the output is finally doubled. For example, the ECU 120 may directly change the output to double according to the output of the notification information. Further, the ECU 120 may change the output so that the output is doubled stepwise by increasing the output by a predetermined width at predetermined time intervals from the time when the notification information is output.

これにより、バッテリ25とバッテリ26からの電流の大半はECU120へと流れるようになる(S5)。すなわち、ECU110では、マイコン11が動作する程度の小さい電流量の電力がバッテリ25、26から消費されるようになる。   As a result, most of the current from the battery 25 and the battery 26 flows to the ECU 120 (S5). That is, the ECU 110 consumes a small amount of electric power from the batteries 25 and 26 so that the microcomputer 11 operates.

以降、ECU120のみで、降車制御等の安全処理、又は、巡航の継続が行われる(S6)。すなわち、マイコン12は、故障したECU110は縮退されているため、倒立二輪車1を倒立制御しつつ継続して走行させる制御を継続してもよい。また、マイコン12は、ECU110が故障しているため、倒立二輪車1を倒立制御しつつ停止させる降車制御を行うようにしてもよい。   Thereafter, only ECU 120 performs safety processing such as getting-off control or continuation of cruising (S6). That is, since the failed ECU 110 is degenerated, the microcomputer 12 may continue the control for continuously running the inverted motorcycle 1 while performing the inverted control. Further, since the ECU 110 is out of order, the microcomputer 12 may perform the getting-off control for stopping the inverted motorcycle 1 while performing the inversion control.

なお、降車制御を実施する場合には、ECU120は、ECU110からの故障の検出を通知する通知情報の出力に応じて、降車制御を実施するようにすればよい。   In the case of executing the getting-off control, the ECU 120 may perform the getting-off control in accordance with the output of the notification information that notifies the detection of the failure from the ECU 110.

なお、上記の例では、ECU110の部品として回転角センサ19、20又はジャイロセンサ23等のセンサが故障した場合にも、ECU110を縮退するようにしているが、これに限られない。例えば、ECU110のセンサの故障が発生した場合には、他系のECU120からセンサ値を取得し、取得したセンサ値に基づいて倒立二輪車1の制御を継続するようにしてもよい。これについては、ECU120のセンサの故障が発生した場合についても同様である。   In the above example, the ECU 110 is degenerated even when a sensor such as the rotation angle sensors 19 and 20 or the gyro sensor 23 is broken as a component of the ECU 110, but the present invention is not limited to this. For example, when a sensor failure of the ECU 110 occurs, a sensor value may be acquired from the ECU 120 of another system, and the control of the inverted motorcycle 1 may be continued based on the acquired sensor value. The same applies to the case where a failure of the sensor of the ECU 120 occurs.

例として、ECU110に含まれるジャイロセンサ23の故障を検出した場合について説明する。例えば、ECU120のマイコン12は、所定の一定時間間隔毎に、ジャイロセンサ24から取得した角速度に基づいて算出した姿勢角を示す姿勢角情報を生成し、ECU110のマイコン11に出力するようにする。または、マイコン12は、マイコン11からのジャイロセンサ23の故障の検出によって出力される通知情報に応じて、ECU110への姿勢角情報の出力を開始するようにしてもよい。そして、マイコン11は、マイコン12から出力された姿勢角情報が示す姿勢角に基づいて、倒立二輪車1の倒立制御を継続するようにする。   As an example, a case where a failure of the gyro sensor 23 included in the ECU 110 is detected will be described. For example, the microcomputer 12 of the ECU 120 generates attitude angle information indicating the attitude angle calculated based on the angular velocity acquired from the gyro sensor 24 at predetermined time intervals, and outputs the attitude angle information to the microcomputer 11 of the ECU 110. Alternatively, the microcomputer 12 may start outputting the attitude angle information to the ECU 110 in accordance with the notification information output from the microcomputer 11 when the gyro sensor 23 detects a failure. Then, the microcomputer 11 continues the inversion control of the inverted motorcycle 1 based on the attitude angle indicated by the attitude angle information output from the microcomputer 12.

これは、回転角センサ19又は回転角センサ20が故障した場合も同様である。すなわち、この場合は、マイコン12が、所定の一定時間間隔毎に、回転角センサ21又は回転角センサ22から取得した回転角を示す回転角情報を生成し、マイコン11に出力する。そして、マイコン11は、マイコン12から出力された回転角情報が示す回転角に基づいて、フィードバック制御を行い、倒立二輪車1の倒立制御を継続するようにすればよい。   The same applies when the rotation angle sensor 19 or the rotation angle sensor 20 fails. That is, in this case, the microcomputer 12 generates rotation angle information indicating the rotation angle acquired from the rotation angle sensor 21 or the rotation angle sensor 22 at every predetermined time interval and outputs the rotation angle information to the microcomputer 11. Then, the microcomputer 11 may perform feedback control based on the rotation angle indicated by the rotation angle information output from the microcomputer 12 to continue the inversion control of the inverted motorcycle 1.

続いて、図5を参照して、ECU110の部品において回路がショートする故障が発生してしまい、ECU110(0系の制御系)がバッテリ25、26から大電流を引いてしまった場合における処理について説明する。図5は、本実施の形態1にかかるECU110の故障による大電流検出時処理を示すフローチャートである。なお、以下では、ECU110の部品に故障が発生し、ECU110が大電流を引いてしまった場合について説明するが、ECU120の部品に故障が発生し、大電流を引いてしまった場合にも同様の処理が実施される。その場合の処理は、ECU110とECU120の関係が逆になること以外は同様となることは自明であるため、説明は省略する。   Next, referring to FIG. 5, a process in the case where a failure that causes a short circuit in a part of ECU 110 occurs and ECU 110 (zero-system control system) draws a large current from batteries 25 and 26 will be described. explain. FIG. 5 is a flowchart showing processing at the time of detecting a large current due to a failure of the ECU 110 according to the first embodiment. In the following, a case will be described in which a failure has occurred in a part of the ECU 110 and the ECU 110 has drawn a large current, but the same applies to a case in which a failure has occurred in a part of the ECU 120 and a large current has been drawn. Processing is performed. Since it is obvious that the process in this case is the same except that the relationship between the ECU 110 and the ECU 120 is reversed, the description thereof will be omitted.

ECU110の部品に故障が発生せず、ECU110によって大電流が引かれていない場合(S11:No)、過電流遮断部33は、バッテリ25、26からECU110に対する電力の供給を継続する。これによって、ECU110は、倒立二輪車1の倒立制御を継続する(S12)。   When a failure does not occur in the components of the ECU 110 and no large current is drawn by the ECU 110 (S11: No), the overcurrent cutoff unit 33 continues to supply power from the batteries 25 and 26 to the ECU 110. As a result, the ECU 110 continues the inversion control of the inverted motorcycle 1 (S12).

ECU110の部品に故障が発生し、ECU110によって大電流が引かれてしまった場合(S11:Yes)、過電流遮断部33は、バッテリ25、26からECU110への大電流の経路を遮断する(S13)。言い換えると、過電流遮断部33は、バッテリ25、26からECU110を分離して、バッテリ25、26からECU110に対する電力の供給を遮断する。   When a failure occurs in a part of the ECU 110 and a large current is drawn by the ECU 110 (S11: Yes), the overcurrent blocking unit 33 blocks a path of a large current from the batteries 25 and 26 to the ECU 110 (S13). ). In other words, the overcurrent interruption unit 33 separates the ECU 110 from the batteries 25 and 26 and interrupts the supply of electric power from the batteries 25 and 26 to the ECU 110.

ECU120は、ステップS4と同様に、モータ17、18に対する出力を2倍に変更し、モータ17、18に対する十分な電力の供給を維持することができるようにする(S14)。しかし、ステップS14の場合は、ECU110は、電力の供給の遮断によって動作が停止され、通知情報を出力することができなくなっている。そのため、この場合、ECU120は、ECU110の動作停止を、ECU110との間での通信の途絶によって検出し、検出に応じて出力を変更するようにすればよい。例えば、ECU110、120は、所定の一定時間間隔毎に、相互にハートビート信号を他系のECUに出力するようにし、他系のECUからハードビート信号が途絶えた場合に、他系のECUが動作停止したと判定するようにする。なお、ステップS14でも、ステップS4と同様に、最終的に出力が2倍になるのであれば、どのような手順で出力を増加させるようにしてもよい。   Similar to step S4, ECU 120 changes the output to motors 17 and 18 by a factor of 2 so that sufficient power supply to motors 17 and 18 can be maintained (S14). However, in the case of step S14, the ECU 110 stops operating due to the interruption of the supply of electric power and cannot output the notification information. Therefore, in this case, the ECU 120 may detect the stop of the operation of the ECU 110 by the interruption of communication with the ECU 110 and change the output in accordance with the detection. For example, the ECUs 110 and 120 mutually output a heartbeat signal to the other system ECU at predetermined time intervals, and when the hard beat signal is interrupted from the other system ECU, It is determined that the operation has stopped. In step S14, as in step S4, the output may be increased by any procedure as long as the output finally doubles.

これにより、ECU110は分離され、バッテリ25とバッテリ26からの電流はECU120へと流れるようになる(S15)。以降、ECU120のみで、降車制御等の安全処理、又は、巡航の継続が行われる(S16)。すなわち、マイコン12は、故障したECU110は遮断されているため、倒立二輪車1を倒立制御しつつ継続して走行させる制御を継続してもよい。また、マイコン12は、ECU110が故障しているため、倒立二輪車1を倒立制御しつつ停止させる降車制御を行うようにしてもよい。   Thereby, ECU110 is isolate | separated and the electric current from the battery 25 and the battery 26 comes to flow into ECU120 (S15). Thereafter, only ECU 120 performs safety processing such as getting-off control or continuation of cruising (S16). That is, since the malfunctioning ECU 110 is shut off, the microcomputer 12 may continue the control for continuously running the inverted motorcycle 1 while performing the inverted control. Further, since the ECU 110 is out of order, the microcomputer 12 may perform the getting-off control for stopping the inverted motorcycle 1 while performing the inversion control.

なお、降車制御を実施する場合には、ECU120は、ECU110との間での通信の途絶の検出に応じて、降車制御を実施するようにすればよい。   In addition, when implementing alighting control, ECU120 should just carry out alighting control according to the detection of the interruption of communication between ECU110.

続いて、図6を参照して、バッテリ25に故障が発生する等し、バッテリ25からの出力(電力の供給)が停止した場合における処理について説明する。図6は、本実施の形態1にかかるバッテリ25の異常検出時処理を示すフローチャートである。なお、以下では、バッテリ25の出力が停止した場合について説明するが、バッテリ26の出力が停止した場合にも同様の処理が実施される。その場合の処理は、ECU110とECU120の関係が逆になり、バッテリ25に代えてバッテリ26に対して処理が行われること以外は同様となることは自明であるため、説明は省略する。   Next, with reference to FIG. 6, processing when the output from the battery 25 (power supply) is stopped due to a failure in the battery 25 or the like will be described. FIG. 6 is a flowchart of the abnormality detection process for the battery 25 according to the first embodiment. In the following, the case where the output of the battery 25 is stopped will be described, but the same processing is performed when the output of the battery 26 is stopped. Since it is obvious that the process in this case is the same except that the relationship between the ECU 110 and the ECU 120 is reversed and the process is performed on the battery 26 instead of the battery 25, the description is omitted.

ここで、バッテリ25、26の出力は、ECU110の消費電力とECU120の消費電力の合計となるため、バッテリ25、26のいずれかからの出力が停止し、一方のバッテリのみでしか、ECU110、120に電力を供給することができなくなってしまった場合、残り1つのバッテリから2つのECU110、120によって電流が引かれることにより、上述したようにバッテリの出力電圧の低下が発生し、ECU110、120がダウンしてしまう(システムダウンしてしまう)可能性がある。そこで、本実施の形態1では、以下に説明するように、バッテリ25、26のいずれかが故障してしまった場合には、ECU110、120における消費電力を低減するように変更する。   Here, since the outputs of the batteries 25 and 26 are the sum of the power consumption of the ECU 110 and the power consumption of the ECU 120, the output from either of the batteries 25 and 26 is stopped, and the ECUs 110 and 120 are only connected to one battery. When it becomes impossible to supply power to the battery, current is drawn by the two ECUs 110 and 120 from the remaining one battery, so that the output voltage of the battery decreases as described above. There is a possibility of going down (system going down). Therefore, in the first embodiment, as described below, when any of the batteries 25 and 26 breaks down, the ECU 110 and the ECU 120 are changed so as to reduce the power consumption.

ECU110は、所定の一定時間間隔毎に、バッテリ25の出力が停止しているか否かを判定する(S21)。具体的には、ECU110は、SMバスを介してバッテリ25からバッテリ25の状態を示す状態情報を受信し、その受信した状態情報に基づいて、バッテリ25の出力が停止しているか否かを判定する。状態情報として、バッテリ25の任意の状態を示す情報を予め定めるようにしてよい。例えば、状態情報として、バッテリ25の残量があるか否かを示す情報、バッテリ25に不具合が検出されているか否かを示す情報、又はバッテリ25が出力している電流値又は電圧値を示す情報としてもよい。そして、ECU110は、状態情報によって、バッテリ25の残量がない、バッテリ25に不具合が検出されている、若しくは、バッテリ25が出力している電流値又は電圧値が0(又はそれに近い所定値未満)であると判定される場合、バッテリ25の出力が停止していると判定する。   The ECU 110 determines whether or not the output of the battery 25 is stopped at every predetermined time interval (S21). Specifically, ECU 110 receives state information indicating the state of battery 25 from battery 25 via the SM bus, and determines whether output of battery 25 is stopped based on the received state information. To do. Information indicating an arbitrary state of the battery 25 may be determined in advance as the state information. For example, as the state information, information indicating whether or not the battery 25 has a remaining amount, information indicating whether or not a failure is detected in the battery 25, or a current value or a voltage value output from the battery 25 is indicated. It may be information. Then, the ECU 110 detects that the battery 25 has no remaining capacity, a malfunction has been detected in the battery 25, or the current value or voltage value output from the battery 25 is 0 (or less than a predetermined value close thereto). ), It is determined that the output of the battery 25 is stopped.

バッテリ25の出力が停止していないと判定した場合(S21:No)、ECU110及びECU120は、モータ17、18を制御することによる、倒立二輪車1の制御を継続する(S22)。   If it is determined that the output of the battery 25 is not stopped (S21: No), the ECU 110 and the ECU 120 continue to control the inverted motorcycle 1 by controlling the motors 17 and 18 (S22).

バッテリ25の出力が停止していると判定した場合(S21:Yes)、ECU110のマイコン11は、ECU間通信を介して、バッテリ25の出力が停止したことを通知する通知情報をECU120のマイコン12に出力する(S23)。   If it is determined that the output of the battery 25 is stopped (S21: Yes), the microcomputer 11 of the ECU 110 provides notification information for notifying that the output of the battery 25 is stopped via the inter-ECU communication. (S23).

ECU110及びECU120のそれぞれは、上述のモータ17、18に対する出力を1/2倍にする(S24)。これによれば、2つのECU110、120によって、1つのバッテリ26からその供給限界を上回る電力を利用してしまうことを防止し、バッテリ26の出力電圧の低下によるシステムダウンを防止することができる。   Each of ECU 110 and ECU 120 doubles the output to motors 17 and 18 described above (S24). According to this, it is possible to prevent the two ECUs 110 and 120 from using electric power exceeding the supply limit from one battery 26, and it is possible to prevent the system from being down due to a decrease in the output voltage of the battery 26.

以降、ECU110及びECU120は、降車制御等の安全処理、又は、巡航を継続する(S25)。すなわち、マイコン11及びマイコン12は、バッテリ26の出力低下が発生しないように出力が調整されているため、倒立二輪車1を倒立制御しつつ継続して走行させる制御を継続してもよい。また、マイコン11及びマイコン12は、バッテリ25が出力停止しているため、倒立二輪車1を倒立制御しつつ停止させる降車制御を行うようにしてもよい。   Thereafter, the ECU 110 and the ECU 120 continue the safety process such as getting-off control or the cruise (S25). That is, since the output of the microcomputer 11 and the microcomputer 12 is adjusted so that the output of the battery 26 does not decrease, the microcomputer 11 and the microcomputer 12 may continue the control of causing the inverted motorcycle 1 to travel while being inverted. In addition, since the output of the battery 25 is stopped, the microcomputer 11 and the microcomputer 12 may perform the getting-off control for stopping the inverted motorcycle 1 while performing the inverted control.

ここで、ステップS24では、最終的に出力が1/2倍になるのであれば、どのような手順で出力を減少させるようにしてもよい。例えば、ECU110は、バッテリ25の出力停止の検出に応じて、出力を直接1/2倍に変更し、ECU120は、ECU110からの通知情報の出力に応じて、出力を直接1/2倍に変更してもよい。また、次に、図7を参照して説明するように、段階的に出力が1/2倍になるように調整するようにしてもよい。   Here, in step S24, the output may be decreased by any procedure as long as the output is finally halved. For example, ECU 110 directly changes the output to ½ times in response to detection of output stop of battery 25, and ECU 120 directly changes the output to ½ times in response to the output of notification information from ECU 110. May be. Next, as described with reference to FIG. 7, the output may be adjusted to be halved step by step.

また、ECU110は、バッテリ25の出力停止の検出に応じて、出力を1/2倍に変更する前に、出力を1/2倍にすることを通知する通知情報をECU120に出力し、ECU120は、その通知情報の出力に応じて、出力を1/2倍に変更してもよい。また、ECU110は、バッテリ25の出力停止の検出に応じて、出力を1/2倍に変更した後に、出力を1/2倍にしたことを通知する通知情報をECU120に出力し、ECU120は、その通知情報の出力に応じて、出力を1/2倍に変更してもよい。   In addition, in response to detection of the output stop of the battery 25, the ECU 110 outputs notification information notifying that the output is halved to the ECU 120 before changing the output to ½, and the ECU 120 Depending on the output of the notification information, the output may be changed to 1/2. In addition, ECU 110 outputs notification information to notify ECU 120 that the output has been halved after the output has been halved in response to detection of the output stop of battery 25. ECU 120 Depending on the output of the notification information, the output may be changed to 1/2.

続いて、図7を参照して、バッテリ25、26の異常検出時の出力調整処理について説明する。図7は、本実施の形態1にかかるバッテリ25、26の異常検出時の出力調整処理を示すフローチャートである。なお、以下の説明では、ECU110の出力を徐々に増加させ、ECU120の出力を徐々に減少させるようにしているが、ECU120の出力を徐々に増加させ、ECU110の出力を徐々に減少させるようにしてもよい。その場合の処理は、ECU110とECU120の関係が逆になること以外は同様となることは自明であるため、説明は省略する。   Next, with reference to FIG. 7, output adjustment processing when an abnormality is detected in the batteries 25 and 26 will be described. FIG. 7 is a flowchart showing output adjustment processing when an abnormality is detected in the batteries 25 and 26 according to the first embodiment. In the following description, the output of the ECU 110 is gradually increased and the output of the ECU 120 is gradually decreased. However, the output of the ECU 120 is gradually increased and the output of the ECU 110 is gradually decreased. Also good. Since it is obvious that the process in this case is the same except that the relationship between the ECU 110 and the ECU 120 is reversed, the description thereof will be omitted.

ECU110は、出力を停止、又は、所定の限りなく小さいレベルまで低下させる(S101)。なお、ECU120の出力は、停止又は低下させず、そのままとする。   The ECU 110 stops the output or reduces the output to a predetermined minimum level (S101). Note that the output of the ECU 120 is left as it is without being stopped or lowered.

ECU120は、所定幅だけ出力を絞る(S102)。例えば、ECU120は、初期状態における出力の1/10の大きさだけ出力を減少させる。そして、ECU120は、ECU間通信を利用し、ECU120の出力を絞ったことを通知する通知情報をECU110に出力する(S103)。   The ECU 120 narrows the output by a predetermined width (S102). For example, the ECU 120 reduces the output by 1/10 of the output in the initial state. Then, the ECU 120 uses the inter-ECU communication to output notification information notifying that the output of the ECU 120 has been reduced to the ECU 110 (S103).

ECU110は、ECU120からの通知情報の出力に応じて、所定幅だけ出力を増やす(S104)。例えば、ECU110は、初期状態における出力の1/10の大きさだけ出力を増加させる。   ECU 110 increases the output by a predetermined width according to the output of the notification information from ECU 120 (S104). For example, ECU 110 increases the output by 1/10 of the output in the initial state.

ECU110は、ECU110とECU120との出力が一致するか否かを判定する(S105)。ECU120の現在の出力は、例えば、ステップS103における通知情報によってECU110に通知するようにすればよい。   ECU 110 determines whether the outputs of ECU 110 and ECU 120 match (S105). The current output of the ECU 120 may be notified to the ECU 110 by the notification information in step S103, for example.

ECU110とECU120との出力が一致しないと判定した場合(S105:No)、再度、ステップS102に戻る。例えば、ECU110は、出力の再調整を指示する指示情報をECU120に出力し、ECU120は、ECU110からの指示情報の出力に応じて、ステップS102から再実行するようにすればよい。   When it determines with the output of ECU110 and ECU120 not matching (S105: No), it returns to step S102 again. For example, ECU 110 may output instruction information for instructing readjustment of output to ECU 120, and ECU 120 may re-execute from step S102 in response to the output of instruction information from ECU 110.

ECU110とECU120との出力が一致したと判定した場合(S105:Yes)、出力調整処理を終了する。   When it determines with the output of ECU110 and ECU120 having corresponded (S105: Yes), an output adjustment process is complete | finished.

以上に説明したように、本実施の形態1では、移動体(倒立二輪車1)は、第1の制御部(例えばECU110)及び第2の制御部(例えばECU120)にモータを駆動するための電力を供給する第1のバッテリ(例えばバッテリ25)と、第1の制御部及び第2の制御部にモータを駆動するための電力を供給する第2のバッテリ(例えばバッテリ26)と、を備えている。第1の制御部及び第2の制御部は、第1のバッテリ及び第2のバッテリのうち、いずれか1つで供給可能な範囲内の電力でモータを駆動する。そして、第2の制御部は、第1の制御部に異常が発生して第1の制御部が縮退した場合に、第1のバッテリ及び第2のバッテリの両方で供給可能な範囲内で増加されるとして予め定められた増加度合い(例えば2倍)で、モータを駆動する電力を増加するようにしている。   As described above, in the first embodiment, the moving body (inverted two-wheeled vehicle 1) uses the electric power for driving the motor to the first control unit (for example, ECU 110) and the second control unit (for example, ECU 120). A first battery (e.g., battery 25) that supplies power, and a second battery (e.g., battery 26) that supplies power for driving the motor to the first control unit and the second control unit. Yes. The first control unit and the second control unit drive the motor with electric power within a range that can be supplied by either one of the first battery and the second battery. The second control unit increases within a range that can be supplied by both the first battery and the second battery when an abnormality occurs in the first control unit and the first control unit is degenerated. As a result, the electric power for driving the motor is increased at a predetermined degree of increase (for example, twice).

これによれば、第1の制御部が縮退した場合であっても、第2の制御部が、第1のバッテリ及び第2のバッテリのいずれか一方でなく、第1のバッテリ及び第2のバッテリの両方からの電力を利用しつつモータを制御する電力を増加させているため、個々のバッテリを大型化させることなく、モータに対する十分な電力の供給を維持することができる。   According to this, even when the first control unit is degenerated, the second control unit is not one of the first battery and the second battery, but the first battery and the second battery. Since the electric power for controlling the motor is increased while using the electric power from both of the batteries, it is possible to maintain a sufficient electric power supply to the motor without increasing the size of each battery.

<発明の実施の形態2>
続いて、実施の形態2について説明する。実施の形態2にかかる倒立二輪車1の概要構成については、図1を参照して説明した実施の形態1にかかる倒立二輪車1の概要構成と同様であるため、説明を省略する。
<Embodiment 2 of the Invention>
Next, the second embodiment will be described. The schematic configuration of the inverted motorcycle 1 according to the second embodiment is the same as the schematic configuration of the inverted motorcycle 1 according to the first embodiment described with reference to FIG.

続いて、図8を参照して、本実施の形態2にかかる制御装置10の構成について説明する。図8は、本実施の形態2にかかる制御装置10の構成を示すブロック図である。   Next, the configuration of the control device 10 according to the second embodiment will be described with reference to FIG. FIG. 8 is a block diagram illustrating a configuration of the control device 10 according to the second embodiment.

本実施の形態2にかかる制御装置10は、実施の形態1にかかる制御装置10と比較して、さらに、A/D変換器35、36を有する。A/D変換器35は、0系の制御系(0系のECU)に含まれる。A/D変換器36は、1系の制御系(1系のECU)に含まれる。   The control device 10 according to the second embodiment further includes A / D converters 35 and 36 as compared with the control device 10 according to the first embodiment. The A / D converter 35 is included in a 0-system control system (0-system ECU). The A / D converter 36 is included in a 1-system control system (1-system ECU).

A/D変換器35は、バッテリ26から出力される電力における電流値をA/D変換し、A/D変換後の電流値を示す電力情報をマイコン11に出力する。A/D変換器36は、バッテリ25から出力される電力における電流値をA/D変換し、A/D変換後の電流値を示す電力情報をマイコン12に出力する。   The A / D converter 35 A / D converts the current value in the power output from the battery 26, and outputs power information indicating the current value after the A / D conversion to the microcomputer 11. The A / D converter 36 A / D converts the current value in the power output from the battery 25 and outputs power information indicating the current value after A / D conversion to the microcomputer 12.

続いて、図9を参照して、本実施の形態2にかかるバッテリ25、26の異常検出方法について説明する。図9は、本実施の形態2にかかる制御装置10におけるバッテリ25、26、ECU110、120、及びA/D変換器35、36の接続関係を示す図である。なお、以下では、図3と同様の内容については、適宜、説明を省略する。   Next, with reference to FIG. 9, the abnormality detection method for the batteries 25 and 26 according to the second embodiment will be described. FIG. 9 is a diagram illustrating a connection relationship between the batteries 25 and 26, the ECUs 110 and 120, and the A / D converters 35 and 36 in the control device 10 according to the second embodiment. In addition, below, description is abbreviate | omitted suitably about the content similar to FIG.

図9に示すように、バッテリ26の出力端は、A/D変換器35の入力端と接続されている。これにより、A/D変換器35は、上述したように、バッテリ26から出力されている電流値を検出し、その電流値を示す電力情報をECU110に出力する。なお、ECU110は、実施の形態1と同様に、SMバスを介した通信によって、バッテリ25からバッテリの状態を示す状態情報を受信可能となっている。   As shown in FIG. 9, the output terminal of the battery 26 is connected to the input terminal of the A / D converter 35. Thereby, as described above, the A / D converter 35 detects the current value output from the battery 26 and outputs the power information indicating the current value to the ECU 110. ECU 110 can receive state information indicating the state of the battery from battery 25 by communication via the SM bus, as in the first embodiment.

また、バッテリ25の出力端は、A/D変換器36の入力端と接続されている。これにより、A/D変換器36は、上述したように、バッテリ25から出力されている電流値を検出し、その電流値を示す電力情報をECU120に出力する。なお、ECU120は、実施の形態1と同様に、SMバスを介した通信によって、バッテリ26からバッテリの状態を示す状態情報を受信可能となっている。   The output terminal of the battery 25 is connected to the input terminal of the A / D converter 36. Thereby, as described above, the A / D converter 36 detects the current value output from the battery 25, and outputs power information indicating the current value to the ECU 120. Note that the ECU 120 can receive state information indicating the state of the battery from the battery 26 by communication via the SM bus, as in the first embodiment.

ECU110、120のそれぞれは、A/D変換器35、36のそれぞれから取得した電力情報が示す電流値が、出力停止時の電流値(例えば、0A)を示している場合、A/D変換器35、36のそれぞれに対応するバッテリ26、25の出力が停止していると判定する。なお、バッテリ25、26の出力が停止していると判定する電流値(出力停止時の電流値)は、上記のように完全に出力停止した場合における電流値(0A)に限られず、ほぼ停止したと見なせる程度に小さな電流値(所定の十分に小さい閾値未満)も含めるようにしてもよい。   Each of the ECUs 110 and 120 is an A / D converter when the current value indicated by the power information acquired from each of the A / D converters 35 and 36 indicates a current value at the time of output stop (for example, 0 A). It determines with the output of the batteries 26 and 25 corresponding to each of 35 and 36 having stopped. Note that the current value for determining that the output of the batteries 25 and 26 is stopped (current value when the output is stopped) is not limited to the current value (0 A) when the output is completely stopped as described above, and is almost stopped. It is also possible to include a current value that is small enough to be considered as being less than a predetermined sufficiently small threshold.

以上に説明した構成とすることで、本実施の形態2によれば、ECU110は、バッテリ25との通信によってバッテリ25の異常を検出することができ、A/D変換器35からの出力によってバッテリ26の異常を検出することができる。また、ECU120は、バッテリ26との通信によってバッテリ26の異常を検出することができ、A/D変換器36からの出力によってバッテリ25の異常を検出することができる。そのため、ECU110、120のそれぞれが、直接的にバッテリ25、26の異常を検出して、より迅速にバッテリ25、26の異常に応じた処理を実施することが可能となる。   With the configuration described above, according to the second embodiment, ECU 110 can detect abnormality of battery 25 through communication with battery 25, and the battery from output from A / D converter 35 can be detected. 26 abnormalities can be detected. In addition, the ECU 120 can detect an abnormality of the battery 26 through communication with the battery 26, and can detect an abnormality of the battery 25 based on an output from the A / D converter 36. Therefore, each of the ECUs 110 and 120 can directly detect the abnormality of the batteries 25 and 26, and can perform the process according to the abnormality of the batteries 25 and 26 more quickly.

続いて、図10を参照して、バッテリ25に故障が発生する等し、バッテリ25からの出力(電力の供給)が停止した場合における処理について説明する。図10は、本実施の形態2にかかるバッテリ25の異常検出時処理を示すフローチャートである。なお、以下では、バッテリ25の出力が停止した場合について説明するが、バッテリ26の出力が停止した場合にも同様の処理が実施される。その場合の処理は、ECU110とECU120の関係が逆になり、バッテリ25に代えてバッテリ26に対して処理が行われる以外は同様となることは自明であるため、説明は省略する。   Next, with reference to FIG. 10, processing when the output from the battery 25 (power supply) is stopped due to a failure in the battery 25 or the like will be described. FIG. 10 is a flowchart of the abnormality detection process for the battery 25 according to the second embodiment. In the following, the case where the output of the battery 25 is stopped will be described, but the same processing is performed when the output of the battery 26 is stopped. Since it is obvious that the process in this case is the same except that the relationship between the ECU 110 and the ECU 120 is reversed and the process is performed on the battery 26 instead of the battery 25, the description is omitted.

ECU110は、所定の一定時間間隔毎に、バッテリ25の出力が停止しているか否かを判定する(S31)。具体的には、上述したステップS21と同様に、ECU110は、SMバスを介してバッテリ25からバッテリ25の状態を示す状態情報を受信し、受信した状態情報に基づいて、バッテリ25の出力が停止しているか否かを判定する。   The ECU 110 determines whether or not the output of the battery 25 is stopped at every predetermined time interval (S31). Specifically, as in step S21 described above, ECU 110 receives state information indicating the state of battery 25 from battery 25 via the SM bus, and the output of battery 25 stops based on the received state information. It is determined whether or not.

バッテリ25の出力が停止していないと判定した場合(S31:No)、ECU110は、モータ17、18を制御することによる、倒立二輪車1の制御を継続する(S22)。なお、この場合は、ECU120でも、A/D変換を通してのバッテリ25の出力停止は検出されないため、ECU120も、モータ17、18を制御することによる、倒立二輪車1の制御を継続する。   When it is determined that the output of the battery 25 is not stopped (S31: No), the ECU 110 continues to control the inverted motorcycle 1 by controlling the motors 17 and 18 (S22). In this case, since the ECU 120 does not detect the output stop of the battery 25 through the A / D conversion, the ECU 120 also continues the control of the inverted motorcycle 1 by controlling the motors 17 and 18.

バッテリ25の出力が停止していると判定した場合(S31:Yes)、バッテリ25の出力が停止しているため、バッテリ25から出力される電力の電流値も出力停止時の電流値(例えば0A)となる。そのため、A/D変換器36から出力される電力情報が示す電流値も、出力停止時の電流値を示すようになる。ECU120は、このように、A/D変換器36から出力される電力情報が示す電流値が、出力停止時の電流値を示している場合、バッテリ25の出力が停止していると判定する(S33)。   When it is determined that the output of the battery 25 is stopped (S31: Yes), since the output of the battery 25 is stopped, the current value of the power output from the battery 25 is also the current value when the output is stopped (for example, 0A). ) Therefore, the current value indicated by the power information output from the A / D converter 36 also indicates the current value when output is stopped. In this way, the ECU 120 determines that the output of the battery 25 is stopped when the current value indicated by the power information output from the A / D converter 36 indicates the current value when output is stopped ( S33).

ECU110及びECU120のそれぞれは、上述のモータ17、18に対する出力を1/2倍にする(S34)。これによれば、2つのECU110、120が、1つのバッテリ26からバッテリ26の供給限界を上回る電力を利用することを防止し、バッテリ26の出力電圧の低下によるシステムダウンを防止することができる。   Each of ECU 110 and ECU 120 doubles the output to motors 17 and 18 described above (S34). According to this, it is possible to prevent the two ECUs 110 and 120 from using power exceeding the supply limit of the battery 26 from one battery 26, and it is possible to prevent the system from being down due to a decrease in the output voltage of the battery 26.

以降、ECU110及びECU120は、降車制御等の安全処理、又は、巡航を継続する(S35)。すなわち、マイコン11及びマイコン12は、バッテリ26の出力低下が発生しないように出力が調整されているため、倒立二輪車1を倒立制御しつつ継続して走行させる制御を継続してもよい。また、マイコン11及びマイコン12は、バッテリ25が出力停止しているため、倒立二輪車1を倒立制御しつつ停止させる降車制御を行うようにしてもよい。   Thereafter, the ECU 110 and the ECU 120 continue the safety process such as getting-off control or the cruise (S35). That is, since the output of the microcomputer 11 and the microcomputer 12 is adjusted so that the output of the battery 26 does not decrease, the microcomputer 11 and the microcomputer 12 may continue the control of causing the inverted motorcycle 1 to travel while being inverted. In addition, since the output of the battery 25 is stopped, the microcomputer 11 and the microcomputer 12 may perform the getting-off control for stopping the inverted motorcycle 1 while performing the inverted control.

ここで、ステップS34では、最終的に出力が1/2になるのであれば、どのような手順で出力を減少させるようにしてもよい。例えば、ECU110は、バッテリ25の出力停止の検出に応じて、出力を直接1/2倍に変更し、ECU120も、バッテリ25の出力停止の検出に応じて、出力を直接1/2倍に変更してもよい。また、図7を参照して説明したように、段階的に出力が1/2倍になるように調整するようにしてもよい。   Here, in step S34, as long as the output finally becomes ½, the output may be decreased by any procedure. For example, the ECU 110 directly changes the output to ½ times in response to detection of the output stop of the battery 25, and the ECU 120 also directly changes the output to ½ times in response to detection of the output stop of the battery 25. May be. Further, as described with reference to FIG. 7, the output may be adjusted to be ½ times step by step.

また、ECU110は、バッテリ25の出力停止の検出に応じて、出力を1/2倍に変更する前に、出力を1/2倍にすることを通知する通知情報をECU120に出力し、ECU120は、その通知情報の出力又は自身での出力停止の検出のうち、先に発生した事象に応じて、出力を1/2倍に変更してもよい。また、ECU110は、バッテリ25の出力停止の検出に応じて、出力を1/2倍に変更した後に、出力を1/2倍にしたことを通知する通知情報をECU120に出力し、ECU120は、その通知情報の出力又は自身での出力停止の検出のうち、先に発生した事象に応じて、出力を1/2倍に変更してもよい。同様に、ECU120が、バッテリ25の出力停止の検出に応じて、通知情報をECU110に出力し、ECU110が、その通知情報の出力又は自身での出力停止の検出のうち、先に発生した事象に応じて、出力を1/2倍に変更するようにしてもよい。   In addition, in response to detection of the output stop of the battery 25, the ECU 110 outputs notification information notifying that the output is halved to the ECU 120 before changing the output to ½, and the ECU 120 Of the output of the notification information or the detection of the output stop by itself, the output may be changed to ½ times according to the event that has occurred first. In addition, ECU 110 outputs notification information to notify ECU 120 that the output has been halved after the output has been halved in response to detection of the output stop of battery 25. ECU 120 Of the output of the notification information or the detection of the output stop by itself, the output may be changed to ½ times according to the event that has occurred first. Similarly, the ECU 120 outputs notification information to the ECU 110 in response to the detection of the output stop of the battery 25, and the ECU 110 detects an event that has occurred first in the output of the notification information or the detection of the output stop by itself. Accordingly, the output may be changed to ½ times.

なお、以上の説明では、A/D変換器35、36が、バッテリ25、26から出力されている電力における電流値をA/D変換するようにしているが、これに限られない。A/D変換器35、36は、電流値に代えて、電圧値、又は、電流値及び電圧値の両方を、A/D変換して電力情報としてマイコン11、12に出力するようにしてもよい。そして、電圧値をA/D変換する場合、ECU110、120は、電力情報が示す電圧値が、出力停止時の電圧値(0V又は所定の閾値未満)を示している場合、バッテリの出力が停止していると判定するようにすればよい。また、電流値及び電圧値の両方をA/D変換する場合、ECU110、120は、電力情報が示す電流値及び電圧値のいずれか一方又は両方が、出力停止時の値(0又は所定の閾値未満)を示している場合、バッテリの出力が停止していると判定するようにすればよい。   In the above description, the A / D converters 35 and 36 A / D convert the current value in the power output from the batteries 25 and 26, but the present invention is not limited to this. The A / D converters 35 and 36 may perform A / D conversion on the voltage value, or both the current value and the voltage value, instead of the current value, and output the power information to the microcomputers 11 and 12 as power information. Good. When the voltage value is A / D converted, the ECUs 110 and 120 stop the output of the battery when the voltage value indicated by the power information indicates the voltage value at the time of output stop (0 V or less than a predetermined threshold). What is necessary is just to determine that it is doing. Further, when A / D converting both the current value and the voltage value, the ECUs 110 and 120 indicate that either one or both of the current value and the voltage value indicated by the power information is a value when the output is stopped (0 or a predetermined threshold value). Less), it may be determined that the output of the battery is stopped.

以上に説明したように、本実施の形態2では、第1の制御部(例えばECU110)のみならず、第2の制御部(例えばECU120)も、A/D変換器35から出力された電力情報に基づいて、第1のバッテリ(例えばバッテリ25)の異常を検出した場合、第2のバッテリ(例えばバッテリ26)で第1の制御部及び第2の制御部の両方に供給可能な範囲内に減少されるとして予め定められた減少度合いで、モータ(例えばモータ17又は18)を駆動する電力を減少するようにしている。   As described above, in the second embodiment, not only the first control unit (for example, ECU 110) but also the second control unit (for example, ECU 120) outputs power information output from the A / D converter 35. When the abnormality of the first battery (for example, battery 25) is detected based on the above, the second battery (for example, battery 26) is within a range that can be supplied to both the first control unit and the second control unit. The electric power for driving the motor (for example, the motor 17 or 18) is reduced by a predetermined reduction degree as being reduced.

これによれば、第1の制御部のみならず、第2の制御部も直接的に第1のバッテリの異常を検出して、より迅速に第1のバッテリの異常に応じた処理を実施することが可能となる。   According to this, not only the first control unit but also the second control unit directly detects the abnormality of the first battery, and more quickly performs the process according to the abnormality of the first battery. It becomes possible.

<発明の実施の形態3>
続いて、実施の形態3について説明する。実施の形態3にかかる倒立二輪車1の概要構成については、図1を参照して説明した実施の形態1にかかる倒立二輪車1の概要構成と同様であるため、説明を省略する。実施の形態3にかかる制御装置10の構成についても、図2を参照して説明した実施の形態1にかかる制御装置10の構成と同様であるため、説明を省略する。
<Third Embodiment of the Invention>
Subsequently, Embodiment 3 will be described. The schematic configuration of the inverted motorcycle 1 according to the third embodiment is the same as the schematic configuration of the inverted motorcycle 1 according to the first embodiment described with reference to FIG. The configuration of the control device 10 according to the third embodiment is also the same as the configuration of the control device 10 according to the first embodiment described with reference to FIG.

続いて、図11を参照して、本実施の形態3にかかるバッテリ25、26の異常検出方法について説明する。図11は、本実施の形態3にかかるバッテリ25、26と、ECU110、120との接続関係を示す図である。なお、以下では、図3と同様の内容については、適宜、説明を省略する。   Next, with reference to FIG. 11, the abnormality detection method for the batteries 25 and 26 according to the third embodiment will be described. FIG. 11 is a diagram illustrating a connection relationship between the batteries 25 and 26 and the ECUs 110 and 120 according to the third embodiment. In addition, below, description is abbreviate | omitted suitably about the content similar to FIG.

本実施の形態3では、図3に示す接続関係と比較して、さらに、バッテリ26とECU110とが、SMバスによって相互に接続されており、バッテリ25とECU120とが、SMバスによって相互に接続されている。すなわち、バッテリ26とECU110とは、SMバスを介して任意の情報を送受信可能であり、バッテリ25とECU120とは、SMバスを介して任意の情報を送受信可能である。なお、バッテリ26とECU110との間と、バッテリ25とECU120との間の通信規格も、SMバスに限られず、他の通信規格を採用するようにしてもよい。   In the third embodiment, as compared with the connection relationship shown in FIG. 3, the battery 26 and the ECU 110 are further connected to each other by the SM bus, and the battery 25 and the ECU 120 are connected to each other by the SM bus. Has been. That is, the battery 26 and the ECU 110 can transmit / receive arbitrary information via the SM bus, and the battery 25 and the ECU 120 can transmit / receive arbitrary information via the SM bus. The communication standards between the battery 26 and the ECU 110 and between the battery 25 and the ECU 120 are not limited to the SM bus, and other communication standards may be adopted.

以上に説明した構成とすることで、本実施の形態3によれば、ECU110は、バッテリ25との通信によってバッテリ25の異常を検出することができ、バッテリ26との通信によってバッテリ26の異常も検出することができる。また、ECU120は、バッテリ26との通信によってバッテリ26の異常を検出することができ、バッテリ26との通信によってバッテリ25の異常も検出することができる。そのため、ECU110、120のそれぞれが、直接的にバッテリ25、26の異常を検出して、より迅速にバッテリ25、26の異常に応じた処理を実施することが可能となる。   With the configuration described above, according to the third embodiment, ECU 110 can detect abnormality of battery 25 through communication with battery 25, and can also detect abnormality of battery 26 through communication with battery 26. Can be detected. Further, ECU 120 can detect an abnormality of battery 26 through communication with battery 26, and can also detect an abnormality in battery 25 through communication with battery 26. Therefore, each of the ECUs 110 and 120 can directly detect the abnormality of the batteries 25 and 26, and can perform the process according to the abnormality of the batteries 25 and 26 more quickly.

続いて、図12を参照して、本実施の形態3にかかる制御装置10によるバッテリ25の異常検出時処理について説明する。図12は、本実施の形態3にかかるバッテリ25の異常検出時処理を示すフローチャートである。なお、以下では、バッテリ25の出力が停止した場合について説明するが、バッテリ26の出力が停止した場合にも同様の処理が実施される。その場合の処理は、バッテリ25に代えてバッテリ26に対して処理が行われる以外は同様となることは自明であるため、説明は省略する。   Then, with reference to FIG. 12, the abnormality detection process of the battery 25 by the control apparatus 10 concerning this Embodiment 3 is demonstrated. FIG. 12 is a flowchart showing the abnormality detection process of the battery 25 according to the third embodiment. In the following, the case where the output of the battery 25 is stopped will be described, but the same processing is performed when the output of the battery 26 is stopped. Since it is obvious that the process in this case is the same except that the process is performed on the battery 26 instead of the battery 25, the description is omitted.

ECU110及びECU120のそれぞれは、所定の一定時間間隔毎に、バッテリ25の出力が停止しているか否かを判定する(S41)。具体的には、上述したステップS21と同様に、ECU110及びECU120のそれぞれは、SMバスを介してバッテリ25からバッテリ25の状態を示す状態情報を受信し、受信した状態情報に基づいて、バッテリ25の出力が停止しているか否かを判定する。   Each of the ECU 110 and the ECU 120 determines whether or not the output of the battery 25 is stopped at predetermined time intervals (S41). Specifically, as in step S21 described above, each of ECU 110 and ECU 120 receives state information indicating the state of battery 25 from battery 25 via the SM bus, and battery 25 is based on the received state information. It is determined whether the output of is stopped.

バッテリ25の出力が停止していないと判定した場合(S41:No)、ECU110及びECU120のそれぞれは、モータ17、18を制御することによる、倒立二輪車1の制御を継続する(S42)。   When it is determined that the output of the battery 25 is not stopped (S41: No), each of the ECU 110 and the ECU 120 continues to control the inverted motorcycle 1 by controlling the motors 17 and 18 (S42).

バッテリ25の出力が停止していると判定した場合(S41:Yes)、ECU110及びECU120のそれぞれは、上述のモータ17、18に対する出力を1/2倍にする(S43)。これによれば、2つのECU110、120が、1つのバッテリ26からバッテリ26の供給限界を上回る電力を利用することを防止し、バッテリ26の出力電圧の低下によるシステムダウンを防止することができる。   When it is determined that the output of the battery 25 is stopped (S41: Yes), the ECU 110 and the ECU 120 each halve the output to the motors 17 and 18 (S43). According to this, it is possible to prevent the two ECUs 110 and 120 from using power exceeding the supply limit of the battery 26 from one battery 26, and it is possible to prevent the system from being down due to a decrease in the output voltage of the battery 26.

以降、ECU110及びECU120は、降車制御等の安全処理、又は、巡航を継続する(S44)。すなわち、マイコン11及びマイコン12は、バッテリ26の出力低下が発生しないように出力が調整されているため、倒立二輪車1を倒立制御しつつ継続して走行させる制御を継続してもよい。また、マイコン11及びマイコン12は、バッテリ25が出力停止しているため、倒立二輪車1を倒立制御しつつ停止させる降車制御を行うようにしてもよい。   Thereafter, the ECU 110 and the ECU 120 continue the safety process such as getting-off control or the cruise (S44). That is, since the output of the microcomputer 11 and the microcomputer 12 is adjusted so that the output of the battery 26 does not decrease, the microcomputer 11 and the microcomputer 12 may continue the control of causing the inverted motorcycle 1 to travel while being inverted. In addition, since the output of the battery 25 is stopped, the microcomputer 11 and the microcomputer 12 may perform the getting-off control for stopping the inverted motorcycle 1 while performing the inverted control.

ここで、ステップS43では、最終的に出力が1/2になるのであれば、どのような手順で出力を減少させるようにしてもよい。例えば、ECU110は、バッテリ25の出力停止の検出に応じて、出力を直接1/2倍に変更してもよく、ECU120も、バッテリ25の出力停止の検出に応じて、出力を直接1/2倍に変更してもよい。また、図7を参照して説明したように、段階的に出力が1/2倍になるように調整するようにしてもよい。   Here, in step S43, as long as the output finally becomes ½, the output may be reduced by any procedure. For example, the ECU 110 may directly change the output to ½ times in response to the detection of the output stop of the battery 25, and the ECU 120 also directly changes the output to ½ in response to the detection of the output stop of the battery 25. You may change it twice. Further, as described with reference to FIG. 7, the output may be adjusted to be ½ times step by step.

また、ECU110は、バッテリ25の出力停止の検出に応じて、出力を1/2倍に変更する前に、出力を1/2倍にすることを通知する通知情報をECU120に出力し、ECU120は、その通知情報の出力又は自身での出力停止の検出のうち、先に発生した事象に応じて、出力を1/2倍に変更してもよい。また、ECU110は、バッテリ25の出力停止の検出に応じて、出力を1/2倍に変更した後に、出力を1/2倍にしたことを通知する通知情報をECU120に出力し、ECU120は、その通知情報の出力又は自身での出力停止の検出のうち、先に発生した事象に応じて、出力を1/2倍に変更してもよい。同様に、ECU120が、バッテリ25の出力停止の検出に応じて、通知情報をECU110に出力し、ECU110が、その通知情報の出力又は自身での出力停止の検出のうち、先に発生した事象に応じて、出力を1/2倍に変更するようにしてもよい。   In addition, in response to detection of the output stop of the battery 25, the ECU 110 outputs notification information notifying that the output is halved to the ECU 120 before changing the output to ½, and the ECU 120 Of the output of the notification information or the detection of the output stop by itself, the output may be changed to ½ times according to the event that has occurred first. In addition, ECU 110 outputs notification information to notify ECU 120 that the output has been halved after the output has been halved in response to detection of the output stop of battery 25. ECU 120 Of the output of the notification information or the detection of the output stop by itself, the output may be changed to ½ times according to the event that has occurred first. Similarly, the ECU 120 outputs notification information to the ECU 110 in response to the detection of the output stop of the battery 25, and the ECU 110 detects an event that has occurred first in the output of the notification information or the detection of the output stop by itself. Accordingly, the output may be changed to ½ times.

なお、以上の説明では、ECU110、120のそれぞれと、バッテリ25、26のそれぞれとが、ピアツーピアのリンク結合となっている場合について例示したが、これに限られない。例えば、ECU110、120及びバッテリ25、26が、相互にバス結合されていてもよい。   In the above description, the ECUs 110 and 120 and the batteries 25 and 26 are illustrated as being peer-to-peer link coupling, but the present invention is not limited to this. For example, the ECUs 110 and 120 and the batteries 25 and 26 may be bus-connected to each other.

以上に説明したように、本実施の形態3では、第1の制御部(例えばECU110)のみならず、第2の制御部(例えばECU120)も、第1のバッテリ(例えばバッテリ25)から出力された状態情報に基づいて、第1のバッテリの異常を検出した場合、第2のバッテリ(例えばバッテリ26)で第1の制御部及び第2の制御部の両方に供給可能な範囲内に減少されるとして予め定められた減少度合いで、モータ(例えばモータ17又は18)を駆動する電力を減少するようにしている。   As described above, in the third embodiment, not only the first control unit (for example, ECU 110) but also the second control unit (for example, ECU 120) is output from the first battery (for example, battery 25). When the abnormality of the first battery is detected based on the status information, the second battery (for example, the battery 26) is reduced within a range that can be supplied to both the first control unit and the second control unit. The power for driving the motor (for example, the motor 17 or 18) is reduced at a predetermined reduction degree.

これによれば、第1の制御部のみならず、第2の制御部も直接的に第1のバッテリの異常を検出して、より迅速に第1のバッテリの異常に応じた処理を実施することが可能となる。   According to this, not only the first control unit but also the second control unit directly detects the abnormality of the first battery, and more quickly performs the process according to the abnormality of the first battery. It becomes possible.

なお、本発明は上記実施の形態に限られたものではなく、趣旨を逸脱しない範囲で適宜変更することが可能である。   Note that the present invention is not limited to the above-described embodiment, and can be changed as appropriate without departing from the spirit of the present invention.

上記実施の形態では、ECU110、120のうち、いずれかのECUが縮退又は分離された場合に、残りのECUの出力を初期状態の2倍に変更するようにしているが、モータ17、18を駆動する電力が、バッテリ25、26の両方で供給可能な範囲内に増加されるのであれば、これとは異なる所定の増加度合いで出力を増加させるようにしてもよい。   In the above embodiment, when any one of the ECUs 110 and 120 is degenerated or separated, the output of the remaining ECU is changed to twice the initial state. If the electric power to be driven is increased within a range that can be supplied by both the batteries 25 and 26, the output may be increased at a predetermined degree of increase different from that.

上記実施の形態では、バッテリ25、26のうち、いずれかに異常が発生した場合に、ECU110、120の出力を初期状態の1/2倍に変更するようにしているが、モータ17、18を駆動する電力が、残りのバッテリで供給可能な範囲内に減少されるのであれば、これとは異なる所定の減少度合いで出力を減少させるようにしてもよい。例えば、ECU110の出力を初期状態の1/4倍に変更し、ECU120の出力を初期状態の3/4倍に変更するようにしてもよい。ECU110とECU120の全体としての出力が初期状態の1/2倍になるのであれば、残り1つのバッテリで電力供給が可能となるからである。すなわち、この例のように、バッテリ25、26の異常発生時における、ECU110とECU120における出力の減少度合いは、相互に異なっていてもよい。また、モータ17、18を駆動する電力が、残りのバッテリでECU110とECU120の両方に供給可能な範囲内に減少されるのであれば、ECU110とECU120の全体としての出力の減少度合いは、初期状態の1/2倍に限られない。   In the above embodiment, when an abnormality occurs in any of the batteries 25 and 26, the output of the ECUs 110 and 120 is changed to ½ times the initial state. If the electric power to be driven is reduced within a range that can be supplied by the remaining battery, the output may be reduced at a predetermined reduction degree different from this. For example, the output of the ECU 110 may be changed to 1/4 times the initial state, and the output of the ECU 120 may be changed to 3/4 times the initial state. This is because if the output of the ECU 110 and the ECU 120 as a whole is ½ times the initial state, the remaining one battery can supply power. That is, as in this example, the degree of decrease in output in ECU 110 and ECU 120 when an abnormality occurs in batteries 25 and 26 may be different from each other. Further, if the electric power for driving the motors 17 and 18 is reduced within a range that can be supplied to both the ECU 110 and the ECU 120 by the remaining battery, the degree of decrease in the output of the ECU 110 and the ECU 120 as a whole is the initial state. It is not restricted to 1/2 times.

しかしながら、好ましくは、上記実施の形態で例示したように、バッテリ25、26のうち、いずれかに異常が発生した場合に、ECU110、120の出力を初期状態の1/2倍に変更するようにするとよい。そのようにすることで、バッテリ25、26のうち、いずれかに異常が発生した後に、ECU110、120のいずれかが縮退又は分離されて、再度出力を2倍にする(元に戻す)ときにおける出力の変化量を低減されるため、即応性を向上し、制御の安定性を向上することができる。   However, preferably, as illustrated in the above embodiment, when an abnormality occurs in any of the batteries 25 and 26, the output of the ECUs 110 and 120 is changed to 1/2 of the initial state. Good. By doing so, after an abnormality occurs in one of the batteries 25 and 26, when any of the ECUs 110 and 120 is degenerated or separated, the output is doubled again (returned to the original). Since the amount of change in output is reduced, the responsiveness can be improved and the stability of control can be improved.

1 倒立二輪車
2 車輪
3 ステップカバー
4 ハンドル
10 制御装置
11、12 マイコン
13、14、15、16 インバータ
17、18 モータ
19、20、21、22 回転角センサ
23、24 ジャイロセンサ
25、26 バッテリ
27 保護回路
31、32 ダイオード
33、34 過電流遮断部
35、36 A/D変換器
110、120 ECU
DESCRIPTION OF SYMBOLS 1 Inverted motorcycle 2 Wheel 3 Step cover 4 Handle 10 Control apparatus 11, 12 Microcomputer 13, 14, 15, 16 Inverter 17, 18 Motor 19, 20, 21, 22 Rotation angle sensor 23, 24 Gyro sensor 25, 26 Battery 27 Protection Circuits 31, 32 Diodes 33, 34 Overcurrent interrupting units 35, 36 A / D converters 110, 120 ECU

Claims (7)

車輪と、
前記車輪を回転させるモータと、
前記モータを駆動する第1の制御部と、
前記モータを駆動する第2の制御部と、
前記第1の制御部及び前記第2の制御部に前記モータを駆動するための電力を供給する第1のバッテリと、
前記第1の制御部及び前記第2の制御部に前記モータを駆動するための電力を供給する第2のバッテリと、を備え、
前記第1の制御部及び前記第2の制御部は、前記第1のバッテリ及び前記第2のバッテリのうち、いずれか1つで供給可能な範囲内の電力で前記モータを駆動し、
前記第2の制御部は、前記第1の制御部に異常が発生して前記第1の制御部が縮退した場合に、前記第1のバッテリ及び前記第2のバッテリの両方で供給可能な範囲内で増加されるとして予め定められた増加度合いで、前記モータを駆動する電力を増加する、
移動体。
Wheels,
A motor for rotating the wheel;
A first control unit for driving the motor;
A second control unit for driving the motor;
A first battery for supplying electric power for driving the motor to the first controller and the second controller;
A second battery for supplying power for driving the motor to the first control unit and the second control unit,
The first control unit and the second control unit drive the motor with electric power within a range that can be supplied by any one of the first battery and the second battery,
The second control unit is a range that can be supplied by both the first battery and the second battery when an abnormality occurs in the first control unit and the first control unit is degenerated. Increasing the power to drive the motor with a predetermined degree of increase in
Moving body.
前記移動体は、さらに、前記第1のバッテリ及び前記第2のバッテリから前記第1の制御部に対する過電流を検出した場合に、前記第1の制御部を前記第1のバッテリ及び前記第2のバッテリから分離する過電流遮断部を備え、
前記第2の制御部は、前記第1の制御部が前記過電流遮断部によって分離された場合に、前記増加度合いで、前記モータを駆動する電力を増加させる、
請求項1に記載の移動体。
When the mobile body further detects an overcurrent from the first battery and the second battery to the first control unit, the mobile unit moves the first control unit to the first battery and the second battery. With an overcurrent interrupter that separates from the battery
The second control unit increases the electric power for driving the motor with the increase degree when the first control unit is separated by the overcurrent interrupting unit.
The moving body according to claim 1.
前記第1のバッテリは、前記第1のバッテリの状態を示す状態情報を、前記第1の制御部に出力し、
前記第1の制御部は、前記第1のバッテリから出力された状態情報に基づいて、前記第1のバッテリの異常を検出した場合、前記第2のバッテリで前記第1の制御部及び前記第2の制御部の両方に供給可能な範囲内に減少されるとして予め定められた第1の減少度合いで、前記モータを駆動する電力を減少するとともに、前記第1のバッテリの異常の検出に応じた通知情報を前記第2の制御部に出力し、
前記第2の制御部は、前記第1の制御部からの前記通知情報の出力に応じて、前記第2のバッテリで前記第1の制御部及び前記第2の制御部の両方に供給可能な範囲内に減少されるとして予め定められた第2の減少度合いで、前記モータを駆動する電力を減少する、
請求項1又は2に記載の移動体。
The first battery outputs state information indicating a state of the first battery to the first control unit,
When the first control unit detects an abnormality of the first battery based on the state information output from the first battery, the first control unit and the first battery are detected by the second battery. The power for driving the motor is reduced at a first reduction degree that is predetermined as being reduced within a range that can be supplied to both of the two control units, and in response to detection of an abnormality in the first battery. Output the notification information to the second control unit,
The second control unit can be supplied to both the first control unit and the second control unit by the second battery according to the output of the notification information from the first control unit. Reducing the power to drive the motor with a second degree of reduction predetermined as being reduced within the range;
The moving body according to claim 1 or 2.
前記第1のバッテリは、前記第1のバッテリの状態を示す状態情報を、前記第1の制御部に出力し、
前記移動体は、さらに、前記第1のバッテリから出力された電力における電流値及び電圧値の少なくとも1つをA/D変換し、A/D変換後の電流値及び電圧値の少なくとも1つを示す電力情報を、前記第2の制御部に出力するA/D変換器を備え、
前記第1の制御部は、前記第1のバッテリから出力された状態情報に基づいて、前記第1のバッテリの異常を検出した場合、前記第2のバッテリで前記第1の制御部及び前記第2の制御部の両方に供給可能な範囲内に減少されるとして予め定められた第1の減少度合いで、前記モータを駆動する電力を減少し、
前記第2の制御部は、前記A/D変換器から出力された電力情報に基づいて、前記第1のバッテリの異常を検出した場合、前記第2のバッテリで前記第1の制御部及び前記第2の制御部の両方に供給可能な範囲内に減少されるとして予め定められた第2の減少度合いで、前記モータを駆動する電力を減少する、
請求項1又は2に記載の移動体。
The first battery outputs state information indicating a state of the first battery to the first control unit,
The mobile unit further A / D converts at least one of a current value and a voltage value in the power output from the first battery, and at least one of the current value and the voltage value after A / D conversion is converted. An A / D converter that outputs power information to the second control unit;
When the first control unit detects an abnormality of the first battery based on the state information output from the first battery, the first control unit and the first battery are detected by the second battery. Reducing the electric power for driving the motor by a first reduction degree that is predetermined as being reduced within a range that can be supplied to both of the two control units,
When the second control unit detects an abnormality in the first battery based on the power information output from the A / D converter, the second control unit and the second control unit Decreasing the electric power for driving the motor by a second reduction degree predetermined as being reduced within a range that can be supplied to both of the second control units,
The moving body according to claim 1 or 2.
前記第1のバッテリは、前記第1のバッテリの状態を示す状態情報を、前記第1の制御部及び前記第2の制御部に出力し、
前記第1の制御部は、前記第1のバッテリから出力された状態情報に基づいて、前記第1のバッテリの異常を検出した場合、前記第2のバッテリで前記第1の制御部及び前記第2の制御部の両方に供給可能な範囲内に減少されるとして予め定められた第1の減少度合いで、前記モータを駆動する電力を減少し、
前記第2の制御部は、前記第1のバッテリから出力された状態情報に基づいて、前記第1のバッテリの異常を検出した場合、前記第2のバッテリで前記第1の制御部及び前記第2の制御部の両方に供給可能な範囲内に減少されるとして予め定められた第2の減少度合いで、前記モータを駆動する電力を減少する、
請求項1又は2に記載の移動体。
The first battery outputs state information indicating a state of the first battery to the first control unit and the second control unit,
When the first control unit detects an abnormality of the first battery based on the state information output from the first battery, the first control unit and the first battery are detected by the second battery. Reducing the electric power for driving the motor by a first reduction degree that is predetermined as being reduced within a range that can be supplied to both of the two control units,
When the second control unit detects an abnormality of the first battery based on the state information output from the first battery, the second control unit and the first control unit are connected to the second battery. Reducing the electric power for driving the motor by a second reduction degree that is predetermined as being reduced within a range that can be supplied to both of the two control units,
The moving body according to claim 1 or 2.
前記第1の減少度合い及び前記第2の減少度合いは、1/2倍である、
請求項3乃至5のいずれか1項に記載の移動体。
The first reduction degree and the second reduction degree are ½ times.
The moving body according to any one of claims 3 to 5.
モータを駆動することで車輪を回転させて移動する移動体の制御方法であって、
第1の制御部及び第2の制御部のそれぞれが、第1のバッテリ及び第2のバッテリから供給される電力を使用して、前記第1のバッテリ及び前記第2のバッテリのうち、いずれか1つで供給可能な範囲内の電力で、前記モータの駆動を開始するステップと、
前記第1の制御部の異常の検出に応じて、前記第1の制御部を縮退するステップと、
前記第1のバッテリ及び前記第2のバッテリの両方で供給可能な範囲内の電力になるとして予め定められた増加度合いで、前記第2の制御部が前記モータを駆動する電力を増加させるステップと、
を備えた制御方法。
A method for controlling a moving body that moves by rotating a wheel by driving a motor,
Each of the first control unit and the second control unit uses the power supplied from the first battery and the second battery, and is either the first battery or the second battery. Starting the drive of the motor with power within a range that can be supplied by one;
Degenerating the first control unit in response to detection of an abnormality in the first control unit;
Increasing the power for the second control unit to drive the motor at a predetermined increase degree that the power is within a range that can be supplied by both the first battery and the second battery; ,
Control method with.
JP2013028624A 2013-02-18 2013-02-18 Mobile body and control method thereof Active JP5892085B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013028624A JP5892085B2 (en) 2013-02-18 2013-02-18 Mobile body and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013028624A JP5892085B2 (en) 2013-02-18 2013-02-18 Mobile body and control method thereof

Publications (2)

Publication Number Publication Date
JP2014156208A JP2014156208A (en) 2014-08-28
JP5892085B2 true JP5892085B2 (en) 2016-03-23

Family

ID=51577399

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013028624A Active JP5892085B2 (en) 2013-02-18 2013-02-18 Mobile body and control method thereof

Country Status (1)

Country Link
JP (1) JP5892085B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101755782B1 (en) * 2015-01-28 2017-07-19 현대자동차주식회사 Device and method to control sources of electricity energy for automobile

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4187308B2 (en) * 1998-06-16 2008-11-26 日本オーチス・エレベータ株式会社 Variable speed drive
NZ525279A (en) * 2000-10-13 2005-10-28 Deka Products Lp Controlling a motorized personal transporter with single and three-axis stabilizer
JP3393121B2 (en) * 2001-02-01 2003-04-07 科学技術振興事業団 Power supply device for electric vehicles
JP2003032805A (en) * 2001-07-06 2003-01-31 Toyota Motor Corp Controlling device and power outputting device, hybrid vehicle provided therewith, controlling device controlling method, and power outputting device controlling method
JP2006050709A (en) * 2004-08-02 2006-02-16 Matsushita Electric Ind Co Ltd Electric power steering device
JP4745879B2 (en) * 2006-04-06 2011-08-10 日立ビークルエナジー株式会社 Hybrid vehicle control system, hybrid vehicle control method, and vehicle storage battery control system
JP5455436B2 (en) * 2009-05-20 2014-03-26 本田技研工業株式会社 Electric vehicle

Also Published As

Publication number Publication date
JP2014156208A (en) 2014-08-28

Similar Documents

Publication Publication Date Title
US8897967B2 (en) Electric power steering apparatus
JP5644821B2 (en) Inverted motorcycle and control method thereof
JP6110381B2 (en) Power system
JP5666010B2 (en) Electric power steering device
JP2006076478A (en) Steering control device
JP2009005527A (en) Controller for electric vehicle
JPWO2019049731A1 (en) Power steering device controller
JP5949926B2 (en) Inverted moving body and control method thereof
US11787293B2 (en) Electric motor control device and method of electric motor control
US11919579B2 (en) Power supply system
JP4556918B2 (en) Power supply device with regenerative energy consumption circuit
JP5892085B2 (en) Mobile body and control method thereof
US20220073130A1 (en) Steering control apparatus and method
JP2015074356A (en) Control method of mobile body, and two-wheeled inverted pendulum mobile body
JP6627598B2 (en) In-vehicle power supply
JP7147691B2 (en) electronic controller
US20240088814A1 (en) Actuator driving device and steering system provided with the same
JP2021166452A (en) Motor control device
JP7271970B2 (en) Control device
JP6264333B2 (en) Motor drive device
KR101796378B1 (en) Control apparatus of electronic active rolling stabilizer system
JP2015027874A (en) Two-wheeled inverted pendulum vehicle and control method thereof
JP5929803B2 (en) Mobile body and control method thereof
JP5261107B2 (en) Motor drive device, motor drive system, and electric vehicle
JP2024050006A (en) Control device of inverter

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150305

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160121

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: 20160126

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160208

R151 Written notification of patent or utility model registration

Ref document number: 5892085

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151