[go: up one dir, main page]

JP2012005254A - Controller - Google Patents

Controller Download PDF

Info

Publication number
JP2012005254A
JP2012005254A JP2010138318A JP2010138318A JP2012005254A JP 2012005254 A JP2012005254 A JP 2012005254A JP 2010138318 A JP2010138318 A JP 2010138318A JP 2010138318 A JP2010138318 A JP 2010138318A JP 2012005254 A JP2012005254 A JP 2012005254A
Authority
JP
Japan
Prior art keywords
signal
control
mode
fan motor
communication
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.)
Withdrawn
Application number
JP2010138318A
Other languages
Japanese (ja)
Inventor
Hiroyuki Konishi
博之 小西
Yuji Akita
裕二 秋田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Denso Ten Ltd
Original Assignee
Denso Ten 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 Denso Ten Ltd filed Critical Denso Ten Ltd
Priority to JP2010138318A priority Critical patent/JP2012005254A/en
Publication of JP2012005254A publication Critical patent/JP2012005254A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Control Of Motors That Do Not Use Commutators (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a controller capable of outputting various monitor signals with high degrees of freedom without providing an exclusive monitor signal terminal.SOLUTION: The controller 20 controls a control object based on a signal to be transmitted via a communication line S, and includes: a mode switching part 20a which shifts from a control mode for controlling the control object to an inspection mode when predetermined signal input is detected; and a communication part 20b which changes a signal form of the signal to be transmitted or received via the communication line from a first signal form to be used in the control mode to a second signal form different from the first signal form to perform communication when the controller shifts to the inspection mode by the mode switching part.

Description

本発明は、外部装置を接続可能な通信線を備え、通信線を介して送信される信号に基づいて制御対象を制御する制御装置に関する。   The present invention relates to a control device that includes a communication line to which an external device can be connected, and controls a control target based on a signal transmitted via the communication line.

自動車等には、マイクロコンピュータを備えた多数の制御装置が組み込まれている。これらの制御装置には、同種の制御対象を制御する型式が異なる複数の制御装置が含まれ、製造ラインでは仕向けに応じて適切に選択された制御装置が車両に組み付けられている。   Many control devices equipped with microcomputers are incorporated in automobiles and the like. These control devices include a plurality of control devices of different types for controlling the same type of control object, and a control device appropriately selected according to the destination is assembled in the vehicle on the production line.

さらに、製造ラインでは、車両に組み付けられた制御装置が、仕向けに合致した制御装置であるか否か、また、所期の機能を適切に発揮できる故障の無い制御装置であるか否か等の検査が行なわれる必要がある。   Furthermore, in the production line, whether or not the control device assembled in the vehicle is a control device that matches the destination, and whether or not the control device is a failure-free control device that can appropriately perform the intended function. Inspection needs to be done.

そのため、RAMモニタ等の試験装置にテストデータをシリアル通信するための専用の入出力端子を制御装置に設けて、この試験装置からマイクロコンピュータの機能を試験するためのテストデータを送信するとともに、マイクロコンピュータからの応答を受信して、動作が正常か異常かをチェックするような構成を採用する場合がある。   Therefore, a dedicated input / output terminal for serially communicating test data to a test device such as a RAM monitor is provided in the control device, and test data for testing the function of the microcomputer is transmitted from the test device. There is a case where a configuration is employed in which a response from a computer is received to check whether the operation is normal or abnormal.

しかし、そのような機能を実現するための付加回路をマイクロコンピュータ内部に構築する必要があり、制御装置のコストが嵩むという不都合がある。   However, it is necessary to construct an additional circuit for realizing such a function inside the microcomputer, which disadvantageously increases the cost of the control device.

そこで、特許文献1には、動作チェック専用の外部接続用端子が不要で、特別な試験機能を組み込まずに搭載後の動作チェックが可能な車両制御用マイクロコンピュータが提案されている。   Therefore, Patent Document 1 proposes a vehicle control microcomputer that does not require an external connection terminal dedicated to operation check and can perform operation check after mounting without incorporating a special test function.

当該車両制御用マイクロコンピュータは、車両用エンジンの電子制御に必要な入力信号が与えられる入力手段と、前記電子制御の手順を示すプログラムが格納された記憶手段と、前記プログラム及び前記入力手段に与えられた入力信号に基づいて、前記車両用エンジンを制御するために必要な制御信号を生成する制御手段と、前記制御手段において前記プログラムに従って予め定められた所定の動作が行われたときに、前記車両用エンジンの制御に影響を与えないパルス幅を有する動作監視パルスを生成するパルス生成手段と、前記制御手段で生成された制御信号に前記パルス生成手段で生成された動作監視パルスを重畳して合成制御信号を生成するパルス重畳手段と、前記合成制御信号をエンジン制御用の所定レベルの信号に変換して出力する出力手段とを備えている。   The vehicle control microcomputer is provided with input means for receiving an input signal necessary for electronic control of the vehicle engine, storage means for storing a program indicating the electronic control procedure, and the program and the input means. Control means for generating a control signal necessary for controlling the vehicle engine based on the input signal, and when a predetermined operation predetermined according to the program is performed in the control means, Pulse generating means for generating an operation monitoring pulse having a pulse width that does not affect the control of the vehicle engine, and the operation monitoring pulse generated by the pulse generating means is superimposed on the control signal generated by the control means. Pulse superimposing means for generating a synthesis control signal, and converting the synthesis control signal into a signal of a predetermined level for engine control and outputting it And an output means that.

また、特許文献2には、診断機能及びその結果を表示する特殊制御を、確実且つ高速に処理することを目的とした自動車制御装置が提案されている。   Further, Patent Document 2 proposes an automobile control device for the purpose of processing a diagnostic function and a special control for displaying a result thereof reliably and at high speed.

当該自動車制御装置は、マイクロコンピュータを内蔵し、入力されている各種の信号のうち、少なくとも2入力以上の信号が実使用上起こり得ない組合せ条件として成立した場合に、自己診断等の特殊な制御を実行して、その結果を表示するように構成され、パワーオンリセットで当該特殊な制御が解除されるように構成されている。   The vehicle control device has a microcomputer built-in, and special control such as self-diagnosis is performed when a combination condition in which at least two or more of the input signals cannot occur in actual use is satisfied. Is executed and the result is displayed, and the special control is released by a power-on reset.

特開2000−257500号公報JP 2000-257500 A 特開平04−287854号公報Japanese Patent Laid-Open No. 04-287854

しかし、上述した従来技術では、何れも専用の信号出力端子を設けるのではなく、既存の信号出力端子を兼用してモニタ用の信号を出力するように構成されているが、信号出力端子から出力される信号の出力形態が固定されているため、その信号出力形態の範囲でしかモニタ信号を出力できないという問題があった。   However, in the above-described prior art, each is not provided with a dedicated signal output terminal, but is configured to output a monitor signal also using an existing signal output terminal. Since the output form of the output signal is fixed, there is a problem that the monitor signal can be output only within the range of the signal output form.

また、モニタの必要な信号の種類を増やすためには、モニタ用の信号出力端子として兼用する既存の信号出力端子を増加する必要があり、信号出力端子が多くない場合には信号種類も制限され、詳細な検査が困難になるという問題もあった。   In addition, in order to increase the types of signals required for monitoring, it is necessary to increase the number of existing signal output terminals that are also used as monitor signal output terminals. If there are not many signal output terminals, the signal types are also limited. There is also a problem that detailed inspection becomes difficult.

本発明の目的は、上述した問題に鑑み、専用のモニタ信号端子を設けること無く、自由度の高い様々なモニタ信号を出力可能な制御装置を提供する点にある。   In view of the above-described problems, an object of the present invention is to provide a control device capable of outputting various monitor signals with a high degree of freedom without providing a dedicated monitor signal terminal.

上述の目的を達成するため、本発明による制御装置の特徴構成は、通信線を介して送信される信号に基づいて制御対象を制御する制御装置であって、所定の信号入力を検知すると前記制御対象を制御する制御モードから検査モードに移行するモード切替部と、前記モード切替部により前記検査モードに移行すると、前記通信線を介して送信または受信する信号の信号形態を、前記制御モードで用いる第1信号形態から第1信号形態とは異なる第2信号形態に変更して通信を行なう通信部と、を備えている点にある。   In order to achieve the above-described object, a characteristic configuration of a control device according to the present invention is a control device that controls an object to be controlled based on a signal transmitted via a communication line, and controls the control device when a predetermined signal input is detected. When the mode switching unit shifts from the control mode for controlling the object to the inspection mode and the mode switching unit shifts to the inspection mode, the signal form of the signal transmitted or received via the communication line is used in the control mode. And a communication unit that performs communication by changing the first signal form to a second signal form different from the first signal form.

上述の構成によれば、モード切替部によって所定の信号入力が検知されると、制御対象を制御する制御モードから検査モードにモードが切り替えられ、検査モードにモードが切り替えられると、通信線を介して送信または受信される信号の信号形態が、通信部によって制御モードに対応した第1信号形態から第1信号形態とは異なる第2信号形態に変更される。従って、制御モードで送信または受信される信号形態に制約されない自由度が高い信号形態で多種類のモニタ用の信号を送信または受信することができるようになる。   According to the above configuration, when a predetermined signal input is detected by the mode switching unit, the mode is switched from the control mode for controlling the controlled object to the inspection mode, and when the mode is switched to the inspection mode, the communication line is connected. The signal form of the signal transmitted or received is changed from the first signal form corresponding to the control mode by the communication unit to the second signal form different from the first signal form. Therefore, it becomes possible to transmit or receive various types of monitoring signals in a signal form having a high degree of freedom without being restricted by the signal form transmitted or received in the control mode.

例えば、前記通信部は、前記第1信号形態としてPWM信号を送信または受信する第1通信方式から、前記第2信号形態としてコード信号を送信する第2通信方式に切り替えて通信するように構成することが好ましく、制御モードでは制御に適した効率の良いPWM信号を送信または受信する第1通信方式を選択しながらも、検査モードではコード信号を送信する第2通信方式に切り替えて制御モードより多くの種類の信号を様々な精度で送信することができるようになる。   For example, the communication unit is configured to switch and communicate from a first communication system that transmits or receives a PWM signal as the first signal form to a second communication system that transmits a code signal as the second signal form. Preferably, in the control mode, the first communication method for transmitting or receiving an efficient PWM signal suitable for control is selected, but the inspection mode is switched to the second communication method for transmitting the code signal, and more than the control mode. This type of signal can be transmitted with various accuracies.

以上説明した通り、本発明によれば、専用のモニタ信号端子を設けること無く、自由度の高い様々なモニタ信号を出力可能な制御装置を提供することができるようになった。   As described above, according to the present invention, it is possible to provide a control device that can output various monitor signals with a high degree of freedom without providing a dedicated monitor signal terminal.

(a)は本発明による制御装置がエンジン制御装置と接続され、制御モードで動作する場合の説明図、(b)は本発明による制御装置が検査装置と接続され、検査モードで動作する場合の説明図(A) is explanatory drawing in case the control apparatus by this invention is connected with an engine control apparatus, and operate | moves in control mode, (b) is the case where the control apparatus by this invention is connected with a test | inspection apparatus, and operate | moves in test mode Illustration (a)は本発明による制御装置が用いられるエンジン冷却装置の説明図、(b)は本発明による制御装置とエンジン制御装置とを接続する通信線及びインタフェース回路の回路図(A) is explanatory drawing of the engine cooling device with which the control apparatus by this invention is used, (b) is a circuit diagram of the communication line and interface circuit which connect the control apparatus and engine control apparatus by this invention. (a)はPWM信号の説明図、(b)は第1信号形態としてPWM信号を送信する第1通信方式の説明図、(c)は別実施形態を示す第1通信方式の説明図(A) is explanatory drawing of a PWM signal, (b) is explanatory drawing of the 1st communication system which transmits a PWM signal as a 1st signal form, (c) is explanatory drawing of the 1st communication system which shows another embodiment. 本発明による制御装置の回路ブロック構成図The circuit block block diagram of the control apparatus by this invention 本発明による制御装置により実行される制御モードでの処理を示すフローチャートThe flowchart which shows the process in the control mode performed by the control apparatus by this invention (a)は本発明による制御装置が検査モードへ移行するシーケンスの説明図、(b)は第2信号形態としてコード信号を送信する第2通信方式の説明図(A) is explanatory drawing of the sequence which the control apparatus by this invention transfers to test | inspection mode, (b) is explanatory drawing of the 2nd communication system which transmits a code signal as a 2nd signal form. モード判定処理及び検査モード処理を示すフローチャートFlow chart showing mode determination processing and inspection mode processing

以下に、本発明による制御装置が、車両のエンジン冷却装置を制御するファンモータ制御システムに適用される場合を例に説明する。   Hereinafter, a case where the control device according to the present invention is applied to a fan motor control system that controls an engine cooling device of a vehicle will be described as an example.

図1(a)に示すように、ファンモータ制御システムは、ファンモータ10と、本発明の制御装置として機能し、ファンモータ10を制御するファンモータ制御装置(以下、「ファンモータECU」と記す。尚、ECUは、Electronic Control Unitの略語である。)20と、エンジンを制御するとともにファンモータECU20にファンモータ制御信号を出力するエンジン制御装置30(以下、「エンジンECU」と記す。)とで構成されている。   As shown in FIG. 1A, the fan motor control system functions as a fan motor 10 and a control device of the present invention, and controls the fan motor 10 (hereinafter referred to as “fan motor ECU”). (ECU is an abbreviation for Electronic Control Unit.) 20 and an engine control device 30 (hereinafter referred to as “engine ECU”) that controls the engine and outputs a fan motor control signal to the fan motor ECU 20. It consists of

ファンモータ10は、U,V,Wの三相のコイル(固定子巻線)を備えたステータと、N極とS極が交互に配列された複数の永久磁石を備えたアウターロータとを備えた三相ブラシレス直流モータで構成されている。   The fan motor 10 includes a stator including three-phase coils (stator windings) of U, V, and W, and an outer rotor including a plurality of permanent magnets in which N poles and S poles are alternately arranged. It consists of a three-phase brushless DC motor.

ファンモータECU20は、電源線Pを介してバッテリから供給される電力で動作し、通信線Sを介して接続されたエンジンECUとの間で信号が授受可能に構成されている。   The fan motor ECU 20 is configured to operate with electric power supplied from the battery via the power line P, and to exchange signals with the engine ECU connected via the communication line S.

ファンモータECU20は、ファンモータ10を駆動するインバータ23と、インバータを駆動するプリドライバ25と、ファンモータ10を目標回転速度で制御すべくプリドライバ25に制御信号を出力するマイクロコンピュータ21を備えている。   The fan motor ECU 20 includes an inverter 23 that drives the fan motor 10, a pre-driver 25 that drives the inverter, and a microcomputer 21 that outputs a control signal to the pre-driver 25 to control the fan motor 10 at a target rotational speed. Yes.

マイクロコンピュータ21は、バッテリと接続される直流レギュレータ26により調整された所定の制御電圧が印加され、インタフェース回路IFを介して受信したエンジンECU30から出力される目標回転速度を示すPWM信号に基づいてプリドライバ25に制御信号を出力する。   The microcomputer 21 is applied with a predetermined control voltage adjusted by a DC regulator 26 connected to the battery, and is preliminarily based on a PWM signal indicating a target rotational speed output from the engine ECU 30 received via the interface circuit IF. A control signal is output to the driver 25.

図1(b)に示すように、ファンモータECU20は、さらに、電源線P及び通信線Sを介して検査装置40と接続可能に構成されている。   As shown in FIG. 1B, the fan motor ECU 20 is further configured to be connectable to the inspection device 40 via the power line P and the communication line S.

当該検査装置40は、製造工程でファンモータECU20が車両に組み付けられた後に、当該ファンモータECU20の仕向けや機能等を検査するための装置である。   The inspection device 40 is a device for inspecting the destination and function of the fan motor ECU 20 after the fan motor ECU 20 is assembled to the vehicle in the manufacturing process.

ファンモータECU20は、検査装置40が接続されると、検査装置40から出力される信号に応答して検査のための制御を実行し、エンジンECU30が接続されると、エンジンECU30出力される信号に応答してファンモータ10を制御するように動作する。   The fan motor ECU 20 executes control for inspection in response to a signal output from the inspection device 40 when the inspection device 40 is connected, and outputs a signal output from the engine ECU 30 when the engine ECU 30 is connected. In response, it operates to control the fan motor 10.

図2(a)には、ファンモータ制御システムの制御対象となる車両のエンジン冷却装置が示されている。エンジン冷却装置は、エンジン1と、エンジン1の水冷ジャケットに冷却水を供給する管路2と、エンジン1で加熱された冷却水を放熱するラジエータ3と、ラジエータ3とエンジン1との間に配置された冷却ファン4を備えている。   FIG. 2A shows an engine cooling device for a vehicle to be controlled by the fan motor control system. The engine cooling device is disposed between the engine 1, a pipe line 2 that supplies cooling water to a water cooling jacket of the engine 1, a radiator 3 that dissipates cooling water heated by the engine 1, and the radiator 3 and the engine 1. The cooling fan 4 is provided.

ラジエータ3は、扁平チューブとコルゲートフィンを組み合わせた熱交換コア部と、熱交換コア部のチューブに対して冷却水の分配、集合の役割を果たすタンク部とを備えている。エンジン1とラジエータ3は循環管路2Aを介して接続され、循環管路2Aには冷却水を循環させるウォータポンプ5が配設されている。   The radiator 3 includes a heat exchange core portion in which flat tubes and corrugated fins are combined, and a tank portion that plays a role of distributing and collecting cooling water to the tubes of the heat exchange core portion. The engine 1 and the radiator 3 are connected via a circulation line 2A, and a water pump 5 for circulating cooling water is disposed in the circulation line 2A.

ラジエータ3に流入した高温の冷却水が、ファンモータ10で駆動される冷却ファン4により誘引された空気と熱交換されて冷却され、ラジエータ3で冷却された冷却水が、エンジンの動力または電磁モータの動力により駆動されるウォータポンプ5によって、エンジン1に備えた水冷ジャケットの流入口2aに送水され、エンジンで熱交換された後に水冷ジャケットの流出口2bから循環管路2Aを介してラジエータ3に還流するように構成されている。流出口2bの近傍にエンジン1で熱交換された冷却水の温度を検知する水温センサ6が設置されている。   The high-temperature cooling water flowing into the radiator 3 is cooled by exchanging heat with the air attracted by the cooling fan 4 driven by the fan motor 10, and the cooling water cooled by the radiator 3 is used as an engine power or an electromagnetic motor. The water pump 5 is driven by the power of the water and is fed to the inlet 2a of the water-cooled jacket provided in the engine 1, and after heat exchange with the engine, the water-cooled jacket from the outlet 2b to the radiator 3 through the circulation line 2A. It is configured to reflux. A water temperature sensor 6 that detects the temperature of the cooling water heat-exchanged by the engine 1 is installed in the vicinity of the outlet 2b.

循環管路2Aの途中には、ラジエータ3を迂回して冷却水を通流させるバイパス管路2Bが、循環管路2Aに並列に接続されている。ウォータポンプ5の吸入側に設けられたサーモスタット7により、バイパス管路2Bに冷却水を通流させるか、ラジエータ3に冷却水を通流させるかが切り替えられる。   In the middle of the circulation line 2A, a bypass line 2B that bypasses the radiator 3 and allows cooling water to flow is connected in parallel to the circulation line 2A. A thermostat 7 provided on the suction side of the water pump 5 switches whether the cooling water is allowed to flow through the bypass pipe 2B or the cooling water is allowed to flow through the radiator 3.

サーモスタット7は温度応動弁で、サーモワックスの温度による体積変化を利用して弁体を変位させて管路を開閉する。冷却水の温度がサーモワックスにより設定される設定温度に上昇すると、サーモスタット7はラジエータ3の出口側管路を開放して冷却水をラジエータ3に通流させ、冷却水の温度が設定温度以下の場合には冷却水をバイパス管路2Bに通流させる。   The thermostat 7 is a temperature responsive valve, and opens and closes the pipe line by displacing the valve body using the volume change due to the temperature of the thermo wax. When the temperature of the cooling water rises to a set temperature set by the thermowax, the thermostat 7 opens the outlet side pipe of the radiator 3 and allows the cooling water to flow through the radiator 3 so that the temperature of the cooling water is lower than the set temperature. In this case, the cooling water is passed through the bypass pipe line 2B.

エンジンECU30は、マイクロコンピュータが組み込まれ、イグニッションスイッチの操作信号、アクセルペダルの踏込み量を検知するアクセル開度センサ、エンジン回転数センサ、車速センサ、エアコンディショナの作動信号等、エンジンを制御するために必要な各種のセンサ等からの信号が入力回路を介して入力されている。   The engine ECU 30 incorporates a microcomputer to control the engine, such as an operation signal of an ignition switch, an accelerator opening sensor that detects the depression amount of an accelerator pedal, an engine speed sensor, a vehicle speed sensor, and an air conditioner operation signal. Signals from various sensors required for the input are input via an input circuit.

エンジンECU30は、それらの入力値に基づいてCPUで所定の演算処理を実行し、その結果、出力回路を介してスロットルバルブに対する制御信号を出力し、各気筒に所定のタイミングで燃料噴射信号や点火信号を出力することによってエンジンを駆動する。   Based on these input values, the engine ECU 30 executes predetermined arithmetic processing by the CPU, and as a result, outputs a control signal for the throttle valve via the output circuit, and outputs a fuel injection signal and ignition to each cylinder at a predetermined timing. The engine is driven by outputting a signal.

さらに、エンジンECU30は、車速や水温センサ6による冷却水の検出温度等に基づいて、冷却水がラジエータ3で適切に冷却されるように、ファンモータ10の目標回転数を所定の演算式または制御マップデータに基づいて算出して、その結果をファンモータ制御信号であるPWM信号としてファンモータECU20に出力する。   Further, the engine ECU 30 determines a target rotational speed of the fan motor 10 based on a predetermined arithmetic expression or control so that the cooling water is appropriately cooled by the radiator 3 based on the vehicle speed, the detected temperature of the cooling water by the water temperature sensor 6 and the like. Calculation is performed based on the map data, and the result is output to the fan motor ECU 20 as a PWM signal that is a fan motor control signal.

図2(b)には、通信線Sを介して信号を送受信するファンモータECU20及びエンジンECU30のインタフェース回路IFが示されている。エンジンECU30は、エンジンECU30側のインタフェース回路IFのトランジスタQ3を駆動して目標回転数に対応するデューティ比のPWM信号を生成してファンモータECU20に出力する。   FIG. 2B shows an interface circuit IF of the fan motor ECU 20 and the engine ECU 30 that transmit and receive signals via the communication line S. The engine ECU 30 drives the transistor Q3 of the interface circuit IF on the engine ECU 30 side, generates a PWM signal having a duty ratio corresponding to the target rotational speed, and outputs the PWM signal to the fan motor ECU 20.

ファンモータECU20は、通信線Sを介して送信されるPWM信号によって駆動されるトランジスタQ1を介して当該PWM信号を受信する。さらに、トランジスタQ2を駆動してエンジンECU30に所定の信号を送信可能に構成されている。   The fan motor ECU 20 receives the PWM signal via the transistor Q1 driven by the PWM signal transmitted via the communication line S. Further, the transistor Q2 is driven to transmit a predetermined signal to the engine ECU 30.

図3(a)には、エンジンECU30からファンモータECU20に出力されるPWM信号が示されている。PWM信号は、所定のパルス周期Tに対するオン時間Tonの比(Ton/T)、つまりデューティ比でファンモータ10の回転数を規定する信号である。   FIG. 3A shows a PWM signal output from the engine ECU 30 to the fan motor ECU 20. The PWM signal is a signal that defines the number of rotations of the fan motor 10 by the ratio (Ton / T) of the on-time Ton to a predetermined pulse period T, that is, the duty ratio.

本実施形態では、パルス周期Tが0.02sec.(50Hz)に設定され、ファンモータの回転数が750rpmから3000rpmの範囲で線形に制御できるようにデューティ比が15%〜85%の間で設定されている。また、ファンモータを停止する場合には、デューティ比が5%〜13%の範囲に設定される。尚、この範囲以外のデューティ比は有効な範囲に設定されておらず、この範囲のPWM信号が受信された場合、ファンモータ10の制御については無視され、或は停止、または最大回転速度の何れかを示す値として扱われるように設定することが可能である。上述した各数値は例示であり、この値に制限されるものではない。   In this embodiment, the pulse period T is 0.02 sec. The duty ratio is set between 15% and 85% so that the rotational speed of the fan motor can be linearly controlled in the range of 750 rpm to 3000 rpm. When the fan motor is stopped, the duty ratio is set in the range of 5% to 13%. Note that the duty ratio outside this range is not set to an effective range, and when a PWM signal in this range is received, the control of the fan motor 10 is ignored, or it is stopped, or the maximum rotation speed. It is possible to set so as to be treated as a value indicating that. Each numerical value mentioned above is an illustration, and is not limited to this value.

図3(b)には、制御モード時にエンジンECU30とファンモータECU20間で行なわれる第1通信方式の例が示されている。第1通信方式では、エンジンECU30からファンモータECU20に、第1信号形態としてのPWM信号が50Hzの周期で繰返し出力される。   FIG. 3B shows an example of the first communication method performed between the engine ECU 30 and the fan motor ECU 20 in the control mode. In the first communication method, a PWM signal as a first signal form is repeatedly output from the engine ECU 30 to the fan motor ECU 20 at a cycle of 50 Hz.

ファンモータECU20は、エンジンECU30から出力されるPWM信号に基づいて要求回転数を把握し、その回転数となるようにファンモータ10を始動制御する。さらにファンモータECU20は、必要に応じてエンジンECU30に所定の自己診断結果の信号を送信する。例えば、自己診断の結果、異常が発生していないと判定するとトランジスタQ2をオフして、エンジンECU30から送信されるPWM信号を専ら受信する受信モードとなり、自己診断の結果、異常が発生していると判定するとトランジスタQ2をオンしてエンジンECU30に異常発生を報知する送信モードとなる。   The fan motor ECU 20 grasps the required rotation speed based on the PWM signal output from the engine ECU 30, and controls the start of the fan motor 10 so as to be the rotation speed. Further, fan motor ECU 20 transmits a signal of a predetermined self-diagnosis result to engine ECU 30 as necessary. For example, if it is determined as a result of self-diagnosis that no abnormality has occurred, the transistor Q2 is turned off, and a reception mode for exclusively receiving the PWM signal transmitted from the engine ECU 30 is entered. As a result of self-diagnosis, an abnormality has occurred. If determined, the transmission mode is set to turn on the transistor Q2 and notify the engine ECU 30 of the occurrence of abnormality.

図3(c)には、第1通信方式の他の例が示されている。ファンモータECU20による異常判定時に、その判定結果に対応したデューティ比のPWM信号がファンモータECU2からエンジンECU30に送信され、デューティ比に基づいて異常の種別が識別可能になるように構成されている。当該診断結果を示すPWM信号のパルス周期は上述したファンモータの回転数を規定するPWM信号のパルス周期と同じ値に設定されているが、異なる値であってもよい。   FIG. 3C shows another example of the first communication method. At the time of abnormality determination by the fan motor ECU 20, a PWM signal having a duty ratio corresponding to the determination result is transmitted from the fan motor ECU 2 to the engine ECU 30, and the type of abnormality can be identified based on the duty ratio. The pulse period of the PWM signal indicating the diagnosis result is set to the same value as the pulse period of the PWM signal that defines the rotation speed of the fan motor described above, but may be a different value.

例えば、エンジンECU30とファンモータECU2との間で、PWM信号のパルス周期T(図3(a)参照)より長い、例えば100msec.程度の送信インタバルTdtで交互にPWM信号を送受信するように構成されている。この場合、送信権の優先権が何れか一方に設定され、送信が競合すると優先権が低い方の送信が少なくとも一定時間停止され、優先権が高い方の送信が所定時間確認できない場合に自らPWM信号を所定周期送信するように構成されている。   For example, between the engine ECU 30 and the fan motor ECU 2, which is longer than the pulse period T of the PWM signal (see FIG. 3A), for example, 100 msec. The PWM signal is alternately transmitted / received at a transmission interval Tdt of the order. In this case, if the priority of the transmission right is set to one of them, and transmission conflicts, the transmission with the lower priority is stopped for at least a certain time, and the transmission with the higher priority cannot be confirmed for a predetermined time. A signal is transmitted for a predetermined period.

図3(c)の例では、双方が3周期のPWM信号を100msec.の間隔で交互に送信するように設定されている。   In the example of FIG. 3C, both of the PWM signals having three periods are set to 100 msec. It is set to transmit alternately at intervals of.

図4には、ファンモータECU20の詳細な回路ブロックが示されている。ファンモータECU20は、マイクロコンピュータ21と、ノイズフィルタ22、U,V,W三相のインバータ23、回転位置検出部24、プリドライバ25、DCレギュレータ26、電圧センサ27、温度センサ28、過電流検出部29、インタフェース回路IF等を備えている。   FIG. 4 shows a detailed circuit block of the fan motor ECU 20. The fan motor ECU 20 includes a microcomputer 21, a noise filter 22, a U, V, W three-phase inverter 23, a rotational position detector 24, a pre-driver 25, a DC regulator 26, a voltage sensor 27, a temperature sensor 28, and an overcurrent detection. Part 29, an interface circuit IF and the like.

マイクロコンピュータ21は、CPU,ROM,RAM、入出力回路等を備え、ROMに記憶された制御プログラムを実行するCPUによって、所定の信号入力を検知するとファンモータ10を制御する制御モードから検査モードに移行するモード切替部20aと、モード切替部20aにより検査モードに移行すると、通信線Sを介して送信または受信する信号の信号形態を、制御モードで用いる第1信号形態から第1信号形態とは異なる第2信号形態に変更して通信を行なう通信部20bと、制御モードでファンモータ10を駆動するとともにファンモータ10が正常に動作しているか否かを診断する駆動制御部20cと、検査モードで検査制御を実行する検査制御部20d等が具現化される。   The microcomputer 21 includes a CPU, a ROM, a RAM, an input / output circuit, and the like. When a predetermined signal input is detected by a CPU that executes a control program stored in the ROM, the microcomputer 21 switches from the control mode for controlling the fan motor 10 to the inspection mode. When the mode is switched to the inspection mode by the mode switching unit 20a and the mode switching unit 20a, the signal form of the signal transmitted or received via the communication line S is changed from the first signal form to the first signal form used in the control mode. A communication unit 20b that performs communication by changing to a different second signal form, a drive control unit 20c that drives the fan motor 10 in the control mode and diagnoses whether the fan motor 10 is operating normally, and an inspection mode Thus, the inspection control unit 20d for executing the inspection control is realized.

ファンモータECU20に上述した検査装置40が接続されていない状態では、モード切替部により制御モードに設定されている。以下、制御モード時のファンモータECU20の動作を説明する。   In a state where the above-described inspection device 40 is not connected to the fan motor ECU 20, the mode switching unit sets the control mode. Hereinafter, the operation of the fan motor ECU 20 in the control mode will be described.

バッテリBatからノイズフィルタ22を介して三相インバータ23にDC12Vの電圧が供給されている。インバータ23は、ハイサイド及びローサイドにそれぞれ三つのFETまたはトランジスタ等でなるスイッチング素子を備えている。   A voltage of DC 12 V is supplied from the battery Bat to the three-phase inverter 23 via the noise filter 22. The inverter 23 includes switching elements made of three FETs or transistors on the high side and the low side, respectively.

イグニッションスイッチIGSWがオンされると、バッテリBatからDCレギュレータ26にDC12V程度の電圧が供給され、DCレギュレータ26で調整されたDV5Vの電圧がマイクロコンピュータ21に印加される。このとき、マイクロコンピュータ21にパワーオンリセットがかかり、リセットが解除された後にROMに格納されている制御プログラムがCPUによって順に読み出されて実行される。   When the ignition switch IGSW is turned on, a voltage of about DC 12 V is supplied from the battery Bat to the DC regulator 26, and a voltage of DV 5 V adjusted by the DC regulator 26 is applied to the microcomputer 21. At this time, a power-on reset is applied to the microcomputer 21, and after the reset is released, the control program stored in the ROM is sequentially read and executed by the CPU.

モード切替部20aは、通信線Sを介して入力される信号に基づいて、通常の制御モードか検査モードの何れかのモードに設定する。   The mode switching unit 20a sets either the normal control mode or the inspection mode based on a signal input via the communication line S.

図5には、制御モードに設定された場合のフローチャートが示されている。駆動制御部20cは、イグニッションスイッチIGSWがオンされると、ファンモータ10を始動可能な状態で待機し、エンジンECU30から出力されるPWM信号を待ち受ける(SA1)。   FIG. 5 shows a flowchart when the control mode is set. When the ignition switch IGSW is turned on, the drive control unit 20c stands by in a state where the fan motor 10 can be started, and waits for a PWM signal output from the engine ECU 30 (SA1).

エンジンECU30からPWM信号を受信すると(SA1)、当該PWM信号に基づいて始動判定を行ない、始動要求が無ければ(SA2)、ファンモータ10を停止制御し(SA6)、始動要求されていれば(SA2)、目標回転数を算出し、ファンモータ10の回転数を当該目標回転数に制御するためのPWM信号をプリドライバ25に出力するファンモータ駆動制御を実行する(SA3)。   When a PWM signal is received from the engine ECU 30 (SA1), a start determination is made based on the PWM signal, and if there is no start request (SA2), the fan motor 10 is controlled to stop (SA6), and if a start request is made ( SA2) A target rotation speed is calculated, and fan motor drive control is executed to output a PWM signal for controlling the rotation speed of the fan motor 10 to the target rotation speed to the pre-driver 25 (SA3).

プリドライバ25によって各スイッチング素子が所定のパターンで駆動されることにより、ファンモータ10のU,V,Wの三相のコイルに回転磁界が発生し、この回転磁界に同期してロータが回転する。   When each switching element is driven in a predetermined pattern by the pre-driver 25, a rotating magnetic field is generated in the three-phase coils of U, V, and W of the fan motor 10, and the rotor rotates in synchronization with the rotating magnetic field. .

具体的に、ハイサイド及びローサイドの各スイッチング素子を駆動して、三相のコイルU,V,Wのうち所定の2相に対して、U→W,U→V,W→V,W→U,V→U,V→Wの順に電流を繰返し印加することにより、ロータが正方向に回転駆動される。   Specifically, the high-side and low-side switching elements are driven, and U → W, U → V, W → V, and W → with respect to predetermined two phases of the three-phase coils U, V, and W. By repeatedly applying current in the order of U, V → U, and V → W, the rotor is rotationally driven in the positive direction.

プリドライバ25に出力するPWM信号のデューティ比は、エンジンECU30から指示された目標回転速度と、回転位置検出部24の出力信号に基づいて算出したロータの回転速度との偏差に対するPI制御演算によって設定される。ロータの回転速度と目標速度との偏差をΔVとしたとき、プリドライバ25に出力するPWM信号のデューティ比Dnは以下の数式で算出される。但しD(n−1)は前回のデューティ比、Kp,Kiは制御定数である。
Dn=D(n−1)+Kp×ΔV+Ki×∫ΔV
The duty ratio of the PWM signal output to the pre-driver 25 is set by PI control calculation for the deviation between the target rotational speed instructed from the engine ECU 30 and the rotational speed of the rotor calculated based on the output signal of the rotational position detector 24. Is done. When the deviation between the rotational speed of the rotor and the target speed is ΔV, the duty ratio Dn of the PWM signal output to the pre-driver 25 is calculated by the following formula. However, D (n-1) is the previous duty ratio, and Kp and Ki are control constants.
Dn = D (n−1) + Kp × ΔV + Ki × ∫ΔV

回転位置検出部24は、U,V,W各相に誘導される電圧と基準電圧Vrefとを比較する三つのコンパレータCOMを備えている。ブラシレスモータの三相のコイルU,V,Wのうちの所定の2相に電流が印加されるときに、ロータの回転に伴ってロータに設けた永久磁石の磁束と鎖交する残りの1相に誘導電圧が生じる。   The rotational position detector 24 includes three comparators COM that compare the voltages induced in the U, V, and W phases with the reference voltage Vref. When current is applied to predetermined two phases of the three-phase coils U, V, and W of the brushless motor, the remaining one phase interlinks with the magnetic flux of the permanent magnet provided in the rotor as the rotor rotates. An induced voltage is generated in

コンパレータCOMは、各コイルU,V,Wに誘導される電圧と基準電圧Vrefとを比較して、誘導電圧が基準電圧Vrefと交差する零クロス点でその出力論理が変化するように構成されている。この誘導電圧に対応する零クロス信号に基づいてロータの回転位置が検出される。ここに、基準電圧Vrefはバッテリ電圧の1/2、つまり各相コイルに印加される電圧の1/2に設定されている。   The comparator COM compares the voltage induced in each coil U, V, W with the reference voltage Vref, and is configured such that its output logic changes at the zero crossing point where the induced voltage intersects the reference voltage Vref. Yes. The rotational position of the rotor is detected based on the zero cross signal corresponding to this induced voltage. Here, the reference voltage Vref is set to 1/2 of the battery voltage, that is, 1/2 of the voltage applied to each phase coil.

マイクロコンピュータ21は、各コイルU,V,Wへの通電状態と、コンパレータからの出力信号に基づいて検知した各コイルの零クロス点とに基づいて、ロータの回転位置を検知するとともに、各相の零クロス信号の発生順序に基づいてロータの回転方向を検知し、零クロスの周期に基づいてロータの回転速度を算出する。つまり、ロータの回転位置を検出するためにホール素子等のセンサを設けなくとも、回転位置検出部24によってロータの回転位置、回転方向、回転速度が求まる。   The microcomputer 21 detects the rotational position of the rotor based on the energized state of each coil U, V, W and the zero cross point of each coil detected based on the output signal from the comparator, and each phase. The rotation direction of the rotor is detected based on the generation order of the zero cross signal, and the rotation speed of the rotor is calculated based on the cycle of the zero cross. That is, the rotational position detector 24 can determine the rotational position, rotational direction, and rotational speed of the rotor without providing a sensor such as a hall element to detect the rotational position of the rotor.

駆動制御部20cは、ファンモータ駆動制御を実行中に、さらにファンモータECU20に自己診断制御を実行する(SA4)。電圧センサ27はバッテリBatの出力電圧を検知する抵抗分圧回路で構成され、その出力電圧がマイクロコンピュータ21に入力されている。駆動制御部は、バッテリBatの出力電圧の異常な低下によりファンモータ10を適正に駆動できない場合にバッテリ電圧異常と診断する。   The drive control unit 20c further performs self-diagnosis control on the fan motor ECU 20 during execution of fan motor drive control (SA4). The voltage sensor 27 includes a resistance voltage dividing circuit that detects the output voltage of the battery Bat, and the output voltage is input to the microcomputer 21. The drive control unit diagnoses a battery voltage abnormality when the fan motor 10 cannot be driven properly due to an abnormal drop in the output voltage of the battery Bat.

制御モードでは、バッテリBatの出力電圧がDC9V〜DC16Vの範囲が適正範囲と判断され、DC9V未満であれば異常低圧状態、DC16Vより高ければ異常高圧状態と判定される。   In the control mode, the output voltage of the battery Bat is determined to be within the range of DC9V to DC16V, and if it is less than DC9V, it is determined to be in an abnormally low voltage state, and if higher than DC16V, it is determined to be in an abnormally high voltage state.

温度センサ28は、三相インバータ23の温度を検知するために設けられ、サーミスタや熱電対等で構成され、その出力電圧がマイクロコンピュータ21に入力されている。駆動制御部は、三相インバータ23が異常な高温になると、ファンモータ10を停止制御して、高温異常と診断する。   The temperature sensor 28 is provided to detect the temperature of the three-phase inverter 23, is constituted by a thermistor, a thermocouple, or the like, and its output voltage is input to the microcomputer 21. When the three-phase inverter 23 reaches an abnormally high temperature, the drive control unit controls the fan motor 10 to stop and diagnoses a high temperature abnormality.

過電流検出部29は、三相インバータ23を介してファンモータ10の各コイルU,V,Wに流れる電流を電圧に変換する増幅回路で構成され、その出力電圧がマイクロコンピュータ21に入力されている。駆動制御部は、過電流検出部29によりファンモータ10に過電流が流れたことを検出すると、ファンモータ10を停止制御して、過電流異常と診断する。   The overcurrent detection unit 29 is configured by an amplifier circuit that converts currents flowing through the coils U, V, and W of the fan motor 10 into voltages via the three-phase inverter 23, and the output voltage is input to the microcomputer 21. Yes. When the overcurrent detection unit 29 detects that an overcurrent has flowed into the fan motor 10, the drive control unit controls the fan motor 10 to stop and diagnoses an overcurrent abnormality.

駆動制御部20cは、さらに検知される回転速度と目標速度の偏差が所定時間所定値以上になるとファンモータ異常と診断する。   The drive control unit 20c further diagnoses a fan motor abnormality when the detected deviation between the rotational speed and the target speed exceeds a predetermined value for a predetermined time.

駆動制御部20cは、自己診断の結果、異常と判定するとインタフェース回路IFのトランジスタQ2を駆動して、エンジンECU30に異常発生信号を出力する(SA5)。エンジンECU30は、通信線Sを介して異常発生信号を受信すると、表示部にファンモータ異常を示す警告表示を点灯されて、運転者に故障を報知する。第1通信方式として、図3(b)の例が採用された場合、異常判定時には、信号線Sが低レベルに固定されるため、エンジンECU30から出力されるPWM信号がファンモータECU20に受信されることが無く、駆動制御部20cによってファンモータ10が停止される。   If the drive control unit 20c determines that there is an abnormality as a result of the self-diagnosis, it drives the transistor Q2 of the interface circuit IF and outputs an abnormality occurrence signal to the engine ECU 30 (SA5). When the engine ECU 30 receives the abnormality occurrence signal via the communication line S, the warning display indicating the fan motor abnormality is turned on on the display unit to notify the driver of the failure. When the example of FIG. 3B is adopted as the first communication method, the signal line S is fixed at a low level at the time of abnormality determination, so that the PWM signal output from the engine ECU 30 is received by the fan motor ECU 20. The fan motor 10 is stopped by the drive control unit 20c.

図6には、モード切替部20aによるモード判定処理のタイミングチャートが示されている。検査装置は、電源線Pを介して印加する電圧をDC0V〜DC18Vの範囲で可変に設定可能な電源と制御部等を備えている。ファンモータECU20に接続された検査装置は、電源線Pを介してファンモータECU20に制御モード時の適正電圧範囲を逸脱した値の電圧を印加し、通信線Sを介して、制御モード時の適正な線形の制御範囲のPWM信号のデューティ比から逸脱したデューティ比のPWM信号を、制御モード時のパルス周期とは異なる値の周期で出力するように構成されている。   FIG. 6 shows a timing chart of the mode determination process by the mode switching unit 20a. The inspection apparatus includes a power supply, a control unit, and the like that can variably set a voltage applied via the power supply line P in a range of DC0V to DC18V. The inspection device connected to the fan motor ECU 20 applies a voltage having a value that deviates from the appropriate voltage range in the control mode to the fan motor ECU 20 via the power line P, and the appropriate value in the control mode via the communication line S. A PWM signal having a duty ratio deviating from the duty ratio of the PWM signal in a linear control range is output at a cycle having a value different from the pulse cycle in the control mode.

制御モード時の信号値の適正範囲から逸脱した範囲の信号値を採用するのは、制御モード時に誤って検査モードで動作するような異常な状態が発生するのを確実に排除するためである。   The reason why the signal value in the range that deviates from the appropriate range of the signal value in the control mode is employed is to reliably eliminate the occurrence of an abnormal state that erroneously operates in the inspection mode in the control mode.

ファンモータECU20に接続された検査装置は、少なくともA点からB点迄の時間T1(50msec.)に、第1条件として、電源線Pを介して適正電圧範囲を逸脱したDC7Vを印加するとともに、通信線Sを介して100Hz、適正なPWM信号のデューティ比と逸脱したデューティ比90%のPWM信号を出力するように構成されている。さらに、B点からC点迄の時間T2(50msec.)に、第2条件として、電源線Pを介してDC18Vを印加するとともに、通信線Sを介して100Hz、デューティ比10%のPWM信号を出力する。   The inspection apparatus connected to the fan motor ECU 20 applies DC7V that deviates from the appropriate voltage range via the power line P as a first condition at least at a time T1 (50 msec.) From point A to point B, It is configured to output a PWM signal with a duty ratio of 90% that deviates from the duty ratio of an appropriate PWM signal through the communication line S at 100 Hz. Further, at time T2 (50 msec.) From point B to point C, as a second condition, DC18V is applied via the power line P, and a PWM signal having a duty ratio of 10% is set via the communication line S at 100 Hz. Output.

PWM信号を受信する第1通信方式で動作する通信部によってこれらの信号が受信され、これに応答したモード切替部によって通信線Sがローレベルにドライブされる。   These signals are received by the communication unit operating in the first communication method for receiving the PWM signal, and the communication line S is driven to a low level by the mode switching unit in response thereto.

検査装置は、D点で通信線Sがローレベルにドライブされたことを検知すると、第3条件として、電源線Pを介してDC12Vを印加する。モード切替部は、電源線Pの電圧がDC12Vに変化したことを検知すると、制御モードから検査モードに切り替えて検査制御部を起動するとともに、通信部の通信方式を第2通信方式に切り替える。   When the inspection apparatus detects that the communication line S is driven to a low level at the point D, the inspection apparatus applies DC12V via the power line P as a third condition. When the mode switching unit detects that the voltage of the power supply line P has changed to DC 12 V, the mode switching unit switches from the control mode to the inspection mode to start the inspection control unit, and switches the communication method of the communication unit to the second communication method.

その後、検査制御部によって所定のモニタ情報が生成され、時間T3(10msec.)経過後のF点からG点で、通信部によって第2通信方式で第2信号形態であるコード信号が検査装置に送信され、その後通信部の通信方式が第1通信方式に切り替えられる。   After that, predetermined monitor information is generated by the inspection control unit, and the code signal in the second signal form is transmitted to the inspection apparatus by the communication unit from the F point to the G point after the elapse of time T3 (10 msec.). After that, the communication method of the communication unit is switched to the first communication method.

図6(b)には、第2通信方式で送信される第2信号形態のコード信号が例示されている。第2通信方式として例えば19.2Kbpsのデータ伝送速度の非同期式シリアル通信方式が採用されている。   FIG. 6B illustrates a code signal in the second signal form transmitted by the second communication method. As the second communication method, for example, an asynchronous serial communication method with a data transmission rate of 19.2 Kbps is adopted.

第2信号形態は、1ビットのスタートビット、8ビットのデータビット、1ビットのストップビットを単位とするコード信号で構成され、複数のコード信号で一連の検査情報が送信される。具体的に、最初のコード信号のデータビットに送信されるコード信号の数を示すデータ数が設定され、二番目以降のコード信号のデータビットに各コードが設定され、最後のコード信号のデータビットにチェックサムが設定される。   The second signal form is composed of a code signal having 1 start bit, 8 data bits, and 1 stop bit as a unit, and a series of inspection information is transmitted by a plurality of code signals. Specifically, the number of data indicating the number of code signals to be transmitted is set to the data bits of the first code signal, each code is set to the data bits of the second and subsequent code signals, and the data bits of the last code signal Is set to the checksum.

図6(a)に戻り、検査装置は、コード信号を受信後、時間T4(50msec.)経過後のH点で、第4条件として、通信線Sを介して100Hz、デューティ比50%のPWM信号を時間T5(50msec.)出力する。モード切替部は、I点で当該PWM信号が時間T5の1/2継続したと判定すると、J点迄の間、通信線Sを時間T6(50msec.)ローレベルにドライブする。検査装置は、これを検知すると検査を終了し、引き続き必要な検査があれば、A点からのシーケンスを繰り返す。   Returning to FIG. 6A, the inspection apparatus receives a code signal, and at point H after the elapse of time T4 (50 msec.), As a fourth condition, PWM with 100 Hz and a duty ratio of 50% is set via the communication line S. The signal is output for time T5 (50 msec.). When the mode switching unit determines that the PWM signal has continued for half of time T5 at point I, it drives the communication line S to the low level for time T6 (50 msec.) Until point J. When the inspection apparatus detects this, the inspection is terminated, and if there is a necessary inspection, the sequence from the point A is repeated.

検査制御部によって生成されるモニタ情報として、ファンモータECU20に組み込まれているマイクロコンピュータに移植されているソフトウェアのバージョン情報(このバージョン情報は型式を示す識別コードを含む信号である。)、電圧センサ7により検知される電圧値、温度センサ28により検知される温度、過電流検知部29により検知される電流値等の情報が含まれる。   As monitor information generated by the inspection control unit, version information of software ported to a microcomputer incorporated in the fan motor ECU 20 (this version information is a signal including an identification code indicating a model), a voltage sensor. 7 includes information such as a voltage value detected by 7, a temperature detected by the temperature sensor 28, and a current value detected by the overcurrent detection unit 29.

そして、検査装置からB点からC点で送信されるPWM信号のデューティ比でモニタ情報の種別が規定される。例えば、デューティ比10%のPWM信号ではバージョン情報が要求される。   The type of monitor information is defined by the duty ratio of the PWM signal transmitted from the point B to the point C from the inspection device. For example, version information is required for a PWM signal with a duty ratio of 10%.

図7には、モード切替部20aによるモード判定処理、及び、検査制御部20dが動作する検査モードのフローが示されている。マイクロコンピュータ21に電源が投入されてパワーオンリセットがかかると(SB1)、モード切替部20aは、制御モードに移行するための第1条件が満たされているか否かを判定し(SB2)、第1条件が満たされていない場合にはモードを制御モードに設定してステップSB9の通常制御を実行する。通常制御とは、図5で説明した制御である。   FIG. 7 shows a flow of the mode determination process by the mode switching unit 20a and the inspection mode in which the inspection control unit 20d operates. When the microcomputer 21 is turned on and a power-on reset is applied (SB1), the mode switching unit 20a determines whether or not the first condition for shifting to the control mode is satisfied (SB2). If one condition is not satisfied, the mode is set to the control mode and the normal control in step SB9 is executed. The normal control is the control described with reference to FIG.

時間T1の1/2以上の間、第1条件が継続していると(SB2)、第2条件が満たされているか否かを判定し(SB3)、第2条件が満たされていない場合にはモードを制御モードに設定してステップSB9の通常制御を実行する。   If the first condition continues for ½ or more of time T1 (SB2), it is determined whether the second condition is satisfied (SB3), and the second condition is not satisfied. Sets the mode to the control mode and executes the normal control in step SB9.

時間T2の1/2以上の間、第2条件が継続していると(SB3)、通信線Sの電圧をローレベルに切り替えて(SB4)、次に所定時間TF1(例えば50msec.)内に第3条件が満たされているか否かを判定し(SB5)、第3条件が満たされていると、第1通信方式から第2通視方式に切り替えた通信部20bから第2信号形態のコード信号であるモニタ情報を出力する(SB6)。所定時間TF1内に第3条件が満たされないと、エラー判定して通常の制御モードに移行する(SB9)。   If the second condition continues for ½ or more of the time T2 (SB3), the voltage of the communication line S is switched to a low level (SB4), and then within a predetermined time TF1 (for example, 50 msec.). It is determined whether or not the third condition is satisfied (SB5). When the third condition is satisfied, the code of the second signal form is transmitted from the communication unit 20b that has switched from the first communication method to the second viewing method. The monitor information which is a signal is output (SB6). If the third condition is not satisfied within the predetermined time TF1, an error is determined and the control mode is shifted to the normal control mode (SB9).

当該モニタ情報は、第2条件に含まれるPWM信号のデューティ比で特定され、検査制御部20dは第2条件に含まれるPWM信号のデューティ比に基づいて必要なモニタ情報を特定して取得する。   The monitor information is specified by the duty ratio of the PWM signal included in the second condition, and the inspection control unit 20d specifies and acquires necessary monitor information based on the duty ratio of the PWM signal included in the second condition.

その後、通信部20bを第1通信方式に切り替えて、第4条件が満たされているか否かを判定し(SB7)、第4条件が満たされていると、通信線Sの電圧をローレベルに切り替える(SB8)。また、モニタ情報を出力した後、所定時間TF2(例えば50msec.)内に第4条件が満たされないと、モニタ情報が検査装置に適正に受信されなかったとのエラー判定を行なって、通常の制御モードに移行する(SB9)。以後、同様の処理を繰り返す。   Thereafter, the communication unit 20b is switched to the first communication method to determine whether or not the fourth condition is satisfied (SB7). When the fourth condition is satisfied, the voltage of the communication line S is set to a low level. Switch (SB8). Further, after outputting the monitor information, if the fourth condition is not satisfied within a predetermined time TF2 (for example, 50 msec.), An error determination is made that the monitor information has not been properly received by the inspection apparatus, and the normal control mode is set. (SB9). Thereafter, the same processing is repeated.

即ち、本発明による制御装置の制御対象が車両の冷却ファンを駆動するファンモータであり、制御モードで通信線Sを介して受信するPWM信号がファンモータの目標回転数を示す信号であり、検査モードで通信線Sを介して送信するコード信号が当該ファンモータECU20の型式を示す識別コードを含む信号である。   That is, the control object of the control device according to the present invention is a fan motor that drives a cooling fan of a vehicle, and the PWM signal received via the communication line S in the control mode is a signal indicating the target rotational speed of the fan motor, The code signal transmitted through the communication line S in the mode is a signal including an identification code indicating the model of the fan motor ECU 20.

また、モード切替部は、通信線Sを介して受信するPWM信号の周期とデューティ比が制御モードで規定される周期とデューティ比の組合せと異なる所定の組合せであると判定したときに、制御モードから検査モードに移行するように構成され、さらに当該ファンモータECU20に印加される直流電圧の電圧値が制御モードで規定される電圧範囲と異なる電圧範囲の電圧値であると判定したときに、制御モードから検査モードに移行するように構成されている。   Further, when the mode switching unit determines that the cycle and the duty ratio of the PWM signal received via the communication line S are a predetermined combination different from the combination of the cycle and the duty ratio specified in the control mode, And the control is performed when it is determined that the voltage value of the DC voltage applied to the fan motor ECU 20 is a voltage value in a voltage range different from the voltage range defined in the control mode. It is configured to shift from the mode to the inspection mode.

上述した実施形態では、モード切替部が、電圧センサ27からの所定の信号入力、及び、通信線Sを介した所定の信号入力を検知すると制御対象を制御する制御モードから検査モードに移行するように構成した例を説明したが、本発明は、このような態様に限定されるものではなく、任意の信号入力端子を介して所定の信号入力を検知すると制御対象を制御する制御モードから検査モードに移行するように構成されていればよい。   In the above-described embodiment, when the mode switching unit detects a predetermined signal input from the voltage sensor 27 and a predetermined signal input via the communication line S, the mode switching unit shifts from the control mode for controlling the control target to the inspection mode. However, the present invention is not limited to such a mode. The detection mode is changed from the control mode in which the control target is controlled when a predetermined signal input is detected through an arbitrary signal input terminal. What is necessary is just to be comprised so that it may transfer to.

尚、上述した各実施形態は本発明の一例に過ぎず、本発明の作用効果を奏する範囲において各ブロックの具体的構成等を適宜変更設計できることは言うまでもない。   It should be noted that each of the above-described embodiments is merely an example of the present invention, and it is needless to say that the specific configuration and the like of each block can be appropriately changed and designed within the scope of the effects of the present invention.

1:エンジン
2:管路
3:ラジエータ
4:冷却ファン
6:水温センサ
10:ファンモータ
20:制御装置(ファンモータ制御装置)
20a:モード切替部
20b:通信部
20c:駆動制御部
20d:検査制御部
21:マイクロコンピュータ
22:ノイズフィルタ
23:三相インバータ
24:回転位置検出部
25:プリドライバ
26:DCレギュレータ
27:電圧センサ
29:過電流検出部
30:エンジン制御装置
1: Engine 2: Pipeline 3: Radiator 4: Cooling fan 6: Water temperature sensor 10: Fan motor 20: Control device (fan motor control device)
20a: mode switching unit 20b: communication unit 20c: drive control unit 20d: inspection control unit 21: microcomputer 22: noise filter 23: three-phase inverter 24: rotational position detection unit 25: pre-driver 26: DC regulator 27: voltage sensor 29: Overcurrent detection unit 30: Engine control device

Claims (5)

通信線を介して送信される信号に基づいて制御対象を制御する制御装置であって、
所定の信号入力を検知すると前記制御対象を制御する制御モードから検査モードに移行するモード切替部と、
前記モード切替部により前記検査モードに移行すると、前記通信線を介して送信または受信する信号の信号形態を、前記制御モードで用いる第1信号形態から第1信号形態とは異なる第2信号形態に変更して通信を行なう通信部と、
を備えている制御装置。
A control device that controls a control object based on a signal transmitted via a communication line,
A mode switching unit that shifts from a control mode for controlling the control target to an inspection mode when detecting a predetermined signal input;
When the mode switching unit shifts to the inspection mode, the signal form of the signal transmitted or received via the communication line is changed from the first signal form used in the control mode to the second signal form different from the first signal form. A communication unit that performs communication by changing, and
A control device comprising:
前記通信部は、前記第1信号形態としてPWM信号を送信または受信する第1通信方式から、前記第2信号形態としてコード信号を送信する第2通信方式に切り替えて通信する請求項1記載の制御装置。   2. The control according to claim 1, wherein the communication unit performs communication by switching from a first communication system that transmits or receives a PWM signal as the first signal form to a second communication system that transmits a code signal as the second signal form. apparatus. 前記制御対象が車両の冷却ファンを駆動するファンモータであり、前記制御モードで前記通信線を介して受信するPWM信号が前記ファンモータの目標回転数を示す信号であり、前記検査モードで前記通信線を介して送信するコード信号が当該制御装置の型式を示す識別コードを含む信号である請求項2記載の制御装置。   The control object is a fan motor that drives a cooling fan of a vehicle, and a PWM signal received via the communication line in the control mode is a signal indicating a target rotational speed of the fan motor, and the communication is performed in the inspection mode. The control device according to claim 2, wherein the code signal transmitted via the line is a signal including an identification code indicating a type of the control device. 前記モード切替部は、前記通信線を介して受信するPWM信号の周期とデューティ比が前記制御モードで規定される周期とデューティ比の組合せと異なる所定の組合せであると判定したときに、前記制御モードから前記検査モードに移行する請求項1から3の何れかに記載の制御装置。   When the mode switching unit determines that the cycle and duty ratio of the PWM signal received via the communication line is a predetermined combination different from the cycle and duty ratio combination defined in the control mode, the control The control device according to claim 1, wherein the control mode is shifted from the mode to the inspection mode. 前記モード切替部は、さらに当該制御装置に印加される直流電圧の電圧値が前記制御モードで規定される電圧範囲と異なる電圧範囲の電圧値であると判定したときに、前記制御モードから前記検査モードに移行する請求項4記載の制御装置。   When the mode switching unit determines that the voltage value of the DC voltage applied to the control device is a voltage value in a voltage range different from the voltage range defined in the control mode, the mode switching unit performs the inspection from the control mode. The control device according to claim 4 which shifts to a mode.
JP2010138318A 2010-06-17 2010-06-17 Controller Withdrawn JP2012005254A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010138318A JP2012005254A (en) 2010-06-17 2010-06-17 Controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010138318A JP2012005254A (en) 2010-06-17 2010-06-17 Controller

Publications (1)

Publication Number Publication Date
JP2012005254A true JP2012005254A (en) 2012-01-05

Family

ID=45536596

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010138318A Withdrawn JP2012005254A (en) 2010-06-17 2010-06-17 Controller

Country Status (1)

Country Link
JP (1) JP2012005254A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013132733A1 (en) * 2012-03-09 2013-09-12 パナソニック株式会社 Motor control device, brushless motor, and motor control system
WO2013136645A1 (en) * 2012-03-12 2013-09-19 パナソニック株式会社 Motor control system, motor control device, brushless motor, and motor control method
JP2014230313A (en) * 2013-05-20 2014-12-08 パナソニック株式会社 Drive circuit built-in motor
JP2015211591A (en) * 2014-04-28 2015-11-24 トヨタ自動車株式会社 Failure diagnosis device for driving device for brushless motor, and failure diagnosis method
JP2016223364A (en) * 2015-05-29 2016-12-28 株式会社ミツバ Cooling fan control device and control device control method
JP2017536077A (en) * 2014-11-20 2017-11-30 エムエムティー エスアー Mechatronic unit driven by clear steering of torque and power signals
JP2020058199A (en) * 2018-10-04 2020-04-09 ミネベアミツミ株式会社 Motor drive control device, fan device, and motor drive control method
CN111224678A (en) * 2018-11-27 2020-06-02 日本电产株式会社 Signal processing device, motor and fan motor
JP2021134725A (en) * 2020-02-27 2021-09-13 日本電産トーソク株式会社 Electric oil pump and oil pump system
CN114135645A (en) * 2020-09-03 2022-03-04 大众汽车股份公司 Differential for a vehicle, in particular for a motor vehicle

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9166517B2 (en) 2012-03-09 2015-10-20 Panasonic Intellectual Property Management Co., Ltd. Motor control device, brushless motor, and motor control system
WO2013132733A1 (en) * 2012-03-09 2013-09-12 パナソニック株式会社 Motor control device, brushless motor, and motor control system
WO2013136645A1 (en) * 2012-03-12 2013-09-19 パナソニック株式会社 Motor control system, motor control device, brushless motor, and motor control method
US9436171B2 (en) 2012-03-12 2016-09-06 Panasonic Intellectual Property Management Co., Ltd. Motor control system, motor control device, brushless motor, and motor control method
JP2014230313A (en) * 2013-05-20 2014-12-08 パナソニック株式会社 Drive circuit built-in motor
JP2015211591A (en) * 2014-04-28 2015-11-24 トヨタ自動車株式会社 Failure diagnosis device for driving device for brushless motor, and failure diagnosis method
JP2017536077A (en) * 2014-11-20 2017-11-30 エムエムティー エスアー Mechatronic unit driven by clear steering of torque and power signals
JP2016223364A (en) * 2015-05-29 2016-12-28 株式会社ミツバ Cooling fan control device and control device control method
JP2020058199A (en) * 2018-10-04 2020-04-09 ミネベアミツミ株式会社 Motor drive control device, fan device, and motor drive control method
JP7186569B2 (en) 2018-10-04 2022-12-09 ミネベアミツミ株式会社 MOTOR DRIVE CONTROL DEVICE, FAN DEVICE, AND MOTOR DRIVE CONTROL METHOD
CN111224678A (en) * 2018-11-27 2020-06-02 日本电产株式会社 Signal processing device, motor and fan motor
JP2020085679A (en) * 2018-11-27 2020-06-04 日本電産株式会社 Signal processing device, motor, and fan motor
JP2021134725A (en) * 2020-02-27 2021-09-13 日本電産トーソク株式会社 Electric oil pump and oil pump system
JP7435023B2 (en) 2020-02-27 2024-02-21 ニデックパワートレインシステムズ株式会社 Electric oil pump and oil pump system
CN114135645A (en) * 2020-09-03 2022-03-04 大众汽车股份公司 Differential for a vehicle, in particular for a motor vehicle

Similar Documents

Publication Publication Date Title
JP2012005254A (en) Controller
JP4894312B2 (en) Inverter device
US7288922B2 (en) Control apparatus for automotive alternator having capability to accurately detect temperature of alternator
US10088531B2 (en) Failure diagnosis device and failure diagnosis method for inverter
KR101904253B1 (en) Smart solenoid
CN104995397B (en) Electromechanical integration part using the simple combination part of brushless electric machine and electronic unit, for driving external member
US20110260671A1 (en) Apparatus for selecting speed of electrically commutated motor for use in hvac system
US9695827B2 (en) Control device for electric water pump
JP5256837B2 (en) Inverter device
JP5958519B2 (en) Control device and shift-by-wire system using the same
KR101647109B1 (en) Method and system for controlling cooling pan in vehicle
US7005859B2 (en) Circuit arrangement and method for monitoring a current circuit
JP2012050284A (en) Control device for brushless motor
JP2001268989A (en) Synchronous motor, electric vehicle using the same, and control method therefor
JP2017519475A (en) Mechatronic assembly that drives external members using a brushless motor and simplified assembly of electronic components
JP5099041B2 (en) Fuel pump control device
KR20150145074A (en) Motor drive control apparatus and control method thereof
CN104727920A (en) System and method for controlling an engine cooling fan
JP5549359B2 (en) Multiphase motor driving method, multiphase motor driving system, and heat pump device
JP2012050283A (en) Control device for brushless motor
JP2015106930A (en) Motor control device
KR101393584B1 (en) Cooling fan monitoring system for fuel cell vehicle and method thereof
CN106029464B (en) Method for determining the thermal state of an electric motor in a hybrid drive of a motor vehicle
JP2007300767A (en) AC generator motor drive system for automobile
JP5423098B2 (en) Inverter device

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20130903