JP2018142811A - Load current control device - Google Patents

Load current control device Download PDF

Info

Publication number
JP2018142811A
JP2018142811A JP2017035172A JP2017035172A JP2018142811A JP 2018142811 A JP2018142811 A JP 2018142811A JP 2017035172 A JP2017035172 A JP 2017035172A JP 2017035172 A JP2017035172 A JP 2017035172A JP 2018142811 A JP2018142811 A JP 2018142811A
Authority
JP
Japan
Prior art keywords
current control
serial communication
control circuit
circuit unit
communication line
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
JP2017035172A
Other languages
Japanese (ja)
Inventor
久通 神宮
Hisamichi Jingu
久通 神宮
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.)
Hitachi Astemo Ltd
Original Assignee
Hitachi Automotive Systems Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Automotive Systems Ltd filed Critical Hitachi Automotive Systems Ltd
Priority to JP2017035172A priority Critical patent/JP2018142811A/en
Publication of JP2018142811A publication Critical patent/JP2018142811A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Control Of Electric Motors In General (AREA)
  • Electronic Switches (AREA)

Abstract

PROBLEM TO BE SOLVED: To make it possible to determine a state of a serial communication line connecting a controller and a current control circuit unit in a current control device.SOLUTION: A load current control device 10 includes: a current control circuit unit 12 connected with a load 20; and a controller 11 connected with the current control circuit unit via serial communication lines 13T and 13R. The controller 11 includes a determination unit 111 for determining states of the serial communication lines. The determination unit determines whether the serial communication lines are normal or abnormal on the basis of an indication current value indicated to the current control circuit unit via the serial communication lines, an output current value received from the current control circuit unit via the serial communication lines, and prescribed status information received from the current control circuit unit via the serial communication lines.SELECTED DRAWING: Figure 1

Description

本発明は、負荷の電流制御装置に関する。   The present invention relates to a load current control device.

負荷の電流を制御する電流制御装置は多くの産業分野で多用されているが、電流制御装置に対する小型化の要請は年々顕著になっている。電流制御装置を小型化するための一つの手段として、負荷の電流検出回路、電流フィードバック機能、負荷との導線の異常検出機能等を一つのパッケージに集約した電流制御IC(Integrated Circuit)を用いることが知られている。例えば、特許文献1では、負荷に流れる電流を制御する電流制御ICに関する技術が開示されている。   Current control devices that control the current of the load are widely used in many industrial fields, but the demand for downsizing of the current control devices has been increasing year by year. As a means to reduce the size of the current control device, use a current control IC (Integrated Circuit) that integrates a load current detection circuit, a current feedback function, an abnormality detection function of the conductor with the load, etc. into one package. It has been known. For example, Patent Document 1 discloses a technique related to a current control IC that controls a current flowing through a load.

特許文献1に記載の電流制御ICは、負荷に流れる電流を検出する電流検出部と、検出した電流値とシリアル通信で外部機器から受信した指示電流値とに基づいて負荷に流れる電流を制御するための半導体素子とを備え、検出した電流値をシリアル通信データに変換して外部機器へ送信する機能を持つ。さらに、特許文献1の電流制御ICは、負荷に印加される電圧を検出する電圧検知部を備え、負荷に印加されている電圧が過電圧状態であることを検出すると、過電圧状態を示す信号をシリアル通信データにのせて外部へ送信する機能を持つ。   A current control IC described in Patent Document 1 controls a current flowing through a load based on a current detection unit that detects a current flowing through the load, and a detected current value and an instruction current value received from an external device through serial communication. And a function of converting the detected current value into serial communication data and transmitting it to an external device. Furthermore, the current control IC of Patent Document 1 includes a voltage detection unit that detects a voltage applied to the load. When it is detected that the voltage applied to the load is in an overvoltage state, a signal indicating the overvoltage state is serialized. It has a function to send it on the communication data.

特開2009−284162号公報JP 2009-284162 A

しかしながら、特許文献1に記載の従来技術では、外部機器と電流制御ICとを接続するシリアル通信線に地絡や断線が発生した場合に、この異常を検出することが難しいという課題がある。パリティデータをチェックする場合であっても、シリアル通信線に地絡や断線の異常が生じると、パリティビットやパリティチェックを有効または無効に設定するビットの全てが0になってしまうため、その異常を検出することができない。   However, the conventional technique described in Patent Document 1 has a problem that it is difficult to detect this abnormality when a ground fault or disconnection occurs in the serial communication line that connects the external device and the current control IC. Even when checking parity data, if a ground fault or disconnection abnormality occurs in the serial communication line, all of the parity bits and the bits that enable / disable the parity check are set to 0. Cannot be detected.

本発明は、上記の課題に鑑みてなされたもので、その目的は、電流制御装置内のコントローラと電流制御回路部とを接続するシリアル通信線の状態を判定することができるようにした負荷の電流制御装置を提供することにある。   The present invention has been made in view of the above problems, and its purpose is to determine the state of a serial communication line that connects the controller in the current control device and the current control circuit unit. The object is to provide a current control device.

上記課題を解決すべく、本発明に従う負荷の電流制御装置は、負荷に接続される電流制御回路部と、電流制御回路部とシリアル通信線を介して接続されるコントローラとを備える負荷の電流制御装置であって、コントローラは、シリアル通信線の状態を判定する判定部を有し、判定部は、シリアル通信線を介して電流制御回路部へ指示した指示電流値と、電流制御回路部からシリアル通信線を介して受信する出力電流値と、電流制御回路部からシリアル通信線を介して受信する所定のステータス情報とに基づいて、シリアル通信線が正常であるか異常であるかを判定する。   In order to solve the above problems, a current control device for a load according to the present invention includes a current control circuit unit connected to a load, and a current control for a load including a controller connected to the current control circuit unit via a serial communication line. The controller includes a determination unit that determines the state of the serial communication line. The determination unit serially instructs the current control circuit unit through the serial communication line and the current value that is indicated from the current control circuit unit. Whether the serial communication line is normal or abnormal is determined based on the output current value received via the communication line and predetermined status information received via the serial communication line from the current control circuit unit.

本発明によれば、電流制御装置内のコントローラは、電流制御装置内の電流制御回路部に接続されるシリアル通信線の状態を判定することができる。   According to the present invention, the controller in the current control device can determine the state of the serial communication line connected to the current control circuit unit in the current control device.

電流制御装置の全体構成図である。It is a whole block diagram of a current control apparatus. マイクロコンピュータと電流制御ICとの間で通信されるデータの構成例を示す説明図である。It is explanatory drawing which shows the structural example of the data communicated between a microcomputer and current control IC. 通信線状態判定処理のフローチャートである。It is a flowchart of a communication line state determination process.

以下、図面に基づいて、本発明の実施の形態を説明する。本実施形態に係る負荷の電流制御装置10は、「コントローラ」としてのマイクロコンピュータ11と、「電流制御回路部」としての電流制御IC12とを内蔵しており、それらマイクロコンピュータ11と電流制御IC12とはシリアル通信線13T,13Rにより接続されている。
詳細は後述するように、マイクロコンピュータ11は、所定の閾値以上の電流値を指示する送信データ14を電流制御IC12へ送信し、所定時間が経過した後、電流制御IC12から受信した受信データ15に基づいてシリアル通信線13T,13Rの状態が正常であるか異常であるか判定する。マイクロコンピュータ11は、判定結果(異常と判定した場合の結果だけでもよい)を記憶すると共に、外部へ警報を出力することもできる。
Hereinafter, embodiments of the present invention will be described with reference to the drawings. The load current control device 10 according to the present embodiment includes a microcomputer 11 as a “controller” and a current control IC 12 as a “current control circuit unit”. The microcomputer 11, the current control IC 12, Are connected by serial communication lines 13T and 13R.
As will be described in detail later, the microcomputer 11 transmits transmission data 14 indicating a current value equal to or greater than a predetermined threshold value to the current control IC 12, and after a predetermined time has elapsed, Based on this, it is determined whether the serial communication lines 13T and 13R are normal or abnormal. The microcomputer 11 can store the determination result (only the result when it is determined to be abnormal) and can output an alarm to the outside.

このように構成される本実施形態によれば、マイクロコンピュータ11から電流制御IC12へのシリアル通信線13T,13Rの地絡もしくは断線を検出することができ、速やかにユーザーに異常を通知することが可能となる。これにより、電流制御装置10の信頼性および使い勝手を向上することができる。   According to this embodiment configured as described above, it is possible to detect a ground fault or disconnection of the serial communication lines 13T and 13R from the microcomputer 11 to the current control IC 12, and to promptly notify the user of the abnormality. It becomes possible. Thereby, the reliability and usability of the current control device 10 can be improved.

図1〜図3を用いて第1実施例を説明する。図1は、負荷の電流制御装置10を自動車に適用した場合を示す。電流制御装置10は、ECU(Engine Control Unit)30からの制御指令に応じて、負荷20へ与える電流値を指示する。負荷20は、例えば、リニアソレノイドや電動モータ等である。負荷20は、例えば油圧制御弁等のアクチュエータとして構成することができる。なお、本実施例の電流制御装置10は、自動車以外に、例えば、建設機械、産業機械、ロボットなどにも広く適用することができる。   A first embodiment will be described with reference to FIGS. FIG. 1 shows a case where a load current control device 10 is applied to an automobile. Current control device 10 instructs a current value to be applied to load 20 in accordance with a control command from ECU (Engine Control Unit) 30. The load 20 is, for example, a linear solenoid or an electric motor. The load 20 can be configured as an actuator such as a hydraulic control valve. Note that the current control device 10 of the present embodiment can be widely applied to, for example, construction machines, industrial machines, robots, and the like other than automobiles.

電流制御装置10は、負荷20への電流を制御する装置であり、例えば、マイクロコンピュータ11と、電流制御IC12とを内蔵する。マイクロコンピュータ11と電流制御IC12とは、シリアル通信線13T,13Rを介して接続されており、シリアル通信線13T,13Rを介してデータを授受する。シリアル通信線13T,13Rを用いたシリアル通信では、例えばSPI(Serial Peripheral Interface)などのインタフェースを用いることができる。ただし、通信インターフェースの種類は特に問わない。シリアル通信線13Tは、マイクロコンピュータ11から電流制御IC12へ送信データ14を送るときに使用する。シリアル通信線13Rは、マイクロコンピュータ11が電流制御IC12から受信データ15を受け取るときに使用する。送受信を区別しない場合、シリアル通信線13T,13Rをシリアル通信線13と呼ぶ。   The current control device 10 is a device that controls a current to the load 20, and includes, for example, a microcomputer 11 and a current control IC 12. The microcomputer 11 and the current control IC 12 are connected via serial communication lines 13T and 13R, and exchange data via the serial communication lines 13T and 13R. In serial communication using the serial communication lines 13T and 13R, for example, an interface such as SPI (Serial Peripheral Interface) can be used. However, the type of communication interface is not particularly limited. The serial communication line 13T is used when sending transmission data 14 from the microcomputer 11 to the current control IC 12. The serial communication line 13R is used when the microcomputer 11 receives the reception data 15 from the current control IC 12. When the transmission and reception are not distinguished, the serial communication lines 13T and 13R are called serial communication lines 13.

マイクロコンピュータ11は、例えば、マイクロプロセッサ、メモリ、通信回路(いずれも不図示)を備えており、メモリには図示せぬ所定のコンピュータプログラムが格納されている。マイクロプロセッサが所定のコンピュータプログラムを読み込んで実施することで、通信線状態判定部111という機能が実現される。通信線状態判定部111は、シリアル通信線13の状態の可否を判定する機能であり、警報部1111と異常判定結果記憶部1112とを含む。通信線状態判定部111の処理内容は図3で後述する。   The microcomputer 11 includes, for example, a microprocessor, a memory, and a communication circuit (all not shown), and a predetermined computer program (not shown) is stored in the memory. When the microprocessor reads and executes a predetermined computer program, the function of the communication line state determination unit 111 is realized. The communication line state determination unit 111 is a function for determining whether or not the serial communication line 13 is in a state, and includes an alarm unit 1111 and an abnormality determination result storage unit 1112. The processing content of the communication line state determination unit 111 will be described later with reference to FIG.

電流制御IC12は、例えば、PWM(Pulse Width Modulation)パルス出力機能、出力電流値検出機能、過電圧状態検出機能、パリティチェック機能、パリティチェック無効化機能を備える。   The current control IC 12 includes, for example, a PWM (Pulse Width Modulation) pulse output function, an output current value detection function, an overvoltage state detection function, a parity check function, and a parity check invalidation function.

PWMパルス出力機能は、マイクロコンピュータ11から受信した送信データ14内の指示電流値に基づいて、負荷20へ制御信号22としてのPWMパルスを出力する機能である。出力電流値検出機能は、負荷20の出力電流値23を検出する機能である。過電圧状態検出機能は、負荷20に印加されている電圧が過電圧状態であることを検出する機能である。パリティチェック機能は、マイクロコンピュータ11から受信したデータ14に含まれているパリティビットを用いて、データ誤りを検出する機能である。パリティチェック無効化機能は、マイクロコンピュータ11から受信したデータ14内の所定のビットがゼロに設定されている場合に、パリティチェックを無効にする機能である。   The PWM pulse output function is a function for outputting a PWM pulse as the control signal 22 to the load 20 based on the instruction current value in the transmission data 14 received from the microcomputer 11. The output current value detection function is a function for detecting the output current value 23 of the load 20. The overvoltage state detection function is a function for detecting that the voltage applied to the load 20 is in an overvoltage state. The parity check function is a function for detecting a data error using a parity bit included in the data 14 received from the microcomputer 11. The parity check invalidation function is a function for invalidating the parity check when a predetermined bit in the data 14 received from the microcomputer 11 is set to zero.

電流制御IC12は、上述の機能を用いることで、マイクロコンピュータ11の指示する電流値に従い、負荷20へ流れる電流を制御したり、負荷20に実際に流れた電流値や過電圧状態を検出してマイクロコンピュータ11へ送信したりする。   The current control IC 12 uses the above-described functions to control the current flowing to the load 20 according to the current value indicated by the microcomputer 11 and to detect the current value and the overvoltage state that actually flowed to the load 20. To the computer 11.

さらに、電流制御IC12は、負荷20と接続する信号線21T,21Rに地絡や断線が生じたか判定する断線検出部121を備える。信号線21Tは電流制御IC12から負荷20へ信号が流れる線であり、信号線21Rは戻りの線である。両者を区別しない場合は信号線12と呼ぶ。信号線に代えて導線12と呼ぶこともできる。   Furthermore, the current control IC 12 includes a disconnection detection unit 121 that determines whether a ground fault or disconnection has occurred in the signal lines 21T and 21R connected to the load 20. The signal line 21T is a line through which a signal flows from the current control IC 12 to the load 20, and the signal line 21R is a return line. When the two are not distinguished, they are called signal lines 12. It can also be referred to as a conducting wire 12 instead of the signal line.

負荷20には、電流制御IC12から出力されるPWMパルス信号により、電流が流れ込む。これにより、例えば電磁弁等が開閉して油圧が制御される。   A current flows into the load 20 by a PWM pulse signal output from the current control IC 12. Thereby, for example, an electromagnetic valve or the like is opened and closed to control the hydraulic pressure.

ECU30は、自動車を制御するコンピュータシステムである。ECU30は、図示せぬセンサやステアリング、ブレーキペダル、アクセルペダルなどからの信号に基づいて、電動モータの回転数、燃料噴射量、吸入空気量、変速機動作などを決定し、それらを実現するための制御指令を各部へ出力する。電流制御装置10は、ECU30からの制御指令を受け取る装置群のうちの一つである。   The ECU 30 is a computer system that controls the automobile. The ECU 30 determines the number of revolutions of the electric motor, the fuel injection amount, the intake air amount, the transmission operation, and the like based on signals from sensors (not shown), steering, brake pedals, accelerator pedals, etc., and implements them. The control command is output to each part. The current control device 10 is one of a group of devices that receive a control command from the ECU 30.

図2は、マイクロコンピュータ11と電流制御IC12との間で流れるデータ14,15の構成例を示す。図2の上側には、マイクロコンピュータ11から電流制御IC12へ送信されるデータ14の例が示されており、図2の下側には電流制御IC12からマイクロコンピュータ11へ送信されるデータ15の例が示されている。データ14,15は、それぞれ1バイトもしくは2バイトのデータとして構成される。   FIG. 2 shows a configuration example of data 14 and 15 flowing between the microcomputer 11 and the current control IC 12. An example of data 14 transmitted from the microcomputer 11 to the current control IC 12 is shown on the upper side of FIG. 2, and an example of data 15 transmitted from the current control IC 12 to the microcomputer 11 is shown on the lower side of FIG. It is shown. The data 14 and 15 are configured as 1-byte or 2-byte data, respectively.

図2上側に示すデータ14は、例えば、パリティビット141、パリティ機能有効/無効設定ビット142、指示電流値143を含む。   2 includes, for example, a parity bit 141, a parity function enable / disable setting bit 142, and an instruction current value 143.

パリティチェックによるデータ異常検出機能としては、奇数パリティと偶数パリティの2種類がある。例えば、連続したデータを加算するデータ処理を行う場合は、偶数パリティの方がエラーチェックは容易なため、偶数パリティを用いることが多い。   There are two types of data abnormality detection functions by parity check, odd parity and even parity. For example, when performing data processing for adding consecutive data, even parity is often used because error checking is easier with even parity.

電流制御IC12を耐ノイズ性の強い環境下で使用する場合は、不要なパリティチェックを省くことで、電流制御IC12の内部回路の電気的負担を低減できる。そこで、パリティチェック有効/無効設定ビット142をゼロに設定することにより、パリティチェックを無効にできる。   When the current control IC 12 is used in an environment with strong noise resistance, it is possible to reduce an electrical load on an internal circuit of the current control IC 12 by omitting an unnecessary parity check. Therefore, the parity check can be disabled by setting the parity check enable / disable setting bit 142 to zero.

図2下側に示すデータ15は、例えば、負荷20と接続する信号線21の地絡を検出する地絡検出ビット(地絡状態)151、負荷20に実際に流れた電流値(出力電流値)152、過電圧状態信号153、通信パリティエラー検出ビット154、および、パリティビット155を含む。   The data 15 shown in the lower side of FIG. 2 includes, for example, a ground fault detection bit (ground fault state) 151 for detecting a ground fault of the signal line 21 connected to the load 20, and a current value (output current value) actually flowing to the load 20 ) 152, an overvoltage state signal 153, a communication parity error detection bit 154, and a parity bit 155.

なお、電流制御IC12では、マイクロコンピュータ11から電流制御IC12へのシリアル通信線13Tが地絡もしくは断線した場合、図2上側に示すデータ14は、ビットが全てゼロになる。つまり、データ14のパリティビット141、指示電流値143、パリティ機能有効/無効設定ビット142が全てゼロになる。   In the current control IC 12, when the serial communication line 13T from the microcomputer 11 to the current control IC 12 is grounded or disconnected, the data 14 shown on the upper side of FIG. That is, the parity bit 141, the instruction current value 143, and the parity function enable / disable setting bit 142 of the data 14 are all zero.

シリアル通信線13Tに異常が生じた場合、電流制御IC12からマイクロコンピュータ11へ送られるデータ15では、実電流値152の値(図1の出力電流値23)は、ゼロになる。データ14において指示電流値143にゼロが設定されているため、電流制御IC12はその指示電流値143にしたがって負荷20への通電を制御する。また、過電圧や通信パリティエラーは発生しないため、過電圧状態153、および、通信パリティエラー検出ビット154も共にゼロとなる。さらに、負荷との導線に地絡が発生していないため、負荷20との信号線21の地絡を検出するビット151もゼロとなる。   When an abnormality occurs in the serial communication line 13T, in the data 15 sent from the current control IC 12 to the microcomputer 11, the value of the actual current value 152 (the output current value 23 in FIG. 1) becomes zero. Since zero is set for the command current value 143 in the data 14, the current control IC 12 controls energization to the load 20 in accordance with the command current value 143. Since neither an overvoltage nor a communication parity error occurs, both the overvoltage state 153 and the communication parity error detection bit 154 become zero. Furthermore, since no ground fault has occurred in the lead wire with the load, the bit 151 for detecting the ground fault of the signal line 21 with the load 20 is also zero.

図3は、マイクロコンピュータ11の実施する通信線状態判定処理を説明するためのフローチャートである。   FIG. 3 is a flowchart for explaining a communication line state determination process performed by the microcomputer 11.

本処理は、例えば、予め設定された所定の周期で実行してもよいし、あるいは、予め設定された所定の契機が到来する度に実行してもよい。例えば、所定値以上の加速度が電流制御装置10に加わった場合、所定値以上の温度変化があった場合のように、電流制御装置10の周囲環境の変化に基づいて図3の処理を実施してもよい。   This process may be executed, for example, at a predetermined cycle that is set in advance, or may be executed every time a predetermined trigger is reached. For example, when acceleration equal to or greater than a predetermined value is applied to the current control device 10, the process of FIG. 3 is performed based on a change in the surrounding environment of the current control device 10, such as when there is a temperature change greater than or equal to a predetermined value. May be.

マイクロコンピュータ11は、電流制御IC12に対してゼロ以外の指示電流値を送信する(S10)。フローチャートでは指示電流値に符号iを与える。指示電流値は、送信データ14の指示電流値143に設定されて、電流制御IC12へ送信される。   The microcomputer 11 transmits an instruction current value other than zero to the current control IC 12 (S10). In the flowchart, symbol i is given to the indicated current value. The command current value is set to the command current value 143 of the transmission data 14 and transmitted to the current control IC 12.

マイクロコンピュータ11は、指示電流値を電流制御IC12へ送信した後、所定時間が経過すると、マイクロコンピュータ11から電流制御IC12へ向かうシリアル通信線13T(送信線)に異常が発生しているかを判定する(S11)。   The microcomputer 11 determines whether an abnormality has occurred in the serial communication line 13T (transmission line) from the microcomputer 11 to the current control IC 12 when a predetermined time has elapsed after transmitting the instruction current value to the current control IC 12. (S11).

異常の有無を判定するステップS11では、複数の条件に基づいて、異常の発生を検出する。一つの例として、ここでは4つの条件を全て満たす場合に、シリアル通信線13Tに異常が生じたと判定する場合を説明する。   In step S11 for determining the presence or absence of abnormality, occurrence of abnormality is detected based on a plurality of conditions. As an example, a case will be described here in which it is determined that an abnormality has occurred in the serial communication line 13T when all four conditions are satisfied.

第1の条件は、「指示電流値i≧所定の閾値Thi」であることである。第2の条件は、「実電流値=0」であることである。第1の条件および第2の条件は、電流制御IC12に対してゼロ以外の所定の閾値Thi以上の電流を流すように指示しているにも拘らず、実際には、正しいシリアル通信データ14が電流制御IC12に送信されていないことを判定するためのものである。   The first condition is that “indicated current value i ≧ predetermined threshold value Thi”. The second condition is that “actual current value = 0”. In spite of the first condition and the second condition instructing the current control IC 12 to pass a current not less than a predetermined threshold value Thi other than zero, the correct serial communication data 14 is actually This is to determine that the current control IC 12 has not been transmitted.

しかしながら、「指示電流値i≧所定の閾値Thi」かつ「実電流値=0」の状態は、本発明で検出することを目的としている、マイクロコンピュータ11から電流制御IC12への送信線13Tの地絡もしくは断線の事象に特有の状態ではない。   However, the state of “indicated current value i ≧ predetermined threshold Thi” and “actual current value = 0” is the ground of the transmission line 13T from the microcomputer 11 to the current control IC 12 for the purpose of detection in the present invention. It is not a condition specific to an event of tangling or disconnection.

その状態は、電流制御IC12と負荷20との信号線21に地絡が発生した事象でも発生するし、または、マイクロコンピュータ11から電流制御IC12へ送信されるデータ14中に1ビットのみのデータ化けが発生してしまい、このパリティエラーのために電流制御IC12が指示電流値を受理しなかった事象でも発生する。   This state occurs even in the event that a ground fault occurs in the signal line 21 between the current control IC 12 and the load 20, or only one bit of data is garbled in the data 14 transmitted from the microcomputer 11 to the current control IC 12. May occur even if the current control IC 12 does not accept the command current value due to the parity error.

そこで、本実施例では、それらの事象と、マイクロコンピュータ11から電流制御IC12への送信線13Tで生じた地絡もしくは断線の事象とを区別するために、第3の条件と第4の条件をステップS11に追加する。   Therefore, in the present embodiment, the third condition and the fourth condition are defined in order to distinguish these events from the ground fault or disconnection event that occurred in the transmission line 13T from the microcomputer 11 to the current control IC 12. It adds to step S11.

第3の条件は、「負荷20との信号線21に生じる地絡検出ビット=0」であること、つまり、信号線21に地絡が検出されていないこと、である。第4の条件は、「通信パリティエラー検出ビット=0」であること、つまり、マイクロコンピュータ11と電流制御IC12との間の通信にパリティエラーが検出されていないこと、である。   The third condition is that “a ground fault detection bit generated in the signal line 21 with the load 20 = 0”, that is, no ground fault is detected in the signal line 21. The fourth condition is that “communication parity error detection bit = 0”, that is, no parity error is detected in the communication between the microcomputer 11 and the current control IC 12.

以上述べた4つの条件を一つでも満たさない場合、ステップS11ではNOと判定されてステップS12へ進む。マイクロコンピュータ11は、マイクロコンピュータ11から電流制御IC12への送信線13Tは正常であると判断し、本処理を終了する。   If even one of the four conditions described above is not satisfied, NO is determined in step S11 and the process proceeds to step S12. The microcomputer 11 determines that the transmission line 13T from the microcomputer 11 to the current control IC 12 is normal, and ends this process.

これに対し、上述の4つの条件を全て満たす場合、ステップS11ではYESと判定されて、ステップS13へ進む。マイクロコンピュータ11は、マイクロコンピュータ11から電流制御IC12への送信線13Tに地絡もしくは断線が発生していると判断し、この判定結果を異常判定結果記憶部1112に格納する。異常判定結果記憶部1112は、不揮発性メモリ、または、電池などでバックアップされた揮発性メモリであることが望ましい。   On the other hand, when all the above four conditions are satisfied, YES is determined in step S11, and the process proceeds to step S13. The microcomputer 11 determines that a ground fault or disconnection has occurred in the transmission line 13T from the microcomputer 11 to the current control IC 12, and stores this determination result in the abnormality determination result storage unit 1112. The abnormality determination result storage unit 1112 is preferably a non-volatile memory or a volatile memory backed up by a battery or the like.

マイクロコンピュータ11は、ステップS13で記憶した判定結果に基づいて警報部1111を作動させる(S14)。警報部1111は、例えば、警告灯を点灯させたり、警報ブザーを鳴動させたり、警告メッセージをディスプレイ等に表示させたり、といった警報処理を実行して本処理を終了する。   The microcomputer 11 activates the alarm unit 1111 based on the determination result stored in step S13 (S14). For example, the alarm unit 1111 performs alarm processing such as turning on a warning light, sounding an alarm buzzer, or displaying a warning message on a display or the like, and ends this processing.

このように構成される本実施例によれば、マイクロコンピュータ11から電流制御IC12へデータ14を送るシリアル通信線13Tに異常が生じたか否かを判定することができるため、電流制御装置10の信頼性および使い勝手が向上する。   According to this embodiment configured as described above, since it is possible to determine whether or not an abnormality has occurred in the serial communication line 13T that sends data 14 from the microcomputer 11 to the current control IC 12, the reliability of the current control device 10 can be determined. Improves sex and usability.

従来技術の場合、シリアル通信線13Tが地絡もしくは断線した場合、電流制御IC12が受信するデータ14の全ビットがゼロになるため、指示電流値143、パリティビット141、パリティチェック有効/無効設定ビット142が全てゼロになる。パリティチェック有効/無効設定ビット142がゼロなので、パリティチェックによる異常検出機能が働かない。このため、電流制御IC12は、データ14を正常なデータであるとして受取り、負荷20の電流がゼロになるように電流制御を行ってしまう。このように、従来技術では、本来はゼロではない指示電流値を電流制御IC12に送信しても、シリアル通信線の異常を検出することができない。これに対し、本実施例によれば、ゼロ以外の指示電流値を電流制御IC12へ送信することで、シリアル通信線13T(送信線13T)の異常を検出することができる。   In the case of the prior art, when the serial communication line 13T is grounded or disconnected, all the bits of the data 14 received by the current control IC 12 become zero, so the instruction current value 143, the parity bit 141, the parity check enable / disable setting bit 142 becomes all zeros. Since the parity check valid / invalid setting bit 142 is zero, the abnormality detection function by the parity check does not work. For this reason, the current control IC 12 receives the data 14 as normal data and performs current control so that the current of the load 20 becomes zero. As described above, in the related art, even if an instruction current value that is not originally zero is transmitted to the current control IC 12, it is not possible to detect an abnormality in the serial communication line. On the other hand, according to the present embodiment, an abnormality of the serial communication line 13T (transmission line 13T) can be detected by transmitting an instruction current value other than zero to the current control IC 12.

なお、本発明は、上述した実施形態に限定されない。当業者であれば、本発明の範囲内で、種々の追加や変更等を行うことができる。上述の実施形態において、添付図面に図示した構成例に限定されない。本発明の目的を達成する範囲内で、実施形態の構成や処理方法は適宜変更することが可能である。   In addition, this invention is not limited to embodiment mentioned above. A person skilled in the art can make various additions and changes within the scope of the present invention. In the above-described embodiment, the present invention is not limited to the configuration example illustrated in the accompanying drawings. The configuration and processing method of the embodiment can be changed as appropriate within the scope of achieving the object of the present invention.

また、本発明の各構成要素は、任意に取捨選択することができ、取捨選択した構成を具備する発明も本発明に含まれる。さらに特許請求の範囲に記載された構成は、特許請求の範囲で明示している組合せ以外にも組み合わせることができる。   Moreover, each component of the present invention can be arbitrarily selected, and an invention having a selected configuration is also included in the present invention. Further, the configurations described in the claims can be combined with combinations other than those specified in the claims.

10:電流制御装置、11:マイクロコンピュータ、12:電流制御IC、13T:シリアル通信線(送信)、13R:シリアル通信線(受信)、21:信号線、20:負荷、30:ECU   10: current control device, 11: microcomputer, 12: current control IC, 13T: serial communication line (transmission), 13R: serial communication line (reception), 21: signal line, 20: load, 30: ECU

Claims (4)

負荷に接続される電流制御回路部と、前記電流制御回路部とシリアル通信線を介して接続されるコントローラとを備える負荷の電流制御装置であって、
前記コントローラは、前記シリアル通信線の状態を判定する判定部を有し、
前記判定部は、前記シリアル通信線を介して前記電流制御回路部へ指示した指示電流値と、前記電流制御回路部から前記シリアル通信線を介して受信する出力電流値と、前記電流制御回路部から前記シリアル通信線を介して受信する所定のステータス情報とに基づいて、前記シリアル通信線が正常であるか異常であるかを判定する、
負荷の電流制御装置。
A load current control device comprising: a current control circuit unit connected to a load; and a controller connected to the current control circuit unit via a serial communication line,
The controller has a determination unit that determines the state of the serial communication line,
The determination unit includes an instruction current value instructed to the current control circuit unit via the serial communication line, an output current value received from the current control circuit unit via the serial communication line, and the current control circuit unit Determining whether the serial communication line is normal or abnormal based on predetermined status information received via the serial communication line from
Load current control device.
前記所定のステータス情報には、前記電流制御回路部と前記負荷との信号線に地絡が生じたかを示す地絡検出情報と、前記コントローラと前記電流制御回路部との間のシリアル通信にパリティエラーが生じたかを示すパリティエラー検出情報とが含まれる、
請求項1に記載の負荷の電流制御装置。
The predetermined status information includes a ground fault detection information indicating whether a ground fault has occurred in a signal line between the current control circuit unit and the load, and a parity for serial communication between the controller and the current control circuit unit. And parity error detection information indicating whether an error has occurred,
The load current control device according to claim 1.
前記判定部は、
(1)前記シリアル通信線を介して前記電流制御回路部へ指示した前記指示電流値が所定の閾値以上であること、
(2)前記電流制御回路部から前記シリアル通信線を介して受信する前記出力電流値が0を示すこと、
(3)前記地絡検出情報が正常状態を示すこと、
(4)前記パリティエラー検出情報が正常状態を示すこと、
の全ての条件を満たす場合に、前記シリアル通信線に異常が生じていると判定する、
請求項2に記載の負荷の電流制御装置。
The determination unit
(1) The indicated current value instructed to the current control circuit unit via the serial communication line is equal to or greater than a predetermined threshold value.
(2) the output current value received from the current control circuit unit via the serial communication line indicates 0;
(3) the ground fault detection information indicates a normal state;
(4) the parity error detection information indicates a normal state;
When all the conditions are satisfied, it is determined that an abnormality has occurred in the serial communication line.
The load current control device according to claim 2.
前記コントローラは、上位装置からの指示に従って、前記電流制御回路部へ前記シリアル通信線を介して前記指示電流値を送信するものであり、
前記コントローラは、前記上位装置からの指示に従って決定された前記指示電流値が前記所定の閾値以上である場合に、前記判定部を起動させる、
請求項1〜3のいずれか一項に記載の負荷の電流制御装置。
The controller transmits the instruction current value via the serial communication line to the current control circuit unit according to an instruction from a host device.
The controller activates the determination unit when the instruction current value determined according to an instruction from the host device is equal to or greater than the predetermined threshold value.
The load current control device according to any one of claims 1 to 3.
JP2017035172A 2017-02-27 2017-02-27 Load current control device Pending JP2018142811A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017035172A JP2018142811A (en) 2017-02-27 2017-02-27 Load current control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017035172A JP2018142811A (en) 2017-02-27 2017-02-27 Load current control device

Publications (1)

Publication Number Publication Date
JP2018142811A true JP2018142811A (en) 2018-09-13

Family

ID=63526819

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017035172A Pending JP2018142811A (en) 2017-02-27 2017-02-27 Load current control device

Country Status (1)

Country Link
JP (1) JP2018142811A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022249719A1 (en) * 2021-05-25 2022-12-01 株式会社オートネットワーク技術研究所 Power supply control device, and power supply control method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022249719A1 (en) * 2021-05-25 2022-12-01 株式会社オートネットワーク技術研究所 Power supply control device, and power supply control method
JP7505446B2 (en) 2021-05-25 2024-06-25 株式会社オートネットワーク技術研究所 Power supply control device and power supply control method

Similar Documents

Publication Publication Date Title
JP4573884B2 (en) In-vehicle electronic control unit power failure detection circuit
KR102111295B1 (en) Apparatus and method for controlling vehicle based on redundant architecture
US7877179B2 (en) Mechanical and electrical locking coordination security strategy for an active front steer system
JP5222404B2 (en) Safety circuit for outputting switching signals
US9008808B2 (en) Control system for safely operating at least one functional component
US7181983B2 (en) Torque sensor malfunction diagnostic system
CN110116751A (en) Device and method based on redundancy structure control vehicle
CN107406096A (en) The control device of power steering gear and vehicle boarded equipment
JP4461615B2 (en) Control device for electric power steering mechanism
US11820444B2 (en) Control device for vehicle-mounted equipment
JP2018142811A (en) Load current control device
JP4345502B2 (en) Fault diagnosis method for vehicle communication network
JP6563047B2 (en) Alarm processing circuit and alarm processing method
KR20150065986A (en) Electronic control unit for detecting breakdown of motor position sensor
JP2007038816A (en) Network system and managing method thereof
JP5577285B2 (en) Positioner
KR100764137B1 (en) A difficulty diagnosing and putting apparatus in eps system
JP2019168835A (en) Electronic control device
JP5040719B2 (en) 2-wire field device and fieldbus system
JP4820679B2 (en) Electronic control device for vehicle
CN103987966A (en) Method for monitoring pump
JP4851498B2 (en) Electric power steering control device
JPH0717337A (en) Judgement of trouble of electronic controlled unit and trouble judging device
JP2006195739A (en) Electronic controller
JP2964810B2 (en) Control device