Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4652876B2 - Driver switching method and driver switching device - Google Patents
[go: Go Back, main page]

JP4652876B2 - Driver switching method and driver switching device - Google Patents

Driver switching method and driver switching device Download PDF

Info

Publication number
JP4652876B2
JP4652876B2 JP2005111311A JP2005111311A JP4652876B2 JP 4652876 B2 JP4652876 B2 JP 4652876B2 JP 2005111311 A JP2005111311 A JP 2005111311A JP 2005111311 A JP2005111311 A JP 2005111311A JP 4652876 B2 JP4652876 B2 JP 4652876B2
Authority
JP
Japan
Prior art keywords
driver
built
external
driven
mosfet
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
JP2005111311A
Other languages
Japanese (ja)
Other versions
JP2006295409A (en
Inventor
輝芳 小山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Denso 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 JP2005111311A priority Critical patent/JP4652876B2/en
Publication of JP2006295409A publication Critical patent/JP2006295409A/en
Application granted granted Critical
Publication of JP4652876B2 publication Critical patent/JP4652876B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Semiconductor Integrated Circuits (AREA)
  • Dc-Dc Converters (AREA)
  • Power Conversion In General (AREA)
  • Electronic Switches (AREA)

Description

本発明は、たとえば集積回路(Integrated Circuit;略称:IC)に内蔵される内蔵ドライバと、ICの外部の外部ドライバとを切換えて駆動させるときに好適に用いられるドライバ切換方法およびドライバ切換装置に関する。   The present invention relates to a driver switching method and a driver switching device that are preferably used when switching between an internal driver incorporated in an integrated circuit (abbreviation: IC) and an external driver outside the IC, for example.

図27は、従来の技術の内蔵ドライバ駆動時の昇圧型スイッチング電源回路110を示す図である。図28は、従来の技術の外部ドライバ駆動時の昇圧型スイッチング電源回路120を示す図である。昇圧型スイッチング電源回路に用いられる昇圧スイッチング素子などのドライバは、製造工数および製造コストの低減を図るために集積回路(略称:IC)111に内蔵される。このIC111に内蔵されるドライバ(以下、「内蔵ドライバ」という場合がある)112は、出力電流が所定の出力電流を超えると、ドライバの損失が増大して使用できなくなる。またIC111に内蔵できるドライバのサイズは限られているので、そのサイズを超える大規模のドライバが必要な場合には、IC111にドライバを内蔵することができない不都合が生じる。そこで図28に示すように、IC111の外部に外部ドライバ113を接続できるようにしている。IC111は、内蔵ドライバ112を駆動させるためのプリドライバ(以下、「内蔵用プリドライバ」という場合がある)115、および外部ドライバ113を駆動させるためのプリドライバ(以下、「外部用プリドライバ」という場合がある)116を備えている。内蔵用プリドライバ115および外部用プリドライバ116(以下、「プリドライバ」と総称する場合がある)は、相補型MOS(Complementary Metal Oxide Semiconductor;略称:CMOS)である。   FIG. 27 is a diagram showing a step-up switching power supply circuit 110 when driving a built-in driver according to the prior art. FIG. 28 is a diagram showing a step-up switching power supply circuit 120 in driving a conventional external driver. A driver such as a step-up switching element used in the step-up switching power supply circuit is incorporated in an integrated circuit (abbreviation: IC) 111 in order to reduce manufacturing steps and manufacturing costs. If the output current exceeds a predetermined output current, the driver built in the IC 111 (hereinafter sometimes referred to as “built-in driver”) 112 increases the loss of the driver and cannot be used. In addition, since the size of the driver that can be built in the IC 111 is limited, when a large-scale driver exceeding the size is required, there is a disadvantage that the driver cannot be built in the IC 111. Therefore, as shown in FIG. 28, an external driver 113 can be connected to the outside of the IC 111. The IC 111 includes a pre-driver (hereinafter sometimes referred to as “built-in pre-driver”) 115 for driving the internal driver 112 and a pre-driver (hereinafter referred to as “external pre-driver”) for driving the external driver 113. 116). The built-in pre-driver 115 and the external pre-driver 116 (hereinafter may be collectively referred to as “pre-driver”) are complementary metal oxide semiconductors (abbreviated as CMOS).

内蔵ドライバ112と外部ドライバ113とを切換えることなく駆動させると、内蔵用プリドライバ115が駆動しているとき、つまり内蔵ドライバ112を駆動させているとき、図27の矢符Eで示す貫通電流などの不要な電流が、外部用プリドライバ116に流れる。外部用プリドライバ116が駆動しているとき、つまり外部ドライバ113を駆動させているとき、図28の矢符Fで示す貫通電流などの不要な電流が、内蔵用プリドライバ115に流れる。前記のようにプリドライバに貫通電流などの不要な電流が流れると、ノイズの発生および消費電流の増加などの不具合が生じる。したがって前記不具合の発生を防ぐために、内蔵ドライバ112と外部ドライバ113とを切換えて駆動させる機能が必要になる。従来の技術では、IC111に切換え設定専用の端子を設けることによって内蔵ドライバ112と外部ドライバ113とを切換えて駆動させたり、IC111と外部のマイコンとを通信可能に接続し、マイコンから送信されるコマンドに基づいて内蔵ドライバ112と外部ドライバ113とを切換えて駆動させたりしている。このような切換えに関する技術が、特許文献1および特許文献2に記載されている。特許文献1に記載の従来の技術は、電界効果トランジスタ(略称:FET)などの半導体スイッチング素子を用いることによって、周辺デバイスと計算機とを切換えるように構成される。特許文献2に記載の従来の技術は、差動増幅器の出力から伝送信号を取出すために、切換スイッチを予め定める第1ポジションまたは第2ポジションに切換えるように構成される。   When the built-in driver 112 and the external driver 113 are driven without switching, when the built-in pre-driver 115 is driven, that is, when the built-in driver 112 is driven, a through current indicated by an arrow E in FIG. The unnecessary current flows through the external pre-driver 116. When the external pre-driver 116 is driven, that is, when the external driver 113 is driven, an unnecessary current such as a through current indicated by an arrow F in FIG. As described above, when an unnecessary current such as a through current flows through the pre-driver, problems such as generation of noise and increase in current consumption occur. Therefore, in order to prevent the occurrence of the problem, a function for switching and driving the built-in driver 112 and the external driver 113 is required. In the conventional technology, the IC 111 is provided with a dedicated switching setting terminal so that the built-in driver 112 and the external driver 113 are switched and driven, or the IC 111 and an external microcomputer are communicably connected, and a command transmitted from the microcomputer is transmitted. The internal driver 112 and the external driver 113 are switched and driven based on the above. Techniques relating to such switching are described in Patent Document 1 and Patent Document 2. The conventional technique described in Patent Document 1 is configured to switch between a peripheral device and a computer by using a semiconductor switching element such as a field effect transistor (abbreviation: FET). The conventional technique described in Patent Document 2 is configured to switch the changeover switch to a predetermined first position or second position in order to extract a transmission signal from the output of the differential amplifier.

特開平7−175561号公報Japanese Patent Laid-Open No. 7-175561 特開平8−70234号公報JP-A-8-70234

前述のように従来の技術の昇圧型スイッチング電源回路では、IC111に切換設定専用の端子を設けることによって内蔵ドライバ112と外部ドライバ113とを切換えて駆動させたり、マイコンと通信可能に接続し、マイコンから送信されるコマンドに基づいて内蔵ドライバ112と外部ドライバ113とを切換えて駆動させたりしているけれども、可能な限り多くの機能を有するドライバをIC111に内蔵させることを考えた場合、切換設定のためだけに用いる専用端子をIC111に設けると、部品点数が増えるうえ、所望する多くの機能を付加したドライバをIC111に内蔵できなくなるなどの不具合が生じる。また外部のマイコンから送信されるコマンドに基づいて内蔵ドライバ112と外部ドライバ113とを切換えて駆動させる場合、マイコンとの通信が開始されるまでの間はドライバの切換えが行われず、不所望に内蔵ドライバ112および外部ドライバ113が駆動してしまい、プリドライバに貫通電流が流れてノイズが発生するおそれがある。さらに通信の場合、通信エラーによって所望しないドライバへ切換わってしまう不具合が生じる場合がある。   As described above, in the step-up switching power supply circuit according to the prior art, the internal driver 112 and the external driver 113 are switched and driven by providing a dedicated terminal for switching setting in the IC 111, or the microcomputer 111 is communicably connected to the microcomputer. The built-in driver 112 and the external driver 113 are switched and driven based on a command transmitted from the IC 111. However, when considering that a driver having as many functions as possible is built in the IC 111, the switching setting If the IC 111 is provided with a dedicated terminal used only for this purpose, the number of components increases, and problems such as a driver with many desired functions added cannot be built in the IC 111. Further, when the built-in driver 112 and the external driver 113 are switched and driven based on a command transmitted from an external microcomputer, the driver is not switched until communication with the microcomputer is started, and the built-in driver is undesirably built. The driver 112 and the external driver 113 may be driven, and a through current may flow through the pre-driver and noise may be generated. Further, in the case of communication, there may be a problem that switching to an undesired driver due to a communication error occurs.

本発明の目的は、部品点数を増やすことなく、内蔵ドライバおよび外部ドライバのいずれか一方を他方に切換えることができ、不要な電流およびノイズの発生を抑制することができるドライバ切換方法およびドライバ切換装置を提供することである。   SUMMARY OF THE INVENTION An object of the present invention is to provide a driver switching method and a driver switching device capable of switching either one of a built-in driver and an external driver to the other without increasing the number of parts and suppressing generation of unnecessary current and noise. Is to provide.

本発明は、集積回路に内蔵される内蔵ドライバと、該集積回路の外部の外部ドライバとを切換えて駆動させるドライバ切換方法であって、
前記内蔵ドライバのグランド端子とグランドとの接続状態を監視し、該接続状態に応じて内蔵ドライバおよび外部ドライバのいずれか一方を他方に切換えて駆動させることを特徴とするドライバ切換方法である。
The present invention is a driver switching method for switching and driving a built-in driver built in an integrated circuit and an external driver outside the integrated circuit,
The driver switching method is characterized in that the connection state between the ground terminal and the ground of the built-in driver is monitored, and either the built-in driver or the external driver is switched to the other and driven according to the connection state.

また本発明は、前記グランド端子、電源間に抵抗を設けることを特徴とする。
また本発明は、前記グランド端子、電源間に電流源を設けることを特徴とする。
The present invention is characterized in that a resistor is provided between the ground terminal and the power source.
According to the present invention, a current source is provided between the ground terminal and the power source.

また本発明は、前記グランド端子の電圧に応じて、内蔵ドライバ駆動状態、外部ドライバ駆動状態、ならびに内蔵ドライバおよび外部ドライバの駆動停止状態のうちのいずれか1つの状態に設定することを特徴とする。   The present invention is characterized in that the state is set to any one of a built-in driver drive state, an external driver drive state, and a drive stop state of the built-in driver and the external driver according to the voltage of the ground terminal. .

また本発明は、前記グランド端子に流れる電流に応じて、内蔵ドライバおよび外部ドライバのいずれか一方を他方に切換えて駆動させることを特徴とする。   The present invention is characterized in that either one of the built-in driver and the external driver is switched to the other in accordance with the current flowing through the ground terminal.

また本発明は、前記グランド端子に流れる電流に応じて、内蔵ドライバ駆動状態、外部ドライバ駆動状態、ならびに内蔵ドライバ駆動状態および外部ドライバ駆動状態のうちのいずれか1つの状態に設定することを特徴とする。   The present invention is characterized in that the internal driver driving state, the external driver driving state, and the internal driver driving state and the external driver driving state are set according to the current flowing through the ground terminal. To do.

また本発明は、前記内蔵ドライバおよび外部ドライバは、nチャネルMOSトランジスタによって構成されることを特徴とする。   Further, the present invention is characterized in that the built-in driver and the external driver are constituted by n-channel MOS transistors.

また本発明は、集積回路に内蔵される内蔵ドライバと、該集積回路の外部の外部ドライバとを切換えて駆動させるドライバ切換方法であって、
前記内蔵ドライバの電源端子と電源との接続状態を監視し、該接続状態に応じて内蔵ドライバおよび外部ドライバのいずれか一方を他方に切換えて駆動させることを特徴とするドライバ切換方法である。
The present invention is also a driver switching method for switching and driving a built-in driver built in an integrated circuit and an external driver external to the integrated circuit,
A driver switching method characterized by monitoring a connection state between a power supply terminal and a power supply of the built-in driver and switching one of the built-in driver and the external driver to the other according to the connection state.

また本発明は、前記電源端子、グランド間に抵抗を設けることを特徴とする。
また本発明は、前記電源端子、グランド間に電流源を設けることを特徴とする。
According to the present invention, a resistor is provided between the power supply terminal and the ground.
According to the present invention, a current source is provided between the power supply terminal and the ground.

また本発明は、前記電源端子の電圧に応じて、内蔵ドライバ駆動状態、外部ドライバ駆動状態、ならびに内蔵ドライバおよび外部ドライバの駆動停止状態のうちのいずれか1つの状態に設定することを特徴とする。   The present invention is characterized in that, according to the voltage of the power supply terminal, one of a built-in driver drive state, an external driver drive state, and a drive stop state of the built-in driver and the external driver is set. .

また本発明は、前記電源端子に流れる電流に応じて、内蔵ドライバおよび外部ドライバのいずれか一方を他方に切換えて駆動させることを特徴とする。   The present invention is characterized in that either one of the built-in driver and the external driver is switched to the other and driven in accordance with the current flowing through the power supply terminal.

また本発明は、前記電源端子に流れる電流に応じて、内蔵ドライバ駆動状態、外部ドライバ駆動状態、ならびに内蔵ドライバおよび外部ドライバの駆動停止状態のうちのいずれか1つの状態に設定することを特徴とする。   Further, the present invention is characterized in that it is set to any one of a built-in driver drive state, an external driver drive state, and a drive stop state of the built-in driver and the external driver according to the current flowing through the power supply terminal. To do.

また本発明は、前記内蔵ドライバおよび外部ドライバは、pチャネルMOSトランジスタによって構成されることを特徴とする。   According to the present invention, the built-in driver and the external driver are constituted by p-channel MOS transistors.

また本発明は、集積回路に内蔵される内蔵ドライバと、該集積回路の外部の外部ドライバとを切換えて駆動させるドライバ切換装置であって、
前記内蔵ドライバのグランド端子とグランドとの接続状態を監視し、該接続状態に応じて内蔵ドライバおよび外部ドライバのいずれか一方を他方に切換えて駆動させるように構成されることを特徴とするドライバ切換装置である。
Further, the present invention is a driver switching device for switching and driving a built-in driver built in an integrated circuit and an external driver outside the integrated circuit,
The driver switching is configured to monitor the connection state between the ground terminal of the built-in driver and the ground, and switch either the built-in driver or the external driver to the other in accordance with the connection state. Device.

また本発明は、集積回路に内蔵される内蔵ドライバと、該集積回路の外部の外部ドライバとを切換えて駆動させるドライバ切換装置であって、
前記内蔵ドライバの電源端子と電源との接続状態を監視し、該接続状態に応じて内蔵ドライバおよび外部ドライバのいずれか一方を他方に切換えて駆動させるように構成されることを特徴とするドライバ切換装置である。
Further, the present invention is a driver switching device for switching and driving a built-in driver built in an integrated circuit and an external driver outside the integrated circuit,
The driver switching is configured to monitor a connection state between a power supply terminal of the built-in driver and a power supply, and switch one of the built-in driver and the external driver to the other according to the connection state. Device.

本発明によれば、集積回路(略称:IC)に内蔵される内蔵ドライバのグランド端子とグランドとの接続状態を監視し、この接続状態に応じて内蔵ドライバおよび外部ドライバのいずれか一方を他方に切換えて駆動させる。たとえば内蔵ドライバのグランド端子(以下、単に「グランド端子」という場合がある)の電圧を監視し、グランド端子とグランドとが接続され、グランド端子の電圧が閾値未満であるとき、内蔵ドライバが駆動されていればそのまま内蔵ドライバを駆動させ、外部ドライバが駆動されていれば外部ドライバから内蔵ドライバへ切換えて内蔵ドライバを駆動させる。グランド端子が電源側に接続され、グランド端子の電圧が閾値以上であるとき、外部ドライバが駆動されていればそのまま外部ドライバを駆動させ、内蔵ドライバが駆動されていれば内蔵ドライバから外部ドライバへ切換えて外部ドライバを駆動させる。前述のように本発明では、ICに設けられているグランド端子の電圧に応じて、内蔵ドライバおよび外部ドライバのいずれか一方を他方に切換えて駆動させることができる。したがって前記従来の技術のようにドライバ切換専用の端子をICに新たに設けて、内蔵ドライバと外部ドライバとを切換える方法とは異なり、ドライバ切換専用の端子をICに新たに設ける必要がないので、ICに設けられる部品点数を増やすことなく、内蔵ドライバおよび外部ドライバのいずれか一方を他方に切換えて駆動させることができる。   According to the present invention, the connection state between the ground terminal of the built-in driver built in the integrated circuit (abbreviation: IC) and the ground is monitored, and either the built-in driver or the external driver is switched to the other according to the connection state. Switch to drive. For example, the voltage of the built-in driver's ground terminal (hereinafter sometimes simply referred to as “ground terminal”) is monitored, and when the ground terminal and the ground are connected and the voltage of the ground terminal is less than the threshold, the built-in driver is driven. If so, the internal driver is driven as it is, and if the external driver is driven, the external driver is switched to the internal driver to drive the internal driver. When the ground terminal is connected to the power supply side and the voltage of the ground terminal is equal to or higher than the threshold, the external driver is driven as it is if the external driver is driven, and the built-in driver is switched to the external driver if the internal driver is driven Drive the external driver. As described above, in the present invention, either the built-in driver or the external driver can be switched to the other and driven in accordance with the voltage of the ground terminal provided in the IC. Therefore, unlike a method of switching a built-in driver and an external driver by newly providing a dedicated driver switching terminal in the IC as in the prior art, it is not necessary to provide a dedicated driver switching terminal in the IC. Without increasing the number of components provided in the IC, either the built-in driver or the external driver can be switched to the other and driven.

また内蔵ドライバおよび外部ドライバのいずれか一方を他方に切換えて駆動させることができるので、内蔵ドライバおよび外部ドライバのいずれか一方を駆動させているとき他方を駆動させないようにできる。したがって内蔵ドライバを駆動させているとき、外部ドライバを駆動させるための外部用プリドライバに貫通電流などの不要な電流が流れることを防ぐことができる。また外部ドライバを駆動させているとき、内蔵ドライバを駆動させるための内蔵用プリドライバに貫通電流などの不要な電流が流れることを防ぐことができる。これによって不要な電流に起因するノイズの発生および消費電流の増加などの不具合の発生を抑制することができる。   In addition, since either one of the built-in driver and the external driver can be switched and driven, the other driver can be prevented from being driven when either the built-in driver or the external driver is driven. Therefore, when driving the built-in driver, it is possible to prevent an unnecessary current such as a through current from flowing through the external pre-driver for driving the external driver. Further, when the external driver is driven, it is possible to prevent an unnecessary current such as a through current from flowing through the built-in pre-driver for driving the built-in driver. As a result, it is possible to suppress the occurrence of problems such as the occurrence of noise due to unnecessary current and an increase in current consumption.

また本発明によれば、内蔵ドライバのグランド端子、電源間に抵抗を設けることによって、グランド端子が、はんだの接触不良および断線などによって開放される不具合が生じた場合でも、グランド端子の電圧を安定化させることができる。換言すると、グランド端子の電圧が不安定になり、内蔵ドライバおよび外部ドライバのいずれか一方から他方への切換わりが異常になること、つまり不所望に内蔵ドライバおよび外部ドライバのいずれか一方から他方へ切換わることを防ぐことができる。またグランド端子、電源間に抵抗を設けることによって、外部ドライバを駆動させるときにグランド端子を電源側に接続する必要がなく、グランド端子が開放されている状態でも、内蔵ドライバから外部ドライバへ切換えて外部ドライバを駆動させることができる。   In addition, according to the present invention, by providing a resistor between the ground terminal of the built-in driver and the power supply, the ground terminal voltage can be stabilized even when the ground terminal is opened due to poor solder contact or disconnection. It can be made. In other words, the voltage at the ground terminal becomes unstable, and the switching from one of the built-in driver and the external driver to the other becomes abnormal, that is, undesirably from either the built-in driver or the external driver to the other. It is possible to prevent switching. In addition, by providing a resistor between the ground terminal and the power supply, it is not necessary to connect the ground terminal to the power supply when driving the external driver. Even when the ground terminal is open, the built-in driver can be switched to the external driver. An external driver can be driven.

また本発明によれば、内蔵ドライバのグランド端子、電源間に電流源を設けることによって、グランド端子が、はんだの接触不良および断線などによって開放された場合でも、グランド端子の電圧を安定化させることができる。換言すると、グランド端子の電圧が不安定になり、内蔵ドライバおよび外部ドライバのいずれか一方から他方への切換わりが異常になること、つまり不所望に内蔵ドライバおよび外部ドライバのいずれか一方から他方へ切換わることを防ぐことができる。またグランド端子、電源間に電流源を設けることによって、外部ドライバを駆動させるときにグランド端子を電源側に接続する必要がなく、グランド端子が開放されている状態でも、内蔵ドライバから外部ドライバへ切換えて外部ドライバを駆動させることができる。   In addition, according to the present invention, by providing a current source between the ground terminal of the built-in driver and the power supply, the ground terminal voltage can be stabilized even when the ground terminal is opened due to poor contact or disconnection of the solder. Can do. In other words, the voltage at the ground terminal becomes unstable, and the switching from one of the built-in driver and the external driver to the other becomes abnormal, that is, undesirably from either the built-in driver or the external driver to the other. It is possible to prevent switching. In addition, by providing a current source between the ground terminal and the power supply, there is no need to connect the ground terminal to the power supply when driving an external driver, and switching from the built-in driver to the external driver is possible even when the ground terminal is open. The external driver can be driven.

また本発明によれば、内蔵ドライバのグランド端子の電圧に応じて、内蔵ドライバを駆動させる内蔵ドライバ駆動状態、外部ドライバを駆動させる外部ドライバ駆動状態、ならびに内蔵ドライバおよび外部ドライバの駆動を停止させる駆動停止状態のうちのいずれか1つの状態に設定する。たとえばグランド端子とグランドとが接続され、グランド端子の電圧が第1閾値未満であるとき、内蔵ドライバが駆動されていればそのまま内蔵ドライバを駆動させ、外部ドライバが駆動されていれば内蔵ドライバ駆動状態へ切換える設定をして内蔵ドライバを駆動させ、駆動停止状態であれば内蔵ドライバ駆動状態へ切換える設定をして内蔵ドライバを駆動させる。   According to the present invention, the internal driver driving state for driving the internal driver, the external driver driving state for driving the external driver, and the driving for stopping the driving of the internal driver and the external driver according to the voltage of the ground terminal of the internal driver. One of the stopped states is set. For example, when the ground terminal is connected to the ground and the voltage of the ground terminal is less than the first threshold, if the internal driver is driven, the internal driver is driven as it is, and if the external driver is driven, the internal driver drive state The built-in driver is driven by setting to switch to the built-in driver. If the drive is stopped, the built-in driver is driven by setting to switch to the built-in driver drive state.

グランド端子が電源側に接続され、グランド端子の電圧が第2閾値以上であるとき、外部ドライバが駆動されていればそのまま外部ドライバを駆動させ、内蔵ドライバが駆動されていれば外部ドライバ駆動状態へ切換える設定をして外部ドライバを駆動させ、駆動停止状態であれば外部ドライバ駆動状態へ切換える設定をして外部ドライバを駆動させる。またグランド端子が電源側に接続され、グランド端子の電圧が第1閾値以上第2閾値未満であるとき、内蔵ドライバおよび外部ドライバの駆動が停止していればそのまま駆動を停止させ、内蔵ドライバおよび外部ドライバのいずれか一方が駆動されていれば、駆動停止状態へ切換える設定をしてドライバの駆動を停止させる。   When the ground terminal is connected to the power supply side and the voltage of the ground terminal is equal to or higher than the second threshold, if the external driver is driven, the external driver is driven as it is, and if the built-in driver is driven, the external driver is driven. The external driver is driven by setting to switch, and the external driver is driven by setting to switch to the external driver driving state if the driving is stopped. Further, when the ground terminal is connected to the power supply side and the voltage of the ground terminal is not less than the first threshold value and less than the second threshold value, if the driving of the built-in driver and the external driver is stopped, the driving is stopped as it is, and the built-in driver and the external driver are stopped. If either one of the drivers is driven, the drive is stopped by setting to switch to the drive stop state.

前述のように内蔵ドライバのグランド端子の電圧に応じて、内蔵ドライバ駆動状態または外部ドライバ駆動状態に設定することができるうえ、内蔵ドライバおよび外部ドライバの駆動停止状態に設定することもできるので、内蔵ドライバおよび外部ドライバのいずれも駆動させないようにする要求がある場合に即座に駆動停止状態に設定することができる。このようにグランド端子の電圧に応じて、所望のドライバを駆動または駆動停止状態に即座に設定できるので、ノイズの発生原因および消費電流の増加を未然に防止することができる。   As described above, the built-in driver drive state or external driver drive state can be set according to the voltage of the ground terminal of the built-in driver, and the built-in driver and external driver drive stop state can also be set. When there is a request to drive neither the driver nor the external driver, the driving stop state can be immediately set. As described above, since a desired driver can be immediately set to the drive or drive stop state in accordance with the voltage of the ground terminal, it is possible to prevent the occurrence of noise and the increase in current consumption.

また本発明によれば、内蔵ドライバのグランド端子に流れる電流に応じて、内蔵ドライバおよび外部ドライバのいずれか一方を他方に切換えて駆動させる。たとえばグランド端子に流れる電流が閾値未満であるとき、外部ドライバが駆動されていればそのまま外部ドライバを駆動させ、内蔵ドライバが駆動されていれば内蔵ドライバから外部ドライバへ切換えて外部ドライバを駆動させる。グランド端子に流れる電流が閾値以上であるとき、内蔵ドライバが駆動されていればそのまま内蔵ドライバを駆動させ、外部ドライバが駆動されていれば外部ドライバから内蔵ドライバへ切換えて内蔵ドライバを駆動させる。   According to the present invention, either one of the built-in driver and the external driver is switched to the other and driven according to the current flowing through the ground terminal of the built-in driver. For example, when the current flowing through the ground terminal is less than the threshold, if the external driver is driven, the external driver is driven as it is, and if the internal driver is driven, the internal driver is switched to the external driver to drive the external driver. When the current flowing through the ground terminal is equal to or greater than the threshold value, if the internal driver is driven, the internal driver is driven as it is, and if the external driver is driven, the external driver is switched to the internal driver to drive the internal driver.

前述のように本発明では、ICに設けられているグランド端子に流れる電流に応じて、内蔵ドライバおよび外部ドライバのいずれか一方を他方に切換えて駆動させることができる。したがって前記従来の技術のようにドライバ切換専用の端子をICに新たに設けて、内蔵ドライバと外部ドライバとを切換える方法とは異なり、ドライバ切換専用の端子をICに新たに設ける必要がないので、ICに設けられる部品点数を増やすことなく、内蔵ドライバおよび外部ドライバのいずれか一方を他方に切換えて駆動させることができる。   As described above, in the present invention, either the built-in driver or the external driver can be switched to the other and driven in accordance with the current flowing through the ground terminal provided in the IC. Therefore, unlike a method of switching a built-in driver and an external driver by newly providing a dedicated driver switching terminal in the IC as in the prior art, it is not necessary to provide a dedicated driver switching terminal in the IC. Without increasing the number of components provided in the IC, either the built-in driver or the external driver can be switched to the other and driven.

また内蔵ドライバおよび外部ドライバのいずれか一方を他方に切換えて駆動させることができるので、内蔵ドライバおよび外部ドライバのいずれか一方を駆動させているとき他方を駆動させないようにできる。したがって内蔵ドライバを駆動させているとき、外部ドライバを駆動させるための外部用プリドライバに貫通電流などの不要な電流が流れることを防ぐことができる。また外部ドライバを駆動させているとき、内蔵ドライバを駆動させるための内蔵用プリドライバに貫通電流などの不要な電流が流れることを防ぐことができる。これによって不要な電流に起因するノイズの発生および消費電流の増加などの不具合の発生を抑制することができる。   In addition, since either one of the built-in driver and the external driver can be switched and driven, the other driver can be prevented from being driven when either the built-in driver or the external driver is driven. Therefore, when driving the built-in driver, it is possible to prevent an unnecessary current such as a through current from flowing through the external pre-driver for driving the external driver. Further, when the external driver is driven, it is possible to prevent an unnecessary current such as a through current from flowing through the built-in pre-driver for driving the built-in driver. As a result, it is possible to suppress the occurrence of problems such as the occurrence of noise due to unnecessary current and an increase in current consumption.

また本発明によれば、内蔵ドライバのグランド端子に流れる電流に応じて、内蔵ドライバを駆動させる内蔵ドライバ駆動状態、外部ドライバを駆動させる外部ドライバ駆動状態、ならびに内蔵ドライバおよび外部ドライバの駆動を停止させる駆動停止状態のうちのいずれか1つの状態に設定する。たとえばグランド端子に流れる電流が第1閾値未満であるとき、外部ドライバが駆動されていればそのまま外部ドライバを駆動させ、内蔵ドライバが駆動されていれば外部ドライバ駆動状態へ切換える設定をして外部ドライバを駆動させ、駆動停止状態であれば外部ドライバ駆動状態へ切換える設定をして外部ドライバを駆動させる。   According to the present invention, the internal driver driving state for driving the internal driver, the external driver driving state for driving the external driver, and the driving of the internal driver and the external driver are stopped according to the current flowing through the ground terminal of the internal driver. One of the drive stop states is set. For example, when the current flowing through the ground terminal is less than the first threshold, if the external driver is driven, the external driver is driven as it is, and if the built-in driver is driven, the external driver is set to be switched to the external driver driving state. If the drive is stopped, the external driver is driven by setting to switch to the external driver drive state.

グランド端子に流れる電流が第2閾値以上であるとき、内蔵ドライバが駆動されていればそのまま内蔵ドライバを駆動させ、外部ドライバが駆動されていれば内蔵ドライバ駆動状態へ切換える設定をして内蔵ドライバを駆動させ、駆動停止状態であれば内蔵ドライバ駆動状態へ切換える設定をして、内蔵ドライバを駆動させる。またグランド端子に流れる電流が第1閾値以上第2閾値未満であるとき、内蔵ドライバおよび外部ドライバの駆動が停止していればそのまま駆動を停止させ、内蔵ドライバおよび外部ドライバのいずれか一方が駆動されていれば、駆動停止状態へ切換える設定をしてドライバの駆動を停止させる。   When the current flowing through the ground terminal is equal to or greater than the second threshold, the built-in driver is driven as it is if the built-in driver is driven, and the built-in driver is set to switch to the built-in driver drive state if the external driver is driven. If the drive is stopped, the setting is made to switch to the built-in driver drive state, and the built-in driver is driven. When the current flowing through the ground terminal is not less than the first threshold value and less than the second threshold value, if the driving of the internal driver and the external driver is stopped, the driving is stopped as it is, and either the internal driver or the external driver is driven. If so, the driver is stopped by setting to switch to the drive stop state.

前述のように内蔵ドライバのグランド端子に流れる電流に応じて、内蔵ドライバ駆動状態または外部ドライバ駆動状態に設定することができるうえ、内蔵ドライバおよび外部ドライバの駆動停止状態に設定することもできるので、内蔵ドライバおよび外部ドライバのいずれも駆動させないようにする要求がある場合に即座に駆動停止状態に設定することができる。このようにグランド端子に流れる電流に応じて、所望のドライバを駆動または駆動停止状態に即座に設定できるので、ノイズの発生原因および消費電流の増加を未然に防止することができる。   As described above, according to the current flowing through the ground terminal of the internal driver, it can be set to the internal driver drive state or the external driver drive state, and also can be set to the drive stop state of the internal driver and the external driver. When there is a request to drive neither the built-in driver nor the external driver, the drive stop state can be immediately set. As described above, since a desired driver can be immediately set to the drive or drive stop state in accordance with the current flowing through the ground terminal, it is possible to prevent the occurrence of noise and the increase in current consumption.

また本発明によれば、内蔵ドライバおよび外部ドライバが、nチャネルMOSトランジスタによって構成される場合でも、ドライバ切換専用の端子をICに新たに設ける必要がないので、ICに設けられる部品点数を増やすことなく、内蔵ドライバおよび外部ドライバのいずれか一方を他方に切換えて駆動させることができる。これによってプリドライバに貫通電流などの不要な電流が流れることを防ぐことができ、不要な電流に起因するノイズの発生および消費電流の増加などの不具合の発生を抑制することができる。   Further, according to the present invention, even when the built-in driver and the external driver are composed of n-channel MOS transistors, it is not necessary to newly provide a dedicated terminal for driver switching in the IC, so that the number of components provided in the IC is increased. Instead, either the built-in driver or the external driver can be switched to the other and driven. Accordingly, it is possible to prevent an unnecessary current such as a through current from flowing through the pre-driver, and it is possible to suppress the occurrence of problems such as the occurrence of noise and an increase in current consumption due to the unnecessary current.

また本発明によれば、集積回路(略称:IC)に内蔵される内蔵ドライバの電源端子と電源との接続状態を監視し、この接続状態に応じて内蔵ドライバおよび外部ドライバのいずれか一方を他方に切換えて駆動させる。たとえば内蔵ドライバの電源端子(以下、単に「電源端子」という場合がある)の電圧を監視し、電源端子と電源とが接続され、電源端子の電圧が閾値以上であるとき、内蔵ドライバが駆動されていればそのまま内蔵ドライバを駆動させ、外部ドライバが駆動されていれば外部ドライバから内蔵ドライバへ切換えて内蔵ドライバを駆動させる。電源端子がグランドに接続され、電源端子の電圧が閾値未満であるとき、外部ドライバが駆動されていればそのまま外部ドライバを駆動させ、内蔵ドライバが駆動されていれば内蔵ドライバから外部ドライバへ切換えて外部ドライバを駆動させる。前述のように本発明では、ICに設けられている電源端子の電圧に応じて、内蔵ドライバおよび外部ドライバのいずれか一方を他方に切換えて駆動させることができる。したがって前記従来の技術のようにドライバ切換専用の端子をICに新たに設けて、内蔵ドライバと外部ドライバとを切換える方法とは異なり、ドライバ切換専用の端子をICに新たに設ける必要がないので、ICに設けられる部品点数を増やすことなく、内蔵ドライバおよび外部ドライバのいずれか一方を他方に切換えて駆動させることができる。   Further, according to the present invention, the connection state between the power supply terminal of the built-in driver built in the integrated circuit (abbreviation: IC) and the power supply is monitored, and either the built-in driver or the external driver is connected to the other according to this connection state. Switch to drive. For example, the voltage of the power supply terminal of the built-in driver (hereinafter sometimes simply referred to as “power supply terminal”) is monitored. When the power supply terminal and the power supply are connected and the voltage of the power supply terminal is equal to or higher than the threshold value, the built-in driver is driven. If so, the internal driver is driven as it is, and if the external driver is driven, the external driver is switched to the internal driver to drive the internal driver. When the power supply terminal is connected to the ground and the voltage of the power supply terminal is less than the threshold, if the external driver is driven, the external driver is driven as it is, and if the internal driver is driven, switch from the internal driver to the external driver. Drive an external driver. As described above, according to the present invention, either the built-in driver or the external driver can be switched to the other and driven in accordance with the voltage of the power supply terminal provided in the IC. Therefore, unlike a method of switching a built-in driver and an external driver by newly providing a dedicated driver switching terminal in the IC as in the prior art, it is not necessary to provide a dedicated driver switching terminal in the IC. Without increasing the number of components provided in the IC, either the built-in driver or the external driver can be switched to the other and driven.

また内蔵ドライバおよび外部ドライバのいずれか一方を他方に切換えて駆動させることができるので、内蔵ドライバおよび外部ドライバのいずれか一方を駆動させているとき他方を駆動させないようにできる。したがって内蔵ドライバを駆動させているとき、外部ドライバを駆動させるための外部用プリドライバに貫通電流などの不要な電流が流れることを防ぐことができる。また外部ドライバを駆動させているとき、内蔵ドライバを駆動させるための内蔵用プリドライバに貫通電流などの不要な電流が流れることを防ぐことができる。これによって不要な電流に起因するノイズの発生および消費電流の増加などの不具合の発生を抑制することができる。   In addition, since either one of the built-in driver and the external driver can be switched and driven, the other driver can be prevented from being driven when either the built-in driver or the external driver is driven. Therefore, when driving the built-in driver, it is possible to prevent an unnecessary current such as a through current from flowing through the external pre-driver for driving the external driver. Further, when the external driver is driven, it is possible to prevent an unnecessary current such as a through current from flowing through the built-in pre-driver for driving the built-in driver. As a result, it is possible to suppress the occurrence of problems such as the occurrence of noise due to unnecessary current and an increase in current consumption.

また本発明によれば、内蔵ドライバの電源端子、グランド間に抵抗を設けることによって、電源端子が、はんだの接触不良および断線などによって開放される不具合が生じた場合でも、電源端子の電圧を安定化させることができる。換言すると、電源端子の電圧が不安定になり、内蔵ドライバおよび外部ドライバのいずれか一方から他方への切換わりが異常になること、つまり不所望に内蔵ドライバおよび外部ドライバのいずれか一方から他方へ切換わることを防ぐことができる。また電源端子、電源間に抵抗を設けることによって、外部ドライバを駆動させるときに電源端子をグランドに接続する必要がなく、電源端子が開放されている状態でも、内蔵ドライバから外部ドライバへ切換えて外部ドライバを駆動させることができる。   Further, according to the present invention, by providing a resistor between the power supply terminal of the built-in driver and the ground, the power supply terminal voltage can be stabilized even when the power supply terminal is opened due to poor contact of solder or disconnection. It can be made. In other words, the voltage at the power supply terminal becomes unstable and the switching from one of the built-in driver and the external driver to the other becomes abnormal, that is, undesirably from either the built-in driver or the external driver to the other. It is possible to prevent switching. In addition, by providing a resistor between the power supply terminal and the power supply, it is not necessary to connect the power supply terminal to the ground when driving the external driver, and even when the power supply terminal is open, the built-in driver can be switched to the external driver. The driver can be driven.

また本発明によれば、内蔵ドライバの電源端子、グランド間に電流源を設けることによって、電源端子が、はんだの接触不良および断線などによって開放される不具合が生じた場合でも、電源端子の電圧を安定化させることができる。換言すると、電源端子の電圧が不安定になり、内蔵ドライバおよび外部ドライバのいずれか一方から他方への切換わりが異常になること、つまり不所望に内蔵ドライバおよび外部ドライバのいずれか一方から他方へ切換わることを防ぐことができる。また電源端子、電源間に電流源を設けることによって、外部ドライバを駆動させるときに電源端子をグランドに接続する必要がなく、電源端子が開放されている状態でも、内蔵ドライバから外部ドライバへ切換えて外部ドライバを駆動させることができる。   Further, according to the present invention, by providing a current source between the power supply terminal of the built-in driver and the ground, the voltage of the power supply terminal can be reduced even if the power supply terminal is opened due to poor contact or disconnection of the solder. Can be stabilized. In other words, the voltage at the power supply terminal becomes unstable and the switching from one of the built-in driver and the external driver to the other becomes abnormal, that is, undesirably from either the built-in driver or the external driver to the other. It is possible to prevent switching. In addition, by providing a current source between the power supply terminal and the power supply, it is not necessary to connect the power supply terminal to the ground when driving the external driver, and even when the power supply terminal is open, the built-in driver can be switched to the external driver. An external driver can be driven.

また本発明によれば、内蔵ドライバの電源端子の電圧に応じて、内蔵ドライバを駆動させる内蔵ドライバ駆動状態、外部ドライバを駆動させる外部ドライバ駆動状態、ならびに内蔵ドライバおよび外部ドライバの駆動を停止させる駆動停止状態のうちのいずれか1つの状態に設定する。たとえば電源端子がグランドに接続され、電源端子の電圧が第1閾値未満であるとき、外部ドライバが駆動されていればそのまま外部ドライバを駆動させ、内蔵ドライバが駆動されていれば外部ドライバ駆動状態へ切換える設定をして外部ドライバを駆動させ、駆動停止状態であれば外部ドライバ駆動状態へ切換える設定をして外部ドライバを駆動させる。電源端子と電源とが接続され、電源端子の電圧が第2閾値以上であるとき、内蔵ドライバが駆動されていればそのまま内蔵ドライバを駆動させ、外部ドライバが駆動されていれば内蔵ドライバ駆動状態へ切換える設定をして内蔵ドライバを駆動させ、駆動停止状態であれば内蔵ドライバ駆動状態へ切換える設定をして内蔵ドライバを駆動させる。また電源端子の電圧が第1閾値以上第2閾値未満であるとき、内蔵ドライバおよび外部ドライバの駆動が停止していればそのまま駆動を停止させ、内蔵ドライバおよび外部ドライバのいずれか一方が駆動されていれば、駆動停止状態へ切換える設定をしてドライバの駆動を停止させる。   Further, according to the present invention, the internal driver driving state for driving the internal driver, the external driver driving state for driving the external driver, and the driving for stopping the driving of the internal driver and the external driver according to the voltage of the power supply terminal of the internal driver. One of the stopped states is set. For example, when the power supply terminal is connected to the ground and the voltage of the power supply terminal is less than the first threshold, if the external driver is driven, the external driver is driven as it is, and if the built-in driver is driven, the external driver is driven. The external driver is driven by setting to switch, and the external driver is driven by setting to switch to the external driver driving state if the driving is stopped. When the power supply terminal and the power supply are connected and the voltage of the power supply terminal is equal to or higher than the second threshold, if the internal driver is driven, the internal driver is driven as it is, and if the external driver is driven, the internal driver is driven. The setting for switching is made to drive the built-in driver, and if the drive is stopped, the setting to switch to the built-in driver driving state is made to drive the built-in driver. When the voltage of the power supply terminal is not less than the first threshold value and less than the second threshold value, if the driving of the built-in driver and the external driver is stopped, the driving is stopped as it is, and either the built-in driver or the external driver is driven. If so, the driver is stopped by setting to switch to the drive stop state.

前述のように内蔵ドライバの電源端子の電圧に応じて、内蔵ドライバ駆動状態または外部ドライバ駆動状態に設定することができるうえ、内蔵ドライバおよび外部ドライバの駆動停止状態に設定することもできるので、内蔵ドライバおよび外部ドライバのいずれも駆動させないようにする要求がある場合に即座に駆動停止状態に設定することができる。このように電源端子の電圧に応じて、所望のドライバを駆動または駆動停止状態に即座に設定できるので、ノイズの発生原因および消費電流の増加を未然に防止することができる。   As described above, the built-in driver drive state or external driver drive state can be set according to the voltage of the power supply terminal of the built-in driver, and the built-in driver and external driver drive stop state can also be set. When there is a request to drive neither the driver nor the external driver, the driving stop state can be immediately set. As described above, since a desired driver can be immediately set to the drive or drive stop state in accordance with the voltage of the power supply terminal, it is possible to prevent the occurrence of noise and the increase in current consumption.

また本発明によれば、内蔵ドライバの電源端子に流れる電流に応じて、内蔵ドライバおよび外部ドライバのいずれか一方を他方に切換えて駆動させる。たとえば電源端子に流れる電流が閾値未満であるとき、外部ドライバが駆動されていればそのまま外部ドライバを駆動させ、内蔵ドライバが駆動されていれば内蔵ドライバから外部ドライバへ切換えて外部ドライバを駆動させる。電源端子に流れる電流が閾値以上であるとき、内蔵ドライバが駆動されていればそのまま内蔵ドライバを駆動させ、外部ドライバが駆動されていれば外部ドライバから内蔵ドライバへ切換えて内蔵ドライバを駆動させる。   Further, according to the present invention, either the built-in driver or the external driver is switched to the other and driven in accordance with the current flowing through the power supply terminal of the built-in driver. For example, when the current flowing through the power supply terminal is less than the threshold value, if the external driver is driven, the external driver is driven as it is. If the internal driver is driven, the internal driver is switched to the external driver to drive the external driver. When the current flowing through the power supply terminal is equal to or greater than the threshold, if the internal driver is driven, the internal driver is driven as it is. If the external driver is driven, the external driver is switched to the internal driver to drive the internal driver.

前述のように本発明では、ICに設けられている内蔵ドライバの電源端子に流れる電流に応じて、内蔵ドライバおよび外部ドライバのいずれか一方を他方に切換えて駆動させることができる。したがって前記従来の技術のようにドライバ切換専用の端子をICに新たに設けて、内蔵ドライバと外部ドライバとを切換える方法とは異なり、ドライバ切換専用の端子をICに新たに設ける必要がないので、ICに設けられる部品点数を増やすことなく、内蔵ドライバおよび外部ドライバのいずれか一方を他方に切換えて駆動させることができる。   As described above, according to the present invention, either the built-in driver or the external driver can be switched to the other and driven in accordance with the current flowing through the power supply terminal of the built-in driver provided in the IC. Therefore, unlike a method of switching a built-in driver and an external driver by newly providing a dedicated driver switching terminal in the IC as in the prior art, it is not necessary to provide a dedicated driver switching terminal in the IC. Without increasing the number of components provided in the IC, either the built-in driver or the external driver can be switched to the other and driven.

また内蔵ドライバおよび外部ドライバのいずれか一方を他方に切換えて駆動させることができるので、内蔵ドライバおよび外部ドライバのいずれか一方を駆動させているとき他方を駆動させないようにできる。したがって内蔵ドライバを駆動させているとき、外部ドライバを駆動させるための外部用プリドライバに貫通電流などの不要な電流が流れることを防ぐことができる。また外部ドライバを駆動させているとき、内蔵ドライバを駆動させるための内蔵用プリドライバに貫通電流などの不要な電流が流れることを防ぐことができる。これによって不要な電流に起因するノイズの発生および消費電流の増加などの不具合の発生を抑制することができる。   In addition, since either one of the built-in driver and the external driver can be switched and driven, the other driver can be prevented from being driven when either the built-in driver or the external driver is driven. Therefore, when driving the built-in driver, it is possible to prevent an unnecessary current such as a through current from flowing through the external pre-driver for driving the external driver. Further, when the external driver is driven, it is possible to prevent an unnecessary current such as a through current from flowing through the built-in pre-driver for driving the built-in driver. As a result, it is possible to suppress the occurrence of problems such as the occurrence of noise due to unnecessary current and an increase in current consumption.

また本発明によれば、内蔵ドライバの電源端子に流れる電流に応じて、内蔵ドライバを駆動させる内蔵ドライバ駆動状態、外部ドライバを駆動させる外部ドライバ駆動状態、ならびに内蔵ドライバおよび外部ドライバの駆動を停止させる駆動停止状態のうちのいずれか1つの状態に設定する。たとえば電源端子に流れる電流が第1閾値未満であるとき、外部ドライバが駆動されていればそのまま外部ドライバを駆動させ、内蔵ドライバが駆動されていれば外部ドライバ駆動状態へ切換える設定をして外部ドライバを駆動させ、駆動停止状態であれば外部ドライバ駆動状態へ切換える設定をして外部ドライバを駆動させる。   According to the present invention, the internal driver driving state for driving the internal driver, the external driver driving state for driving the external driver, and the driving of the internal driver and the external driver are stopped according to the current flowing through the power supply terminal of the internal driver. One of the drive stop states is set. For example, when the current flowing through the power supply terminal is less than the first threshold, if the external driver is driven, the external driver is driven as it is, and if the built-in driver is driven, the external driver is set to switch to the external driver driving state. If the drive is stopped, the external driver is driven by setting to switch to the external driver drive state.

電源端子に流れる電流が第2閾値以上であるとき、内蔵ドライバが駆動されていればそのまま内蔵ドライバを駆動させ、外部ドライバが駆動されていれば内蔵ドライバ駆動状態へ切換える設定をして内蔵ドライバを駆動させ、駆動停止状態であれば内蔵ドライバ駆動状態へ切換える設定をして、内蔵ドライバを駆動させる。また電源端子に流れる電流が第1閾値以上第2閾値未満であるとき、内蔵ドライバおよび外部ドライバの駆動が停止していればそのまま駆動を停止させ、内蔵ドライバおよび外部ドライバのいずれか一方が駆動されていれば、駆動停止状態へ切換える設定をしてドライバの駆動を停止させる。   When the current flowing through the power supply terminal is equal to or greater than the second threshold, the built-in driver is driven as it is if the built-in driver is driven, and the built-in driver is switched to the built-in driver drive state if the external driver is driven. If the drive is stopped, the internal driver is set to switch to the internal driver drive state, and the internal driver is driven. When the current flowing through the power supply terminal is not less than the first threshold and less than the second threshold, if the driving of the internal driver and the external driver is stopped, the driving is stopped as it is, and either the internal driver or the external driver is driven. If so, the driver is stopped by setting to switch to the drive stop state.

前述のように内蔵ドライバの電源端子に流れる電流に応じて、内蔵ドライバ駆動状態または外部ドライバ駆動状態に設定することができるうえ、内蔵ドライバおよび外部ドライバの駆動停止状態に設定することもできるので、内蔵ドライバおよび外部ドライバのいずれも駆動させないようにする要求がある場合に即座に駆動停止状態に設定することができる。このように電源端子に流れる電流に応じて、所望のドライバを駆動または駆動停止状態に即座に設定できるので、ノイズの発生原因および消費電流の増加を未然に防止することができる。   As described above, according to the current flowing through the power supply terminal of the internal driver, it can be set to the internal driver drive state or the external driver drive state, and also can be set to the drive stop state of the internal driver and the external driver. When there is a request to drive neither the built-in driver nor the external driver, the drive stop state can be immediately set. As described above, since a desired driver can be immediately set to the drive or drive stop state in accordance with the current flowing through the power supply terminal, it is possible to prevent the occurrence of noise and the increase in current consumption.

また本発明によれば、内蔵ドライバおよび外部ドライバが、pチャネルMOSトランジスタによって構成される場合でも、ドライバ切換専用の端子をICに新たに設ける必要がないので、ICに設けられる部品点数を増やすことなく、内蔵ドライバおよび外部ドライバのいずれか一方を他方に切換えて駆動させることができる。これによってプリドライバに貫通電流などの不要な電流が流れることを防ぐことができ、不要な電流に起因するノイズの発生および消費電流の増加などの不具合の発生を抑制することができる。   Further, according to the present invention, even when the built-in driver and the external driver are constituted by p-channel MOS transistors, it is not necessary to newly provide a dedicated terminal for driver switching in the IC, so that the number of components provided in the IC is increased. Instead, either the built-in driver or the external driver can be switched to the other and driven. Accordingly, it is possible to prevent an unnecessary current such as a through current from flowing through the pre-driver, and it is possible to suppress the occurrence of problems such as the occurrence of noise and an increase in current consumption due to the unnecessary current.

また本発明によれば、集積回路(略称:IC)に内蔵される内蔵ドライバのグランド端子とグランドとの接続状態を監視し、この接続状態に応じて内蔵ドライバおよび外部ドライバのいずれか一方を他方に切換えて駆動させる。たとえば内蔵ドライバのグランド端子(以下、単に「グランド端子」という場合がある)の電圧を監視し、グランド端子とグランドとが接続され、グランド端子の電圧が閾値未満であるとき、内蔵ドライバが駆動されていればそのまま内蔵ドライバを駆動させ、外部ドライバが駆動されていれば外部ドライバから内蔵ドライバへ切換えて内蔵ドライバを駆動させる。グランド端子が電源側に接続され、グランド端子の電圧が閾値以上であるとき、外部ドライバが駆動されていればそのまま外部ドライバを駆動させ、内蔵ドライバが駆動されていれば内蔵ドライバから外部ドライバへ切換えて外部ドライバを駆動させる。前述のように本発明では、ICに設けられているグランド端子の電圧に応じて、内蔵ドライバおよび外部ドライバのいずれか一方を他方に切換えて駆動させることができる。したがって前記従来の技術のようにドライバ切換専用の端子をICに新たに設けて、内蔵ドライバと外部ドライバとを切換える装置とは異なり、ドライバ切換専用の端子をICに設ける必要がないので、ICに設けられる部品点数を増やすことなく、内蔵ドライバおよび外部ドライバのいずれか一方を他方に切換えて駆動させることができる。   According to the present invention, the connection state between the ground terminal of the built-in driver built in the integrated circuit (abbreviation: IC) and the ground is monitored, and either the built-in driver or the external driver is connected to the other according to the connection state. Switch to drive. For example, the voltage of the built-in driver's ground terminal (hereinafter sometimes simply referred to as “ground terminal”) is monitored, and when the ground terminal and the ground are connected and the voltage of the ground terminal is less than the threshold, the built-in driver is driven. If so, the internal driver is driven as it is, and if the external driver is driven, the external driver is switched to the internal driver to drive the internal driver. When the ground terminal is connected to the power supply side and the voltage of the ground terminal is equal to or higher than the threshold, the external driver is driven as it is if the external driver is driven, and the built-in driver is switched to the external driver if the internal driver is driven Drive the external driver. As described above, in the present invention, either the built-in driver or the external driver can be switched to the other and driven in accordance with the voltage of the ground terminal provided in the IC. Therefore, unlike a device for switching a built-in driver and an external driver by newly providing a dedicated terminal for driver switching in the IC as in the prior art, it is not necessary to provide a dedicated terminal for switching the driver in the IC. One of the built-in driver and the external driver can be switched to the other and driven without increasing the number of components provided.

また内蔵ドライバおよび外部ドライバのいずれか一方を他方に切換えて駆動させることができるので、内蔵ドライバおよび外部ドライバのいずれか一方を駆動させているとき他方を駆動させないようにできる。したがって内蔵ドライバを駆動させているとき、外部ドライバを駆動させるための外部用プリドライバに貫通電流などの不要な電流が流れることを防ぐことができる。また外部ドライバを駆動させているとき、内蔵ドライバを駆動させるための内蔵用プリドライバに貫通電流などの不要な電流が流れることを防ぐことができる。これによって不要な電流に起因するノイズの発生および消費電流の増加などの不具合の発生を抑制することができる。   In addition, since either one of the built-in driver and the external driver can be switched and driven, the other driver can be prevented from being driven when either the built-in driver or the external driver is driven. Therefore, when driving the built-in driver, it is possible to prevent an unnecessary current such as a through current from flowing through the external pre-driver for driving the external driver. Further, when the external driver is driven, it is possible to prevent an unnecessary current such as a through current from flowing through the built-in pre-driver for driving the built-in driver. As a result, it is possible to suppress the occurrence of problems such as the occurrence of noise due to unnecessary current and an increase in current consumption.

また本発明によれば、集積回路(略称:IC)に内蔵される内蔵ドライバの電源端子と電源との接続状態を監視し、この接続状態に応じて内蔵ドライバおよび外部ドライバのいずれか一方を他方に切換えて駆動させる。たとえば内蔵ドライバの電源端子(以下、単に「電源端子」という場合がある)の電圧を監視し、電源端子と電源とが接続され、電源端子の電圧が閾値以上であるとき、内蔵ドライバが駆動されていればそのまま内蔵ドライバを駆動させ、外部ドライバが駆動されていれば外部ドライバから内蔵ドライバへ切換えて内蔵ドライバを駆動させる。電源端子がグランドに接続され、電源端子の電圧が閾値未満であるとき、外部ドライバが駆動されていればそのまま外部ドライバを駆動させ、内蔵ドライバが駆動されていれば内蔵ドライバから外部ドライバへ切換えて外部ドライバを駆動させる。前述のように本発明では、ICに設けられている電源端子の電圧に応じて、内蔵ドライバおよび外部ドライバのいずれか一方を他方に切換えて駆動させることができる。したがって前記従来の技術のようにドライバ切換専用の端子をICに新たに設けて、内蔵ドライバと外部ドライバとを切換える装置とは異なり、ドライバ切換専用の端子をICに新たに設ける必要がないので、ICに設けられる部品点数を増やすことなく、内蔵ドライバおよび外部ドライバのいずれか一方を他方に切換えて駆動させることができる。   Further, according to the present invention, the connection state between the power supply terminal of the built-in driver built in the integrated circuit (abbreviation: IC) and the power supply is monitored, and either the built-in driver or the external driver is connected to the other according to this connection state. Switch to drive. For example, the voltage of the power supply terminal of the built-in driver (hereinafter sometimes simply referred to as “power supply terminal”) is monitored. When the power supply terminal and the power supply are connected and the voltage of the power supply terminal is equal to or higher than the threshold value, the built-in driver is driven. If so, the internal driver is driven as it is, and if the external driver is driven, the external driver is switched to the internal driver to drive the internal driver. When the power supply terminal is connected to the ground and the voltage of the power supply terminal is less than the threshold, if the external driver is driven, the external driver is driven as it is, and if the internal driver is driven, switch from the internal driver to the external driver. Drive an external driver. As described above, according to the present invention, either the built-in driver or the external driver can be switched to the other and driven in accordance with the voltage of the power supply terminal provided in the IC. Therefore, unlike a device for switching a built-in driver and an external driver by newly providing a dedicated terminal for driver switching in the IC as in the prior art, it is not necessary to newly provide a dedicated terminal for switching the driver in the IC. Without increasing the number of components provided in the IC, either the built-in driver or the external driver can be switched to the other and driven.

また内蔵ドライバおよび外部ドライバのいずれか一方を他方に切換えて駆動させることができるので、内蔵ドライバおよび外部ドライバのいずれか一方を駆動させているとき他方を駆動させないようにできる。したがって内蔵ドライバを駆動させているとき、外部ドライバを駆動させるための外部用プリドライバに貫通電流などの不要な電流が流れることを防ぐことができる。また外部ドライバを駆動させているとき、内蔵ドライバを駆動させるための内蔵用プリドライバに貫通電流などの不要な電流が流れることを防ぐことができる。これによって不要な電流に起因するノイズの発生および消費電流の増加などの不具合の発生を抑制することができる。   In addition, since either one of the built-in driver and the external driver can be switched and driven, the other driver can be prevented from being driven when either the built-in driver or the external driver is driven. Therefore, when driving the built-in driver, it is possible to prevent an unnecessary current such as a through current from flowing through the external pre-driver for driving the external driver. Further, when the external driver is driven, it is possible to prevent an unnecessary current such as a through current from flowing through the built-in pre-driver for driving the built-in driver. As a result, it is possible to suppress the occurrence of problems such as the occurrence of noise due to unnecessary current and an increase in current consumption.

以下に、本発明を実施するための複数の形態について説明する。各形態において、先行する形態で説明している事項に対応する部分については同一の参照符を付し、重複する説明を省略する場合がある。構成の一部のみを説明している場合、構成の他の部分は、先行して説明している形態と同様とする。実施の各形態で具体的に説明している部分の組合せばかりではなく、特に組合せに支障が生じなければ、実施の形態同士を部分的に組合せることも可能である。   Hereinafter, a plurality of modes for carrying out the present invention will be described. In each embodiment, portions corresponding to the matters described in the preceding embodiment are denoted by the same reference numerals, and redundant description may be omitted. When only a part of the configuration is described, the other parts of the configuration are the same as those described in the preceding section. Not only the combination of the parts specifically described in each embodiment, but also the embodiments can be partially combined as long as the combination does not hinder.

図1は、本発明の第1の実施の形態であるドライバ切換装置1の構成を簡略化して示す電気回路図であり、内蔵ドライバ駆動時の電気回路図である。図2は、ドライバ切換装置1の構成を簡略化して示す電気回路図であり、外部ドライバ駆動時の電気回路図である。以下に説明する本発明の第1〜第4の実施の形態のドライバ切換装置1,30,40,50は、非絶縁型昇圧スイッチング電源回路(以下、「昇圧スイッチング電源回路」という場合がある)によって構成される。以下の説明において、「ドライバ切換装置」を「昇圧スイッチング電源回路」という場合がある。昇圧スイッチング電源回路1は、スイッチング素子のスイッチング動作によって、出力電圧をバッテリ2に生じている電圧から所定の電圧へ向けて昇圧する。昇圧スイッチング電源回路1は、たとえば車両に搭載される乗員保護装置としてのエアバッグ装置において、ハンドルおよびインストゥルメントパネルに埋込まれているエアバッグを膨張させるための点火回路の電源部などに用いられる。   FIG. 1 is an electric circuit diagram showing a simplified configuration of the driver switching device 1 according to the first embodiment of the present invention, and is an electric circuit diagram when driving a built-in driver. FIG. 2 is an electric circuit diagram showing a simplified configuration of the driver switching device 1, and is an electric circuit diagram when driving an external driver. The driver switching devices 1, 30, 40, and 50 according to the first to fourth embodiments of the present invention described below are non-insulated boost switching power supply circuits (hereinafter sometimes referred to as “boost switching power supply circuits”). Consists of. In the following description, the “driver switching device” may be referred to as a “boost switching power supply circuit”. The step-up switching power supply circuit 1 boosts the output voltage from the voltage generated in the battery 2 toward a predetermined voltage by the switching operation of the switching element. The step-up switching power supply circuit 1 is used, for example, in a power supply section of an ignition circuit for inflating an airbag embedded in a handle and an instrument panel in an airbag device as an occupant protection device mounted on a vehicle. It is done.

まず内蔵ドライバ駆動時の昇圧スイッチング電源回路1について説明する。昇圧スイッチング電源回路1は、バッテリ2を含み、バッテリ2と出力端子6との間にはコイル3およびダイオード4が直列に接続されている。コイル3の一端は、バッテリ2に接続され、コイル3の他端はダイオード4のアノードに接続され、ダイオード4のカソードは出力端子6に接続される。   First, the step-up switching power supply circuit 1 when the built-in driver is driven will be described. The step-up switching power supply circuit 1 includes a battery 2, and a coil 3 and a diode 4 are connected in series between the battery 2 and the output terminal 6. One end of the coil 3 is connected to the battery 2, the other end of the coil 3 is connected to the anode of the diode 4, and the cathode of the diode 4 is connected to the output terminal 6.

ダイオード4のカソードと出力端子6との間には、他端がグランドに接続されたコンデンサ5が接続されている。ダイオード4のカソードとコンデンサ5の正極端子との接続点は、出力端子6に接続されている。コイル3の他端とダイオード4のアノードとの接続点は、図1に示すように集積回路(Integrated Circuit;略称:IC)7の第2端子19と接続されている。IC7は、信号源11、切換スイッチ12、内蔵用プリドライバ14、外部用プリドライバ15、内蔵ドライバ16およびインバータ17を含む。切換スイッチ12は、スイッチ片13、第1接点13aおよび第2接点13bを含む。IC7の第2端子19は、IC7に内蔵される内蔵ドライバ16と接続されている。本実施の形態の内蔵ドライバ16は、スイッチング素子として機能するnチャネルMOS電界効果トランジスタ(Metal Oxide Semiconductor Field Effect Transistor;略称:MOSFET)によって実現される。以下の説明では、内蔵ドライバ16を内蔵MOSFET16という場合がある。前記第2端子19は、内蔵MOSFET16のドレインと接続されている。内蔵MOSFET16のソースは、内蔵MOSFET16のグランド端子(以下、単に「グランド端子」という場合がある)21に接続され、グランド端子21はグランドに接続されている。   A capacitor 5 having the other end connected to the ground is connected between the cathode of the diode 4 and the output terminal 6. A connection point between the cathode of the diode 4 and the positive terminal of the capacitor 5 is connected to the output terminal 6. A connection point between the other end of the coil 3 and the anode of the diode 4 is connected to a second terminal 19 of an integrated circuit (abbreviated as IC) 7 as shown in FIG. The IC 7 includes a signal source 11, a changeover switch 12, a built-in pre-driver 14, an external pre-driver 15, a built-in driver 16 and an inverter 17. The changeover switch 12 includes a switch piece 13, a first contact 13a, and a second contact 13b. The second terminal 19 of the IC 7 is connected to a built-in driver 16 built in the IC 7. The built-in driver 16 of the present embodiment is realized by an n-channel MOS field effect transistor (abbreviation: MOSFET) that functions as a switching element. In the following description, the internal driver 16 may be referred to as an internal MOSFET 16. The second terminal 19 is connected to the drain of the built-in MOSFET 16. The source of the built-in MOSFET 16 is connected to a ground terminal (hereinafter sometimes simply referred to as “ground terminal”) 21 of the built-in MOSFET 16, and the ground terminal 21 is connected to the ground.

IC7の第1端子18は、直流電源(以下、「電源」という場合がある)8と接続されている。また第1端子18は、IC7の外部の外部ドライバ22を駆動させるためのプリドライバ(以下、「外部用プリドライバ」という場合がある)15の電力供給部15aと接続されている。本実施の形態の外部用プリドライバ15は、相補型MOS(
Complementary Metal Oxide Semiconductor;略称:CMOS)によって実現され、外部ドライバ22は、スイッチング素子として機能するnチャネルMOSFETによって実現される。以下の説明では、外部ドライバ22を外部MOSFET22という場合がある。外部用プリドライバ15の入力部15bは、切換スイッチ12の第2接点13bと接続されている。外部用プリドライバ15の出力部15cは、IC7の第3端子20と接続されている。また第1端子18は、IC7に内蔵される内蔵MOSFET16を駆動させるためのプリドライバ(以下、「内蔵用プリドライバ」という場合がある)14の電力供給部14aと接続されている。内蔵用プリドライバ14は、CMOSによって実現される。内蔵用プリドライバ14の入力部14bは、切換スイッチ12の第1接点13aと接続されている。内蔵用プリドライバ14の出力部14cは、内蔵MOSFET16のゲートと接続されている。
The first terminal 18 of the IC 7 is connected to a DC power source (hereinafter sometimes referred to as “power source”) 8. The first terminal 18 is connected to a power supply unit 15 a of a pre-driver 15 (hereinafter also referred to as “external pre-driver”) 15 for driving an external driver 22 outside the IC 7. The external pre-driver 15 of the present embodiment is a complementary MOS (
Complementary Metal Oxide Semiconductor (abbreviation: CMOS) is realized, and the external driver 22 is realized by an n-channel MOSFET that functions as a switching element. In the following description, the external driver 22 may be referred to as an external MOSFET 22. The input unit 15 b of the external pre-driver 15 is connected to the second contact 13 b of the changeover switch 12. The output unit 15 c of the external pre-driver 15 is connected to the third terminal 20 of the IC 7. The first terminal 18 is connected to a power supply unit 14 a of a pre-driver (hereinafter sometimes referred to as “built-in pre-driver”) 14 for driving a built-in MOSFET 16 built in the IC 7. The built-in pre-driver 14 is realized by CMOS. The input part 14 b of the built-in pre-driver 14 is connected to the first contact 13 a of the changeover switch 12. The output part 14 c of the built-in pre-driver 14 is connected to the gate of the built-in MOSFET 16.

インバータ17の入力端子17aと内蔵MOSFET16のソースとの接続点は、グランド端子21に接続されている。切換スイッチ12は、パルス信号を発生する信号源11と接続されている。インバータ17は、入力端子17aから入力されるグランド端子21の電圧に対応する信号に基づいてグランド端子21の電圧を監視、換言すると前記電圧を検出し、切換スイッチ12のスイッチング態様を切換えるための信号を、出力端子17bから出力する。本実施の形態では、インバータ17の出力端子17bから出力される信号に基づいて、切換スイッチ12のスイッチ片13が、第1接点13aおよび第2接点13bのいずれか一方と接続されてオン(ON)状態となるように、スイッチング態様を切換え可能に構成されている。スイッチ片13が第1接点13aと接続されている場合、内蔵MOSFET16が駆動される。   A connection point between the input terminal 17 a of the inverter 17 and the source of the built-in MOSFET 16 is connected to the ground terminal 21. The changeover switch 12 is connected to a signal source 11 that generates a pulse signal. The inverter 17 monitors the voltage of the ground terminal 21 based on a signal corresponding to the voltage of the ground terminal 21 input from the input terminal 17 a, in other words, detects the voltage and switches the switching mode of the changeover switch 12. Is output from the output terminal 17b. In the present embodiment, based on a signal output from the output terminal 17b of the inverter 17, the switch piece 13 of the changeover switch 12 is connected to one of the first contact 13a and the second contact 13b and turned on (ON). ) So that the switching mode can be switched. When the switch piece 13 is connected to the first contact 13a, the built-in MOSFET 16 is driven.

次に外部ドライバ駆動時の昇圧スイッチング電源回路1について説明する。切換スイッチ12のスイッチ片13が第2接点13bと接続されると、外部MOSFET22が駆動される。外部MOSFET22の駆動時、コイル3の一端とダイオード4のアノードとの接続点は、図2に示すように外部MOSFET22のドレインと接続される。外部MOSFET22のソースはグランドに接続され、外部MOSFET22のゲートは、IC7の第3端子20と接続される。グランド端子21は電源8と接続される。前記内蔵MOSFET16および外部MOSFET22(以下、「MOSFET」と総称する場合がある)のドレインとソースとの間には、破壊防止用ダイオード23が接続されている。さらに述べると破壊防止用ダイオード23のアノードは、MOSFETのソースと接続され、破壊防止用ダイオード23のカソードはMOSFETのドレインと接続されている。MOSFETのゲート部分の被膜は過電圧に弱く、インピーダンスが高いので、静電気によって破壊されることがある。前記のように破壊防止用ダイオード23をMOSFETと接続することによって、MOSFETが破壊されることを防止している。   Next, the step-up switching power supply circuit 1 when driving an external driver will be described. When the switch piece 13 of the changeover switch 12 is connected to the second contact 13b, the external MOSFET 22 is driven. When the external MOSFET 22 is driven, the connection point between one end of the coil 3 and the anode of the diode 4 is connected to the drain of the external MOSFET 22 as shown in FIG. The source of the external MOSFET 22 is connected to the ground, and the gate of the external MOSFET 22 is connected to the third terminal 20 of the IC 7. The ground terminal 21 is connected to the power supply 8. A breakdown preventing diode 23 is connected between the drain and source of the built-in MOSFET 16 and the external MOSFET 22 (hereinafter may be collectively referred to as “MOSFET”). More specifically, the anode of the breakdown preventing diode 23 is connected to the source of the MOSFET, and the cathode of the breakdown preventing diode 23 is connected to the drain of the MOSFET. Since the film of the gate portion of the MOSFET is vulnerable to overvoltage and has high impedance, it may be destroyed by static electricity. As described above, the MOSFET 23 is prevented from being destroyed by connecting the destruction preventing diode 23 to the MOSFET.

前記昇圧スイッチング電源回路1のコイル3には、バッテリ2の直流電圧が印加される。IC7の信号源11は、所定の周期のパルス信号を発生して出力する。たとえば図1に示すように切換スイッチ12のスイッチ片13が第1接点13aと接続されている場合、信号源11から出力されるパルス信号は、内蔵用プリドライバ14の入力部14bに入力する。内蔵用プリドライバ14の出力部14cからは、ハイ(High)レベルまたはロー(Low)レベルの信号が出力され、その信号が内蔵MOSFET16のゲートに入力される。内蔵MOSFET16は、入力される信号に基づいて、導通および遮断を繰返すスイッチング動作をする。コイル3は、内蔵MOSFET16の導通および遮断の繰返しによって、地絡および開放を繰返す。これによってコイル3からは、前記信号源11から出力される信号の周期と同周期の高電圧が発生する。前記高電圧はコンデンサ5によって平滑化される。さらに述べると、コンデンサ5は、内蔵MOSFET16のスイッチング動作に応答してパルス状に発生するコイル3の出力電圧を平滑化する。コンデンサ5は、コイル3の出力電圧が規定電圧以上であるときには電荷を蓄積し、出力電圧未満のときには電荷を放出する。コンデンサ5によって平滑化された出力電圧は、出力端子6から、たとえばエアバッグのスクイブの点火回路などに供給される。コイル3が前記バッテリ2によって高電圧になると、バッテリ2側に電流が逆流しようとするけれども、ダイオード4によって前記電流の逆流を阻止するように構成されている。切換スイッチ12のスイッチ片13が第2接点13bと接続され、外部MOSFET22が駆動される場合の昇圧スイッチング電源回路1の動作は、前述の内蔵MOSFET16が駆動される場合の動作と同様であるので、説明を省略する。   A DC voltage of the battery 2 is applied to the coil 3 of the step-up switching power supply circuit 1. The signal source 11 of the IC 7 generates and outputs a pulse signal having a predetermined cycle. For example, when the switch piece 13 of the changeover switch 12 is connected to the first contact 13 a as shown in FIG. 1, the pulse signal output from the signal source 11 is input to the input unit 14 b of the built-in pre-driver 14. A high level signal or a low level signal is output from the output unit 14 c of the built-in pre-driver 14, and the signal is input to the gate of the built-in MOSFET 16. The built-in MOSFET 16 performs a switching operation that repeats conduction and interruption based on an input signal. The coil 3 repeats grounding and opening by repeating the conduction and interruption of the built-in MOSFET 16. As a result, a high voltage having the same cycle as that of the signal output from the signal source 11 is generated from the coil 3. The high voltage is smoothed by the capacitor 5. More specifically, the capacitor 5 smoothes the output voltage of the coil 3 generated in a pulse shape in response to the switching operation of the built-in MOSFET 16. The capacitor 5 accumulates electric charge when the output voltage of the coil 3 is equal to or higher than the specified voltage, and discharges electric charge when the output voltage is lower than the output voltage. The output voltage smoothed by the capacitor 5 is supplied from the output terminal 6 to, for example, an ignition circuit of an air bag squib. When the coil 3 becomes a high voltage by the battery 2, the current tends to flow backward to the battery 2 side, but the diode 4 is configured to prevent the current from flowing backward. The operation of the step-up switching power supply circuit 1 when the switch piece 13 of the changeover switch 12 is connected to the second contact 13b and the external MOSFET 22 is driven is the same as the operation when the built-in MOSFET 16 is driven. Description is omitted.

次に、第1の実施の形態における内蔵ドライバ16と外部ドライバ22とを切換えて駆動させるドライバ切換方法について説明する。図3は、本発明の第1の実施の形態におけるドライバ切換方法の動作手順の一例を示すフローチャートである。ドライバ切換方法の動作手順は、たとえば車両のイグニションスイッチがオンされたときに開始される。ステップa1では、内蔵用プリドライバ14が、内蔵ドライバ16が駆動している否かを判断し、駆動していればステップa2に進み、駆動していなければステップa6に進む。ステップa2では、インバータ17が、グランド端子21の電圧が閾値未満であるか否かを判断し、閾値未満であればステップa3に進み、閾値以上であればステップa4に進む。閾値未満の電圧は、たとえばグランド電圧であり、閾値以上の電圧はたとえば電源電圧である。ステップa3では、内蔵用プリドライバ14が、内蔵ドライバである内蔵MOSFET16を駆動させた後、すべての動作手順を終了する。   Next, a driver switching method for switching and driving the built-in driver 16 and the external driver 22 in the first embodiment will be described. FIG. 3 is a flowchart showing an example of an operation procedure of the driver switching method according to the first embodiment of the present invention. The operation procedure of the driver switching method is started when, for example, the ignition switch of the vehicle is turned on. In step a1, the built-in pre-driver 14 determines whether or not the built-in driver 16 is driven. If it is driven, the process proceeds to step a2. In step a2, the inverter 17 determines whether or not the voltage at the ground terminal 21 is less than the threshold value. If the voltage is less than the threshold value, the process proceeds to step a3. The voltage below the threshold is, for example, the ground voltage, and the voltage above the threshold is, for example, the power supply voltage. In step a3, after the built-in pre-driver 14 drives the built-in MOSFET 16 which is a built-in driver, all operation procedures are terminated.

ステップa4では、切換スイッチ12のスイッチ片13が、インバータ17から出力される信号に基づいて第1接点13aとの接続状態から第2接点13bとの接続状態へ切換えて、ステップa5に進む。ステップa5では、外部用プリドライバ15が、外部ドライバである外部MOSFET22を駆動させた後、すべての動作手順を終了する。ステップa6では、外部用プリドライバ15が、外部ドライバ22が駆動しているか否かを判断し、駆動していればステップa7に進み、駆動していなければステップa1に戻る。ステップa7では、インバータ17が、グランド端子21の電圧が閾値未満であるか否かを判断し、閾値未満であればステップa8に進み、閾値以上であればステップa5に進む。ステップa8では、切換スイッチ12のスイッチ片13が、インバータ17から出力される信号に基づいて第2接点13bとの接続状態から第1接点13aとの接続状態へ切換えて、ステップa9に進む。ステップa9では、内蔵用プリドライバ14が、内蔵ドライバである内蔵MOSFET16を駆動させた後、すべての動作手順を終了する。   In step a4, the switch piece 13 of the changeover switch 12 switches from the connection state with the first contact 13a to the connection state with the second contact 13b based on the signal output from the inverter 17, and proceeds to step a5. In step a5, after the external pre-driver 15 drives the external MOSFET 22 which is an external driver, all operation procedures are terminated. In step a6, the external pre-driver 15 determines whether or not the external driver 22 is driven. If it is driven, the process proceeds to step a7. If not, the process returns to step a1. In step a7, the inverter 17 determines whether or not the voltage at the ground terminal 21 is less than the threshold value. If the voltage is less than the threshold value, the process proceeds to step a8. In step a8, the switch piece 13 of the changeover switch 12 switches from the connection state with the second contact 13b to the connection state with the first contact 13a based on the signal output from the inverter 17, and proceeds to step a9. In step a9, after the built-in pre-driver 14 drives the built-in MOSFET 16 which is a built-in driver, all operation procedures are terminated.

前述のように第1の実施の形態によれば、インバータ17によってグランド端子21の電圧を監視し、グランド端子21とグランドとが接続され、グランド端子21の電圧が閾値未満であるとき、内蔵MOSFET16が駆動されていればそのまま駆動させ、外部MOSFET22が駆動されていれば外部MOSFET22から内蔵MOSFET16へ切換えて内蔵MOSFET16を駆動させる。グランド端子21が電源側に接続され、グランド端子21の電圧が閾値以上であるとき、外部MOSFET22が駆動されていればそのまま駆動させ、内蔵MOSFET16が駆動されていれば内蔵MOSFET16から外部MOSFET22へ切換えて外部MOSFET22を駆動させる。前述のように本実施の形態では、IC7に設けられているグランド端子21の電圧に応じて、内蔵MOSFET16および外部MOSFET22のいずれか一方を他方に切換えて駆動させることができる。したがって前記従来の技術のようにドライバ切換専用の端子をIC7に新たに設けて、内蔵MOSFET16と外部MOSFET22とを切換える方法とは異なり、ドライバ切換専用の端子をIC7に新たに設ける必要がないので、IC7に設けられる部品点数を増やすことなく、内蔵MOSFET16および外部MOSFET22のいずれか一方を他方に切換えて駆動させることができる。   As described above, according to the first embodiment, the voltage of the ground terminal 21 is monitored by the inverter 17, and when the ground terminal 21 and the ground are connected and the voltage of the ground terminal 21 is less than the threshold value, the built-in MOSFET 16 Is driven as it is, and if the external MOSFET 22 is driven, the external MOSFET 22 is switched to the internal MOSFET 16 to drive the internal MOSFET 16. When the ground terminal 21 is connected to the power supply side and the voltage of the ground terminal 21 is equal to or higher than the threshold value, the external MOSFET 22 is driven as it is, and the internal MOSFET 16 is switched from the internal MOSFET 16 to the external MOSFET 22 when the internal MOSFET 16 is driven. The external MOSFET 22 is driven. As described above, in this embodiment, either the built-in MOSFET 16 or the external MOSFET 22 can be switched to the other and driven in accordance with the voltage of the ground terminal 21 provided in the IC 7. Therefore, unlike the conventional technique in which a dedicated driver switching terminal is newly provided in the IC 7 and the built-in MOSFET 16 and the external MOSFET 22 are switched, there is no need to newly provide a dedicated driver switching terminal in the IC 7. Without increasing the number of components provided in the IC 7, either the built-in MOSFET 16 or the external MOSFET 22 can be switched to the other and driven.

また内蔵MOSFET16および外部MOSFET22のいずれか一方を他方に切換えて駆動させることができるので、内蔵MOSFET16および外部MOSFET22のいずれか一方を駆動させているとき他方を確実に駆動させないようにできる。したがって内蔵MOSFET16を駆動させているとき、図1に破線の矢符Aで示す貫通電流などの不要な電流が、外部MOSFET22を駆動させるための外部用プリドライバ15に流れることを防ぐことができる。また外部MOSFET22を駆動させているとき、図2に破線の矢符Bで示す貫通電流などの不要な電流が、内蔵MOSFET16を駆動させるための内蔵用プリドライバ14に流れることを防ぐことができる。これによって不要な電流に起因するノイズの発生および消費電流の増加などの不具合の発生を抑制することができる。   In addition, since either one of the built-in MOSFET 16 and the external MOSFET 22 can be switched and driven, the other can be reliably driven when either the built-in MOSFET 16 or the external MOSFET 22 is driven. Therefore, when the built-in MOSFET 16 is driven, it is possible to prevent unnecessary current such as a through current indicated by a broken arrow A in FIG. 1 from flowing to the external pre-driver 15 for driving the external MOSFET 22. Further, when the external MOSFET 22 is driven, unnecessary current such as a through current indicated by a broken arrow B in FIG. 2 can be prevented from flowing to the built-in pre-driver 14 for driving the built-in MOSFET 16. As a result, it is possible to suppress the occurrence of problems such as the occurrence of noise due to unnecessary current and an increase in current consumption.

図4は、ドライバ切換装置1の構成を簡略化して示す電気回路図である。図5は、ドライバ切換装置1の構成を簡略化して示す電気回路図である。前述の図1に示すように、内蔵MOSFET16の駆動時には、グランド端子21がグランドに接続されている。内蔵MOSFET16の駆動時に、グランド端子21が、はんだの接触不良および断線などによって開放されると、グランド端子21の電圧が上昇し、切換スイッチ12のスイッチ片13が、第1接点13aとの接続状態から第2接点13bとの接続状態に切換わる。これによって内蔵MOSFET16の駆動状態から外部MOSFET22の駆動状態に切換わる。外部MOSFET22の駆動状態に切換わると、内蔵MOSFET16はオフ状態となり、これによってグランド端子21の電圧がグランド電圧に下降して、外部MOSFET22の駆動状態から内蔵MOSFET16の駆動状態に切換わる。そして再び内蔵MOSFET16が駆動するというように、グランド端子21が開放されることによってグランド端子21の電圧が不安定になり、前述のようなMOSFETの切換動作の異常が引起され、不要なノイズが発生するなどの不具合が生じる。   FIG. 4 is an electric circuit diagram showing a simplified configuration of the driver switching device 1. FIG. 5 is an electric circuit diagram showing a simplified configuration of the driver switching device 1. As shown in FIG. 1 described above, when the built-in MOSFET 16 is driven, the ground terminal 21 is connected to the ground. When the built-in MOSFET 16 is driven, if the ground terminal 21 is opened due to poor solder contact or disconnection, the voltage of the ground terminal 21 rises, and the switch piece 13 of the changeover switch 12 is connected to the first contact 13a. To the connection state with the second contact 13b. As a result, the driving state of the built-in MOSFET 16 is switched to the driving state of the external MOSFET 22. When the driving state of the external MOSFET 22 is switched, the built-in MOSFET 16 is turned off, whereby the voltage at the ground terminal 21 drops to the ground voltage, and the driving state of the external MOSFET 22 is switched to the driving state of the built-in MOSFET 16. As the built-in MOSFET 16 is driven again, when the ground terminal 21 is opened, the voltage at the ground terminal 21 becomes unstable, causing the abnormal switching operation of the MOSFET as described above, and generating unnecessary noise. Troubles such as doing.

そこで本実施の形態では、グランド端子21、電源8間に、図4に示すように抵抗25を設けている。具体的には、抵抗25の一端が第1端子18を介して電源8と接続され、抵抗25の他端と内蔵MOSFET16のソースとの接続点がグランド端子21に接続されている。前述のように、内蔵MOSFET16のグランド端子21、電源8間に抵抗25を設け、この抵抗25をいわゆるプルアップ抵抗として機能させ、抵抗25を介してグランド端子21の電位を電源電位にする。これによってグランド端子21が開放される不具合が生じた場合でも、グランド端子21の電圧を安定化させることができる。換言すると、グランド端子21の電圧が不安定になり、内蔵MOSFET16および外部MOSFET22のいずれか一方から他方への切換わりが異常になること、つまり不所望に内蔵MOSFET16および外部MOSFET22のいずれか一方から他方へ切換わることを防ぐことができる。またグランド端子21、電源8間に抵抗25を設けることによって、外部MOSFET22を駆動させるときにグランド端子21を電源8側に接続する必要がなく、グランド端子21が開放されている状態でも、内蔵MOSFET16から外部MOSFET22へ切換えて外部MOSFET22を駆動させることができる。   Therefore, in this embodiment, a resistor 25 is provided between the ground terminal 21 and the power supply 8 as shown in FIG. Specifically, one end of the resistor 25 is connected to the power supply 8 via the first terminal 18, and the connection point between the other end of the resistor 25 and the source of the built-in MOSFET 16 is connected to the ground terminal 21. As described above, the resistor 25 is provided between the ground terminal 21 of the built-in MOSFET 16 and the power supply 8, and this resistor 25 functions as a so-called pull-up resistor, and the potential of the ground terminal 21 is set to the power supply potential via the resistor 25. As a result, even when a problem that the ground terminal 21 is opened occurs, the voltage of the ground terminal 21 can be stabilized. In other words, the voltage at the ground terminal 21 becomes unstable, and switching from one of the built-in MOSFET 16 and the external MOSFET 22 to the other becomes abnormal, that is, one of the built-in MOSFET 16 and the external MOSFET 22 is undesirably switched to the other. Can be prevented. Further, by providing the resistor 25 between the ground terminal 21 and the power supply 8, it is not necessary to connect the ground terminal 21 to the power supply 8 side when driving the external MOSFET 22, and even when the ground terminal 21 is open, the built-in MOSFET 16 The external MOSFET 22 can be driven by switching from the external MOSFET 22 to the external MOSFET 22.

また本実施の形態において、前述のようなグランド端子21の電圧が不安定になり、MOSFETの切換動作の異常が引起されて不要なノイズが発生するという不具合を防ぐために、内蔵MOSFET16のグランド端子21、電源8間に、図5に示すように電流源26を設けてもよい。具体的には、電流源26の一端が第1端子18を介して電源8と接続され、電流源26の他端と内蔵MOSFET16のソースとの接続点がグランド端子21に接続されている。これによってグランド端子21の電位を一定にすることができる。したがってグランド端子21の電圧を安定化させることができ、前述の図4に示すように抵抗25を設ける場合と同様の効果を達成することができる。   In the present embodiment, the ground terminal 21 of the built-in MOSFET 16 is prevented in order to prevent a problem that the voltage at the ground terminal 21 becomes unstable and an abnormal switching operation of the MOSFET is caused to cause unnecessary noise. A current source 26 may be provided between the power supplies 8 as shown in FIG. Specifically, one end of the current source 26 is connected to the power supply 8 via the first terminal 18, and the connection point between the other end of the current source 26 and the source of the built-in MOSFET 16 is connected to the ground terminal 21. As a result, the potential of the ground terminal 21 can be kept constant. Therefore, the voltage of the ground terminal 21 can be stabilized, and the same effect as when the resistor 25 is provided as shown in FIG. 4 can be achieved.

図6は、本発明の第2の実施の形態であるドライバ切換装置30の構成を簡略化して示す電気回路図である。本実施の形態では、理解を容易にするために内蔵ドライバ駆動時のドライバ切換装置30のみを示している。外部ドライバ駆動時は、前述の図2に示すドライバ切換装置1と同様に、IC7の第3端子20に外部ドライバ22が接続される。本実施の形態では、前述の第1の実施の形態の2接点の切換スイッチ12に代えて、3接点の切換スイッチ31を設けている。切換スイッチ31は、スイッチ片32、第1接点32a、第2接点32bおよび第3接点32cを含む。また本実施の形態では、前述の第1の実施の形態のインバータ17に代えてコンパレータ33を設けている。切換スイッチ31の第1接点32aは、内蔵用プリドライバ14の入力部14bと接続され、第2接点32bは外部用プリドライバ15の入力部15bと接続され、第3接点32cはいずれにも接続されていない。コンパレータ33の非反転入力端子33aと内蔵MOSFET16のソースとの接続点は、グランド端子21に接続されている。コンパレータ33の第1反転入力端子33bは、第1電源34に接続され、第2反転入力端子は、第2電源35に接続されている。   FIG. 6 is an electric circuit diagram showing a simplified configuration of the driver switching device 30 according to the second embodiment of the present invention. In the present embodiment, only the driver switching device 30 when the built-in driver is driven is shown for easy understanding. When the external driver is driven, the external driver 22 is connected to the third terminal 20 of the IC 7 as in the driver switching device 1 shown in FIG. In the present embodiment, a three-contact selector switch 31 is provided in place of the two-contact selector switch 12 of the first embodiment. The changeover switch 31 includes a switch piece 32, a first contact 32a, a second contact 32b, and a third contact 32c. In the present embodiment, a comparator 33 is provided instead of the inverter 17 of the first embodiment. The first contact 32a of the changeover switch 31 is connected to the input unit 14b of the built-in predriver 14, the second contact 32b is connected to the input unit 15b of the external predriver 15, and the third contact 32c is connected to both. It has not been. A connection point between the non-inverting input terminal 33 a of the comparator 33 and the source of the built-in MOSFET 16 is connected to the ground terminal 21. The first inverting input terminal 33 b of the comparator 33 is connected to the first power supply 34, and the second inverting input terminal is connected to the second power supply 35.

本実施の形態のコンパレータ33は、グランド端子21の電圧を監視し、グランド端子21の電圧に対応する信号に基づいて、切換スイッチ31のスイッチング態様を切換えるための信号を、出力端子33dから出力する。本実施の形態では、コンパレータ33の出力端子33dから出力される信号に基づいて、切換スイッチ31のスイッチ片32が、第1接点32a〜第3接点32cのうちいずれか1つと接続されてオン(ON)状態となるように、スイッチング態様を切換え可能に構成されている。スイッチ片32が第1接点32aに接続されると、内蔵MOSFET16が駆動される内蔵ドライバ駆動状態に設定される。スイッチ片32が第2接点32bに接続されると、外部MOSFET22が駆動される外部ドライバ駆動状態に設定される。スイッチ片32が第3接点32cに接続されると、内蔵MOSFET16および外部MOSFET22の駆動が停止される駆動停止状態に設定される。   The comparator 33 according to the present embodiment monitors the voltage of the ground terminal 21 and outputs a signal for switching the switching mode of the changeover switch 31 from the output terminal 33d based on a signal corresponding to the voltage of the ground terminal 21. . In the present embodiment, based on the signal output from the output terminal 33d of the comparator 33, the switch piece 32 of the changeover switch 31 is connected to any one of the first contact 32a to the third contact 32c and turned on ( ON) is configured so that the switching mode can be switched. When the switch piece 32 is connected to the first contact 32a, the built-in driver driving state in which the built-in MOSFET 16 is driven is set. When the switch piece 32 is connected to the second contact 32b, an external driver driving state in which the external MOSFET 22 is driven is set. When the switch piece 32 is connected to the third contact 32c, the driving stop state is set in which the driving of the internal MOSFET 16 and the external MOSFET 22 is stopped.

次に、第2の実施の形態における内蔵ドライバ16と外部ドライバ22とを切換えて駆動させるドライバ切換方法について説明する。図7は、本発明の第2の実施の形態におけるドライバ切換方法の動作手順の一例を示すフローチャートである。図8は、本発明の第2の実施の形態におけるドライバ切換方法の動作手順の一例を示すフローチャートである。図7および図8に示すドライバ切換方法の動作手順は、たとえば車両のイグニションスイッチがオンされたときに開始される。本実施の形態の第1閾値は、第2閾値よりも小さい値であるとする。ステップb1では、内蔵用プリドライバ14が、内蔵ドライバ14が駆動している否かを判断し、駆動していればステップb2に進み、駆動していなければステップb9に進む。ステップb2では、コンパレータ33が、グランド端子21の電圧が第1閾値未満であるか否かを判断し、第1閾値未満であればステップb3に進み、第1閾値未満でなければステップb4に進む。第1閾値は、たとえば電源電圧の1/3に相当する値である。ステップb3では、内蔵用プリドライバ14が、内蔵ドライバである内蔵MOSFET16を駆動させた後、すべての動作手順を終了する。   Next, a driver switching method for switching and driving the built-in driver 16 and the external driver 22 in the second embodiment will be described. FIG. 7 is a flowchart showing an example of an operation procedure of the driver switching method according to the second embodiment of the present invention. FIG. 8 is a flowchart showing an example of an operation procedure of the driver switching method according to the second embodiment of the present invention. The operation procedure of the driver switching method shown in FIGS. 7 and 8 is started, for example, when an ignition switch of the vehicle is turned on. It is assumed that the first threshold value in the present embodiment is a value smaller than the second threshold value. In step b1, the built-in pre-driver 14 determines whether or not the built-in driver 14 is driven. If it is driven, the process proceeds to step b2. If not, the process proceeds to step b9. In step b2, the comparator 33 determines whether or not the voltage at the ground terminal 21 is less than the first threshold value. If the voltage is less than the first threshold value, the process proceeds to step b3. . The first threshold is a value corresponding to 1/3 of the power supply voltage, for example. In step b3, after the built-in pre-driver 14 drives the built-in MOSFET 16 which is a built-in driver, all the operation procedures are finished.

ステップb4では、コンパレータ33が、グランド端子21の電圧が第2閾値以上であるか否かを判断し、第2閾値以上であればステップb5に進み、第2閾値未満であればグランド端子21の電圧が第1閾値以上第2閾値未満であると判断し、ステップb7に進む。第2閾値は、たとえば電源電圧の2/3に相当する値である。ステップb5では、切換スイッチ31のスイッチ片32が、コンパレータ33の出力端子33dから出力される信号に基づいて第1接点32aとの接続状態から第2接点32bとの接続状態へ切換え、外部ドライバ駆動状態に設定してステップb6に進む。ステップb6では、外部用プリドライバ15が、外部ドライバである外部MOSFET22を駆動させた後、すべての動作手順を終了する。ステップb7では、切換スイッチ31のスイッチ片32が、コンパレータ33の出力端子33dから出力される信号に基づいて第1接点32aとの接続状態から第3接点32cとの接続状態へ切換え、内蔵ドライバ16の駆動停止状態に設定してステップb8に進む。ステップb8では、内蔵用プリドライバ14が、内蔵MOSFET16の駆動を停止させた後、すべての動作手順を終了する。   In step b4, the comparator 33 determines whether or not the voltage of the ground terminal 21 is equal to or higher than the second threshold value. If the voltage is equal to or higher than the second threshold value, the process proceeds to step b5. It is determined that the voltage is greater than or equal to the first threshold and less than the second threshold, and the process proceeds to step b7. The second threshold is a value corresponding to 2/3 of the power supply voltage, for example. In step b5, the switch piece 32 of the changeover switch 31 switches from the connection state with the first contact 32a to the connection state with the second contact 32b based on the signal output from the output terminal 33d of the comparator 33, and drives the external driver. The state is set and the process proceeds to step b6. In step b6, after the external pre-driver 15 drives the external MOSFET 22 that is an external driver, all operation procedures are terminated. In step b7, the switch piece 32 of the changeover switch 31 switches from the connection state with the first contact 32a to the connection state with the third contact 32c based on the signal output from the output terminal 33d of the comparator 33, and the built-in driver 16 The drive stop state is set and the process proceeds to step b8. In step b8, after the built-in pre-driver 14 stops driving the built-in MOSFET 16, all operation procedures are terminated.

ステップb9では、外部用プリドライバ15が、外部ドライバ22が駆動しているか否かを判断し、駆動していればステップb10に進み、駆動していなければ内蔵および外部ドライバ16,22のいずれも駆動していないと判断し、図8のステップc1に進む。ステップb10では、コンパレータ33が、グランド端子21の電圧が第1閾値未満であるか否かを判断し、第1閾値未満であればステップb11に進み、第1閾値未満でなければステップb13に進む。ステップb11では、切換スイッチ31のスイッチ片32が、コンパレータ33の出力端子33dから出力される信号に基づいて第2接点32bとの接続状態から第1接点32aとの接続状態へ切換え、内蔵ドライバ駆動状態に設定してステップb12に進む。ステップb12では、内蔵用プリドライバ14が、内蔵ドライバである内蔵MOSFET16を駆動させた後、すべての動作手順を終了する。   In step b9, the external pre-driver 15 determines whether or not the external driver 22 is driven. If it is driven, the process proceeds to step b10. If it is not driven, both the internal and external drivers 16 and 22 are driven. It is determined that it is not driven, and the process proceeds to step c1 in FIG. In step b10, the comparator 33 determines whether or not the voltage at the ground terminal 21 is less than the first threshold value. If the voltage is less than the first threshold value, the process proceeds to step b11, and if not less than the first threshold value, the process proceeds to step b13. . In step b11, the switch piece 32 of the changeover switch 31 switches from the connection state with the second contact 32b to the connection state with the first contact 32a based on the signal output from the output terminal 33d of the comparator 33, and the built-in driver is driven. The state is set and the process proceeds to step b12. In step b12, after the built-in pre-driver 14 drives the built-in MOSFET 16 which is a built-in driver, all operation procedures are completed.

ステップb13では、コンパレータ33が、グランド端子21の電圧が第2閾値以上であるか否かを判断し、第2閾値以上であればステップb14に進み、第2閾値未満であればグランド端子21の電圧が第1閾値以上第2閾値未満であると判断し、ステップb15に進む。ステップb14では、外部用プリドライバ15が、外部MOSFET22を駆動させた後、すべての動作手順を終了する。ステップb15では、切換スイッチ31のスイッチ片32が、コンパレータ33の出力端子33dから出力される信号に基づいて第2接点32bとの接続状態から第3接点32cとの接続状態へ切換え、外部ドライバ22の駆動停止状態に設定してステップb16に進む。ステップb16では、外部用プリドライバ15が、外部MOSFET22の駆動を停止させた後、すべての動作手順を終了する。   In step b13, the comparator 33 determines whether or not the voltage at the ground terminal 21 is equal to or higher than the second threshold value. If the voltage is equal to or higher than the second threshold value, the process proceeds to step b14. It is determined that the voltage is greater than or equal to the first threshold value and less than the second threshold value, and the process proceeds to step b15. In step b14, after the external pre-driver 15 drives the external MOSFET 22, all operation procedures are terminated. In step b15, the switch piece 32 of the changeover switch 31 switches from the connection state with the second contact 32b to the connection state with the third contact 32c based on the signal output from the output terminal 33d of the comparator 33, and the external driver 22 The drive stop state is set, and the process proceeds to step b16. In step b16, after the external pre-driver 15 stops driving the external MOSFET 22, all operation procedures are terminated.

図8のステップc1では、コンパレータ33が、グランド端子21の電圧が第1閾値未満であるか否かを判断し、第1閾値未満であればステップc2に進み、第1閾値未満でなければステップc4に進む。ステップc2では、切換スイッチ31のスイッチ片32が、コンパレータ33の出力端子33dから出力される信号に基づいて第3接点33cとの接続状態から第1接点32aとの接続状態へ切換え、内蔵ドライバ駆動状態に設定してステップc3に進む。ステップc3では、内蔵用プリドライバ14が内蔵MOSFET16を駆動させた後、すべての動作手順を終了する。   In step c1 of FIG. 8, the comparator 33 determines whether or not the voltage of the ground terminal 21 is less than the first threshold value. If the voltage is less than the first threshold value, the process proceeds to step c2. Proceed to c4. In step c2, the switch piece 32 of the changeover switch 31 switches from the connection state with the third contact 33c to the connection state with the first contact 32a based on the signal output from the output terminal 33d of the comparator 33, and the built-in driver is driven. The state is set and the process proceeds to step c3. In step c3, after the built-in pre-driver 14 drives the built-in MOSFET 16, all operation procedures are terminated.

ステップc4では、コンパレータ33が、グランド端子21の電圧が第2閾値以上であるか否かを判断し、第2閾値以上であればステップc5に進み、第2閾値未満であればグランド端子21の電圧が第1閾値以上第2閾値未満であると判断し、ステップc7に進む。ステップc5では、切換スイッチ31のスイッチ片32が、コンパレータ33の出力端子33dから出力される信号に基づいて第3接点32cとの接続状態から第2接点32bとの接続状態へ切換え、外部ドライバ駆動状態に設定してステップc6に進む。ステップc6では、外部用プリドライバ15が外部MOSFET22を駆動させた後、すべての動作手順を終了する。ステップc7では、切換スイッチ31のスイッチ片32が、第3接点32cとの接続状態を維持することによって、内蔵MOSFET16および外部MOSFET22の駆動停止状態を維持して、すべての動作手順を終了する。   In step c4, the comparator 33 determines whether or not the voltage at the ground terminal 21 is equal to or higher than the second threshold value. If the voltage is equal to or higher than the second threshold value, the process proceeds to step c5. It is determined that the voltage is greater than or equal to the first threshold and less than the second threshold, and the process proceeds to step c7. In step c5, the switch piece 32 of the changeover switch 31 switches from the connection state with the third contact 32c to the connection state with the second contact 32b based on the signal output from the output terminal 33d of the comparator 33, and drives the external driver. The state is set and the process proceeds to step c6. In step c6, after the external pre-driver 15 drives the external MOSFET 22, all operation procedures are terminated. In step c7, the switch piece 32 of the changeover switch 31 maintains the connection state with the third contact 32c, thereby maintaining the drive stop state of the built-in MOSFET 16 and the external MOSFET 22 and finishing all the operation procedures.

前述のように第2の実施の形態によれば、グランド端子21とグランドとが接続され、グランド端子21の電圧が第1閾値未満であるとき、内蔵MOSFET16が駆動されていればそのまま駆動させ、外部MOSFET22が駆動されていれば内蔵ドライバ駆動状態へ切換える設定をして内蔵MOSFET16を駆動させ、駆動停止状態であれば内蔵ドライバ駆動状態へ切換える設定をして内蔵MOSFET16を駆動させる。   As described above, according to the second embodiment, when the ground terminal 21 is connected to the ground, and the voltage of the ground terminal 21 is less than the first threshold value, the built-in MOSFET 16 is driven as it is, If the external MOSFET 22 is driven, the setting to switch to the built-in driver driving state is performed to drive the built-in MOSFET 16, and if the driving is stopped, the setting to switch to the built-in driver driving state is set to drive the built-in MOSFET 16.

グランド端子21が電源8側に接続され、グランド端子21の電圧が第2閾値以上であるとき、外部MOSFET22が駆動されていればそのまま駆動させ、内蔵MOSFET16が駆動されていれば外部ドライバ駆動状態へ切換える設定をして外部MOSFET22を駆動させ、駆動停止状態であれば外部ドライバ駆動状態へ切換える設定をして外部MOSFET22を駆動させる。またグランド端子21が電源8側に接続され、グランド端子21の電圧が第1閾値以上第2閾値未満であるとき、内蔵MOSFET16および外部MOSFET22の駆動が停止していればそのまま駆動を停止させ、内蔵MOSFET16および外部MOSFET22のいずれか一方が駆動されていれば、駆動停止状態へ切換える設定をしてMOSFETの駆動を停止させる。   When the ground terminal 21 is connected to the power supply 8 side and the voltage of the ground terminal 21 is equal to or higher than the second threshold value, the external MOSFET 22 is driven as it is, and the built-in MOSFET 16 is driven to the external driver driving state. The external MOSFET 22 is driven by setting to switch, and the external MOSFET 22 is driven by setting to switch to the external driver driving state if the driving is stopped. Further, when the ground terminal 21 is connected to the power supply 8 side and the voltage of the ground terminal 21 is not less than the first threshold value and less than the second threshold value, if the driving of the built-in MOSFET 16 and the external MOSFET 22 is stopped, the driving is stopped as it is. If either one of the MOSFET 16 and the external MOSFET 22 is driven, the driving of the MOSFET is stopped by setting to switch to the driving stop state.

前述のようにグランド端子21の電圧に応じて、内蔵ドライバ駆動状態または外部ドライバ駆動状態に設定することができるうえ、内蔵ドライバおよび外部ドライバの駆動停止状態に設定することもできるので、内蔵MOSFET16および外部MOSFET22のいずれも駆動させないようにする要求がある場合に即座に駆動停止状態に設定することができる。このようにグランド端子21の電圧に応じて、所望のドライバを駆動または駆動停止状態に即座に設定することができるので、ノイズの発生原因および消費電流の増加を未然に防止することができる。   As described above, the built-in driver driving state or the external driver driving state can be set in accordance with the voltage of the ground terminal 21, and the built-in driver and the external driver can be stopped. When there is a request to drive none of the external MOSFETs 22, the drive stop state can be immediately set. As described above, since a desired driver can be immediately set to a drive or drive stop state in accordance with the voltage of the ground terminal 21, it is possible to prevent the occurrence of noise and the increase in current consumption.

図9は、本発明の第3の実施の形態であるドライバ切換装置40の構成を簡略化して示す電気回路図である。本実施の形態では、理解を容易にするために内蔵ドライバ駆動時のドライバ切換装置40のみを示している。外部ドライバ駆動時は、前述の図2に示すドライバ切換装置1と同様に、IC7の第3端子20に外部ドライバ22が接続される。本実施の形態では、グランド端子21の電圧に応じて内蔵ドライバ16と外部ドライバ22とを切換えて駆動させる前述の第1および第2の実施の形態とは異なり、グランド端子21に流れる電流に応じて、内蔵ドライバ16と外部ドライバ22とを切換えて駆動させる。本実施の形態のIC7は、第1の実施の形態のIC7に含まれる回路素子に、さらにカレントミラー回路41、プルアップ抵抗45および閾値設定用抵抗(以下、「閾値抵抗」という場合がある)46を備えて構成される。カレントミラー回路41は、一対のPNP型バイポーラトランジスタである入力側トランジスタ42および出力側トランジスタ43を含む。入力側トランジスタ42および出力側トランジスタ43のエミッタおよびベースはそれぞれ共通接続され、共通接続されているベースは入力側トランジスタ42のコレクタに接続されている。共通接続されているエミッタは、電源8に接続されている。入力用トランジスタ42のエミッタ・コレクタ間に電流Iが流れると、出力用トランジスタ43のベース・エミッタ間電圧、および入力用トランジスタ42のベース・エミッタ間電圧が同一になり、出力用トランジスタ43のエミッタ・コレクタ間には、前記電流Iに比例した電流が流れる。   FIG. 9 is an electric circuit diagram showing a simplified configuration of the driver switching device 40 according to the third embodiment of the present invention. In the present embodiment, only the driver switching device 40 at the time of driving the built-in driver is shown for easy understanding. When the external driver is driven, the external driver 22 is connected to the third terminal 20 of the IC 7 as in the driver switching device 1 shown in FIG. In the present embodiment, unlike the first and second embodiments in which the built-in driver 16 and the external driver 22 are switched and driven according to the voltage of the ground terminal 21, the current flows through the ground terminal 21. Thus, the built-in driver 16 and the external driver 22 are switched and driven. The IC 7 of the present embodiment further includes a current mirror circuit 41, a pull-up resistor 45, and a threshold setting resistor (hereinafter sometimes referred to as “threshold resistor”) in addition to the circuit elements included in the IC 7 of the first embodiment. 46 is comprised. The current mirror circuit 41 includes an input side transistor 42 and an output side transistor 43 which are a pair of PNP bipolar transistors. The emitters and bases of the input-side transistor 42 and the output-side transistor 43 are connected in common, and the commonly connected base is connected to the collector of the input-side transistor 42. The commonly connected emitters are connected to a power supply 8. When the current I flows between the emitter and collector of the input transistor 42, the base-emitter voltage of the output transistor 43 and the base-emitter voltage of the input transistor 42 become the same. A current proportional to the current I flows between the collectors.

入力側トランジスタ42のコレクタには、プルアップ抵抗45が接続されている。プルアップ抵抗45を接続することによって、第1の実施の形態で説明したように、グランド端子21が開放された場合でも、グランド端子21の電圧を安定化させることができ、不所望に内蔵MOSFET16および外部MOSFET22のいずれか一方から他方へ切換わってしまうことを防ぐことができる。プルアップ抵抗45の他端と内蔵MOSFET16のソースとの接続点は、グランド端子21に接続されている。出力側トランジスタ43のコレクタは、他端がグランドに接続される閾値抵抗46と接続されている。インバータ17の入力端子17aと前記出力側トランジスタ43のコレクタとの接続点は、閾値抵抗46に接続されている。閾値抵抗46は、閾値電流を設定するために設けられる抵抗である。閾値抵抗46に電流が流れたとき、閾値抵抗46の両端に生じる電圧を測定することによって閾値抵抗46に流れる電流値を検出する。本実施の形態では、前記検出された閾値抵抗46に流れる電流値を閾値として設定する。インバータ17は、グランド端子21に流れる電流値を検出し、この検出した電流値と前記閾値とを比較して、切換スイッチ12のスイッチング態様を切換えるための信号を、出力端子17bから出力する。本実施の形態では、前記出力端子17bから出力される信号に応じて、内蔵ドライバ16と外部ドライバ22とを切換えて駆動させる。   A pull-up resistor 45 is connected to the collector of the input side transistor 42. By connecting the pull-up resistor 45, as described in the first embodiment, even when the ground terminal 21 is opened, the voltage of the ground terminal 21 can be stabilized, and the built-in MOSFET 16 is undesirably. Further, switching from one of the external MOSFETs 22 to the other can be prevented. A connection point between the other end of the pull-up resistor 45 and the source of the built-in MOSFET 16 is connected to the ground terminal 21. The collector of the output side transistor 43 is connected to a threshold resistance 46 whose other end is connected to the ground. A connection point between the input terminal 17 a of the inverter 17 and the collector of the output side transistor 43 is connected to a threshold resistance 46. The threshold resistance 46 is a resistance provided for setting a threshold current. When a current flows through the threshold resistor 46, the value of the current flowing through the threshold resistor 46 is detected by measuring the voltage generated across the threshold resistor 46. In the present embodiment, the detected current value flowing through the threshold resistance 46 is set as a threshold value. The inverter 17 detects the value of the current flowing through the ground terminal 21, compares the detected current value with the threshold value, and outputs a signal for switching the switching mode of the changeover switch 12 from the output terminal 17b. In the present embodiment, the built-in driver 16 and the external driver 22 are switched and driven according to the signal output from the output terminal 17b.

次に、第3の実施の形態における内蔵ドライバ16と外部ドライバ22とを切換えて駆動させるドライバ切換方法について説明する。図10は、本発明の第3の実施の形態におけるドライバ切換方法の動作手順の一例を示すフローチャートである。ドライバ切換方法の動作手順は、たとえば車両のイグニションスイッチがオンされたときに開始される。ステップd1、ステップd3〜d6およびステップd8,d9の各動作は、前述の図3に示すフローチャートのステップa1、ステップa3〜a6およびステップa8,a9と同様の動作であるので、説明を省略する。ステップd2では、インバータ17が、グランド端子21に流れる電流が閾値以上であるか否かを判断し、閾値以上であればステップd3に進み、閾値未満であればステップd4に進む。ステップd7では、インバータ17が、グランド端子21に流れる電流が閾値以上であるか否かを判断し、閾値以上であればステップd8に進み、閾値未満であればステップd5に進む。   Next, a driver switching method for switching and driving the built-in driver 16 and the external driver 22 in the third embodiment will be described. FIG. 10 is a flowchart showing an example of the operation procedure of the driver switching method according to the third embodiment of the present invention. The operation procedure of the driver switching method is started when, for example, the ignition switch of the vehicle is turned on. Since the operations of Step d1, Steps d3 to d6 and Steps d8 and d9 are the same as those of Step a1, Steps a3 to a6 and Steps a8 and a9 of the flowchart shown in FIG. 3, description thereof will be omitted. In step d2, the inverter 17 determines whether or not the current flowing through the ground terminal 21 is equal to or greater than the threshold value. If it is equal to or greater than the threshold value, the process proceeds to step d3. In step d7, the inverter 17 determines whether or not the current flowing through the ground terminal 21 is equal to or greater than the threshold value. If it is equal to or greater than the threshold value, the process proceeds to step d8.

前述のように第3の実施の形態によれば、グランド端子21に流れる電流が閾値未満であるとき、外部MOSFET22が駆動されていればそのまま駆動させ、内蔵MOSFET16が駆動されていれば内蔵MOSFET16から外部MOSFET22へ切換えて外部MOSFET22を駆動させる。グランド端子21に流れる電流が閾値以上であるとき、内蔵MOSFET16が駆動されていればそのまま駆動させ、外部MOSFET22が駆動されていれば外部MOSFET22から内蔵MOSFET16へ切換えて内蔵MOSFET16を駆動させる。   As described above, according to the third embodiment, when the current flowing through the ground terminal 21 is less than the threshold value, if the external MOSFET 22 is driven, the external MOSFET 22 is driven as it is. If the internal MOSFET 16 is driven, the internal MOSFET 16 starts driving. The external MOSFET 22 is driven by switching to the external MOSFET 22. When the current flowing through the ground terminal 21 is equal to or greater than the threshold value, if the internal MOSFET 16 is driven, the internal MOSFET 16 is driven as it is. If the external MOSFET 22 is driven, the external MOSFET 22 is switched to the internal MOSFET 16 to drive the internal MOSFET 16.

前述のように本実施の形態では、IC7に設けられているグランド端子21に流れる電流に応じて、内蔵MOSFET16および外部MOSFET22のいずれか一方を他方に切換えて駆動させることができる。したがって前記従来の技術のようにドライバ切換専用の端子をIC7に新たに設けて、内蔵MOSFET16と外部MOSFET22とを切換える方法とは異なり、ドライバ切換専用の端子をIC7に新たに設ける必要がないので、IC7に設けられる部品点数を増やすことなく、内蔵MOSFET16および外部MOSFET22のいずれか一方を他方に切換えて駆動させることができる。   As described above, in the present embodiment, either the built-in MOSFET 16 or the external MOSFET 22 can be switched to the other and driven in accordance with the current flowing through the ground terminal 21 provided in the IC 7. Therefore, unlike the conventional technique in which a dedicated driver switching terminal is newly provided in the IC 7 and the built-in MOSFET 16 and the external MOSFET 22 are switched, there is no need to newly provide a dedicated driver switching terminal in the IC 7. Without increasing the number of components provided in the IC 7, either the built-in MOSFET 16 or the external MOSFET 22 can be switched to the other and driven.

また内蔵MOSFET16および外部MOSFET22のいずれか一方を他方に確実に切換えて駆動させることができるので、前述の第1の実施の形態と同様に、内蔵MOSFET16を駆動させているとき、外部用プリドライバ15に貫通電流などの不要な電流が流れることを防ぐことができ、また外部MOSFET22を駆動させているとき、内蔵用プリドライバ14に貫通電流などの不要な電流が流れることを防ぐことができる。これによって不要な電流に起因するノイズの発生および消費電流の増加などの不具合の発生を抑制することができる。   In addition, since either one of the built-in MOSFET 16 and the external MOSFET 22 can be reliably switched to the other and driven, the external pre-driver 15 can be driven when the built-in MOSFET 16 is driven, as in the first embodiment. It is possible to prevent an unnecessary current such as a through current from flowing through, and to prevent an unnecessary current such as a through current from flowing through the built-in pre-driver 14 when the external MOSFET 22 is driven. As a result, it is possible to suppress the occurrence of problems such as the occurrence of noise due to unnecessary current and an increase in current consumption.

図11は、本発明の第4の実施の形態のドライバ切換装置50の構成を簡略化して示す電気回路図である。本実施の形態では、理解を容易にするために内蔵ドライバ駆動時のドライバ切換装置50のみを示している。外部ドライバ駆動時は、前述の図2に示すドライバ切換装置1と同様に、IC7の第3端子20に外部ドライバ22が接続される。本実施の形態では、前述の第2の実施の形態と同様に、2接点の切換スイッチではなく、第1接点32a、第2接点32bおよび第3接点32cを含む3接点の切換スイッチ31をIC7に設けている。また本実施の形態では、前述の第2の実施の形態と同様に、インバータ17ではなく、コンパレータ33をIC7に設けている。切換スイッチ31の第1接点32aは、内蔵用プリドライバ14の入力部14bと接続され、第2接点32bは外部用プリドライバ15の入力部15bと接続され、第3接点32cはいずれにも接続されていない。コンパレータ33の非反転入力端子33aは、カレントミラー回路41の出力側トランジスタ43のコレクタと閾値設定用抵抗46の一端との接続点に接続されている。コンパレータ33の第1反転入力端子33bは、第1電源34に接続され、第2反転入力端子33cは、第2電源35に接続されている。   FIG. 11 is an electric circuit diagram showing a simplified configuration of the driver switching device 50 according to the fourth embodiment of the present invention. In the present embodiment, only the driver switching device 50 when the built-in driver is driven is shown for easy understanding. When the external driver is driven, the external driver 22 is connected to the third terminal 20 of the IC 7 as in the driver switching device 1 shown in FIG. In the present embodiment, similarly to the second embodiment described above, a three-contact changeover switch 31 including a first contact 32a, a second contact 32b, and a third contact 32c is replaced with an IC 7 instead of a two-contact changeover switch. Provided. In the present embodiment, as in the second embodiment described above, the comparator 33 is provided in the IC 7 instead of the inverter 17. The first contact 32a of the changeover switch 31 is connected to the input unit 14b of the built-in predriver 14, the second contact 32b is connected to the input unit 15b of the external predriver 15, and the third contact 32c is connected to both. It has not been. The non-inverting input terminal 33 a of the comparator 33 is connected to a connection point between the collector of the output-side transistor 43 of the current mirror circuit 41 and one end of the threshold setting resistor 46. The first inverting input terminal 33 b of the comparator 33 is connected to the first power supply 34, and the second inverting input terminal 33 c is connected to the second power supply 35.

本実施の形態のコンパレータ33は、非反転入力端子33aに入力される前記グランド端子21に流れる電流に対応する信号に基づいて、切換スイッチ31のスイッチング態様を切換えるための信号を出力する。本実施の形態では、コンパレータ33の出力端子33dから出力される信号に基づいて、切換スイッチ31のスイッチ片32が、第1接点32a〜第3接点32cのうちいずれか1つと接続されてオン(ON)状態となるように、スイッチング態様を切換え可能に構成されている。スイッチ片32が第1接点32aに接続されると、内蔵MOSFET16が駆動される内蔵ドライバ駆動状態に設定される。内蔵ドライバ駆動状態時のグランド端子21は、グランドに接続される。スイッチ片32が第2接点32bに接続されると、外部MOSFET22が駆動される外部ドライバ駆動状態に設定される。外部ドライバ駆動状態時のグランド端子21は、開放される。スイッチ片32が第3接点32cに接続されると、内蔵MOSFET16および外部MOSFET22の駆動が停止される駆動停止状態に設定される。前記駆動停止状態時のグランド端子21は、いわゆるプルダウン抵抗を介してグランドと接続される。   The comparator 33 according to the present embodiment outputs a signal for switching the switching mode of the changeover switch 31 based on a signal corresponding to the current flowing through the ground terminal 21 input to the non-inverting input terminal 33a. In the present embodiment, based on the signal output from the output terminal 33d of the comparator 33, the switch piece 32 of the changeover switch 31 is connected to any one of the first contact 32a to the third contact 32c and turned on ( ON) is configured so that the switching mode can be switched. When the switch piece 32 is connected to the first contact 32a, the built-in driver driving state in which the built-in MOSFET 16 is driven is set. The ground terminal 21 in the internal driver driving state is connected to the ground. When the switch piece 32 is connected to the second contact 32b, an external driver driving state in which the external MOSFET 22 is driven is set. The ground terminal 21 in the external driver driving state is opened. When the switch piece 32 is connected to the third contact 32c, the driving stop state is set in which the driving of the internal MOSFET 16 and the external MOSFET 22 is stopped. The ground terminal 21 in the drive stop state is connected to the ground via a so-called pull-down resistor.

次に、第4の実施の形態における内蔵ドライバ16と外部ドライバ22とを切換えて駆動させるドライバ切換方法について説明する。図12は、本発明の第4の実施の形態におけるドライバ切換方法の動作手順の一例を示すフローチャートである。図13は、本発明の第4の実施の形態におけるドライバ切換方法の動作手順の一例を示すフローチャートである。ドライバ切換方法の動作手順は、たとえば車両のイグニションスイッチがオンされたときに開始される。本実施の形態の第1閾値は、第2閾値よりも小さい値であるとする。図12のステップe1,e3、ステップe5〜e9、ステップe11,e12およびステップe14〜e16の各動作は、前述の図7に示すフローチャートのステップb1,b3、ステップb5〜b9、ステップb11,b12およびステップb14〜b16と同様の動作であるので、説明を省略する。また図13のステップf2,f3およびステップf5〜f7の各動作は、前述の図8に示すフローチャートのステップc2,c3およびステップc5〜c7と同様の動作であるので、説明を省略する。   Next, a driver switching method for switching and driving the built-in driver 16 and the external driver 22 in the fourth embodiment will be described. FIG. 12 is a flowchart showing an example of the operation procedure of the driver switching method according to the fourth embodiment of the present invention. FIG. 13 is a flowchart illustrating an example of an operation procedure of the driver switching method according to the fourth embodiment of the present invention. The operation procedure of the driver switching method is started when, for example, the ignition switch of the vehicle is turned on. It is assumed that the first threshold value in the present embodiment is a value smaller than the second threshold value. The operations of steps e1, e3, steps e5-e9, steps e11, e12 and steps e14-e16 in FIG. 12 are the same as steps b1, b3, steps b5-b9, steps b11, b12 in the flowchart shown in FIG. Since this is the same operation as steps b14 to b16, the description is omitted. 13 are the same as steps c2 and c3 and steps c5 to c7 in the flowchart shown in FIG. 8, and thus the description thereof is omitted.

ステップe2では、コンパレータ33が、グランド端子21に流れる電流が第2閾値以上であるか否かを判断し、第2閾値以上であればステップe3に進み、第2閾値以上でなければステップe4に進む。ステップe4では、コンパレータ33が、グランド端子21に流れる電流が第1閾値未満であるか否かを判断し、第1閾値未満であればステップe5に進み、第1閾値以上であればグランド端子21に流れる電流が第1閾値以上第2閾値未満であると判断し、ステップe7に進む。ステップe10では、コンパレータ33がステップe2と同様の判断をし、グランド端子21に流れる電流が第2閾値以上であればステップe11に進み、第2閾値以上でなければステップe13に進む。ステップe13では、コンパレータ33がステップe4と同様の判断をし、グランド端子21に流れる電流が第1閾値未満であればステップe14に進み、第1閾値以上であればグランド端子21に流れる電流が第1閾値以上第2閾値未満であると判断し、ステップe15に進む。またステップe9において、外部用プリドライバ15が、外部ドライバ22が駆動していないと判断した場合、図13のステップf1に進む。図13のステップf1では、コンパレータ33が、グランド端子21に流れる電流が第2閾値以上であるか否かを判断し、第2閾値以上であればステップf2に進み、第2閾値以上でなければステップf4に進む。ステップf4では、コンパレータ33が、グランド端子21に流れる電流が第1閾値未満であるか否かを判断し、第1閾値未満であればステップf5に進み、第1閾値以上であればグランド端子21に流れる電流が第1閾値以上第2閾値未満であると判断し、ステップf7に進む。   In step e2, the comparator 33 determines whether or not the current flowing through the ground terminal 21 is equal to or greater than the second threshold value. If it is equal to or greater than the second threshold value, the process proceeds to step e3. move on. In step e4, the comparator 33 determines whether or not the current flowing through the ground terminal 21 is less than the first threshold value. If it is less than the first threshold value, the process proceeds to step e5. Is determined to be less than or equal to the first threshold and less than the second threshold, and the process proceeds to step e7. In step e10, the comparator 33 makes the same determination as in step e2. If the current flowing through the ground terminal 21 is equal to or greater than the second threshold value, the process proceeds to step e11. If not, the process proceeds to step e13. In step e13, the comparator 33 makes the same determination as in step e4. If the current flowing through the ground terminal 21 is less than the first threshold value, the process proceeds to step e14. It is determined that it is greater than or equal to one threshold value and less than the second threshold value, and the process proceeds to step e15. In step e9, if the external pre-driver 15 determines that the external driver 22 is not driven, the process proceeds to step f1 in FIG. In step f1 of FIG. 13, the comparator 33 determines whether or not the current flowing through the ground terminal 21 is greater than or equal to the second threshold. If it is greater than or equal to the second threshold, the process proceeds to step f2, and if not greater than the second threshold. Proceed to step f4. In step f4, the comparator 33 determines whether or not the current flowing through the ground terminal 21 is less than the first threshold value. If it is less than the first threshold value, the process proceeds to step f5. Is determined to be less than or equal to the first threshold and less than the second threshold, and the process proceeds to step f7.

前述のように第4の実施の形態によれば、グランド端子21に流れる電流が第1閾値未満であるとき、外部MOSFET22が駆動されていればそのまま駆動させ、内蔵MOSFET16が駆動されていれば外部ドライバ駆動状態へ切換える設定をして外部MOSFET22を駆動させ、駆動停止状態であれば外部ドライバ駆動状態へ切換える設定をして外部MOSFET22を駆動させる。グランド端子21に流れる電流が第2閾値以上であるとき、内蔵MOSFET16が駆動されていればそのまま駆動させ、外部MOSFET22が駆動されていれば内蔵ドライバ駆動状態へ切換える設定をして内蔵MOSFET16を駆動させ、駆動停止状態であれば内蔵ドライバ駆動状態へ切換える設定をして、内蔵MOSFET16を駆動させる。またグランド端子21に流れる電流が第1閾値以上第2閾値未満であるとき、内蔵および外部MOSFET16,22の駆動が停止していればそのまま駆動を停止させ、内蔵および外部MOSFET16,22のいずれか一方が駆動されていれば、駆動停止状態へ切換える設定をしてMOSFETの駆動を停止させる。   As described above, according to the fourth embodiment, when the current flowing through the ground terminal 21 is less than the first threshold value, if the external MOSFET 22 is driven, the external MOSFET 22 is driven as it is, and if the built-in MOSFET 16 is driven, the external MOSFET 22 is driven. The external MOSFET 22 is driven by setting to switch to the driver driving state, and the external MOSFET 22 is driven by setting to switch to the external driver driving state if the driving is stopped. When the current flowing through the ground terminal 21 is equal to or greater than the second threshold, if the built-in MOSFET 16 is driven, the built-in MOSFET 16 is driven as it is, and if the external MOSFET 22 is driven, the built-in driver driving state is set to drive the built-in MOSFET 16. If the drive is stopped, the internal MOSFET 16 is driven by setting to switch to the internal driver drive state. When the current flowing through the ground terminal 21 is not less than the first threshold value and less than the second threshold value, if the driving of the internal and external MOSFETs 16 and 22 is stopped, the driving is stopped as it is, and either the internal or external MOSFETs 16 or 22 is stopped. If is driven, the setting to switch to the drive stop state is made to stop the MOSFET drive.

前述のようにグランド端子21に流れる電流に応じて、内蔵ドライバ駆動状態または外部ドライバ駆動状態に設定することができるうえ、内蔵および外部ドライバの駆動停止状態に設定することもできるので、内蔵および外部MOSFET16,22のいずれも駆動させないようにする要求がある場合に即座に駆動停止状態に設定することができる。このようにグランド端子21に流れる電流に応じて、所望のドライバを駆動または駆動停止状態に即座に設定できるので、ノイズの発生原因および消費電流の増加を未然に防止することができる。   As described above, the built-in driver drive state or the external driver drive state can be set according to the current flowing through the ground terminal 21, and the built-in and external driver drive stop states can be set. When there is a request to drive neither of the MOSFETs 16 and 22, the driving stop state can be immediately set. As described above, since a desired driver can be immediately set to the drive or drive stop state in accordance with the current flowing through the ground terminal 21, it is possible to prevent the occurrence of noise and the increase in current consumption.

図14は、本発明の第5の実施の形態であるドライバ切換装置60の構成を簡略化して示す電気回路図であり、内蔵ドライバ駆動時の電気回路図である。図15は、ドライバ切換装置60の構成を簡略化して示す電気回路図であり、外部ドライバ駆動時の電気回路図である。以下に説明する本発明の第5〜第8の実施の形態のドライバ切換装置60,80,90,100は、非絶縁型降圧スイッチング電源回路(以下、「降圧スイッチング電源回路」という場合がある)によって構成される。以下の説明において、「ドライバ切換装置」を「降圧スイッチング電源回路」という場合がある。降圧スイッチング電源回路60は、スイッチング素子のスイッチングによって、出力電圧をバッテリに生じている電圧から所定の電圧へ向けて降圧する。降圧スイッチング電源回路は、昇圧スイッチング電源回路と同様、たとえば車両に搭載される乗員保護装置としてのエアバッグ装置に用いられる。   FIG. 14 is an electric circuit diagram showing a simplified configuration of the driver switching device 60 according to the fifth embodiment of the present invention, and is an electric circuit diagram when the built-in driver is driven. FIG. 15 is an electric circuit diagram showing a simplified configuration of the driver switching device 60, and is an electric circuit diagram when driving an external driver. Driver switching devices 60, 80, 90, and 100 according to fifth to eighth embodiments of the present invention described below are non-insulated step-down switching power supply circuits (hereinafter, sometimes referred to as “step-down switching power supply circuits”). Consists of. In the following description, the “driver switching device” may be referred to as a “step-down switching power supply circuit”. The step-down switching power supply circuit 60 steps down the output voltage from a voltage generated in the battery toward a predetermined voltage by switching of the switching element. Similar to the step-up switching power supply circuit, the step-down switching power supply circuit is used, for example, in an airbag device as an occupant protection device mounted on a vehicle.

まず内蔵ドライバ駆動時の降圧スイッチング電源回路60について説明する。降圧スイッチング電源回路60は、バッテリ2を含み、バッテリ2とIC61の第1端子62、およびIC61に内蔵される内蔵ドライバ67の電源端子(以下、単に「電源端子」という場合がある)65に接続されている。本実施の形態の内蔵ドライバ67は、スイッチング素子として機能するpチャネルMOS電界効果トランジスタ(Metal Oxide
Semiconductor Field Effect Transistor;略称:MOSFET)によって実現される。以下の説明では、内蔵ドライバ67を内蔵MOSFET67という場合がある。IC61は、信号源11、切換スイッチ12、内蔵用プリドライバ14、外部用プリドライバ15、およびインバータ17を含む。切換スイッチ12は、スイッチ片13、第1接点13aおよび第2接点13bを含む。IC61の第1端子62は、外部用プリドライバ15の電力供給部15aと接続されている。外部用プリドライバ15の入力部15bは、切換スイッチ12の第2接点13bと接続されている。外部用プリドライバ15の出力部15cは、IC61の第2端子63と接続されている。
First, the step-down switching power supply circuit 60 when the built-in driver is driven will be described. The step-down switching power supply circuit 60 includes the battery 2 and is connected to the battery 2, the first terminal 62 of the IC 61, and the power supply terminal (hereinafter sometimes simply referred to as “power supply terminal”) 65 of the built-in driver 67 built in the IC 61. Has been. The built-in driver 67 of this embodiment includes a p-channel MOS field effect transistor (Metal Oxide) that functions as a switching element.
This is realized by a semiconductor field effect transistor (abbreviation: MOSFET). In the following description, the internal driver 67 may be referred to as an internal MOSFET 67. The IC 61 includes a signal source 11, a changeover switch 12, a built-in predriver 14, an external predriver 15, and an inverter 17. The changeover switch 12 includes a switch piece 13, a first contact 13a, and a second contact 13b. The first terminal 62 of the IC 61 is connected to the power supply unit 15 a of the external pre-driver 15. The input unit 15 b of the external pre-driver 15 is connected to the second contact 13 b of the changeover switch 12. The output unit 15 c of the external pre-driver 15 is connected to the second terminal 63 of the IC 61.

また第1端子62は、内蔵用プリドライバ14の電力供給部14aと接続されている。内蔵用プリドライバ14の入力部14bは、切換スイッチ12の第1接点13aと接続されている。内蔵用プリドライバ14の出力部14cは、内蔵MOSFET67のゲートと接続されている。内蔵MOSFET67のドレインとインバータ17の入力端子17aとの接続点は、電源端子65と接続されている。内蔵MOSFET67のソースは、IC61の第3端子64と接続されている。切換スイッチ12は、パルス信号を発生する信号源11と接続されている。インバータ17は、入力される電源端子65の電圧に対応する信号に基づいて電源端子65の電圧を監視、換言すると前記電圧を検出し、切換スイッチ12のスイッチング態様を切換えるための信号を、出力端子17bから出力する。本実施の形態では、インバータ17の出力端子17bから出力される信号に基づいて、切換スイッチ12のスイッチ片13が、第1接点13aおよび第2接点13bのいずれか一方と接続されてオン(ON)状態となるように、スイッチング態様を切換え可能に構成されている。スイッチ片13が第1接点13aと接続されている場合、内蔵MOSFET67が駆動される。   The first terminal 62 is connected to the power supply unit 14 a of the built-in pre-driver 14. The input part 14 b of the built-in pre-driver 14 is connected to the first contact 13 a of the changeover switch 12. The output part 14 c of the built-in pre-driver 14 is connected to the gate of the built-in MOSFET 67. A connection point between the drain of the built-in MOSFET 67 and the input terminal 17 a of the inverter 17 is connected to the power supply terminal 65. The source of the built-in MOSFET 67 is connected to the third terminal 64 of the IC 61. The changeover switch 12 is connected to a signal source 11 that generates a pulse signal. The inverter 17 monitors the voltage of the power supply terminal 65 based on a signal corresponding to the voltage of the input power supply terminal 65, in other words, detects the voltage and outputs a signal for switching the switching mode of the changeover switch 12 to the output terminal. Output from 17b. In the present embodiment, based on a signal output from the output terminal 17b of the inverter 17, the switch piece 13 of the changeover switch 12 is connected to one of the first contact 13a and the second contact 13b and turned on (ON). ) So that the switching mode can be switched. When the switch piece 13 is connected to the first contact 13a, the built-in MOSFET 67 is driven.

第3端子64と出力端子6との間には、コイル3が接続されている。コイル3の一端にはダイオード4のカソードが接続され、ダイオード4のアノードはグランドに接続されている。ダイオード4のカソードとコイル3の一端との接続点は、第3端子64に接続されている。コイル3の他端にはコンデンサ5が接続されている。コンデンサ5の正極端子とコイル3の他端との接続点は、出力端子6に接続され、コンデンサ5の負極端子はグランドに接続されている。   The coil 3 is connected between the third terminal 64 and the output terminal 6. One end of the coil 3 is connected to the cathode of the diode 4 and the anode of the diode 4 is connected to the ground. A connection point between the cathode of the diode 4 and one end of the coil 3 is connected to the third terminal 64. A capacitor 5 is connected to the other end of the coil 3. A connection point between the positive terminal of the capacitor 5 and the other end of the coil 3 is connected to the output terminal 6, and a negative terminal of the capacitor 5 is connected to the ground.

次に外部ドライバ駆動時の降圧スイッチング電源回路60について説明する。切換スイッチ12のスイッチ片13が第2接点13bと接続されると、IC61に接続される外部ドライバ68が駆動される。本実施の形態の外部ドライバ68は、スイッチング素子として機能するpチャネルMOSFETによって実現される。以下の説明では、外部ドライバ68を外部MOSFET68という場合がある。外部MOSFET68の駆動時、第2端子63は、図15に示すように外部MOSFET68のゲートと接続される。外部MOSFET68のドレインは、バッテリ2に接続され、外部MOSFET68のソースは、ダイオード4のカソードに接続される。外部MOSFET68のソースとダイオード4のカソードとの接続点は、コイル3の一端に接続される。電源端子65はグランドに接続される。降圧スイッチング電源回路においても、前述の昇圧スイッチング電源回路と同様に、前記内蔵MOSFET67および外部MOSFET68(以下、「MOSFET」と総称する場合がある)のドレインとソースとの間には、破壊防止用ダイオード23が接続されている。さらに述べると破壊防止用ダイオード23のアノードは、MOSFETのソースと接続され、破壊防止用ダイオード23のカソードはMOSFETのドレインと接続されている。これによってMOSFETが破壊されることを防止している。   Next, the step-down switching power supply circuit 60 when driving an external driver will be described. When the switch piece 13 of the changeover switch 12 is connected to the second contact 13b, the external driver 68 connected to the IC 61 is driven. The external driver 68 of the present embodiment is realized by a p-channel MOSFET that functions as a switching element. In the following description, the external driver 68 may be referred to as an external MOSFET 68. When the external MOSFET 68 is driven, the second terminal 63 is connected to the gate of the external MOSFET 68 as shown in FIG. The drain of the external MOSFET 68 is connected to the battery 2, and the source of the external MOSFET 68 is connected to the cathode of the diode 4. A connection point between the source of the external MOSFET 68 and the cathode of the diode 4 is connected to one end of the coil 3. The power terminal 65 is connected to the ground. Also in the step-down switching power supply circuit, as in the case of the step-up switching power supply circuit described above, a diode for preventing breakdown is provided between the drain and the source of the internal MOSFET 67 and the external MOSFET 68 (hereinafter may be collectively referred to as “MOSFET”). 23 is connected. More specifically, the anode of the breakdown preventing diode 23 is connected to the source of the MOSFET, and the cathode of the breakdown preventing diode 23 is connected to the drain of the MOSFET. This prevents the MOSFET from being destroyed.

切換スイッチ12のスイッチ片13が第1接点13aと接続されている場合、信号源11から出力されるパルス信号は、内蔵用プリドライバ14の入力部14bに入力する。内蔵用プリドライバ14は、バッテリ2から電力が供給されると、内蔵用プリドライバ14の出力部14cからハイ(High)レベルまたはロー(Low)レベルの信号を出力する。前記出力部14cから出力された信号は、内蔵MOSFET67のゲートに入力される。内蔵MOSFET67は、入力される信号に基づいて、導通および遮断を繰返すスイッチング動作をする。降圧スイッチング電源回路60では、入力された直流電圧信号を、内蔵MOSFET67などのスイッチング素子によるスイッチング動作によって方形波に変換し、その方形波を、ローパスフィルタを用いて平滑して直流電圧信号を出力する。本実施の形態のローパスフィルタは、コイル3およびコンデンサ5によって構成されるLC型ローパスフィルタである。内蔵MOSFET67が導通状態であるとき、コイル3に電流が流れ、コンデンサ5は充電されて出力端子6の電圧は上昇する。内蔵MOSFET67が導通状態から遮断状態に変化すると、コイル3へのバッテリ2側からの電流供給が無くなり、コイル3に蓄積された電気エネルギーがダイオード4を経由して出力端子6に供給される。コンデンサ5に蓄積された電荷も出力端子6に供給される。この結果、出力端子6の電圧は、バッテリ2の電圧よりも低下する。前記ダイオード4は、内蔵MOSFET67が遮断状態のとき、コイル3に蓄積された電流を流すためのフライホイールダイオードである。切換スイッチ12のスイッチ片13が第2接点13bと接続され、外部MOSFET68が駆動される場合の降圧スイッチング電源回路60の動作は、前述の内蔵MOSFET67が駆動される場合の動作と同様であるので、説明を省略する。   When the switch piece 13 of the changeover switch 12 is connected to the first contact 13 a, the pulse signal output from the signal source 11 is input to the input unit 14 b of the built-in pre-driver 14. When power is supplied from the battery 2, the built-in predriver 14 outputs a high level signal or a low level signal from the output unit 14 c of the built-in predriver 14. The signal output from the output unit 14 c is input to the gate of the built-in MOSFET 67. The built-in MOSFET 67 performs a switching operation that repeats conduction and interruption based on an input signal. In step-down switching power supply circuit 60, the input DC voltage signal is converted into a square wave by a switching operation by a switching element such as built-in MOSFET 67, and the square wave is smoothed using a low-pass filter and a DC voltage signal is output. . The low-pass filter of the present embodiment is an LC type low-pass filter configured by the coil 3 and the capacitor 5. When the built-in MOSFET 67 is conductive, a current flows through the coil 3, the capacitor 5 is charged, and the voltage at the output terminal 6 rises. When the built-in MOSFET 67 changes from the conductive state to the cut-off state, no current is supplied to the coil 3 from the battery 2 side, and the electrical energy accumulated in the coil 3 is supplied to the output terminal 6 via the diode 4. The electric charge accumulated in the capacitor 5 is also supplied to the output terminal 6. As a result, the voltage at the output terminal 6 is lower than the voltage at the battery 2. The diode 4 is a flywheel diode for allowing the current accumulated in the coil 3 to flow when the built-in MOSFET 67 is in a cut-off state. The operation of the step-down switching power supply circuit 60 when the switch piece 13 of the changeover switch 12 is connected to the second contact 13b and the external MOSFET 68 is driven is the same as the operation when the built-in MOSFET 67 is driven. Description is omitted.

次に、第5の実施の形態における内蔵ドライバ67と外部ドライバ68とを切換えて駆動させるドライバ切換方法について説明する。図16は、本発明の第5の実施の形態におけるドライバ切換方法の動作手順の一例を示すフローチャートである。ドライバ切換方法の動作手順は、たとえば車両のイグニションスイッチがオンされたときに開始される。本実施の形態におけるドライバ切換方法は、前記第1の実施の形態におけるドライバ切換方法に類似している。第1の実施の形態では、グランド端子21の電圧に応じて内蔵MOSFET16と外部MOSFET22とを切換えて駆動させているのに対して、本実施の形態では、電源端子65の電圧に応じて内蔵MOSFET67と外部MOSFET68とを切換えて駆動させている。図16のステップg1、ステップg3〜g6およびステップg8,g9の各動作は、前述の図3に示すフローチャートのステップa1,ステップa3〜a6およびステップa8,a9と同様の動作であるので、説明を省略する。ステップg2では、インバータ17が、電源端子65の電圧が閾値以上であるか否かを判断し、閾値以上であればステップg3に進み、閾値未満であればステップg4に進む。ステップg7では、インバータ17が、電源端子65の電圧が閾値以上であるか否かを判断し、閾値以上であればステップg8に進み、閾値未満であればステップg5に進む。   Next, a driver switching method for switching and driving the built-in driver 67 and the external driver 68 in the fifth embodiment will be described. FIG. 16 is a flowchart showing an example of the operation procedure of the driver switching method according to the fifth embodiment of the present invention. The operation procedure of the driver switching method is started when, for example, the ignition switch of the vehicle is turned on. The driver switching method in the present embodiment is similar to the driver switching method in the first embodiment. In the first embodiment, the built-in MOSFET 16 and the external MOSFET 22 are switched and driven according to the voltage of the ground terminal 21, whereas in the present embodiment, the built-in MOSFET 67 is driven according to the voltage of the power supply terminal 65. And the external MOSFET 68 are switched and driven. Each operation of step g1, steps g3 to g6 and steps g8 and g9 in FIG. 16 is the same as step a1, steps a3 to a6 and steps a8 and a9 of the flowchart shown in FIG. Omitted. In step g2, the inverter 17 determines whether or not the voltage at the power supply terminal 65 is equal to or higher than the threshold value. If the voltage is equal to or higher than the threshold value, the process proceeds to step g3. In step g7, the inverter 17 determines whether or not the voltage at the power supply terminal 65 is equal to or higher than the threshold value. If the voltage is equal to or higher than the threshold value, the process proceeds to step g8.

前述のように第5の実施の形態によれば、インバータ17によって電源端子65の電圧を監視し、電源端子65とバッテリ2とが接続され、電源端子65の電圧が閾値以上であるとき、内蔵MOSFET67が駆動されていればそのまま駆動させ、外部MOSFET68が駆動されていれば外部MOSFET68から内蔵MOSFET67へ切換えて内蔵MOSFET67を駆動させる。電源端子65がグランドに接続され、電源端子65の電圧が閾値未満であるとき、外部MOSFET68が駆動されていればそのまま駆動させ、内蔵MOSFET67が駆動されていれば内蔵MOSFET67から外部MOSFET68へ切換えて外部MOSFET68を駆動させる。前述のように本実施の形態では、IC61に設けられている電源端子65の電圧に応じて、内蔵MOSFET67および外部MOSFET68のいずれか一方を他方に切換えて駆動させることができる。したがって前記従来の技術のようにドライバ切換専用の端子をIC61に新たに設けて、内蔵MOSFET67と外部MOSFET68とを切換える方法とは異なり、ドライバ切換専用の端子をIC61に新たに設ける必要がないので、IC61に設けられる部品点数を増やすことなく、内蔵MOSFET67および外部MOSFET68のいずれか一方を他方に切換えて駆動させることができる。   As described above, according to the fifth embodiment, the voltage at the power supply terminal 65 is monitored by the inverter 17, and the power supply terminal 65 and the battery 2 are connected. If the MOSFET 67 is driven, it is driven as it is, and if the external MOSFET 68 is driven, the external MOSFET 68 is switched to the built-in MOSFET 67 to drive the built-in MOSFET 67. When the power supply terminal 65 is connected to the ground and the voltage of the power supply terminal 65 is less than the threshold value, if the external MOSFET 68 is driven, it is driven as it is, and if the built-in MOSFET 67 is driven, the built-in MOSFET 67 is switched to the external MOSFET 68 The MOSFET 68 is driven. As described above, according to the present embodiment, either the built-in MOSFET 67 or the external MOSFET 68 can be switched to the other and driven in accordance with the voltage of the power supply terminal 65 provided in the IC 61. Therefore, unlike the conventional technique in which a dedicated driver switching terminal is newly provided in the IC 61 and the built-in MOSFET 67 and the external MOSFET 68 are switched, there is no need to newly provide a dedicated driver switching terminal in the IC 61. Without increasing the number of components provided in the IC 61, either the built-in MOSFET 67 or the external MOSFET 68 can be switched to the other and driven.

また内蔵MOSFET67および外部MOSFET68のいずれか一方を他方に切換えて駆動させることができるので、内蔵MOSFET67を駆動させているとき、図14に矢符Cで示す貫通電流などの不要な電流が、外部MOSFET68を駆動させるための外部用プリドライバ15に流れることを防ぐことができる。また外部MOSFET68を駆動させているとき、図15に矢符Dで示す貫通電流などの不要な電流が、内蔵MOSFET67を駆動させるための内蔵用プリドライバ14に流れることを防ぐことができる。これによって不要な電流に起因するノイズの発生および消費電流の増加などの不具合の発生を抑制することができる。   Further, since either the internal MOSFET 67 or the external MOSFET 68 can be switched to the other and driven, when the internal MOSFET 67 is driven, an unnecessary current such as a through current indicated by an arrow C in FIG. Can be prevented from flowing to the external pre-driver 15 for driving. Further, when the external MOSFET 68 is driven, unnecessary current such as a through current indicated by an arrow D in FIG. 15 can be prevented from flowing to the built-in pre-driver 14 for driving the built-in MOSFET 67. As a result, it is possible to suppress the occurrence of problems such as the occurrence of noise due to unnecessary current and an increase in current consumption.

図17は、ドライバ切換装置60の構成を簡略化して示す電気回路図である。図18は、ドライバ切換装置60の構成を簡略化して示す電気回路図である。前述の図14に示すように、内蔵MOSFET67の駆動時には、電源端子65がバッテリ2に接続されている。内蔵MOSFET67の駆動時に、電源端子65が、はんだの接触不良および断線などによって開放されると、電源端子65の電圧が下降し、切換スイッチ12のスイッチ片13が、第1接点13aとの接続状態から第2接点13bとの接続状態に切換わる。これによって内蔵MOSFET67の駆動状態から外部MOSFET68の駆動状態に切換わる。外部MOSFET68の駆動状態に切換わると、内蔵MOSFET67はオフ状態となり、これによって電源端子65の電圧が上昇して、外部MOSFET68の駆動状態から内蔵MOSFET67の駆動状態に切換わる。そして再び内蔵MOSFET67が駆動するというように、電源端子65が開放されることによって電源端子65の電圧が不安定になり、前述のようなMOSFETの切換動作の異常が引起され、不要なノイズが発生するなどの不具合が生じる。   FIG. 17 is an electric circuit diagram showing a simplified configuration of the driver switching device 60. FIG. 18 is an electric circuit diagram showing a simplified configuration of the driver switching device 60. As shown in FIG. 14 described above, the power supply terminal 65 is connected to the battery 2 when the internal MOSFET 67 is driven. When the built-in MOSFET 67 is driven, if the power supply terminal 65 is opened due to poor solder contact or disconnection, the voltage of the power supply terminal 65 drops, and the switch piece 13 of the changeover switch 12 is connected to the first contact 13a. Is switched to the connection state with the second contact 13b. As a result, the driving state of the built-in MOSFET 67 is switched to the driving state of the external MOSFET 68. When switching to the driving state of the external MOSFET 68, the built-in MOSFET 67 is turned off, whereby the voltage at the power supply terminal 65 rises, and the driving state of the external MOSFET 68 is switched to the driving state of the built-in MOSFET 67. Then, as the built-in MOSFET 67 is driven again, the voltage at the power supply terminal 65 becomes unstable due to the opening of the power supply terminal 65, causing the abnormal switching operation of the MOSFET as described above, and generating unnecessary noise. Troubles such as doing.

そこで本実施の形態では、電源端子65、グランド間に、図17に示すように抵抗70を設けている。具体的には、抵抗70の一端が電源端子65に接続され、抵抗70の他端がグランドに接続されている。このように電源端子65、グランド間に抵抗70を設けることによって、電源端子65が開放される不具合が生じた場合でも、電源端子65の電圧を安定化させることができる。換言すると、電源端子65の電圧が不安定になり、内蔵MOSFET67および外部MOSFET68のいずれか一方から他方への切換わりが異常になること、つまり不所望に内蔵MOSFET67および外部MOSFET68のいずれか一方から他方へ切換わることを防ぐことができる。   Therefore, in this embodiment, a resistor 70 is provided between the power supply terminal 65 and the ground as shown in FIG. Specifically, one end of the resistor 70 is connected to the power supply terminal 65, and the other end of the resistor 70 is connected to the ground. By providing the resistor 70 between the power supply terminal 65 and the ground in this way, the voltage of the power supply terminal 65 can be stabilized even when a problem that the power supply terminal 65 is opened occurs. In other words, the voltage at the power supply terminal 65 becomes unstable, and the switching from one of the built-in MOSFET 67 and the external MOSFET 68 to the other becomes abnormal. Can be prevented.

また本実施の形態において、前述のような電源端子65の電圧が不安定になり、MOSFETの切換動作の異常が引起されて不要なノイズが発生するという不具合を防ぐために、内蔵MOSFET67の電源端子65、グランド間に、図18に示すように電流源71を設けてもよい。具体的には、電流源71の一端が電源端子65に接続され、電流源71の他端がグランドに接続されている。これによって電源端子65の電位を一定にすることができる。したがって電源端子65の電圧を安定化させることができ、前述の図17に示すように抵抗70を設ける場合と同様の効果を達成することができる。   Further, in the present embodiment, in order to prevent such a problem that the voltage at the power supply terminal 65 becomes unstable and an abnormal switching operation of the MOSFET is caused and unnecessary noise is generated, the power supply terminal 65 of the built-in MOSFET 67 is prevented. A current source 71 may be provided between the grounds as shown in FIG. Specifically, one end of the current source 71 is connected to the power supply terminal 65, and the other end of the current source 71 is connected to the ground. As a result, the potential of the power supply terminal 65 can be made constant. Therefore, the voltage of the power supply terminal 65 can be stabilized, and the same effect as the case where the resistor 70 is provided as shown in FIG. 17 can be achieved.

図19は、本発明の第6の実施の形態であるドライバ切換装置80の構成を簡略化して示す電気回路図である。本実施の形態では、理解を容易にするために内蔵ドライバ駆動時のドライバ切換装置80のみを示している。外部ドライバ駆動時は、前述の図15に示すドライバ切換装置60と同様に、IC61の第2端子63に外部ドライバ68が接続される。本実施の形態では、前述の第5の実施の形態の2接点の切換スイッチ12に代えて、3接点の切換スイッチ31を設けている。切換スイッチ31は、スイッチ片32、第1接点32a、第2接点32bおよび第3接点32cを含む。また本実施の形態では、前述の第5の実施の形態のインバータ17に代えてコンパレータ33を設けている。切換スイッチ31の第1接点32aは、内蔵用プリドライバ14の入力部14bと接続され、第2接点32bは外部用プリドライバ15の入力部15bと接続され、第3接点32cはいずれにも接続されていない。コンパレータ33の非反転入力端子33aと内蔵MOSFET67のドレインとの接続点は、電源端子65に接続されている。コンパレータ33の第1反転入力端子33bは、第1電源34に接続され、第2反転入力端子33cは、第2電源35に接続されている。   FIG. 19 is an electric circuit diagram showing a simplified configuration of a driver switching device 80 according to the sixth embodiment of the present invention. In the present embodiment, only the driver switching device 80 when the built-in driver is driven is shown for easy understanding. When the external driver is driven, the external driver 68 is connected to the second terminal 63 of the IC 61 in the same manner as the driver switching device 60 shown in FIG. In this embodiment, a three-contact selector switch 31 is provided instead of the two-contact selector switch 12 of the fifth embodiment. The changeover switch 31 includes a switch piece 32, a first contact 32a, a second contact 32b, and a third contact 32c. In the present embodiment, a comparator 33 is provided instead of the inverter 17 of the fifth embodiment described above. The first contact 32a of the changeover switch 31 is connected to the input unit 14b of the built-in predriver 14, the second contact 32b is connected to the input unit 15b of the external predriver 15, and the third contact 32c is connected to both. It has not been. A connection point between the non-inverting input terminal 33 a of the comparator 33 and the drain of the built-in MOSFET 67 is connected to the power supply terminal 65. The first inverting input terminal 33 b of the comparator 33 is connected to the first power supply 34, and the second inverting input terminal 33 c is connected to the second power supply 35.

本実施の形態のコンパレータ33は、電源端子65の電圧を監視し、電源端子65の電圧に対応する信号に基づいて、切換スイッチ31のスイッチング態様を切換えるための信号を、出力端子33dから出力する。本実施の形態では、コンパレータ33の出力端子33dから出力される信号に基づいて、切換スイッチ31のスイッチ片32が、第1接点32a〜第3接点32cのうちいずれか1つと接続されてオン(ON)状態となるように、スイッチング態様を切換え可能に構成されている。スイッチ片32が第1接点32aに接続されると、内蔵MOSFET67が駆動される内蔵ドライバ駆動状態に設定される。スイッチ片32が第2接点32bに接続されると、外部MOSFET68が駆動される外部ドライバ駆動状態に設定される。スイッチ片32が第3接点32cに接続されると、内蔵MOSFET67および外部MOSFET68の駆動が停止される駆動停止状態に設定される。   The comparator 33 according to the present embodiment monitors the voltage of the power supply terminal 65 and outputs a signal for switching the switching mode of the changeover switch 31 from the output terminal 33d based on a signal corresponding to the voltage of the power supply terminal 65. . In the present embodiment, based on the signal output from the output terminal 33d of the comparator 33, the switch piece 32 of the changeover switch 31 is connected to any one of the first contact 32a to the third contact 32c and turned on ( ON) is configured so that the switching mode can be switched. When the switch piece 32 is connected to the first contact 32a, the built-in driver driving state in which the built-in MOSFET 67 is driven is set. When the switch piece 32 is connected to the second contact 32b, the external driver driving state in which the external MOSFET 68 is driven is set. When the switch piece 32 is connected to the third contact 32c, the driving stop state is set in which the driving of the built-in MOSFET 67 and the external MOSFET 68 is stopped.

次に、第6の実施の形態における内蔵ドライバ67と外部ドライバ68とを切換えて駆動させるドライバ切換方法について説明する。図20は、本発明の第6の実施の形態におけるドライバ切換方法の動作手順の一例を示すフローチャートである。図21は、本発明の第6の実施の形態におけるドライバ切換方法の動作手順の一例を示すフローチャートである。図20および図21に示すドライバ切換方法の動作手順は、たとえば車両のイグニションスイッチがオンされたときに開始される。本実施の形態におけるドライバ切換方法は、前記第2の実施の形態におけるドライバ切換方法に類似している。第2の実施の形態では、グランド端子21の電圧に応じて内蔵MOSFET16と外部MOSFET22とを切換えて駆動させているのに対して、本実施の形態では、電源端子65の電圧に応じて内蔵MOSFET67と外部MOSFET68とを切換えて駆動させている。図20のステップh1,h3、ステップh5〜h9、ステップh11,h12およびステップh14〜h16の各動作は、前述の図7に示すフローチャートのステップb1,b3、ステップb5〜b9、ステップb11,b12およびステップb14〜b16と同様の動作であるので、説明を省略する。また図21のステップk2,k3およびステップk5〜k7の各動作は、前述の図8に示すフローチャートのステップc2,c3およびステップc5〜c7と同様の動作であるので、説明を省略する。本実施の形態の第1閾値は、バッテリ電圧の1/3に相当する値であり、第2閾値はバッテリ電圧の2/3に相当する値であるとする。   Next, a driver switching method for switching and driving the internal driver 67 and the external driver 68 in the sixth embodiment will be described. FIG. 20 is a flowchart showing an example of an operation procedure of the driver switching method according to the sixth embodiment of the present invention. FIG. 21 is a flowchart showing an example of the operation procedure of the driver switching method according to the sixth embodiment of the present invention. The operation procedure of the driver switching method shown in FIGS. 20 and 21 is started, for example, when the ignition switch of the vehicle is turned on. The driver switching method in the present embodiment is similar to the driver switching method in the second embodiment. In the second embodiment, the built-in MOSFET 16 and the external MOSFET 22 are switched and driven according to the voltage of the ground terminal 21, whereas in the present embodiment, the built-in MOSFET 67 is driven according to the voltage of the power supply terminal 65. And the external MOSFET 68 are switched and driven. Steps h1, h3, steps h5-h9, steps h11, h12 and steps h14-h16 in FIG. 20 are the same as steps b1, b3, steps b5-b9, steps b11, b12 in the flowchart shown in FIG. Since this is the same operation as steps b14 to b16, the description thereof is omitted. 21 are the same as steps c2 and c3 and steps c5 to c7 in the flowchart shown in FIG. 8, and thus the description thereof is omitted. In the present embodiment, the first threshold value is a value corresponding to 1/3 of the battery voltage, and the second threshold value is a value corresponding to 2/3 of the battery voltage.

ステップh2では、コンパレータ33が、電源端子65の電圧が第2閾値以上であるか否かを判断し、第2閾値以上であればステップh3に進み、第2閾値以上でなければステップh4に進む。ステップh4では、コンパレータ33が、電源端子65の電圧が第1閾値未満であるか否かを判断し、第1閾値未満であればステップh5に進み、第1閾値以上であれば電源端子65の電圧が第1閾値以上第2閾値未満であると判断し、ステップh7に進む。ステップh10では、コンパレータ33が電源端子65の電圧が第2閾値以上であるか否かを判断し、第2閾値以上であればステップh11に進み、第2閾値以上でなければステップh13に進む。ステップh13では、コンパレータ33が電源端子65の電圧が第1閾値未満であるか否かを判断し、第1閾値未満であればステップh14に進み、第1閾値以上であれば電源端子65の電圧が第1閾値以上第2閾値未満であると判断し、ステップh15に進む。またステップh9において、外部用プリドライバ15が、外部ドライバ68が駆動していないと判断した場合、図21のステップk1に進む。図21のステップk1では、コンパレータ33が、電源端子65の電圧が第2閾値以上であるか否かを判断し、第2閾値以上であればステップk2に進み、第2閾値以上でなければステップk4に進む。ステップk4では、コンパレータ33が、電源端子65の電圧が第1閾値未満であるか否かを判断し、第1閾値未満であればステップk5に進み、第1閾値以上であれば電源端子65の電圧が第1閾値以上第2閾値未満であると判断し、ステップk7に進む。   In step h2, the comparator 33 determines whether or not the voltage of the power supply terminal 65 is equal to or higher than the second threshold value. If the voltage is equal to or higher than the second threshold value, the process proceeds to step h3. . In step h4, the comparator 33 determines whether or not the voltage of the power supply terminal 65 is less than the first threshold value. If the voltage is less than the first threshold value, the process proceeds to step h5. It is determined that the voltage is greater than or equal to the first threshold value and less than the second threshold value, and the process proceeds to step h7. In step h10, the comparator 33 determines whether or not the voltage at the power supply terminal 65 is equal to or higher than the second threshold value. If the voltage is equal to or higher than the second threshold value, the process proceeds to step h11. In step h13, the comparator 33 determines whether or not the voltage at the power supply terminal 65 is less than the first threshold value. If it is less than the first threshold value, the process proceeds to step h14. Is greater than or equal to the first threshold value and less than the second threshold value, the process proceeds to step h15. In step h9, if the external pre-driver 15 determines that the external driver 68 is not driven, the process proceeds to step k1 in FIG. In step k1 of FIG. 21, the comparator 33 determines whether or not the voltage of the power supply terminal 65 is equal to or higher than the second threshold value. Proceed to k4. In step k4, the comparator 33 determines whether or not the voltage at the power supply terminal 65 is less than the first threshold value. If the voltage is less than the first threshold value, the process proceeds to step k5. It is determined that the voltage is greater than or equal to the first threshold and less than the second threshold, and the process proceeds to step k7.

前述のように第6の実施の形態によれば、電源端子65がグランドに接続され、電源端子65の電圧が第1閾値未満であるとき、外部MOSFET68が駆動されていればそのまま駆動させ、内蔵MOSFET67が駆動されていれば外部ドライバ駆動状態へ切換える設定をして外部MOSFET68を駆動させ、駆動停止状態であれば外部ドライバ駆動状態へ切換える設定をして外部MOSFET68を駆動させる。電源端子65とバッテリ2とが接続され、電源端子65の電圧が第2閾値以上であるとき、内蔵MOSFET67が駆動されていればそのまま駆動させ、外部MOSFET68が駆動されていれば内蔵ドライバ駆動状態へ切換える設定をして内蔵MOSFET67を駆動させ、駆動停止状態であれば内蔵ドライバ駆動状態へ切換える設定をして内蔵MOSFET67を駆動させる。また電源端子65の電圧が第1閾値以上第2閾値未満であるとき、内蔵MOSFET67および外部MOSFET68の駆動が停止していればそのまま駆動を停止させ、内蔵MOSFET67および外部MOSFET68のいずれか一方が駆動されていれば、駆動停止状態へ切換える設定をしてMOSFETの駆動を停止させる。前述のように電源端子65の電圧に応じて、内蔵ドライバ駆動状態または外部ドライバ駆動状態に設定することができるうえ、内蔵および外部ドライバの駆動停止状態に設定することもできるので、内蔵および外部MOSFET67,68のいずれも駆動させないようにする要求がある場合に即座に駆動停止状態にすることができる。このように電源端子65の電圧に応じて、所望のドライバを駆動または駆動停止状態に即座に設定できるので、ノイズの発生原因および消費電流の増加を未然に防止することができる。   As described above, according to the sixth embodiment, when the power supply terminal 65 is connected to the ground and the voltage of the power supply terminal 65 is less than the first threshold, if the external MOSFET 68 is driven, the external MOSFET 68 is driven as it is. If the MOSFET 67 is driven, the external MOSFET 68 is driven by setting to switch to the external driver driving state, and if the driving is stopped, the external MOSFET 68 is driven by setting to switch to the external driver driving state. When the power supply terminal 65 and the battery 2 are connected and the voltage of the power supply terminal 65 is equal to or higher than the second threshold value, the internal MOSFET 67 is driven as it is, and the external MOSFET 68 is driven to the internal driver drive state. The built-in MOSFET 67 is driven by setting to switch, and if the drive is stopped, the built-in MOSFET 67 is driven by setting to switch to the built-in driver drive state. When the voltage of the power supply terminal 65 is not less than the first threshold value and less than the second threshold value, if the driving of the internal MOSFET 67 and the external MOSFET 68 is stopped, the driving is stopped as it is, and either the internal MOSFET 67 or the external MOSFET 68 is driven. If so, the setting for switching to the drive stop state is made to stop the MOSFET drive. As described above, the built-in driver driving state or the external driver driving state can be set according to the voltage of the power supply terminal 65, and the built-in and external driver driving stopped states can be set. , 68 can be immediately stopped when there is a request to prevent them from being driven. As described above, since a desired driver can be immediately set to the drive or drive stop state in accordance with the voltage of the power supply terminal 65, the cause of noise and the increase in current consumption can be prevented in advance.

図22は、本発明の第7の実施の形態であるドライバ切換装置90の構成を簡略化して示す電気回路図である。本実施の形態では、理解を容易にするために内蔵ドライバ駆動時のドライバ切換装置90のみを示している。外部ドライバ駆動時は、前述の図15に示すドライバ切換装置60と同様に、IC61の第2端子63に外部ドライバ68が接続される。本実施の形態では、電源端子65の電圧に応じて内蔵ドライバ67と外部ドライバ68とを切換えて駆動させる前述の第5および第6の実施の形態とは異なり、電源端子65に流れる電流に応じて、内蔵ドライバ67と外部ドライバ68とを切換えて駆動させる。本実施の形態のIC61は、第5の実施の形態のIC61に含まれる回路素子に、さらにカレントミラー回路91、抵抗95および閾値設定用抵抗(以下、「閾値抵抗」という場合がある)96を備えて構成される。カレントミラー回路91は、一対のNPN型バイポーラトランジスタである入力側トランジスタ92および出力側トランジスタ93を含む。前記入力側トランジスタ92および出力側トランジスタ93のエミッタは、それぞれグランドに接続され、入力側トランジスタ92および出力側トランジスタ93のベースは共通接続されている。共通接続されているベースは、出力側トランジスタ93のコレクタに接続されている。入力側トランジスタ92のコレクタと閾値抵抗96の他端との接続点は、インバータ17の入力端子17aに接続されている。出力側トランジスタ93のコレクタ・エミッタ間に電流Jが流れると、出力側トランジスタ93のベース・エミッタ間電圧、および入力側トランジスタ92のベース・エミッタ間電圧が同一になり、入力側トランジスタ92のコレクタ・エミッタ間には、前記電流Jに比例した電流が流れる。   FIG. 22 is an electric circuit diagram showing a simplified configuration of the driver switching device 90 according to the seventh embodiment of the present invention. In the present embodiment, only the driver switching device 90 at the time of driving the built-in driver is shown for easy understanding. When the external driver is driven, the external driver 68 is connected to the second terminal 63 of the IC 61 in the same manner as the driver switching device 60 shown in FIG. In the present embodiment, unlike the above-described fifth and sixth embodiments in which the built-in driver 67 and the external driver 68 are switched and driven according to the voltage of the power supply terminal 65, according to the current flowing through the power supply terminal 65. Thus, the built-in driver 67 and the external driver 68 are switched and driven. The IC 61 of the present embodiment further includes a current mirror circuit 91, a resistor 95, and a threshold setting resistor (hereinafter also referred to as “threshold resistor”) 96 in addition to the circuit elements included in the IC 61 of the fifth embodiment. It is prepared for. The current mirror circuit 91 includes an input side transistor 92 and an output side transistor 93 which are a pair of NPN type bipolar transistors. The emitters of the input side transistor 92 and the output side transistor 93 are respectively connected to the ground, and the bases of the input side transistor 92 and the output side transistor 93 are commonly connected. The commonly connected bases are connected to the collector of the output side transistor 93. A connection point between the collector of the input side transistor 92 and the other end of the threshold resistor 96 is connected to the input terminal 17 a of the inverter 17. When the current J flows between the collector and emitter of the output side transistor 93, the base-emitter voltage of the output side transistor 93 and the base-emitter voltage of the input side transistor 92 become the same. A current proportional to the current J flows between the emitters.

出力側トランジスタ93のコレクタ、電源端子65間には抵抗95が接続されている。抵抗95を接続することによって、第5の実施の形態で説明したように、電源端子65が開放された場合でも、電源端子65の電圧を安定化させることができ、不所望に内蔵MOSFET67および外部MOSFET68のいずれか一方から他方へ切換わってしまうことを防ぐことができる。抵抗95の一端と内蔵MOSFET67のドレインとの接続点は、電源端子65に接続されている。入力側トランジスタ92のコレクタとインバータ17の入力端子17aとの接続点は、閾値抵抗96と接続されている。本実施の形態では、インバータ17が、電源端子65に流れる電流値と閾値抵抗96によって設定される閾値とを比較し、切換スイッチ12のスイッチング態様を切換えるための信号を、出力端子17bから出力する。本実施の形態では、前記出力端子17bから出力される信号に応じて、内蔵ドライバ67と外部ドライバ68とを切換えて駆動させる。   A resistor 95 is connected between the collector of the output side transistor 93 and the power supply terminal 65. By connecting the resistor 95, as described in the fifth embodiment, the voltage of the power supply terminal 65 can be stabilized even when the power supply terminal 65 is opened. Switching from one of the MOSFETs 68 to the other can be prevented. A connection point between one end of the resistor 95 and the drain of the built-in MOSFET 67 is connected to the power supply terminal 65. A connection point between the collector of the input side transistor 92 and the input terminal 17 a of the inverter 17 is connected to the threshold resistance 96. In the present embodiment, the inverter 17 compares the value of the current flowing through the power supply terminal 65 with the threshold set by the threshold resistor 96, and outputs a signal for switching the switching mode of the changeover switch 12 from the output terminal 17b. . In the present embodiment, the built-in driver 67 and the external driver 68 are switched and driven according to the signal output from the output terminal 17b.

次に、第7の実施の形態における内蔵ドライバ67と外部ドライバ68とを切換えて駆動させるドライバ切換方法について説明する。図23は、本発明の第7の実施の形態におけるドライバ切換方法の動作手順の一例を示すフローチャートである。ドライバ切換方法の動作手順は、たとえば車両のイグニションスイッチがオンされたときに開始される。ステップm1、ステップm3〜m6およびステップm8,m9の各動作は、前述の図3に示すフローチャートのステップa1、ステップa3〜a6およびステップa8,a9と同様の動作であるので、説明を省略する。ステップm2では、インバータ17が、電源端子65に流れる電流が閾値以上であるか否かを判断し、閾値以上であればステップm3に進み、閾値未満であればステップm4に進む。ステップm7では、インバータ17が、電源端子65に流れる電流が閾値以上であるか否かを判断し、閾値以上であればステップm8に進み、閾値未満であればステップm5に進む。   Next, a driver switching method for switching and driving the built-in driver 67 and the external driver 68 in the seventh embodiment will be described. FIG. 23 is a flowchart illustrating an example of an operation procedure of the driver switching method according to the seventh embodiment of the present invention. The operation procedure of the driver switching method is started when, for example, the ignition switch of the vehicle is turned on. Since the operations of Step m1, Steps m3 to m6 and Steps m8 and m9 are the same as those of Step a1, Steps a3 to a6 and Steps a8 and a9 of the flowchart shown in FIG. In step m2, the inverter 17 determines whether or not the current flowing through the power supply terminal 65 is greater than or equal to the threshold value. If it is greater than or equal to the threshold value, the process proceeds to step m3, and if less than the threshold value, the process proceeds to step m4. In step m7, the inverter 17 determines whether or not the current flowing through the power supply terminal 65 is equal to or greater than the threshold value. If it is equal to or greater than the threshold value, the process proceeds to step m8.

前述のように第7の実施の形態によれば、電源端子65に流れる電流が閾値未満であるとき、外部MOSFET68が駆動されていればそのまま駆動させ、内蔵MOSFET67が駆動されていれば内蔵MOSFET67から外部MOSFET68へ切換えて外部MOSFET68を駆動させる。電源端子65に流れる電流が閾値以上であるとき、内蔵MOSFET67が駆動されていればそのまま駆動させ、外部MOSFET68が駆動されていれば外部MOSFET68から内蔵MOSFET67へ切換えて内蔵MOSFET67を駆動させる。   As described above, according to the seventh embodiment, when the current flowing through the power supply terminal 65 is less than the threshold, if the external MOSFET 68 is driven, the external MOSFET 68 is driven as it is, and if the internal MOSFET 67 is driven, the internal MOSFET 67 starts driving. The external MOSFET 68 is driven by switching to the external MOSFET 68. When the current flowing through the power supply terminal 65 is equal to or greater than the threshold value, if the internal MOSFET 67 is driven, the internal MOSFET 67 is driven as it is. If the external MOSFET 68 is driven, the external MOSFET 68 is switched to the internal MOSFET 67 to drive the internal MOSFET 67.

前述のように本実施の形態では、IC61に設けられている電源端子65に流れる電流に応じて、内蔵MOSFET67および外部MOSFET68のいずれか一方を他方に切換えて駆動させることができる。したがって前記第5の実施の形態と同様に、従来の技術のようにドライバ切換専用の端子をIC61に新たに設ける必要がないので、IC61に設けられる部品点数を増やすことなく、内蔵MOSFET67および外部MOSFET68のいずれか一方を他方に切換えて駆動させることができる。   As described above, in the present embodiment, either the built-in MOSFET 67 or the external MOSFET 68 can be switched to the other and driven in accordance with the current flowing through the power supply terminal 65 provided in the IC 61. Therefore, similarly to the fifth embodiment, there is no need to newly provide a dedicated terminal for driver switching in the IC 61 as in the prior art, so that the built-in MOSFET 67 and the external MOSFET 68 are not increased without increasing the number of components provided in the IC 61. Either one of them can be switched to the other and driven.

また内蔵MOSFET67および外部MOSFET68のいずれか一方を他方に切換えて駆動させることができるので、前記第5の実施の形態と同様に、内蔵用プリドライバ14および外部用プリドライバ15に貫通電流などの不要な電流が流れることを防ぐことができ、前記不要な電流に起因するノイズの発生および消費電流の増加などの不具合の発生を抑制することができる。   Further, since either one of the built-in MOSFET 67 and the external MOSFET 68 can be switched and driven, the built-in pre-driver 14 and the external pre-driver 15 do not require a through current or the like as in the fifth embodiment. Current can be prevented from flowing, and the occurrence of problems such as noise and increased current consumption due to the unnecessary current can be suppressed.

図24は、本発明の第8の実施の形態であるドライバ切換装置100の構成を簡略化して示す電気回路図である。本実施の形態では、理解を容易にするために内蔵ドライバ駆動時のドライバ切換装置100のみを示している。外部ドライバ駆動時は、前述の図15に示すドライバ切換装置60と同様に、IC61の第2端子63に外部ドライバ68が接続される。本実施の形態では、前述の第6の実施の形態と同様に、2接点の切換スイッチではなく、第1接点32a、第2接点32bおよび第3接点32cを含む3接点の切換スイッチ31をIC61に設けている。また本実施の形態では、前述の第6の実施の形態と同様に、インバータ17ではなく、コンパレータ33をIC61に設けている。切換スイッチ31の第1接点32aは、内蔵用プリドライバ14の入力部14bと接続され、第2接点32bは外部用プリドライバ15の入力部15bと接続され、第3接点32cはいずれにも接続されていない。カレントミラー回路91の入力側トランジスタ92のコレクタと閾値設定用抵抗96の他端との接続点は、コンパレータ33の非反転入力端子33aに接続されている。コンパレータ33の第1反転入力端子33bは、第1電源34に接続され、第2反転入力端子33cは、第2電源35に接続されている。   FIG. 24 is an electric circuit diagram showing a simplified configuration of the driver switching apparatus 100 according to the eighth embodiment of the present invention. In the present embodiment, only the driver switching device 100 when the built-in driver is driven is shown for easy understanding. When the external driver is driven, the external driver 68 is connected to the second terminal 63 of the IC 61 in the same manner as the driver switching device 60 shown in FIG. In the present embodiment, similarly to the above-described sixth embodiment, instead of the two-contact change-over switch, the three-contact change-over switch 31 including the first contact 32a, the second contact 32b, and the third contact 32c is replaced with an IC 61. Provided. In the present embodiment, as in the sixth embodiment described above, the IC 33 is provided with the comparator 33 instead of the inverter 17. The first contact 32a of the changeover switch 31 is connected to the input unit 14b of the built-in predriver 14, the second contact 32b is connected to the input unit 15b of the external predriver 15, and the third contact 32c is connected to both. It has not been. A connection point between the collector of the input side transistor 92 of the current mirror circuit 91 and the other end of the threshold setting resistor 96 is connected to the non-inverting input terminal 33 a of the comparator 33. The first inverting input terminal 33 b of the comparator 33 is connected to the first power supply 34, and the second inverting input terminal 33 c is connected to the second power supply 35.

本実施の形態のコンパレータ33は、非反転入力端子33aに入力される前記電源端子65に流れる電流に対応する信号に基づいて、切換スイッチ31のスイッチング態様を切換えるための信号を、出力端子33dから出力する。本実施の形態では、コンパレータ33の出力端子33dから出力される信号に基づいて、切換スイッチ31のスイッチ片32が、第1接点32a〜第3接点32cのうちいずれか1つと接続されてオン(ON)状態となるように、スイッチング態様を切換え可能に構成されている。スイッチ片32が第1接点32aに接続されると、内蔵MOSFET67が駆動される内蔵ドライバ駆動状態に設定される。内蔵ドライバ駆動状態時の電源端子65は、バッテリ2に接続される。スイッチ片32が第2接点32bに接続されると、外部MOSFET68が駆動される外部ドライバ駆動状態に設定される。外部ドライバ駆動状態時の電源端子65は、開放される。スイッチ片32が第3接点32cに接続されると、内蔵MOSFET67および外部MOSFET68の駆動が停止される駆動停止状態に設定される。前記駆動停止状態時の電源端子65は、いわゆるプルアップ抵抗を介してバッテリ2と接続される。   The comparator 33 of the present embodiment outputs a signal for switching the switching mode of the changeover switch 31 from the output terminal 33d based on a signal corresponding to the current flowing through the power supply terminal 65 input to the non-inverting input terminal 33a. Output. In the present embodiment, based on the signal output from the output terminal 33d of the comparator 33, the switch piece 32 of the changeover switch 31 is connected to any one of the first contact 32a to the third contact 32c and turned on ( ON) is configured so that the switching mode can be switched. When the switch piece 32 is connected to the first contact 32a, the built-in driver driving state in which the built-in MOSFET 67 is driven is set. The power supply terminal 65 in the built-in driver driving state is connected to the battery 2. When the switch piece 32 is connected to the second contact 32b, an external driver driving state in which the external MOSFET 68 is driven is set. The power supply terminal 65 in the external driver driving state is opened. When the switch piece 32 is connected to the third contact 32c, the driving stop state is set in which the driving of the built-in MOSFET 67 and the external MOSFET 68 is stopped. The power supply terminal 65 in the drive stop state is connected to the battery 2 via a so-called pull-up resistor.

次に、第8の実施の形態における内蔵ドライバ67と外部ドライバ68とを切換えて駆動させるドライバ切換方法について説明する。図25は、本発明の第8の実施の形態におけるドライバ切換方法の動作手順の一例を示すフローチャートである。図26は、本発明の第8の実施の形態におけるドライバ切換方法の動作手順の一例を示すフローチャートである。図26および図27に示すドライバ切換方法の動作手順は、たとえば車両のイグニションスイッチがオンされたときに開始される。本実施の形態の第1閾値は、第2閾値よりも小さい値であるとする。図25のステップn1,n3、ステップn5〜n9、ステップn11,n12およびステップn14〜n16の各動作は、前述の図7に示すフローチャートのステップb1,b3、ステップb5〜b9、ステップb11,b12およびステップb14〜b16と同様の動作であるので、説明を省略する。また図26のステップp2,p3およびステップp5〜p7の各動作は、前述の図8に示すフローチャートのステップc2,c3およびステップc5〜c7と同様の動作であるので、説明を省略する。   Next, a driver switching method for switching and driving the built-in driver 67 and the external driver 68 in the eighth embodiment will be described. FIG. 25 is a flowchart showing an example of an operation procedure of the driver switching method according to the eighth embodiment of the present invention. FIG. 26 is a flowchart illustrating an example of an operation procedure of the driver switching method according to the eighth embodiment of the present invention. The operation procedure of the driver switching method shown in FIGS. 26 and 27 is started, for example, when the ignition switch of the vehicle is turned on. It is assumed that the first threshold value in the present embodiment is a value smaller than the second threshold value. The operations of steps n1, n3, steps n5-n9, steps n11, n12 and steps n14-n16 in FIG. 25 are the same as steps b1, b3, steps b5-b9, steps b11, b12 in the flowchart shown in FIG. Since this is the same operation as steps b14 to b16, the description is omitted. 26 are the same as steps c2 and c3 and steps c5 to c7 in the flowchart shown in FIG. 8, and thus the description thereof is omitted.

ステップn2では、コンパレータ33が、電源端子65に流れる電流が第2閾値以上であるか否かを判断し、第2閾値以上であればステップn3に進み、第2閾値以上でなければステップn4に進む。ステップn4では、コンパレータ33が、電源端子65に流れる電流が第1閾値未満であるか否かを判断し、第1閾値未満であればステップn5に進み、第1閾値以上であれば電源端子65に流れる電流が第1閾値以上第2閾値未満であると判断し、ステップn7に進む。ステップn10では、コンパレータ33がステップn2と同様の判断をし、電源端子65に流れる電流が第2閾値以上であればステップn11に進み、第2閾値以上でなければステップn13に進む。ステップn13では、コンパレータ33がステップn4と同様の判断をし、電源端子65に流れる電流が第1閾値未満であればステップn14に進み、第1閾値以上であれば電源端子65に流れる電流が第1閾値以上第2閾値未満であると判断し、ステップn15に進む。またステップn9において、外部用プリドライバ15が、外部ドライバ68が駆動していないと判断した場合、図26のステップp1に進む。図26のステップp1では、コンパレータ33が、電源端子65に流れる電流が第2閾値以上であるか否かを判断し、第2閾値以上であればステップp2に進み、第2閾値以上でなければステップp4に進む。ステップp4では、コンパレータ33が、電源端子65に流れる電流が第1閾値未満であるか否かを判断し、第1閾値未満であればステップp5に進み、第1閾値以上であれば電源端子65に流れる電流が第1閾値以上第2閾値未満であると判断し、ステップp7に進む。   In step n2, the comparator 33 determines whether or not the current flowing through the power supply terminal 65 is greater than or equal to the second threshold value. If it is greater than or equal to the second threshold value, the process proceeds to step n3. move on. In step n4, the comparator 33 determines whether or not the current flowing through the power supply terminal 65 is less than the first threshold value. If it is less than the first threshold value, the process proceeds to step n5. Is determined to be less than or equal to the first threshold and less than the second threshold, and the process proceeds to step n7. In step n10, the comparator 33 makes the same determination as in step n2, and if the current flowing through the power supply terminal 65 is greater than or equal to the second threshold, the process proceeds to step n11, and if not greater than the second threshold, the process proceeds to step n13. In step n13, the comparator 33 makes the same determination as in step n4. If the current flowing through the power supply terminal 65 is less than the first threshold value, the process proceeds to step n14. It is determined that the value is greater than or equal to one threshold value and less than the second threshold value, and the process proceeds to step n15. If the external pre-driver 15 determines in step n9 that the external driver 68 is not driven, the process proceeds to step p1 in FIG. In step p1 of FIG. 26, the comparator 33 determines whether or not the current flowing through the power supply terminal 65 is greater than or equal to the second threshold. If it is greater than or equal to the second threshold, the process proceeds to step p2, and if not greater than the second threshold. Proceed to step p4. In step p4, the comparator 33 determines whether or not the current flowing through the power supply terminal 65 is less than the first threshold value. If it is less than the first threshold value, the process proceeds to step p5. Is determined to be less than or equal to the first threshold and less than the second threshold, and the process proceeds to step p7.

前述のように第8の実施の形態によれば、電源端子65に流れる電流が第1閾値未満であるとき、外部MOSFET68が駆動されていればそのまま駆動させ、内蔵MOSFET67が駆動されていれば外部ドライバ駆動状態へ切換える設定をして外部MOSFET68を駆動させ、駆動停止状態であれば外部ドライバ駆動状態へ切換える設定をして外部MOSFET68を駆動させる。電源端子65に流れる電流が第2閾値以上であるとき、内蔵MOSFET67が駆動されていればそのまま駆動させ、外部MOSFET68が駆動されていれば内蔵ドライバ駆動状態へ切換える設定をして内蔵MOSFET67を駆動させ、駆動停止状態であれば内蔵ドライバ駆動状態へ切換える設定をして、内蔵MOSFET67を駆動させる。また電源端子65に流れる電流が第1閾値以上第2閾値未満であるとき、内蔵MOSFET67および外部MOSFET68の駆動が停止していればそのまま駆動を停止させ、内蔵MOSFET67および外部MOSFET68のいずれか一方が駆動されていれば、駆動停止状態へ切換える設定をしてMOSFETの駆動を停止させる。   As described above, according to the eighth embodiment, when the current flowing through the power supply terminal 65 is less than the first threshold value, if the external MOSFET 68 is driven, it is driven as it is, and if the built-in MOSFET 67 is driven, the external MOSFET 68 is driven. The external MOSFET 68 is driven by setting to switch to the driver driving state, and the external MOSFET 68 is driven by setting to switch to the external driver driving state if the driving is stopped. When the current flowing through the power supply terminal 65 is equal to or greater than the second threshold value, if the built-in MOSFET 67 is driven, the built-in MOSFET 67 is driven as it is, and if the external MOSFET 68 is driven, the built-in driver driving state is set to drive the built-in MOSFET 67. If the drive is stopped, the setting is made to switch to the built-in driver drive state, and the built-in MOSFET 67 is driven. When the current flowing through the power supply terminal 65 is not less than the first threshold value and less than the second threshold value, if the driving of the internal MOSFET 67 and the external MOSFET 68 is stopped, the driving is stopped as it is, and either the internal MOSFET 67 or the external MOSFET 68 is driven. If so, the setting to switch to the drive stop state is made to stop the MOSFET drive.

前述のように電源端子65に流れる電流に応じて、内蔵ドライバ駆動状態または外部ドライバ駆動状態に設定することができるうえ、内蔵および外部ドライバの駆動停止状態に設定することもできるので、内蔵および外部MOSFET67,68のいずれも駆動させないようにする要求がある場合に即座に駆動停止状態に設定することができる。このように電源端子65に流れる電流に応じて、所望のドライバを駆動または駆動停止状態に即座に設定できるので、ノイズの発生原因および消費電流の増加を未然に防止することができる。   As described above, the built-in driver drive state or the external driver drive state can be set according to the current flowing through the power supply terminal 65, and the built-in and external driver drive stop states can be set. any MOSFET67,68 of can be set to immediately drive stop state if there is a request so as not to drive. As described above, since a desired driver can be immediately set to the drive or drive stop state in accordance with the current flowing through the power supply terminal 65, it is possible to prevent the occurrence of noise and the increase in current consumption.

前述の各実施の形態は、本発明の例示に過ぎず、発明の範囲内において構成を変更することができる。前述の第1の実施の形態では、インバータ17を用いてグランド端子21の電圧を検出し、第5の実施の形態ではインバータ17を用いて電源端子65の電圧を検出する場合について述べたが、コンパレータ、MOSFETおよびバイポーラトランジスタなどを用いてグランド端子21および電源端子65の電圧をそれぞれ検出してもよい。前述の第3の実施の形態では、インバータ17を用いてグランド端子21に流れる電流を検出し、第7の実施の形態ではインバータ17を用いて電源端子65に流れる電流を検出する場合について述べたが、コンパレータ、MOSFETおよびバイポーラトランジスタなどを用いてグランド端子21および電源端子65に流れる電流をそれぞれ検出してもよい。   Each above-mentioned embodiment is only illustration of this invention, and can change a structure within the scope of the invention. In the first embodiment described above, the inverter 17 is used to detect the voltage of the ground terminal 21, and the fifth embodiment describes the case where the inverter 17 is used to detect the voltage of the power supply terminal 65. The voltages at the ground terminal 21 and the power supply terminal 65 may be detected using a comparator, MOSFET, bipolar transistor, or the like. In the third embodiment described above, the case where the current flowing through the ground terminal 21 is detected using the inverter 17 and the current flowing through the power supply terminal 65 is detected using the inverter 17 is described in the seventh embodiment. However, the current flowing through the ground terminal 21 and the power supply terminal 65 may be detected using a comparator, MOSFET, bipolar transistor, or the like.

前述の第1〜第4の実施の形態では、内蔵ドライバおよび外部ドライバがnチャネルMOSFETによって構成される場合について説明したが、本発明の他の実施の形態では、NPN型バイポーラトランジスタによって構成されてもよい。前述の第5〜第8の実施の形態では、内蔵ドライバおよび外部ドライバがpチャネルMOSFETによって構成される場合について説明したが、本発明の他の実施の形態では、PNP型バイポーラトランジスタによって構成されてもよい。前述のように本発明の他の実施の形態において、内蔵ドライバおよび外部ドライバが、NPN型バイポーラトランジスタおよびPNP型バイポーラトランジスタによって構成される場合でも、前述の各実施の形態と同様に実施することができ、同様の効果を得ることができる。   In the first to fourth embodiments described above, the case where the built-in driver and the external driver are configured by n-channel MOSFETs has been described, but in other embodiments of the present invention, the driver is configured by an NPN-type bipolar transistor. Also good. In the above-described fifth to eighth embodiments, the case where the built-in driver and the external driver are configured by p-channel MOSFETs has been described. However, in other embodiments of the present invention, they are configured by PNP-type bipolar transistors. Also good. As described above, in other embodiments of the present invention, even when the built-in driver and the external driver are constituted by an NPN-type bipolar transistor and a PNP-type bipolar transistor, they can be implemented in the same manner as the above-described embodiments. And similar effects can be obtained.

前述の実施の形態では、エアバッグ装置の電源などに用いられる昇圧スイッチング電源および降圧スイッチング電源に本発明を適用した場合について説明したが、エアバッグ装置の電源に限らず、内蔵ドライバと外部ドライバとを切換えて駆動させて種々の制御を行う電子機器であれば、前述の実施の形態と同様に実施することができ、同様の効果を得ることができる。   In the above-described embodiment, the case where the present invention is applied to the step-up switching power source and the step-down switching power source used for the power source of the airbag device has been described. However, the present invention is not limited to the power source of the airbag device. Any electronic device that performs various controls by switching and driving can be implemented in the same manner as in the above-described embodiment, and the same effects can be obtained.

本発明の第1の実施の形態であるドライバ切換装置1の構成を簡略化して示す電気回路図である。The first is in the form of embodiment drivers switching device 1 of the configuration of the present invention is an electric circuit diagram schematically showing. ドライバ切換装置1の構成を簡略化して示す電気回路図である。FIG. 3 is an electric circuit diagram showing a simplified configuration of the driver switching device 1. 本発明の第1の実施の形態におけるドライバ切換方法の動作手順の一例を示すフローチャートである。It is a flowchart which shows an example of the operation | movement procedure of the driver switching method in the 1st Embodiment of this invention. ドライバ切換装置1の構成を簡略化して示す電気回路図である。FIG. 3 is an electric circuit diagram showing a simplified configuration of the driver switching device 1. ドライバ切換装置1の構成を簡略化して示す電気回路図である。FIG. 3 is an electric circuit diagram showing a simplified configuration of the driver switching device 1. 本発明の第2の実施の形態であるドライバ切換装置30の構成を簡略化して示す電気回路図である。It is an electric circuit diagram which simplifies and shows the structure of the driver switching apparatus 30 which is the 2nd Embodiment of this invention. 本発明の第2の実施の形態におけるドライバ切換方法の動作手順の一例を示すフローチャートである。It is a flowchart which shows an example of the operation | movement procedure of the driver switching method in the 2nd Embodiment of this invention. 本発明の第2の実施の形態におけるドライバ切換方法の動作手順の一例を示すフローチャートである。It is a flowchart which shows an example of the operation | movement procedure of the driver switching method in the 2nd Embodiment of this invention. 本発明の第3の実施の形態であるドライバ切換装置40の構成を簡略化して示す電気回路図である。It is an electric circuit diagram which simplifies and shows the structure of the driver switching apparatus 40 which is the 3rd Embodiment of this invention. 本発明の第3の実施の形態におけるドライバ切換方法の動作手順の一例を示すフローチャートである。It is a flowchart which shows an example of the operation | movement procedure of the driver switching method in the 3rd Embodiment of this invention. 本発明の第4の実施の形態のドライバ切換装置50の構成を簡略化して示す電気回路図である。It is an electric circuit diagram which simplifies and shows the structure of the driver switching apparatus 50 of the 4th Embodiment of this invention. 本発明の第4の実施の形態におけるドライバ切換方法の動作手順の一例を示すフローチャートである。It is a flowchart which shows an example of the operation | movement procedure of the driver switching method in the 4th Embodiment of this invention. 本発明の第4の実施の形態におけるドライバ切換方法の動作手順の一例を示すフローチャートである。It is a flowchart which shows an example of the operation | movement procedure of the driver switching method in the 4th Embodiment of this invention. 本発明の第5の実施の形態であるドライバ切換装置60の構成を簡略化して示す電気回路図である。It is an electric circuit diagram which simplifies and shows the structure of the driver switching apparatus 60 which is the 5th Embodiment of this invention. ドライバ切換装置60の構成を簡略化して示す電気回路図である。4 is an electric circuit diagram showing a simplified configuration of a driver switching device 60. FIG. 本発明の第5の実施の形態におけるドライバ切換方法の動作手順の一例を示すフローチャートである。It is a flowchart which shows an example of the operation | movement procedure of the driver switching method in the 5th Embodiment of this invention. ドライバ切換装置60の構成を簡略化して示す電気回路図である。4 is an electric circuit diagram showing a simplified configuration of a driver switching device 60. FIG. ドライバ切換装置60の構成を簡略化して示す電気回路図である。4 is an electric circuit diagram showing a simplified configuration of a driver switching device 60. FIG. 本発明の第6の実施の形態であるドライバ切換装置80の構成を簡略化して示す電気回路図である。It is an electric circuit diagram which simplifies and shows the structure of the driver switching apparatus 80 which is the 6th Embodiment of this invention. 本発明の第6の実施の形態におけるドライバ切換方法の動作手順の一例を示すフローチャートである。It is a flowchart which shows an example of the operation | movement procedure of the driver switching method in the 6th Embodiment of this invention.

本発明の第6の実施の形態におけるドライバ切換方法の動作手順の一例を示すフローチャートである。It is a flowchart which shows an example of the operation | movement procedure of the driver switching method in the 6th Embodiment of this invention. 本発明の第7の実施の形態であるドライバ切換装置90の構成を簡略化して示す電気回路図である。It is an electric circuit diagram which simplifies and shows the structure of the driver switching apparatus 90 which is the 7th Embodiment of this invention. 本発明の第7の実施の形態におけるドライバ切換方法の動作手順の一例を示すフローチャートである。It is a flowchart which shows an example of the operation | movement procedure of the driver switching method in the 7th Embodiment of this invention. 本発明の第8の実施の形態であるドライバ切換装置100の構成を簡略化して示す電気回路図である。It is an electric circuit diagram which simplifies and shows the structure of the driver switching apparatus 100 which is the 8th Embodiment of this invention. 本発明の第8の実施の形態におけるドライバ切換方法の動作手順の一例を示すフローチャートである。It is a flowchart which shows an example of the operation | movement procedure of the driver switching method in the 8th Embodiment of this invention. 本発明の第8の実施の形態におけるドライバ切換方法の動作手順の一例を示すフローチャートである。It is a flowchart which shows an example of the operation | movement procedure of the driver switching method in the 8th Embodiment of this invention. 従来の技術の内蔵ドライバ駆動時の昇圧型スイッチング電源回路110を示す図である。It is a figure which shows the step-up type switching power supply circuit 110 at the time of a built-in driver drive of the prior art. 従来の技術の外部ドライバ駆動時の昇圧型スイッチング電源回路120を示す図である。It is a figure which shows the pressure | voltage rise type switching power supply circuit 120 at the time of the external driver drive of a prior art.

符号の説明Explanation of symbols

1,30,40,50,60,80,90,100 ドライバ切換装置
2 バッテリ
3 コイル
4 ダイオード
5 コンデンサ
6 出力端子
7,61 集積回路(IC)
8 電源
11 信号源
12,31 切換スイッチ
13,32 スイッチ片
14 内蔵用プリドライバ
15 外部用プリドライバ
16,67 内蔵ドライバ(内蔵MOSFET)
17 インバータ
18,62 第1端子
19,63 第2端子
20,64 第3端子
21 グランド端子
22,68 外部ドライバ(外部MOSFET)
25,70 抵抗
26,71 電流源
33 コンパレータ
65 電源端子
1, 30, 40, 50, 60, 80, 90, 100 Driver switching device 2 Battery 3 Coil 4 Diode 5 Capacitor 6 Output terminal 7, 61 Integrated circuit (IC)
8 Power supply 11 Signal source 12, 31 Changeover switch 13, 32 Switch piece 14 Built-in pre-driver 15 External pre-driver 16, 67 Built-in driver (built-in MOSFET)
17 Inverter 18, 62 First terminal 19, 63 Second terminal 20, 64 Third terminal 21 Ground terminal 22, 68 External driver (external MOSFET)
25, 70 Resistance 26, 71 Current source 33 Comparator 65 Power supply terminal

Claims (16)

集積回路に内蔵される内蔵ドライバと、該集積回路の外部の外部ドライバとを切換えて駆動させるドライバ切換方法であって、
前記内蔵ドライバのグランド端子とグランドとの接続状態を監視し、該接続状態に応じて内蔵ドライバおよび外部ドライバのいずれか一方を他方に切換えて駆動させることを特徴とするドライバ切換方法。
A driver switching method for switching and driving a built-in driver built in an integrated circuit and an external driver outside the integrated circuit,
A driver switching method characterized by monitoring a connection state between a ground terminal of the built-in driver and the ground, and switching one of the built-in driver and the external driver to the other according to the connection state.
前記グランド端子、電源間に抵抗を設けることを特徴とする請求項1記載のドライバ切換方法。   2. The driver switching method according to claim 1, wherein a resistor is provided between the ground terminal and the power source. 前記グランド端子、電源間に電流源を設けることを特徴とする請求項1記載のドライバ切換方法。   2. The driver switching method according to claim 1, wherein a current source is provided between the ground terminal and a power source. 前記グランド端子の電圧に応じて、内蔵ドライバ駆動状態、外部ドライバ駆動状態、ならびに内蔵ドライバおよび外部ドライバの駆動停止状態のうちのいずれか1つの状態に設定することを特徴とする請求項1記載のドライバ切換方法。   2. The internal driver driving state, the external driver driving state, and the driving stop state of the internal driver and the external driver are set according to the voltage of the ground terminal. Driver switching method. 前記グランド端子に流れる電流に応じて、内蔵ドライバおよび外部ドライバのいずれか一方を他方に切換えて駆動させることを特徴とする請求項1記載のドライバ切換方法。   2. The driver switching method according to claim 1, wherein one of the built-in driver and the external driver is switched to the other and driven in accordance with a current flowing through the ground terminal. 前記グランド端子に流れる電流に応じて、内蔵ドライバ駆動状態、外部ドライバ駆動状態、ならびに内蔵ドライバ駆動状態および外部ドライバ駆動状態のうちのいずれか1つの状態に設定することを特徴とする請求項1記載のドライバ切換方法。   2. The internal driver driving state, the external driver driving state, and the internal driver driving state or the external driver driving state are set according to the current flowing through the ground terminal. Driver switching method. 前記内蔵ドライバおよび外部ドライバは、nチャネルMOSトランジスタによって構成されることを特徴とする請求項1〜6のいずれか1つに記載のドライバ切換方法。   7. The driver switching method according to claim 1, wherein the built-in driver and the external driver are configured by n-channel MOS transistors. 集積回路に内蔵される内蔵ドライバと、該集積回路の外部の外部ドライバとを切換えて駆動させるドライバ切換方法であって、
前記内蔵ドライバの電源端子と電源との接続状態を監視し、該接続状態に応じて内蔵ドライバおよび外部ドライバのいずれか一方を他方に切換えて駆動させることを特徴とするドライバ切換方法。
A driver switching method for switching and driving a built-in driver built in an integrated circuit and an external driver external to the integrated circuit,
A driver switching method characterized by monitoring a connection state between a power supply terminal and a power supply of the built-in driver and switching one of the built-in driver and the external driver to the other according to the connection state.
前記電源端子、グランド間に抵抗を設けることを特徴とする請求項8記載のドライバ切換方法。   9. The driver switching method according to claim 8, wherein a resistor is provided between the power supply terminal and the ground. 前記電源端子、グランド間に電流源を設けることを特徴とする請求項8記載のドライバ切換方法。   9. The driver switching method according to claim 8, wherein a current source is provided between the power supply terminal and the ground. 前記電源端子の電圧に応じて、内蔵ドライバ駆動状態、外部ドライバ駆動状態、ならびに内蔵ドライバおよび外部ドライバの駆動停止状態のうちのいずれか1つの状態に設定することを特徴とする請求項8記載のドライバ切換方法。   9. The internal driver driving state, the external driver driving state, and the driving stop state of the internal driver and the external driver are set according to the voltage of the power supply terminal. Driver switching method. 前記電源端子に流れる電流に応じて、内蔵ドライバおよび外部ドライバのいずれか一方を他方に切換えて駆動させることを特徴とする請求項8記載のドライバ切換方法。   9. The driver switching method according to claim 8, wherein one of the built-in driver and the external driver is switched to the other and driven in accordance with a current flowing through the power supply terminal. 前記電源端子に流れる電流に応じて、内蔵ドライバ駆動状態、外部ドライバ駆動状態、ならびに内蔵ドライバおよび外部ドライバの駆動停止状態のうちのいずれか1つの状態に設定することを特徴とする請求項8記載のドライバ切換方法。   9. The internal driver driving state, the external driver driving state, and the driving stop state of the internal driver and the external driver are set according to a current flowing through the power supply terminal. Driver switching method. 前記内蔵ドライバおよび外部ドライバは、pチャネルMOSトランジスタによって構成されることを特徴とする請求項8〜13のいずれか1つに記載のドライバ切換方法。   The driver switching method according to claim 8, wherein the built-in driver and the external driver are configured by p-channel MOS transistors. 集積回路に内蔵される内蔵ドライバと、該集積回路の外部の外部ドライバとを切換えて駆動させるドライバ切換装置であって、
前記内蔵ドライバのグランド端子とグランドとの接続状態を監視し、該接続状態に応じて内蔵ドライバおよび外部ドライバのいずれか一方を他方に切換えて駆動させるように構成されることを特徴とするドライバ切換装置。
A driver switching device for switching and driving a built-in driver built in an integrated circuit and an external driver outside the integrated circuit,
The driver switching is configured to monitor the connection state between the ground terminal of the built-in driver and the ground, and switch either the built-in driver or the external driver to the other in accordance with the connection state. apparatus.
集積回路に内蔵される内蔵ドライバと、該集積回路の外部の外部ドライバとを切換えて駆動させるドライバ切換装置であって、
前記内蔵ドライバの電源端子と電源との接続状態を監視し、該接続状態に応じて内蔵ドライバおよび外部ドライバのいずれか一方を他方に切換えて駆動させるように構成されることを特徴とするドライバ切換装置。
A driver switching device for switching and driving a built-in driver built in an integrated circuit and an external driver outside the integrated circuit,
The driver switching is configured to monitor a connection state between a power supply terminal of the built-in driver and a power supply, and switch one of the built-in driver and the external driver to the other according to the connection state. apparatus.
JP2005111311A 2005-04-07 2005-04-07 Driver switching method and driver switching device Expired - Fee Related JP4652876B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005111311A JP4652876B2 (en) 2005-04-07 2005-04-07 Driver switching method and driver switching device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005111311A JP4652876B2 (en) 2005-04-07 2005-04-07 Driver switching method and driver switching device

Publications (2)

Publication Number Publication Date
JP2006295409A JP2006295409A (en) 2006-10-26
JP4652876B2 true JP4652876B2 (en) 2011-03-16

Family

ID=37415511

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005111311A Expired - Fee Related JP4652876B2 (en) 2005-04-07 2005-04-07 Driver switching method and driver switching device

Country Status (1)

Country Link
JP (1) JP4652876B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114766742A (en) * 2022-06-01 2022-07-22 长沙大微半导体有限公司 Atomizer control module integrating multiple function output and control method thereof

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07154234A (en) * 1993-11-26 1995-06-16 Matsushita Electric Ind Co Ltd Signal input / output switching device
JP2001078440A (en) * 1999-09-08 2001-03-23 Citizen Watch Co Ltd Voltage boosting circuit of portable device
JP2003244945A (en) * 2002-02-14 2003-08-29 Seiko Instruments Inc Switching regulator

Also Published As

Publication number Publication date
JP2006295409A (en) 2006-10-26

Similar Documents

Publication Publication Date Title
JP5067786B2 (en) Power semiconductor device
JP5581921B2 (en) Regulator and DC / DC converter
EP2071726A2 (en) Load driving device
TWI334193B (en) Semiconductor ic device
US8400185B2 (en) Driving circuit with zero current shutdown and a driving method thereof
US20230246640A1 (en) Wide voltage gate driver using low gate oxide transistors
CN111886557A (en) Power input circuit and inverter-integrated electric compressor for vehicle provided with same
JP2019054384A (en) Semiconductor device and electronic control device
JP4271169B2 (en) Semiconductor device
US7696827B2 (en) Power amplifier system provided with improved protection function
JP5107790B2 (en) regulator
WO2024127760A1 (en) Semiconductor device, electronic apparatus, and vehicle
JP4652876B2 (en) Driver switching method and driver switching device
CN114784927A (en) Power supply circuit for saving chip layout area
CN120165571A (en) Control circuit and switching power supply
JP7518150B2 (en) Power supply semiconductor integrated circuit and power supply system
JP7340477B2 (en) Semiconductor equipment and power system
JPH1169624A (en) Switch circuit with inrush current limit
CN118202574A (en) Control device
JP4654047B2 (en) Class D amplifier
JP2003198277A (en) Mos transistor output circuit
JP2021097387A (en) Driving device
US20250309884A1 (en) Switch device, load drive system, and switch system
JP2020137137A (en) Clamp circuit
WO2024075407A1 (en) Switch device, electronic equipment, and vehicle

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080331

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20101201

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20101216

R150 Certificate of patent or registration of utility model

Ref document number: 4652876

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131224

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131224

Year of fee payment: 3

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

LAPS Cancellation because of no payment of annual fees