JP2014154043A - Electronic control device and information processor - Google Patents

Electronic control device and information processor Download PDF

Info

Publication number
JP2014154043A
JP2014154043A JP2013024921A JP2013024921A JP2014154043A JP 2014154043 A JP2014154043 A JP 2014154043A JP 2013024921 A JP2013024921 A JP 2013024921A JP 2013024921 A JP2013024921 A JP 2013024921A JP 2014154043 A JP2014154043 A JP 2014154043A
Authority
JP
Japan
Prior art keywords
pwm signal
creation
pulse
signal
pulse 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.)
Pending
Application number
JP2013024921A
Other languages
Japanese (ja)
Inventor
Mitsuo Sawada
光男 沢田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toyota Motor Corp
Original Assignee
Toyota Motor Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toyota Motor Corp filed Critical Toyota Motor Corp
Priority to JP2013024921A priority Critical patent/JP2014154043A/en
Publication of JP2014154043A publication Critical patent/JP2014154043A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an electronic control device capable of detecting a transient state until a microcomputer becomes abnormal.SOLUTION: An electronic control device 100 including first information processing means 12 for continuously outputting a pulse signal and second information processing means 13 for receiving the pulse signal comprises: PWM signal creation means 34 for creating a PWM signal by calculating external information acquired from the outside; pulse signal creation means 32 for, when the PWM signal creation means starts the creation of the PWM signal, setting the pulse signal to Low, and for, when the PWM signal creation means ends the creation of the PWM signal, setting the pulse signal to High, or for, when the PWM signal creation means starts the creation of the PWM signal, setting the pulse signal to Low, and for, when the PWM signal creation means ends the creation of the PWM signal, setting the pulse signal to High to create the pulse signal; and creation time measurement means 41 and 43 for monitoring the pulse signal, and for measuring creation time since the PWM signal creation means starts the creation of the PWM signal until the PWM signal creation means ends the creation of the PWM signal.

Description

本発明は、処理負荷を監視する電子制御装置に関する。   The present invention relates to an electronic control device that monitors a processing load.

車両には各種の車載装置を制御するECU(Electronic Control Computer)が搭載されている。このECUには、車載装置を制御するマイコンが搭載されるが、マイコンに異常が生じた場合に早期に復帰させるためマイコンを監視する監視方法が考案されている(例えば、特許文献1参照。)。特許文献1には、ウォッチドッグタイマがカウントする値を、制御CPUが定期的にクリアし、カウント値が所定値を超えた場合に制御CPUの異常を検出するCPU演算時間監視方法が開示されている。   The vehicle is equipped with an ECU (Electronic Control Computer) that controls various in-vehicle devices. The ECU is equipped with a microcomputer for controlling the in-vehicle device. However, a monitoring method for monitoring the microcomputer is devised in order to restore it early when an abnormality occurs in the microcomputer (see, for example, Patent Document 1). . Patent Document 1 discloses a CPU calculation time monitoring method in which a control CPU periodically clears a value counted by a watchdog timer and detects an abnormality of the control CPU when the count value exceeds a predetermined value. Yes.

特開2002-315346号公報JP 2002-315346 A

しかしながら、特許文献1に開示されたマイコンの監視方法では、監視対象のマイコンに異常が生じるまでは異常を検出することができないという問題がある。換言すると、ウォッチドッグタイマのクリアが遅れるほどの異常が生じる前の過渡的な状態を検出できない。   However, the microcomputer monitoring method disclosed in Patent Document 1 has a problem that an abnormality cannot be detected until an abnormality occurs in the monitoring target microcomputer. In other words, it is not possible to detect a transitional state before an abnormality occurs so that the clearing of the watchdog timer is delayed.

本発明は、マイコンが異常となるまでの過渡的な状態を検出可能な電子制御装置を提供することを目的とする。   An object of the present invention is to provide an electronic control device capable of detecting a transient state until a microcomputer becomes abnormal.

本発明は、パルス信号を継続的に出力する第1の情報処理手段と、前記パルス信号を受信する第2の情報処理手段とを有する電子制御装置であって、外部から取得した外部情報を演算してPWM信号を作成するPWM信号作成手段と、前記PWM信号作成手段がPWM信号の作成を開始した時に前記パルス信号をLowに設定し作成を終了した時にHighに設定するか、又は、PWM信号の作成を開始した時にLowに設定し作成を終了した時にHighに設定することで前記パルス信号を作成するパルス信号作成手段と、前記パルス信号を監視して、前記PWM信号作成手段がPWM信号の作成を開始した時から終了する時までの作成時間を測定する作成時間測定手段と、を有することを特徴とする。   The present invention is an electronic control device having first information processing means for continuously outputting a pulse signal and second information processing means for receiving the pulse signal, and calculates external information acquired from the outside. PWM signal generating means for generating a PWM signal and setting the pulse signal to Low when the PWM signal generating means starts generating the PWM signal and setting it to High when the generation is completed, or PWM signal The pulse signal creating means for creating the pulse signal by setting to Low when the creation of the signal is started and setting to High when the creation is completed, and monitoring the pulse signal, and the PWM signal creating means And a creation time measuring means for measuring a creation time from the start to the end of creation.

マイコンが異常となるまでの過渡的な状態を検出可能な電子制御装置を提供することができる。   It is possible to provide an electronic control device capable of detecting a transient state until the microcomputer becomes abnormal.

本実施形態のモータ制御装置におけるマイコンの監視方法の概略的な特徴を説明する図の一例である。It is an example of the figure explaining the general | schematic characteristic of the monitoring method of the microcomputer in the motor control apparatus of this embodiment. モータの制御系のブロック図の一例、デューティの算出方法を模式的に説明する図の一例である。It is an example of the block diagram of a motor control system, and an example of the figure which illustrates the calculation method of a duty typically. モータ制御マイコンと監視マイコンの概略構成図の一例である。It is an example of a schematic block diagram of a motor control microcomputer and a monitoring microcomputer. キャリア波、PWM信号、及び、パルス出力について説明する図の一例である。It is an example of the figure explaining a carrier wave, a PWM signal, and a pulse output. モータ制御マイコンの動作手順を示すフローチャート図の一例である。It is an example of the flowchart figure which shows the operation | movement procedure of a motor control microcomputer. 監視マイコンの動作手順を示すフローチャート図の一例である。It is an example of the flowchart figure which shows the operation | movement procedure of a monitoring microcomputer. モータ制御マイコンと監視マイコンの機能ブロック図の一例である(実施例2)。It is an example of the functional block diagram of a motor control microcomputer and a monitoring microcomputer (Example 2). キャリア波、PWM信号、及び、パルス出力について説明する図の一例である。It is an example of the figure explaining a carrier wave, a PWM signal, and a pulse output. モータ制御マイコンの動作手順を示すフローチャート図の一例である(実施例2)。(Example 2) which is an example of the flowchart figure which shows the operation | movement procedure of a motor control microcomputer. 監視マイコンの動作手順を示すフローチャート図の一例である(実施例2)。It is an example of the flowchart figure which shows the operation | movement procedure of the monitoring microcomputer (Example 2).

以下、本発明を実施するための形態について図面を参照しながら説明する。   Hereinafter, embodiments for carrying out the present invention will be described with reference to the drawings.

図1は本実施形態のモータ制御装置におけるマイコンの監視方法の概略的な特徴を説明する図の一例である。モータ制御マイコン12は三相モータの制御信号を監視マイコン13に出力すると共に、監視マイコン13がモータ制御マイコン12を監視するためのパルスを継続的に出力している。監視マイコン13はパルスが出力されていること(ON/OFFの変化が所定時間内に繰り返されていること)を検出して、モータ制御マイコン12が正常であることを検出している。以下、パルスで監視することを「ウォッチドッグ」という。   FIG. 1 is an example of a diagram for explaining the schematic features of a microcomputer monitoring method in the motor control apparatus of this embodiment. The motor control microcomputer 12 outputs a control signal for the three-phase motor to the monitoring microcomputer 13, and the monitoring microcomputer 13 continuously outputs pulses for monitoring the motor control microcomputer 12. The monitoring microcomputer 13 detects that the pulse is output (ON / OFF change is repeated within a predetermined time) and detects that the motor control microcomputer 12 is normal. Hereinafter, monitoring with pulses is referred to as “watchdog”.

モータ制御マイコン12の処理負荷が増大したためパルスを出力できない場合、監視マイコン13はモータ制御マイコン12の異常を検出してリセットするなどのフェールセーフ処理を行っている。パルスをこのようなウォッチドッグのために使用することは従来から利用されているが、主に異常の有無しか監視できないものであった。   When the pulse cannot be output because the processing load of the motor control microcomputer 12 has increased, the monitoring microcomputer 13 performs fail-safe processing such as detecting and resetting the abnormality of the motor control microcomputer 12. The use of pulses for such watchdogs has been used in the past, but it has mainly been able to monitor only the presence or absence of abnormalities.

そこで、本実施形態のモータ制御マイコン12は、モータを回転駆動していない場合(後述するモード1)はウォッチドッグのためのパルスを出力し、モータを回転駆動している場合(後述するモード2)はパルスにより以下の3つの情報を伝達する。
(i) 処理負荷情報(H時間)
(ii) CPU負荷の余裕度
(iii) キャリア波の周波数
図1(b)に示すように、モータ制御マイコン12はキャリア波の周期をパルスの1周期としている。また、モータ制御マイコン12はキャリア波の周期毎にPWM信号のインバータ制御を行うので(例えば、デューティを演算する)、PWM信号の周期とパルスの周期は同期する。そこで、モータ制御マイコン12はインバータ制御の開始のタイミングでパルスを立ち上げ、インバータ制御が終了するとパルスを立ち下げる。このため、インバータ制御の処理負荷が高くなるとパルスがHを維持する時間(以下、H時間という)が長くなる。監視マイコン13はH時間により(i)処理負荷情報を取得する。
Therefore, the motor control microcomputer 12 of the present embodiment outputs a watchdog pulse when the motor is not rotationally driven (mode 1 described later), and when the motor is rotationally driven (mode 2 described later). ) Transmits the following three pieces of information by pulses.
(i) Processing load information (H time)
(ii) CPU load margin
(iii) Frequency of Carrier Wave As shown in FIG. 1B, the motor control microcomputer 12 sets the cycle of the carrier wave as one cycle of the pulse. Further, since the motor control microcomputer 12 performs inverter control of the PWM signal for each carrier wave cycle (for example, calculates the duty), the PWM signal cycle and the pulse cycle are synchronized. Therefore, the motor control microcomputer 12 raises the pulse at the start timing of the inverter control, and lowers the pulse when the inverter control ends. For this reason, when the processing load of inverter control becomes high, the time for which the pulse maintains H (hereinafter referred to as H time) becomes long. The monitoring microcomputer 13 acquires (i) processing load information by H time.

また、パルスはキャリア波の周期毎に立ち上がるので、パルスの立ち上がりから次の立ち上がりまでがパルスの1周期である。監視マイコン13はパルスの立ち上がりを監視して(iii) キャリア波の周波数を取得する。(iii)キャリア波の周期からH時間を除いた残りが(ii)CPU負荷の余裕度である。   Since the pulse rises every carrier wave period, one pulse period is from the rising edge of the pulse to the next rising edge. The monitoring microcomputer 13 monitors the rising edge of the pulse and (iii) acquires the frequency of the carrier wave. (iii) The remainder obtained by removing H time from the carrier wave period is (ii) CPU load margin.

このように、従来から使用されている信号線を使用して、監視マイコン13はモータ制御マイコン12に異常が生じなくてもモータ制御マイコン12の過渡的な処理負荷などを監視できる。処理負荷が大きくなった場合は、リセットする前に負荷を下げるなどのフェールセーフが可能になる。   As described above, the monitoring microcomputer 13 can monitor the transient processing load of the motor control microcomputer 12 without any abnormality in the motor control microcomputer 12 by using a signal line that has been conventionally used. When the processing load increases, fail-safe such as reducing the load before resetting becomes possible.

〔インバータ制御〕
図2(a)はモータ15の制御系のブロック図の一例であり、図2(b)はデューティの算出方法を模式的に説明する図の一例である。モータ制御マイコン12はHV−ECU11と接続されており、監視マイコン13を経由してインバータ14及びモータ15と接続されている。インバータ14はPWM制御型であり、6個のパワーMOSFETやIBGTなどのスイッチ素子をブリッジ接続した構成を有する。インバータ14は印加された電圧を三相交流電圧に変換してモータ15のU,V,Wの各相用のステータコイルに供給する。インバータ14からモータ15に供給されるV相とW相の電流値(実電流)Iv、Iwはモータ制御マイコン12にフィードバックされている。U相の電流値は演算により求められる。
[Inverter control]
FIG. 2A is an example of a block diagram of a control system of the motor 15, and FIG. 2B is an example of a diagram for schematically explaining a duty calculation method. The motor control microcomputer 12 is connected to the HV-ECU 11, and is connected to the inverter 14 and the motor 15 via the monitoring microcomputer 13. The inverter 14 is a PWM control type, and has a configuration in which switch elements such as six power MOSFETs and IBGT are bridge-connected. The inverter 14 converts the applied voltage into a three-phase AC voltage and supplies it to the stator coils for the U, V, and W phases of the motor 15. The V-phase and W-phase current values (actual currents) Iv and Iw supplied from the inverter 14 to the motor 15 are fed back to the motor control microcomputer 12. The U-phase current value is obtained by calculation.

モータ15は例えば三相の交流モータであり、車両の駆動力を単独で又はエンジンと共に発揮する。なお、モータは交流モータに限られずDCモータなどPWM制御されるものであればよい。モータ15にはホール素子など回転数を検出可能なセンサが配置されており、例えばホール素子が検出した回転角θがモータ制御マイコン12に出力される。モータ制御マイコン12は回転角θから、モータ15の回転数を演算する。   The motor 15 is, for example, a three-phase AC motor, and exhibits the driving force of the vehicle alone or with the engine. The motor is not limited to an AC motor, and may be any motor that is PWM controlled such as a DC motor. The motor 15 is provided with a sensor capable of detecting the number of rotations such as a Hall element. For example, the rotation angle θ detected by the Hall element is output to the motor control microcomputer 12. The motor control microcomputer 12 calculates the rotation speed of the motor 15 from the rotation angle θ.

HV−ECU11 は、アクセルペダルストロークセンサなどで検出した運転者のアクセルペダルの操作量、及び、車速センサが検出した車速に基づいてモータ15の電流指令値を決定しモータ制御マイコン12に出力する。HV−ECU11等から出力される情報が特許請求の範囲の外部情報に相当する。または、モータ制御マイコン12が電流指令値を決定してもよい。電流指令値は、モータ15に流れる電流の座標系における基本波の振幅と位相(周波数)を指示するものである。基本波は正弦波なので任意のキャリア波の周期における波形は既知になる。
キャリア波の周波数は明示的な指示がなければ一定であり、決まった周期で決まった電圧が繰り返し生成されている。よって、キャリア波の周期毎に、基本波を数値表現して基本波の振幅、位相を決定し、数値表現された基本波とキャリア波を比較する。図示するようにキャリア波の周期の始点から、キャリア波と基本波の交わるまでがPWM信号のデューティとなる。
The HV-ECU 11 determines a current command value of the motor 15 based on the driver's accelerator pedal operation amount detected by an accelerator pedal stroke sensor or the like and the vehicle speed detected by the vehicle speed sensor, and outputs it to the motor control microcomputer 12. Information output from the HV-ECU 11 or the like corresponds to external information in the claims. Alternatively, the motor control microcomputer 12 may determine the current command value. The current command value indicates the amplitude and phase (frequency) of the fundamental wave in the coordinate system of the current flowing through the motor 15. Since the fundamental wave is a sine wave, the waveform in an arbitrary carrier wave period is known.
The frequency of the carrier wave is constant unless an explicit instruction is given, and a fixed voltage is repeatedly generated at a fixed cycle. Therefore, for each carrier wave period, the fundamental wave is expressed numerically to determine the amplitude and phase of the fundamental wave, and the numerically expressed fundamental wave and the carrier wave are compared. As shown in the figure, the duty of the PWM signal is from the start point of the carrier wave cycle to the intersection of the carrier wave and the fundamental wave.

モータ制御マイコン12はデューティに対応する電流値と実電流を比較して差を算出し、差を消去する各相のPWM制御電圧(PWM信号)を発生させ、PWM制御電圧によりインバータ14のスイッチ素子をON/OFF制御する。インバータ14は出力電圧をモータ15のステータコイルに印加する。これにより、モータ15は基本波の周波数に対応する回転数で回転する。以下、デューティの算出を含め、モータ制御マイコン12の制御をインバータ制御という。   The motor control microcomputer 12 compares the current value corresponding to the duty with the actual current to calculate the difference, generates a PWM control voltage (PWM signal) for each phase that eliminates the difference, and the switching element of the inverter 14 by the PWM control voltage ON / OFF control. The inverter 14 applies an output voltage to the stator coil of the motor 15. As a result, the motor 15 rotates at a rotational speed corresponding to the frequency of the fundamental wave. Hereinafter, the control of the motor control microcomputer 12 including the calculation of the duty is referred to as inverter control.

このようなインバータ制御では、モータ回転数の増加や車両状況の変化に伴い割り込みが頻発したり、運転者のアクセルペダルの操作が急変したりすることなどにより、処理負荷が増大する。処理負荷が極度に増大すると温度上昇などによりCPU動作速度が低下したり、PWM信号の出力が間に合わない現象が生じうる。本実施例では処理負荷が増大したためにこのような基本的な性能が損なわれる前に、監視マイコン13がモータ制御マイコン12の過渡的な状態を監視することを可能とする。   In such inverter control, the processing load increases due to frequent interruptions associated with an increase in the number of motor revolutions and changes in the vehicle status, and sudden changes in the driver's accelerator pedal operation. If the processing load increases extremely, the CPU operating speed may decrease due to a temperature rise or the like, and a phenomenon that the output of the PWM signal is not in time can occur. In the present embodiment, the monitoring microcomputer 13 can monitor the transient state of the motor control microcomputer 12 before such basic performance is impaired because the processing load increases.

〔構成例〕
図3(a)はモータ制御マイコン12と監視マイコン13の概略構成図の一例を示す。モータ制御マイコン12と監視マイコン13は1つの筐体に収容された1つのECU(電子制御装置)として動作する。しかし、モータ制御マイコン12と監視マイコン13が1つのチップであってもパルスによりモータ制御機能を監視機能が監視できる点で変わりはない。また、モータ制御マイコン12と監視マイコン13が別々のECU(筐体)に格納されていても一方が他方を監視できる。
[Configuration example]
FIG. 3A shows an example of a schematic configuration diagram of the motor control microcomputer 12 and the monitoring microcomputer 13. The motor control microcomputer 12 and the monitoring microcomputer 13 operate as one ECU (electronic control unit) housed in one housing. However, even if the motor control microcomputer 12 and the monitoring microcomputer 13 are one chip, there is no change in that the monitoring function can monitor the motor control function by a pulse. Even if the motor control microcomputer 12 and the monitoring microcomputer 13 are stored in separate ECUs (housings), one can monitor the other.

モータ制御マイコン12は、バスに接続された、CPU21、RAM22、ROM23、及び、入出力インタフェース24を有する。監視マイコン13はCPU26、RAM27、ROM28、及び、入出力インタフェース25を有するが、インバータ14にPWM信号を送信するためにさらに入出力インタフェース29を有している。この他、モータ制御マイコン12と監視マイコン13はマイコンに一般的な構成を備えているが図示は省略されている。   The motor control microcomputer 12 includes a CPU 21, a RAM 22, a ROM 23, and an input / output interface 24 connected to the bus. The monitoring microcomputer 13 has a CPU 26, a RAM 27, a ROM 28, and an input / output interface 25, but further has an input / output interface 29 for transmitting a PWM signal to the inverter 14. In addition, although the motor control microcomputer 12 and the monitoring microcomputer 13 have a general configuration in the microcomputer, illustration is omitted.

入出力インタフェース24と25は、互いに、1本のパルス線51、6本のPWM信号線52及び1本以上のフェールセーフ信号線53で接続されている。パルス線51は、ウォッチドッグ機能を提供すると共に、監視マイコン13がモータ制御マイコン12を監視するためのパルスが送信される線である。6本のPWM信号線52はU相の2つのスイッチ素子、V相の2つのスイッチ素子、及び、W相の2つのスイッチ素子をON/OFFするPWM信号が送信される線である。フェールセーフ信号線53は、監視マイコン13がモータ制御マイコン12の処理負荷を下げる制御を行ったり、モータ制御マイコン12をリセットするための制御を行う線である。フェールセーフ信号線53は、例えば、制御の種類毎に設けられ、H又はLを通知する線でよい。例えば、処理負荷を下げる制御では1回のパルス(H→L)で所定量だけ処理負荷を下げることを通知する。リセットする制御ではL→H(ハイアクティブ)又はH→L(ローアクティブ)でモータ制御マイコン12をリセットする。または、フェールセーフ信号線53をシリアル線とし、1本で全ての制御の種類に対応させてもよい。   The input / output interfaces 24 and 25 are connected to each other by one pulse line 51, six PWM signal lines 52, and one or more fail-safe signal lines 53. The pulse line 51 is a line for providing a watch dog function and transmitting a pulse for the monitoring microcomputer 13 to monitor the motor control microcomputer 12. The six PWM signal lines 52 are lines through which PWM signals for turning on / off the two U-phase switch elements, the two V-phase switch elements, and the two W-phase switch elements are transmitted. The fail-safe signal line 53 is a line for the control microcomputer 13 to perform control for reducing the processing load of the motor control microcomputer 12 or for resetting the motor control microcomputer 12. For example, the fail-safe signal line 53 may be a line that is provided for each type of control and notifies H or L. For example, in the control for reducing the processing load, a single pulse (H → L) notifies that the processing load is reduced by a predetermined amount. In the reset control, the motor control microcomputer 12 is reset by L → H (high active) or H → L (low active). Alternatively, the fail safe signal line 53 may be a serial line, and a single line may correspond to all types of control.

監視マイコン13内の入出力インタフェース25,29は6本のPWM信号線で接続されている。CPU26は6本のPWM信号線52の状態を監視している。常態ではCPU26はPWM信号を加工することはなく、監視マイコン13はPWM信号をそのまま通過させる。そして、PWM信号が確認できない状態になると、CPU26は該PWM信号のスイッチ54をOFFにして、PWM信号のインバータ14への出力を停止する。PWM信号が確認できない場合、モータ制御マイコン12に何らかの異常が生じ始めている可能性があるので、そのような異常な状態でモータ制御を行うことを防止できる。   The input / output interfaces 25 and 29 in the monitoring microcomputer 13 are connected by six PWM signal lines. The CPU 26 monitors the state of the six PWM signal lines 52. Under normal conditions, the CPU 26 does not process the PWM signal, and the monitoring microcomputer 13 passes the PWM signal as it is. When the PWM signal cannot be confirmed, the CPU 26 turns off the switch 54 for the PWM signal and stops outputting the PWM signal to the inverter 14. If the PWM signal cannot be confirmed, there is a possibility that some abnormality has started to occur in the motor control microcomputer 12, so that it is possible to prevent the motor control from being performed in such an abnormal state.

図3(b)はモータ制御マイコン12と監視マイコン13の機能ブロック図の一例を示す。モータ制御マイコン12は、キャリア波を発生するキャリア波発生部31、パルスを作成するパルス作成部32、PWM信号を作成するインバータ制御部34、及び、キャリア波の周波数を制御するキャリア周波数制御部33を有している。また、監視マイコン13は、パルスを監視するパルス監視部41、PWM信号を監視するPWM信号監視部42、モータ制御マイコン12の処理負荷を判定する処理負荷判定部43、及び、モータ制御マイコン12をフェールセーフ制御するフェールセーフ部44を有する。これらについては後述する。   FIG. 3B shows an example of a functional block diagram of the motor control microcomputer 12 and the monitoring microcomputer 13. The motor control microcomputer 12 includes a carrier wave generation unit 31 that generates a carrier wave, a pulse generation unit 32 that generates a pulse, an inverter control unit 34 that generates a PWM signal, and a carrier frequency control unit 33 that controls the frequency of the carrier wave. have. The monitoring microcomputer 13 includes a pulse monitoring unit 41 that monitors pulses, a PWM signal monitoring unit 42 that monitors PWM signals, a processing load determination unit 43 that determines the processing load of the motor control microcomputer 12, and the motor control microcomputer 12. A fail-safe unit 44 that performs fail-safe control is provided. These will be described later.

なお、モータ制御マイコン12と監視マイコン13は、モータ15が停止している(PWM信号が出力されない)モード1とモータ15が動作中のモード2という2つの動作モードを有している。
モード1:ウォッチドッグモード
モード2:本実施例の異常監視モード
モータ制御マイコン12と監視マイコン13は、PWM信号が出力されているか否かに基づきモード1かモード2かを判定する。以下、主にモード2における機能について説明する。
The motor control microcomputer 12 and the monitoring microcomputer 13 have two operation modes: mode 1 in which the motor 15 is stopped (no PWM signal is output) and mode 2 in which the motor 15 is in operation.
Mode 1: Watchdog mode Mode 2: Abnormal monitoring mode of this embodiment The motor control microcomputer 12 and the monitoring microcomputer 13 determine whether the mode is 1 or 2 based on whether a PWM signal is output. Hereinafter, functions in mode 2 will be mainly described.

〔監視内容について〕
図4は、キャリア波、PWM信号、及び、パルス信号について説明する図の一例である。キャリア波はモータ制御マイコン12内でキャリア波発生部31が発生させるため監視マイコン13には出力されない。PWM信号とパルスは、モータ制御マイコン12が作成し監視マイコン13に出力されるものである。PWM信号は6本のPWM信号線52でそれぞれ送信されるが、監視マイコン13が着目するのは、パルス信号と同期した1つのPWM信号である。
[About monitoring contents]
FIG. 4 is an example of a diagram illustrating a carrier wave, a PWM signal, and a pulse signal. Since the carrier wave is generated by the carrier wave generator 31 in the motor control microcomputer 12, the carrier wave is not output to the monitoring microcomputer 13. The PWM signal and the pulse are generated by the motor control microcomputer 12 and output to the monitoring microcomputer 13. Although the PWM signal is transmitted through each of the six PWM signal lines 52, the monitoring microcomputer 13 focuses on one PWM signal synchronized with the pulse signal.

・モータ制御マイコン
キャリア波発生部31は基準となる周波数で繰り返しキャリア波を発生させる。キャリア波の周波数はノイズ対策などのため下限と上限の範囲で調整可能になっている。図では鋸歯形状であるが三角波でもよい。
-Motor control microcomputer The carrier wave generator 31 repeatedly generates a carrier wave at a reference frequency. The frequency of the carrier wave can be adjusted in the range between the lower limit and the upper limit for noise countermeasures and the like. Although it is a sawtooth shape in the figure, it may be a triangular wave.

インバータ制御部34はキャリア波の周期に同期してこの周期毎にインバータ制御を行う。例えば、キャリア波の立ち上がりエッジ又は立ち下がりエッジの割り込みなどでCPU21はインバータ制御部34を起床する。上記のようにインバータ制御部34はデューティを算出しPWM信号を出力する。なお、インバータ制御部34は次の周期のデューティを演算するので、i番目の周期で演算したデューティはi+1番目の周期のPWM信号に反映される。また、処理負荷とPWM信号のデューティには相関はないとしてよい(インバータ制御に長時間かかっても、デューティが大きくなるわけではない)。   The inverter control unit 34 performs inverter control for each cycle in synchronization with the carrier wave cycle. For example, the CPU 21 wakes up the inverter control unit 34 when the rising edge or the falling edge of the carrier wave is interrupted. As described above, the inverter control unit 34 calculates the duty and outputs a PWM signal. Since the inverter control unit 34 calculates the duty of the next cycle, the duty calculated in the i-th cycle is reflected in the PWM signal of the i + 1-th cycle. Further, there may be no correlation between the processing load and the duty of the PWM signal (even if the inverter control takes a long time, the duty does not increase).

また、本実施例のインバータ制御部34は、インバータ制御を開始した時に(例えば起床直後に)パルス作成部32に制御開始を通知する。この通知を取得することで、パルス作成部32はパルス信号線をHに設定する。また、インバータ制御部34は1つのキャリア波の周期のインバータ制御が終了した時にパルス作成部32に制御終了を通知する。この通知を取得することで、パルス作成部32はパルス信号線をLに設定する。したがって、パルスはキャリア波の周期の開始時にHになり、インバータ制御が終了する時にLとなる。よって、H時間がインバータ制御に必要な時間を意味することになり、監視マイコン13はパルスからモータ制御マイコン12の処理負荷を推定することが可能になる。なお、LとHの設定は逆でもよく、この場合は監視マイコン13がパルスのL状態の時間から処理負荷を判定すればよい。
キャリア周波数制御部33はフェールセーフ部44からの要求に応じて、キャリア波の周波数を下げる。これにより、モータ制御マイコン12の処理負荷を低減できる。
Moreover, the inverter control part 34 of a present Example notifies control start to the pulse production part 32, when inverter control is started (for example, immediately after waking up). By obtaining this notification, the pulse creating unit 32 sets the pulse signal line to H. Further, the inverter control unit 34 notifies the pulse generation unit 32 of the end of control when the inverter control of one carrier wave cycle is completed. By obtaining this notification, the pulse creating unit 32 sets the pulse signal line to L. Therefore, the pulse becomes H at the start of the carrier wave period, and becomes L when the inverter control ends. Therefore, H time means the time required for inverter control, and the monitoring microcomputer 13 can estimate the processing load of the motor control microcomputer 12 from the pulse. The setting of L and H may be reversed. In this case, the monitoring microcomputer 13 may determine the processing load from the time of the L state of the pulse.
The carrier frequency control unit 33 reduces the frequency of the carrier wave in response to a request from the fail safe unit 44. Thereby, the processing load of the motor control microcomputer 12 can be reduced.

・監視マイコン
監視マイコン13のパルス監視部41はパルスを監視し、例えばL→Hの立ち上がりを検出したことを処理負荷判定部43に通知し、H→Lの立ち下がりを検出したことを処理負荷判定部43に通知する。これにより、処理負荷判定部43は以下の3つの情報を取得する。
(i) 処理負荷情報
(ii) CPU負荷の余裕度
(iii) キャリア波の周波数
(i)は立ち上がり検出から立ち下がり検出までの時間であり、インバータ制御の時間(すなわち処理負荷)を表している。(iii)は立ち上がり検出から次の立ち上がり検出までの時間であり、キャリア波の周波数(及び周期)を表している。(ii)は立ち下がり検出から立ち上がり検出までの時間であり、インバータ制御が終わってから次のインバータ制御が始まるまでのCPU負荷の余裕度を表している。このように、処理負荷判定部43はモータ制御マイコン12の処理負荷、CPU負荷の余裕度及びキャリア波の周波数を監視できる。なお、(iii)キャリア波の周波数をPWM信号の立ち上がりから取得することもできる。
Monitoring microcomputer The pulse monitoring unit 41 of the monitoring microcomputer 13 monitors the pulse, for example, notifies the processing load determination unit 43 that the rising edge of L → H has been detected, and detects that the falling edge of H → L has been detected. The determination unit 43 is notified. As a result, the processing load determination unit 43 acquires the following three pieces of information.
(i) Processing load information
(ii) CPU load margin
(iii) Carrier wave frequency
(i) is the time from the detection of the rise to the detection of the fall, and represents the inverter control time (that is, the processing load). (iii) is the time from the rising detection to the next rising detection, and represents the frequency (and period) of the carrier wave. (ii) is the time from the detection of falling to the detection of rising, and represents the margin of CPU load from the end of inverter control to the start of the next inverter control. In this way, the processing load determination unit 43 can monitor the processing load of the motor control microcomputer 12, the margin of the CPU load, and the frequency of the carrier wave. Note that (iii) the frequency of the carrier wave can also be acquired from the rising edge of the PWM signal.

また、PWM信号監視部42はPWM信号を監視し、例えばL→Hの立ち上がりを検出したことを処理負荷判定部43に通知する。これにより、処理負荷判定部43は(iii)と同様にキャリア波の周波数(周期)を検出できる。パルスから検出されるキャリア波の周波数とPWM信号から検出されるキャリア波の周波数は誤差を除けば同じである。   Further, the PWM signal monitoring unit 42 monitors the PWM signal and notifies the processing load determination unit 43 that, for example, the rising edge of L → H has been detected. Thereby, the processing load determination part 43 can detect the frequency (period) of a carrier wave similarly to (iii). The frequency of the carrier wave detected from the pulse and the frequency of the carrier wave detected from the PWM signal are the same except for errors.

したがって、処理負荷判定部43はさらに以下の情報を取得できる。
(iv) PWM信号の異常監視
1つのキャリア波の周期に1回のPWM信号(1つ分の矩形波)が形成されているはずである。そこで、処理負荷判定部43は1つのキャリア波の周期内にPWM信号が検出されたか否かを判定する。例えば、キャリア波の周期よりも十分に長い時間を対象とすれば、PWM信号の立ち上がり及び立ち下がりが検出されたか否かを監視する。キャリア波の周期と同程度がやや短い時間を対象とすれば、PWM信号の立ち上がり又は立ち下がりの少なくともどちらかが検出されたか否かを監視する。
Therefore, the processing load determination unit 43 can further acquire the following information.
(iv) PWM signal abnormality monitoring One PWM signal (one rectangular wave) should be formed in one carrier wave cycle. Therefore, the processing load determination unit 43 determines whether or not a PWM signal is detected within one carrier wave period. For example, if a time sufficiently longer than the period of the carrier wave is targeted, it is monitored whether the rising and falling edges of the PWM signal are detected. If the target is a time slightly shorter than the period of the carrier wave, it is monitored whether at least one of the rising edge and the falling edge of the PWM signal is detected.

処理負荷判定部43は、(i)(ii)から処理負荷が高くなったと判定するとフェールセーフ部44にフェールセーフを要求する。この場合、フェールセーフ部44はキャリア周波数制御部33にキャリア波の周波数を下げるよう要求する。キャリア波の周波数が下がることでインバータ制御の頻度が低下するのでモータ制御マイコン12の処理負荷を低減できる。   If the processing load determination unit 43 determines that the processing load has increased from (i) and (ii), the processing load determination unit 43 requests the fail safe unit 44 for fail safe. In this case, the fail safe unit 44 requests the carrier frequency control unit 33 to lower the frequency of the carrier wave. Since the frequency of inverter control is reduced by lowering the frequency of the carrier wave, the processing load on the motor control microcomputer 12 can be reduced.

また、処理負荷判定部43は、(iv)からPWM信号の異常であると判定するとフェールセーフ部44にフェールセーフを要求する。この場合、フェールセーフ部44は監視マイコン13側で上記のスイッチ54をOFFにして、インバータ14への出力を停止する。   If the processing load determination unit 43 determines from (iv) that the PWM signal is abnormal, the processing load determination unit 43 requests the fail safe unit 44 for fail safe. In this case, the fail safe unit 44 turns off the switch 54 on the monitoring microcomputer 13 side to stop the output to the inverter 14.

このように、本実施例のモータ制御装置100は、モータ制御マイコン12が異常によりリセットが必要な状態になる前に処理負荷を下げることが可能である。   As described above, the motor control device 100 according to the present embodiment can reduce the processing load before the motor control microcomputer 12 becomes in a state that needs to be reset due to an abnormality.

〔動作手順〕
図5は、モータ制御マイコン12の動作手順を示すフローチャート図の一例である。図5の手順はキャリア波の周期毎に繰り返し実行される。
[Operation procedure]
FIG. 5 is an example of a flowchart showing an operation procedure of the motor control microcomputer 12. The procedure of FIG. 5 is repeatedly executed for each carrier wave period.

まず、モータ制御マイコン12はPWM信号を出力しているか否かを判定してモータ制御マイコン12の動作モードを決定する(S10)。PWM信号の出力の有無はモータ制御マイコン12がPWM信号を作成しているか否により明らかであるが、PWM信号を監視して判断してもよい。   First, the motor control microcomputer 12 determines whether or not a PWM signal is output, and determines the operation mode of the motor control microcomputer 12 (S10). Whether or not the PWM signal is output is apparent depending on whether or not the motor control microcomputer 12 is generating the PWM signal, but may be determined by monitoring the PWM signal.

PWM信号を出力しておらずモード1の場合(S10のNo)、パルス作成部32は定期的にパルスの設定をH又はLに切り替える(S80)。すなわち、パルスのデューティは例えば10〜90%等の範囲で固定になる。   When the PWM signal is not output and the mode is 1 (No in S10), the pulse creating unit 32 periodically switches the setting of the pulse to H or L (S80). That is, the duty of the pulse is fixed in a range of 10 to 90%, for example.

PWM信号を出力しておりモード2の場合(S10のYes)、インバータ制御部34はキャリア波の周期が開始されたか否かをキャリア波に基づき判定する(S20)。   When the PWM signal is output and in the mode 2 (Yes in S10), the inverter control unit 34 determines whether or not the cycle of the carrier wave has been started based on the carrier wave (S20).

キャリア波の周期が開始された場合(S20のYes)、インバータ制御部34はパルス作成部32に制御開始を通知するので、パルス作成部32はパルスをHに設定する(S30)。   When the carrier wave period is started (Yes in S20), the inverter control unit 34 notifies the pulse generation unit 32 of the start of control, and the pulse generation unit 32 sets the pulse to H (S30).

その後、インバータ制御部34はインバータ制御を行う(S40)。   Thereafter, the inverter control unit 34 performs inverter control (S40).

インバータ制御が完了すると、インバータ制御部34はパルス作成部32に制御終了を通知するので、パルス作成部32はパルスをLに設定する(S50)。   When the inverter control is completed, the inverter control unit 34 notifies the pulse generation unit 32 of the end of the control, so the pulse generation unit 32 sets the pulse to L (S50).

キャリア周波数制御部33は任意のタイミングで監視マイコン13からフェールセーフ要求があるか否かを判定する(S60)。   The carrier frequency control unit 33 determines whether there is a fail-safe request from the monitoring microcomputer 13 at an arbitrary timing (S60).

そして、フェールセーフ要求がある場合(S60のYes)、キャリア周波数制御部33はキャリア波の周波数を下げることでCPU21の処理負荷を低減する(S70)。   And when there exists a fail safe request | requirement (Yes of S60), the carrier frequency control part 33 reduces the processing load of CPU21 by lowering | hanging the frequency of a carrier wave (S70).

図6は監視マイコン13の動作手順を示すフローチャート図の一例である。
まず、監視マイコン13はPWM信号の出力があるか否かを判定して監視マイコン13の動作モードを決定する(S110)。
FIG. 6 is an example of a flowchart showing the operation procedure of the monitoring microcomputer 13.
First, the monitoring microcomputer 13 determines whether there is a PWM signal output and determines the operation mode of the monitoring microcomputer 13 (S110).

PWM信号の出力がなくモード1の場合(S110のNo)、処理負荷判定部43はパルス監視部41が監視するパルスの間隔からモータ制御マイコン12の異常を監視する(S200)。   When there is no PWM signal output and the mode is 1 (No in S110), the processing load determination unit 43 monitors the abnormality of the motor control microcomputer 12 from the pulse interval monitored by the pulse monitoring unit 41 (S200).

PWM信号の出力がありモード2の場合(S110のYes)、処理負荷判定部43はパルス監視部41からパルスの立ち上がり検出を取得したか否かを判定する(S120)。   When there is an output of the PWM signal and the mode 2 is selected (Yes in S110), the processing load determination unit 43 determines whether or not the pulse rising detection is acquired from the pulse monitoring unit 41 (S120).

パルスの立ち上がり検出を取得した場合(S120のYes)、処理負荷判定部43はタイマ1のカウントを開始し、タイマ2のカウントを停止した後、再度、開始させる(S130)。タイマ1はH時間を計測するタイマであり、タイマ2はキャリア波の周期を計測するタイマである。   When the pulse rising detection is acquired (Yes in S120), the processing load determination unit 43 starts the timer 1, stops the timer 2, and starts again (S130). Timer 1 is a timer that measures the H time, and timer 2 is a timer that measures the period of the carrier wave.

次に、処理負荷判定部43はパルス監視部41からパルスの立ち下がり検出を取得したか否かを判定する(S140)。   Next, the processing load determination unit 43 determines whether or not the pulse falling detection is acquired from the pulse monitoring unit 41 (S140).

パルスの立ち下がり検出を取得した場合(S140のYes)、処理負荷判定部43はタイマ1のカウントを停止する(S150)。これにより、(i)処理負荷情報が得られる。また、ステップS130のタイマ2により(iii)キャリア波の周波数が分かっているので、(ii)CPU負荷の余裕度が求められる。   When the pulse falling detection is acquired (Yes in S140), the processing load determination unit 43 stops the count of the timer 1 (S150). Thereby, (i) processing load information is obtained. In addition, since (iii) the frequency of the carrier wave is known by the timer 2 in step S130, (ii) the CPU load margin is obtained.

処理負荷判定部43はH時間を所定値と比較するなどして必要であればフェールセーフ制御1を行う(S160)。フェールセーフ制御1はモータ制御マイコン12の処理負荷を下げるフェールセーフである。   The processing load determination unit 43 performs fail-safe control 1 if necessary by comparing the H time with a predetermined value (S160). The fail safe control 1 is a fail safe that reduces the processing load of the motor control microcomputer 12.

次いで、処理負荷判定部43はタイマ2のカウント値が閾値を超えたか否かを判定する(S170)。この閾値はS130で求められるキャリア波の周期よりもやや短い値である。キャリア波の周期から動的に定めてもよい。   Next, the processing load determination unit 43 determines whether or not the count value of the timer 2 has exceeded a threshold value (S170). This threshold value is slightly shorter than the carrier wave cycle obtained in S130. You may determine dynamically from the period of a carrier wave.

したがって、タイマ2のカウント値が閾値を超えた場合(S170のYes)、PWM信号が検出されているはずなので、処理負荷判定部43はPWM信号監視部42からPWM信号の立ち上がり検出又は立ち下がり検出を取得したことを確認する(S180)。例えば、PWM信号の立ち上がり検出又は立ち下がりでONになるフラグを参照する(参照後はOFFに設定する)。   Therefore, when the count value of the timer 2 exceeds the threshold value (Yes in S170), the PWM signal should be detected, so the processing load determination unit 43 detects the rise or fall of the PWM signal from the PWM signal monitoring unit 42. (S180). For example, a flag that turns ON when the rising edge of the PWM signal is detected or falls is set (OFF after the reference).

処理負荷判定部43はPWM信号が検出されていない場合、フェールセーフ制御2を行う(S190)。フェールセーフ制御2はPWM信号のインバータ14への出力を停止するフェールセーフである。   When the PWM signal is not detected, the processing load determination unit 43 performs fail-safe control 2 (S190). The fail safe control 2 is a fail safe that stops the output of the PWM signal to the inverter 14.

以上説明したように本実施例のモータ制御装置100は、従来から使用されているパルスを使用して、モータ制御マイコン12に異常が生じなくても処理負荷などを監視でき、それ以上処理負荷が増大しないような適切なフェールセーフを行うことができる。   As described above, the motor control apparatus 100 according to the present embodiment can monitor the processing load and the like even if there is no abnormality in the motor control microcomputer 12 by using pulses conventionally used. It is possible to perform an appropriate fail safe that does not increase.

本実施例では、さらにパルスにより任意のデータを送信可能なモータ制御装置100について説明する。本実施例において、実施例1で同一の符号を付した構成要素は同様の機能を果たすので、主に本実施例の主要な構成要素についてのみ説明する場合がある。   In the present embodiment, a motor control apparatus 100 that can further transmit arbitrary data using pulses will be described. In the present embodiment, the components denoted by the same reference numerals in the first embodiment perform the same functions, and therefore, only the main components of the present embodiment may be mainly described.

図7は本実施例のモータ制御マイコン12と監視マイコン13の機能ブロック図の一例を示す。モータ制御マイコン12は新たにデータ準備部35を有し、監視マイコン13はデータ受信部45を有する。データ準備部35は任意のデータを送信用に加工してパルス作成部32に出力する。データ受信部45はパルス監視部41が監視するパルスから通信規約に従ってデータを受信する。   FIG. 7 shows an example of a functional block diagram of the motor control microcomputer 12 and the monitoring microcomputer 13 of this embodiment. The motor control microcomputer 12 newly has a data preparation unit 35, and the monitoring microcomputer 13 has a data reception unit 45. The data preparation unit 35 processes arbitrary data for transmission and outputs it to the pulse generation unit 32. The data receiving unit 45 receives data from the pulse monitored by the pulse monitoring unit 41 according to the communication protocol.

図8は、キャリア波、PWM信号、及び、パルス出力について説明する図の一例である。本実施例ではパルスの先頭からスタートブロックS、データブロックD及び処理負荷ブロックLの3つのブロックがある点で実施例1と異なっている。   FIG. 8 is an example of a diagram illustrating the carrier wave, the PWM signal, and the pulse output. This embodiment is different from the first embodiment in that there are three blocks, a start block S, a data block D, and a processing load block L from the beginning of the pulse.

・モータ制御マイコン
キャリア波発生部31については実施例1と同様でよいが、パルス作成部32はキャリア波の周期に基づきパルスを作成する。すなわち、パルス作成部32はインバータ制御部34がインバータ制御を開始する前に、H出力を開始する。H出力の開始のタイミングはキャリア波の周期の始点のZ時間前である。具体的には、キャリア波の周期の開始時からタイマなどで「キャリア波の周期−Z時間」が経過することをカウントしてH出力を開始すればよい。なお、Z時間先にするのは、監視マイコン13が、データブロックの始点をPWM信号の立ち上がりで検出するためである。この意味で、本実施例のPWM信号はデータの送受信のためのクロック信号を代用している。
The motor control microcomputer carrier wave generator 31 may be the same as that of the first embodiment, but the pulse generator 32 generates a pulse based on the cycle of the carrier wave. That is, the pulse generator 32 starts H output before the inverter controller 34 starts inverter control. The start timing of the H output is Z time before the start point of the carrier wave period. Specifically, it is only necessary to start the H output by counting that "carrier wave cycle-Z time" elapses with a timer or the like from the start of the carrier wave cycle. Note that the Z time is ahead because the monitoring microcomputer 13 detects the start point of the data block at the rising edge of the PWM signal. In this sense, the PWM signal of this embodiment substitutes a clock signal for data transmission / reception.

パルス作成部32はH出力をX時間、維持する。X時間は監視マイコン13がスタートブロックを確認でき、Z時間よりも短い時間であればよい。制御を簡単にするにはX時間=Z時間とすることができる。   The pulse generator 32 maintains the H output for X hours. The X time may be a time shorter than the Z time since the monitoring microcomputer 13 can confirm the start block. To simplify the control, X time = Z time can be set.

データ準備部35は予め所定量のデータをパルス作成部32に出力しておくか、又は、モータ制御マイコン12の動作クロックに同期して1ビットずつデータをパルス作成部32に出力する。データについては後述するがどのようなデータを送信してもよい。本実施例ではキャリア波の1周期で8ビット(1バイト)のデータを送信する(データブロックのサイズが1バイト)ものとする。   The data preparation unit 35 outputs a predetermined amount of data to the pulse generation unit 32 in advance, or outputs the data bit by bit to the pulse generation unit 32 in synchronization with the operation clock of the motor control microcomputer 12. As will be described later, any data may be transmitted. In this embodiment, it is assumed that 8 bits (1 byte) of data is transmitted in one cycle of the carrier wave (the size of the data block is 1 byte).

データの送信には以下の2つの態様がある。
A.1バイトの各ビットに意味を持たせ各ビットが"1"又は"0"のどちらであるかでモータ制御マイコン12の状態を通知する態様
B.1バイトより多いデータを複数個のキャリア波の周期に分けて送信する態様
Aの場合、1バイトで最大で8種類の情報を送信できる。Bの態様の場合、データの先頭を監視マイコン13に知らせるため、データを送信する前に例えば"00000000"のデータブロック(同期フレーム)をデータ準備部35が準備する。以降は、送信対象のデータが例え"00000000"であっても"00000000"としないために、ビット8を"1"に固定する。例えば、"00000001"を送信する場合、"10000001"を送信し、"00000010"を送信する場合、"10000010"を送信し、"00000011"を送信する場合、"10000011"を送信する。よって、監視マイコン13は下位7ビットを例えばASCIIコードとして解釈しデータを受信する。
There are the following two modes for data transmission.
A. A mode in which each bit of one byte is given a meaning and the state of the motor control microcomputer 12 is notified depending on whether each bit is “1” or “0”. In the case of mode A in which more than one byte of data is transmitted by dividing it into a plurality of carrier wave periods, a maximum of eight types of information can be transmitted in one byte. In the case of mode B, the data preparation unit 35 prepares a data block (synchronization frame) of, for example, “00000000” before transmitting the data in order to notify the monitoring microcomputer 13 of the beginning of the data. Thereafter, even if the data to be transmitted is “00000000”, it is not set to “00000000”, so that bit 8 is fixed to “1”. For example, when “00000001” is transmitted, “10000001” is transmitted, when “00000010” is transmitted, “10000010” is transmitted, and when “00000011” is transmitted, “10000011” is transmitted. Therefore, the monitoring microcomputer 13 receives the data by interpreting the lower 7 bits as, for example, an ASCII code.

また、ひとまとまりのデータの終了を通知するため、データ準備部35は、再度、"00000000"を準備する。したがって、最初の"00000000"から"00000000"までがひとまとまりのデータである。送信するデータがない場合、例えば"00000000"以外のデータとしてランダムなデータや"11111111"を送信する。   Further, in order to notify the end of a group of data, the data preparation unit 35 prepares “00000000” again. Therefore, the first “00000000” to “00000000” is a group of data. When there is no data to be transmitted, for example, random data or “11111111” is transmitted as data other than “00000000”.

データ準備部35が準備するデータは例えばエラー情報であり、以下のような内容が挙げられる。
er1.マイコン電源系の電圧の低下が検出されたこと(CPUに異常が生じるおそれがある)
er2.インバータ14の電圧異常、マイコンのA/D変換機能や電流センサ異常が検出されたこと(PWM信号作成に必要な部品の異常)
er3.エラー情報に限られず、モータ制御マイコン12の制御状態のログ
モータ制御マイコン12はこのように多様な情報を監視マイコン13に送信することができる。
The data prepared by the data preparation unit 35 is error information, for example, and includes the following contents.
er1. A drop in the voltage of the microcomputer power supply system has been detected (there is a risk that the CPU may malfunction)
er2. Inverter 14 voltage error, microcomputer A / D conversion function or current sensor error detected (component error necessary for PWM signal creation)
er3. Log of control state of motor control microcomputer 12 without being limited to error information The motor control microcomputer 12 can transmit various information to the monitoring microcomputer 13 in this way.

パルス作成部32は、データブロックの挿入に続いて、インバータ制御部34が制御終了を通知するまでの間、パルスをHに設定する。すなわち、仮にデータブロックが"11111111"だとすると、スタートブロック、データブロック及び処理負荷ブロックは1つの矩形波となる。データブロックを送信し終える前にインバータ制御部34が制御終了を通知した場合は、処理負荷ブロックは存在しない。したがって、本実施例においても、スタートブロックの立ち上がりがZ時間早まるだけで、パルス(スタートブロック)の立ち上がりからパルスの立ち下がりまでの時間で(i)インバータ制御の処理負荷を通知できる。(ii)CPU負荷の余裕度、(iii)キャリア波の周波数についても同様である。   The pulse generation unit 32 sets the pulse to H until the inverter control unit 34 notifies the end of control following the insertion of the data block. That is, if the data block is “11111111”, the start block, the data block, and the processing load block become one rectangular wave. If the inverter control unit 34 notifies the end of control before the data block has been transmitted, there is no processing load block. Therefore, also in this embodiment, the start block rises by Z time earlier, and (i) the inverter control processing load can be notified in the time from the rise of the pulse (start block) to the fall of the pulse. The same applies to (ii) CPU load margin and (iii) carrier wave frequency.

・監視マイコン13
監視マイコン13のパルス監視部41はパルスを監視し、例えばL→Hの立ち上がりを検出したことを処理負荷判定部43に通知する。また、データブロックにLビットが含まれうるので、「Z時間+1バイト」長さのビット列を無視した後、H→Lの立ち下がりを検出したことを処理負荷判定部43に通知する。これにより、処理負荷判定部43は以下の4つの情報を取得する。
(i) 処理負荷情報
(ii) CPU負荷の余裕度
(iii) キャリア波の周波数
(iv) PWM信号の異常監視
なお、キャリア波の周期はパルスの立ち上がりから次の立ち上がりまでの時間でよいが、周期の位置がZ時間前方にずれているので、キャリア波の周期だけでなく、位置まで含めて同期するにはキャリア波の周波数をZ時間補正する。このような補正をしなくても、 (iv) PWM信号の異常監視は可能である。
-Monitoring microcomputer 13
The pulse monitoring unit 41 of the monitoring microcomputer 13 monitors the pulse and notifies the processing load determination unit 43 that, for example, the rise of L → H has been detected. In addition, since the data block may include L bits, the processing load determination unit 43 is notified that the falling edge of H → L has been detected after ignoring the bit string having a length of “Z time + 1 byte”. As a result, the processing load determination unit 43 acquires the following four pieces of information.
(i) Processing load information
(ii) CPU load margin
(iii) Carrier wave frequency
(iv) Monitoring the abnormality of the PWM signal The period of the carrier wave may be the time from the rising edge of the pulse to the next rising edge, but since the position of the period is shifted forward by Z time, not only the period of the carrier wave, To synchronize including the position, the carrier wave frequency is corrected for Z time. Even without such correction, (iv) it is possible to monitor the abnormality of the PWM signal.

また、データ受信部45はさらに以下の情報を取得できる。
(v) データ内容
データ受信部45は、PWM信号監視部42が通知するPWM信号の立ち上がり検出によりデータブロックの先頭を検出する。データ受信部45は、データブロックの先頭から7ビットをパルスから抽出する(8ビットをパルスから抽出し、8ビット目を削除してもよい)。
Further, the data receiving unit 45 can further acquire the following information.
(v) Data Contents The data receiving unit 45 detects the head of the data block by detecting the rising edge of the PWM signal notified by the PWM signal monitoring unit 42. The data receiving unit 45 extracts 7 bits from the top of the data block from the pulse (8 bits may be extracted from the pulse and the 8th bit may be deleted).

フェールセーフ部44は例えばex1のエラー情報(マイコン電源の異常)を受信した場合、H時間と比較される所定値を短くする。マイコン電源に異常がある場合CPUにも影響するおそれが高いので、早期にモータ制御マイコン12の処理負荷を下げることが可能になる。また、例えばex2のエラー情報(PWM信号作成に必要な部品の異常)を受信した場合、フェールセーフ部44はPWM信号の出力を停止する。PWM信号作成に必要な部品に異常がある場合、PWM信号の信頼性が低いと推定して制御を中止できる。   For example, when the fail safe unit 44 receives error information of ex1 (abnormality of the microcomputer power supply), the fail safe unit 44 shortens the predetermined value compared with the H time. If there is an abnormality in the microcomputer power supply, there is a high possibility that the CPU will be affected, so the processing load on the motor control microcomputer 12 can be reduced early. For example, when ex2 error information (abnormality of parts necessary for PWM signal creation) is received, the fail safe unit 44 stops outputting the PWM signal. When there is an abnormality in the parts necessary for creating the PWM signal, the control can be stopped by assuming that the reliability of the PWM signal is low.

〔動作手順〕
図9は、モータ制御マイコン12の動作手順を示すフローチャート図の一例である。図9の手順はキャリア波の周期毎に繰り返し実行される。S210,S300について実施例1と同様である。
[Operation procedure]
FIG. 9 is an example of a flowchart showing an operation procedure of the motor control microcomputer 12. The procedure of FIG. 9 is repeatedly executed for each carrier wave period. S210 and S300 are the same as those in the first embodiment.

モード2の場合、パルス作成部32は、キャリア波の周期のZ時間手前になったか否かをキャリア波の周期とタイマなどにより判定する(S220)。   In the case of mode 2, the pulse generating unit 32 determines whether or not the time is Z time before the carrier wave cycle by using the carrier wave cycle and a timer (S220).

キャリア波の周期開始のZ時間手前になった場合(S220のYes)、パルス作成部32はパルスをHに設定してX時間保持する(S230)。X時間とZ時間が等しくない場合、パルス作成部32はキャリア波の周期が開始されるまでパルスをH又はLに設定する。また、キャリア波の周期が開始されるとインバータ制御部34はインバータ制御を行う。   When the time is Z time before the start of the carrier wave cycle (Yes in S220), the pulse generating unit 32 sets the pulse to H and holds it for X time (S230). When the X time and the Z time are not equal, the pulse generating unit 32 sets the pulse to H or L until the carrier wave period starts. When the carrier wave cycle is started, the inverter control unit 34 performs inverter control.

パルス作成部32は、データ準備部35が準備した1バイトのデータをパルスに設定する(S240)。   The pulse creation unit 32 sets the 1-byte data prepared by the data preparation unit 35 as a pulse (S240).

次に、パルス作成部32はパルスにHを設定する(S250)。1バイトのデータをパルスに設定する前に次のS260の制御終了が通知される場合は、S250のHは設定されない。   Next, the pulse generator 32 sets H to the pulse (S250). If the end of control in the next S260 is notified before setting 1-byte data in a pulse, H in S250 is not set.

パルス作成部32は、インバータ制御部34がパルス作成部32に制御終了を通知するまでパルスをHに維持する(S260)。   The pulse generating unit 32 maintains the pulse at H until the inverter control unit 34 notifies the pulse generating unit 32 of the end of control (S260).

インバータ制御が完了すると、インバータ制御部34はパルス作成部32に制御終了を通知するので、パルス作成部32はパルスをLに設定する(S270)。   When the inverter control is completed, the inverter control unit 34 notifies the pulse generation unit 32 of the end of the control, so the pulse generation unit 32 sets the pulse to L (S270).

キャリア周波数制御部33は任意のタイミングで監視マイコン13からフェールセーフ要求があるか否かを判定する(S280)。   The carrier frequency control unit 33 determines whether there is a fail-safe request from the monitoring microcomputer 13 at an arbitrary timing (S280).

そして、フェールセーフ要求がある場合(S280のYes)、キャリア周波数制御部33はキャリア波の周波数を下げることでCPUの処理負荷を低減する(S290)。   If there is a fail-safe request (Yes in S280), the carrier frequency control unit 33 reduces the processing load on the CPU by lowering the frequency of the carrier wave (S290).

図10は監視マイコン13の動作手順を示すフローチャート図の一例である。ステップS410、S530については実施例1と同様である。   FIG. 10 is an example of a flowchart showing the operation procedure of the monitoring microcomputer 13. Steps S410 and S530 are the same as those in the first embodiment.

PWM信号の出力がありモード2の場合、処理負荷判定部43はパルス監視部41からパルスの立ち上がり検出を取得したか否かを判定する(S420)。   When there is an output of the PWM signal and in the mode 2, the processing load determination unit 43 determines whether or not the pulse rising detection is acquired from the pulse monitoring unit 41 (S420).

パルスの立ち上がり検出を取得した場合(S420のYes)、処理負荷判定部43はタイマ1のカウントを開始し、タイマ2のカウントを停止した後、再度、開始させる(S430)。タイマ1はH時間を計測するタイマであり、タイマ2はキャリア波の周期を計測するタイマである。   When the rising edge detection is acquired (Yes in S420), the processing load determination unit 43 starts the timer 1, stops the timer 2, and starts again (S430). Timer 1 is a timer that measures the H time, and timer 2 is a timer that measures the period of the carrier wave.

次に、処理負荷判定部43はPWM信号監視部42からPWM信号の立ち上がり検出を取得したか否かを判定する(S440)。これにより、データブロックの先頭を特定できる。   Next, the processing load determination unit 43 determines whether or not the PWM signal rising edge detection has been acquired from the PWM signal monitoring unit 42 (S440). Thereby, the head of a data block can be specified.

PWM信号の立ち上がり検出を取得した場合(S440のYes)、データ受信部45はパルスからデータブロックを抽出する(S450)。   When the rising edge detection of the PWM signal is acquired (Yes in S440), the data receiving unit 45 extracts a data block from the pulse (S450).

データ受信部45はひとまとまりのエラー情報などを受信してエラー内容を判別し、必要であればフェールセーフ部44にフェールセーフ制御3を要求する(S460)。フェールセーフ制御3は異常判断の早期化やPWM信号の停止などである。   The data receiving unit 45 receives a group of error information and the like, determines the error content, and requests the fail safe control 3 from the fail safe unit 44 if necessary (S460). The fail-safe control 3 includes early determination of abnormality and stop of the PWM signal.

次に、処理負荷判定部43はパルス監視部41からパルスの立ち下がり検出を取得したか否かを判定する(S470)。上記のようにデータブロックが終了するまでの立ち下がりは無視される。   Next, the processing load determination unit 43 determines whether or not pulse falling detection has been acquired from the pulse monitoring unit 41 (S470). As described above, the trailing edge until the end of the data block is ignored.

パルスの立ち下がり検出を取得した場合(S470のYes)、処理負荷判定部43はタイマ1のカウントを停止する(S480)。これにより、(i)処理負荷情報が得られる。また、ステップS430のタイマ2により(iii)キャリア波の周波数が分かっているので、(ii)CPU負荷の余裕度が求められる。   When the pulse falling detection is acquired (Yes in S470), the processing load determination unit 43 stops the count of the timer 1 (S480). Thereby, (i) processing load information is obtained. In addition, since (iii) the frequency of the carrier wave is known by the timer 2 in step S430, (ii) the CPU load margin is obtained.

処理負荷判定部43はH時間を所定値と比較するなどして必要であればフェールセーフ制御1を行う(S490)。フェールセーフ制御1はモータ制御マイコン12の処理負荷を下げるフェールセーフである。   The processing load determination unit 43 performs fail-safe control 1 if necessary by comparing the H time with a predetermined value (S490). The fail safe control 1 is a fail safe that reduces the processing load of the motor control microcomputer 12.

次いで、処理負荷判定部43はタイマ2のカウント値が閾値を超えたか否かを判定する(S500)。この閾値はS430で求められるキャリア波の周期よりもやや短い値である。動的に定めてもよい。本実施例ではステップS440でPWM信号の立ち上がりが検出されるが、S440で検出されなかった場合はS500でタイマ2が閾値を超える。   Next, the processing load determination unit 43 determines whether or not the count value of the timer 2 has exceeded a threshold value (S500). This threshold value is slightly shorter than the carrier wave period obtained in S430. It may be determined dynamically. In this embodiment, the rising edge of the PWM signal is detected in step S440, but if it is not detected in step S440, the timer 2 exceeds the threshold value in step S500.

したがって、タイマ2のカウント値が閾値を超えた場合(S500のYes)、PWM信号が検出されているはずなので、処理負荷判定部43はPWM信号監視部42からPWM信号の立ち上がり検出又は立ち下がり検出を取得したことを確認する(S510)。   Therefore, when the count value of the timer 2 exceeds the threshold value (Yes in S500), the PWM signal should be detected, so the processing load determination unit 43 detects the rising or falling edge of the PWM signal from the PWM signal monitoring unit 42. (S510).

処理負荷判定部43はPWM信号が検出されていない場合、フェールセーフ制御2を行う(S530)。フェールセーフ制御2はPWM信号のインバータ14への出力を停止するフェールセーフである。   When the PWM signal is not detected, the processing load determination unit 43 performs fail-safe control 2 (S530). The fail safe control 2 is a fail safe that stops the output of the PWM signal to the inverter 14.

以上説明したように本実施例のモータ制御装置100は、実施例1の効果に加え、監視用のパルスによりモータ制御マイコン12が監視マイコン13に任意のデータを送信することができる。   As described above, in addition to the effects of the first embodiment, the motor control device 100 according to the present embodiment allows the motor control microcomputer 12 to transmit arbitrary data to the monitoring microcomputer 13 by a monitoring pulse.

12 モータ制御マイコン
13 監視マイコン
14 インバータ
21 CPU
51 パルス線
52 PWM信号線
53 フェールセーフ信号線
54 スイッチ
100 モータ制御装置
12 Motor control microcomputer 13 Monitoring microcomputer 14 Inverter 21 CPU
51 Pulse line 52 PWM signal line 53 Fail-safe signal line 54 Switch 100 Motor controller

Claims (9)

パルス信号を継続的に出力する第1の情報処理手段と、前記パルス信号を受信する第2の情報処理手段とを有する電子制御装置であって、
外部から取得した外部情報を演算してPWM信号を作成するPWM信号作成手段と、
前記PWM信号作成手段がPWM信号の作成を開始した時に前記パルス信号をLowに設定し作成を終了した時にHighに設定するか、又は、PWM信号の作成を開始した時にLowに設定し作成を終了した時にHighに設定することで前記パルス信号を作成するパルス信号作成手段と、
前記パルス信号を監視して、前記PWM信号作成手段がPWM信号の作成を開始した時から終了する時までの作成時間を測定する作成時間測定手段と、
を有することを特徴とする電子制御装置。
An electronic control device comprising: first information processing means for continuously outputting a pulse signal; and second information processing means for receiving the pulse signal,
PWM signal creation means for computing external information acquired from the outside and creating a PWM signal;
When the PWM signal creation means starts creating the PWM signal, the pulse signal is set to Low and when the creation is finished, it is set to High, or when creation of the PWM signal is started, it is set to Low and the creation is finished. A pulse signal creating means for creating the pulse signal by setting it to High when
A creation time measuring means for monitoring the pulse signal and measuring a creation time from when the PWM signal creation means starts creating the PWM signal to when it finishes;
An electronic control device comprising:
前記PWM信号作成手段はキャリア波の周期毎にPWM信号を作成するものであり、
前記作成時間測定手段は、前記パルス信号の立ち下がり又は立ち上がりを監視して、PWM信号作成手段がPWM信号の作成を開始した時から、次回、PWM信号の作成を開始した時までの時間をキャリア波の周期として測定する、
ことを特徴とする請求項1記載の電子制御装置。
The PWM signal creating means creates a PWM signal for each carrier wave period,
The creation time measuring means monitors the fall or rise of the pulse signal, and the time from when the PWM signal creation means starts creating the PWM signal to the next time when the creation of the PWM signal is started is a carrier. Measure as wave period,
The electronic control device according to claim 1.
前記パルス信号作成手段は、前記PWM信号作成手段がPWM信号の作成を開始した時から作成を終了する時までの間に、前記パルス信号に所定長のデータを挿入し、
PWM信号を監視してPWM信号の立ち上がりを検出するPWM信号監視手段と、
前記PWM信号の立ち上がりが検出された時を前記データの先頭に特定して前記データを受信するデータ受信手段と、
を有することを特徴とする請求項1又は2記載の電子制御装置。
The pulse signal creation means inserts data of a predetermined length into the pulse signal between the time when the PWM signal creation means starts creating the PWM signal and the time when the creation ends.
PWM signal monitoring means for monitoring the PWM signal and detecting the rising edge of the PWM signal;
A data receiving means for specifying the time when the rising edge of the PWM signal is detected as the head of the data and receiving the data;
The electronic control device according to claim 1, further comprising:
前記作成時間が所定値以上の場合、キャリア波の周期を長くするフェールセーフ手段を有する、ことを特徴とする請求項1〜3いずれか1項記載の電子制御装置。   The electronic control device according to claim 1, further comprising fail-safe means for lengthening a carrier wave period when the creation time is equal to or greater than a predetermined value. PWM信号を監視して、PWM信号の立ち上がり又は立ち下がりの少なくとも一方を検出するPWM信号監視手段と、
前記作成時間測定手段が測定したキャリア波の周期内に、前記PWM信号監視手段がPWM信号の立ち上がり又は立ち下がりのどちらも検出しない場合、PWM信号の出力を停止するフェールセーフ手段と、
を有することを特徴とする請求項2記載の電子制御装置。
PWM signal monitoring means for monitoring the PWM signal and detecting at least one of the rising edge and falling edge of the PWM signal;
Fail safe means for stopping the output of the PWM signal when the PWM signal monitoring means does not detect either the rise or fall of the PWM signal within the period of the carrier wave measured by the creation time measurement means,
The electronic control device according to claim 2, further comprising:
前記PWM信号作成手段がPWM信号を作成していない場合、前記パルス信号作成手段は、定期的に状態が切り替わる前記パルス信号を作成し、
前記フェールセーフ手段は、所定時間内に前記パルス信号の状態が切り替わらない場合、前記PWM信号作成手段にフェールセーフ処理を施す、
ことを特徴とする請求項4又は5記載の電子制御装置。
When the PWM signal creation means has not created a PWM signal, the pulse signal creation means creates the pulse signal whose state is periodically switched,
The fail-safe means performs fail-safe processing on the PWM signal creating means when the state of the pulse signal is not switched within a predetermined time.
The electronic control device according to claim 4 or 5, wherein
前記作成時間が所定値以上の場合、キャリア波の周期を長くするフェールセーフ手段を有し、
前記フェールセーフ手段は、前記データ受信手段が受信したデータに応じて、前記所定値を変更する、
ことを特徴とする請求項3記載の電子制御装置。
If the creation time is greater than or equal to a predetermined value, it has fail-safe means for increasing the period of the carrier wave,
The fail safe means changes the predetermined value according to the data received by the data receiving means.
The electronic control device according to claim 3.
パルス信号を受信して当該情報処理装置がPWM信号の作成を開始した時から終了する時までの作成時間を測定する第2の情報処理装置に、前記パルス信号を継続的に出力する情報処理装置であって、
外部から取得した外部情報を演算してPWM信号を作成するPWM信号作成手段と、
前記PWM信号作成手段がPWM信号の作成を開始した時に前記パルス信号をLowに設定し作成を終了した時にHighに設定するか、又は、PWM信号の作成を開始した時にLowに設定し作成を終了した時にHighに設定することで前記パルス信号を作成するパルス信号作成手段と、
を有することを特徴とする情報処理装置。
An information processing device that continuously outputs the pulse signal to a second information processing device that measures a creation time from the time when the information processing device receives a pulse signal to the time when it finishes creating a PWM signal. Because
PWM signal creation means for computing external information acquired from the outside and creating a PWM signal;
When the PWM signal creation means starts creating the PWM signal, the pulse signal is set to Low and when the creation is finished, it is set to High, or when creation of the PWM signal is started, it is set to Low and the creation is finished. A pulse signal creating means for creating the pulse signal by setting it to High when
An information processing apparatus comprising:
外部から取得した外部情報を演算してPWM信号を作成するPWM信号作成手段と、
前記PWM信号作成手段がPWM信号の作成を開始した時にパルス信号をLowに設定し作成を終了した時にHighに設定するか、又は、PWM信号の作成を開始した時にLowに設定し作成を終了した時にHighに設定することで前記パルス信号を作成するパルス信号作成手段と、を有する第2の情報処理装置から、
前記パルス信号を受信するパルス信号受信手段と、
前記パルス信号を監視して、前記PWM信号作成手段がPWM信号の作成を開始した時から終了する時までの作成時間を測定する作成時間測定手段と、
を有することを特徴とする情報処理装置。
PWM signal creation means for computing external information acquired from the outside and creating a PWM signal;
When the PWM signal creation means starts creating the PWM signal, the pulse signal is set to Low and set to High when the creation is finished, or set to Low when the creation of the PWM signal is started and the creation is finished. From a second information processing apparatus having pulse signal creating means for creating the pulse signal by setting it to High sometimes
Pulse signal receiving means for receiving the pulse signal;
A creation time measuring means for monitoring the pulse signal and measuring a creation time from when the PWM signal creation means starts creating the PWM signal to when it finishes;
An information processing apparatus comprising:
JP2013024921A 2013-02-12 2013-02-12 Electronic control device and information processor Pending JP2014154043A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013024921A JP2014154043A (en) 2013-02-12 2013-02-12 Electronic control device and information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013024921A JP2014154043A (en) 2013-02-12 2013-02-12 Electronic control device and information processor

Publications (1)

Publication Number Publication Date
JP2014154043A true JP2014154043A (en) 2014-08-25

Family

ID=51575829

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013024921A Pending JP2014154043A (en) 2013-02-12 2013-02-12 Electronic control device and information processor

Country Status (1)

Country Link
JP (1) JP2014154043A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102017219195A1 (en) 2016-11-15 2018-05-17 Toyota Jidosha Kabushiki Kaisha METHOD FOR ENSURING THE OPERATION OF A COMPUTER
WO2019202824A1 (en) * 2018-04-18 2019-10-24 日立オートモティブシステムズ株式会社 Electronic control device
KR20200077354A (en) * 2018-12-20 2020-06-30 현대트랜시스 주식회사 Commuication system in vehicle and the method using the same

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102017219195A1 (en) 2016-11-15 2018-05-17 Toyota Jidosha Kabushiki Kaisha METHOD FOR ENSURING THE OPERATION OF A COMPUTER
US10514970B2 (en) 2016-11-15 2019-12-24 Toyota Jidosha Kabushiki Kaisha Method of ensuring operation of calculator
DE102017219195B4 (en) 2016-11-15 2022-09-01 Toyota Jidosha Kabushiki Kaisha PROCEDURE FOR ENSURE OPERATION OF A COMPUTER
WO2019202824A1 (en) * 2018-04-18 2019-10-24 日立オートモティブシステムズ株式会社 Electronic control device
US20210046942A1 (en) * 2018-04-18 2021-02-18 Hitachi Automotive Systems, Ltd. Electronic control device
JPWO2019202824A1 (en) * 2018-04-18 2021-04-22 日立Astemo株式会社 Electronic control device
KR20200077354A (en) * 2018-12-20 2020-06-30 현대트랜시스 주식회사 Commuication system in vehicle and the method using the same
KR102219370B1 (en) * 2018-12-20 2021-02-23 현대트랜시스 주식회사 Commuication system in vehicle and the method using the same
US11159041B2 (en) 2018-12-20 2021-10-26 Hyundai Transys Inc. Communication system in vehicle and communication method using the same

Similar Documents

Publication Publication Date Title
EP3199407B1 (en) Control device and control method for on-vehicle electronic apparatus
US10826423B2 (en) Motor driving apparatus and motor driving method
US10053141B2 (en) Communication system
US11643095B2 (en) Electronic control device, control system, and reset determination method
US9374032B2 (en) PWM output apparatus and motor driving apparatus
JP5381999B2 (en) Vehicle electronic control system, vehicle electronic control unit, and vehicle control synchronization method
EP3023304B1 (en) Vehicle-mounted electronic device control device and control method
US9889881B2 (en) Control apparatus and control method of on-vehicle electronic equipment
JP5375059B2 (en) Sensor abnormality detection device and sensor abnormality detection method
CN109687782B (en) Control device and control system of stepping motor
JP6962176B2 (en) Power converter control device
JP2020106391A (en) Controller of vehicle onboard apparatus
JP2014154043A (en) Electronic control device and information processor
CN108688717B (en) Vehicle control device
EP2896533A1 (en) Semiconductor device and driving apparatus
US10444288B2 (en) Abnormality diagnosing device and abnormality diagnosing method
US8638154B2 (en) System clock monitoring apparatus and motor control system
JP6484954B2 (en) Motor control device, motor control system, motor control method, and motor control program
JP6044468B2 (en) Fuel injection control device
JP6340913B2 (en) Control apparatus and control method
JP2018106513A (en) Detection device
JP5880885B2 (en) Load drive device
JP2017210942A (en) Device and method for controlling engine
CN111176150B (en) Electronic control device and emergency interrupt method for micro-beat generation
CN115001325B (en) Timed interrupt control method and multi-step motor synchronous control system and method