JP7239030B2 - motor controller - Google Patents

motor controller Download PDF

Info

Publication number
JP7239030B2
JP7239030B2 JP2022014393A JP2022014393A JP7239030B2 JP 7239030 B2 JP7239030 B2 JP 7239030B2 JP 2022014393 A JP2022014393 A JP 2022014393A JP 2022014393 A JP2022014393 A JP 2022014393A JP 7239030 B2 JP7239030 B2 JP 7239030B2
Authority
JP
Japan
Prior art keywords
microcomputer
signal
motor
drive
synchronization signal
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
JP2022014393A
Other languages
Japanese (ja)
Other versions
JP2022048288A (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.)
Denso Corp
Original Assignee
Denso 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
Priority claimed from JP2017126972A external-priority patent/JP7024226B2/en
Application filed by Denso Corp filed Critical Denso Corp
Publication of JP2022048288A publication Critical patent/JP2022048288A/en
Application granted granted Critical
Publication of JP7239030B2 publication Critical patent/JP7239030B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B62LAND VEHICLES FOR TRAVELLING OTHERWISE THAN ON RAILS
    • B62DMOTOR VEHICLES; TRAILERS
    • B62D5/00Power-assisted or power-driven steering
    • B62D5/04Power-assisted or power-driven steering electrical, e.g. using an electric servo-motor connected to, or forming part of, the steering gear
    • B62D5/0457Power-assisted or power-driven steering electrical, e.g. using an electric servo-motor connected to, or forming part of, the steering gear characterised by control features of the drive means as such
    • B62D5/046Controlling the motor
    • B62D5/0463Controlling the motor calculating assisting torque from the motor based on driver input
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P25/00Arrangements or methods for the control of AC motors characterised by the kind of AC motor or by structural details
    • H02P25/16Arrangements or methods for the control of AC motors characterised by the kind of AC motor or by structural details characterised by the circuit arrangement or by the kind of wiring
    • H02P25/22Multiple windings; Windings for more than three phases
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R16/00Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
    • B60R16/02Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B62LAND VEHICLES FOR TRAVELLING OTHERWISE THAN ON RAILS
    • B62DMOTOR VEHICLES; TRAILERS
    • B62D5/00Power-assisted or power-driven steering
    • B62D5/04Power-assisted or power-driven steering electrical, e.g. using an electric servo-motor connected to, or forming part of, the steering gear
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B62LAND VEHICLES FOR TRAVELLING OTHERWISE THAN ON RAILS
    • B62DMOTOR VEHICLES; TRAILERS
    • B62D5/00Power-assisted or power-driven steering
    • B62D5/04Power-assisted or power-driven steering electrical, e.g. using an electric servo-motor connected to, or forming part of, the steering gear
    • B62D5/0403Power-assisted or power-driven steering electrical, e.g. using an electric servo-motor connected to, or forming part of, the steering gear characterised by constructional features, e.g. common housing for motor and gear box
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B62LAND VEHICLES FOR TRAVELLING OTHERWISE THAN ON RAILS
    • B62DMOTOR VEHICLES; TRAILERS
    • B62D5/00Power-assisted or power-driven steering
    • B62D5/04Power-assisted or power-driven steering electrical, e.g. using an electric servo-motor connected to, or forming part of, the steering gear
    • B62D5/0409Electric motor acting on the steering column
    • B62D5/0412Electric motor acting on the steering column the axes of motor and steering column being parallel
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B62LAND VEHICLES FOR TRAVELLING OTHERWISE THAN ON RAILS
    • B62DMOTOR VEHICLES; TRAILERS
    • B62D5/00Power-assisted or power-driven steering
    • B62D5/04Power-assisted or power-driven steering electrical, e.g. using an electric servo-motor connected to, or forming part of, the steering gear
    • B62D5/0457Power-assisted or power-driven steering electrical, e.g. using an electric servo-motor connected to, or forming part of, the steering gear characterised by control features of the drive means as such
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B62LAND VEHICLES FOR TRAVELLING OTHERWISE THAN ON RAILS
    • B62DMOTOR VEHICLES; TRAILERS
    • B62D5/00Power-assisted or power-driven steering
    • B62D5/04Power-assisted or power-driven steering electrical, e.g. using an electric servo-motor connected to, or forming part of, the steering gear
    • B62D5/0457Power-assisted or power-driven steering electrical, e.g. using an electric servo-motor connected to, or forming part of, the steering gear characterised by control features of the drive means as such
    • B62D5/0481Power-assisted or power-driven steering electrical, e.g. using an electric servo-motor connected to, or forming part of, the steering gear characterised by control features of the drive means as such monitoring the steering system, e.g. failures
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B62LAND VEHICLES FOR TRAVELLING OTHERWISE THAN ON RAILS
    • B62DMOTOR VEHICLES; TRAILERS
    • B62D6/00Arrangements for automatically controlling steering depending on driving conditions sensed and responded to, e.g. control circuits
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B62LAND VEHICLES FOR TRAVELLING OTHERWISE THAN ON RAILS
    • B62DMOTOR VEHICLES; TRAILERS
    • B62D6/00Arrangements for automatically controlling steering depending on driving conditions sensed and responded to, e.g. control circuits
    • B62D6/08Arrangements for automatically controlling steering depending on driving conditions sensed and responded to, e.g. control circuits responsive only to driver input torque
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/04Generating or distributing clock signals or signals derived directly therefrom
    • G06F1/12Synchronisation of different clock signals provided by a plurality of clock generators
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/04Generating or distributing clock signals or signals derived directly therefrom
    • G06F1/14Time supervision arrangements, e.g. real time clock
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P27/00Arrangements or methods for the control of AC motors characterised by the kind of supply voltage
    • H02P27/04Arrangements or methods for the control of AC motors characterised by the kind of supply voltage using variable-frequency supply voltage, e.g. inverter or converter supply voltage
    • H02P27/06Arrangements or methods for the control of AC motors characterised by the kind of supply voltage using variable-frequency supply voltage, e.g. inverter or converter supply voltage using dc to ac converters or inverters
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P27/00Arrangements or methods for the control of AC motors characterised by the kind of supply voltage
    • H02P27/04Arrangements or methods for the control of AC motors characterised by the kind of supply voltage using variable-frequency supply voltage, e.g. inverter or converter supply voltage
    • H02P27/06Arrangements or methods for the control of AC motors characterised by the kind of supply voltage using variable-frequency supply voltage, e.g. inverter or converter supply voltage using dc to ac converters or inverters
    • H02P27/08Arrangements or methods for the control of AC motors characterised by the kind of supply voltage using variable-frequency supply voltage, e.g. inverter or converter supply voltage using dc to ac converters or inverters with pulse width modulation
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P29/00Arrangements for regulating or controlling electric motors, appropriate for both AC and DC motors
    • H02P29/02Providing protection against overload without automatic interruption of supply
    • H02P29/024Detecting a fault condition, e.g. short circuit, locked rotor, open circuit or loss of load
    • H02P29/0241Detecting a fault condition, e.g. short circuit, locked rotor, open circuit or loss of load the fault being an overvoltage
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/04Generating or distributing clock signals or signals derived directly therefrom
    • G06F1/06Clock generators producing several clock signals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Transportation (AREA)
  • Power Engineering (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Control Of Electric Motors In General (AREA)
  • Power Steering Mechanism (AREA)

Description

本発明は、複数のマイコンによりモータの駆動を制御するモータ制御装置に関する。 The present invention relates to a motor control device that controls driving of a motor using a plurality of microcomputers.

従来、冗長的に設けられた複数のマイコンでモータの駆動を制御するモータ制御装置において、各マイコンが、それぞれ独立したクロック生成回路で生成されたクロックにより動作する装置が知られている。一つのクロック生成回路で全てのマイコンを動作させる場合には、クロック生成回路の故障時にモータ駆動が停止するのに対し、各マイコンに対応して独立したクロック生成回路を設けることにより、信頼性が向上する。 2. Description of the Related Art Conventionally, in a motor control device that controls motor driving by a plurality of redundantly provided microcomputers, there is known a device in which each microcomputer operates with a clock generated by an independent clock generation circuit. When operating all microcomputers with a single clock generation circuit, the motor stops when the clock generation circuit fails. improves.

ただし、現実には、クロック生成回路の製造ばらつき等により、各マイコンの演算制御タイミングにずれが生じるという問題がある。 However, in reality, there is a problem that the calculation control timing of each microcomputer is deviated due to the manufacturing variation of the clock generation circuit.

そこで、例えば特許文献1に開示された電動機制御装置は、複数のマイコン間で同期信号を送受信し、同期信号を受信したマイコンが、同期信号に基づいて演算制御タイミングを補正する。こうして複数のマイコンの演算制御タイミングを互いに同期させることで、モータのトルク脈動の抑制を図っている。 Therefore, for example, in the electric motor control device disclosed in Patent Document 1, a synchronization signal is transmitted and received between a plurality of microcomputers, and the microcomputer that receives the synchronization signal corrects the arithmetic control timing based on the synchronization signal. By synchronizing the calculation control timings of a plurality of microcomputers in this manner, torque pulsation of the motor is suppressed.

特許第5412095号公報Japanese Patent No. 5412095

しかし、従来技術では、複数のマイコンの起動時における初回の同期について想定していない。例えば、各マイコンに供給される電源電圧差や配線抵抗、電圧検出特性等の差により、各マイコンの電源ONによる起動タイミングがずれる場合がある。すると、先に起動したマイコンがタイマスタートしてから、遅れて起動するマイコンがタイマスタートするまでの期間、先に起動したマイコンのみが非同期で動作することとなる。したがって、複数のマイコンを初回から同期させることができないという問題があった。 However, the conventional technology does not assume the initial synchronization when a plurality of microcomputers are activated. For example, due to the difference in power supply voltage supplied to each microcomputer, the wiring resistance, the difference in voltage detection characteristics, etc., there is a case where the activation timing of turning on the power of each microcomputer deviates. As a result, only the microcomputer that starts earlier operates asynchronously during the period from when the microcomputer that started earlier starts the timer until the microcomputer that starts later starts the timer. Therefore, there is a problem that a plurality of microcomputers cannot be synchronized from the first time.

なお、本明細書では、複数のマイコンのうち一部のマイコンのみでモータ駆動する制御を含めて、「非同期制御」という。 In this specification, the term "asynchronous control" includes control in which only some microcomputers among a plurality of microcomputers drive the motor.

本発明は上述の課題に鑑みて成されたものであり、その目的は、複数のマイコンの起動後、初回から同期可能とするモータ制御装置を提供することにある。 SUMMARY OF THE INVENTION The present invention has been made in view of the above-mentioned problems, and its object is to provide a motor control device that enables synchronization from the first time after activation of a plurality of microcomputers.

本発明のモータ制御装置は、複数のモータ駆動回路(701、702)と、複数のマイコン(401、402)と、複数のクロック生成回路(651、652)と、を備える。 A motor control device of the present invention comprises a plurality of motor drive circuits (701, 702), a plurality of microcomputers (401, 402), and a plurality of clock generation circuits (651, 652).

複数のモータ駆動回路は、例えば複数の巻線組を有する一つ以上のモータ(80)を駆動する。 A plurality of motor drive circuits drive one or more motors (80) having, for example, a plurality of winding sets.

複数のマイコンは、駆動信号生成部(451、452)、及び、駆動タイミング生成部(441、442)を有する。駆動信号生成部は、複数のモータ駆動回路にそれぞれ指令するモータ駆動信号(Dr1、Dr2)を生成する。駆動タイミング生成部は、モータ駆動信号のパルスタイミングである駆動タイミングを生成する。 The plurality of microcomputers have drive signal generators (451, 452) and drive timing generators (441, 442). The drive signal generator generates motor drive signals (Dr1, Dr2) that command the plurality of motor drive circuits. The drive timing generator generates drive timing, which is the pulse timing of the motor drive signal.

複数のクロック生成回路は、複数のマイコンが動作の基準とするクロックをそれぞれ独立して生成する。 A plurality of clock generation circuits independently generate a clock that is used as a reference for operation of a plurality of microcomputers.

クロック生成回路、マイコン及びモータ駆動回路は、互いに対応して設けられており、それら一群の構成要素の単位を「系統」と定義する。各系統の構成要素が対応する巻線組への通電を制御することにより、モータ制御装置はモータを駆動する。 A clock generation circuit, a microcomputer, and a motor drive circuit are provided in correspondence with each other, and a group of these components is defined as a "system". The motor control device drives the motor by controlling the energization of the winding sets corresponding to the constituent elements of each system.

複数のマイコンのうち、「自マイコンの駆動タイミングに同期し、且つ、複数のマイコンの駆動タイミングを同期させる同期信号を送信する少なくとも一つのマイコン」を同期信号送信側マイコン(401)とし、「同期信号送信側マイコンから送信された同期信号を受信する少なくとも一つのマイコン」を同期信号受信側マイコン(402)とする。また、各マイコンにとって、そのマイコン自身のことを「自マイコン」という。 Among the plurality of microcomputers, ``at least one microcomputer that synchronizes with the drive timing of its own microcomputer and that transmits a synchronization signal for synchronizing the drive timings of a plurality of microcomputers'' is defined as a synchronization signal transmission side microcomputer (401). At least one microcomputer that receives the synchronizing signal transmitted from the signal transmitting microcomputer is defined as a synchronizing signal receiving microcomputer (402). Further, for each microcomputer, the microcomputer itself is called "own microcomputer".

本発明のモータ制御装置は、上記の基本構成を前提として、さらに以下の三つの駆動モードを有する。
(1)同期信号送信側マイコン、及び同期信号を受信した同期信号受信側マイコンが同期してモータを駆動する同期駆動モード
(2)同期信号を用いず、同期信号送信側マイコン及び同期信号受信側マイコンが非同期でモータを駆動する非同期駆動モード
(3)同期信号送信側マイコン又は同期信号受信側マイコンの一方のみでモータを駆動する一部系統駆動モード
The motor control device of the present invention has the following three drive modes on the premise of the basic configuration described above.
(1) Synchronous drive mode in which the microcomputer on the synchronous signal sending side and the synchronous signal receiving side microcomputer that has received the synchronous signal drive the motor in synchronization (2) The synchronous signal sending side microcomputer and the synchronous signal receiving side do not use the synchronous signal. Asynchronous drive mode in which the microcomputer drives the motor asynchronously (3) Partial system drive mode in which the motor is driven by either the synchronous signal sending microcomputer or the synchronous signal receiving microcomputer.

このモータ制御装置は、同期信号送信側マイコン及び同期信号受信側マイコンの起動時において、一部系統駆動モード、非同期駆動モード、同期駆動モードの順に移行する場合がある。 This motor control device may shift to the partial system drive mode, the asynchronous drive mode, and the synchronous drive mode in this order when the synchronization signal transmission side microcomputer and the synchronization signal reception side microcomputer are started.

各実施形態のECUが機電一体式のモータ駆動システムとして適用される電動パワーステアリング装置の構成図。1 is a configuration diagram of an electric power steering apparatus to which an ECU of each embodiment is applied as an electromechanical integrated motor drive system; FIG. 各実施形態のECUが機電別体式のモータ駆動システムとして適用される電動パワーステアリング装置の構成図。1 is a configuration diagram of an electric power steering apparatus in which an ECU of each embodiment is applied as a separate electromechanical motor drive system; FIG. 二系統機電一体式モータの軸方向断面図。Axial cross-sectional view of a two-system electromechanical integrated motor. 図3のIV-IV線断面図。FIG. 4 is a sectional view taken along line IV-IV of FIG. 3; 多相同軸モータの構成を示す模式図。Schematic diagram showing the configuration of a multiphase coaxial motor. 各実施形態によるECU(モータ制御装置)の全体構成図。FIG. 1 is an overall block diagram of an ECU (motor control device) according to each embodiment; 第1実施形態の基礎形態によるECU(モータ制御装置)の詳細構成図。FIG. 2 is a detailed configuration diagram of an ECU (motor control device) according to the basic form of the first embodiment; モータ駆動信号とアナログ信号サンプリングタイミングとの関係を示す図。FIG. 4 is a diagram showing the relationship between a motor drive signal and analog signal sampling timing; 第1実施形態によるECU(モータ制御装置)の構成図。FIG. 2 is a configuration diagram of an ECU (motor control device) according to the first embodiment; ハンドシェイク動作例1のタイムチャート。4 is a time chart of handshake operation example 1; ハンドシェイク動作例1の変形例のタイムチャート。4 is a time chart of a modification of handshake operation example 1; ハンドシェイク動作例2のタイムチャート。4 is a time chart of handshake operation example 2; ハンドシェイク動作例2の変形例Aのタイムチャート。10 is a time chart of modification A of handshake operation example 2; ハンドシェイク動作例2の変形例Bのタイムチャート。10 is a time chart of modification B of handshake operation example 2; ハンドシェイク動作例3のタイムチャート。11 is a time chart of handshake operation example 3; 動作例1~3の第1マイコン起動後処理のフローチャート。10 is a flowchart of post-startup processing of the first microcomputer in operation examples 1 to 3; 動作例1~3の第2マイコン起動後処理のフローチャート。10 is a flowchart of post-startup processing of the second microcomputer in operation examples 1 to 3; 動作例2の変形例Bの第2マイコン起動後処理のフローチャート。10 is a flowchart of post-startup processing of the second microcomputer in Modification B of Operation Example 2; ハンドシェイク成否記憶処理のフローチャート。4 is a flowchart of handshake success/failure storage processing. 非同期制御中の第2マイコン同期処理のフローチャート。4 is a flowchart of second microcomputer synchronous processing during asynchronous control; ハンドシェイク動作例4のタイムチャート。10 is a time chart of handshake operation example 4; 動作例4の第2マイコン起動後処理のフローチャート。FIG. 11 is a flowchart of post-startup processing of the second microcomputer in operation example 4; FIG. 再起動時のハンドシェイク動作例5Aのタイムチャート。The time chart of handshake operation example 5A at the time of restart. 再起動時のハンドシェイク動作例5Bのタイムチャート。The time chart of handshake operation example 5B at the time of restart. 再起動時のハンドシェイク動作例6のタイムチャート。10 is a time chart of handshake operation example 6 at the time of restart; 第2実施形態によるECU(モータ制御装置)の構成図。The block diagram of ECU (motor control unit) by 2nd Embodiment. 3マイコンでのハンドシェイク動作例のタイムチャート。Time chart of handshake operation example in 3 microcomputers. 第3実施形態によるECU(モータ制御装置)の基礎形態対応部分の構成図。The block diagram of the part corresponding to the basic form of ECU (motor control unit) by 3rd Embodiment. 第3実施形態による双方向の同期信号送受信タイミングを示す図。FIG. 11 is a diagram showing bidirectional synchronization signal transmission/reception timings according to the third embodiment; ハンドシェイク動作例7のタイムチャート。11 is a time chart of handshake operation example 7; 動作例7の第1マイコン起動後処理のフローチャート。FIG. 12 is a flowchart of a process after starting the first microcomputer in operation example 7; FIG. 動作例7の第2マイコン起動後処理のフローチャート。FIG. 12 is a flowchart of a process after activation of the second microcomputer in operation example 7; FIG.

以下、モータ制御装置の複数の実施形態を図面に基づいて説明する。各実施形態において、「モータ制御装置」としてのECUは、車両の電動パワーステアリング装置に適用され、操舵アシストトルクを出力するモータの通電を制御する。また、ECU及びモータにより「モータ駆動システム」が構成される。
複数の実施形態で実質的に同一の構成には同一の符号を付して説明を省略する。また、以下の第1~第3実施形態を包括して「本実施形態」という。
A plurality of embodiments of the motor control device will be described below with reference to the drawings. In each embodiment, an ECU as a "motor control device" is applied to an electric power steering device of a vehicle and controls energization of a motor that outputs steering assist torque. A "motor drive system" is configured by the ECU and the motor.
The same reference numerals are assigned to substantially the same configurations in a plurality of embodiments, and descriptions thereof are omitted. Also, the following first to third embodiments will be collectively referred to as "this embodiment".

最初に、各実施形態に共通する事項として、適用される電動パワーステアリング装置の構成、モータ駆動システムの構成等について、図1~図6を参照して説明する。
図1、図2に、電動パワーステアリング装置90を含むステアリングシステム99の全体構成を示す。図1には、ECU10がモータ80の軸方向の一方側に一体に構成されている「機電一体式」の構成が図示され、図2には、ECU10とモータ80とがハーネスで接続された「機電別体式」の構成が図示される。なお、図1、図2における電動パワーステアリング装置90はコラムアシスト式であるが、ラックアシスト式の電動パワーステアリング装置にも同様に適用可能である。
First, as matters common to each embodiment, the configuration of an electric power steering device, the configuration of a motor drive system, and the like, which are applied, will be described with reference to FIGS. 1 to 6. FIG.
1 and 2 show the overall configuration of a steering system 99 including an electric power steering device 90. FIG. FIG. 1 shows a "mechanical and electrical integrated type" configuration in which the ECU 10 is integrally configured on one side of the motor 80 in the axial direction, and FIG. The configuration of the "mechanical and electrical separate type" is illustrated. Although the electric power steering device 90 shown in FIGS. 1 and 2 is of a column assist type, it can also be applied to a rack assist type electric power steering device.

ステアリングシステム99は、ハンドル91、ステアリングシャフト92、ピニオンギア96、ラック軸97、車輪98、及び、電動パワーステアリング装置90等を含む。
ハンドル91にはステアリングシャフト92が接続されている。ステアリングシャフト92の先端に設けられたピニオンギア96は、ラック軸97に噛み合っている。ラック軸97の両端には、タイロッド等を介して一対の車輪98が設けられる。運転者がハンドル91を回転させると、ハンドル91に接続されたステアリングシャフト92が回転する。ステアリングシャフト92の回転運動は、ピニオンギア96によりラック軸97の直線運動に変換され、ラック軸97の変位量に応じた角度に一対の車輪98が操舵される。
The steering system 99 includes a steering wheel 91, a steering shaft 92, a pinion gear 96, a rack shaft 97, wheels 98, an electric power steering device 90, and the like.
A steering shaft 92 is connected to the handle 91 . A pinion gear 96 provided at the tip of the steering shaft 92 meshes with a rack shaft 97 . A pair of wheels 98 are provided at both ends of the rack shaft 97 via tie rods or the like. When the driver rotates the steering wheel 91, the steering shaft 92 connected to the steering wheel 91 rotates. Rotational motion of the steering shaft 92 is converted into linear motion of the rack shaft 97 by the pinion gear 96 , and the pair of wheels 98 are steered at an angle corresponding to the amount of displacement of the rack shaft 97 .

電動パワーステアリング装置90は、操舵トルクセンサ93、ECU10、モータ80、及び、減速ギア94等を含む。
操舵トルクセンサ93は、ステアリングシャフト92の途中に設けられ、運転者の操舵トルクを検出する。図1、図2に示す形態では、二重化された操舵トルクセンサ93は、第1トルクセンサ931及び第2トルクセンサ932を含み、第1操舵トルクtrq1及び第2操舵トルクtrq2を二重に検出する。
操舵トルクセンサが冗長的に設けられない場合、一つの操舵トルクtrqの検出値が二系統共通に用いられてもよい。以下、冗長的に検出された操舵トルクtrq1、trq2を用いることに特段の意味が無い箇所では、一つの操舵トルクtrqとして記載する。
The electric power steering device 90 includes a steering torque sensor 93, an ECU 10, a motor 80, a reduction gear 94, and the like.
A steering torque sensor 93 is provided in the middle of the steering shaft 92 and detects the steering torque of the driver. In the form shown in FIGS. 1 and 2, the redundant steering torque sensor 93 includes a first torque sensor 931 and a second torque sensor 932, and double detects the first steering torque trq1 and the second steering torque trq2. .
If the steering torque sensor is not redundantly provided, one detection value of the steering torque trq may be used in common for the two systems. Hereinafter, where there is no particular meaning in using the redundantly detected steering torques trq1 and trq2, they will be described as one steering torque trq.

ECU10は、操舵トルクtrq1、trq2に基づいて、モータ80が所望のアシストトルクを発生するようにモータ80の駆動を制御する。モータ80が出力したアシストトルクは、減速ギア94を介してステアリングシャフト92に伝達される。
ECU10は、回転角センサが検出したモータ80の電気角θ1、θ2及び操舵トルクセンサ93が検出した操舵トルクtrq1、trq2を取得する。ECU10は、これらの情報やECU10内部で検出したモータ電流等の情報に基づき、モータ80の駆動を制御する。
The ECU 10 controls driving of the motor 80 based on the steering torques trq1 and trq2 so that the motor 80 generates desired assist torque. The assist torque output by the motor 80 is transmitted to the steering shaft 92 via the reduction gear 94 .
The ECU 10 acquires the electrical angles θ1 and θ2 of the motor 80 detected by the rotation angle sensor and the steering torques trq1 and trq2 detected by the steering torque sensor 93 . The ECU 10 controls driving of the motor 80 based on these information and information such as the motor current detected inside the ECU 10 .

モータ80の軸方向の一方側にECU10が一体に構成された機電一体式モータ800の構成について、図3、図4を参照して説明する。図3に示す形態では、ECU10は、モータ80の出力側とは反対側において、シャフト87の軸Axに対して同軸に配置されている。なお、他の実施形態では、ECU10は、モータ80の出力側において、モータ80と一体に構成されてもよい。
モータ80は、三相ブラシレスモータであって、ステータ840、ロータ860、及びそれらを収容するハウジング830を備えている。
The configuration of an electromechanical integrated motor 800 in which the ECU 10 is integrally configured on one side of the motor 80 in the axial direction will be described with reference to FIGS. 3 and 4. FIG. In the form shown in FIG. 3 , the ECU 10 is arranged coaxially with the axis Ax of the shaft 87 on the side opposite to the output side of the motor 80 . Note that, in another embodiment, the ECU 10 may be configured integrally with the motor 80 on the output side of the motor 80 .
The motor 80 is a three-phase brushless motor and includes a stator 840, a rotor 860, and a housing 830 that accommodates them.

ステータ840は、ハウジング830に固定されているステータコア845と、ステータコア845に組み付けられている二組の三相巻線組801、802とを有している。
第1巻線組801を構成する各相巻線からは、リード線851、853、855が延び出している。第2巻線組802を構成する各相巻線からは、リード線852、854、856が延び出している。
ロータ860は、リア軸受835及びフロント軸受836により支持されているシャフト87と、シャフト87が嵌入されたロータコア865とを有している。ロータ860は、ステータ840の内側に設けられており、ステータ840に対して相対回転可能である。シャフト87の一端には永久磁石88が設けられている。
Stator 840 has a stator core 845 fixed to housing 830 and two sets of three-phase winding sets 801 and 802 assembled to stator core 845 .
Lead wires 851 , 853 , and 855 extend from each phase winding that constitutes the first winding set 801 . Lead wires 852 , 854 , 856 extend from each phase winding that constitutes the second winding set 802 .
The rotor 860 has a shaft 87 supported by a rear bearing 835 and a front bearing 836, and a rotor core 865 in which the shaft 87 is fitted. Rotor 860 is provided inside stator 840 and is rotatable relative to stator 840 . A permanent magnet 88 is provided at one end of the shaft 87 .

ハウジング830は、リアフレームエンド837を含む有底筒状のケース834と、ケース834の一端に設けられているフロントフレームエンド838とを有している。ケース834及びフロントフレームエンド838は、ボルト等により互いに締結されている。各巻線組801、802のリード線851、852等は、リアフレームエンド837のリード線挿通孔839を挿通してECU10側に延び、基板230に接続されている。 The housing 830 has a bottomed tubular case 834 including a rear frame end 837 and a front frame end 838 provided at one end of the case 834 . The case 834 and the front frame end 838 are fastened together with bolts or the like. The lead wires 851 and 852 of the respective winding sets 801 and 802 are inserted through the lead wire insertion holes 839 of the rear frame end 837 to extend toward the ECU 10 side and connected to the board 230 .

ECU10は、カバー21と、カバー21に固定されているヒートシンク22と、ヒートシンク22に固定されている基板230と、基板230に実装されている各種の電子部品とを備えている。カバー21は、外部の衝撃から電子部品を保護したり、ECU10内への埃や水等の浸入を防止したりする。
カバー21は、外部からの給電ケーブルや信号ケーブルが外部接続用コネクタ部214と、カバー部213とを有している。外部接続用コネクタ部214の給電用端子215、216は、図示しない経路を経由して基板230に接続されている。
The ECU 10 includes a cover 21, a heat sink 22 fixed to the cover 21, a substrate 230 fixed to the heat sink 22, and various electronic components mounted on the substrate 230. The cover 21 protects the electronic components from external shocks and prevents dust, water, and the like from entering the ECU 10 .
The cover 21 has a connector portion 214 for external connection of a power supply cable or a signal cable from the outside, and a cover portion 213 . The power supply terminals 215 and 216 of the external connection connector section 214 are connected to the board 230 via paths (not shown).

基板230は、例えばプリント基板であり、リアフレームエンド837と対向する位置に設けられ、ヒートシンク22に固定されている。基板230には、二系統分の各電子部品が系統毎に独立して設けられており、完全冗長構成をなしている。本実施形態では基板230は一枚であるが、他の実施形態では、二枚以上の基板を備えるようにしてもよい。
基板230の二つの主面のうち、リアフレームエンド837に対向している面をモータ面237とし、その反対側の面、すなわちヒートシンク22に対向している面をカバー面238とする。
The board 230 is, for example, a printed board, is provided at a position facing the rear frame end 837 and is fixed to the heat sink 22 . On the substrate 230, electronic components for two systems are provided independently for each system to form a complete redundant configuration. Although one substrate 230 is provided in this embodiment, two or more substrates may be provided in other embodiments.
Of the two main surfaces of the substrate 230 , the surface facing the rear frame end 837 is the motor surface 237 , and the opposite surface, that is, the surface facing the heat sink 22 is the cover surface 238 .

モータ面237には、複数のスイッチング素子241、242、回転角センサ251、252、カスタムIC261、262等が実装されている。
本実施形態では複数のスイッチング素子241、242は各系統について6個であり、モータ駆動回路の三相上下アームを構成する。回転角センサ251、252は、シャフト87の先端に設けられた永久磁石88と対向するように配置される。カスタムIC261、262及びマイコン401、402は、ECU10の制御回路を有する。カスタムIC261、262には、例えば図7に示すクロック監視部661、662等が設けられる。
A plurality of switching elements 241 , 242 , rotation angle sensors 251 , 252 , custom ICs 261 , 262 , etc. are mounted on the motor surface 237 .
In this embodiment, six switching elements 241 and 242 are provided for each system, and constitute three-phase upper and lower arms of the motor drive circuit. The rotation angle sensors 251 and 252 are arranged so as to face a permanent magnet 88 provided at the tip of the shaft 87 . Custom ICs 261 and 262 and microcomputers 401 and 402 have control circuits for the ECU 10 . The custom ICs 261 and 262 are provided with clock monitoring units 661 and 662 shown in FIG. 7, for example.

カバー面238には、マイコン401、402、コンデンサ281、282、及び、インダクタ271、272等が実装されている。特に、第1マイコン401及び第2マイコン402は、同一の基板230の同一側の面であるカバー面238に、所定間隔を空けて配置されている。
コンデンサ281、282は、電源から入力された電力を平滑化し、また、スイッチング素子241、242のスイッチング動作等に起因するノイズの流出を防止する。インダクタ271、272は、コンデンサ281、282と共にフィルタ回路を構成する。
Microcomputers 401 and 402 , capacitors 281 and 282 , inductors 271 and 272 and the like are mounted on the cover surface 238 . In particular, the first microcomputer 401 and the second microcomputer 402 are arranged on the cover surface 238 on the same side of the substrate 230 with a predetermined gap therebetween.
The capacitors 281 and 282 smooth the power input from the power supply and prevent outflow of noise caused by switching operations of the switching elements 241 and 242 and the like. Inductors 271 and 272 form a filter circuit together with capacitors 281 and 282 .

図5、図6に示すように、ECU10の制御対象であるモータ80は、二組の三相巻線組801、802が同軸に設けられた三相ブラシレスモータである。
巻線組801、802は、電気的特性が同等であり、例えば特許第5672278号公報の図3に参照されるように、共通のステータに互いに電気角30degずらして配置されている。これに応じて、巻線組801、802には、例えば、振幅が等しく位相が30degずれた相電流が通電されるように制御される。
As shown in FIGS. 5 and 6, a motor 80 to be controlled by the ECU 10 is a three-phase brushless motor in which two sets of three-phase winding sets 801 and 802 are coaxially provided.
The winding sets 801 and 802 have the same electrical characteristics, and are arranged on a common stator with an electrical angle of 30 degrees shifted from each other, as shown in FIG. 3 of Japanese Patent No. 5672278, for example. In response to this, the winding sets 801 and 802 are controlled so that, for example, phase currents having the same amplitude and 30 degrees out of phase are applied.

図6において、第1巻線組801と、第1巻線組801の通電制御に係る第1マイコン401及びモータ駆動回路701等との組み合わせを第1系統GR1とする。第2巻線組802と、第2巻線組802の通電制御に係る第2マイコン402及び第2モータ駆動回路702等との組み合わせを第2系統GR2とする。第1系統GR1と第2系統GR2とは、全て独立した2組の要素群から構成されており、いわゆる「完全二系統」の冗長構成をなしている。 In FIG. 6, the combination of the first winding set 801, the first microcomputer 401, the motor drive circuit 701, and the like, which are involved in controlling the energization of the first winding set 801, is defined as a first system GR1. A combination of the second winding set 802 and the second microcomputer 402, the second motor drive circuit 702, and the like, which control the energization of the second winding set 802, is referred to as a second system GR2. The first system GR1 and the second system GR2 are composed of two sets of independent element groups, forming a so-called "complete two-system" redundant configuration.

明細書中、必要に応じて、第1系統GR1の構成要素又は信号には語頭に「第1」を付し、第2系統GR2の構成要素又は信号には語頭に「第2」を付して区別する。各系統に共通の事項については、「第1、第2」を付さず、まとめて記載する。また、第1系統の構成要素又は信号の符号の末尾に「1」を付し、第2系統の構成要素又は信号の符号の末尾に「2」を付して記す。
以下、ある構成要素にとって、その構成要素が含まれる系統を「自系統」といい、他方の系統を「他系統」という。同様に、二系統のマイコン401、402について、自系統のマイコンを「自マイコン」といい、他系統のマイコンを「他マイコン」という。
In the specification, if necessary, "first" is added to the beginning of the component or signal of the first system GR1, and "second" is added to the beginning of the component or signal of the second system GR2. distinguish between Matters common to each system are described collectively without being attached with "first" and "second". In addition, "1" is added to the end of the code of the component or signal of the first system, and "2" is added to the end of the code of the component or signal of the second system.
Hereinafter, for a given component, the system containing that component will be referred to as the "own system", and the other system will be referred to as the "other system". Similarly, with respect to the two-system microcomputers 401 and 402, the self-system microcomputer is called the "own microcomputer", and the other system microcomputer is called the "other microcomputer".

ECU10の第1コネクタ部351には、第1電源コネクタ131、第1車両通信コネクタ311、及び、第1トルクコネクタ331が含まれる。第2コネクタ部352には、第2電源コネクタ132、第2車両通信コネクタ312、及び、第2トルクコネクタ332が含まれる。コネクタ部351、352は、それぞれ単一のコネクタとして形成されていてもよいし、複数のコネクタに分割されていてもよい。 The first connector portion 351 of the ECU 10 includes a first power connector 131 , a first vehicle communication connector 311 and a first torque connector 331 . Second connector portion 352 includes second power connector 132 , second vehicle communication connector 312 , and second torque connector 332 . The connector portions 351 and 352 may each be formed as a single connector, or may be divided into a plurality of connectors.

第1電源コネクタ131は、第1電源111に接続される。第1電源111の電力は、電源コネクタ131、電源リレー141、第1モータ駆動回路701、及び、モータリレー731を経由して、第1巻線組801に供給される。また、第1電源111の電力は、第1マイコン401及び第1系統GR1のセンサ類にも供給される。
第2電源コネクタ132は、第2電源112に接続される。第2電源112の電力は、電源コネクタ132、電源リレー142、第2モータ駆動回路702、及び、モータリレー732を経由して、第2巻線組802に供給される。また、第2電源112の電力は、第2マイコン402及び第2系統GR2のセンサ類にも供給される。
電源が冗長的に設けられない場合、二系統の電源コネクタ131、132は共通の電源に接続されてもよい。
The first power connector 131 is connected to the first power supply 111 . Power from the first power supply 111 is supplied to the first winding set 801 via the power connector 131 , the power relay 141 , the first motor drive circuit 701 and the motor relay 731 . The power of the first power supply 111 is also supplied to the first microcomputer 401 and the sensors of the first system GR1.
A second power connector 132 is connected to the second power supply 112 . Power from the second power supply 112 is supplied to the second winding set 802 via the power connector 132 , the power relay 142 , the second motor drive circuit 702 , and the motor relay 732 . The power of the second power supply 112 is also supplied to the second microcomputer 402 and the sensors of the second system GR2.
If power supplies are not redundantly provided, the dual power connectors 131 and 132 may be connected to a common power supply.

車両通信ネットワークとしてCANが冗長的に設けられる場合、第1車両通信コネクタ311は、第1CAN301と第1車両通信回路321との間に接続され、第2車両通信コネクタ312は、第2CAN302と第2車両通信回路322との間に接続される。
CANが冗長的に設けられない場合、二系統の車両通信コネクタ311、312は、共通のCAN30に接続されてもよい。また、CAN以外の車両通信ネットワークとして、CAN-FD(CAN with Flexible Data rate)やFlexRay等、どのような規格のネットワークが用いられてもよい。
車両通信回路321、322は、自系統及び他系統の各マイコン401、402との間で双方向に情報を通信する。
When CAN is provided redundantly as the vehicle communication network, the first vehicle communication connector 311 is connected between the first CAN 301 and the first vehicle communication circuit 321, and the second vehicle communication connector 312 is connected between the second CAN 302 and the second vehicle communication circuit 321. It is connected between vehicle communication circuit 322 .
If the CAN is not redundantly provided, the two-system vehicle communication connectors 311 and 312 may be connected to the common CAN 30 . As a vehicle communication network other than CAN, any standard network such as CAN-FD (CAN with Flexible Data rate) or FlexRay may be used.
Vehicle communication circuits 321 and 322 bi-directionally communicate information with respective microcomputers 401 and 402 of their own system and other systems.

第1トルクコネクタ331は、第1トルクセンサ931と第1トルクセンサ入力回路341との間に接続される。第1トルクセンサ入力回路341は、第1トルクコネクタ331が検出した操舵トルクtrq1を第1マイコン401に通知する。
第2トルクコネクタ332は、第2トルクセンサ932と第2トルクセンサ入力回路342との間に接続される。第2トルクセンサ入力回路342は、第2トルクコネクタ332が検出した操舵トルクtrq2を第2マイコン402に通知する。
First torque connector 331 is connected between first torque sensor 931 and first torque sensor input circuit 341 . The first torque sensor input circuit 341 notifies the first microcomputer 401 of the steering torque trq1 detected by the first torque connector 331 .
A second torque connector 332 is connected between the second torque sensor 932 and the second torque sensor input circuit 342 . The second torque sensor input circuit 342 notifies the second microcomputer 402 of the steering torque trq2 detected by the second torque connector 332 .

マイコン401、402における各処理は、ROM等の実体的なメモリ装置に予め記憶されたプログラムをCPUで実行することによるソフトウェア処理であってもよいし、専用の電子回路によるハードウェア処理であってもよい。
マイコン401、402は、クロック生成回路651、652が生成した基準クロックにより動作する。クロック監視部661、662は、クロック生成回路651、652により生成された基準クロックをそれぞれ監視する。基準クロックの生成、監視について、詳しくは後述する。
Each processing in the microcomputers 401 and 402 may be software processing by executing a program stored in advance in a physical memory device such as a ROM by the CPU, or hardware processing by a dedicated electronic circuit. good too.
Microcomputers 401 and 402 operate according to the reference clocks generated by clock generation circuits 651 and 652 . Clock monitoring units 661 and 662 monitor the reference clocks generated by clock generating circuits 651 and 652, respectively. The generation and monitoring of the reference clock will be detailed later.

第1マイコン401は、第1モータ駆動回路701のスイッチング素子241の動作を操作するモータ駆動信号Dr1を生成し、第1モータ駆動回路701に指令する。また、第1マイコン401は、第1電源リレー駆動信号Vpr1、及び、第1モータリレー駆動信号Vmr1を生成する。
第2マイコン402は、第2モータ駆動回路702のスイッチング素子242の動作を操作するモータ駆動信号Dr2を生成し、第2モータ駆動回路702に指令する。また、第2マイコン402は、第2電源リレー駆動信号Vpr2、及び、第2モータリレー駆動信号Vmr2を生成する。
マイコン401、402が生成した電源リレー駆動信号Vpr1、Vpr2は、自系統の電源リレー141、142に指令される他、他マイコンにも通知される。
The first microcomputer 401 generates a motor drive signal Dr1 for operating the switching element 241 of the first motor drive circuit 701 and commands the first motor drive circuit 701 . The first microcomputer 401 also generates a first power relay drive signal Vpr1 and a first motor relay drive signal Vmr1.
The second microcomputer 402 generates a motor drive signal Dr2 for operating the switching element 242 of the second motor drive circuit 702 and instructs the second motor drive circuit 702 to generate the motor drive signal Dr2. The second microcomputer 402 also generates a second power relay drive signal Vpr2 and a second motor relay drive signal Vmr2.
The power relay drive signals Vpr1 and Vpr2 generated by the microcomputers 401 and 402 are instructed to the power relays 141 and 142 of their own systems, and also notified to other microcomputers.

マイコン401、402は、マイコン間通信により、相互に情報を送受信可能である。マイコン401、402は、マイコン間通信にて、電流検出値や電流指令値等を相互に送受信し、第1系統GR1及び第2系統GR2を協働させてモータ80を駆動することが可能である。マイコン間通信の通信フレームには、電流検出値等が含まれる。その他、電流指令値、電流制限値、アップデートカウンタ、ステータス信号、及び、誤り検出値信号であるCRC信号、またはチェックサム信号等が含まれる場合もある。なお、本実施形態はマイコン間通信の通信内容に依らず適用可能であり、必要に応じてその他の情報を送受信してもよく、あるいは前記データの一部ないし全部が含まれていなくてもよい。 The microcomputers 401 and 402 can mutually transmit and receive information through inter-microcomputer communication. The microcomputers 401 and 402 can mutually transmit and receive a current detection value, a current command value, and the like through inter-microcomputer communication, and can drive the motor 80 by cooperating the first system GR1 and the second system GR2. . A communication frame for inter-microcomputer communication includes a current detection value and the like. In addition, a current command value, a current limit value, an update counter, a status signal, a CRC signal that is an error detection value signal, or a checksum signal may be included. Note that this embodiment can be applied regardless of the communication content of communication between microcomputers, and other information may be transmitted and received as necessary, or part or all of the above data may not be included. .

各マイコンが他マイコンからの電源リレー駆動信号Vpr1、Vpr2を受信しているにもかかわらず、マイコン間通信で他マイコンからの信号を受信しない場合には、他マイコンは正常であり、マイコン間通信の異常であると判断される。
一方、各マイコンが他マイコンからの電源リレー駆動信号Vpr1、Vpr2を受信せず、且つ、マイコン間通信で他マイコンからの信号を受信しない場合には、他マイコンが異常であると判断される。
If each microcomputer receives the power relay drive signals Vpr1 and Vpr2 from other microcomputers but does not receive signals from other microcomputers in inter-microcomputer communication, the other microcomputers are normal and inter-microcomputer communication is judged to be abnormal.
On the other hand, when each microcomputer does not receive the power relay drive signals Vpr1 and Vpr2 from the other microcomputer and does not receive the signal from the other microcomputer in inter-microcomputer communication, it is determined that the other microcomputer is abnormal.

第1モータ駆動回路701は、複数のスイッチング素子241を有する三相インバータであって、第1巻線組801へ供給される電力を変換する。第1モータ駆動回路701のスイッチング素子241は、第1マイコン401から出力されるモータ駆動信号Dr1に基づいてオンオフ作動が制御される。
第2モータ駆動回路702は、複数のスイッチング素子242を有する三相インバータであって、第2巻線組802へ供給される電力を変換する。第2モータ駆動回路702のスイッチング素子242は、第2マイコン402から出力されるモータ駆動信号Dr2に基づいてオンオフ作動が制御される。
The first motor drive circuit 701 is a three-phase inverter having a plurality of switching elements 241 and converts power supplied to the first winding set 801 . The switching element 241 of the first motor drive circuit 701 is controlled to turn on and off based on the motor drive signal Dr1 output from the first microcomputer 401 .
The second motor drive circuit 702 is a three-phase inverter having a plurality of switching elements 242 and converts power supplied to the second winding set 802 . The switching element 242 of the second motor drive circuit 702 is controlled to turn on and off based on the motor drive signal Dr2 output from the second microcomputer 402 .

第1電源リレー141は、第1電源コネクタ131と第1モータ駆動回路701との間に設けられ、第1マイコン401からの第1電源リレー駆動信号Vpr1により制御される。第1電源リレー141がオンのとき、第1電源111と第1モータ駆動回路701との間の通電が許容され、第1電源リレー141がオフのとき、第1電源111と第1モータ駆動回路701との間の通電が遮断される。
第2電源リレー142は、第2電源コネクタ132と第2モータ駆動回路702との間に設けられ、第2マイコン402からの第2電源リレー駆動信号Vpr2により制御される。第2電源リレー142がオンのとき、第2電源112と第2モータ駆動回路702との間の通電が許容され、第2電源リレー142がオフのとき、第2電源112と第2モータ駆動回路702との間の通電が遮断される。
The first power relay 141 is provided between the first power connector 131 and the first motor drive circuit 701 and controlled by the first power relay drive signal Vpr1 from the first microcomputer 401 . When the first power relay 141 is on, energization between the first power supply 111 and the first motor drive circuit 701 is permitted, and when the first power relay 141 is off, the first power supply 111 and the first motor drive circuit 701 is cut off.
The second power relay 142 is provided between the second power connector 132 and the second motor drive circuit 702 and is controlled by the second power relay drive signal Vpr2 from the second microcomputer 402 . When the second power relay 142 is on, energization between the second power supply 112 and the second motor drive circuit 702 is allowed, and when the second power relay 142 is off, the second power supply 112 and the second motor drive circuit 702 is cut off.

本実施形態の電源リレー141、142は、MOSFET等の半導体リレーである。電源リレー141、142がMOSFETのように寄生ダイオードを有する場合、電源リレー141、142に対し寄生ダイオードの向きが逆向きになるように直列接続される図示しない逆接保護リレーを設けることが望ましい。また、電源リレー141、142は、メカリレーであってもよい。 The power relays 141 and 142 of this embodiment are semiconductor relays such as MOSFETs. If the power relays 141 and 142 have parasitic diodes such as MOSFETs, it is desirable to provide reverse connection protection relays (not shown) connected in series with the power relays 141 and 142 so that the directions of the parasitic diodes are reversed. Also, the power relays 141 and 142 may be mechanical relays.

第1モータリレー731は、第1モータ駆動回路701と第1巻線組801との間の各相電力経路に設けられ、第1マイコン401からの第1モータリレー駆動信号Vmr1により制御される。第1モータリレー731がオンのとき、第1モータ駆動回路701と第1巻線組801との間の通電が許容され、第1モータリレー731がオフのとき、第1モータ駆動回路701と第1巻線組801との間の通電が遮断される。
第2モータリレー732は、第2モータ駆動回路702と第2巻線組802との間の各相電力経路に設けられ、第2マイコン402からの第2モータリレー駆動信号Vmr2により制御される。第2モータリレー732がオンのとき、第2モータ駆動回路702と第2巻線組802との間の通電が許容され、第2モータリレー732がオフのとき、第2モータ駆動回路702と第2巻線組802との間の通電が遮断される。
The first motor relay 731 is provided in each phase power path between the first motor drive circuit 701 and the first winding set 801 and is controlled by the first motor relay drive signal Vmr1 from the first microcomputer 401 . When the first motor relay 731 is on, energization between the first motor drive circuit 701 and the first winding set 801 is allowed, and when the first motor relay 731 is off, the first motor drive circuit 701 and the first The energization between the first winding set 801 is interrupted.
A second motor relay 732 is provided in each phase power path between the second motor drive circuit 702 and the second winding set 802 and is controlled by a second motor relay drive signal Vmr2 from the second microcomputer 402 . When the second motor relay 732 is on, conduction between the second motor drive circuit 702 and the second winding set 802 is allowed, and when the second motor relay 732 is off, the second motor drive circuit 702 and the second The energization between the two-winding set 802 is interrupted.

第1電流センサ741は、第1巻線組801の各相に通電される電流Im1を検出し、第1マイコン401に出力する。第2電流センサ742は、第2巻線組802の各相に通電される電流Im2を検出し、第2マイコン402に出力する。
回転角センサ251、252が冗長的に設けられる場合、第1回転角センサ251は、モータ80の電気角θ1を検出し、第1マイコン401に出力する。第2回転角センサ252は、モータ80の電気角θ2を検出し、第2マイコン402に出力する。
回転角センサが冗長的に設けられない場合、例えば第1回転角センサ251が検出した第1系統の電気角θ1に基づき、第2系統の電気角θ2を「θ2=θ1+30deg」の式により算出してもよい。
The first current sensor 741 detects the current Im1 flowing through each phase of the first winding set 801 and outputs it to the first microcomputer 401 . A second current sensor 742 detects a current Im<b>2 that flows through each phase of the second winding set 802 and outputs it to the second microcomputer 402 .
When the rotation angle sensors 251 and 252 are provided redundantly, the first rotation angle sensor 251 detects the electrical angle θ1 of the motor 80 and outputs it to the first microcomputer 401 . The second rotation angle sensor 252 detects the electrical angle θ2 of the motor 80 and outputs it to the second microcomputer 402 .
If the rotation angle sensor is not provided redundantly, for example, based on the electrical angle θ1 of the first system detected by the first rotation angle sensor 251, the electrical angle θ2 of the second system is calculated by the formula “θ2=θ1+30deg”. may

[ECUの構成]
以下、各実施形態のECUの構成及び作用効果について実施形態毎に説明する。図6に示す二系統冗長に関する各構成については、適宜記載を省略する。各実施形態のECUの符号は、「10」に続く3桁目に実施形態の番号を付す。
(第1実施形態の基礎形態)
第1実施形態の説明に先立って、まず、第1実施形態の基幹部分をなす基礎形態の構成及び作用効果について、図7、図8を参照して説明する。
図7には、図9に示す第1実施形態のECU101の構成のうち特に動作中の同期に関する構成を示す。図1に示す基礎形態のECUに符号を「100」とする。
図7に示すように、ECU100は、第1巻線組801の通電を制御する第1系統制御部601、及び、第2巻線組802の通電を制御する第2系統制御部602を含む。各系統の制御部601、602は、クロック生成回路651、652、クロック監視部661、662、マイコン401、402及びモータ駆動回路701、702を含む。言い換えれば、互いに対応するクロック生成回路、マイコン及びモータ駆動回路を含む一群の構成要素の単位を「系統」という。
[Configuration of ECU]
Hereinafter, the configuration and effects of the ECU of each embodiment will be described for each embodiment. The description of each configuration related to the two-system redundancy shown in FIG. 6 is omitted as appropriate. The code|symbol of ECU of each embodiment attaches the number of embodiment to the 3rd digit following "10."
(Basic form of the first embodiment)
Prior to the description of the first embodiment, first, the configuration and effects of the basic form forming the core part of the first embodiment will be described with reference to FIGS. 7 and 8. FIG.
FIG. 7 shows, of the configuration of the ECU 101 according to the first embodiment shown in FIG. 9, a configuration particularly related to synchronization during operation. The basic form of the ECU shown in FIG. 1 is denoted by "100".
As shown in FIG. 7 , the ECU 100 includes a first system control section 601 that controls energization of the first winding set 801 and a second system control section 602 that controls energization of the second winding set 802 . The control units 601 and 602 of each system include clock generation circuits 651 and 652, clock monitoring units 661 and 662, microcomputers 401 and 402, and motor drive circuits 701 and 702, respectively. In other words, a unit of a group of components including a clock generation circuit, a microcomputer, and a motor drive circuit that correspond to each other is called a "system".

第1クロック生成回路651及び第2クロック生成回路652は、第1マイコン401及び第2マイコン402が動作の基準とする基準クロックをそれぞれ独立して生成する。
第1クロック監視部661は、第1クロック生成回路651により生成され第1マイコン401に出力された基準クロックを監視する。第2クロック監視部662は、第2クロック生成回路652により生成され第2マイコン402に出力された基準クロックを監視する。また、クロック監視部661、662は、基準クロックの異常を検出すると、マイコン401、402にリセット(図中「RESET」)信号を出力する。
The first clock generation circuit 651 and the second clock generation circuit 652 independently generate reference clocks that the first microcomputer 401 and the second microcomputer 402 use as a reference for operation.
The first clock monitoring unit 661 monitors the reference clock generated by the first clock generation circuit 651 and output to the first microcomputer 401 . The second clock monitoring unit 662 monitors the reference clock generated by the second clock generation circuit 652 and output to the second microcomputer 402 . In addition, the clock monitoring units 661 and 662 output reset (“RESET” in the figure) signals to the microcomputers 401 and 402 when detecting an abnormality in the reference clock.

マイコン401、402は、CAN301、302を経由して入力される車両情報や、各センサから入力される操舵トルクtrq1、trq2、相電流Im1、Im2、電気角θ1、θ2等の情報が入力される。マイコン401、402は、これらの各種入力情報に基づく制御演算によりモータ駆動信号Dr1、Dr2を生成し、モータ駆動回路701、702に出力する。ここで、制御演算のタイミングは、クロック生成回路651、652が生成したクロックに基づいて決定される。 The microcomputers 401 and 402 receive information such as vehicle information input via the CANs 301 and 302, steering torques trq1 and trq2, phase currents Im1 and Im2, and electrical angles θ1 and θ2 input from sensors. . The microcomputers 401 and 402 generate motor drive signals Dr1 and Dr2 by performing control calculations based on these various types of input information, and output them to motor drive circuits 701 and 702, respectively. Here, the timing of control calculation is determined based on the clocks generated by the clock generation circuits 651 and 652 .

モータ駆動回路701、702は、マイコン401、402から指令されたモータ駆動信号Dr1、Dr2に基づいて、巻線組801、802に通電する。典型的には、モータ駆動回路701、702は、MOSFET等の複数のスイッチング素子がブリッジ接続された電力変換回路である。また、モータ駆動信号Dr1、Dr2は、各スイッチング素子をON/OFFさせるスイッチング信号である。例えば三相ブラシレスモータを駆動する本実施形態では、モータ駆動回路701、702は三相インバータである。 Motor drive circuits 701 and 702 energize winding sets 801 and 802 based on motor drive signals Dr1 and Dr2 commanded from microcomputers 401 and 402, respectively. Typically, the motor drive circuits 701 and 702 are power conversion circuits in which a plurality of switching elements such as MOSFETs are bridge-connected. Motor drive signals Dr1 and Dr2 are switching signals for turning on/off each switching element. For example, in this embodiment for driving a three-phase brushless motor, the motor drive circuits 701 and 702 are three-phase inverters.

各マイコン401、402は、制御プログラムやパラメータ等の固定値を格納するROM、演算処理結果を一時的に記憶保持するRAM等を独立に備えており、相手マイコンのROM、RAMを参照することができない。
このことを前提として、二つのマイコン401、402は、同期信号線471で接続されている。図7に示す例では、同期信号線471は一つであるが、後述する第3実施形態や、三つ以上のマイコンを備える他の実施形態では、複数の同期信号線が設けられる場合もある。つまり、第1実施形態の基礎形態に基づくECUは、総じて、少なくとも一つの同期信号線を備える。
Each of the microcomputers 401 and 402 is independently equipped with a ROM that stores fixed values such as control programs and parameters, and a RAM that temporarily stores and retains arithmetic processing results. Can not.
Based on this assumption, the two microcomputers 401 and 402 are connected by a synchronous signal line 471 . In the example shown in FIG. 7, there is one synchronizing signal line 471, but in a third embodiment described later or another embodiment having three or more microcomputers, a plurality of synchronizing signal lines may be provided. . That is, an ECU based on the basic form of the first embodiment generally has at least one synchronization signal line.

この同期信号線は、後述する同期信号送信のための専用線に限らず、例えばマイコン間通信に使用するクロック線や電流等の情報を通信するシリアル通信線のように、同期信号以外の通信用の信号線と共用されてもよい。
また、例えば特開2011-148498号公報の段落[0044]に開示されているように、同期信号線による通信に代えて、第1マイコン401から第2マイコン402に対してポート信号のレベル変化を行うことで、同期信号を通知することができる。
This synchronous signal line is not limited to a dedicated line for synchronous signal transmission, which will be described later. may be shared with other signal lines.
Further, for example, as disclosed in paragraph [0044] of Japanese Unexamined Patent Application Publication No. 2011-148498, instead of communication by the synchronous signal line, the first microcomputer 401 changes the level of the port signal to the second microcomputer 402. By doing so, the synchronization signal can be notified.

第1マイコン401及び第2マイコン402は、共通の構成として、駆動タイミング生成部441、442、駆動信号生成部451、452、及び、アナログ信号サンプリング部461、462を有する。
駆動タイミング生成部441、442は、例えば各相共通のPWMキャリアを用いて、モータ駆動信号Dr1、Dr2のパルスタイミングである駆動タイミングを生成し、駆動信号生成部451、452に指示する。駆動信号生成部451、452は、例えば電圧指令信号のDUTYとPWMキャリアとを比較することで、PWM信号であるモータ駆動信号Dr1、Dr2を生成し、モータ駆動回路701、702に指令する。
The first microcomputer 401 and the second microcomputer 402 have drive timing generation units 441 and 442, drive signal generation units 451 and 452, and analog signal sampling units 461 and 462 as common configurations.
The drive timing generators 441 and 442 generate drive timings, which are the pulse timings of the motor drive signals Dr1 and Dr2, using, for example, a PWM carrier common to each phase, and instruct the drive signal generators 451 and 452 to generate drive timings. The drive signal generators 451 and 452 generate motor drive signals Dr1 and Dr2, which are PWM signals, by comparing the DUTY of the voltage command signal and the PWM carrier, for example, and instruct the motor drive circuits 701 and 702 to generate motor drive signals Dr1 and Dr2.

アナログ信号サンプリング部461、462は、アナログ信号をサンプリングする。
アナログ信号としては、主に各系統のモータ電流Im1、Im2の検出値を想定する。三相モータでは、モータ電流Im1、Im2は、各巻線組801、802のU相、V相、W相の電流である。図7には、モータ駆動回路701、702に設けられたシャント抵抗等で検出されたモータ電流Im1、Im2が取得される場合を想定して矢印を記載している。その他、モータ80側に設けた電流センサからモータ電流Im1、Im2が取得される場合を想定すると、ECU100の外からアナログ信号サンプリング部461、462への矢印を記載してもよい。また、破線で示すように、アナログ信号サンプリング部461、462は、電気角θ1、θ2や操舵トルクtrq1、trq2のアナログ信号を取得してもよい。
Analog signal sampling units 461 and 462 sample analog signals.
Detected values of motor currents Im1 and Im2 of each system are mainly assumed as analog signals. In a three-phase motor, motor currents Im1 and Im2 are currents of U-phase, V-phase and W-phase of winding sets 801 and 802, respectively. In FIG. 7, arrows are shown assuming that the motor currents Im1 and Im2 detected by shunt resistors provided in the motor drive circuits 701 and 702 are acquired. In addition, assuming that the motor currents Im1 and Im2 are obtained from a current sensor provided on the motor 80 side, arrows from outside the ECU 100 to the analog signal sampling units 461 and 462 may be drawn. Further, as indicated by dashed lines, the analog signal sampling units 461 and 462 may acquire analog signals of the electrical angles θ1 and θ2 and the steering torques trq1 and trq2.

アナログ信号サンプリング部461、462は、駆動タイミング生成部441、442と同期し、モータ駆動信号Dr1、Dr2のスイッチングタイミングと異なるタイミングでアナログ信号をサンプリングする。
図8に、周期TpのPWMキャリアを各相に共通に用いてモータ駆動信号Drを生成する構成を示す。ここで、想定するDUTYは、例えば10%~90%の範囲の値、0%及び100%とする。本明細書では、DUTY0%をPWMキャリアの山側とし、DUTY100%をPWMキャリアの谷側として表す。PWMキャリアの周期Tpは、モータ駆動信号Drのパルス周期に相当する。
The analog signal sampling units 461 and 462 are synchronized with the drive timing generators 441 and 442 and sample analog signals at timings different from the switching timings of the motor drive signals Dr1 and Dr2.
FIG. 8 shows a configuration for generating the motor drive signal Dr by commonly using the PWM carrier of period Tp for each phase. Here, assumed DUTY is, for example, a value in the range of 10% to 90%, 0% and 100%. In this specification, 0% DUTY is expressed as the peak side of the PWM carrier, and 100% DUTY is expressed as the valley side of the PWM carrier. The period Tp of the PWM carrier corresponds to the pulse period of the motor drive signal Dr.

DUTY90%のとき、モータ駆動信号Drのパルスは、時刻u9に立ち上がり、時刻d9に立ち下がり、ON時間は0.9Tpと表される。
DUTY10%のとき、モータ駆動信号Drのパルスは、時刻u1に立ち上がり、時刻d1に立ち下がり、ON時間は0.1Tpと表される。
When the DUTY is 90%, the pulse of the motor drive signal Dr rises at time u9 and falls at time d9, and the ON time is expressed as 0.9Tp.
When the DUTY is 10%, the pulse of the motor drive signal Dr rises at time u1 and falls at time d1, and the ON time is expressed as 0.1Tp.

10%~90%のDUTY範囲において、モータ駆動信号Drのパルスは、時刻u9から時刻u1までの期間SWu中に立ち上がり、時刻d1から時刻d9までの期間SWd中に立ち下がる。また、DUTY0%及び100%の期間中にはパルスの立ち上がりや立ち下がりが発生しない。したがって、破線でハッチングした「非スイッチング期間NSW」には、全ての相のスイッチング素子について、モータ駆動信号Drのスイッチングが生じない。なお、PWM制御での非スイッチング期間NSWは、キャリアの谷及び山のタイミングを跨ぐ微小期間に相当する。 In the 10% to 90% DUTY range, the pulse of the motor drive signal Dr rises during the period SWu from time u9 to time u1 and falls during the period SWd from time d1 to time d9. In addition, the rise and fall of the pulse do not occur during the periods of DUTY 0% and 100%. Therefore, during the "non-switching period NSW" hatched with a dashed line, switching of the motor drive signal Dr does not occur for the switching elements of all phases. It should be noted that the non-switching period NSW in PWM control corresponds to a minute period that spans the timings of the trough and peak of the carrier.

なお、DUTY0%以外のDUTYから0%に切り替わる時、またはDUTY100%以外のDUTYから100%に切り替わる時には、パルスの立ち上がり又は立ち下がりが発生する。しかし、DUTYの切り替えタイミングをキャリアの谷タイミングに設定しておくことで、非スイッチング期間NSWのうち、山タイミングでのスイッチングを避けることが可能である。その逆に、DUTYの切り替えタイミングを山タイミングに固定しておけば、非スイッチング期間NSWのうち、谷タイミングでのスイッチングを避けることが可能である。さらに、PWMキャリアの谷、山タイミングの例えばN回に1回DUTYを切り替える設定とすれば、DUTYの切り替えを行わない(N-1)回の谷、山タイミングではスイッチングは発生しない。 When a duty other than 0% is switched to 0%, or when a duty other than 100% is switched to 100%, the pulse rises or falls. However, by setting the switching timing of DUTY to the valley timing of the carrier, it is possible to avoid switching at the peak timing in the non-switching period NSW. Conversely, if the switching timing of DUTY is fixed at the peak timing, it is possible to avoid switching at the valley timing in the non-switching period NSW. Further, if the DUTY is set to be switched once every N times, for example, at the trough and peak timings of the PWM carrier, switching does not occur at the trough and peak timings of (N-1) times when the DUTY is not switched.

そこで、アナログ信号サンプリング部461、462は、駆動タイミング生成部441、442と同期して、非スイッチング期間NSWのうち、0%又は100%DUTYへの切り替えが発生しないタイミングでサンプリングする。これにより、サンプリング信号がスイッチングノイズの影響を受けにくくなり、サンプリング精度が向上する。
より詳しくは、スイッチングにより発生するサージ電圧が減衰する時間の経過後にサンプリングを行うことが好ましい。
Therefore, the analog signal sampling units 461 and 462 are synchronized with the driving timing generating units 441 and 442 and perform sampling at timings during which switching to 0% or 100% DUTY does not occur during the non-switching period NSW. This makes the sampling signal less susceptible to switching noise and improves the sampling accuracy.
More specifically, sampling is preferably performed after a period of time for the surge voltage generated by switching to attenuate.

さらに、第1実施形態の基礎形態において、第1マイコン401は同期信号生成部411を有し、第2マイコン402はタイミング補正部422を有する。第1マイコン401は、同期信号を送信する「同期信号送信側マイコン」として機能し、第2マイコン402は、同期信号を受信する「同期信号受信側マイコン」として機能する。また、各マイコン401、402にとって、そのマイコン自身のことを「自マイコン」という。 Furthermore, in the basic form of the first embodiment, the first microcomputer 401 has a synchronization signal generator 411 and the second microcomputer 402 has a timing corrector 422 . The first microcomputer 401 functions as a "synchronization signal transmitting microcomputer" that transmits a synchronization signal, and the second microcomputer 402 functions as a "synchronization signal receiving microcomputer" that receives the synchronization signal. For each of the microcomputers 401 and 402, the microcomputer itself is called "own microcomputer".

第1マイコン401の同期信号生成部411は、自マイコンの駆動タイミング生成部441が生成した駆動タイミングに同期し、且つ、二つのマイコン401、402の駆動タイミングを同期させる同期信号を生成する。そして、同期信号生成部411は、同期信号線471を介して同期信号を第2マイコン402に送信する。
第2マイコン402のタイミング補正部422は、第1マイコン401から送信された同期信号を受信し、受信した同期信号に同期するように自マイコンの駆動タイミング生成部442が生成する駆動タイミングを補正可能である。この補正を「タイミング補正」という。図7において第2マイコン402内に破線で示すように、タイミング補正では、タイミング補正部422から駆動タイミング生成部442へタイミング補正指示が出力され、それに応じて、駆動タイミング生成部442が駆動タイミングを補正する。
The synchronization signal generator 411 of the first microcomputer 401 generates a synchronization signal that synchronizes with the drive timing generated by the drive timing generator 441 of its own microcomputer and synchronizes the drive timings of the two microcomputers 401 and 402 . The synchronization signal generator 411 then transmits the synchronization signal to the second microcomputer 402 via the synchronization signal line 471 .
The timing correction unit 422 of the second microcomputer 402 can receive the synchronization signal transmitted from the first microcomputer 401 and correct the drive timing generated by the drive timing generation unit 442 of the own microcomputer so as to synchronize with the received synchronization signal. is. This correction is called "timing correction". As indicated by the dashed line in the second microcomputer 402 in FIG. 7, in the timing correction, the timing correction unit 422 outputs a timing correction instruction to the drive timing generation unit 442, and the drive timing generation unit 442 adjusts the drive timing accordingly. to correct.

(第1実施形態)
以上のような基礎形態の構成を踏まえ、第1実施形態について、図9~図25を参照して説明する。
図9に第1実施形態のECU101の構成を示す。基礎形態の図7と同様に、図9では、第1系統の構成要素の符号の末尾に「1」を付し、第2系統の構成要素の符号の末尾に「2」を付して記す。以下の説明で各系統の構成要素を区別する場合、構成要素又は信号の語頭に「第1」又は「第2」を付し、共通の事項については、まとめて記載する。
(First embodiment)
Based on the configuration of the basic form as described above, the first embodiment will be described with reference to FIGS. 9 to 25. FIG.
FIG. 9 shows the configuration of the ECU 101 of the first embodiment. As in FIG. 7 of the basic form, in FIG. 9, the symbols of the components of the first system are appended with "1", and the symbols of the components of the second system are appended with "2". . In the following description, when distinguishing components of each system, the components or signals are prefixed with "first" or "second", and common items are collectively described.

本明細書では、マイコンの制御について、複数のマイコン401、402が同期して動作する制御を「同期制御」といい、複数のマイコン401、402が同期せず、それぞれ単独で動作する制御を「非同期制御」という。また、各マイコン401、402の動作によるモータ80の駆動モードには、以下の三つの駆動モードがある。
(1)第1マイコン401及び第2マイコン402が同期してモータを駆動する「同期駆動モード」
(2)同期信号を用いず、第1マイコン401及び第2マイコン402が非同期でモータを駆動する「非同期駆動モード」
(3)マイコン401、402の一方のみでモータを駆動する「一系統駆動モード」
In this specification, regarding the control of the microcomputers, control in which the plurality of microcomputers 401 and 402 operate in synchronization is referred to as "synchronous control", and control in which the plurality of microcomputers 401 and 402 operate independently without synchronization is referred to as " asynchronous control". Further, there are three drive modes for the motor 80 driven by the microcomputers 401 and 402 as follows.
(1) "Synchronous drive mode" in which the first microcomputer 401 and the second microcomputer 402 synchronously drive the motor
(2) "Asynchronous drive mode" in which the first microcomputer 401 and the second microcomputer 402 asynchronously drive the motor without using a synchronous signal.
(3) "Single system drive mode" in which the motor is driven by only one of the microcomputers 401 and 402

マイコン401、402が同期制御するときには同期駆動モードが適用される。また、マイコン401、402が非同期制御するとき、非同期駆動モード又は一系統駆動モードが適用される。非同期制御の開始時、以前からの動作を継続する場合を除き、各マイコン401、402は単独でタイマスタートする。
非同期駆動モードでは、各マイコン401、402がそれぞれのタイミングでモータ駆動信号Dr1、Dr2を生成する。一系統駆動モードでは、例えば自マイコンである第2マイコン402は、他マイコンである第1マイコン401にモータ駆動信号Dr1を生成させず、自マイコンが生成するモータ駆動信号Dr2のみでモータ80を駆動する。
A synchronous drive mode is applied when the microcomputers 401 and 402 perform synchronous control. Also, when the microcomputers 401 and 402 perform asynchronous control, an asynchronous drive mode or a single system drive mode is applied. At the start of asynchronous control, each microcomputer 401, 402 independently starts the timer, except when continuing the previous operation.
In the asynchronous drive mode, the microcomputers 401 and 402 generate motor drive signals Dr1 and Dr2 at their respective timings. In the single-system drive mode, for example, the second microcomputer 402, which is its own microcomputer, does not cause the first microcomputer 401, which is another microcomputer, to generate the motor drive signal Dr1, and drives the motor 80 only with the motor drive signal Dr2 generated by its own microcomputer. do.

基礎形態では、マイコン401、402の動作中に同期制御状態を継続することができる。しかし、マイコン401、402の起動後の初回の同期について考慮されていない。
例えば、各マイコンに供給される電源電圧差や配線抵抗、電圧検出特性等の差により、各マイコンの電源ONによる起動タイミングがずれる場合がある。すると、先に起動したマイコンがタイマスタートしてから、遅れて起動するマイコンがタイマスタートするまでの期間、先に起動したマイコンのみが非同期で動作することとなる。したがって、二つのマイコン401、402を初回から同期させることができない。
In the basic mode, the synchronous control state can be continued while the microcomputers 401 and 402 are operating. However, the initial synchronization after the microcomputers 401 and 402 are activated is not considered.
For example, due to the difference in power supply voltage supplied to each microcomputer, the wiring resistance, the difference in voltage detection characteristics, etc., there is a case where the activation timing of turning on the power of each microcomputer deviates. As a result, only the microcomputer that starts earlier operates asynchronously during the period from when the microcomputer that started earlier starts the timer until the microcomputer that starts later starts the timer. Therefore, the two microcomputers 401 and 402 cannot be synchronized from the first time.

また、各マイコンが同期信号の複数周期を単位とする制御を行う場合がある。すると、一方のマイコンがタイマスタートしてから制御単位と異なる数周期後の同期信号で他方のマイコンが同期した場合、マイコン間の制御タイミングにオフセットが生じているため、複数周期単位の制御を同期させることができないという問題がある。 Further, each microcomputer may perform control in units of a plurality of cycles of the synchronization signal. Then, when one microcomputer synchronizes with a synchronization signal several cycles later than the control unit after the timer starts, there is an offset in the control timing between the microcomputers, so control in units of multiple cycles cannot be synchronized. I have a problem that I can't make it work.

そこで、第1実施形態のECU101は、マイコン401、402の起動後の初回から同期制御を可能とするものである。そのためにマイコン401、402は、起動後に互いに信号を送受信することにより「初回ハンドシェイク」を実施する。また、初回ハンドシェイクが成功したか否かを判定する「初回ハンドシェイク判定部」を備える。なお、本実施形態で言及するハンドシェイクは、起動後の初回に実施されるもの以外にはないため、以下、「初回」を省略し、「ハンドシェイク」及び「ハンドシェイク判定部」と記す。 Therefore, the ECU 101 of the first embodiment enables synchronous control from the first time after the microcomputers 401 and 402 are activated. Therefore, the microcomputers 401 and 402 perform "initial handshake" by transmitting and receiving signals to each other after starting. It also has an "initial handshake determination unit" that determines whether or not the initial handshake was successful. Note that the handshake referred to in the present embodiment is the first time after startup, so hereinafter the "first time" will be omitted and the terms "handshake" and "handshake determination unit" will be used.

図1に示す基礎形態のECU100に対し、第1実施形態のECU101が備える第1マイコン401及び第2マイコン402の構成の相違点について主に説明する。基礎形態の通り、第1マイコン401は「同期信号送信側マイコン」であり、第2マイコン402は「同期信号受信側マイコン」である。
第1マイコン401は、基礎形態の構成に加え、さらにハンドシェイク判定部611及びレディ信号受信部621を有する。第2マイコン402は、基礎形態の構成に加え、さらにハンドシェイク判定部612及びレディ信号送信部622を有する。
図9中の太い実線矢印は同期信号を示し、太い一点鎖線矢印はレディ信号を示す。
Differences in the configurations of the first microcomputer 401 and the second microcomputer 402 included in the ECU 101 of the first embodiment will be mainly described with respect to the basic configuration of the ECU 100 shown in FIG. As in the basic configuration, the first microcomputer 401 is a "synchronization signal transmitting side microcomputer" and the second microcomputer 402 is a "synchronizing signal receiving side microcomputer".
The first microcomputer 401 further has a handshake determination section 611 and a ready signal reception section 621 in addition to the configuration of the basic configuration. The second microcomputer 402 further has a handshake determination section 612 and a ready signal transmission section 622 in addition to the configuration of the basic configuration.
A thick solid line arrow in FIG. 9 indicates a synchronizing signal, and a thick one-dot chain line arrow indicates a ready signal.

レディ信号送信部622は、第2マイコン402の同期準備が完了したことを示すレディ信号を、レディ信号線475を介して第1マイコン401のレディ信号受信部621に送信する。ここで、レディ信号線475は、同期信号線471と共用されてもよく、同期信号線471とは別に設けられてもよい。レディ信号についても同期信号と同様に、レディ信号線による通信に代えて、ポート信号のレベル変化を行うことで、レディ信号を通知するようにしてもよい。
レディ信号受信部621は、レディ信号を受信する。詳しく言えば、レディ信号受信部621は、レディ信号を受信したことを検出する。以下、タイミング補正部422による同期信号の受信を含め、「受信する」とは「受信したことを検出する」の意味である。
The ready signal transmitting section 622 transmits a ready signal indicating that the synchronization preparation of the second microcomputer 402 is completed to the ready signal receiving section 621 of the first microcomputer 401 via the ready signal line 475 . Here, the ready signal line 475 may be shared with the synchronization signal line 471 or may be provided separately from the synchronization signal line 471 . As with the synchronization signal, the ready signal may also be notified by changing the level of the port signal instead of communicating via the ready signal line.
Ready signal receiving section 621 receives a ready signal. Specifically, the ready signal receiver 621 detects that the ready signal has been received. Hereinafter, "receiving" means "detecting reception" including reception of the synchronization signal by the timing correction unit 422. FIG.

第1マイコン401のハンドシェイク判定部611は、同期信号生成部411が送信した同期信号、及び、レディ信号受信部621が受信したレディ信号に基づき、ハンドシェイクが成功したか失敗したかを判定する。
第2マイコン402のハンドシェイク判定部612は、タイミング補正部422が受信した同期信号、及び、レディ信号送信部622が送信したレディ信号に基づき、ハンドシェイクが成功したか失敗したかを判定する。
ハンドシェイクにおける信号の送受信や成否判定の詳細については後述する。
The handshake determination unit 611 of the first microcomputer 401 determines whether the handshake has succeeded or failed based on the synchronization signal transmitted by the synchronization signal generation unit 411 and the ready signal received by the ready signal reception unit 621. .
The handshake determination unit 612 of the second microcomputer 402 determines whether the handshake has succeeded or failed based on the synchronization signal received by the timing correction unit 422 and the ready signal transmitted by the ready signal transmission unit 622 .
Details of signal transmission/reception and success/failure determination in handshake will be described later.

また、各マイコン401、402は、駆動信号生成部451、452に指令を出力する電流演算部631、632を有する。なお、電流演算部631、632は、実際には基礎形態にも含まれる。しかし、基礎形態の特有の動作との関連が薄いため、図7において図示を省略したものである。 The microcomputers 401 and 402 also have current calculators 631 and 632 that output commands to the drive signal generators 451 and 452, respectively. Note that the current calculators 631 and 632 are actually included in the basic form. However, it is not shown in FIG. 7 because it has little relevance to the peculiar operation of the basic form.

図9に示す例では、レディ信号は通信クロック信号の1つとして生成され、通信クロック信号には、レディ信号以外のマイコン間通信用のデータ信号が含まれることを想定する。この場合、レディ信号送信部622は、電流演算部632から入力されたデータ信号を含めて通信クロック信号を送信する。レディ信号受信部621は、受信した通信クロック信号に含まれているデータ信号を電流演算部632に出力する。
したがって、データ信号の送受信を含めた視点では、レディ信号送信部622及びレディ信号受信部621を単に「通信部」と称し、レディ信号線475を単に「信号線」と称してもよい。しかし、本実施形態では、特にハンドシェイクにおけるレディ信号の送受信機能に注目した名称を用いることとする。
In the example shown in FIG. 9, it is assumed that the ready signal is generated as one of the communication clock signals, and that the communication clock signal includes data signals for inter-microcomputer communication other than the ready signal. In this case, the ready signal transmitter 622 transmits the communication clock signal including the data signal input from the current calculator 632 . The ready signal receiver 621 outputs the data signal included in the received communication clock signal to the current calculator 632 .
Therefore, from the viewpoint of transmission and reception of data signals, the ready signal transmitter 622 and the ready signal receiver 621 may simply be referred to as "communication section", and the ready signal line 475 may simply be referred to as "signal line". However, in the present embodiment, names are used that focus particularly on the function of transmitting and receiving a ready signal in handshake.

また、図9には、基礎形態の図7に示される第2マイコン402のタイミング補正部422内のタイミング判定部432、及び、各マイコン401、402のアナログ信号サンプリング部461、462について、図示を省略する。第1実施形態のハンドシェイク動作においてこれらは無くてもよい。
つまり、初回以後のマイコン間の同期については、少なくとも第1マイコン401から第2マイコン402に送信される同期信号に基づき、タイミング補正部422がタイミング補正を実施することができればよい。なお、それに加え、タイミング判定部432が設けられる構成では、基礎形態で説明した通り、同期信号が異常の場合にタイミング補正を禁止し、第2マイコン402の制御が破綻することを防止することができる。
FIG. 9 also shows the timing determination unit 432 in the timing correction unit 422 of the second microcomputer 402 and the analog signal sampling units 461 and 462 of the microcomputers 401 and 402 shown in FIG. omitted. These may be omitted in the handshake operation of the first embodiment.
In other words, for the synchronization between the microcomputers after the first time, it is sufficient if the timing correction section 422 can correct the timing based on at least the synchronization signal transmitted from the first microcomputer 401 to the second microcomputer 402 . In addition to this, in the configuration provided with the timing determination unit 432, as described in the basic mode, when the synchronization signal is abnormal, the timing correction can be prohibited to prevent the control of the second microcomputer 402 from breaking down. can.

次に、第1実施形態によるハンドシェイクの各動作例について図10~図25のタイムチャート及びフローチャートを参照して説明する。
まず、各タイムチャートの左側に記載した用語について注記する。
各マイコン401、402の「PWMタイマ」は、クロック生成回路651、652が生成するPWMキャリア基準タイマであり、このタイマに基づいて駆動信号Dr1、Dr2が生成され、各系統のモータ巻線組81、82への通電が制御される。PWMタイマの生成が開始することを、以下「タイマスタート」という。
また、各マイコン401、402の電源がONした起動タイミングを、便宜上、PWMタイマのチャート上に記す。
Next, examples of handshake operations according to the first embodiment will be described with reference to the time charts and flowcharts of FIGS. 10 to 25. FIG.
First, the terms described on the left side of each time chart are noted.
The "PWM timer" of each microcomputer 401, 402 is a PWM carrier reference timer generated by the clock generation circuits 651, 652. Based on this timer, the drive signals Dr1, Dr2 are generated, and the motor winding set 81 of each system is generated. , 82 is controlled. The start of generation of the PWM timer is hereinafter referred to as "timer start".
For the sake of convenience, the startup timings at which the microcomputers 401 and 402 are powered on are shown on the chart of the PWM timer.

「同期信号1→2」は、第1マイコン401の同期信号生成部411から第2マイコン402のタイミング補正部422へ送信される同期信号を意味する。この例では、同期信号は起動時にローレベルである。
また、図10の動作例1等では、第1マイコン401のタイマスタート前に、同期信号は一度ローレベルからハイレベルに立ち上がった後、再びローレベルに戻る。この場合、最初の同期信号の立ち上がりは、第2マイコン402との同期タイミングとして認識されるわけではなく、タイマスタート時における同期を予告する意味を持つ。そこで、タイマスタート前に同期信号をハイレベルとする動作を「同期予告信号を出力、又は送信する」という。また、タイマスタート前にハイレベルの同期信号をローレベルに戻す動作を「同期予告信号を終了する」という。
Synchronization signal 1→2” means a synchronization signal transmitted from the synchronization signal generation unit 411 of the first microcomputer 401 to the timing correction unit 422 of the second microcomputer 402 . In this example, the sync signal is low at startup.
10, before the timer of the first microcomputer 401 starts, the synchronization signal once rises from low level to high level and then returns to low level again. In this case, the first rising edge of the synchronization signal is not recognized as synchronization timing with the second microcomputer 402, but has the meaning of foretelling synchronization at the time of timer start. Therefore, the operation of setting the synchronization signal to a high level before starting the timer is called "outputting or transmitting a synchronization notice signal". Also, the operation of returning a high-level synchronization signal to a low level before the timer starts is called "termination of the synchronization notice signal".

本実施形態では、第1マイコン401が同期信号のローレベルとハイレベルとを切り替え、同期信号線471を介して第2マイコン402に送信することで同期予告信号としての機能を兼ねている。これにより、ハンドシェイクにおける同期予告専用の信号生成部や信号線を設ける必要がなくなる。 In this embodiment, the first microcomputer 401 switches the synchronization signal between low level and high level and transmits it to the second microcomputer 402 via the synchronization signal line 471, thereby also functioning as a synchronization notice signal. This eliminates the need to provide a signal generator and a signal line dedicated to the notification of synchronization in handshake.

第1マイコン401のタイマスタート後、同期信号は、PWMタイマの4周期を同期周期Tsとして、ハイレベルとローレベルとを周期的に繰り返すようにトグル出力される。本実施形態では、同期信号の立ち上がりタイミング及び立ち下がりタイミングは、PWMタイマの谷タイミングに一致する。
基礎形態と同様に、同期信号の立ち上がりタイミングは、第2マイコン402との同期タイミングとなる。また、第2マイコン402にてタイミング判定が行われる構成では、同期信号の立ち上がりタイミングによって同期信号の正常又は異常が判定される。
After the timer of the first microcomputer 401 is started, the synchronization signal is toggled so as to periodically repeat high level and low level with four cycles of the PWM timer as the synchronization cycle Ts. In this embodiment, the rise timing and fall timing of the synchronization signal coincide with the valley timing of the PWM timer.
As in the basic mode, the rise timing of the synchronization signal is the synchronization timing with the second microcomputer 402 . In addition, in the configuration in which the second microcomputer 402 performs timing determination, whether the synchronization signal is normal or abnormal is determined according to the rise timing of the synchronization signal.

「レディ信号2→1」は、第2マイコン402のレディ信号送信部622から第1マイコン401のレディ信号受信部621へ送信されるレディ信号を意味する。この例では、起動時のデフォルトとして、レディ信号はハイレベルに設定される。その後、ハイレベルとローレベルとを4回連続して繰り返すパルス信号が、第2マイコン402の同期準備が完了したことを通知するレディ信号として出力される。なお、パルスの幅や回数は、適宜設定してよい。本実施形態では、レディ信号として用いられる通信クロック信号は、第2マイコン402のタイマスタート後も継続して周期的に出力される。
このように、本実施形態では、同期予告信号及びレディ信号がハンドシェイクにおいて「送受信されるべき信号」に該当する。
Ready signal 2→1” means the ready signal transmitted from the ready signal transmitter 622 of the second microcomputer 402 to the ready signal receiver 621 of the first microcomputer 401 . In this example, the ready signal is set to a high level as a default at start-up. After that, a pulse signal that repeats high level and low level four times in succession is output as a ready signal notifying that the second microcomputer 402 is ready for synchronization. Note that the pulse width and number of times may be set as appropriate. In this embodiment, the communication clock signal used as the ready signal is continuously output periodically even after the timer of the second microcomputer 402 is started.
Thus, in this embodiment, the synchronization notice signal and the ready signal correspond to "signals to be transmitted and received" in handshake.

「期間」は、以下の説明において引用する箇所を示す。なお、<0>~<6>の記号は図毎に独立して付され、他図の同記号の期間とは互いに関係しない。また、明細書の説明では< >を付さず、例えば図の<1>に対応する期間を「期間1」のように記載する。
各期間における一時点の動作についての説明は、制御のタイムラグを無視し、原則として、その期間の開始時に実行される動作についての説明である。
"Period" indicates a portion quoted in the following description. Note that the symbols <0> to <6> are assigned independently for each figure, and are not related to the periods of the same symbols in other figures. Also, in the description of the specification, the period corresponding to <1> is described as "period 1" without attaching <>.
The description of the operation at one point in time in each period ignores the time lag of the control, and is, in principle, the description of the operation performed at the start of that period.

[動作例1]
具体的な動作例として、最初に図10を参照し、マイコン401、402が同時に起動後、ハンドシェイクが成功する動作例1について説明する。
期間1では、マイコン401、402が起動後の状態である。第2マイコン402は、期間1の開始時からの経過時間を第2ハンドシェイク時間Ths2として計時する。
期間2では、第1マイコン401は、同期予告信号を第2マイコン402に送信する。第2マイコン402は、この同期予告信号を第2ハンドシェイク時間Ths2の経過前に受信する。
[Operation example 1]
As a specific operation example, first, with reference to FIG. 10, an operation example 1 in which the handshake is successful after the microcomputers 401 and 402 are activated at the same time will be described.
In period 1, the microcomputers 401 and 402 are in a state after activation. The second microcomputer 402 counts the elapsed time from the start of period 1 as a second handshake time Ths2.
In period 2, the first microcomputer 401 transmits a synchronization notice signal to the second microcomputer 402 . The second microcomputer 402 receives this synchronization notice signal before the second handshake time Ths2 elapses.

また、第1マイコン401は、期間2の開始時からの経過時間を計時する。
第2マイコン402は、期間2で受信した同期予告信号に対する応答として、期間3で、レディ信号を第1マイコン401に送信する。第1マイコン401は、このレディ信号を第1ハンドシェイク時間Ths1の経過前に受信する。
第1マイコン401は、期間3でレディ信号を受信した後、第1ハンドシェイク時間Ths1が経過した時、期間4で、同期予告信号を終了する。
Also, the first microcomputer 401 counts the elapsed time from the start of period 2 .
The second microcomputer 402 transmits a ready signal to the first microcomputer 401 in period 3 as a response to the synchronization notice signal received in period 2 . The first microcomputer 401 receives this ready signal before the first handshake time Ths1 elapses.
After receiving the ready signal in period 3, the first microcomputer 401 terminates the synchronization notice signal in period 4 when the first handshake time Ths1 elapses.

期間2、3、4の動作を通じ、同期予告信号の送信及びレディ信号の受信が正常に実施されたことから、第1マイコン401のハンドシェイク判定部611は、ハンドシェイクが成功したと判定し、駆動タイミング生成部441に対し初回同期を指令する。
同様に、同期予告信号の受信及びレディ信号の送信が正常に実施されたことから、第2マイコン402のハンドシェイク判定部612は、ハンドシェイクが成功したと判定し、駆動タイミング生成部442に対し初回同期を指令する。
期間5では、第1マイコン401は同期信号を出力すると同時にタイマスタートする。第2マイコン402は、第1マイコン401から受信した同期信号の立ち上がりタイミングでタイマスタートする。これにより、マイコン401、402は、起動後の初回から同期して、すなわち同期駆動モードでモータ80を駆動する。
Through the operations in Periods 2, 3, and 4, the transmission of the synchronization notice signal and the reception of the ready signal were performed normally. The drive timing generator 441 is instructed to perform initial synchronization.
Similarly, since the reception of the synchronization notice signal and the transmission of the ready signal were performed normally, the handshake determination unit 612 of the second microcomputer 402 determines that the handshake was successful, and sends the drive timing generation unit 442 Command the initial synchronization.
In period 5, the first microcomputer 401 outputs the synchronization signal and simultaneously starts the timer. The second microcomputer 402 starts a timer at the rising timing of the synchronization signal received from the first microcomputer 401 . As a result, the microcomputers 401 and 402 drive the motor 80 synchronously from the first time after activation, that is, in the synchronous drive mode.

[動作例1の変形例]
動作例1では、第1マイコン401及び第2マイコン402が同時、且つ、瞬時に起動すると仮定している。しかし実際には、各マイコン401、402に対応する電源111、112がOFF状態からONしたとき、マイコン401、402への供給電圧は0から次第に上昇し、その後、供給電圧がある値に達したとき、マイコン401、402が起動する。電源経路の配線抵抗等によりこの上昇勾配がばらつくと、仮に電源111、112が同時にONした場合でも。マイコン401、402の起動タイミングがばらつく。
図11を参照し、動作例1の変形例として、第1電源111の立ち上がり時間UT1と第2電源112の立ち上がり時間UT2との時間差によるマイコン401、402の起動タイミングのずれが比較的小さい場合の動作例を説明する。
[Modification of Operation Example 1]
In operation example 1, it is assumed that the first microcomputer 401 and the second microcomputer 402 start simultaneously and instantaneously. However, in reality, when the power supplies 111 and 112 corresponding to the respective microcomputers 401 and 402 were turned on from an off state, the supply voltage to the microcomputers 401 and 402 gradually increased from 0 and then reached a certain value. At this time, the microcomputers 401 and 402 are activated. Even if the power supplies 111 and 112 are turned on at the same time, the rising gradient varies due to the wiring resistance of the power supply path or the like. The activation timing of the microcomputers 401 and 402 varies.
Referring to FIG. 11, as a modification of the operation example 1, the timing difference between the start-up timings UT1 of the first power supply 111 and the rise time UT2 of the second power supply 112 is relatively small. An operation example will be described.

期間1の開始時、第1電源111及び第2電源112はOFF状態から同時にONし、マイコン401、402への供給電圧が上昇する。第2電源112は時間UT2後に立ち上がりが完了し、第2マイコン402が起動する。続いて、第2ハンドシェイク時間Ths2の計時開始から間もなく第1電源111は時間UT1後に立ち上がりが完了し、第1マイコン401が起動する。
その後、期間2の開始時に第1マイコン401は、同期予告信号を第2マイコン402に送信する。以後、図10の動作例1と同様に、期間2、3、4を通じてハンドシェイクが成功したと判定される。
At the start of period 1, the first power supply 111 and the second power supply 112 are simultaneously turned on from the off state, and the voltages supplied to the microcomputers 401 and 402 are increased. The second power supply 112 completes startup after time UT2, and the second microcomputer 402 starts up. Shortly after the second handshake time Ths2 starts, the first power supply 111 finishes rising after the time UT1, and the first microcomputer 401 starts up.
After that, at the start of period 2, the first microcomputer 401 transmits a synchronization notice signal to the second microcomputer 402 . Thereafter, it is determined that the handshake has succeeded through periods 2, 3, and 4 in the same manner as in operation example 1 of FIG.

そして期間5では、第1マイコン401は同期信号を出力すると同時にタイマスタートし、第2マイコン402は、第1マイコン401から受信した同期信号の立ち上がりタイミングでタイマスタートする。これにより、マイコン401、402は、起動後の初回から同期して、すなわち同期駆動モードでモータ80を駆動する。
このように、第1マイコン401の起動タイミングが少し遅れたとしても、第2ハンドシェイク時間Ths2以内に第1マイコン401が同期予告信号を送信する場合は、動作例1と同様にハンドシェイクは成功する。逆に、第2マイコン402の起動タイミングが少し遅れたとしても、第1ハンドシェイク時間Ths1以内に第2マイコン402がレディ信号を送信する場合は、動作例1と同様となる。
In period 5, the first microcomputer 401 outputs the synchronization signal and simultaneously starts the timer, and the second microcomputer 402 starts the timer at the rising edge of the synchronization signal received from the first microcomputer 401 . As a result, the microcomputers 401 and 402 drive the motor 80 synchronously from the first time after activation, that is, in the synchronous drive mode.
As described above, even if the activation timing of the first microcomputer 401 is slightly delayed, if the first microcomputer 401 transmits the synchronization notice signal within the second handshake time Ths2, the handshake is successful as in the operation example 1. do. Conversely, even if the activation timing of the second microcomputer 402 is slightly delayed, if the second microcomputer 402 transmits the ready signal within the first handshake time Ths1, the operation is the same as in the first operation example.

[動作例2]
次に、一方のマイコンが起動後、所定時間以内に他方のマイコンが起動しない「タイムアウト」によりハンドシェイクが失敗する動作例について説明する。なお、他方のマイコンが起動した後、送信されるべき信号が所定時間以内に送信されない場合も、起動しない場合と同様に考えられる。
まず図12を参照し、第2マイコン402起動後のタイムアウトにより、ハンドシェイクが失敗する動作例2について説明する。動作例2では、第2マイコン402の起動後、所定時間を経過しても第1マイコン401が起動しないか、或いは、第1マイコン401が起動してもレディ信号を送信しない。
[Operation example 2]
Next, an operation example will be described in which the handshake fails due to a "timeout" in which the other microcomputer does not start within a predetermined time after one microcomputer starts. It should be noted that the case where the signal to be transmitted is not transmitted within a predetermined time after the other microcomputer is activated can be considered in the same manner as the case where the other microcomputer is not activated.
First, with reference to FIG. 12, operation example 2 in which the handshake fails due to timeout after the second microcomputer 402 is started will be described. In operation example 2, the first microcomputer 401 does not start up even after a predetermined time has passed since the second microcomputer 402 started up, or the ready signal is not transmitted even if the first microcomputer 401 starts up.

図12の期間1では、第2マイコン402のみが起動後の状態である。第2マイコン402は、期間1の開始時からの経過時間を計時する。その後、第2マイコン402が第1マイコン401から送信されるべき同期予告信号を受信しないまま時間が経過する。
期間1の開始時からの経過時間が第2ハンドシェイク時間Ths2に達した時、第2マイコン402のハンドシェイク判定部612は、タイムアウトによりハンドシェイクが失敗したと判定する。そして、ハンドシェイク判定部612は、第2マイコン402が単独で駆動信号Dr2を生成するように駆動タイミング生成部442に通知する。
期間2では、同期信号受信側マイコンである第2マイコン402は、単独でタイマスタートする。これにより、ECU101は、第1マイコン401にモータ駆動信号Dr1を生成させることなく、第2系統の一系統駆動モードでモータ80を駆動する。
In period 1 of FIG. 12, only the second microcomputer 402 is in a state after startup. The second microcomputer 402 counts the elapsed time from the start of period 1 . After that, time passes without the second microcomputer 402 receiving the synchronization notice signal to be transmitted from the first microcomputer 401 .
When the elapsed time from the start of period 1 reaches the second handshake time Ths2, the handshake determination unit 612 of the second microcomputer 402 determines that the handshake has failed due to timeout. The handshake determination unit 612 then notifies the drive timing generation unit 442 so that the second microcomputer 402 independently generates the drive signal Dr2.
In period 2, the second microcomputer 402, which is the sync signal receiving microcomputer, independently starts the timer. Accordingly, the ECU 101 drives the motor 80 in the single-system drive mode of the second system without causing the first microcomputer 401 to generate the motor drive signal Dr1.

[動作例2の変形例A]
次に図13を参照し、電源の立ち上がり時間を考慮した動作例2の変形例Aについて説明する。この例では、図11に示す動作例1の変形例に対し第1電源111の立ち上がり時間UT1と第2電源112の立ち上がり時間UT2との時間差が大きく、マイコン401、402の起動タイミングのずれが大きい。
期間1の開始時、第1電源111及び第2電源112はOFF状態から同時にONし、マイコン401、402への供給電圧が上昇する。第2電源112は時間UT2後に立ち上がりが完了し、第2マイコン402が起動する。ここで、第1電源111の立ち上がり時間UT1は、第2電源112の立ち上がり時間UT2と第2ハンドシェイク時間Ths2との合計よりも長い。そのため、第1マイコン401が起動する前に第2ハンドシェイク時間Ths2が経過し、期間2で、第2マイコン402は単独でタイマスタートする。したがって、第2系統の一系統駆動モードでモータ80が駆動される。
[Modification A of Operation Example 2]
Next, with reference to FIG. 13, the modification A of the operation example 2 considering the rise time of the power supply will be described. In this example, the time difference between the rise time UT1 of the first power supply 111 and the rise time UT2 of the second power supply 112 is large compared to the modification of the operation example 1 shown in FIG. .
At the start of period 1, the first power supply 111 and the second power supply 112 are simultaneously turned on from the off state, and the voltages supplied to the microcomputers 401 and 402 are increased. The second power supply 112 completes startup after time UT2, and the second microcomputer 402 starts up. Here, the rise time UT1 of the first power supply 111 is longer than the sum of the rise time UT2 of the second power supply 112 and the second handshake time Ths2. Therefore, the second handshake time Ths2 elapses before the first microcomputer 401 is activated, and in period 2, the second microcomputer 402 independently starts the timer. Therefore, the motor 80 is driven in the single-system drive mode of the second system.

その後、期間2の途中で第1電源111の立ち上がりが完了し、第1マイコン401が起動する。続いて期間3では、第1ハンドシェイク時間Ths1の経過中に、タイマスタート後の第2マイコン402が第1マイコン401に無効のレディ信号を送信する。
ここで、「無効」とは、受信側のマイコン(ここでは、第1マイコン401)がその信号をレディ信号として認識しないことをいう。例えばレディ信号を受信する側のマイコンは、レディ信号の有効又は無効をIDにより判別する。第2マイコン402の一系統駆動モード実行中に送信される無効のレディ信号は、第1マイコン401の同期予告信号に対し同期準備が完了したことを示す信号として認識されない。したがって、無効のレディ信号が送信されてもハンドシェイクが成功したとは判定されない。
期間3の終了後、期間4を経て、期間5の開始時に、第1マイコン401は、第2マイコン402とは同期せずにタイマスタートする。これにより期間5では、二系統のマイコン401、402による非同期駆動モードでモータ80が駆動される。
After that, in the middle of the period 2, the first power supply 111 finishes rising, and the first microcomputer 401 starts up. Subsequently, in period 3, the second microcomputer 402 after timer start transmits an invalid ready signal to the first microcomputer 401 during the elapse of the first handshake time Ths1.
Here, "ineffective" means that the receiving microcomputer (here, the first microcomputer 401) does not recognize the signal as a ready signal. For example, the microcomputer that receives the ready signal determines whether the ready signal is valid or invalid based on the ID. The invalid ready signal transmitted while the second microcomputer 402 is executing the one-system drive mode is not recognized as a signal indicating completion of synchronization preparation with respect to the synchronization notice signal of the first microcomputer 401 . Therefore, even if an invalid ready signal is sent, it is not determined that the handshake was successful.
After period 3 ends, period 4 passes, and at the start of period 5, the first microcomputer 401 starts a timer without synchronizing with the second microcomputer 402 . Thus, in period 5, the motor 80 is driven in the asynchronous drive mode by the two systems of microcomputers 401 and 402 .

期間5の開始時から同期周期Ts後、期間6の開始時に第1マイコン401は第2マイコン402に同期信号を送信し、第2マイコン402はこれを受信する。この時、タイミング判定で正常と判定された場合、又は、タイミング判定が実施されない場合には、同期信号の立ち上がりタイミングで第2マイコン402のタイミング補正が実施され、以後、マイコン401、402は同期駆動モードでモータ80を駆動する。
このように、マイコン401、402の起動タイミングのずれが大きい場合、ECU101によるモータ80の駆動モードは、一系統駆動モード、非同期駆動モード、同期駆動モードの順に移行する。言い換えれば、マイコン401、402の起動時において、一系統駆動モード、非同期駆動モード、同期駆動モードの順に移行する場合があるモータ制御装置は、本実施形態のECUに相当するとみなすことができる。
After the synchronization period Ts from the start of the period 5, the first microcomputer 401 transmits a synchronization signal to the second microcomputer 402 at the start of the period 6, and the second microcomputer 402 receives it. At this time, if the timing determination is normal, or if the timing determination is not performed, the timing correction of the second microcomputer 402 is performed at the rising timing of the synchronization signal, and thereafter the microcomputers 401 and 402 are synchronously driven. drive the motor 80 in mode.
As described above, when the difference between the activation timings of the microcomputers 401 and 402 is large, the drive mode of the motor 80 by the ECU 101 shifts to the single-system drive mode, the asynchronous drive mode, and the synchronous drive mode in this order. In other words, a motor control device that may shift to the single-system drive mode, the asynchronous drive mode, and the synchronous drive mode in order when the microcomputers 401 and 402 are activated can be regarded as equivalent to the ECU of the present embodiment.

[動作例2の変形例B]
図14に示す動作例2の変形例Bは、期間1、期間2までの動作は、図13の変形例Aと同じである。ただし、変形例Bでは、第2マイコン402が一系統駆動モードで動作中に第1マイコン401が起動した場合、第1マイコン401は同期予告信号の送信、タイマスタート処理、同期処理等の処理を行わない。つまり、第1マイコン401は、マイコン自体は起動しているがモータ駆動信号Dr1を生成しないため、第1系統によるモータ駆動は行われない。その結果、図12と同様に、期間2のまま第1マイコン401が一系統駆動モードを継続する。このように、同期駆動モードへの移行が必須ではなく、一系統駆動モードが継続して用いられてもよい。
[Modification B of Operation Example 2]
Modification B of Operation Example 2 illustrated in FIG. 14 is the same as Modification A in FIG. 13 in the operations up to period 1 and period 2 . However, in the modification B, when the first microcomputer 401 is activated while the second microcomputer 402 is operating in the single-system drive mode, the first microcomputer 401 performs processing such as transmission of the synchronization notice signal, timer start processing, and synchronization processing. Not performed. That is, the first microcomputer 401 does not generate the motor drive signal Dr1 even though the microcomputer itself is activated, so the motor is not driven by the first system. As a result, as in FIG. 12, the first microcomputer 401 continues the single-system drive mode during the period 2 . Thus, the transition to the synchronous drive mode is not essential, and the single-system drive mode may be used continuously.

[動作例3]
次に図15を参照し、動作例2とは逆に、第1マイコン401起動後のタイムアウトにより、ハンドシェイクが失敗する動作例3について説明する。動作例3では、第1マイコン401の起動後、所定時間を経過しても第2マイコン402が起動しないか、或いは、第2マイコン402が起動してもレディ信号を送信しない。
期間1では、第1マイコン401のみが起動後の状態である。
期間2では、第1マイコン401は同期予告信号を送信するとともに、期間2の開始時からの経過時間を計時する。その後、第1マイコン401が第2マイコン402から送信されるべきレディ信号を受信しないまま時間が経過する。
[Operation Example 3]
Next, with reference to FIG. 15, an operation example 3 will be described in which the handshake fails due to a timeout after the first microcomputer 401 is activated, contrary to the operation example 2. FIG. In the operation example 3, the second microcomputer 402 does not start even after a predetermined time has passed since the first microcomputer 401 started, or the ready signal is not transmitted even if the second microcomputer 402 starts.
In period 1, only the first microcomputer 401 is in a state after activation.
In period 2, the first microcomputer 401 transmits a synchronization notice signal and counts the elapsed time from the start of period 2. FIG. After that, time passes without the first microcomputer 401 receiving the ready signal to be transmitted from the second microcomputer 402 .

期間2の開始時からの経過時間が第1ハンドシェイク時間Ths1に達した時、第12マイコン401のハンドシェイク判定部611は、タイムアウトによりハンドシェイクが失敗したと判定する。そして、ハンドシェイク判定部611は、第1マイコン401が単独で駆動信号Dr1を生成するように駆動タイミング生成部441に通知する。
第1マイコン401は、第1ハンドシェイク時間Ths1が経過した時、期間3で、同期予告信号を終了する。
動作例3の期間4では、同期信号送信側マイコンである第1マイコン401は、同期信号を出力すると同時に単独でタイマスタートする。これにより、ECU101は、第2マイコン402にモータ駆動信号Dr2を生成させることなく、第1系統の一系統駆動モードでモータ80を駆動する。
When the elapsed time from the start of period 2 reaches the first handshake time Ths1, the handshake determination unit 611 of the twelfth microcomputer 401 determines that the handshake has failed due to timeout. The handshake determination unit 611 then notifies the drive timing generation unit 441 so that the first microcomputer 401 independently generates the drive signal Dr1.
The first microcomputer 401 terminates the synchronization notice signal in period 3 when the first handshake time Ths1 has elapsed.
In period 4 of operation example 3, the first microcomputer 401, which is the sync signal transmitting side microcomputer, outputs the sync signal and independently starts the timer. Accordingly, the ECU 101 drives the motor 80 in the single-system drive mode of the first system without causing the second microcomputer 402 to generate the motor drive signal Dr2.

[動作例1~3のフローチャート]
タイムアウトによるハンドシェイクの失敗を想定した動作例1~3及びその変形例に関連する第1マイコン401及び第2マイコン402の起動後処理、ハンドシェイク成否記憶処理、及び、第2マイコン402の同期処理について、各フローチャートを参照する。
図16に示す第1マイコン起動後処理において、第1マイコン401は、S50で起動後、S51で同期信号をハイレベルとし同期予告信号を送信するとともに、経過時間の計時を開始する。
S52では、経過時間が第1ハンドシェイク時間Ths1未満であるか判断される。
S52でYESと判断された場合、レディ信号受信ステップS53では、第2マイコン402からレディ信号を受信したか判断される。第1マイコン401がレディ信号を未受信であり、S53でNOと判断された場合、S52の前に戻る。
[Flow chart of operation examples 1 to 3]
Operation examples 1 to 3 assuming a handshake failure due to timeout and post-startup processing of the first microcomputer 401 and the second microcomputer 402, handshake success/failure storage processing, and synchronization processing of the second microcomputer 402 related to their modifications Refer to each flow chart for
In the post-startup process of the first microcomputer shown in FIG. 16, the first microcomputer 401 sets the synchronization signal to high level in S51 after being activated in S50, transmits a synchronization notice signal, and starts counting the elapsed time.
In S52, it is determined whether the elapsed time is less than the first handshake time Ths1.
If it is determined YES in S52, it is determined whether a ready signal has been received from the second microcomputer 402 in a ready signal reception step S53. If the first microcomputer 401 has not received the ready signal and it is determined NO in S53, the process returns to before S52.

第1マイコン401がレディ信号を受信した場合、S53でYESと判断され、S54に移行する。これにより、ハンドシェイクが成功したと判定される。
また、経過時間が第1ハンドシェイク時間Ths1に達しタイムアウトでハンドシェイクが失敗した場合、S52でNOと判断され、S54に移行する。
S54で、第1マイコン401は、同期信号をローレベルに戻し、同期予告信号を終了する。
S56で、第1マイコン401は、第2マイコン402に同期信号を送信する。
If the first microcomputer 401 receives the ready signal, the determination in S53 is YES, and the process proceeds to S54. Thereby, it is determined that the handshake was successful.
Further, when the elapsed time reaches the first handshake time Ths1 and the handshake fails due to timeout, it is determined as NO in S52, and the process proceeds to S54.
In S54, the first microcomputer 401 returns the synchronization signal to low level and ends the synchronization notice signal.
In S56, the first microcomputer 401 transmits a synchronization signal to the second microcomputer 402. FIG.

先のS52でYESと判断された場合、すなわち、ハンドシェイクが成功したと判定された場合、ハンドシェイク判定ステップS57でYESと判断され、同期駆動ステップS58に移行する。S58では、第1マイコン401及び第2マイコン402は同時にタイマスタートし、初回から同期してモータ80を駆動する。
一方、先のS52でNOと判断された場合、すなわち、タイムアウトでハンドシェイクが失敗した場合、S57でNOと判断され、S59に移行する。S59では、第1マイコン401が単独でタイマスタートし、非同期でモータ80を駆動する。
If it is determined YES in the previous S52, that is, if it is determined that the handshake was successful, it is determined YES in the handshake determination step S57, and the process proceeds to the synchronous drive step S58. In S58, the first microcomputer 401 and the second microcomputer 402 start timers at the same time, and drive the motor 80 synchronously from the first time.
On the other hand, if it is determined NO in the previous S52, that is, if the handshake fails due to timeout, it is determined NO in S57 and the process proceeds to S59. In S59, the first microcomputer 401 independently starts the timer and drives the motor 80 asynchronously.

図17、図18に示す第2マイコン起動後処理において、第2マイコン402は、S60で起動するとともに、S61で経過時間の計時を開始する。
S62では、経過時間が第2ハンドシェイク時間Ths2未満であるか判断される。
S62でYESと判断された場合、S63では、第1マイコン401から同期予告信号を受信したか判断される。第2マイコン402が同期予告信号を未受信であり、S63でNOと判断された場合、S62の前に戻る。
17 and 18, the second microcomputer 402 is activated in S60 and starts counting the elapsed time in S61.
In S62, it is determined whether the elapsed time is less than the second handshake time Ths2.
If it is determined YES in S62, it is determined in S63 whether a synchronization notice signal has been received from the first microcomputer 401. FIG. If the second microcomputer 402 has not received the synchronization notice signal and it is determined NO in S63, the process returns to before S62.

第2マイコン402が同期予告信号を受信した場合、S63でYESと判断され、レディ信号送信ステップS64に移行する。S64で、第2マイコン402は、レディ信号を送信する。第1マイコン401側でこのS64に応答するステップが図16のレディ信号受信ステップS53となる。これにより、ハンドシェイクが成功したと判定される。
その後、S66で、第2マイコン402は第1マイコン401から同期信号を受信し、割り込みにより第1マイコン401と同時にタイマスタートする。これにより、第1マイコン401及び第2マイコン402は、初回から同期してモータ80を駆動する。
If the second microcomputer 402 has received the synchronization notice signal, YES is determined in S63, and the process proceeds to ready signal transmission step S64. In S64, the second microcomputer 402 transmits a ready signal. The step in which the first microcomputer 401 responds to this S64 is the ready signal reception step S53 in FIG. Thereby, it is determined that the handshake was successful.
After that, in S66, the second microcomputer 402 receives the synchronization signal from the first microcomputer 401 and starts the timer at the same time as the first microcomputer 401 by interruption. As a result, the first microcomputer 401 and the second microcomputer 402 drive the motor 80 synchronously from the first time.

一方、経過時間が第2ハンドシェイク時間Ths2に達し、タイムアウトでハンドシェイクが失敗した場合、S62でNOと判断され、S67に移行する。S67では、第2マイコン402が単独でタイマスタートし、一系統駆動モードでモータ80を駆動する。
続くS50では、第2マイコン402のタイマスタート後に第1マイコン401が起動したか判断される。図12に示す動作例2では第1マイコン401が起動しておらず、S50でNOと判断される。図13、14に示す動作例2の変形例では、第2マイコン402のタイマスタート後に第1マイコン401が起動し、S50でYESと判断される。
On the other hand, when the elapsed time reaches the second handshake time Ths2 and the handshake fails due to timeout, it is determined as NO in S62, and the process proceeds to S67. In S67, the second microcomputer 402 independently starts the timer and drives the motor 80 in the single-system drive mode.
In the following S50, it is determined whether the first microcomputer 401 has started after the timer of the second microcomputer 402 has started. In the operation example 2 shown in FIG. 12, the first microcomputer 401 is not activated, and it is determined as NO in S50. In the modification of the operation example 2 shown in FIGS. 13 and 14, the first microcomputer 401 is activated after the timer of the second microcomputer 402 is started, and YES is determined in S50.

動作例2の変形例Aでは、図17に示すように、S50でYESと判断された場合、S68で、第1マイコン401からの同期予告信号に対し第2マイコン402が無効のレディ信号を送信する。S69では、第1ハンドシェイク時間Ths1の経過に伴うタイムアウトにより、第1マイコン401が単独で第2マイコン402とは非同期でタイマスタートする。これにより、一系統駆動モードから二系統の非同期駆動モードに移行する。
その後、S80では、図20に示す「第2マイコン同期処理」が実行され、同期条件が成立した場合には同期駆動モードに移行する。
動作例2の変形例Bでは、図18に示すように、S50でYESと判断された場合、そのまま処理を終了する。したがって、S67の「第2マイコンによる一系統駆動モード」が継続される。
In the modification A of the operation example 2, as shown in FIG. 17, when YES is determined in S50, in S68, the second microcomputer 402 transmits an invalid ready signal in response to the synchronization notice signal from the first microcomputer 401. do. In S69, the first microcomputer 401 independently and asynchronously with the second microcomputer 402 starts a timer due to a timeout due to the passage of the first handshake time Ths1. As a result, the one-system drive mode is changed to the two-system asynchronous drive mode.
After that, in S80, the "second microcomputer synchronization process" shown in FIG. 20 is executed, and when the synchronization condition is satisfied, the mode shifts to the synchronization drive mode.
In Modified Example B of Operation Example 2, as shown in FIG. 18, if YES is determined in S50, the process is terminated. Therefore, the "single-system drive mode by the second microcomputer" of S67 is continued.

次に、図19に示すハンドシェイク成否記憶処理において、S71ではハンドシェイクが実施される。
ハンドシェイクが成功し、S72でYESと判断されたとき、ハンドシェイク判定部611、612は、S73で成功フラグをONする。このとき、同期制御が実施される。
ハンドシェイクが失敗し、S72でNOと判断されたとき、ハンドシェイク判定部611、612は、S74で成功フラグをOFFする。このとき、非同期制御が実施される。
ハンドシェイク判定部611、612は、成功フラグのON/OFF情報を記憶する。
Next, in the handshake success/failure storage process shown in FIG. 19, a handshake is performed in S71.
When the handshake is successful and YES is determined in S72, the handshake determination units 611 and 612 turn on the success flag in S73. At this time, synchronous control is performed.
When the handshake fails and it is determined NO in S72, the handshake determination units 611 and 612 turn off the success flag in S74. At this time, asynchronous control is performed.
Handshake determination units 611 and 612 store ON/OFF information of the success flag.

図20の第2マイコン同期処理は、図17及び図22中のS80に相当する。図20において、成功フラグがOFFであり非同期制御中の場合、S81でYESと判断され、S82に移行して同期を試みる。成功フラグがONであり同期制御中の場合、S81でNOと判断され、処理を終了する。
その後、第2マイコン402は、同期周期Ts毎に第1マイコン401から同期信号が送信されるのを待ち、S82で同期信号を受信する。なお、第1マイコン401が起動しておらず第2マイコン402のみが一系統駆動モードで動作している場合には同期信号が送信されないため、待ち時間が上限値に達したら、処理を終了するようにしてもよい。
The second microcomputer synchronization process in FIG. 20 corresponds to S80 in FIGS. 17 and 22. FIG. In FIG. 20, when the success flag is OFF and asynchronous control is in progress, YES is determined in S81, and the process proceeds to S82 to attempt synchronization. If the success flag is ON and synchronous control is in progress, a determination of NO is made in S81, and the process ends.
After that, the second microcomputer 402 waits for the synchronization signal to be transmitted from the first microcomputer 401 every synchronization cycle Ts, and receives the synchronization signal in S82. Note that if the first microcomputer 401 is not activated and only the second microcomputer 402 is operating in the single-system drive mode, the synchronization signal is not transmitted. You may do so.

基礎形態のように、第2マイコン402のタイミング補正部422がタイミング判定部432を含む構成では、S83で、同期信号の受信タイミングが同期許可区間内であるか判定される。S83でYESと判断された場合、S84でタイミング補正が実施される。S83でNOと判断された場合、S82に戻り、第2マイコン402は、次の同期信号が送信されるのを待つ。
なお、タイミング補正部422がタイミング判定部432を含まない構成では、S83をスキップし、第2マイコン402が同期信号を受信したとき、常にタイミング補正が実施されてもよい。
In the configuration in which the timing correction unit 422 of the second microcomputer 402 includes the timing determination unit 432 as in the basic configuration, it is determined in S83 whether the reception timing of the synchronization signal is within the synchronization permission section. If YES is determined in S83, timing correction is performed in S84. If NO in S83, the process returns to S82, and the second microcomputer 402 waits for the next synchronization signal to be transmitted.
In a configuration in which the timing correction unit 422 does not include the timing determination unit 432, S83 may be skipped and timing correction may be performed whenever the second microcomputer 402 receives the synchronization signal.

[動作例4]
次に図21を参照し、異常信号が送受信されたことによりハンドシェイクが失敗する動作例4について説明する。ここでは、動作例2、3のようなタイムアウトに関する説明は省略する。
動作例1と同様にマイコン401、402は同時に起動し、期間1では、マイコン401、402が起動後の状態である。
期間2では、本来送信されるべき同期予告信号ではなく、高周波ノイズの異常信号が第1マイコン401から第2マイコン402に送信される。
[Operation example 4]
Next, with reference to FIG. 21, operation example 4 in which the handshake fails due to transmission/reception of an abnormal signal will be described. Here, the description of the timeout as in Operation Examples 2 and 3 will be omitted.
As in operation example 1, the microcomputers 401 and 402 are activated simultaneously, and in period 1, the microcomputers 401 and 402 are in a state after activation.
In the period 2, the high-frequency noise abnormal signal is transmitted from the first microcomputer 401 to the second microcomputer 402 instead of the synchronization notice signal that should be transmitted.

第2マイコン402のハンドシェイク判定部612は、期間2で異常信号が受信されたことを検出するとすぐに、ハンドシェイクが失敗したと判定する。そして、ハンドシェイク判定部612は、第2マイコン402が単独で駆動信号Dr2を生成するように駆動タイミング生成部442に通知する。
期間3では、第2マイコン402が単独でタイマスタートする。したがって、第2系統の一系統駆動モードでモータ80が駆動される。
The handshake determination unit 612 of the second microcomputer 402 determines that the handshake has failed as soon as it detects that an abnormal signal has been received in period 2 . The handshake determination unit 612 then notifies the drive timing generation unit 442 so that the second microcomputer 402 independently generates the drive signal Dr2.
In period 3, the second microcomputer 402 independently starts the timer. Therefore, the motor 80 is driven in the single-system drive mode of the second system.

期間3で第2マイコン402がタイマスタートした後、第2マイコン402は第1マイコン401に無効のレディ信号を送信する。
第1マイコン401のハンドシェイク判定部611は、ハンドシェイクが失敗したと判定し、第1マイコン401が単独で駆動信号Dr1を生成するように駆動タイミング生成部441に通知する。期間4では、第1マイコン401は、同期予告信号を終了する。
期間5では、第1マイコン401は同期信号を出力すると同時にタイマスタートする。これにより期間5では、二系統のマイコン401、402による非同期駆動モードでモータ80が駆動される。
After the second microcomputer 402 starts the timer in period 3, the second microcomputer 402 transmits an invalid ready signal to the first microcomputer 401 .
The handshake determination unit 611 of the first microcomputer 401 determines that the handshake has failed, and notifies the drive timing generation unit 441 so that the first microcomputer 401 independently generates the drive signal Dr1. In period 4, the first microcomputer 401 terminates the synchronization notice signal.
In period 5, the first microcomputer 401 outputs the synchronization signal and simultaneously starts the timer. Thus, in period 5, the motor 80 is driven in the asynchronous drive mode by the two systems of microcomputers 401 and 402 .

期間5の開始時から同期周期Ts後、期間6の開始時に第1マイコン401は第2マイコン402に同期信号を送信し、第2マイコン402はこれを受信する。この時、タイミング判定で正常と判定された場合、又は、タイミング判定が実施されない場合には、同期信号の立ち上がりタイミングで第2マイコン402のタイミング補正が実施され、以後、マイコン401、402は同期駆動モードでモータ80を駆動する。
このように、第2マイコン402が同期予告信号でなく異常信号を受信した場合にも、ECU101によるモータ80の駆動モードは、一系統駆動モード、非同期駆動モード、同期駆動モードの順に移行する。
After the synchronization period Ts from the start of the period 5, the first microcomputer 401 transmits a synchronization signal to the second microcomputer 402 at the start of the period 6, and the second microcomputer 402 receives it. At this time, if the timing determination is normal, or if the timing determination is not performed, the timing correction of the second microcomputer 402 is performed at the rising timing of the synchronization signal, and thereafter the microcomputers 401 and 402 are synchronously driven. drive the motor 80 in mode.
As described above, even when the second microcomputer 402 receives the abnormality signal instead of the synchronization notice signal, the drive mode of the motor 80 by the ECU 101 shifts to the single-system drive mode, the asynchronous drive mode, and the synchronous drive mode in this order.

[動作例4のフローチャート]
異常信号の送受信によるハンドシェイクの失敗を想定した動作例4における第2マイコン起動後処理について、図22のフローチャートを参照する。図22において、図17と共通のステップには同一のステップ番号を付し、適宜、説明を省略する。また、動作例4に特有のステップには、ステップ番号の末尾に文字「X」を記す。
図22では、第2マイコン402の起動後、第1マイコン401から送信される信号のタイムアウトを想定しない。すなわち、第2ハンドシェイク時間Ths2に第2マイコン402が何らかの信号を受信することを前提とする。
[Flowchart of Operation Example 4]
The flowchart of FIG. 22 will be referred to for the processing after starting the second microcomputer in the operation example 4 assuming that the handshake has failed due to transmission/reception of an abnormal signal. In FIG. 22, steps common to those in FIG. 17 are assigned the same step numbers, and descriptions thereof are omitted as appropriate. Further, a step unique to Operation Example 4 is indicated with the letter "X" at the end of the step number.
In FIG. 22, it is not assumed that the signal transmitted from the first microcomputer 401 times out after the second microcomputer 402 is activated. That is, it is assumed that the second microcomputer 402 receives some signal during the second handshake time Ths2.

S60で第2マイコン402が起動後、第2マイコン402が第1マイコン401から何らかの信号を受信し、S62XでYESと判断されたとき、S63Xでは、第2マイコン402が受信した信号が異常信号であるか否か判断される。
第2マイコン402が受信した信号が正常な同期予告信号であり、S63XでNOと判断された場合、図17と同様にS64、S66が実行される。
第2マイコン402が受信した信号が異常信号であり、S63XでYESと判断された場合、S67で第2マイコン402が単独でタイマスタートし、一系統駆動モードでモータ80を駆動する。以下、図17と同様にS68、S69、S80が実施される。
After the second microcomputer 402 is activated in S60, the second microcomputer 402 receives some signal from the first microcomputer 401. If YES is determined in S62X, in S63X the signal received by the second microcomputer 402 is an abnormal signal. It is determined whether there is
If the signal received by the second microcomputer 402 is a normal synchronization notice signal and it is determined NO in S63X, S64 and S66 are executed in the same manner as in FIG.
If the signal received by the second microcomputer 402 is an abnormal signal and YES is determined in S63X, the second microcomputer 402 independently starts the timer in S67 and drives the motor 80 in the single-system drive mode. Thereafter, S68, S69, and S80 are performed in the same manner as in FIG.

(効果)
以上のように、本実施形態のECU101は、マイコン401、402の起動後、同期予告信号とレディ信号とを互いに送受信するハンドシェイクを実施し、ハンドシェイクが成功したか否かの判定結果に応じた処置を行う。ハンドシェイクが成功したと判定された場合、初回から同期してモータ80を駆動することが可能となる。一方、ハンドシェイクが失敗したと判定された場合、非同期でモータ80の駆動を開始した後、次回以降の同期信号の送信タイミングでタイミング補正を行い、同期制御に移行する。
(effect)
As described above, after starting the microcomputers 401 and 402, the ECU 101 of the present embodiment carries out a handshake for mutually transmitting and receiving the synchronization notice signal and the ready signal. take corrective action. If it is determined that the handshake has succeeded, the motor 80 can be driven synchronously from the first time. On the other hand, if it is determined that the handshake has failed, the motor 80 is started to be driven asynchronously, and then the timing is corrected at the transmission timing of the synchronization signal from the next time onwards, and the control shifts to synchronization control.

このように、本実施形態のECU101は、マイコン401、402の起動後にハンドシェイクが成功した場合、初回から同期可能とすることができる。また、ハンドシェイクが成功した場合、二つのマイコン401、402が同時にタイマスタートするため、各マイコンが同期信号の複数周期を単位とする制御を行う場合でも、制御を同期させることができる。 In this manner, the ECU 101 of the present embodiment can enable synchronization from the first time when the handshake is successful after the microcomputers 401 and 402 are activated. Also, when the handshake is successful, the two microcomputers 401 and 402 start timers at the same time, so even when each microcomputer performs control in units of a plurality of cycles of the synchronization signal, the control can be synchronized.

[動作例5、6]
上記の動作例1~4は、第1マイコン401及び第2マイコン402がいずれも停止状態から電源ONされ、起動した時の初回ハンドシェイクについてのものである。ただし、本実施形態による初回ハンドシェイクの思想は、動作中のマイコンがリセット等により再起動した場合にも応用することができる。
次に、図23~図25を参照し、一方のマイコンによる一系統駆動モードでの動作継続中に他方のマイコンがリセット等により一時停止した後、再起動したときのハンドシェイク動作例5、6について説明する。動作例5については、5A、5Bの二通りのパターンを説明する。
[Operation examples 5 and 6]
The above operation examples 1 to 4 relate to the initial handshake when both the first microcomputer 401 and the second microcomputer 402 are powered on from the stopped state and started. However, the idea of the initial handshake according to this embodiment can also be applied when the microcomputer in operation is restarted due to reset or the like.
Next, referring to FIGS. 23 to 25, handshake operation examples 5 and 6 when one microcomputer is restarted after being temporarily stopped due to a reset or the like while the other microcomputer continues to operate in the single-system drive mode. will be explained. As for operation example 5, two patterns 5A and 5B will be described.

図23に示す動作例5Aでは、第2マイコン402の動作継続中に第1マイコン401がリセット等により再起動する。また、第2マイコン402のレディ信号の送信開始タイミングは、PWMタイマの谷のタイミングに対し所定の時間τRオフセットしている。
期間0では、第1マイコン401の再起動前の状態であり、第2マイコン402が単独で動作している。期間1では、第1マイコン401が再起動する。
In an operation example 5A shown in FIG. 23, the first microcomputer 401 is restarted by reset or the like while the second microcomputer 402 continues to operate. Also, the transmission start timing of the ready signal of the second microcomputer 402 is offset by a predetermined time τR with respect to the timing of the trough of the PWM timer.
Period 0 is the state before the first microcomputer 401 is restarted, and the second microcomputer 402 is operating alone. In period 1, the first microcomputer 401 is restarted.

期間2では、第1マイコン401は第2マイコン402からレディ信号を受信し、受信開始タイミングに基づいて、第2マイコン402のPWMタイマの谷のタイミングを把握する。そして、第1マイコン401は、第2マイコン402の谷のタイミングに合わせて同期信号を送信すべきタイミングを算出し、そのタイミングまで待つ。
期間3では、第1マイコン401は、算出したタイミングで同期信号を送信する。第2マイコン402は、第1マイコン401から受信した同期信号の立ち上がりタイミングでタイマを再スタートし同期駆動モードに移行する。これにより、第2マイコン402の動作連続性を確保しつつ、第1マイコン401の再起動後に同期制御させることができる。
In period 2, the first microcomputer 401 receives the ready signal from the second microcomputer 402 and grasps the timing of the trough of the PWM timer of the second microcomputer 402 based on the reception start timing. Then, the first microcomputer 401 calculates the timing at which the synchronization signal should be transmitted in accordance with the timing of the trough of the second microcomputer 402, and waits until that timing.
In period 3, the first microcomputer 401 transmits the synchronization signal at the calculated timing. The second microcomputer 402 restarts the timer at the rise timing of the synchronization signal received from the first microcomputer 401 and shifts to the synchronous drive mode. As a result, the continuity of the operation of the second microcomputer 402 can be ensured, and synchronous control can be performed after the first microcomputer 401 is restarted.

図24に示す動作例5Bでは、動作例5Aと同様に、第2マイコン402の動作継続中に第1マイコン401がリセット等により再起動する。また、第2マイコン402のレディ信号の送信開始タイミングは、PWMタイマの谷のタイミングと一致している。言い換えれば、動作例5Bは、動作例5Aにおいて「τR=0」の場合に相当する。
期間0、期間1は、動作例5Aと同様である。
期間2では、第1マイコン401は第2マイコン402からレディ信号を受信すると同時に同期信号を送信する。第2マイコン402は、第1マイコン401から受信した同期信号の立ち上がりタイミングでタイマを再スタートし同期駆動モードに移行する。これにより、第2マイコン402の動作連続性を確保しつつ、第1マイコン401の再起動後に同期制御させることができる。
In operation example 5B shown in FIG. 24, as in operation example 5A, the first microcomputer 401 is restarted by reset or the like while the second microcomputer 402 continues to operate. Also, the transmission start timing of the ready signal of the second microcomputer 402 coincides with the timing of the trough of the PWM timer. In other words, the operation example 5B corresponds to the case of "τR=0" in the operation example 5A.
Period 0 and period 1 are the same as in Operation Example 5A.
In period 2, the first microcomputer 401 receives the ready signal from the second microcomputer 402 and simultaneously transmits the synchronization signal. The second microcomputer 402 restarts the timer at the rise timing of the synchronization signal received from the first microcomputer 401 and shifts to the synchronous drive mode. As a result, the continuity of the operation of the second microcomputer 402 can be ensured, and synchronous control can be performed after the first microcomputer 401 is restarted.

図25に示す動作例6では、第1マイコン401の動作継続中に第2マイコン402がリセット等により再起動する。
期間0では、第2マイコン402の再起動前の状態であり、第1マイコン401が単独で動作している。期間1では、第2マイコン402が再起動する。
期間2では、第2マイコン402は、第1マイコン401から受信した同期信号の立ち上がりタイミングでタイマを再スタートし同期駆動モードに移行する。これにより、第2マイコン402の再起動後に同期制御させることができる。
In operation example 6 shown in FIG. 25, the second microcomputer 402 is restarted by a reset or the like while the first microcomputer 401 continues to operate.
Period 0 is the state before the second microcomputer 402 is restarted, and the first microcomputer 401 is operating alone. In period 1, the second microcomputer 402 is restarted.
In period 2, the second microcomputer 402 restarts the timer at the rising timing of the synchronization signal received from the first microcomputer 401 and shifts to the synchronous drive mode. As a result, synchronous control can be performed after the second microcomputer 402 is restarted.

以上のように、一方のマイコンの動作継続中に他方のマイコンが再起動した場合にも、再起動したマイコンが動作継続中のマイコンの同期信号又はレディ信号に合わせて、動作連続性を確保しつつ、タイマスタート時から同期制御することができる。
さらに、各マイコンが同期信号の複数周期を単位とする制御を行う場合、制御周期の基準タイミングを認識して、再起動したマイコンがタイマスタートすることで、複数周期単位の制御を同期させることができる。
As described above, even if one microcomputer restarts while the other microcomputer continues to operate, the restarted microcomputer synchronizes with the synchronous signal or ready signal of the microcomputer that continues to operate to ensure continuity of operation. Synchronous control can be performed from the timer start time.
Furthermore, when each microcomputer performs control in units of multiple cycles of the synchronization signal, it is possible to synchronize the control of multiple cycles by recognizing the reference timing of the control cycle and restarting the microcomputer to start the timer. can.

(第2実施形態)
第2実施形態について、図26、図27を参照して説明する。
図26に示すように、第2実施形態のECU102は、同期信号送信側マイコンである1つの第1マイコン401と、同期信号受信側マイコンである2つの第2マイコン402及び第3マイコン403とを備えている。各マイコンについて、同期信号及びレディ信号の送受信に関わる構成のみを図示する。第3マイコン403のタイミング補正部423、レディ信号送信部623、及びハンドシェイク判定部613は、いずれも、第2マイコン402のタイミング補正部422、レディ信号送信部622、及びハンドシェイク判定部612と同様の構成である。
なお、特許請求の範囲における括弧内の参照符号には、第3マイコン403の符号の記載を省略する。
(Second embodiment)
A second embodiment will be described with reference to FIGS. 26 and 27. FIG.
As shown in FIG. 26, the ECU 102 of the second embodiment includes a first microcomputer 401 as a synchronization signal transmitting side microcomputer, and two second and third microcomputers 402 and 403 as a synchronization signal receiving side microcomputer. I have. For each microcomputer, only the configuration related to transmission/reception of synchronization signals and ready signals is illustrated. The timing correction unit 423, the ready signal transmission unit 623, and the handshake determination unit 613 of the third microcomputer 403 are all the same as the timing correction unit 422, the ready signal transmission unit 622, and the handshake determination unit 612 of the second microcomputer 402. It has the same configuration.
It should be noted that the description of the reference numerals of the third microcomputer 403 is omitted from the reference numerals in parentheses in the claims.

図27には、図10に示す第1実施形態の動作例1に準じ、三つのマイコン間で起動後のハンドシェイクが成功する動作例を示す。図示に関する注記は、図10等と同様である。また、ハンドシェイク時間に関する説明は省略する。
期間1では、マイコン401、402、403が起動後の状態である。
期間2では、第1マイコン401は、同期予告信号を第2マイコン402及び第3マイコン403に送信する。
FIG. 27 shows an operation example in which handshake after startup is successful between three microcomputers according to operation example 1 of the first embodiment shown in FIG. Notes on the illustration are the same as in FIG. 10 and the like. Also, the description of the handshake time is omitted.
In period 1, the microcomputers 401, 402, and 403 are in a state after activation.
In period 2 , the first microcomputer 401 transmits a synchronization notice signal to the second microcomputer 402 and the third microcomputer 403 .

第2マイコン402及び第3マイコン403は、期間2で同期予告信号を受信する。
期間3では、第2マイコン402及び第3マイコン403は、その応答として、レディ信号を第1マイコン401に送信する。
第1マイコン401は、期間3でレディ信号を受信すると、期間4で、同期予告信号を終了する。
The second microcomputer 402 and the third microcomputer 403 receive the synchronization notice signal in period 2 .
In period 3, the second microcomputer 402 and the third microcomputer 403 transmit ready signals to the first microcomputer 401 in response.
When the first microcomputer 401 receives the ready signal in period 3, it terminates the synchronization notice signal in period 4. FIG.

期間2、3、4の動作を通じ、各マイコン401、402、403のハンドシェイク判定部611、612、613は、ハンドシェイクが成功したと判定し、各駆動タイミング生成部に対し初回同期を指令する。
期間5では、第1マイコン401は同期信号を出力すると同時にタイマスタートする。また、第2マイコン402及び第3マイコン403は、第1マイコン401から受信した同期信号の立ち上がりタイミングでタイマスタートする。これにより、マイコン401、402、403は、起動後の初回から同期して、すなわち同期駆動モードでモータ80を駆動する。
Through operations in periods 2, 3, and 4, the handshake determination units 611, 612, and 613 of the microcomputers 401, 402, and 403 determine that the handshake has succeeded, and issue an initial synchronization command to each drive timing generation unit. .
In period 5, the first microcomputer 401 outputs the synchronization signal and simultaneously starts the timer. Also, the second microcomputer 402 and the third microcomputer 403 start timers at the rising timing of the synchronization signal received from the first microcomputer 401 . As a result, the microcomputers 401, 402, and 403 drive the motor 80 synchronously from the first time after activation, that is, in the synchronous drive mode.

上記の第2実施形態は、一つの同期信号送信側マイコンをマスタ、複数の同期信号受信側マイコンをスレーブとみなしたマスタ/スレーブ型のECU構成で、ハンドシェイクを実施するものである。
また、三つのマイコンを備えるECUの別の構成として、例えば第1マイコンから第2マイコンに同期信号を送信し、且つ、第2マイコンから第3マイコンに同期信号を送信する構成としてもよい。この構成において第2マイコンは、第1マイコンとの関係では同期信号受信側マイコンとして機能し、第3マイコンとの関係では同期信号送信側マイコンとして機能する。すなわち、連鎖型のECU構成によりハンドシェイクが実施される。
In the above-described second embodiment, handshake is performed with a master/slave type ECU configuration in which one sync signal transmitting microcomputer is regarded as a master and a plurality of sync signal receiving microcomputers are regarded as slaves.
Further, as another configuration of the ECU including three microcomputers, for example, a configuration in which the synchronization signal is transmitted from the first microcomputer to the second microcomputer and the synchronization signal is transmitted from the second microcomputer to the third microcomputer may be employed. In this configuration, the second microcomputer functions as a synchronizing signal receiving microcomputer in relation to the first microcomputer, and functions as a synchronizing signal transmitting microcomputer in relation to the third microcomputer. That is, the handshake is implemented by the chained ECU configuration.

さらに、四つ以上のマイコンを備えるECUにおいても、マスタ/スレーブ型、連鎖型、又はその組み合わせの構成により、複数のマイコン間でのハンドシェイクを実施可能である。なお、三系統以上の装置において、ハンドシェイクが失敗したと判定されたとき、他マイコンにモータ駆動信号を生成させず、自マイコンのみでモータを駆動する駆動モードは、二系統の装置での「一系統駆動モード」に対し、「一部系統駆動モード」と言い換えられる。 Furthermore, even in an ECU having four or more microcomputers, it is possible to implement handshake between a plurality of microcomputers by using a master/slave type configuration, a chain type configuration, or a combination thereof. In addition, when it is determined that the handshake has failed in a device with three or more systems, the drive mode in which the motor drive signal is not generated by the other microcomputer and the motor is driven only by the own microcomputer is the " In contrast to "single system drive mode", it can be rephrased as "partial system drive mode".

(第3実施形態)
第3実施形態について、図28~図32を参照して説明する。第3実施形態は、第1実施形態に対し、同期信号及びレディ信号の通信に関する構成が異なる。
図28に示すように、第3実施形態のECU103は、第1マイコン401及び第2マイコン402がそれぞれ同期信号生成部411、412、及びタイミング補正部421、422を有する。第1マイコン401及び第2マイコン402は、「同期信号送信側マイコン」且つ「同期信号受信側マイコン」として機能し、同期信号を相互に送受信する。
この形態における同期信号線の構成は、実線で示すように、第1マイコン401から第2マイコン402への送信用の第1同期信号線471と、第2マイコン402から第1マイコン401への送信用の第2同期信号線472とを個別に備えてもよい。或いは、破線で示すように、双方向に通信可能な同期信号線48を用いてもよい。なお、双方向の同期信号線48、又は、一方向の同期信号線471、472のうち少なくとも一本は、マイコン間通信に用いられる他の通信用の信号線と共用されてもよい。
(Third embodiment)
A third embodiment will be described with reference to FIGS. 28 to 32. FIG. The third embodiment differs from the first embodiment in the configuration regarding the communication of the synchronization signal and the ready signal.
As shown in FIG. 28, in the ECU 103 of the third embodiment, the first microcomputer 401 and the second microcomputer 402 have synchronization signal generators 411 and 412 and timing correctors 421 and 422, respectively. The first microcomputer 401 and the second microcomputer 402 function as a "synchronization signal transmitting side microcomputer" and a "synchronization signal receiving side microcomputer", and mutually transmit and receive synchronization signals.
The configuration of the synchronous signal lines in this embodiment consists of a first synchronous signal line 471 for transmission from the first microcomputer 401 to the second microcomputer 402 and a transmission line from the second microcomputer 402 to the first microcomputer 401, as indicated by solid lines. A reliable second synchronization signal line 472 may be separately provided. Alternatively, a synchronization signal line 48 capable of bi-directional communication may be used, as indicated by the dashed line. At least one of the bidirectional sync signal line 48 and the unidirectional sync signal lines 471 and 472 may be shared with other communication signal lines used for inter-microcomputer communication.

共通の同期信号線48を双方向の信号線として用いる場合、図29に示すように、第1マイコン401から第2マイコン402への同期信号の送信タイミングと、その逆方向の同期信号の送信タイミングとは、互いに異なるタイミングに設定されている。特に図29の例では、マイコン401、402が交互に同期信号を送信する。
なお、第1実施形態での説明と同様に、同期信号線による双方向通信に代えて、同期信号送信側マイコンから同期信号受信側マイコンに対してポート信号のレベル変化を行うことで、同期信号を双方向に通知するようにしてもよい。
When the common synchronous signal line 48 is used as a bidirectional signal line, as shown in FIG. are set at different timings. Especially in the example of FIG. 29, microcomputers 401 and 402 alternately transmit synchronization signals.
As in the description of the first embodiment, instead of two-way communication using the synchronization signal line, the level of the port signal is changed from the microcomputer on the synchronization signal transmission side to the microcomputer on the synchronization signal reception side. may be notified in both directions.

この他、例えば、マイコン401、402の起動タイミングが異なる場合に、先に起動したマイコンが後から起動したマイコンに対して同期信号を送信するようにしてもよい。
また、主として第1マイコン401から第2マイコン402へ同期信号を送信し、何らかの場合にのみ逆方向の送信をするようにしてもよい。例えば、起動時には第2マイコン402からの同期信号に同期して第1マイコン401が起動し、その後は第1マイコン401からの同期信号に同期して第2マイコン402が動作するようにしてもよい。また、例えば第1マイコン401に異常が生じマイコンをリセットした際に、第2マイコン402からの同期信号をもとに自マイコンの動作開始タイミングを決定し動作を開始してもよい。この場合は、マイコン異常から復帰した際に初めから同期した状態でモータ駆動を再開することが可能である。
In addition, for example, when the activation timings of the microcomputers 401 and 402 are different, the microcomputer activated first may transmit the synchronization signal to the microcomputer activated later.
Alternatively, the synchronization signal may be mainly transmitted from the first microcomputer 401 to the second microcomputer 402, and may be transmitted in the opposite direction only in some cases. For example, the first microcomputer 401 may be activated in synchronization with the synchronization signal from the second microcomputer 402 at startup, and thereafter the second microcomputer 402 may operate in synchronization with the synchronization signal from the first microcomputer 401. . Further, for example, when the first microcomputer 401 has an abnormality and is reset, the operation start timing of the own microcomputer may be determined based on the synchronization signal from the second microcomputer 402 and the operation may be started. In this case, when the microcomputer recovers from the abnormality, it is possible to restart the motor drive in a synchronized state from the beginning.

また、レディ信号の送受信に関し、第1マイコン401及び第2マイコン402はいずれもレディ信号送受信部621、622を有し、レディ信号を相互に送受信可能である。ここで、レディ信号送信線475は、同期信号線と同様に二本の一方向通信線で構成されてもよく、双方向の通信線で構成されてもよい。
第3実施形態では、第1マイコン401及び第2マイコン402がそっくり同じ機能を備えており、完全な冗長性を有している。したがって、一系統についてのあらゆる故障パターンに対応可能であるため、信頼性をより向上させることができる。
また、各方向の同期信号の送信タイミングを異ならせ、共通の双方向同期信号線48を用いることにより、ECUの部品点数を減らし、構成を簡易にすることができる。
In addition, regarding transmission and reception of ready signals, both the first microcomputer 401 and the second microcomputer 402 have ready signal transmission/reception units 621 and 622, and can mutually transmit and receive ready signals. Here, the ready signal transmission line 475 may be composed of two unidirectional communication lines like the synchronization signal line, or may be composed of two-way communication lines.
In the third embodiment, the first microcomputer 401 and the second microcomputer 402 have exactly the same functions and have complete redundancy. Therefore, since it is possible to cope with all failure patterns for one system, the reliability can be further improved.
Further, by using a common two-way synchronization signal line 48 with different transmission timings of the synchronization signals in each direction, the number of parts of the ECU can be reduced and the configuration can be simplified.

[動作例7]
第3実施形態により、マイコン401、402が互いにレディ信号を送受信し合ってハンドシェイクする動作例7を図30に示す。動作例7における同期信号の送受信については、便宜上、第1マイコン401を同期信号送信側マイコンとし、第2マイコン402を同期信号受信側マイコンとする。ただし、マイコン401、402は、同期信号の送信側及び受信側を交代してもよい。或いは、図28の構成に限らず、レディ信号のみが双方向に送受信可能であり同期信号は一方向に送受信される構成のECUにおいて、動作例7が実行されてもよい。
[Operation example 7]
FIG. 30 shows an operation example 7 in which the microcomputers 401 and 402 transmit and receive ready signals to each other and perform handshake according to the third embodiment. For the synchronization signal transmission/reception in Operation Example 7, the first microcomputer 401 is assumed to be the synchronization signal transmission side microcomputer, and the second microcomputer 402 is assumed to be the synchronization signal reception side microcomputer for convenience. However, the microcomputers 401 and 402 may alternate the transmitting side and the receiving side of the synchronization signal. Alternatively, without being limited to the configuration of FIG. 28, the operation example 7 may be executed in an ECU configured so that only the ready signal can be transmitted/received bidirectionally and the synchronization signal is transmitted/received unidirectionally.

図30の矢印「R1-n(n=1,2,3)」は、第1マイコン401の起動後、n回目に第1マイコン401から第2マイコン402に送信するレディ信号を表す。矢印「R2-n(n=1,2)」は、第2マイコン401の起動後、n回目に第2マイコン402から第1マイコン401に送信するレディ信号を表す。これらのレディ信号には、自マイコンの起動完了を通知するレディ信号と、ハンドシェイクの成功(図中「HS-OK」)を意味するレディ信号との2種類が含まれる。
図30では、細かな期間の細かな区分を省略し、大きな枠組でのみ区別する。期間1の時刻r10に第1マイコン401は第2マイコン402よりも先に起動する。第1マイコン401は、起動後、所定の周期で時刻r11、r12に「起動完了」のレディ信号R1-1、R1-2を送信するが、第2マイコン402が起動前なので受信されない。図中の「NG」は、レディ信号が受信されないことを意味する。
Arrows “R1-n (n=1, 2, 3)” in FIG. 30 represent the ready signal transmitted from the first microcomputer 401 to the second microcomputer 402 at the n-th time after the first microcomputer 401 is activated. The arrow “R2-n (n=1, 2)” represents the ready signal transmitted from the second microcomputer 402 to the first microcomputer 401 at the n-th time after the second microcomputer 401 is activated. These ready signals include two types, a ready signal that notifies completion of activation of the own microcomputer and a ready signal that indicates success of handshake ("HS-OK" in the figure).
In FIG. 30, the fine segmentation of the fine periods is omitted and distinguished only in the broad framework. At time r10 in period 1, the first microcomputer 401 is activated before the second microcomputer 402 is activated. After starting, the first microcomputer 401 transmits ready signals R1-1 and R1-2 indicating "completion of starting" at times r11 and r12 in a predetermined period. "NG" in the figure means that the ready signal is not received.

次に、期間2の時刻r20に第2マイコン402が起動した後、時刻r21に第2マイコン402が「起動完了」のレディ信号R2-1を送信し、第1マイコン401がこれを受信する。レディ信号R2-1受信後の時刻r13に、第1マイコン401は、「ハンドシェイク成功」のレディ信号R1-3を送信し、第2マイコン402がこれを受信する。続いて、レディ信号R1-3受信後の時刻r22に、第2マイコン402は、「ハンドシェイク成功」のレディ信号R2-2を送信する。なお、第1マイコン401はレディ信号R2-2を受信するが、既にハンドシェイクの成功を判定済みであるため、レディ信号R2-2は無視される。 Next, after the second microcomputer 402 is activated at time r20 of period 2, the second microcomputer 402 transmits a ready signal R2-1 indicating "activation completed" at time r21, and the first microcomputer 401 receives this. At time r13 after receiving the ready signal R2-1, the first microcomputer 401 transmits the ready signal R1-3 of "handshake successful", and the second microcomputer 402 receives this. Subsequently, at time r22 after receiving the ready signal R1-3, the second microcomputer 402 transmits a ready signal R2-2 indicating "handshake successful". Although the first microcomputer 401 receives the ready signal R2-2, it ignores the ready signal R2-2 because it has already determined that the handshake was successful.

こうして、マイコン401、402共にハンドシェイクの成功が判定されると、次の期間3では、第1マイコン401は、同期信号を出力すると同時にタイマスタートする。第2マイコン402は、第1マイコン401から受信した同期信号の立ち上がりタイミングでタイマスタートする。これにより、マイコン401、402は、起動後の初回から同期してモータ80を駆動する。 In this way, when both the microcomputers 401 and 402 determine that the handshake has succeeded, in the next period 3, the first microcomputer 401 outputs the synchronization signal and simultaneously starts the timer. The second microcomputer 402 starts a timer at the rising timing of the synchronization signal received from the first microcomputer 401 . As a result, the microcomputers 401 and 402 drive the motor 80 synchronously from the first time after activation.

動作例7の第1マイコン401及び第2マイコン402の起動後処理を、それぞれ図31、図32のフローチャートに示す。図31、図32において、図16、図17と共通のステップには同一のステップ番号を付し、適宜、説明を省略する。また、動作例7に特有のステップには、ステップ番号の末尾に文字「R」を記す。
図31に示す第1マイコン起動後処理において、第1マイコン401は、S51Rで、第2マイコン402に「起動完了」のレディ信号を送信するとともに、経過時間の計時を開始する。
経過時間が第1ハンドシェイク時間Ths1未満であり、S52でYESと判断されたとき、S53Rでは、第1マイコン401が第2マイコン402から「起動完了」のレディ信号を受信したか判断される。第1マイコン401が「起動完了」のレディ信号を受信しており、S53RでYESと判断された場合、第1マイコン401は、S54Rで、第2マイコン402に「ハンドシェイク成功」のレディ信号を送信し、S56に移行する。
The post-startup processing of the first microcomputer 401 and the second microcomputer 402 of Operation Example 7 are shown in the flowcharts of FIGS. 31 and 32, respectively. In FIGS. 31 and 32, steps common to those in FIGS. 16 and 17 are denoted by the same step numbers, and description thereof will be omitted as appropriate. Further, the step specific to the operation example 7 is marked with the letter "R" at the end of the step number.
In the first microcomputer activation post-processing shown in FIG. 31, in S51R, the first microcomputer 401 transmits a ready signal indicating "completion of activation" to the second microcomputer 402 and starts counting the elapsed time.
When the elapsed time is less than the first handshake time Ths1 and it is determined YES in S52, it is determined in S53R whether the first microcomputer 401 has received a ready signal indicating "completion of activation" from the second microcomputer 402. If the first microcomputer 401 has received the "completion of startup" ready signal and it is determined YES in S53R, the first microcomputer 401 transmits the "handshake successful" ready signal to the second microcomputer 402 in S54R. Then, the process proceeds to S56.

第1マイコン401が「起動完了」のレディ信号を受信しておらず、S53RでNOと判断された場合、S55Rでは、第1マイコン401が第2マイコン402から「ハンドシェイク成功」のレディ信号を受信したか判断される。S55RでYESと判断された場合、S56に移行する。「ハンドシェイク成功」のレディ信号を未受信であり、S55RでNOと判断された場合、S52の前に戻る。
経過時間が第1ハンドシェイク時間Ths1に達し、S52でNO(すなわち、タイムアウト)と判断された場合もS56に移行する。
第1マイコン401は、S56で、第2マイコン402に同期信号を送信する。以下のS57~S59は図16と同様である。つまり、「ハンドシェイク成功」のレディ信号が送受信された場合にはS58で同期制御が行われ、タイムアウトの場合にはS59で非同期制御が行われる。
If the first microcomputer 401 has not received the "startup complete" ready signal and it is determined NO in S53R, the first microcomputer 401 receives the "handshake successful" ready signal from the second microcomputer 402 in S55R. It is determined whether it has been received. If YES is determined in S55R, the process proceeds to S56. If the ready signal of "handshake success" has not been received and it is determined NO in S55R, the process returns to before S52.
If the elapsed time reaches the first handshake time Ths1 and it is determined as NO (that is, timeout) in S52, the process also proceeds to S56.
The first microcomputer 401 transmits a synchronization signal to the second microcomputer 402 in S56. The following S57 to S59 are the same as in FIG. That is, when the ready signal of "handshake success" is transmitted/received, synchronous control is performed in S58, and when timeout occurs, asynchronous control is performed in S59.

図32に示す第2マイコン起動後処理において、第2マイコン402は、S61Rで、第1マイコン402に「起動完了」のレディ信号を送信するとともに、経過時間の計時を開始する。
経過時間が第2ハンドシェイク時間Ths2未満であり、S62でYESと判断されたとき、S63Rでは、第2マイコン402が第1マイコン401から「起動完了」のレディ信号を受信したか判断される。第2マイコン402が「起動完了」のレディ信号を受信しており、S63RでYESと判断された場合、第2マイコン402は、S64Rで、第1マイコン401に「ハンドシェイク成功」のレディ信号を送信し、S66に移行する。
In the second microcomputer activation post-processing shown in FIG. 32, in S61R, the second microcomputer 402 transmits a ready signal indicating "completion of activation" to the first microcomputer 402 and starts counting the elapsed time.
When the elapsed time is less than the second handshake time Ths2 and it is determined YES in S62, it is determined in S63R whether the second microcomputer 402 has received a ready signal indicating "completion of activation" from the first microcomputer 401. FIG. If the second microcomputer 402 has received the ready signal of "completion of startup" and YES is determined in S63R, the second microcomputer 402 sends the ready signal of "handshake success" to the first microcomputer 401 in S64R. It transmits, and it transfers to S66.

第2マイコン402が「起動完了」のレディ信号を受信しておらず、S63RでNOと判断された場合、S65Rでは、第2マイコン402が第1マイコン401から「ハンドシェイク成功」のレディ信号を受信したか判断される。S65RでYESと判断された場合、S66に移行する。「ハンドシェイク成功」のレディ信号を未受信であり、S65RでNOと判断された場合、S62の前に戻る。
経過時間が第2ハンドシェイク時間Ths2に達し、S62でNO(すなわち、タイムアウト)と判断された場合、S67で、第2マイコン402が単独でタイマスタートし、非同期制御を行う。なお、S67の後、図17と同様に、第1マイコン起動後の同期処理ステップS50、S68、S69、S80が行われてもよい。
以上のように、動作例7では、マイコン401、402が互いにレディ信号を送受信し合うことにより、好適にハンドシェイクを実行することができる。
If the second microcomputer 402 has not received the "completion of startup" ready signal and it is determined NO in S63R, the second microcomputer 402 receives the "successful handshake" ready signal from the first microcomputer 401 in S65R. It is determined whether it has been received. If YES is determined in S65R, the process proceeds to S66. If the "handshake successful" ready signal has not been received and it is determined NO in S65R, the process returns to before S62.
When the elapsed time reaches the second handshake time Ths2 and it is determined NO (that is, timeout) in S62, the second microcomputer 402 independently starts the timer in S67 to perform asynchronous control. After S67, synchronization processing steps S50, S68, S69, and S80 after starting the first microcomputer may be performed in the same manner as in FIG.
As described above, in the operation example 7, the microcomputers 401 and 402 transmit and receive ready signals to each other, so that the handshake can be preferably executed.

(その他の実施形態)
(a)上記実施形態の制御対象であるモータ80は、二組の巻線組801、802が共通のステータに互いに電気角30degずらして配置される多重巻線モータである。その他の実施形態で制御対象とされるモータは、二組以上の巻線組が同位相で配置されるものでもよい。また、二組以上の巻線組が一つのモータの共通のステータに配置される構成に限らず、例えば各巻線組が別々に巻回された複数のステータにより協働してトルクを出力する複数のモータに適用されてもよい。
また、多相ブラシレスモータの相の数は、三相に限らず四相以上でもよい。さらに駆動対象のモータは、交流ブラシレスモータに限らず、ブラシ付き直流モータとしてもよい。その場合、「モータ駆動回路」としてHブリッジ回路を用いてもよい。
(Other embodiments)
(a) The motor 80 to be controlled in the above embodiment is a multi-winding motor in which two sets of windings 801 and 802 are arranged on a common stator with an electrical angle of 30 degrees shifted from each other. A motor to be controlled in other embodiments may have two or more winding sets arranged in the same phase. In addition, the configuration is not limited to a configuration in which two or more sets of windings are arranged on a common stator of one motor. may be applied to the motor of
Also, the number of phases of the polyphase brushless motor is not limited to three, and may be four or more. Furthermore, the motor to be driven is not limited to an AC brushless motor, and may be a brushed DC motor. In that case, an H-bridge circuit may be used as the "motor drive circuit".

(b)図10、図15に示すハンドシェイク動作例では、第1マイコン401が起動後、ハイレベルの同期信号を同期予告信号として第2マイコン402に送信している。このような同期予告信号を用いる構成に限らず、第1マイコン401が起動したことが何らかの手段によって第2マイコン402に通知され、それに基づき第2マイコン402がレディ信号を送信するようにしてもよい。 (b) In the handshake operation examples shown in FIGS. 10 and 15, after the first microcomputer 401 is activated, it transmits a high-level synchronization signal to the second microcomputer 402 as a synchronization notice signal. The second microcomputer 402 may be notified by some means that the first microcomputer 401 has started, and the second microcomputer 402 may transmit the ready signal based on this, without being limited to the configuration using such a synchronization notice signal. .

また、例えば、第2マイコン402の起動以前に必ず第1マイコン401が起動するシステムでは、第1マイコン401からの同期予告信号を用いず、第2マイコン402が独自のタイミングでのレディ信号を送信してもよい。この場合、初回ハンドシェイク部611、612は、第2マイコン402から第1マイコン401へのレディ信号の送受信が正常に行われたことのみにより、ハンドシェイクが成功したと判定することができる。 Further, for example, in a system in which the first microcomputer 401 always starts up before the second microcomputer 402 starts up, the second microcomputer 402 does not use the synchronization notice signal from the first microcomputer 401, and the second microcomputer 402 transmits a ready signal at its own timing. You may In this case, the initial handshake units 611 and 612 can determine that the handshake was successful only by the fact that the ready signal was normally transmitted and received from the second microcomputer 402 to the first microcomputer 401 .

(c)モータ制御装置は、モータ駆動タイミング生成部に同期するアナログ信号サンプリング部を備えなくてもよい。その場合、モータ制御装置は、外部から取得したデジタルデータに基づいて制御演算を行ってもよい。或いは、フィードバック情報を用いず、フィードフォワード制御を実施してもよい。
また、アナログ信号サンプリング部を備える構成において、サンプリングタイミングがモータ駆動信号のスイッチタイミングに重なるようにしてもよい。
(c) The motor control device does not have to include an analog signal sampling section that synchronizes with the motor drive timing generation section. In that case, the motor control device may perform control calculations based on externally acquired digital data. Alternatively, feedforward control may be implemented without using feedback information.
Further, in a configuration including an analog signal sampling section, the sampling timing may overlap with the switching timing of the motor drive signal.

(d)モータ駆動信号の生成方式として、図8等に示されるPWM制御方式に限らず、例えば、予め記憶した複数のパルスパターンから変調率や回転数に応じて最適なパターンを選択するパルスパターン方式等を採用してもよい。また、PWM制御方式のキャリアは三角波に限らず、鋸波を用いてもよい。 (d) The method of generating the motor drive signal is not limited to the PWM control method shown in FIG. method or the like may be adopted. Further, the carrier of the PWM control method is not limited to a triangular wave, and a sawtooth wave may be used.

(e)本発明のモータ制御装置は、電動パワーステアリング装置用のモータに限らず、他のいかなる用途のモータに適用されてもよい。
以上、本発明はこのような実施形態に限定されるものではなく、発明の趣旨を逸脱しない範囲において、種々の形態で実施することができる。
(e) The motor control device of the present invention is not limited to motors for electric power steering devices, and may be applied to motors for any other purpose.
As described above, the present invention is not limited to such embodiments, and can be embodied in various forms without departing from the scope of the invention.

101、102、103・・・ECU(モータ制御装置)、
401・・・第1(同期信号送信側)マイコン、
402・・・第2(同期信号受信側)マイコン、
441、442・・・駆動タイミング生成部、
451、452・・・駆動信号生成部、
651、652・・・クロック生成回路、
701、702・・・モータ駆動回路、 80・・・モータ。
101, 102, 103...ECU (motor control device),
401... First (synchronization signal transmitting side) microcomputer,
402 ... second (synchronization signal receiving side) microcomputer,
441, 442 ... drive timing generators,
451, 452 ... drive signal generator,
651, 652... clock generation circuit,
701, 702... Motor drive circuit, 80... Motor.

Claims (1)

一つ以上のモータ(80)を駆動する複数のモータ駆動回路(701、702)と、
前記複数のモータ駆動回路にそれぞれ指令するモータ駆動信号(Dr1、Dr2)を生成する駆動信号生成部(451、452)、及び、前記モータ駆動信号のパルスタイミングである駆動タイミングを生成する駆動タイミング生成部(441、442)を有する複数のマイコン(401、402)と、
前記複数のマイコンが動作の基準とするクロックをそれぞれ独立して生成する複数のクロック生成回路(651、652)と、
を備え、
前記複数のマイコンのうち、自マイコンの前記駆動タイミングに同期し、且つ、前記複数のマイコンの前記駆動タイミングを同期させる同期信号を送信する少なくとも一つのマイコンを同期信号送信側マイコン(401)とし、前記同期信号送信側マイコンから送信された前記同期信号を受信する少なくとも一つのマイコンを同期信号受信側マイコン(402)とすると、
前記同期信号送信側マイコン、及び前記同期信号を受信した前記同期信号受信側マイコンが同期して前記モータを駆動する同期駆動モード、
前記同期信号を用いず、前記同期信号送信側マイコン及び前記同期信号受信側マイコンが非同期で前記モータを駆動する非同期駆動モード、並びに、
前記同期信号送信側マイコン又は前記同期信号受信側マイコンの一方のみで前記モータを駆動する一部系統駆動モード、
の三つの駆動モードについて、
前記同期信号送信側マイコン及び前記同期信号受信側マイコンの起動時において、前記一部系統駆動モード、前記非同期駆動モード、前記同期駆動モードの順に移行する場合があるモータ制御装置。
a plurality of motor drive circuits (701, 702) for driving one or more motors (80);
Drive signal generators (451, 452) for generating motor drive signals (Dr1, Dr2) for commanding the plurality of motor drive circuits, and drive timing generators for generating drive timings, which are pulse timings of the motor drive signals. a plurality of microcomputers (401, 402) having units (441, 442);
a plurality of clock generation circuits (651, 652) that independently generate clocks that are used as references for the operation of the plurality of microcomputers;
with
At least one microcomputer among the plurality of microcomputers that synchronizes with the drive timing of its own microcomputer and that transmits a synchronization signal for synchronizing the drive timings of the plurality of microcomputers is defined as a synchronization signal transmission side microcomputer (401), Assuming that at least one microcomputer that receives the synchronization signal transmitted from the synchronization signal transmission side microcomputer is a synchronization signal reception side microcomputer (402),
a synchronous drive mode in which the synchronization signal transmitting side microcomputer and the synchronization signal receiving side microcomputer that has received the synchronization signal drive the motor in synchronization;
an asynchronous drive mode in which the synchronization signal transmitting side microcomputer and the synchronization signal receiving side microcomputer drive the motor asynchronously without using the synchronization signal;
a partial system drive mode in which the motor is driven by only one of the synchronization signal transmitting side microcomputer and the synchronization signal receiving side microcomputer;
For the three driving modes of
A motor control device that may shift in order of the partial system drive mode, the asynchronous drive mode, and the synchronous drive mode when the synchronous signal transmission side microcomputer and the synchronous signal reception side microcomputer are started.
JP2022014393A 2016-07-11 2022-02-01 motor controller Active JP7239030B2 (en)

Applications Claiming Priority (5)

Application Number Priority Date Filing Date Title
JP2016136611 2016-07-11
JP2016136611 2016-07-11
JP2017051260 2017-03-16
JP2017051260 2017-03-16
JP2017126972A JP7024226B2 (en) 2016-07-11 2017-06-29 Motor control device, motor drive system, and motor control method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2017126972A Division JP7024226B2 (en) 2016-07-11 2017-06-29 Motor control device, motor drive system, and motor control method

Publications (2)

Publication Number Publication Date
JP2022048288A JP2022048288A (en) 2022-03-25
JP7239030B2 true JP7239030B2 (en) 2023-03-14

Family

ID=60953056

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022014393A Active JP7239030B2 (en) 2016-07-11 2022-02-01 motor controller

Country Status (3)

Country Link
JP (1) JP7239030B2 (en)
DE (1) DE112017003491B4 (en)
WO (1) WO2018012419A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7024226B2 (en) 2016-07-11 2022-02-24 株式会社デンソー Motor control device, motor drive system, and motor control method
JP7010081B2 (en) 2018-03-15 2022-01-26 株式会社デンソー Motor control device and motor drive system
JP7115168B2 (en) * 2018-09-11 2022-08-09 株式会社ジェイテクト motor controller
CN109742811A (en) * 2019-02-28 2019-05-10 苏州科技大学 A kind of minitype gas dynamotor based on Phototube Coupling and machine operation method
CN114779881B (en) * 2021-12-07 2023-07-04 北京科银京成技术有限公司 Synchronous detection method, device, equipment and storage medium for redundancy computer
DE102022128458A1 (en) 2022-10-27 2024-05-02 Schaeffler Technologies AG & Co. KG Control of an electrical machine with two separate winding systems as well as corresponding control system and operation of an actuator of a steer-by-wire system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001204195A (en) 2000-01-19 2001-07-27 Hitachi Ltd Driving system for ac motor
WO2010061918A1 (en) 2008-11-27 2010-06-03 日立オートモティブシステムズ株式会社 Electric motor control device and operation control method

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3661578B2 (en) * 2000-08-11 2005-06-15 住友重機械工業株式会社 Motor controller for injection molding machine
JP5223945B2 (en) 2011-05-10 2013-06-26 日本精工株式会社 Control method and control apparatus for electric power steering apparatus
JP5672278B2 (en) 2012-08-29 2015-02-18 株式会社デンソー Control device for three-phase rotating machine
JP5962833B2 (en) 2015-01-16 2016-08-03 Toto株式会社 Electrostatic chuck
JP2017051260A (en) 2015-09-07 2017-03-16 西堂 達裕 Effective pulse current waveform pattern outputted by beauty device
JP6361679B2 (en) 2016-01-08 2018-07-25 オンキヨー株式会社 Amplifier

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001204195A (en) 2000-01-19 2001-07-27 Hitachi Ltd Driving system for ac motor
WO2010061918A1 (en) 2008-11-27 2010-06-03 日立オートモティブシステムズ株式会社 Electric motor control device and operation control method

Also Published As

Publication number Publication date
JP2022048288A (en) 2022-03-25
DE112017003491B4 (en) 2022-01-20
DE112017003491T5 (en) 2019-04-25
WO2018012419A1 (en) 2018-01-18

Similar Documents

Publication Publication Date Title
JP7239030B2 (en) motor controller
JP7024226B2 (en) Motor control device, motor drive system, and motor control method
US11242087B2 (en) Motor control apparatus, motor drive system, and motor control method
JP6911561B2 (en) Motor control device, motor drive system, and motor control method
US11518435B2 (en) Motor control apparatus and motor driving system
JP6798476B2 (en) Motor control device, motor drive system, and motor control method
JP7052347B2 (en) Motor control device, motor drive system, and motor control method
US10668945B2 (en) Motor control apparatus, motor drive system, and motor control method
JP7024223B2 (en) Motor control device, motor drive system, and motor control method
CN106254057B (en) Communication system
JP6662721B2 (en) Control device, motor control device, and electric power steering device
JP6452889B2 (en) Electric motor
CN110816645B (en) Vehicle control device
JP2020108327A (en) Control arrangement
CN108688717B (en) Vehicle control device
WO2018012420A1 (en) Motor control device, motor drive system and motor control method
JP2020078107A (en) Motor control device
CN110871839B (en) Vehicle control device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220201

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230213

R151 Written notification of patent or utility model registration

Ref document number: 7239030

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151