JP5391052B2 - Control system and in-vehicle control system - Google Patents

Control system and in-vehicle control system Download PDF

Info

Publication number
JP5391052B2
JP5391052B2 JP2009291661A JP2009291661A JP5391052B2 JP 5391052 B2 JP5391052 B2 JP 5391052B2 JP 2009291661 A JP2009291661 A JP 2009291661A JP 2009291661 A JP2009291661 A JP 2009291661A JP 5391052 B2 JP5391052 B2 JP 5391052B2
Authority
JP
Japan
Prior art keywords
load
control
state
control device
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.)
Expired - Fee Related
Application number
JP2009291661A
Other languages
Japanese (ja)
Other versions
JP2011134026A (en
Inventor
哲生 山下
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Diamond Electric Manufacturing Co Ltd
Original Assignee
Diamond Electric Manufacturing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Diamond Electric Manufacturing Co Ltd filed Critical Diamond Electric Manufacturing Co Ltd
Priority to JP2009291661A priority Critical patent/JP5391052B2/en
Publication of JP2011134026A publication Critical patent/JP2011134026A/en
Application granted granted Critical
Publication of JP5391052B2 publication Critical patent/JP5391052B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Arrangement And Mounting Of Devices That Control Transmission Of Motive Force (AREA)
  • Combined Controls Of Internal Combustion Engines (AREA)
  • Safety Devices In Control Systems (AREA)

Description

本発明は、複数の制御装置を有する制御システム又は車載用制御システムに関し、特に、当該制御システム又は当該車載用制御システムへ入力される信号の入力値が何らかの原因で変動しても、当該信号の入力値が変動しない場合と同様の制御を応急的に実現させる際に用いて好適のものである。   The present invention relates to a control system or an in-vehicle control system having a plurality of control devices, and in particular, even if the input value of a signal input to the control system or the in-vehicle control system varies for some reason, It is suitable for use in a case where the same control as that in the case where the input value does not fluctuate is realized urgently.

従来より、複数の制御装置を備える制御システムが広く知られており、かかる制御装置は、各々が負荷を駆動させる機構的装置に設けられ、当該負荷を適宜に制御させる際に用いられる。また、この制御システムは、制御装置間に通信ラインを接続させ所定の情報を共有できる様にさせたもの、又は、接続される電源ラインを適宜に切換え、制御装置に供給させる電力を個別に制御させるもの等が存在する。   Conventionally, a control system including a plurality of control devices is widely known, and such a control device is provided in a mechanical device that drives a load, and is used when appropriately controlling the load. In addition, this control system connects communication lines between control devices so that predetermined information can be shared, or appropriately switches the connected power lines and individually controls the power supplied to the control devices. There are things to make.

かかる制御システムを構成する制御装置は、制御モータを駆動させる場面で用いられ、また、照明等の光度の調整を行う場面で用いられ、この他、空調、車両、電力制御等の様々な分野に適用されるものである。特に、車両に搭載される制御システムは、車載用制御システムと呼ばれ、内燃機関及びトランスミッション及び燃料供給用モータ及びバッテリー監視装置及びインバータ装置等の各種装置を適宜に制御させる。   A control device constituting such a control system is used in a scene where a control motor is driven, and is used in a scene where light intensity adjustment such as illumination is performed. In addition, it is used in various fields such as air conditioning, vehicles, and power control. Applicable. In particular, a control system mounted on a vehicle is called an in-vehicle control system, and appropriately controls various devices such as an internal combustion engine, a transmission, a fuel supply motor, a battery monitoring device, and an inverter device.

例えば、特開2002−187505号公報(特許文献1)では、車両に搭載される車載システム(特許請求の範囲における車載用制御システム)に関する技術が紹介されている。かかる車載システムは、複数の電子制御装置(特許請求の範囲における制御装置)を備え、当該電子制御装置のうち少なくとも何れかの電子制御装置には、EEPROM等の不揮発性記憶装置が搭載されている。そして、かかる構成により、車載システムでは、電源OFFに伴ってシステムが停止する際、当該システムで認識したトラブルデータ等を不揮発性記憶装置へ記録させ、各種データの保存及び次回電源ON時の各種データの参照を可能とさせている。 For example, Japanese Patent Laid-Open No. 2002-187505 (Patent Document 1) introduces a technique related to an in-vehicle system (an in-vehicle control system in claims) mounted on a vehicle. Such an in-vehicle system includes a plurality of electronic control devices (control devices in claims), and at least one of the electronic control devices includes a nonvolatile storage device such as an EEPROM. . With this configuration, in the in-vehicle system, when the system is shut down when the power is turned off, trouble data recognized by the system is recorded in the non-volatile storage device, and various data is stored and various data when the power is turned on next time. It is possible to refer to.

特開2002−187505号公報JP 2002-187505 A

しかしながら、特許文献1に記載の技術では、制御装置に供給させる電力を個別に制御させるシステムで用いる場合、一方の制御装置に接続されたセンサの電力が他方の制御装置を経由して供給されることとすると、当該他方の制御装置の電源がOFFされると、これに応じて、かかる一方の制御装置では、センサから出力される信号の出力値が低下するので、不正確な信号の出力値に基づいて制御を行うことになるとの問題が生じる。   However, in the technique described in Patent Document 1, when used in a system that individually controls the power supplied to the control device, the power of the sensor connected to one control device is supplied via the other control device. Then, when the power supply of the other control device is turned off, the output value of the signal output from the sensor in the one control device decreases accordingly. There arises a problem that the control is performed based on the above.

即ち、電源ボタン又はイグニッションキーをOFF状態とした場合、入力信号を検出している制御装置では、電源がOFF状態とされる迄の間に検出した入力信号に基づいて所定の情報を記憶装置へ記憶させる処理を実施させるが、上述した他方の制御装置の電力停止に応じて動作中の制御装置における入力信号の出力値が低下することとなり、これにより、不正確な信号の出力値に基づいて誤った制御を行うことになるとの問題が生じる。   That is, when the power button or the ignition key is turned off, the control device detecting the input signal sends predetermined information to the storage device based on the input signal detected until the power is turned off. The process to be memorized is executed, but the output value of the input signal in the operating control device is lowered in accordance with the power stoppage of the other control device described above, and thus, based on the output value of the inaccurate signal There is a problem that incorrect control is performed.

また、かかる制御装置は、複数の信号ラインが接続されている場合にあっても、当該複数の信号ラインのうち一つでも信号の出力値を低下させる信号ラインが含まれると、これに応じて誤認識を招来させ、誤った制御を行う場合が有る。   In addition, even when a plurality of signal lines are connected, the control device includes a signal line that reduces the output value of the signal even if one of the plurality of signal lines is included. There is a case where misrecognition is caused and incorrect control is performed.

更に、負荷の停止条件が整う前に当該負荷に接続された制御装置がOFF状態とされると、次回の起動時に負荷が正しく駆動されなくなる原因ともなり得る。特に、自動車のトランスファーに設けられる車載用制御システムでは、停止条件が充足されていないと、当該トランスファーに設けられたハブとギヤとが離脱した状態となる場合が有り、次回にイグニッションキーを回しても、ハブとギヤとが上手く噛合わなければ、駆動輪へトルクを伝達できなくなるとの問題も生じる。   Furthermore, if the control device connected to the load is turned off before the load stop condition is satisfied, the load may not be driven correctly at the next startup. In particular, in an in-vehicle control system provided in an automobile transfer, if the stop condition is not satisfied, the hub and gear provided in the transfer may be separated, and the ignition key is turned next time. However, if the hub and gear do not mesh well, there is a problem that torque cannot be transmitted to the drive wheels.

本発明は上記課題に鑑み、入力される信号の入力値が何らかの原因で変動しても、当該信号の入力値が変動しない場合と同様の制御を応急的に実現させ得る制御システム及び車載用制御システムの提供を第1の目的とする。また、負荷の停止条件を充足してから制御装置等の電源をOFF状態とさせ、その後、次回に制御装置等がON状態とされても、負荷の駆動が期待され得る制御システム及び車載用制御システムの提供を第2の目的とする。   In view of the above problems, the present invention provides a control system and in-vehicle control that can realize the same control as when the input value of the signal does not change even if the input value of the input signal changes for some reason. The first object is to provide a system. In addition, a control system and in-vehicle control that can be expected to drive the load even if the power supply of the control device or the like is turned off after satisfying the load stop condition, and then the control device or the like is turned on next time. The second object is to provide a system.

上記課題を解決するため、本発明では次のような制御システムの構成とする。即ち、第1の負荷を駆動制御させる第1制御装置と、前記第1制御装置を除く他の制御装置のうち第2の負荷を駆動制御させる第2制御装置と、前記第2の負荷及び前記第2制御装置を電気的に接続させる複数の信号ラインのうち前記第1制御装置に供給される電源が当該第1制御装置によって遮断されると信号の出力値が低下されてしまう少なくとも一つの変動型信号ラインと、前記複数の信号ラインのうち前記第1制御装置に供給される電源が当該第1制御装置によって遮断されても信号の出力値が変動されない少なくとも一つの安定型信号ラインとを備える制御システムにおいて、
前記第2制御装置は、プログラムを格納させる記憶装置と前記プログラムで規定された動作処理を実現させる中央演算装置とを少なくとも備えるコンピュータを具備し、
前記記憶装置は、前記変動型信号ラインを介して入力される変動入力信号と前記安定型信号ラインを介して入力される安定入力信号とに基づき前記第2の負荷を制御させる非停止モード用制御プログラムと、前記変動入力信号を用いることなく前記安定入力信号に基づいて前記第2の負荷を制御させる停止モード用制御プログラムとが格納されていることとする。
In order to solve the above problems, the present invention has the following control system configuration. That is, a first control device that drives and controls a first load, a second control device that drives and controls a second load among other control devices excluding the first control device, the second load, and the At least one variation in which the output value of the signal is reduced when the power supplied to the first control device is shut off by the first control device among the plurality of signal lines that electrically connect the second control device. And at least one stable signal line in which the output value of the signal is not changed even if the power supplied to the first control device among the plurality of signal lines is cut off by the first control device. In the control system,
The second control device includes a computer including at least a storage device for storing a program and a central processing unit for realizing an operation process defined by the program,
The storage device controls the second load based on a variable input signal input via the variable signal line and a stable input signal input via the stable signal line. It is assumed that a program and a stop mode control program for controlling the second load based on the stable input signal without using the variable input signal are stored.

好ましくは、前記非停止モード用制御プログラムは、上述した制御システムを停止させる停止指令が前記第1制御装置にて認識されていない際に、当該非停止モード用制御プログラムで規定された動作を前記中央演算装置に対して演算処理させることを規定し、前記停止モード用制御プログラムは、前記停止指令が前記第1制御装置にて認識された際に、当該停止モード用制御プログラムで規定された動作が前記中央演算装置に対して演算処理させることを規定していることとする。   Preferably, the non-stop mode control program performs the operation specified by the non-stop mode control program when the stop command for stopping the control system is not recognized by the first control device. It is specified that the central processing unit is to perform arithmetic processing, and the control program for stop mode is an operation specified by the control program for stop mode when the stop command is recognized by the first control device. Stipulates that the central processing unit perform arithmetic processing.

好ましくは、前記非停止モード用制御プログラムは、前記変動入力信号と前記安定入力信号とに基づき、前記第2の負荷の駆動状態又は前記第2の負荷の停止状態を認識させる非停止モード負荷状態認識処理を規定し、前記停止モード用制御プログラムは、前記変動入力信号を用いることなく前記安定入力信号に基づき、前記第2の負荷の駆動状態又は前記第2の負荷の停止状態を認識させる停止モード負荷状態認識処理を規定していることとする。   Preferably, the non-stop mode control program is configured to recognize a drive state of the second load or a stop state of the second load based on the variable input signal and the stable input signal. The stop mode control program defines a recognition process, and the stop mode control program recognizes the drive state of the second load or the stop state of the second load based on the stable input signal without using the variable input signal. The mode load state recognition process is specified.

好ましくは、前記停止モード負荷状態認識処理は、前記第2の負荷の駆動停止を許可させる停止可能負荷状態と、前記第2の負荷の駆動停止を禁止させる停止禁止負荷状態と、から成る少なくとも二種類の負荷状態に分類させる処理を実行させることとする。   Preferably, the stop mode load state recognition process includes at least two stoppable load states that allow the second load to stop driving, and stop prohibition load states that prohibit the second load from stopping driving. It is assumed that processing for classifying into different types of load states is executed.

好ましくは、前記停止モード用制御プログラムは、前記第2の負荷が駆動中の場合に、前記第2の負荷の駆動動作を続行させる負荷駆動処理及び/又は前記第2の負荷の停止動作を実行させる負荷停止処理を、前記停止モード負荷状態認識処理にて分類された前記負荷状態に基づいて規定させることとする。   Preferably, the stop mode control program executes a load driving process for continuing the driving operation of the second load and / or a stopping operation of the second load when the second load is being driven. The load stop process to be performed is defined based on the load state classified in the stop mode load state recognition process.

好ましくは、前記停止モード用制御プログラムは、更に、前記第2制御装置に供給される電源を遮断させるセルフシャット処理を規定しており、前記セルフシャット処理は、前記第2の負荷が停止された後に実行されることとする。   Preferably, the stop mode control program further defines a self-shut process for shutting off the power supplied to the second control device, and the self-shut process is performed when the second load is stopped. It will be executed later.

また、上述した各制御システムは、前記第1制御装置及び前記第2制御装置を含む複数の制御装置の各々が、自動車に搭載された装置の制御を実現させる電子制御処理装置である車載用制御システムとするのが好ましい。   In addition, each control system described above includes an in-vehicle control in which each of a plurality of control devices including the first control device and the second control device is an electronic control processing device that realizes control of a device mounted on an automobile. A system is preferred.

本発明に係る制御システムによれば、安定入力信号及び変動入力信号に基づいて第2の負荷を制御させる非停止モード用制御プログラムと、安定入力信号のみに基づいて第2の負荷を制御させる停止モード用制御プログラムとを備えているので、変動入力信号の出力値が急激に変動する場合、制御プログラムを非停止モード用制御プログラムから停止モード用制御プログラムへ切替えることにより、第2制御装置では正しい出力値とされた信号のみによって演算処理を実施することが可能となるので、これにより、第2の負荷は誤動作されることなく制御される。   According to the control system of the present invention, the non-stop mode control program for controlling the second load based on the stable input signal and the variable input signal, and the stop for controlling the second load based only on the stable input signal If the output value of the fluctuation input signal fluctuates rapidly, the control program is switched from the non-stop mode control program to the stop mode control program. Since it is possible to perform the arithmetic processing only with the output value signal, the second load is thereby controlled without malfunction.

また、停止指令が第1制御装置で認識されていないとき、第2制御装置では、非停止モード用制御プログラムが起動されているので、安定入力信号及び変動入力信号によって、多くの信号から所定の情報を正確に認識することが可能となる。また、停止指令が第1制御装置で認識されたとき、第2制御装置では、停止モード用制御プログラムが起動されるので、誤検出を誘発させる変動出力信号を排除させ、安定入力信号のみに基づいて所定の情報を正確に認識することが可能となる。   Further, when the stop command is not recognized by the first control device, the non-stop mode control program is activated in the second control device. It becomes possible to recognize information accurately. Further, when the stop command is recognized by the first control device, the control program for stop mode is started in the second control device, so that the fluctuation output signal that induces false detection is eliminated, and only based on the stable input signal. Thus, it is possible to accurately recognize predetermined information.

更に、停止モード用制御プログラムの停止モード負荷状態認識処理では、第2の負荷の負荷状態を停止可能負荷状態と停止禁止負荷状態とに分類させるので、当該第2の負荷における停止条件が整っているか否かが判別可能となる。   Furthermore, in the stop mode load state recognition process of the stop mode control program, the load state of the second load is classified into a stoppable load state and a stop prohibition load state, so that the stop condition for the second load is satisfied. It is possible to determine whether or not it exists.

併せて、停止モード用制御プログラムの停止モード負荷状態認識処理では、停止条件が整っていないとき、当該第2の負荷の負荷状態を他の負荷状態に再設定させ、再設定された負荷状態が停止条件を充足した際に第2の負荷を停止させるので、停止された第2の負荷は必ず停止条件を充足させたものとなる。   In addition, in the stop mode load state recognition process of the stop mode control program, when the stop condition is not satisfied, the load state of the second load is reset to another load state, and the reset load state is Since the second load is stopped when the stop condition is satisfied, the stopped second load always satisfies the stop condition.

加えて、停止モード用制御プログラムで規定されるセルフシャットオフ処理は、第2の負荷ACT2が停止された後に実行されるので、第2の負荷の停止条件が整ってから、第2制御装置の電源が遮断されることとなる。   In addition, the self-shutoff process defined by the stop mode control program is executed after the second load ACT2 is stopped. Therefore, after the second load stop condition is satisfied, The power will be cut off.

更に加えて、車両に搭載された車載用制御システムによれば、ハブの切換動作中にイグニッションキーがOFFされて電源の一部が供給されなくなっても、正規の出力状態を維持している安定出力信号に基づいてハブのポジションが正確に把握されるので、ハブがトランスファーのギヤから外れた状態で車載用制御システムの電源が切られることを防止できる。これにより、車載用制御システムは、各ハブが何れかのギヤに噛合わされてから電源が落とされるので、次回にイグニッションキーを回した際、内燃機関から供給された駆動トルクを何れかの駆動輪に伝達できる状態が確保される。   In addition, according to the in-vehicle control system mounted on the vehicle, even when the ignition key is turned off during the hub switching operation and a part of the power is not supplied, the stable output state is maintained. Since the hub position is accurately grasped based on the output signal, it is possible to prevent the vehicle-mounted control system from being turned off while the hub is disengaged from the transfer gear. As a result, since the power is turned off after each hub meshes with any gear, the in-vehicle control system uses the drive torque supplied from the internal combustion engine to any drive wheel when the ignition key is turned next time. A state that can be transmitted to is secured.

実施の形態に係る制御システムの回路構成を示す図The figure which shows the circuit structure of the control system which concerns on embodiment 実施の形態に係る制御装置で認識される複数の信号を示す図The figure which shows the several signal recognized by the control apparatus which concerns on embodiment 制御装置の機能ブロック図Functional block diagram of control device 非停止モード用制御プログラムによって規定される動作処理を現すフローチャートFlow chart showing operation process defined by control program for non-stop mode 停止モード用制御プログラムによって規定される動作処理を現すフローチャートFlow chart showing operation process defined by control program for stop mode 実施の形態に係る負荷状態認識処理を現すフローチャートFlowchart showing load state recognition processing according to the embodiment 実施例1に係る四輪駆動車の構成を示す図The figure which shows the structure of the four-wheel drive vehicle which concerns on Example 1. FIG. 実施例1に係る制御システムの回路構成を示す図The figure which shows the circuit structure of the control system which concerns on Example 1. FIG. 実施例1に係る制御装置で認識される負荷状態を示す図The figure which shows the load state recognized by the control apparatus which concerns on Example 1. FIG. 実施例1に係る負荷状態認識処理を現すフローチャートFlowchart showing load state recognition processing according to Embodiment 1

以下、本発明に係る実施の形態につき図面を参照して説明する。図1には、本実施の形態に係る制御システムの構成が示されている。図示の如く、制御システムSYS1は、第1の電子制御機構Ap1と第2の電子制御機構Ap2とこの他図示されない他の電子制御機構とから構成されている。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 shows a configuration of a control system according to the present embodiment. As illustrated, the control system SYS1 includes a first electronic control mechanism Ap1, a second electronic control mechanism Ap2, and other electronic control mechanisms (not shown).

かかる第1の電子制御機構Ap1は、電源回路Reg1と制御装置CNT1とドライブ回路DRV1と負荷ACT1とから構成されている。また、電源ラインLv1及びLv1’、信号ラインLo1及びLi1が適宜接続され、このうち、電源ラインLv1’には電源Va1が印加されている。   The first electronic control mechanism Ap1 includes a power supply circuit Reg1, a control device CNT1, a drive circuit DRV1, and a load ACT1. Further, the power supply lines Lv1 and Lv1 'and the signal lines Lo1 and Li1 are appropriately connected, and among these, the power supply Va1 is applied to the power supply line Lv1'.

電源回路Reg1は、入力端が電源ラインLv1’に接続され、出力端が制御装置CNT1に接続される。かかる電源回路Reg1は、電源IC等が用いられ、バッテリー電源Va1から印加される電源を一定の電圧値に調整させ、これによって生成された電源Vcc又はA/D電源Avccを制御装置へ供給させる。ここで、電源Vccとは、制御装置CNT1を駆動させるものとされ、A/D電源Avccとは、制御装置CNT1を構成するA/D変換装置の基準電位を与える際に用いられるものとされる。   The power supply circuit Reg1 has an input end connected to the power supply line Lv1 'and an output end connected to the control device CNT1. The power supply circuit Reg1 uses a power supply IC or the like, adjusts the power applied from the battery power supply Va1 to a constant voltage value, and supplies the generated power supply Vcc or A / D power supply Avcc to the control device. Here, the power supply Vcc is used to drive the control device CNT1, and the A / D power supply Avcc is used when the reference potential of the A / D conversion device constituting the control device CNT1 is applied. .

制御装置CNT1は、記憶装置MRY、A/D変換装置、中央演算装置CPU、クロック回路CL、この他、シリアル通信ラインに接続された通信回路等が設けられており、第1の負荷ACT1を駆動制御させる。記憶装置MRYは、通信演算装置CPUによって演算された情報又はシリアル通信ラインを介して受信した情報等が不揮発性記憶装置ROM又は揮発性記憶装置RAMへ記録されている。また、中央演算装置CPUの動作処理を規定させる制御プログラムが不揮発性記憶装置ROMに記録されている。ここで、不揮発性記憶装置ROMには、マスクROMまたはEPROMまたはEEPROM等が適宜用いられる。一方、揮発性記憶装置RAMには、電源供給が停止されると格納された情報を消失してしまう装置が用いられ、例えば、DRAM又はSDRAM等が適宜利用される。中央演算装置CPUは、制御プログラムで規定された動作処理を数値演算によって実行させる。かかる制御装置CNT1では、入力された情報に応じて新たな情報を生成し、当該新たな情報を適宜なタイミングにて信号ラインLo1へと出力させる。また、制御装置CNT1は、シリアル通信ラインSTを介して、当該制御装置CNT1にて加工された情報を他の制御装置へ送信させ、又は、他の制御装置から受信した情報を更に他の制御装置へと転送させる。そして、これら他の制御装置へ転送される情報の中には、制御装置CNT1の電源供給が途絶えることを報知させる停止指令を表現した情報も含まれる。かかる停止指令は、例えば、制御システムSYS1の操縦者が停止ボタンを押すと、当該停止指令の情報は、停止ボタンに接続された制御装置で認識され、更に、第1制御装置及び第2制御装置を含む各制御装置で共有可能とされる。尚、本実施の形態では、通信方式がシリアル通信で使用される通信ラインを用いているが、情報の通信方式及び通信ラインは如何なる方式のものであっても良い。従って、CAN通信又はLIN通信等の通信プロトコルを採用したものも使用可能である。更に加えて、制御装置CNT1には、第2の電子制御機構Ap2に接続された電源ラインLvxが設けられ、かかる電源ラインLvxにバッテリー電源Va1の印加を遮断又は許可させるリレー手段が設けられている。かかるリレー手段は図示されていないが、機構的構成から成るものの他、バイポーラトランジスタ、MOSFET、IGBT、サイリスタ等を用いても良い。また、第2制御装置に内蔵された各回路によってリレー手段を構築させても良い。そして、第2制御装置CNT2では、かかるリレー手段を具備する第1制御手段CNT1の動作によって、電源Va1の供給が遮断され又は許可される。   The control device CNT1 includes a storage device MRY, an A / D conversion device, a central processing unit CPU, a clock circuit CL, a communication circuit connected to a serial communication line, and the like, and drives the first load ACT1. Let me control. In the storage device MRY, information calculated by the communication operation device CPU or information received through the serial communication line is recorded in the nonvolatile storage device ROM or the volatile storage device RAM. Further, a control program for defining the operation processing of the central processing unit CPU is recorded in the nonvolatile storage device ROM. Here, a mask ROM, EPROM, EEPROM or the like is appropriately used as the nonvolatile storage device ROM. On the other hand, a device that loses stored information when power supply is stopped is used as the volatile storage device RAM. For example, a DRAM or an SDRAM is appropriately used. The central processing unit CPU executes an operation process defined by the control program by numerical calculation. The control device CNT1 generates new information according to the input information and outputs the new information to the signal line Lo1 at an appropriate timing. Further, the control device CNT1 transmits information processed by the control device CNT1 to another control device via the serial communication line ST, or further receives information received from another control device. To be transferred to. The information transferred to these other control devices also includes information expressing a stop command for notifying that the power supply of the control device CNT1 is interrupted. For example, when the operator of the control system SYS1 presses the stop button, the information on the stop command is recognized by the control device connected to the stop button, and the first control device and the second control device. Can be shared by each control device including In this embodiment, a communication line used for serial communication is used as the communication method. However, any information communication method and communication line may be used. Therefore, a communication protocol such as CAN communication or LIN communication can be used. In addition, the control device CNT1 is provided with a power supply line Lvx connected to the second electronic control mechanism Ap2, and relay means for interrupting or permitting the application of the battery power supply Va1 to the power supply line Lvx is provided. . Such a relay means is not shown, but a bipolar transistor, MOSFET, IGBT, thyristor, or the like may be used in addition to a mechanical structure. Moreover, you may make a relay means be constructed | assembled by each circuit incorporated in the 2nd control apparatus. In the second control device CNT2, the supply of the power source Va1 is interrupted or permitted by the operation of the first control means CNT1 having such relay means.

ドライブ回路DRV1は、電源ラインLv1及びLv1’と信号ラインLo1とが接続されている。そして、制御装置CNT1から駆動信号が出力されると、電源ラインLv1と電源ラインLv1’とが導通され、これにより、電源ラインLv1にバッテリー電源Va1が供給される。   In the drive circuit DRV1, power supply lines Lv1 and Lv1 'and a signal line Lo1 are connected. When a drive signal is output from the control device CNT1, the power supply line Lv1 and the power supply line Lv1 'are brought into conduction, whereby the battery power supply Va1 is supplied to the power supply line Lv1.

負荷ACT1は、バッテリー電源Va1が印加されると所定の動作を実現させる。また、種々のセンサが設けられており、かかる動作に関する信号を出力させ、信号ラインLi1を介して制御装置CNT1へ伝達させる。   The load ACT1 realizes a predetermined operation when the battery power supply Va1 is applied. Various sensors are provided to output a signal related to the operation and transmit the signal to the control device CNT1 through the signal line Li1.

かかる構成を具備する第1の電子制御機器Ap1では、以下の如く動作を行う。即ち、制御装置CNT1は、負荷ACT1から受信した入力信号に基づいて所定の演算処理を実行させ、ドライブ回路DRV1に対して駆動信号を出力させる。かかる信号を受信したドライブ装置DRV1は、バッテリー電源Va1を適宜に導通させ、これにより、負荷ACT1では、バッテリー電源Va1の供給状態に応じた動作を行い、更に、かかる動作状態に相当する信号を制御装置CNT1へ帰還させることで、当該制御装置CNT1で予定される動作状態に制御される。   The first electronic control device Ap1 having such a configuration operates as follows. That is, the control device CNT1 executes a predetermined calculation process based on the input signal received from the load ACT1, and causes the drive circuit DRV1 to output a drive signal. The drive device DRV1 that has received such a signal appropriately conducts the battery power supply Va1, thereby causing the load ACT1 to perform an operation according to the supply state of the battery power supply Va1 and further to control a signal corresponding to the operation state. By returning to the device CNT1, the operation state is controlled by the control device CNT1.

一方、第2の電子制御機構Ap2にあっても、上述した第1の電子制御機構Ap1と同様の構成を含み、電源回路Reg2と制御装置CNT2とドライブ回路DRV2と負荷ACT2とリレー装置(特許請求の範囲におけるリレー手段)RYLsとから構成される。ここで、第2の負荷及び第2制御装置を電気的に接続させる信号ラインLi2a〜Li2cは、図示の如く複数本設けられている。尚、本電子制御機構Ap2に係る構成のうち第1の電子制御機構Ap1と同様の作用を奏する構成については、説明を省略することとする。   On the other hand, the second electronic control mechanism Ap2 includes the same configuration as the first electronic control mechanism Ap1 described above, and includes a power supply circuit Reg2, a control device CNT2, a drive circuit DRV2, a load ACT2, and a relay device (claims). Relay means) RYLs. Here, a plurality of signal lines Li2a to Li2c for electrically connecting the second load and the second control device are provided as illustrated. Note that the description of the configuration having the same effect as that of the first electronic control mechanism Ap1 in the configuration related to the electronic control mechanism Ap2 will be omitted.

電源回路Reg2は、入力端が電源ラインLvxに接続され、出力端がリレー装置RYLsに接続される。かかる電源回路Reg2は、前述の如く、電源IC等が用いられる。   The power supply circuit Reg2 has an input end connected to the power supply line Lvx and an output end connected to the relay device RYLs. As described above, the power supply circuit Reg2 is a power supply IC or the like.

リレー装置RYLsは、入力端子及び出力端子及び信号端子を備え、信号端子にON/OFF信号が出力されると、かかる信号に応じて、入力端子と出力端子とを導通又は非導通とさせる。従って、本実施の形態では、図示の如く、入力端子及び出力端子及び信号端子の各々に電源回路Reg2及び制御装置CNT2及び信号ラインLsgが接続されているので、制御装置CNT2からON信号が出力されると、当該第2制御装置へ電源Va1、Va2の供給がリレー装置RYLsの動作によって許可され、制御装置CNT2からOFF信号が出力されると、当該第2制御装置へ電源Va1、Va2の供給がリレー装置RYLsの動作によって遮断される。尚、かかるリレー装置は、上述した機構的構成から成るものの他、バイポーラトランジスタ、MOSFET、IGBT、サイリスタ等を用いても良い。また、第2制御装置に内蔵された各回路によってリレー手段を構築させても良い。   The relay device RYLs includes an input terminal, an output terminal, and a signal terminal. When an ON / OFF signal is output to the signal terminal, the input terminal and the output terminal are turned on or off according to the signal. Therefore, in the present embodiment, as shown in the figure, since the power supply circuit Reg2, the control device CNT2, and the signal line Lsg are connected to the input terminal, the output terminal, and the signal terminal, an ON signal is output from the control device CNT2. Then, supply of the power sources Va1 and Va2 to the second control device is permitted by the operation of the relay device RYLs, and when an OFF signal is output from the control device CNT2, supply of the power sources Va1 and Va2 to the second control device is performed. It is interrupted by the operation of the relay device RYLs. Such a relay device may use a bipolar transistor, a MOSFET, an IGBT, a thyristor, or the like in addition to the above-described mechanical configuration. Moreover, you may make a relay means be constructed | assembled by each circuit incorporated in the 2nd control apparatus.

制御装置CNT2は、第1制御装置を除く他の制御装置のうちの一つであって、図示される第2の負荷ACT2を駆動制御させる。制御装置CNT2は、記憶装置MRY、A/D変換装置、中央演算装置CPU、クロック回路CL、この他、シリアル通信ラインSTに接続された通信回路等が設けられている。尚、本実施の形態では、通信方式がシリアル通信で使用される通信ラインを用いているが、情報の通信方式及び通信ラインは如何なる方式のものであっても良い。従って、CAN通信又はLIN通信等の通信プロトコルを採用したものも使用可能である。   The control device CNT2 is one of the other control devices other than the first control device, and drives and controls the illustrated second load ACT2. The control device CNT2 includes a storage device MRY, an A / D conversion device, a central processing unit CPU, a clock circuit CL, and a communication circuit connected to the serial communication line ST. In this embodiment, a communication line used for serial communication is used as the communication method. However, any information communication method and communication line may be used. Therefore, a communication protocol such as CAN communication or LIN communication can be used.

制御装置CNT2に内蔵される記憶装置MRYは、入力された信号に基づいて第2の負荷ACT2を制御させる制御プログラムとして、非停止モード用プログラムと停止モード用プログラムとが格納されている。非停止モード用プログラムは、信号ラインLi2a〜Li2bを介して入力される安定入力信号と信号ラインLi2cを介して入力される変動入力信号とに基づいて制御装置CNT2の動作を規定し、これにより、第2の負荷ACT2の制御を実施させる。一方、停止モード用プログラムは、信号ラインLi2cから入力された変動入力信号を参照することなく、信号ラインLi2a〜Li2bから入力される安定入力信号に基づいて制御装置CNT2の動作を規定し、第2の負荷ACT2の制御を実施させる。尚、本実施の形態では、以下、信号ラインLi2a及びLi2bを安定型信号ラインと呼び、信号ラインLi2cを変動型信号ラインと呼ぶ。   The storage device MRY built in the control device CNT2 stores a non-stop mode program and a stop mode program as control programs for controlling the second load ACT2 based on the input signal. The non-stop mode program defines the operation of the control device CNT2 based on the stable input signal input via the signal lines Li2a to Li2b and the variable input signal input via the signal line Li2c. The control of the second load ACT2 is performed. On the other hand, the stop mode program defines the operation of the control device CNT2 based on the stable input signals input from the signal lines Li2a to Li2b without referring to the fluctuation input signal input from the signal line Li2c. The load ACT2 is controlled. In the present embodiment, the signal lines Li2a and Li2b are hereinafter referred to as stable signal lines, and the signal line Li2c is referred to as a variable signal line.

負荷ACT2は、図示の如く、センサSEN1及びセンサSEN2及びセンサSEN3が設けられている。かかるセンサSEN1乃至センサSEN3は、信号ラインLi2a〜Li2cが各々接続されており、所定の信号を当該信号ラインへ出力させる。ここで、所定の信号とは、負荷ACT2の動作状態を電気信号化させたものであって、例えば、モータのシャフトが基準位置(基準アングル)から回動された現在位置(現在アングル)を示す信号であっても良く、負荷ACT2の温度を測定した信号であっても良く、この他、負荷ACT2の動作情報が電気情報化され得るあらゆる信号を想定している。かかるセンサSEN1〜SEN3は、配線の仕方によっては信号を出力させるための駆動電源が異なる場合があり、かかる場合、全ての駆動電源が正常の電圧を供給させることで、制御装置CNT2には、正確な信号が入力されることとなる。しかし、当該駆動電源のうちの何れかが変動又は急降下した場合、センサSEN1〜SEN3に印加される駆動電源が一部異なるため、駆動電源の変動から影響を受ける信号と駆動電源の変動から影響を受けない信号とを併せて生じさせることが有り、これにより、制御装置CNT2では、一部不正確な信号を受信してしまう現象が生じる。   As shown in the figure, the load ACT2 is provided with a sensor SEN1, a sensor SEN2, and a sensor SEN3. The sensor lines SEN1 to SEN3 are connected to signal lines Li2a to Li2c, respectively, and output predetermined signals to the signal lines. Here, the predetermined signal is obtained by converting the operation state of the load ACT2 into an electric signal, and indicates, for example, a current position (current angle) where the motor shaft is rotated from a reference position (reference angle). It may be a signal, a signal obtained by measuring the temperature of the load ACT2, or any other signal that can convert the operation information of the load ACT2 into electrical information. The sensors SEN1 to SEN3 may have different driving power sources for outputting signals depending on the wiring method. In such a case, all the driving power sources supply a normal voltage, so that the control device CNT2 can accurately A correct signal is input. However, when any of the drive power supplies fluctuates or falls suddenly, the drive power applied to the sensors SEN1 to SEN3 is partially different, so that the signal affected by the drive power fluctuation and the influence of the drive power fluctuation are affected. In some cases, a signal that is not received is also generated, and this causes a phenomenon that the control device CNT2 receives a partially inaccurate signal.

尚、本実施の形態では、図示の如く、センサSEN2及びセンサSEB3は、電源Va2によって信号を生成させる回路が形成されており、センサSEN1は、電源Va1によって信号を生成させる回路が形成されている。即ち、信号ラインLi2a、Li2bで伝送される安定入力信号は、電源Va2によってプルアップされた信号とされ、信号ラインLi2cで伝送される信号は、電源Va1によってプルアップされた信号とされる。   In the present embodiment, as shown in the figure, the sensor SEN2 and the sensor SEB3 are formed with a circuit for generating a signal by the power supply Va2, and the sensor SEN1 is formed with a circuit for generating a signal by the power supply Va1. . That is, the stable input signal transmitted through the signal lines Li2a and Li2b is a signal pulled up by the power source Va2, and the signal transmitted through the signal line Li2c is a signal pulled up by the power source Va1.

本実施の形態では、第1制御装置CNT1が停止指令に係る情報に基づいて自身に供給される電源Va1を遮断する制御(以下、セルフシャットオフ制御と呼ぶ。)を実施させるので、当該制御装置1が当該停止指令に係る情報を認識すると、電子制御機構Ap2には電源Va1が供給されなくなる。従って、第2の負荷ACT2へ供給される電力は、電源Va2のみに頼らざるを得なくなり、電源Va1に相当する電力成分が実質的に低下することとなる。このとき、センサSEN2及びSEN3は電源Va1の供給状態に関わらず信号の出力値に変動を生じさせないものの、センサSEN1では、図示の如く、信号ラインLi2cが電源Va1によってプルアップされているので、当該信号ラインLi2cへ出力させる信号の電圧値を低下させてしまう。即ち、第2の負荷ACT2と第2制御装置CNT2とを電気的に接続させる複数の信号ラインのうち安定型信号ラインLi2a〜Li2bは、第1制御装置CNT1に供給される電源Va1が当該第1制御装置CNT1によって遮断されても信号の出力値が変動されることはない。一方、複数の信号ラインのうち変動型信号ラインLi2cは、第1制御装置CNT1に供給される電源Va1が当該第1制御装置CNT1によって遮断されると信号の出力値が低下してしまう。尚、かかる安定型信号ライン又は変動型信号ラインは、各々が複数本であるか否かを問うものではない。   In the present embodiment, the first control device CNT1 performs control for shutting off the power supply Va1 supplied to itself based on information related to the stop command (hereinafter referred to as self-shutoff control). When 1 recognizes the information related to the stop command, the power source Va1 is not supplied to the electronic control mechanism Ap2. Accordingly, the power supplied to the second load ACT2 must be relied only on the power supply Va2, and the power component corresponding to the power supply Va1 is substantially reduced. At this time, the sensors SEN2 and SEN3 do not cause a change in the output value of the signal regardless of the supply state of the power supply Va1, but in the sensor SEN1, since the signal line Li2c is pulled up by the power supply Va1, as shown in the figure, The voltage value of the signal output to the signal line Li2c is lowered. That is, among the plurality of signal lines that electrically connect the second load ACT2 and the second control device CNT2, the stable signal lines Li2a to Li2b are supplied with the power supply Va1 supplied to the first control device CNT1. Even if it is shut off by the control device CNT1, the output value of the signal is not changed. On the other hand, in the variable signal line Li2c among the plurality of signal lines, when the power supply Va1 supplied to the first control device CNT1 is shut off by the first control device CNT1, the output value of the signal is lowered. It should be noted that there is no question as to whether there are a plurality of such stable signal lines or variable signal lines.

そこで、第1制御装置CNT1がセルフシャットオフ制御を実施する場合には、上述した非停止モード用制御プログラム及び停止モード用制御プログラムが、以下の如く規定されているのが好ましい。即ち、停止モード用制御プログラムでは、停止指令が第2制御装置CNT2にて認識された際に、当該停止モード用制御プログラムで規定された動作が中央演算装置CPUに対して演算処理させることを規定しているのが好ましい。これにより、制御装置CNT2では、不正確な状態とされた変動型入力信号を参照することがないので、参照する情報(信号)の数が緊急的に削減されるものの、正しい値の安定型入力信号のみに基づいて第2の負荷ACT2の正確な制御が実現される。一方、非停止モード用制御プログラムでは、停止指令が第2制御装置CNT2にて認識されていない際に、当該非停止モード用制御プログラムで規定された動作を中央演算装置CPUに対して演算処理させることを規定しているのが好ましい。これにより、制御装置CNT2では、多くの信号に基づいて、第2の負荷ACT2の本来要求される正確な制御が実現される。   Therefore, when the first control device CNT1 performs the self-shutoff control, the non-stop mode control program and the stop mode control program described above are preferably defined as follows. That is, the stop mode control program specifies that when the stop command is recognized by the second control device CNT2, the operation specified by the stop mode control program is processed by the central processing unit CPU. It is preferable. As a result, since the control device CNT2 does not refer to the variable input signal in an inaccurate state, the number of pieces of information (signals) to be referred to is urgently reduced, but a stable input with a correct value is obtained. Accurate control of the second load ACT2 is realized based only on the signal. On the other hand, in the non-stop mode control program, when the stop command is not recognized by the second control device CNT2, the central processing unit CPU performs an operation process on the operation defined by the non-stop mode control program. It is preferable to prescribe that. As a result, the control device CNT2 realizes the precise control originally required for the second load ACT2 based on many signals.

図2には、制御装置CNT2へ入力される信号の組合せが示されている。ここで、図2(a)では、制御装置CNT1にてセルフシャットオフ機能が作動していない信号の組合せが示されており、図2(b)では、制御装置CNT1にてセルフシャットオフ機能が作動した場合の信号の組合せが示されている。   FIG. 2 shows combinations of signals input to the control device CNT2. Here, FIG. 2A shows a combination of signals in which the self-shutoff function is not activated in the control device CNT1, and in FIG. 2B, the self-shutoff function is shown in the control device CNT1. The combination of signals when activated is shown.

図2(a)に示す如く、制御装置CNT2には、安定型信号ラインLi2aを介して安定入力信号Sg1が入力され、安定型信号ラインLi2bを介して安定入力信号Sg2が入力され、変動型信号ラインLi2cを介して変動入力信号Sg3が入力される。そして、これらの信号Sg1〜Sg3は、各々の信号のHigh/Low状態によって、第2の負荷ACT2の状態を表現している。具体的に説明すると、制御装置CNT2で認識され得る第2の負荷ACT2の状態は、図示の如く、State1、State2、State3、State4の4類型に分類される。ここで、State1〜State4は、第2の負荷ACT2の動作状態を示すものであって、例えば、State1〜State4は、第2の負荷ACT2がモータの場合、当該モータのシャフトの停止しているアングルを示すものであっても良く、温度のレベルを段階的に示すものであっても良い。また、第2の負荷ACT2がソレノイドアクチュエータ又は油圧装置の場合、かかる装置のスライド距離を示すものであっても良く、第2の負荷ACT2がフォトダイオード又はピエゾ圧電素子又はペルティエ素子等の半導体素子とされる場合、かかる半導体素子から出力される信号の出力値を段階的に示すものであっても良い。尚、State1〜State4の各々を、以下、負荷状態と呼ぶこととする。   As shown in FIG. 2A, the stable input signal Sg1 is input to the control device CNT2 through the stable signal line Li2a, and the stable input signal Sg2 is input through the stable signal line Li2b. The fluctuation input signal Sg3 is input via the line Li2c. These signals Sg1 to Sg3 represent the state of the second load ACT2 depending on the High / Low state of each signal. More specifically, the state of the second load ACT2 that can be recognized by the control device CNT2 is classified into four types, State1, State2, State3, and State4, as illustrated. Here, State 1 to State 4 indicate the operating state of the second load ACT 2. For example, when the second load ACT 2 is a motor, State 1 to State 4 are angles at which the shaft of the motor is stopped. The temperature level may be indicated step by step. Further, when the second load ACT2 is a solenoid actuator or a hydraulic device, the second load ACT2 may indicate a sliding distance of the device, and the second load ACT2 may be a semiconductor element such as a photodiode, a piezoelectric element, or a Peltier element. In this case, the output value of the signal output from the semiconductor element may be shown stepwise. Each of State1 to State4 is hereinafter referred to as a load state.

本実施の形態では、負荷状態がState1とされるとき、制御装置CNT2へ入力される信号は(Sg1、Sg2,Sg3)=(H、H、H)とされる。また、負荷状態がState2とされるとき、制御装置CNT2へ入力される信号は(Sg1、Sg2,Sg3)=(H、L、L)とされる。同様に、負荷状態がState3とされるとき、(Sg1、Sg2,Sg3)=(L、L、H)とされ、負荷状態がState4とされるとき、(Sg1、Sg2,Sg3)=(L、H、L)とされる。尚、信号の組合せを示す括弧内のH及びLは、それぞれHigh値及びLow値を示すものである。また、図を参照すると、State1及びState3は、電源の遮断を避けなければならない負荷状態とされ、State2及びState4は、電源の遮断が許容される負荷状態とされている。そして、第2制御装置CNT2の記憶装置MRYには、State1及びState3に対応させて電源遮断禁止情報を現すフラグが立てられる。   In the present embodiment, when the load state is set to State1, signals input to the control device CNT2 are (Sg1, Sg2, Sg3) = (H, H, H). Further, when the load state is set to State2, signals input to the control device CNT2 are (Sg1, Sg2, Sg3) = (H, L, L). Similarly, when the load state is State3, (Sg1, Sg2, Sg3) = (L, L, H), and when the load state is State4, (Sg1, Sg2, Sg3) = (L, H, L). Note that H and L in parentheses indicating a combination of signals indicate a high value and a low value, respectively. Also, referring to the figure, State 1 and State 3 are in a load state in which the power supply must be cut off, and State 2 and State 4 are in a load state in which the power supply is allowed to be cut off. Then, the storage device MRY of the second control device CNT2 is set with a flag indicating the power shut-off prohibition information in association with State1 and State3.

一方、図2(b)には、制御装置CNT1にてセルフシャットオフ機能が作動した場合の信号の組合せが示されている。即ち、変動入力信号Sg3が低下した場合の信号の組合せが示されている。図示の如く、負荷状態がState1とされるとき、変動入力信号Sg3がLow状態として認識されてしまうので、(Sg1、Sg2,Sg3)=(H、H、L)とされる。また、負荷状態がState2とされるとき、変動入力信号Sg3に変化は無く、(Sg1、Sg2,Sg3)=(H、L、L)とされる。また、負荷状態がState3とされるとき、変動入力信号Sg3がLow状態として認識されてしまうので、(Sg1、Sg2,Sg3)=(L、L、L)とされる。また、負荷状態がState4とされるとき、変動入力信号Sg3に変化は無く、(Sg1、Sg2,Sg3)=(L、H、L)とされる。このとき、それぞれの負荷状態を比較すると、第2の負荷ACT2が負荷状態State1である場合、変動型信号Sg3の誤認識が生じ、当該第2制御装置CNT2では、認識された負荷状態が何れのStateにも該当しないエラーが生じるため、セルフシャットオフ機能を働かせて第2制御装置自身の電源を落とすことができなくなる問題が生じる。また、第2の負荷ACT2が負荷状態State3である場合にあっても、同様に、認識された負荷状態が何れのStateにも該当しないエラーが生じるため、セルフシャットオフ機能を働かせることができなくなる問題が生じる。   On the other hand, FIG. 2B shows a signal combination when the self-shutoff function is activated in the control device CNT1. That is, the combination of signals when the fluctuation input signal Sg3 is lowered is shown. As shown in the figure, when the load state is set to State1, the fluctuation input signal Sg3 is recognized as the Low state, and therefore (Sg1, Sg2, Sg3) = (H, H, L). Further, when the load state is set to State2, there is no change in the fluctuation input signal Sg3, and (Sg1, Sg2, Sg3) = (H, L, L). Further, when the load state is set to State3, the fluctuation input signal Sg3 is recognized as the Low state, so (Sg1, Sg2, Sg3) = (L, L, L). When the load state is set to State 4, there is no change in the fluctuation input signal Sg3, and (Sg1, Sg2, Sg3) = (L, H, L). At this time, when the respective load states are compared, if the second load ACT2 is in the load state State1, erroneous recognition of the variable signal Sg3 occurs, and the second controller CNT2 determines which of the recognized load states is Since an error that does not correspond to the State also occurs, there is a problem that the power of the second control device itself cannot be turned off by using the self-shutoff function. Further, even when the second load ACT2 is in the load state State3, similarly, an error occurs in which the recognized load state does not correspond to any State, so that the self-shutoff function cannot be activated. Problems arise.

そこで、本実施の形態では、第2制御装置CNT2が非停止モード用制御プログラム及び停止モード用制御プログラムを適宜に使い分けることにより、負荷状態Stateの正確な検出が実現される。以下、かかるプログラムによって構築される機能的手段及びプログラムによって実行される動作処理について説明する。   Therefore, in the present embodiment, the second control device CNT2 properly uses the non-stop mode control program and the stop mode control program, thereby realizing accurate detection of the load state State. Hereinafter, functional means constructed by such a program and operation processing executed by the program will be described.

図3には、第2制御装置CNT2で構築される機能的手段がブロックにて図示されている。図示の如く、第2制御装置CNT2には、負荷用信号出力手段M01と入力信号検出手段M02と負荷状態認識手段M03と負荷状態記憶手段M04と負荷停止条件判定手段M05とセルフシャットオフ実行手段M06とが構築されている。尚、これらの手段M01〜M06は、当然の如く、記憶手段MRYに格納されたソフトウェアと第2制御装置CNT2に設けられた各種ハードウェアとが協働して実現されるものである。   In FIG. 3, functional means constructed by the second control device CNT2 are illustrated in blocks. As shown in the figure, the second control device CNT2 includes a load signal output means M01, an input signal detection means M02, a load state recognition means M03, a load state storage means M04, a load stop condition determination means M05, and a self-shutoff execution means M06. And have been built. As a matter of course, these means M01 to M06 are realized by cooperation of software stored in the storage means MRY and various hardware provided in the second control device CNT2.

負荷用信号出力手段M01は、適宜な駆動信号を出力させ、ドライブ回路DRV1を駆動させることにより、第2の負荷ACT2を駆動制御させる。   The load signal output means M01 outputs the appropriate drive signal and drives the drive circuit DRV1, thereby driving the second load ACT2.

入力信号検出手段M02は、第2の負荷ACT2から受信した安定入力信号Sg1及び安定入力信号Sg2及び変動入力信号Sg3の各々について、A/D変換装置によってアナログ信号からデジタル信号へ変換させる。また、かかる如く認識された各信号をクロックタイミング毎に揮発性メモリRAMへ記録させる。   The input signal detection means M02 converts each of the stable input signal Sg1, the stable input signal Sg2, and the variable input signal Sg3 received from the second load ACT2 from an analog signal to a digital signal by the A / D converter. Further, each signal recognized as such is recorded in the volatile memory RAM at each clock timing.

負荷状態認識手段M03は、非停止モード用制御プログラムが起動されるとき、第2の負荷ACT2から入力された信号配列(Sg1、Sg2、Sg3)と、予め記憶装置MRYに記録された負荷状態の信号配列(Sg1、Sg2、Sg3)とを比較させ、入力された信号配列の現す負荷状態Stateを認識する。一方、停止モード用制御プログラムが起動されるとき、第2の負荷ACT2から入力された信号配列(Sg1、Sg2)と、予め記憶装置MRYに記録された負荷状態の信号配列(Sg1、Sg2)とを比較させ、入力された信号配列の現す負荷状態Stateを認識する。   When the non-stop mode control program is started, the load state recognition unit M03 is configured to display the signal arrangement (Sg1, Sg2, Sg3) input from the second load ACT2 and the load state previously recorded in the storage device MRY. The signal arrangement (Sg1, Sg2, Sg3) is compared, and the load state State represented by the input signal arrangement is recognized. On the other hand, when the stop mode control program is started, the signal arrangement (Sg1, Sg2) input from the second load ACT2 and the signal arrangement (Sg1, Sg2) of the load state recorded in the storage device MRY in advance And the load state State represented by the input signal arrangement is recognized.

負荷状態記憶手段M04は、非停止モード用制御プログラムが起動されるとき、入力された信号配列(Sg1、Sg2、Sg3)に基づいて認識した負荷状態Stateを、記憶装置MRYに格納させる。一方、停止モード用制御プログラムが起動されるとき、入力された信号配列(Sg1、Sg2)に基づいて認識した負荷状態Stateを、記憶装置MRYに格納させる。   When the non-stop mode control program is started, the load state storage unit M04 stores the load state State recognized based on the input signal arrangement (Sg1, Sg2, Sg3) in the storage device MRY. On the other hand, when the stop mode control program is started, the load state State recognized based on the input signal arrangement (Sg1, Sg2) is stored in the storage device MRY.

負荷停止条件判定手段M05は、認識した負荷状態が、電源の遮断を避けなければならない負荷状態に属するか、或いは、電源の遮断が許容される負荷状態に属するかを判定する。具体的には、記憶装置MRYから「電源の遮断が許容される負荷状態StateX1〜Xn」を読み出し、かかる負荷状態StateX1〜Xnの何れかが負荷状態認識手段M02で認識された負荷状態Stateと一致する場合、認識した負荷状態が電源の遮断を許容し得る負荷状態に属すると判定する。これに対し、記憶装置MRYから「電源の遮断が禁止される負荷状態StateY1〜Yn」を読み出し、負荷状態StateY1〜Ynの何れかが負荷状態認識手段M03で認識された負荷状態Stateと一致する場合、認識した負荷状態が電源の遮断を避けなければならない負荷状態に属すると判定する。   The load stop condition determining means M05 determines whether the recognized load state belongs to a load state where the power supply must be cut off or a load state where the power supply is allowed to be cut off. Specifically, the “load states StateX1 to Xn in which the power supply is allowed to be cut off” are read from the storage device MRY, and any one of the load states StateX1 to Xn matches the load state State recognized by the load state recognition unit M02. If it is determined, it is determined that the recognized load state belongs to a load state that can allow the power supply to be cut off. On the other hand, when “load states StateY1 to Yn in which the power supply is prohibited from being interrupted” is read from the storage device MRY, any of the load states StateY1 to Yn matches the load state State recognized by the load state recognition unit M03. Then, it is determined that the recognized load state belongs to a load state in which the interruption of the power source must be avoided.

セルフシャットオフ実行手段M06は、認識された負荷状態Stateが「電源の遮断が許容される負荷状態StateX1〜Xn」に属するという判定結果を負荷停止条件判定手段M05で得た場合、かかる判定結果に基づいて、リレーRYLsを遮断させるOFF信号を出力させる。   The self-shutoff execution means M06, when the load stop condition determination means M05 obtains a determination result that the recognized load state State belongs to “load states StateX1 to Xn in which the power supply is allowed to be cut off”, Based on this, an OFF signal for cutting off the relay RYLs is output.

図4には、非停止モード用制御プログラムによって規定される動作処理を現すフローチャートが示されている。非停止モード用制御プログラムPgonは、電源スイッチがON状態とされてから直ちに起動され、以下に示す種々の処理を規定する。   FIG. 4 is a flowchart showing the operation process defined by the non-stop mode control program. The non-stop mode control program Pgon is started immediately after the power switch is turned on, and defines various processes shown below.

図示の如く、非停止モード用制御プログラムPgonは、当該プログラムが起動されると、先ず、操縦パネルから負荷状態Stateの変更が要求されるまで、待機状態をキープする。そして、制御システムSYS1によって駆動される装置の制御パネルを操縦者が操作し、当該操縦者の操作意図に応じて、操縦パネルから負荷状態Stateの変更指令が出力されると(S001)、負荷状態Stateの変更指令に係る情報が複数の制御装置で共有可能な情報とされるので、第2制御装置CNT2にあっても負荷状態Stateの変更指令が認識される。即ち、変更指令の情報とは、第2の負荷ACT2を駆動させることにより新たに設定させたい負荷状態Stateに関する情報をいう。   As shown in the figure, when the non-stop mode control program Pgon is activated, it first keeps the standby state until a change of the load state State is requested from the control panel. Then, when the operator operates the control panel of the device driven by the control system SYS1 and a change command of the load state State is output from the control panel according to the operation intention of the driver (S001), the load state Since the information related to the state change command is information that can be shared by a plurality of control devices, the load state state change command is recognized even in the second control device CNT2. That is, the change command information is information related to the load state State to be newly set by driving the second load ACT2.

第2制御装置CNT2にて変更指令が認識されると、非停止モード用制御プログラムPgonは、非停止モード負荷状態認識処理を実行させる(S002)。非停止モード負荷状態認識処理は、第2の負荷における負荷状態を認識させ、具体的には、State1〜State4のうちの何れの負荷状態とされるかを認識する。かかる認識処理は、負荷状態認識手段M03にて説明した如く、第2の負荷ACT2から入力された信号配列(Sg1、Sg2、Sg3)と、予め記憶装置MRYに記録された負荷状態の信号配列(Sg1、Sg2、Sg3)とを比較させ、入力された信号配列の現す負荷状態Stateを認識させる。   When the change command is recognized by the second control device CNT2, the non-stop mode control program Pgon executes non-stop mode load state recognition processing (S002). The non-stop mode load state recognition process recognizes the load state in the second load, and specifically recognizes which of the state 1 to state 4 is set. As described in the load state recognition means M03, the recognition process includes the signal arrangement (Sg1, Sg2, Sg3) input from the second load ACT2 and the signal arrangement of the load state previously recorded in the storage device MRY ( Sg1, Sg2, and Sg3) are compared, and the load state State represented by the input signal arrangement is recognized.

かかる如く第2の負荷ACT2における負荷状態が認識されると、第2の負荷ACT2が変更指令に相当する負荷状態と一致するように、第2の負荷ACT2を適宜に駆動させる(S003)。例えば、第2の負荷ACT2における現在の負荷状態がState1であって、変更指令に相当する負荷状態がState4とされるとき、「S003」では、第2制御装置CNT2が適当な駆動信号を出力させることで、第2の負荷ACT2の負荷状態をState4へと制御させる。   When the load state in the second load ACT2 is recognized as described above, the second load ACT2 is appropriately driven so that the second load ACT2 matches the load state corresponding to the change command (S003). For example, when the current load state in the second load ACT2 is State1 and the load state corresponding to the change command is State4, in “S003”, the second controller CNT2 outputs an appropriate drive signal. Thus, the load state of the second load ACT2 is controlled to State4.

第2の負荷ACT2が駆動され始めると、第2の負荷ACT2に関する負荷状態の監視処理を実行させる(S004)。かかる監視処理では、第2の負荷ACT2に関する負荷状態Stateが所定の周期毎に認識され、第2の負荷ACT2に関する現在の負荷状態Stateが変更指令に相当する負荷状態であるか否かを判別する。そして、かかる監視処理では、第2の負荷ACT2に関する現在の負荷状態Stateが変更指令に相当しない負荷状態であると判別した場合、図示の如く、非停止モード負荷状態認識処理(S002)から処理を繰り替えさせる。一方、当該監視処理では、第2の負荷ACT2に関する現在の負荷状態Stateが変更指令に相当する負荷状態であると判別した場合、負荷の停止処理を実行させる。   When the second load ACT2 starts to be driven, a load state monitoring process related to the second load ACT2 is executed (S004). In such monitoring processing, the load state State relating to the second load ACT2 is recognized every predetermined period, and it is determined whether or not the current load state State relating to the second load ACT2 is a load state corresponding to the change command. . In this monitoring process, when it is determined that the current load state State regarding the second load ACT2 is a load state that does not correspond to the change command, the process is started from the non-stop mode load state recognition process (S002) as illustrated. Repeat. On the other hand, in the monitoring process, when it is determined that the current load state State regarding the second load ACT2 is a load state corresponding to the change command, a load stop process is executed.

かかる負荷の停止処理(S005)では、第2制御装置CNT2によってドライブ回路DRV2を停止させ、これにより、第2の負荷ACT2を停止させる。即ち、負荷の停止処理(S005)では、第2の負荷ACT2に関する負荷状態Stateが変更指令に相当する負荷状態とされるときに第2の負荷ACT2を停止させるので、第2の負荷ACT2に関する負荷状態Stateは、確実に、変更指令に相当する負荷状態にセットされることとなる。   In the load stop process (S005), the second control device CNT2 stops the drive circuit DRV2, thereby stopping the second load ACT2. That is, in the load stop process (S005), the second load ACT2 is stopped when the load state State related to the second load ACT2 is changed to the load state corresponding to the change command, so the load related to the second load ACT2 The state State is surely set to a load state corresponding to the change command.

かかる如く第2の負荷ACT2における負荷状態Stateがセットされると、当該負荷状態Stateに係る情報を不揮発性記憶装置ROMへ格納させ(S006)、その後、第2制御装置CNT2が新たな変更指令を受信するまで待機状態をキープする。   When the load state State in the second load ACT2 is set as described above, information related to the load state State is stored in the nonvolatile storage device ROM (S006), and then the second control device CNT2 issues a new change command. Keep waiting until it is received.

然る後、操縦者が装置の制御パネルを操作して装置の電源をOFF状態に設定すると、電源OFFに係る情報が複数の制御装置で共有され、電子演算機構Ap1では、電源OFFに係る情報の認識直後に、第1制御装置CNTの電源が落とされる。このとき、電子演算機構Ap2では、前述の如く、電源Va1が供給されなくなるので、複数の信号ラインのうち一部の信号ラインの信号が著しく低下することとなる。従って、装置の電源をOFF状態とさせてから第2制御装置CNT2の供給電力が遮断される迄の間、第2の負荷ACT2における負荷状態を正確に把握するため、以下の処理が緊急的に行われる。   Thereafter, when the operator operates the control panel of the apparatus to set the apparatus power OFF, information related to the power OFF is shared by a plurality of control apparatuses, and the electronic calculation mechanism Ap1 includes information related to the power OFF. Immediately after the recognition, the first control device CNT is powered off. At this time, in the electronic operation mechanism Ap2, as described above, the power supply Va1 is not supplied, so that the signals of some of the signal lines among the plurality of signal lines are significantly reduced. Accordingly, in order to accurately grasp the load state in the second load ACT2 from when the power supply of the device is turned off until the supply power of the second control device CNT2 is cut off, the following processing is urgently performed. Done.

図5を参照して、かかる処理について説明する。先ず、装置の電源スイッチがOFF状態に設定されると、図示の如く、第2制御装置CNT2では、停止モード用制御プログラムPgofが起動される。停止モード用制御プログラムPgofが起動されると、先ず、第2の負荷ACT2が駆動中であるか否かの判定が実施される(S101)。   Such processing will be described with reference to FIG. First, when the power switch of the device is set to the OFF state, the second control device CNT2 starts the stop mode control program Pgof as shown in the figure. When the stop mode control program Pgof is started, first, it is determined whether or not the second load ACT2 is being driven (S101).

「S101」で第2の負荷ACT2が駆動中であると判定された場合、第2制御装置CNT2では、停止モード負荷状態認識処理(S102)を実行させる。停止モード負荷状態認識処理(S102)では、変動入力信号Sg3を用いることなく、安定入力信号Sg1及びSg2に基づき、第2の負荷ACT2の負荷状態を認識する。かかる処理を具体的に説明すると、停止モード負荷状態認識処理(S102)は、図6に示す如く、第2制御装置CNT2に対して入力された複数の信号のうち、安定入力信号Sg1を当該制御装置に認識させ、当該安定入力信号Sg1のH/L判定を実施させる(S1021)。ここで、安定入力信号Sg1がHigh状態であると認識された場合、安定入力信号Sg2のH/L判定を更に実施させ(S1022)、安定入力信号(Sg1、Sg2)=(H、H)とされるとき、第2の負荷ACT2の負荷状態がState1であると認識する処理を行い(S1023)、一方、安定入力信号(Sg1、Sg2)=(H、L)とされるとき、第2の負荷ACT2の負荷状態がState2であると認識する処理を行う(S1024)。これに対し、安定入力信号Sg1のH/L判定結果がLow状態であると認識された場合(S1021)、安定入力信号Sg2のH/L判定を更に実施させる。(S1025)。そして、安定入力信号(Sg1、Sg2)=(L、H)とされるとき、第2の負荷ACT2の負荷状態がState3であると認識する処理を行い(S1026)、一方、安定入力信号(Sg1、Sg2)=(L、L)とされるとき、第2の負荷ACT2の負荷状態がState4であると認識する処理を行う(S1027)。即ち、停止モード負荷状態認識処理(S102)では、第1制御装置の動作に応じて変動する変動入力信号Sg3を用いずに、安定入力信号(Sg1、Sg2)のみによって、第2の負荷ACT2の負荷状態Stateを認識させる。従って、負荷状態の認識に用いられる信号は、全てが正しい出力値とされる信号であるので、第2制御装置CNT2では、負荷状態の誤認識を生じることなく、正確な負荷状態の認識が実現される。   When it is determined in “S101” that the second load ACT2 is being driven, the second control device CNT2 performs stop mode load state recognition processing (S102). In the stop mode load state recognition process (S102), the load state of the second load ACT2 is recognized based on the stable input signals Sg1 and Sg2 without using the fluctuation input signal Sg3. Specifically, the stop mode load state recognition process (S102) controls the stable input signal Sg1 among the plurality of signals input to the second control device CNT2, as shown in FIG. The device is made to recognize and perform the H / L determination of the stable input signal Sg1 (S1021). Here, when it is recognized that the stable input signal Sg1 is in the high state, the H / L determination of the stable input signal Sg2 is further performed (S1022), and the stable input signal (Sg1, Sg2) = (H, H). When it is determined that the load state of the second load ACT2 is State 1 (S1023), on the other hand, when the stable input signal (Sg1, Sg2) = (H, L), A process of recognizing that the load state of the load ACT2 is State2 is performed (S1024). On the other hand, when the H / L determination result of the stable input signal Sg1 is recognized to be in the low state (S1021), the H / L determination of the stable input signal Sg2 is further performed. (S1025). Then, when the stable input signals (Sg1, Sg2) = (L, H), the process of recognizing that the load state of the second load ACT2 is State 3 is performed (S1026), while the stable input signal (Sg1) , Sg2) = (L, L), a process of recognizing that the load state of the second load ACT2 is State 4 is performed (S1027). That is, in the stop mode load state recognition process (S102), the second load ACT2 is detected only by the stable input signals (Sg1, Sg2) without using the fluctuation input signal Sg3 that fluctuates according to the operation of the first control device. The load state State is recognized. Accordingly, since the signals used for the recognition of the load state are signals that all have the correct output value, the second control device CNT2 realizes the accurate recognition of the load state without causing erroneous recognition of the load state. Is done.

上述の如く、負荷状態が認識されると(S1023、S1024、S1026、S1027)、停止モード負荷状態認識処理(S102)では、図示の如く、負荷状態分類処理(S1028)を実行させる。かかる負荷状態分類処理(S1028)では、認識した4類型の負荷状態について、第2の負荷ACT2の駆動停止を許可させる停止可能負荷状態と、第2の負荷ACT2の駆動停止を禁止させる停止禁止負荷状態とに分類させる処理を実行させる。具体的に説明すると、第2制御装置CNT2の記憶装置MRYには、図2に示される「電源遮断禁止」又は「電源遮断許可」に係る情報が数値化されて記録されており、中央演算装置CPUでは、認識した負荷状態の信号配列と一致する負荷状態の「電源遮断禁止」又は「電源遮断許可」に係る情報を記憶装置MRYの中から認識し、これにより、認識した負荷状態が、「電源遮断禁止」又は「電源遮断許可」の何れに対応するかを分類させる。   As described above, when the load state is recognized (S1023, S1024, S1026, S1027), in the stop mode load state recognition process (S102), the load state classification process (S1028) is executed as shown in the figure. In the load state classification process (S1028), for the recognized four types of load states, a stoppable load state that permits the drive stop of the second load ACT2 and a stop prohibition load that prohibits the drive stop of the second load ACT2 A process for classifying the status into a state is executed. More specifically, the storage device MRY of the second control device CNT2 records the information related to “power cut-off prohibition” or “power cut-off permission” shown in FIG. The CPU recognizes information related to the “power cutoff prohibition” or “power cutoff permission” in the load state that matches the recognized load state signal arrangement from the storage device MRY, and thus the recognized load state is “ Classify whether to correspond to “power-off prohibition” or “power-off permission”.

再び図5に戻り負荷状態認識処理(S102)の後の処理について説明する。図示の如く、負荷状態認識処理(S102)が終了すると、現在の負荷状態Stateにおいて第2の負荷ACT2を停止させて良いか否かを判定する(S103)。かかる「S103」の処理では、停止モード負荷状態認識処理(S102)にて分類された負荷状態State1〜State4に基づいて、負荷停止処理(S104)又は負荷駆動処理(S105)の何れかの処理を実行させる。具体的に説明すると、「S103」の処理では、負荷状態が「電源遮断禁止」に対応する負荷状態の場合、即ち、State1又はState3の場合、負荷の停止条件が成立していないとして、負荷駆動処理(S105)を実行させ、第2の負荷ACT2の駆動動作を続行させる。一方、負荷状態が「電源遮断許可」に対応する負荷状態の場合、即ち、State2又はState4の場合、負荷の停止条件が成立しているとして、負荷停止処理(S104)を実行させ、第2の負荷ACT2の停止動作を実行させる。   Returning to FIG. 5 again, the processing after the load state recognition processing (S102) will be described. As shown in the figure, when the load state recognition process (S102) ends, it is determined whether or not the second load ACT2 can be stopped in the current load state (S103). In the process of “S103”, either of the load stop process (S104) or the load drive process (S105) is performed based on the load states State1 to State4 classified in the stop mode load state recognition process (S102). Let it run. More specifically, in the process of “S103”, when the load state is a load state corresponding to “power supply prohibition prohibited”, that is, in the case of State 1 or State 3, it is assumed that the load stop condition is not satisfied and the load driving is performed. The process (S105) is executed, and the driving operation of the second load ACT2 is continued. On the other hand, if the load state is a load state corresponding to “power cut-off permission”, that is, State2 or State4, the load stop process (S104) is executed assuming that the load stop condition is satisfied, and the second The stop operation of the load ACT2 is executed.

また、停止モード用制御プログラムPgofでは、かかる如く第2の負荷ACT2が停止されると(S104)、これによって確定した負荷状態を第2制御装置CNT2の不揮発性記憶装置ROMに格納させ(S106)、その後、セルフシャット処理を実行させる(S107)。かかるセルフシャットオフ処理では、第2制御装置CNT2からリレー装置RYLsをOFF状態にさせる信号を出力させ、これにより、当該第2制御装置CNT2に供給される電源を遮断させる。尚、このセルフシャットオフ処理は、第2の負荷ACT2が上述した制御を経て停止された後に実行されるので、第2の負荷ACT2は停止されても良い負荷状態にセットされてから、第2制御装置ACT2の電源が遮断されることとなる。   Further, in the stop mode control program Pgof, when the second load ACT2 is stopped as described above (S104), the load state determined thereby is stored in the nonvolatile storage device ROM of the second controller CNT2 (S106). Thereafter, the self-shut process is executed (S107). In such a self-shutoff process, a signal for turning OFF the relay device RYLs is output from the second control device CNT2, thereby shutting off the power supplied to the second control device CNT2. This self-shutoff process is executed after the second load ACT2 is stopped through the above-described control, so that the second load ACT2 is set to a load state that may be stopped before the second load ACT2 is set. The power supply of the control device ACT2 is cut off.

即ち、停止モード用制御プログラムPgofでは、第2の負荷ACT2が駆動していた場合、第2の負荷ACT2を停止させると不都合が生じる負荷状態のとき、当該第2の負荷ACT2の負荷状態を他の負荷状態に再設定させ、再設定された負荷状態が停止条件を充足した際に第2の負荷ACT2を停止させ、その後、第2制御装置ACT2の電源を遮断させる。   That is, in the stop mode control program Pgof, when the second load ACT2 is being driven, if the second load ACT2 is in a load state that causes inconvenience, the load state of the second load ACT2 is changed to another. When the reset load condition satisfies the stop condition, the second load ACT2 is stopped, and then the power supply of the second control device ACT2 is shut off.

これに対し、「S101」で第2の負荷ACT2が停止していると判定された場合、第2制御装置CNT2では、「S102」と同様、安定入力信号Sg1及びSg2によって認識する停止モード負荷状態認識処理(S108)を実行させる。ここでは、第2の負荷ACT2が停止しているので、当該第2の負荷ACT2は停止されても良い負荷状態にセットされていることが明らかである。従って、「S108」の処理終了後、第2の負荷ACT2の負荷状態の再設定を実施させること無く、確定している負荷状態の情報をを第2制御装置CNT2の不揮発性記憶装置ROMに格納させ(S106)、その後、セルフシャットオフ処理を実行させる(S107)。   On the other hand, when it is determined in “S101” that the second load ACT2 is stopped, the second controller CNT2 is in the stop mode load state recognized by the stable input signals Sg1 and Sg2, as in “S102”. Recognition processing (S108) is executed. Here, since the second load ACT2 is stopped, it is apparent that the second load ACT2 is set to a load state that may be stopped. Therefore, after the processing of “S108” is completed, the determined load state information is stored in the nonvolatile storage device ROM of the second control device CNT2 without performing the resetting of the load state of the second load ACT2. (S106), and then a self-shutoff process is executed (S107).

上述の如く、本実施の形態に係る制御システムSYS1では、安定入力信号Sg1、Sg2及び変動入力信号Sg3に基づいて第2の負荷ACT2を制御させる非停止モード用制御プログラムPgonと、安定入力信号Sg1,Sg2のみに基づいて第2の負荷ACT2を制御させる停止モード用制御プログラムPgofとを備えているので、変動入力信号の出力値が急激に変動する場合、制御プログラムを非停止モード用制御プログラムPgonから停止モード用制御プログラムPgofへ切替えることにより、第2制御装置CNT2では正しい出力値とされた信号のみによって演算処理を実施することが可能となるので、これにより、第2の負荷ACT2は所望の動作が実現される。   As described above, in the control system SYS1 according to the present embodiment, the non-stop mode control program Pgon for controlling the second load ACT2 based on the stable input signals Sg1, Sg2 and the variable input signal Sg3, and the stable input signal Sg1. , Sg2 and the stop mode control program Pgof for controlling the second load ACT2 only when the output value of the variable input signal fluctuates rapidly, the control program is set to the non-stop mode control program Pgon. By switching to the stop mode control program Pgof, the second control device CNT2 can perform the arithmetic processing only with the signal having the correct output value, so that the second load ACT2 can be set to a desired value. Operation is realized.

また、停止指令が第1制御装置CNT1で認識されていないときは、非停止モード用制御プログラムPgonが起動されているので、安定入力信号Sg1、Sg2及び変動入力信号Sg3によって、多くの信号から所定の情報を正確に認識することが可能となる。また、停止指令が第1制御装置CNT1で認識されたときは、停止モード用制御プログラムPgofが起動されるので、誤検出を誘発させる変動出力信号Sg3を排除させ、安定入力信号Sg1、Sg2のみに基づいて所定の情報を正確に認識することが可能となる。   In addition, when the stop command is not recognized by the first control device CNT1, the non-stop mode control program Pgon is activated, so that a predetermined number of signals are determined from the stable input signals Sg1 and Sg2 and the variable input signal Sg3. It is possible to accurately recognize the information. Further, when the stop command is recognized by the first control device CNT1, the stop mode control program Pgof is started, so that the fluctuation output signal Sg3 that induces erroneous detection is eliminated, and only the stable input signals Sg1 and Sg2 are used. Based on this, it becomes possible to accurately recognize predetermined information.

更に、停止モード用制御プログラムPgofの停止モード負荷状態認識処理(S102)では、第2の負荷ACT2の負荷状態を停止可能負荷状態と停止禁止負荷状態とに分類させるので、当該第2の負荷ACT2における停止条件が整っているか否かが判別可能となる。   Furthermore, in the stop mode load state recognition process (S102) of the stop mode control program Pgof, the load state of the second load ACT2 is classified into a stoppable load state and a stop prohibition load state, so that the second load ACT2 is concerned. It is possible to determine whether or not the stop condition is satisfied.

併せて、停止モード用制御プログラムPgofの停止モード負荷状態認識処理(S102)では、停止条件が整っていないとき、当該第2の負荷ACT2の負荷状態を他の負荷状態に再設定させ、再設定された負荷状態が停止条件を充足した際に第2の負荷ACT2を停止させるので、停止された第2の負荷ACT2は必ず停止条件を充足させたものとなる。   In addition, in the stop mode load state recognition process (S102) of the stop mode control program Pgof, when the stop condition is not satisfied, the load state of the second load ACT2 is reset to another load state and reset. Since the second load ACT2 is stopped when the stopped load condition satisfies the stop condition, the stopped second load ACT2 always satisfies the stop condition.

加えて、停止モード用制御プログラムPgofで規定されるセルフシャットオフ処理(S107)は、第2の負荷ACT2が停止された後に実行されるので、第2の負荷ACT2の停止条件が整ってから、第2制御装置ACT2の電源が遮断されることとなる。   In addition, since the self-shutoff process (S107) defined by the stop mode control program Pgof is executed after the second load ACT2 is stopped, after the stop condition of the second load ACT2 is satisfied, The power supply of 2nd control apparatus ACT2 will be interrupted | blocked.

図7には、本実施例に適用される四輪駆動車の構成が示されている。図示の如く、四輪駆動車MVは、エンジンEGNとトランスミッションTRMとバッテリーBtrとドライブ装置DRV2と4WD用トランスファーTRFとフロントディファレンシャル(以下、フロントデフと呼ぶ)DFFとリヤディファレンシャル(以下、リヤデフと呼ぶ)DFBとフロントタイヤTFR、TFLとリヤタイヤTBR、TBLと図示されない複数の電子制御処理装置ECU(所謂、electric control unit)とから構成される。尚、同図では、かかる複数の電子制御処理装置ECUのうち、4WD用トランスファーを制御させる電子制御ユニットECU2(特許請求の範囲における第2制御装置)のみが示されている。   FIG. 7 shows the configuration of a four-wheel drive vehicle applied to this embodiment. As shown, the four-wheel drive vehicle MV includes an engine EGN, a transmission TRM, a battery Btr, a drive device DRV2, a 4WD transfer TRF, a front differential (hereinafter referred to as front differential) DFF and a rear differential (hereinafter referred to as rear differential). A DFB, front tires TFR and TFL, rear tires TBR and TBL, and a plurality of electronic control processing units ECU (so-called electric control units) not shown. In the drawing, only the electronic control unit ECU2 (second control device in the claims) that controls the 4WD transfer is shown among the plurality of electronic control processing ECUs.

エンジンEGNは、四輪駆動車のエンジンルームに格納され、化石燃料等をシリンダー内で燃焼させることで駆動トルクを出力させる。   The engine EGN is stored in the engine room of a four-wheel drive vehicle and outputs drive torque by burning fossil fuel or the like in the cylinder.

トランスミッションTRMは、複数のギヤ比を実現させるギヤボックスを備え、エンジンEGNから出力された駆動トルクを走行状態に合わせて調整させる。   The transmission TRM includes a gear box that realizes a plurality of gear ratios, and adjusts the driving torque output from the engine EGN according to the traveling state.

バッテリーBtrは、四輪駆動車の適宜なスペースに載置され、種々の装置に電力を供給する。   The battery Btr is placed in an appropriate space of the four-wheel drive vehicle and supplies power to various devices.

ドライブ装置DRV2は、第1のリレーRYL1及び第2のリレーRYL2から構成され、バッテリーBtrの電力を適宜な設定状態で出力させる。尚、かかるドライブ装置DRV2の構成及び動作については、追って詳述する。   The drive device DRV2 includes a first relay RYL1 and a second relay RYL2, and outputs the power of the battery Btr in an appropriate setting state. The configuration and operation of the drive device DRV2 will be described in detail later.

4WD用トランスファーTRFは、図示の如く、アクチュエータACTと可変速ハブHUB1と駆動切換ハブHUB2と主動側スプロケットFSPと従動側スプロケットDSPとチェーンCHとセンターデフDFCとフロントドライブシャフトDSFとリヤドライブシャフトDSBとから構成される。   As shown in the figure, the 4WD transfer TRF includes an actuator ACT, a variable speed hub HUB1, a drive switching hub HUB2, a driving sprocket FSP, a driven sprocket DSP, a chain CH, a center differential DFC, a front drive shaft DSF, a rear drive shaft DSB, Consists of

アクチュエータACTは、制御モータMとドライビングシャフトSHと駆動テーブルTTとから構成される(図8参照)。ここで、制御モータMは、ドライブ装置DRV2を介して適宜に設定された電力が供給され、これにより、当該電力の状態に応じた動作を実現させる。駆動テーブルTTは、図8に示す如く、制御モータMに接続されたドライビングシャフトSHからトルクを受け、制御モータMの動作に応じて回動する。また、駆動テーブルTTは、可変速ハブHUB1及び駆動切換ハブHUB2に機構的に接続され、駆動テーブルTTの動作に応じて、可変速ハブHUB1及び駆動切換ハブHUB2のポジションを適宜に切換えさせる。   The actuator ACT includes a control motor M, a driving shaft SH, and a drive table TT (see FIG. 8). Here, the control motor M is supplied with electric power appropriately set via the drive device DRV2, thereby realizing an operation according to the state of the electric power. As shown in FIG. 8, the drive table TT receives torque from the driving shaft SH connected to the control motor M, and rotates according to the operation of the control motor M. The drive table TT is mechanically connected to the variable speed hub HUB1 and the drive switching hub HUB2, and appropriately switches the positions of the variable speed hub HUB1 and the drive switching hub HUB2 according to the operation of the drive table TT.

可変速ハブHUB1は、車軸の軸心方向へスライドすることで、車軸に設けられた二種類のギヤの何れか一方に噛合わされる。これにより、当該可変速ハブHUB1は、そのポジションに応じてギヤ比が変動し、後段車軸の駆動トルクを二段階に変速させる。ここで、ギヤ比の高い可変速ハブHUB1のポジションをドライビングポジションHと呼び、ギヤ比の低い可変速ハブHUB1のポジションをロードライブポジションLと呼ぶ。   The variable speed hub HUB1 is meshed with one of two types of gears provided on the axle by sliding in the axial direction of the axle. As a result, the variable speed hub HUB1 changes the gear ratio in accordance with its position, and shifts the driving torque of the rear axle in two stages. Here, the position of the variable speed hub HUB1 with a high gear ratio is called a driving position H, and the position of the variable speed hub HUB1 with a low gear ratio is called a low drive position L.

駆動切換ハブHUB2は、車軸の軸心方向へスライドすることで、車軸に設けられた複数のギヤとの噛合状態が三段階に切替えられる。具体的には、ハブロックポジション4Lと差動ポジション4Fとフリーハブポジション2Fとに切替えられる。ここで、ハブロックポジション4Lは、センターデフDFCを介さずに、駆動切換ハブHUB2の後段の車軸とリヤドライブシャフトDSBとを直結させ、駆動切換ハブHUB2の後段の車軸のトルクをリヤドライブシャフトDSBへ直接的に伝達させる。差動ポジション4Fは、センターデフDFCを介して、駆動切換ハブHUB2の後段の車軸とリヤドライブシャフトDSBとが間接的に連結され、センターデフDFCの差動機能によって、駆動切換ハブHUB2の後段の車軸回転速度とリヤドライブシャフトDSBの車軸回転速度とに差異を与える。フリーハブポジション2Fは、駆動切換ハブHUB2の後段車軸とリヤドライブシャフトDSBとの接続を断ち、後段の主動側スプロケットFSPのみに駆動トルクを与える。   The drive switching hub HUB2 slides in the axial direction of the axle so that the meshing state with a plurality of gears provided on the axle is switched in three stages. Specifically, the position is switched to the hub block position 4L, the differential position 4F, and the freehub position 2F. Here, the hub block position 4L directly connects the rear axle of the drive switching hub HUB2 and the rear drive shaft DSB without passing through the center differential DFC, and the torque of the rear axle of the drive switching hub HUB2 is transmitted to the rear drive shaft DSB. Communicate directly to In the differential position 4F, the rear axle of the drive switching hub HUB2 and the rear drive shaft DSB are indirectly connected via the center differential DFC, and the differential function of the center differential DFC is connected to the rear stage of the drive switching hub HUB2. A difference is given between the axle rotational speed and the axle rotational speed of the rear drive shaft DSB. The free hub position 2F disconnects the rear axle of the drive switching hub HUB2 and the rear drive shaft DSB, and applies drive torque only to the main driving side sprocket FSP.

主動側スプロケットFSPは、図示の如く、駆動切換ハブHUB2の後段の車軸に固定される。かかる主動側スプロケットFSPは、駆動切換ハブHUB2のポジションに関わりなく、駆動切換ハブHUB2の後段の車軸から同一の駆動トルクを受ける。   As shown in the figure, the main drive side sprocket FSP is fixed to the rear axle of the drive switching hub HUB2. The main sprocket FSP receives the same drive torque from the rear axle of the drive switching hub HUB2 regardless of the position of the drive switching hub HUB2.

従動側スプロケットDSPは、主動側スプロケットFSPと並列に配置され、フロントドライブシャフトDSFに軸着される。また、従動側スプロケットDSPは、チェーンCHによって、主動側スプロケットFSPの駆動トルクを受け、これにより、フロントドライブシャフトDSFへ当該駆動トルクを伝達させる。   The driven sprocket DSP is arranged in parallel with the main driving sprocket FSP and is pivotally attached to the front drive shaft DSF. The driven side sprocket DSP receives the driving torque of the main driving side sprocket FSP by the chain CH, and thereby transmits the driving torque to the front drive shaft DSF.

センターデフDFCは、入力側に主動側スプロケットFSPの後段車軸が接続され出力側にリヤドライブシャフトDSBが接続され、これらの車軸がベアリング(図示なし)によって回動自在に軸支される。そして、センターデフDFCは、入力軸と出力軸との間に回転速度の差を与える差動機能を具備し、当該機能によって、主動側スプロケットFSPから駆動トルクが入力されると、内蔵されるギヤアセンブリのギヤ比に応じて当該駆動トルクを変換し、リヤドライブシャフトDSBへ伝達させる。即ち、センターデフDFCでは、主動側スプロケットFSP後段の車軸の駆動トルクをリヤドライブシャフトDSBへ伝達する際、当該駆動トルクを適宜に調整し、入力された駆動トルクと異なる駆動トルクを出力させる。   The center differential DFC is connected to the rear axle of the main driving sprocket FSP on the input side and the rear drive shaft DSB on the output side, and these axles are rotatably supported by bearings (not shown). The center differential DFC has a differential function that gives a difference in rotational speed between the input shaft and the output shaft. When drive torque is input from the main sprocket FSP by this function, the built-in gear The drive torque is converted according to the gear ratio of the assembly and transmitted to the rear drive shaft DSB. That is, in the center differential DFC, when the driving torque of the rear axle of the sprocket FSP is transmitted to the rear drive shaft DSB, the driving torque is appropriately adjusted and a driving torque different from the inputted driving torque is output.

フロントデフDFFは、フロントドライブシャフトDSF、右フロントタイヤTFR及び左フロントタイヤTFLの車輪軸に接続される。そして、フロントドライブシャフトDSFから受けた駆動トルクを適宜に分配し、かかる如く分配された駆動トルクを各フロントタイヤTFR、TFLに伝達させる。   The front differential DFF is connected to the wheel shafts of the front drive shaft DSF, the right front tire TFR, and the left front tire TFL. Then, the driving torque received from the front drive shaft DSF is appropriately distributed, and the distributed driving torque is transmitted to the front tires TFR and TFL.

リヤデフDFBは、リヤドライブシャフトDSB、右リヤタイヤTBR及び左リヤタイヤTBLの車輪軸に接続され、駆動トルクを双方のリヤタイヤTBR、TBLへ分配伝達させる。   The rear differential DFB is connected to the wheel shafts of the rear drive shaft DSB, the right rear tire TBR, and the left rear tire TBL, and distributes and transmits the drive torque to both the rear tires TBR and TBL.

電子制御ユニットECU2は、信号ラインを介してドライブ装置DRV2に接続される。そして、電子制御装置ECU2は、ドライブ装置DRV2を制御し、アクチュエータACTに設けられた制御モータMを適宜に駆動させる。尚、かかる電子制御ユニットECU2の詳細については追って詳述する。   The electronic control unit ECU2 is connected to the drive device DRV2 via a signal line. Then, the electronic control unit ECU2 controls the drive unit DRV2, and appropriately drives a control motor M provided in the actuator ACT. The details of the electronic control unit ECU2 will be described later.

かかる構成を具備する四輪駆動車MVでは、トランスミッションTRMを介してエンジンEGNから駆動トルクが伝達され、当該駆動トルクが4WD用トランスファーTRFに入力される。このとき、アクチュエータACTは、電子制御ユニットECU2及びドライブ装置DRV2によって制御され、可変速ハブHUB1のポジションと駆動切換ハブHUB2のポジションとを各々切換させ、これにより、4WD用トランスファーTRFでは、以下の動作を実現させる。   In the four-wheel drive vehicle MV having such a configuration, drive torque is transmitted from the engine EGN via the transmission TRM, and the drive torque is input to the 4WD transfer TRF. At this time, the actuator ACT is controlled by the electronic control unit ECU2 and the drive device DRV2 to switch between the position of the variable speed hub HUB1 and the position of the drive switching hub HUB2, thereby performing the following operations in the 4WD transfer TRF. Is realized.

先ず、可変速ハブHUB1のポジションがドライビングポジションHとされ、且つ、駆動切換ハブHUB2のポジションがフリーハブポジション2Fとされる場合、所謂、二輪ドライビングポジションNに設定される場合について説明する。かかる場合、四輪駆動車MVでは、可変速ハブHUB1のポジションがドライビングポジションHにセットされるので、高速のドライブモードにて駆動されることとなる。また、駆動切換ハブHUB2のポジションがフリーハブポジション2Fにセットされるので、リヤドライブシャフトDFBから切り離され、フロンドドライブシャフトDSFのみに駆動トルクが伝達され、フロントタイヤTFR、TFLのみを駆動させる。即ち、かかる場合、四輪駆動車MVは、駆動切換ハブHUB2のポジションによって、前輪駆動による走行を行うこととなる。   First, the case where the position of the variable speed hub HUB1 is set to the driving position H and the position of the drive switching hub HUB2 is set to the free hub position 2F, that is, the so-called two-wheel driving position N will be described. In such a case, in the four-wheel drive vehicle MV, since the position of the variable speed hub HUB1 is set to the driving position H, the vehicle is driven in a high speed drive mode. Further, since the position of the drive switching hub HUB2 is set to the free hub position 2F, it is disconnected from the rear drive shaft DFB, the drive torque is transmitted only to the front drive shaft DSF, and only the front tires TFR and TFL are driven. That is, in such a case, the four-wheel drive vehicle MV travels by front wheel drive depending on the position of the drive switching hub HUB2.

次に、可変速ハブHUB1のポジションがドライビングポジションHとされ、且つ、駆動切換ハブHUB2のポジションが差動ポジション4Fとされる場合、所謂、四輪ドライビングポジション4HFに設定される場合について説明する。かかる場合、四輪駆動車MVでは、可変速ハブHUB1がドライビングポジションHとされるので高速ドライブモードにて駆動される。また、駆動切換ハブHUB2のポジションが差動ポジション4Fとされるので、リヤドライブシャフトDFBとフロントドライブシャフトDSFとが間接的に連結され、これにより、駆動切換ハブHUB2から出力される駆動トルクが双方のドライブシャフトへ差動的に分配される。即ち、かかる場合、四輪駆動車MVは、フロントタイヤTFR,TFLとリヤタイヤTBR,TBLとの間に差動を伴いつつ、四輪駆動状態にて走行を行うこととなる。   Next, the case where the position of the variable speed hub HUB1 is set to the driving position H and the position of the drive switching hub HUB2 is set to the differential position 4F, that is, the so-called four-wheel driving position 4HF will be described. In such a case, in the four-wheel drive vehicle MV, since the variable speed hub HUB1 is set to the driving position H, it is driven in the high speed drive mode. Further, since the position of the drive switching hub HUB2 is set to the differential position 4F, the rear drive shaft DFB and the front drive shaft DSF are indirectly connected, whereby both driving torques output from the drive switching hub HUB2 are obtained. Differentially distributed to the drive shaft. That is, in such a case, the four-wheel drive vehicle MV travels in a four-wheel drive state with a differential between the front tires TFR and TFL and the rear tires TBR and TBL.

更に、可変速ハブHUB1のポジションがドライビングポジションHとされ、且つ、駆動切換ハブHUB2のポジションがハブロックポジション4Lとされる場合、所謂、直結型高速四輪ドライビングポジション4HLに設定される場合について説明する。かかる場合、四輪駆動車MVでは、可変速ハブHUB1がドライビングポジションHとされるので高速ドライブモードにて駆動される。また、駆動切換ハブHUB2のポジションがハブロックポジション4Lとされるので、リヤドライブシャフトDFBとフロントドライブシャフトDSFとが直結される。即ち、かかる場合、四輪駆動車MVは、フロントタイヤTFR,TFLとリヤタイヤTBR,TBLとの双方に共通の駆動トルクを与える四輪駆動に切換えられ、高速状態にて走行を行うこととなる。   Further, the case where the position of the variable speed hub HUB1 is set to the driving position H and the position of the drive switching hub HUB2 is set to the hub block position 4L, the case where the so-called directly connected high-speed four-wheel driving position 4HL is set is described. To do. In such a case, in the four-wheel drive vehicle MV, since the variable speed hub HUB1 is set to the driving position H, it is driven in the high speed drive mode. Further, since the position of the drive switching hub HUB2 is the hub block position 4L, the rear drive shaft DFB and the front drive shaft DSF are directly connected. That is, in such a case, the four-wheel drive vehicle MV is switched to four-wheel drive that applies a common drive torque to both the front tires TFR and TFL and the rear tires TBR and TBL, and travels at a high speed.

更に、可変速ハブHUB1のポジションがロードライブポジションLとされ、且つ、駆動切換ハブHUB2のポジションがハブロックポジション4Lとされる場合、所謂、直結型低速四輪ドライビングポジション4LLに設定される場合について説明する。かかる場合、四輪駆動車MVでは、可変速ハブHUB1がロードライブポジションLとされるので低速ドライブモードにて駆動される。また、駆動切換ハブHUB2のポジションがハブロックポジション4Lとされるので、リヤドライブシャフトDFBとフロントドライブシャフトDSFとが直結される。即ち、かかる場合、四輪駆動車MVは、フロントタイヤTFR,TFLとリヤタイヤTBR,TBLとの双方に共通の駆動トルクを与える四輪駆動とされ、低速状態に切替えられて走行を行うこととなる。   Further, when the position of the variable speed hub HUB1 is set to the low drive position L and the position of the drive switching hub HUB2 is set to the hub block position 4L, the so-called directly connected low speed four-wheel driving position 4LL is set. explain. In such a case, in the four-wheel drive vehicle MV, since the variable speed hub HUB1 is set to the low drive position L, it is driven in the low speed drive mode. Further, since the position of the drive switching hub HUB2 is the hub block position 4L, the rear drive shaft DFB and the front drive shaft DSF are directly connected. That is, in such a case, the four-wheel drive vehicle MV is a four-wheel drive that applies a common drive torque to both the front tires TFR and TFL and the rear tires TBR and TBL, and travels while being switched to a low speed state. .

図8に示す如く、本実施例に係る制御システムSYS2は、電子制御機構Ap1と電子制御機構Ap2との少なくとも二つの機構から電子制御機構から構成されている。このうち電子制御機構Ap2は、バッテリー電源Brtとドライブ装置DRV2と制御モータACT2と駆動切換スイッチTSWと電子制御ユニットECU2と定電圧回路Reg2と通信ラインSTとから構成されている。図示の如く、電子制御ユニットECU1及び電子制御ユニットECU2を含む複数の制御装置の各々は、自動車に搭載された装置の制御を実現させる電子制御処理装置である。以下、かかる電子制御処理装置を車載用制御システムと呼ぶ。尚、電子制御機構Ap2を、以下、モータ制御装置MCと呼ぶこととする。また、上述した実施の形態と重複する構成部分については、同一の符号を付し、説明を省略することとする。   As shown in FIG. 8, the control system SYS2 according to the present embodiment includes an electronic control mechanism including at least two mechanisms of an electronic control mechanism Ap1 and an electronic control mechanism Ap2. Among these, the electronic control mechanism Ap2 includes a battery power source Brt, a drive device DRV2, a control motor ACT2, a drive changeover switch TSW, an electronic control unit ECU2, a constant voltage circuit Reg2, and a communication line ST. As shown in the figure, each of the plurality of control devices including the electronic control unit ECU1 and the electronic control unit ECU2 is an electronic control processing device that realizes control of the device mounted on the automobile. Hereinafter, such an electronic control processing device is referred to as an in-vehicle control system. The electronic control mechanism Ap2 is hereinafter referred to as a motor control device MC. Further, the same components as those in the above-described embodiment are denoted by the same reference numerals, and description thereof is omitted.

ドライブ装置DRV2は、第1のリレーRYL1及び第2のリレーRYL2を具備し、当該第1のリレーRYL1及び第2のリレーRYL2は、各々が定電圧回路Reg2の入力端子に接続されている。第1のリレーを例にとり具体的に説明すると、当該第1のリレーRYL1には、図示の如く、ON接点とOFF接点と出力端子(以下、第1のリレーに設けられた出力端子を第1出力端子と呼び、第2のリレーに設けられた出力端子を第2出力端子と呼ぶ)とが設けられており、ON接点が定電圧回路Reg2の入力端子に接続され、OFF接点がアースへ接続される。そして、リレーに設けられたスイッチのON/OFF制御による切換動作が実施されると、出力端子がON接点又はOFF接点の何れか一方に導通されることとなる。ここで、リレー装置のON/OFF制御は、電子制御ユニットECU2から出力されるH−L信号によって実現される。尚、第2のリレー回路RYL2にあっても同様の構成とされ、ON接点が定電圧回路Reg2の入力端子に接続され、OFF接点がアースへ接続される。   The drive device DRV2 includes a first relay RYL1 and a second relay RYL2, and each of the first relay RYL1 and the second relay RYL2 is connected to an input terminal of the constant voltage circuit Reg2. Specifically, taking the first relay as an example, the first relay RYL1 includes an ON contact, an OFF contact, and an output terminal (hereinafter referred to as an output terminal provided in the first relay) as shown in the drawing. Called the output terminal, and the output terminal provided in the second relay is called the second output terminal), the ON contact is connected to the input terminal of the constant voltage circuit Reg2, and the OFF contact is connected to the ground Is done. When the switching operation by ON / OFF control of the switch provided in the relay is performed, the output terminal is conducted to either the ON contact or the OFF contact. Here, ON / OFF control of the relay device is realized by an HL signal output from the electronic control unit ECU2. The second relay circuit RYL2 has the same configuration, with the ON contact connected to the input terminal of the constant voltage circuit Reg2, and the OFF contact connected to the ground.

制御モータACT2は、上述の如く、駆動テーブルTTを駆動させる制御モータMを備えている。かかる制御モータMは、第1のリレーRYL1及び第2のリレーRYL2の双方に接続され、第1出力端子Tmfから出力される第1出力電圧V1と第2出力端子Tmsから出力される第2出力電圧V2とに応じて、正転動作又は反転動作又は停止状態に駆動制御される。   As described above, the control motor ACT2 includes the control motor M that drives the drive table TT. The control motor M is connected to both the first relay RYL1 and the second relay RYL2, and the first output voltage V1 output from the first output terminal Tmf and the second output output from the second output terminal Tms. Depending on the voltage V2, the drive control is performed in a normal rotation operation, a reverse operation, or a stopped state.

駆動切換スイッチTSWは、四輪駆動車の操縦パネルに配置されるものであって、図示の如く、ダイヤル機構と複数の信号ラインとを備え、ダイヤル部のポジションに応じて適宜な信号を出力させる構成とされている。ダイヤル機構は、手動によって回動されるダイヤル部と当該ダイヤル部の周りに固定される表示部とから成る。当該表示部の表面には、二輪ドライビングポジションN、四輪ドライビングポジション4HF、直結型高速四輪ドライビングポジション4HL、直結型低速四輪ドライビングポジション4LLがそれぞれ刻印されており、当該表示部の裏面には、これらのドライビングポジションに対応する接触端子が設けられている。一方、ダイヤル部は、表面にダイヤル部の方向を示す方向矢が示されており、裏面には方向矢の位置に応じてスライドするスライド端子が設けられている。ここで、ダイヤル部を回動させると、スライド端子は表示部の接触端子に当接し、所定の電力が信号として信号ラインから出力される。従って、ダイヤル部の方向矢が所定のドライビングポジションにセットされると、駆動切換スイッチTSWに設けられた複数の信号ラインでは信号状態がHigh値又はLow値に各々設定され、かかる信号状態の組合せから成る信号を所定のドライビングポジションに対応させて出力させる。即ち、操縦者が操縦席でドライビングポジションの操作を行うと、駆動切換スイッチTSWでは、操縦者の指令に応じて当該ドライビングポジションに応じた信号を生成し、当該信号を第2制御装置CNT2に対して出力させる。   The drive changeover switch TSW is disposed on the control panel of the four-wheel drive vehicle, and as shown in the figure, includes a dial mechanism and a plurality of signal lines, and outputs an appropriate signal according to the position of the dial portion. It is configured. The dial mechanism includes a dial portion that is manually rotated and a display portion that is fixed around the dial portion. Two-wheel driving position N, four-wheel driving position 4HF, direct-coupled high-speed four-wheel driving position 4HL, and direct-coupled low-speed four-wheel driving position 4LL are engraved on the surface of the display section. Contact terminals corresponding to these driving positions are provided. On the other hand, the dial portion has a direction arrow indicating the direction of the dial portion on the front surface, and a slide terminal that slides according to the position of the direction arrow on the back surface. Here, when the dial portion is rotated, the slide terminal comes into contact with the contact terminal of the display portion, and predetermined power is output from the signal line as a signal. Therefore, when the direction arrow of the dial part is set at a predetermined driving position, the signal state is set to a high value or a low value in each of the plurality of signal lines provided in the drive changeover switch TSW. Is output in correspondence with a predetermined driving position. That is, when the driver operates the driving position at the cockpit, the drive changeover switch TSW generates a signal corresponding to the driving position in response to the driver's command, and sends the signal to the second controller CNT2. Output.

電子制御ユニットECU2は、図示の如く、A/D変換装置と記憶装置MRYと中央演算装置(Central
Processing Unit)CPUとクロック回路CLとを少なくとも備えるコンピュータを具備する。A/D変換装置は、信号ラインLi1及びLi2を介して入力される安定入力信号Sg1及びSg2と信号ラインLi3を介して入力される変動入力信号Sg3が入力され、それぞれの信号をクロックタイミング毎にデジタル値に変換させる。
As shown in the figure, the electronic control unit ECU 2 includes an A / D conversion device, a storage device MRY, a central processing unit (Central
Processing Unit) includes a computer including at least a CPU and a clock circuit CL. The A / D converter receives the stable input signals Sg1 and Sg2 input through the signal lines Li1 and Li2 and the variable input signal Sg3 input through the signal line Li3, and inputs each signal at each clock timing. Let it be converted to a digital value.

通信ラインSTは、他の装置に設けられたECUに接続される。かかる通信ラインは、故障状態又はエラー状態等を他のECUと共有させる信号ラインであって、シリアル通信ライン、CAN通信ライン(Controller Area Network)、LIN通信ライン(Local
Interconnect Network)、この他、適宜な通信ラインが適用される。
Communication line ST is connected to an ECU provided in another device. Such a communication line is a signal line for sharing a failure state or an error state with other ECUs, and includes a serial communication line, a CAN communication line (Controller Area Network), a LIN communication line (Local
Interconnect Network) and other appropriate communication lines are applied.

図9には、電子制御ユニットECU2へ入力される信号の組合せが示されている。図示の如く、電子制御ユニットECU2には、安定型信号ラインLi1を介して安定入力信号Sg1が入力され、安定型信号ラインLi2を介して安定入力信号Sg2が入力され、変動型信号ラインLi3を介して変動入力信号Sg3が入力される。そして、これらの信号Sg1〜Sg3は、各々の信号のHigh/Low状態によって、制御モータMの状態を表現している。具体的に説明すると、電子制御ユニットECU2で認識され得る制御モータMの負荷状態は、図示の如く、4HL、中間ポジション1、N、中間ポジション2、4HL、中間ポジション3、4LLの7類型に分類される。かかる制御モータMの負荷状態は、ドライビングシャフトSHに接続される制御モータMの駆動軸の回転角によって変化する。具体的に説明すると、本実施例に係る制御モータMの駆動軸は、基準アングルから末端アングルまでの回動範囲、即ち、0°〜250°の範囲を回動する。そして、制御モータMの駆動軸が0°〜25°の回動範囲に位置する場合、制御モータMの負荷状態は4HLとされる。また、制御モータMの駆動軸が25°〜75°の回動範囲に位置する場合、制御モータMの負荷状態は中間ポジション1とされる。また、制御モータMの駆動軸が75°〜100°の回動範囲に位置する場合、制御モータMの負荷状態はNとされる。また、制御モータMの駆動軸が100°〜150°の回動範囲に位置する場合、制御モータMの負荷状態は中間ポジション2とされる。また、制御モータMの駆動軸が150°〜175°の回動範囲に位置する場合、制御モータMの負荷状態は4HFとされる。また、制御モータMの駆動軸が175°〜225°の回動範囲に位置する場合、制御モータMの負荷状態は中間ポジション3とされる。また、制御モータMの駆動軸が225°〜250°の回動範囲に位置する場合、制御モータMの負荷状態は4LLとされる。ここで、中間ポジション1、中間ポジション2、中間ポジション3は、トランスファーTRFに設けられたハブHUB1、HUB2の何れかが切替途中のポジションとされるため、かかるポジションで長時間放置されるのは好ましくなく、上述した実施の形態における停止禁止負荷状態に該当する。一方、4HL、N、4HF、4LLは、両方のハブがトランスファーTRF内のギヤに噛み合わさっているので、実施の形態における停止許容負荷状態に該当する。   FIG. 9 shows combinations of signals input to the electronic control unit ECU2. As shown in the figure, the stable input signal Sg1 is input to the electronic control unit ECU2 via the stable signal line Li1, the stable input signal Sg2 is input via the stable signal line Li2, and the electronic control unit ECU2 is connected via the variable signal line Li3. The fluctuation input signal Sg3 is input. And these signals Sg1-Sg3 express the state of the control motor M by the High / Low state of each signal. Specifically, the load state of the control motor M that can be recognized by the electronic control unit ECU2 is classified into seven types as shown in the figure: 4HL, intermediate position 1, N, intermediate position 2, 4HL, intermediate position 3, 4LL. Is done. The load state of the control motor M varies depending on the rotation angle of the drive shaft of the control motor M connected to the driving shaft SH. More specifically, the drive shaft of the control motor M according to this embodiment rotates within a rotation range from the reference angle to the end angle, that is, a range of 0 ° to 250 °. When the drive shaft of the control motor M is located in the rotation range of 0 ° to 25 °, the load state of the control motor M is 4HL. Further, when the drive shaft of the control motor M is located in the rotation range of 25 ° to 75 °, the load state of the control motor M is the intermediate position 1. Further, when the drive shaft of the control motor M is located in the rotation range of 75 ° to 100 °, the load state of the control motor M is set to N. Further, when the drive shaft of the control motor M is located in the rotation range of 100 ° to 150 °, the load state of the control motor M is the intermediate position 2. Further, when the drive shaft of the control motor M is located in the rotation range of 150 ° to 175 °, the load state of the control motor M is 4HF. Further, when the drive shaft of the control motor M is located in the rotation range of 175 ° to 225 °, the load state of the control motor M is the intermediate position 3. Further, when the drive shaft of the control motor M is located in the rotation range of 225 ° to 250 °, the load state of the control motor M is 4LL. Here, the intermediate position 1, the intermediate position 2, and the intermediate position 3 are any of the hubs HUB1 and HUB2 provided in the transfer TRF, and are preferably left in this position for a long time. It corresponds to the stop prohibition load state in the above-described embodiment. On the other hand, 4HL, N, 4HF, and 4LL correspond to the stop allowable load state in the embodiment because both hubs are engaged with the gear in the transfer TRF.

安定出力信号Sg1は、電子制御ユニットECU1の電源Va1が供給されなくても出力値に影響を受けない信号であって、駆動軸のアングルに応じて出力値がVradに示すように線形的に変動する信号である。具体的に説明すると、センサSEN1には、制御モータMの駆動軸が回動すると安定出力信号Sg1の出力値を変動させる回路が形成されており、当該駆動軸の回動範囲が0°〜25°のとき、安定出力信号Sg1の出力値を4.0V〜3.7V(以下、この範囲の出力値をVaと呼ぶ)に設定させ、当該駆動軸の回動範囲が75°〜100°のとき、安定出力信号Sg1の出力値を3.0V〜2.7V(以下、この範囲の出力値をVbと呼ぶ)に設定させ、当該駆動軸の回動範囲が150°〜175°のとき、安定出力信号Sg1の出力値を2.0V〜1.7V(以下、この範囲の出力値をVcと呼ぶ)に設定させ、当該駆動軸の回動範囲が225°〜250°のとき、安定出力信号Sg1の出力値を1.0V〜0.7V(以下、この範囲の出力値をVdと呼ぶ)に設定させる。尚、安定出力信号Sg1は、電源Va2によってプルアップされている。   The stable output signal Sg1 is a signal that is not affected by the output value even when the power source Va1 of the electronic control unit ECU1 is not supplied, and the output value varies linearly as indicated by Vrad according to the angle of the drive shaft. Signal. More specifically, the sensor SEN1 is formed with a circuit for changing the output value of the stable output signal Sg1 when the drive shaft of the control motor M is rotated, and the rotation range of the drive shaft is 0 ° to 25 °. The output value of the stable output signal Sg1 is set to 4.0V to 3.7V (hereinafter, the output value in this range is referred to as Va), and the rotation range of the drive shaft is 75 ° to 100 °. When the output value of the stable output signal Sg1 is set to 3.0V to 2.7V (hereinafter, the output value in this range is referred to as Vb), and the rotation range of the drive shaft is 150 ° to 175 °, When the output value of the stable output signal Sg1 is set to 2.0V to 1.7V (hereinafter, the output value in this range is referred to as Vc), and the rotation range of the drive shaft is 225 ° to 250 °, the stable output The output value of the signal Sg1 is 1.0V to 0.7V (hereinafter, the output value in this range is Is set to be called d). The stable output signal Sg1 is pulled up by the power supply Va2.

安定出力信号Sg2は、電子制御ユニットECU1の電源Va1が供給されなくても出力値に影響を受けない信号であって、H/Lの2値化された信号である。具体的に説明すると、駆動軸の回動範囲が0°〜25°のとき、安定出力信号Sg2がHigh状態に設定され、駆動軸の回動範囲が25°〜225°のとき、安定出力信号Sg2がLow状態に設定され、駆動軸の回動範囲が225°〜250°のとき、安定出力信号Sg2が再びHigh状態に設定される。尚、安定出力信号Sg2は、電源Va2によってプルアップされている。   The stable output signal Sg2 is a signal that is not affected by the output value even when the power source Va1 of the electronic control unit ECU1 is not supplied, and is a signal that is binarized to H / L. Specifically, when the rotation range of the drive shaft is 0 ° to 25 °, the stable output signal Sg2 is set to a high state, and when the rotation range of the drive shaft is 25 ° to 225 °, the stable output signal is set. When Sg2 is set to the Low state and the rotation range of the drive shaft is 225 ° to 250 °, the stable output signal Sg2 is set to the High state again. The stable output signal Sg2 is pulled up by the power source Va2.

変動出力信号Sg3は、電子制御ユニットECU1の電源Va1が供給されなくなると出力値に影響を受ける信号であって、H/Lの2値化された信号である。具体的に説明すると、駆動軸の回動範囲が0°〜100°のとき、電子制御ユニットECU1の電源Va1が供給されていると、変動出力信号Sg3がLow状態に設定され、駆動軸の回動範囲が0°〜100°のとき、電子制御ユニットECU1の電源Va1が供給されなくなると、変動出力信号Sg3がHigh状態に変動し、駆動軸の回動範囲が100°〜250°のとき、電源Va1の供給状態に関わりなく、変動出力信号Sg3がLow状態に設定さる。尚、安定出力信号Sg3は、電源Va1によってプルアップされている。   The fluctuation output signal Sg3 is a signal that is affected by the output value when the power source Va1 of the electronic control unit ECU1 is not supplied, and is a binary signal of H / L. More specifically, when the power supply Va1 of the electronic control unit ECU1 is supplied when the rotation range of the drive shaft is 0 ° to 100 °, the fluctuation output signal Sg3 is set to the Low state, and the rotation of the drive shaft. When the power range Va1 of the electronic control unit ECU1 is not supplied when the moving range is 0 ° to 100 °, the fluctuation output signal Sg3 changes to the high state, and when the rotation range of the drive shaft is 100 ° to 250 °, Regardless of the supply state of the power supply Va1, the fluctuation output signal Sg3 is set to the Low state. The stable output signal Sg3 is pulled up by the power supply Va1.

よって、本実施例によれば、電子制御ユニットECU1の電源Va1が供給されている間は、負荷状態が4HLとされるとき、電子制御ユニットECU2へ入力される信号は(Sg1、Sg2,Sg3)=(Va、H、L)とされる。また、負荷状態がNとされるとき、電子制御ユニットECU2へ入力される信号は(Sg1、Sg2,Sg3)=(Vb、L、H)とされる。同様に、負荷状態が4HFとされるとき、(Sg1、Sg2,Sg3)=(Vc、L、L)とされ、負荷状態が4LLとされるとき、(Sg1、Sg2,Sg3)=(Vd、H、L)とされる。   Therefore, according to this embodiment, while the power supply Va1 of the electronic control unit ECU1 is being supplied, when the load state is 4HL, the signals input to the electronic control unit ECU2 are (Sg1, Sg2, Sg3) = (Va, H, L). When the load state is N, the signals input to the electronic control unit ECU2 are (Sg1, Sg2, Sg3) = (Vb, L, H). Similarly, when the load state is 4HF, (Sg1, Sg2, Sg3) = (Vc, L, L), and when the load state is 4LL, (Sg1, Sg2, Sg3) = (Vd, H, L).

一方、電子制御ユニットECU1の電源Va1が供給されなくなると、図示の如く、負荷状態が4HLとされるとき、変動入力信号Sg3がLow状態からHigh状態に切換わってしまうため、(Sg1、Sg2,Sg3)=(Va、H、H)となってしまう。また、負荷状態がNとされるとき、変動入力信号Sg3がLow状態からHigh状態に切換わってしまうため、(Sg1、Sg2,Sg3)=(Vb、L、H)となってしまう。このとき、負荷状態4HLにおける変動出力信号Sg3の変化後の信号配列を参照すると、認識された信号配列が何れの負荷状態にも該当しないエラーが生じるため、セルフシャットオフ機能を働かせて第2制御装置自身の電源を落とすことができなくなる問題が生じる。かかる問題は、負荷状態Nの場合にも同様に起こり得る。   On the other hand, if the power source Va1 of the electronic control unit ECU1 is not supplied, the variable input signal Sg3 is switched from the low state to the high state when the load state is 4HL as shown in the figure, so (Sg1, Sg2, Sg3) = (Va, H, H). Further, when the load state is N, the variable input signal Sg3 is switched from the low state to the high state, and thus (Sg1, Sg2, Sg3) = (Vb, L, H). At this time, referring to the signal arrangement after the change of the fluctuation output signal Sg3 in the load state 4HL, an error occurs in which the recognized signal arrangement does not correspond to any load state. Therefore, the second control is performed by using the self-shutoff function. There arises a problem that the power of the apparatus itself cannot be turned off. Such a problem may occur in the case of the load state N as well.

そこで、本実施例にあっても、電子制御ユニットECU2が非停止モード用制御プログラム及び停止モード用制御プログラムを適宜に使い分けることにより、負荷状態4HL〜4LLの正確な検出が実現される。以下、かかるプログラムによって実行される動作処理について説明するが、本実施例に係る動作処理は、実施の形態における図4乃至図6において説明した内容と略同様の内容とされている。そこで、停止モード用プログラムPgofのうち相違点の認められる停止モード負荷状態認識処理(S102)について、説明することとする。   Therefore, even in the present embodiment, the electronic control unit ECU 2 properly uses the non-stop mode control program and the stop mode control program, thereby realizing accurate detection of the load states 4HL to 4LL. Hereinafter, the operation process executed by the program will be described. The operation process according to the present embodiment is substantially the same as the contents described in the embodiment with reference to FIGS. Therefore, the stop mode load state recognition process (S102) in which a difference is recognized in the stop mode program Pgof will be described.

自動車の操縦者によってイグニッションキーがOFFに切替えられると、停止モード用制御プログラムPgofが起動され、かかるプログラムで規定される停止モード負荷状態認識処理(S102)では、図10に示す如く、電子制御ユニットECU2に対して入力された複数の信号のうち、安定入力信号Sg2のみによって負荷状態の認識を実施する。具体的に説明すると、停止モード負荷状態認識処理(S102)では、安定入力信号Sg2を当該電子制御ユニットECU2に認識させ、2値化された安定入力信号Sg2のH/L判定を実施させる(S102a)。ここで、安定入力信号Sg2がHigh状態であると認識された場合、安定入力信号Sg1の数値判定を更に実施させ(S102b)、安定入力信号(Sg1、Sg2)=(Va、H)とされるとき、制御モータMの負荷状態が4HLであると認識する処理を行い(S102c)、一方、安定入力信号(Sg1、Sg2)=(Vd、H)とされるとき、制御モータMの負荷状態が4LLであると認識する処理を行う(S102d)。これに対し、安定入力信号Sg2のH/L判定結果がLow状態であると認識された場合(S102a)、安定入力信号Sg1の数値判定を更に実施させる(S102e)。そして、安定入力信号(Sg1、Sg2)=(Vb、L)とされるとき、制御モータMの負荷状態がNであると認識する処理を行い(S102f)、一方、安定入力信号(Sg1、Sg2)=(Vc、L)とされるとき、制御モータMの負荷状態が4HFであると認識する処理を行う(S102g)。また、制御モータMの負荷状態がこれらの何れにも該当しない場合、中間ポジション1〜中間ポジション3の何れかであると認識される。即ち、停止モード負荷状態認識処理(S102)では、第1制御装置の動作に応じて変動する変動入力信号Sg3を用いずに、安定入力信号(Sg1、Sg2)のみによって、第2の負荷ACT2の負荷状態Stateを認識させる。従って、負荷状態の認識に用いられる信号は、全てが正しい出力値とされる信号であるので、第2制御装置CNT2では、負荷状態の誤認識を生じることなく、正確な負荷状態の認識が実現される。   When the ignition key is switched to OFF by the driver of the vehicle, the stop mode control program Pgof is started. In the stop mode load state recognition process (S102) defined by the program, as shown in FIG. 10, the electronic control unit Of the plurality of signals input to the ECU 2, the load state is recognized only by the stable input signal Sg2. More specifically, in the stop mode load state recognition process (S102), the electronic control unit ECU2 recognizes the stable input signal Sg2, and performs the H / L determination of the binarized stable input signal Sg2 (S102a). ). Here, when it is recognized that the stable input signal Sg2 is in the High state, the numerical determination of the stable input signal Sg1 is further performed (S102b), and the stable input signal (Sg1, Sg2) = (Va, H). When the load state of the control motor M is 4HL (S102c), on the other hand, when the stable input signals (Sg1, Sg2) = (Vd, H), the load state of the control motor M is A process of recognizing that it is 4LL is performed (S102d). On the other hand, when the H / L determination result of the stable input signal Sg2 is recognized as being in the low state (S102a), the numerical determination of the stable input signal Sg1 is further performed (S102e). When the stable input signals (Sg1, Sg2) = (Vb, L), a process of recognizing that the load state of the control motor M is N is performed (S102f), while the stable input signals (Sg1, Sg2) ) = (Vc, L), a process of recognizing that the load state of the control motor M is 4HF is performed (S102g). Further, when the load state of the control motor M does not correspond to any of these, it is recognized as one of the intermediate positions 1 to 3. That is, in the stop mode load state recognition process (S102), the second load ACT2 is detected only by the stable input signals (Sg1, Sg2) without using the fluctuation input signal Sg3 that fluctuates according to the operation of the first control device. The load state State is recognized. Accordingly, since the signals used for the recognition of the load state are signals that all have the correct output value, the second control device CNT2 realizes the accurate recognition of the load state without causing erroneous recognition of the load state. Is done.

上述の如く、負荷状態が認識されると(S102c、S102d、S102e、S102f、S102g)、停止モード負荷状態認識処理(S102)では、負荷状態分類処理(S102i)を実行させ、第2の負荷ACT2の駆動停止を許可させる停止可能負荷状態と、第2の負荷ACT2の駆動停止を禁止させる停止禁止負荷状態とに分類させる処理を実行させる。   As described above, when the load state is recognized (S102c, S102d, S102e, S102f, S102g), in the stop mode load state recognition process (S102), the load state classification process (S102i) is executed, and the second load ACT2 A process of classifying the load into a stoppable load state that permits the stop of driving and a stop-prohibited load state that prohibits the stop of driving of the second load ACT2 is executed.

本実施例の車載用制御システムSYS2によれば、ハブHUB1又はHUB2の切換動作中にイグニッションキーがOFFされて電源の一部が供給されなくなっても、正規の出力状態を維持している安定出力信号Sg1及びSg2に基づいてハブHUB1又はHUB2のポジションが正確に把握されるので、ハブHUB1又はHUB2がトランスファーTRFのギヤから外れた状態で車載用制御システムSYS2の電源が切られることを防止できる。これにより、車載用制御システムSYS2は、各ハブが何れかのギヤに噛合わされてから電源が落とされるので、次回にイグニッションキーを回した際、内燃機関から供給された駆動トルクを何れかの駆動輪に伝達できる状態が確保される。   According to the in-vehicle control system SYS2 of this embodiment, even if the ignition key is turned off during the switching operation of the hub HUB1 or HUB2, a stable output is maintained even if a part of the power supply is not supplied. Since the position of the hub HUB1 or HUB2 is accurately grasped based on the signals Sg1 and Sg2, it is possible to prevent the vehicle-mounted control system SYS2 from being turned off when the hub HUB1 or HUB2 is out of the gear of the transfer TRF. As a result, the vehicle-mounted control system SYS2 is powered off after each hub is engaged with any gear, so that the drive torque supplied from the internal combustion engine is driven anyway when the ignition key is turned next time. A state where it can be transmitted to the wheel is secured.

SYS1 制御システム
CNT1 第1制御装置
ACT1 第1の負荷
CNT2 第2制御装置
ACT2 第2の負荷
Li2c 変動型信号ライン
Sg3 変動入力信号
Li2a 安定型信号ライン
Sg1 安定入力信号
Li2b 安定型信号ライン
Sg2 安定入力信号
RYLs リレー手段
MRY 記憶装置
CPU 中央演算装置
Pgon 非停止モード用制御プログラム
Pgof 停止モード用制御プログラム State1 停止禁止負荷状態
State2 停止可能負荷状態 State3 停止禁止負荷状態 State4 停止可能負荷状態
S002 非停止モード負荷状態認識処理
S102 停止モード負荷状態認識処理
S107 セルフシャットオフ処理
SYS2 車載用制御システム
ECU1 電子制御処理装置
ECU2 電子制御処理装置
SYS1 control system CNT1 first control device ACT1 first load CNT2 second control device ACT2 second load Li2c variable signal line Sg3 variable input signal Li2a stable signal line Sg1 stable input signal Li2b stable signal line Sg2 stable input signal RYLs Relay means
MRY Memory CPU Central processing unit Pgon Non-stop mode control program Pgof Stop mode control program State1 Stop-prohibited load state State2 Stoppable load state State3 Stop-prohibited load state State4 Stoppable load state S002 Non-stop mode load state recognition processing S102 Stop Mode load state recognition processing
S107 Self shut-off processing SYS2 On-vehicle control system ECU1 Electronic control processing unit ECU2 Electronic control processing unit

Claims (7)

第1の負荷を駆動制御させる第1制御装置と、前記第1制御装置を除く他の制御装置のうち第2の負荷を駆動制御させる第2制御装置と、前記第2の負荷及び前記第2制御装置を電気的に接続させる複数の信号ラインのうち前記第1制御装置に供給される電源が当該第1制御装置によって遮断されると信号の出力値が低下されてしまう少なくとも一つの変動型信号ラインと、前記複数の信号ラインのうち前記第1制御装置に供給される電源が当該第1制御装置によって遮断されても信号の出力値が変動されない少なくとも一つの安定型信号ラインとを備える制御システムにおいて、
前記第2制御装置は、プログラムを格納させる記憶装置と前記プログラムで規定された動作処理を実現させる中央演算装置とを少なくとも備えるコンピュータを具備し、
前記記憶装置は、前記変動型信号ラインを介して入力される変動入力信号と前記安定型信号ラインを介して入力される安定入力信号とに基づき前記第2の負荷を制御させる非停止モード用制御プログラムと、前記変動入力信号を用いることなく前記安定入力信号に基づいて前記第2の負荷を制御させる停止モード用制御プログラムとが格納されていることを特徴とする制御システム。
A first control device that drives and controls a first load; a second control device that drives and controls a second load among other control devices excluding the first control device; the second load and the second load At least one variable signal in which the output value of the signal is reduced when the power supplied to the first control device is cut off by the first control device among a plurality of signal lines for electrically connecting the control device. And at least one stable signal line in which the output value of the signal is not changed even if the power supplied to the first control device among the plurality of signal lines is cut off by the first control device. In
The second control device includes a computer including at least a storage device for storing a program and a central processing unit for realizing an operation process defined by the program,
The storage device controls the second load based on a variable input signal input via the variable signal line and a stable input signal input via the stable signal line. A control system storing a program and a control program for stop mode for controlling the second load based on the stable input signal without using the variable input signal.
前記非停止モード用制御プログラムは、当該制御システムを停止させる停止指令が前記第1制御装置にて認識されていない際に、当該非停止モード用制御プログラムで規定された動作を前記中央演算装置に対して演算処理させることを規定し、
前記停止モード用制御プログラムは、前記停止指令が前記第1制御装置にて認識された際に、当該停止モード用制御プログラムで規定された動作が前記中央演算装置に対して演算処理させることを規定している請求項1に記載の制御システム。
The non-stop mode control program performs an operation specified by the non-stop mode control program on the central processing unit when a stop command for stopping the control system is not recognized by the first control device. It is specified that the processing is performed for
The stop mode control program specifies that when the stop command is recognized by the first control device, the operation specified by the stop mode control program causes the central processing unit to perform arithmetic processing. The control system according to claim 1.
前記非停止モード用制御プログラムは、前記変動入力信号と前記安定入力信号とに基づき、前記第2の負荷の駆動状態又は前記第2の負荷の停止状態を認識させる非停止モード負荷状態認識処理を規定し、
前記停止モード用制御プログラムは、前記変動入力信号を用いることなく前記安定入力信号に基づき、前記第2の負荷の駆動状態又は前記第2の負荷の停止状態を認識させる停止モード負荷状態認識処理を規定していることを特徴とする請求項1又は請求項2に記載の制御システム。
The non-stop mode control program performs non-stop mode load state recognition processing for recognizing a drive state of the second load or a stop state of the second load based on the fluctuation input signal and the stable input signal. Prescribe,
The stop mode control program performs stop mode load state recognition processing for recognizing the drive state of the second load or the stop state of the second load based on the stable input signal without using the fluctuation input signal. The control system according to claim 1, wherein the control system is defined.
前記停止モード負荷状態認識処理は、前記第2の負荷の駆動停止を許可させる停止可能負荷状態と、前記第2の負荷の駆動停止を禁止させる停止禁止負荷状態と、から成る少なくとも二種類の負荷状態に分類させる処理を実行させることを特徴とする請求項3に記載の制御システム。   The stop mode load state recognition process includes at least two types of loads comprising: a stoppable load state that allows the second load to stop driving; and a stop prohibition load state that prohibits the second load from stopping driving. The control system according to claim 3, wherein processing for classifying the state is executed. 前記停止モード用制御プログラムは、前記第2の負荷が駆動中の場合に、前記第2の負荷の駆動動作を続行させる負荷駆動処理及び/又は前記第2の負荷の停止動作を実行させる負荷停止処理を、前記停止モード負荷状態認識処理にて分類された前記負荷状態に基づいて規定させることを特徴とする請求項4に記載の制御システム。   The control program for stop mode is a load stop process for executing a load drive process for continuing the drive operation of the second load and / or a stop operation for the second load when the second load is being driven. 5. The control system according to claim 4, wherein processing is defined based on the load state classified in the stop mode load state recognition processing. 6. 前記停止モード用制御プログラムは、更に、前記第2制御装置に供給される電源を遮断させるセルフシャット処理を規定しており、
前記セルフシャット処理は、前記第2の負荷が停止された後に実行されることを特徴とする請求項5に記載の制御システム。
The control program for stop mode further defines a self-shut process for shutting off the power supplied to the second control device,
The control system according to claim 5, wherein the self-shut process is executed after the second load is stopped.
請求項1乃至請求項6の何れか一項に記載の制御システムは、前記第1制御装置及び前記第2制御装置を含む複数の制御装置の各々が、自動車に搭載された装置の制御を実現させる電子制御処理装置であることを特徴とする車載用制御システム。   The control system according to any one of claims 1 to 6, wherein each of a plurality of control devices including the first control device and the second control device realizes control of a device mounted on an automobile. An in-vehicle control system characterized by being an electronic control processing device.
JP2009291661A 2009-12-24 2009-12-24 Control system and in-vehicle control system Expired - Fee Related JP5391052B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009291661A JP5391052B2 (en) 2009-12-24 2009-12-24 Control system and in-vehicle control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009291661A JP5391052B2 (en) 2009-12-24 2009-12-24 Control system and in-vehicle control system

Publications (2)

Publication Number Publication Date
JP2011134026A JP2011134026A (en) 2011-07-07
JP5391052B2 true JP5391052B2 (en) 2014-01-15

Family

ID=44346702

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009291661A Expired - Fee Related JP5391052B2 (en) 2009-12-24 2009-12-24 Control system and in-vehicle control system

Country Status (1)

Country Link
JP (1) JP5391052B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002187505A (en) * 2000-12-21 2002-07-02 Fuji Heavy Ind Ltd On-vehicle system
JP4930835B2 (en) * 2007-02-21 2012-05-16 スズキ株式会社 Engine start control device

Also Published As

Publication number Publication date
JP2011134026A (en) 2011-07-07

Similar Documents

Publication Publication Date Title
US10392050B2 (en) Steering apparatus for steer by wire system
US11220288B2 (en) Method and device for the control of a safety-relevant process and transportation vehicle
JP5365941B2 (en) Vehicle system
US20140076085A1 (en) Operator control element
JP2009132281A (en) Steering control device
US20160370434A1 (en) Control method and system of breakdown diagnosis
CN107000782A (en) Transfer and the method for controlling transfer
WO2016111213A1 (en) In-vehicle relay device and relay method
CN110716131A (en) Battery switch testing system and method
US20080208410A1 (en) Secure Control Mode Transition Methods for an Active Front Steer System
WO2019135993A1 (en) System and method of using training data to identify vehicle operations
JP5391052B2 (en) Control system and in-vehicle control system
US9013127B2 (en) Drive system with a direct current motor brake
CN109484471B (en) Device and method for processing sensor signals and steering control device
US20220315025A1 (en) Vehicle control system, vehicle, and control method
KR20200110956A (en) Redundancy system of vehicle and, apparatus and method for supplying power thereof
JP6118060B2 (en) Turn cancel signal output device for vehicle
WO2020225968A1 (en) Vehicle control apparatus and vehicle display system
US8818631B2 (en) Vehicle steering control unit
EP4100291A1 (en) Training a vehicle to accommodate a driver
JP6002575B2 (en) Turn cancel signal output device for vehicle
CN112455385A (en) Power controller for vehicle, system including the same, and power control method for vehicle
KR102485285B1 (en) Vehicle and controlling method thereof
JP2003297166A (en) Courtesy switching device
KR102464584B1 (en) Fails safe apparatus for electronic parking brake system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20121122

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130926

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20131008

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20131011

R150 Certificate of patent or registration of utility model

Ref document number: 5391052

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R360 Written notification for declining of transfer of rights

Free format text: JAPANESE INTERMEDIATE CODE: R360

R360 Written notification for declining of transfer of rights

Free format text: JAPANESE INTERMEDIATE CODE: R360

R371 Transfer withdrawn

Free format text: JAPANESE INTERMEDIATE CODE: R371

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees