JP2006013169A - Semiconductor device - Google Patents

Semiconductor device Download PDF

Info

Publication number
JP2006013169A
JP2006013169A JP2004188770A JP2004188770A JP2006013169A JP 2006013169 A JP2006013169 A JP 2006013169A JP 2004188770 A JP2004188770 A JP 2004188770A JP 2004188770 A JP2004188770 A JP 2004188770A JP 2006013169 A JP2006013169 A JP 2006013169A
Authority
JP
Japan
Prior art keywords
circuit
microcomputer
driver
voltage
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2004188770A
Other languages
Japanese (ja)
Other versions
JP4661104B2 (en
Inventor
Takashi Kanda
隆司 神田
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.)
Panasonic Electric Works Co Ltd
Original Assignee
Matsushita Electric Works 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 Matsushita Electric Works Ltd filed Critical Matsushita Electric Works Ltd
Priority to JP2004188770A priority Critical patent/JP4661104B2/en
Publication of JP2006013169A publication Critical patent/JP2006013169A/en
Application granted granted Critical
Publication of JP4661104B2 publication Critical patent/JP4661104B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Circuit Arrangements For Discharge Lamps (AREA)
  • Semiconductor Integrated Circuits (AREA)
  • Inverter Devices (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a semiconductor device which can be prevented from increasing in number of components to be mounted and requiring wider mounting area while a microcomputer is used. <P>SOLUTION: An HB driver 17 drives an external switching element constituting an inverter circuit. The HB driver 17 has high dielectric strength and is constituted on one chip together with the microcomputer 7. The microcomputer 7 controls the HB driver 17. A digital filter 7 which removes noise generated by the HB driver is provided in a signal path from the HB driver 17 to the microcomputer 7, and the filter circuit 33 of an analog filter removing noise due to a rectangular wave signal which is generated by the microcomputer 7 is provided in a signal path from the microcomputer 7 to the HB driver. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、高耐圧回路とデジタル回路とをワンチップに混載した半導体装置に関するものである。   The present invention relates to a semiconductor device in which a high voltage circuit and a digital circuit are mixedly mounted on one chip.

従来から、ランプ負荷の点灯回路に用いる電子安定器として、図9に示すように、商用電源のような交流電源ACを入力電源とし、昇圧型のチョッパ回路からなるPFC回路(力率改善回路)1とインバータ回路2とを備え、インバータ回路2により生成した高周波交番電圧をランプ負荷に印加する構成のものが知られている。PFC回路1の入力電圧は交流電源ACをダイオードブリッジなどからなる整流回路3により全波整流した脈流電圧であり、PFC回路1で発生する高周波を阻止する入力フィルタ回路4を整流回路3の前段に設けることにより、交流電源ACからの入力電流における高周波電流歪を抑制している。また、PFC回路1を設けることにより、交流電源ACからの入力電流の包絡線が交流電源ACの電圧にほぼ比例し、高力率を得ることができるようになっている。   Conventionally, as an electronic ballast used in a lamp load lighting circuit, as shown in FIG. 9, an AC power source AC such as a commercial power source is used as an input power source, and a PFC circuit (power factor correction circuit) comprising a step-up chopper circuit. 1 and an inverter circuit 2, and a configuration in which a high-frequency alternating voltage generated by the inverter circuit 2 is applied to a lamp load is known. The input voltage of the PFC circuit 1 is a pulsating voltage obtained by full-wave rectification of the AC power supply AC by a rectifier circuit 3 such as a diode bridge, and the input filter circuit 4 for blocking the high frequency generated in the PFC circuit 1 is provided before the rectifier circuit 3. Therefore, high-frequency current distortion in the input current from the AC power supply AC is suppressed. Also, by providing the PFC circuit 1, the envelope of the input current from the AC power supply AC is substantially proportional to the voltage of the AC power supply AC, and a high power factor can be obtained.

PFC回路1は、インダクタL1とスイッチング素子Q1との直列回路を整流回路3の直流出力端間に接続し、PFC回路1の出力端間に接続される平滑コンデンサC1にダイオードD1を直列接続した構成を有する。ダイオードD1と平滑コンデンサC1との直列回路はスイッチング素子Q1の両端間に接続される。スイッチング素子Q1は交流電源ACの周波数よりも十分に高い周波数(たとえば、数kHz〜数百kHz)でオンオフされ、スイッチング素子Q1のオン期間にインダクタL1に蓄積したエネルギを、スイッチング素子Q1のオフ期間に平滑コンデンサC1およびインバータ回路2に放出する。   The PFC circuit 1 has a configuration in which a series circuit of an inductor L1 and a switching element Q1 is connected between the DC output terminals of the rectifier circuit 3, and a diode D1 is connected in series to a smoothing capacitor C1 connected between the output terminals of the PFC circuit 1. Have A series circuit of the diode D1 and the smoothing capacitor C1 is connected between both ends of the switching element Q1. Switching element Q1 is turned on / off at a frequency sufficiently higher than the frequency of AC power supply AC (for example, several kHz to several hundred kHz), and energy stored in inductor L1 during the on period of switching element Q1 is used as the off period of switching element Q1. To the smoothing capacitor C1 and the inverter circuit 2.

一方、インバータ回路2は、2個のスイッチング素子Q2,Q3の直列回路を平滑コンデンサC1の両端間に接続したハーフブリッジ型であり、スイッチング素子Q2,Q3はPFC回路1と同様に高周波でオンオフされる。この種のインバータ回路2の動作は周知であるから詳述しないが、スイッチング素子Q3の両端間に負荷Ldが並列接続され、スイッチング素子Q2,Q3を交互にオンオフさせることにより負荷Ldに高周波交番電圧が印加されるようにしてある。   On the other hand, the inverter circuit 2 is a half bridge type in which a series circuit of two switching elements Q2 and Q3 is connected between both ends of the smoothing capacitor C1, and the switching elements Q2 and Q3 are turned on and off at a high frequency similarly to the PFC circuit 1. The Although the operation of this type of inverter circuit 2 is well known and will not be described in detail, a load Ld is connected in parallel between both ends of the switching element Q3, and the switching element Q2 and Q3 are alternately turned on and off to alternately turn on and off the load Ld with a high frequency alternating voltage. Is applied.

負荷Ldを蛍光灯のようなランプ負荷とする場合には、インバータ回路2から出力される高周波交番電圧が負荷共振回路5を介して負荷Ldに印加されるように構成し、インバタ回路2の出力周波数(駆動周波数)を変化させ負荷共振回路5のインピーダンスを変化させることにより、負荷Ldへの印加電圧を変化させる。つまり、蛍光灯のような熱陰極型のランプ負荷では、点灯前にフィラメントに通電して予熱し、その後、放電を開始させる始動電圧を印加し、始動後に点灯状態を維持するように電力を供給する必要があり、予熱、始動、点灯の各状態に応じた電圧を負荷Ldに印加することが要求される。そこで、インバータ回路2の出力周波数を変化させ、負荷Ldに印加される電圧を変化させる技術が採用されている。また、負荷Ldの点灯状態においてインバータ回路2の駆動周波数を変えることにより調光点灯も可能になっている。   When the load Ld is a lamp load such as a fluorescent lamp, the high frequency alternating voltage output from the inverter circuit 2 is applied to the load Ld via the load resonance circuit 5, and the output of the inverter circuit 2 is configured. The voltage applied to the load Ld is changed by changing the frequency (drive frequency) and changing the impedance of the load resonance circuit 5. In other words, in a hot cathode lamp load such as a fluorescent lamp, the filament is energized and preheated before lighting, and then a starting voltage is applied to start discharge, and power is supplied to maintain the lighting state after starting. It is necessary to apply a voltage corresponding to each state of preheating, starting, and lighting to the load Ld. Therefore, a technique is employed in which the output frequency of the inverter circuit 2 is changed and the voltage applied to the load Ld is changed. Further, dimming lighting is possible by changing the drive frequency of the inverter circuit 2 in the lighting state of the load Ld.

図示例ではPFC回路1およびインバータ回路2に設けたスイッチング素子Q1〜Q3としてMOSFETを用いている。各スイッチング素子Q1〜Q3は、制御回路6により制御される。制御回路6は、PFC回路1に設けたスイッチング素子Q1のオンオフを制御するPFC制御回路6aと、インバータ回路2に設けたスイッチング素子Q2,Q3のオンオフを制御するインバータ制御回路6bとを備える。   In the illustrated example, MOSFETs are used as the switching elements Q1 to Q3 provided in the PFC circuit 1 and the inverter circuit 2. The switching elements Q1 to Q3 are controlled by the control circuit 6. The control circuit 6 includes a PFC control circuit 6a that controls on / off of the switching element Q1 provided in the PFC circuit 1, and an inverter control circuit 6b that controls on / off of the switching elements Q2 and Q3 provided in the inverter circuit 2.

PFC制御回路6aは、整流回路3の直流出力端の電圧を監視する入力電圧検出端子HVinを備えるとともに、PFC回路1の出力を監視するPFCフィードバック端子PFCFBを備える。また、PFC制御回路6aにはスイッチング素子Q1をオンオフさせるための駆動信号を出力するPFC駆動出力端子PFCoutを備える。PFC制御回路6aでは、入力電圧検出端子HVinで監視している整流回路3の出力電圧の立ち上がりによってPFC回路1およびインバータ回路2を起動する。また、入力電圧検出端子HVinで監視している整流回路3の出力電圧の瞬時値の変化に応じて交流電源ACから電流を引き込み、PFCフィードバック端子PFCFBで監視している平滑コンデンサC1の両端電圧を所望値に保つように、駆動出力端子PFCoutから出力される矩形波信号である駆動信号のオン期間およびオフ期間を決定する。   The PFC control circuit 6 a includes an input voltage detection terminal HVin for monitoring the voltage at the DC output terminal of the rectifier circuit 3 and a PFC feedback terminal PFCFB for monitoring the output of the PFC circuit 1. The PFC control circuit 6a includes a PFC drive output terminal PFCout that outputs a drive signal for turning on and off the switching element Q1. In the PFC control circuit 6a, the PFC circuit 1 and the inverter circuit 2 are activated by the rise of the output voltage of the rectifier circuit 3 monitored by the input voltage detection terminal HVin. In addition, current is drawn from the AC power supply AC according to the change in the instantaneous value of the output voltage of the rectifier circuit 3 monitored at the input voltage detection terminal HVin, and the voltage across the smoothing capacitor C1 monitored at the PFC feedback terminal PFCFB is obtained. The on period and the off period of the drive signal, which is a rectangular wave signal output from the drive output terminal PFCout, are determined so as to maintain the desired value.

一方、インバータ制御回路6bは、スイッチング素子Q2,Q3に駆動信号を与える駆動出力端子Hout,Hgnd,Loutを備え、スイッチング素子Q2,Q3を交互にオンオフさせるように駆動信号を出力する。また、インバータ制御回路6bには、インバータ回路2の駆動周波数を決定するための抵抗のような周辺部品を接続したり、外付したセンサなどからの信号を受けて駆動周波数を変化させたり、外部から与えられる調光信号に応じて駆動周波数を変化させたりするために周波数設定端子SFが設けられ、さらに各種異常を検出する異常検出端子DEFが設けられる。調光信号は、調光信号変換回路7を通して制御回路6に適合する信号に変換された後に周波数設定端子SFに入力される。調光信号変換回路7は、たとえば電圧−電流変換回路であり、電圧値によって調光レベルを示す調光信号を調光レベルに応じた電流値の信号に変換する。また、異常検出端子DEFではランプ電圧やランプ電流のように異常の検出に利用できる情報が入力され、インバータ制御回路6bにおいて異常と判断すると、インバータ回路2の動作を停止させる。   On the other hand, the inverter control circuit 6b includes drive output terminals Hout, Hgnd, and Lout that give drive signals to the switching elements Q2 and Q3, and outputs a drive signal so that the switching elements Q2 and Q3 are alternately turned on and off. The inverter control circuit 6b is connected to a peripheral component such as a resistor for determining the drive frequency of the inverter circuit 2, receives a signal from an external sensor, changes the drive frequency, Is provided with a frequency setting terminal SF for changing the driving frequency in accordance with the dimming signal applied from, and an abnormality detection terminal DEF for detecting various abnormalities. The dimming signal is converted into a signal suitable for the control circuit 6 through the dimming signal conversion circuit 7 and then input to the frequency setting terminal SF. The dimming signal conversion circuit 7 is a voltage-current conversion circuit, for example, and converts a dimming signal indicating a dimming level by a voltage value into a signal having a current value corresponding to the dimming level. In addition, information that can be used to detect an abnormality such as a lamp voltage or a lamp current is input to the abnormality detection terminal DEF, and when the inverter control circuit 6b determines that an abnormality has occurred, the operation of the inverter circuit 2 is stopped.

PFC制御回路6aとインバータ制御回路6bとは基準電位となる共通のグランド端子GNDを備え、グランド端子GNDは平滑コンデンサC1の負極に接続される。   The PFC control circuit 6a and the inverter control circuit 6b have a common ground terminal GND serving as a reference potential, and the ground terminal GND is connected to the negative electrode of the smoothing capacitor C1.

上述した制御回路6の構成部品点数を削減し、かつ実装面積を小さくするために、最近では制御回路6に集積回路が採用されている。この種の集積回路としては、たとえばIR社のIR2167があり、この集積回路では、PFC制御回路6a(スイッチング素子Q1の駆動回路を含む)とインバータ制御回路6b(スイッチング素子Q2,Q3の駆動回路を含む)とがワンチップ化されている。   In order to reduce the number of components of the control circuit 6 described above and reduce the mounting area, an integrated circuit has recently been adopted for the control circuit 6. As an integrated circuit of this type, for example, there is IR2167 manufactured by IR. In this integrated circuit, a PFC control circuit 6a (including a drive circuit for the switching element Q1) and an inverter control circuit 6b (drive circuits for the switching elements Q2 and Q3) are provided. Including).

この種の集積回路には種々の構成があるが、おおむね図10に示す構成を有している。入力電圧検出端子HVinは高電圧検出/制御電圧生成部11に接続されており、高電圧検出/制御電圧生成部11では、整流回路3の出力電圧から制御回路6の内部電源を生成する。また、高電圧検出/制御電圧生成部11では整流回路3の出力電圧の立ち上がりによって起動信号を発生し、制御回路6の動作を開始させる。また、高電圧検出/制御電圧生成部11からの起動信号で動作を開始するとともにPFCフィードバック端子PFCFBからの入力を監視しPFC回路1の出力を安定化するように制御信号を生成するPFC制御部12と、所定の周波数の矩形波信号を生成しPFC制御部12で生成された制御信号により矩形波信号のオン期間とオフ期間とが決定されるPFC発振部13と、PFC発振部13から出力される矩形波信号をスイッチング素子Q1を駆動するレベルに変換するPFCドライバ14とを備える。PFCドライバ14の出力は駆動出力端子PFCoutを通してスイッチング素子Q1に与えられる。ここに、高電圧検出/制御電圧生成部11は、整流回路3の出力電圧が印加されるから高耐圧でなければならず、PFCドライバ14はスイッチング素子Q1を駆動するために制御回路6の他の部分よりも大きい電流が流れるから電流容量を大きくとる必要がある。。   This type of integrated circuit has various configurations, but generally has the configuration shown in FIG. The input voltage detection terminal HVin is connected to the high voltage detection / control voltage generation unit 11, and the high voltage detection / control voltage generation unit 11 generates the internal power supply of the control circuit 6 from the output voltage of the rectifier circuit 3. Further, the high voltage detection / control voltage generation unit 11 generates an activation signal at the rise of the output voltage of the rectifier circuit 3 and starts the operation of the control circuit 6. Also, a PFC control unit that starts an operation with a start signal from the high voltage detection / control voltage generation unit 11 and monitors the input from the PFC feedback terminal PFCFB and generates a control signal so as to stabilize the output of the PFC circuit 1 12, a PFC oscillation unit 13 that generates a rectangular wave signal having a predetermined frequency and determines an on period and an off period of the rectangular wave signal based on a control signal generated by the PFC control unit 12, and an output from the PFC oscillation unit 13 And a PFC driver 14 for converting the rectangular wave signal to a level for driving the switching element Q1. The output of the PFC driver 14 is given to the switching element Q1 through the drive output terminal PFCout. Here, since the output voltage of the rectifier circuit 3 is applied to the high voltage detection / control voltage generation unit 11, the high voltage detection / control voltage generation unit 11 must have a high breakdown voltage, and the PFC driver 14 includes the control circuit 6 to drive the switching element Q1. Since a larger current flows than this part, it is necessary to increase the current capacity. .

一方、インバータ回路2の制御のために、制御回路6には、周波数設定端子SFからの入力により駆動周波数を決定する発振周波数設定部15と、発振周波数設定部15で決定された周波数の矩形波信号を出力するインバータ発振部16と、インバータ発振部16から出力される矩形波信号をインバータ回路2のスイッチング素子Q2,Q3を駆動するレベルに変換するHBドライバ(特許請求の範囲における「ドライバ」に相当する)17とが設けられる。発振周波数設定部15は駆動周波数に応じた電流を出力し、インバータ発振部16は電流制御発振器であって、入力電流に応じた周波数の矩形波信号を出力する。また、HBドライバ17の出力は駆動出力端子Hout,Hgnd,Loutを通してスイッチング素子Q2,Q3に与えられる。スイッチング素子Q2,Q3の直列回路には平滑コンデンサC1によって高電圧(たとえば、140V以上)が印加されているから、HBドライバ17には高耐圧が要求される。なお、発振周波数設定部15は、駆動周波数を設定するための抵抗を外付したり、負荷Ldの状態を検出するセンサなどからの外部信号を受けたり、調光信号を調光信号変換回路7で変換した信号を受けたりする機能も備えている。   On the other hand, for control of the inverter circuit 2, the control circuit 6 includes an oscillation frequency setting unit 15 that determines a driving frequency based on an input from the frequency setting terminal SF, and a rectangular wave having a frequency determined by the oscillation frequency setting unit 15. An inverter oscillating unit 16 that outputs a signal, and an HB driver that converts a rectangular wave signal output from the inverter oscillating unit 16 into a level for driving the switching elements Q2 and Q3 of the inverter circuit 2 (in the “driver” in the claims) (Corresponding) 17 is provided. The oscillation frequency setting unit 15 outputs a current corresponding to the drive frequency, and the inverter oscillation unit 16 is a current control oscillator, and outputs a rectangular wave signal having a frequency corresponding to the input current. The output of the HB driver 17 is given to the switching elements Q2, Q3 through the drive output terminals Hout, Hgnd, Lout. Since a high voltage (for example, 140 V or more) is applied to the series circuit of the switching elements Q2 and Q3 by the smoothing capacitor C1, a high breakdown voltage is required for the HB driver 17. The oscillation frequency setting unit 15 has an external resistor for setting the drive frequency, receives an external signal from a sensor or the like that detects the state of the load Ld, and converts the dimming signal to the dimming signal conversion circuit 7. It also has a function to receive the signal converted by.

さらに、制御回路6には、負荷Ldの動作状態に応じて発振周波数設定部15に駆動周波数を指示する点灯制御部18が設けられ、点灯制御部18では予熱、始動、点灯に対応するモード切換信号を周波数設定部15に与えることによって駆動周波数の目標値を与える。また、異常検出端子DEFに入力される情報に基づいて各種異常(無負荷、負荷Ldの寿命末期など)を検出する異常検出部20と、高電圧検出・制御電圧生成部11からの起動信号によりPFC制御部12、HBドライバ17、点灯制御部18に起動を指示する起動・停止制御部19とを備える。起動・停止制御部19は、異常検出部20で異常が検出されると停止を指示し、また異常検出部20において異常の解除が検出されると起動時と同様に予熱から開始させる機能も備える。   Further, the control circuit 6 is provided with a lighting control unit 18 for instructing the driving frequency to the oscillation frequency setting unit 15 according to the operating state of the load Ld. The lighting control unit 18 switches the mode corresponding to preheating, starting, and lighting. A target value of the driving frequency is given by giving a signal to the frequency setting unit 15. Also, an abnormality detection unit 20 that detects various abnormalities (no load, end of life of the load Ld, etc.) based on information input to the abnormality detection terminal DEF, and a start signal from the high voltage detection / control voltage generation unit 11 A PFC control unit 12, an HB driver 17, and a start / stop control unit 19 that instructs the lighting control unit 18 to start. The start / stop control unit 19 also has a function of instructing a stop when an abnormality is detected by the abnormality detection unit 20 and starting from preheating when the abnormality detection unit 20 detects the cancellation of the abnormality. .

制御回路6を構成する集積回路には、オペアンプを用いて構成した電圧−電流変換回路からなる調光信号変換回路7を内蔵している場合もある。あるいはまた、起動や停止を指示する端子を制御回路6に設け、外部信号によって起動および停止を指示できるようにするものもある。   The integrated circuit constituting the control circuit 6 may incorporate a dimming signal conversion circuit 7 composed of a voltage-current conversion circuit configured using an operational amplifier. Alternatively, a terminal for instructing start and stop is provided in the control circuit 6 so that start and stop can be instructed by an external signal.

ところで、上述した制御回路6は主としてアナログ回路により構成されているが、最近では、照明器具をデジタルネットワーク機器と連携させるために、DALI規格のようなデジタル信号を用いる制御信号規格が提案されており、この種のデジタル信号を電子安定器などの内部回路において処理することが考えられている(たとえば、特許文献1参照)。そこで、電子安定器などにおいてもデジタル信号の処理用にマイクロコンピュータ(以下、マイコンと略称する)を搭載し、マイコンの出力によってPFC回路1やインバータ回路2を制御することが必要になってきている。DALI信号の処理用として提供されているマイコンとしては、ST社のST7DALIなどがある。
特開2000−340370公報
By the way, although the control circuit 6 described above is mainly configured by an analog circuit, recently, a control signal standard using a digital signal such as the DALI standard has been proposed in order to link a lighting fixture with a digital network device. It is considered that this type of digital signal is processed in an internal circuit such as an electronic ballast (see, for example, Patent Document 1). Therefore, it is necessary to mount a microcomputer (hereinafter abbreviated as a microcomputer) for processing digital signals in electronic ballasts and the like, and to control the PFC circuit 1 and the inverter circuit 2 by the output of the microcomputer. . As a microcomputer provided for processing a DALI signal, there is ST7DALI of ST company.
JP 2000-340370 A

しかしながら、デジタル信号を扱うことができるようにマイコンを用いると、制御回路6を構成する集積回路のほかに、マイコンおよびマイコン用の電源回路が必要になり、部品点数が増加し、実装面積が拡大するという問題が生じる。   However, if a microcomputer is used so that digital signals can be handled, in addition to the integrated circuit that constitutes the control circuit 6, a microcomputer and a power supply circuit for the microcomputer are required, which increases the number of components and the mounting area. Problem arises.

本発明は上記事由に鑑みて為されたものであり、その目的は、マイコンを用いながらも実装する部品点数の増加や実装面積の拡大を防止することができる半導体装置を提供することにある。   The present invention has been made in view of the above reasons, and an object thereof is to provide a semiconductor device capable of preventing an increase in the number of components to be mounted and an increase in mounting area while using a microcomputer.

請求項1の発明は、外付されたスイッチング素子を駆動する高耐圧のドライバと、ドライバを制御するマイクロコンピュータとが1つのチップ上で構成され、ドライバからマイクロコンピュータへの信号経路にはドライバで生じるノイズを除去するデジタルフィルタが設けられ、マイクロコンピュータからドライバへの信号経路にはマイクロコンピュータで生じる矩形波信号によるノイズを除去するアナログフィルタが設けられていることを特徴とする。   According to the first aspect of the present invention, a high breakdown voltage driver for driving an externally attached switching element and a microcomputer for controlling the driver are formed on one chip, and a driver is provided in a signal path from the driver to the microcomputer. A digital filter for removing generated noise is provided, and an analog filter for removing noise caused by a rectangular wave signal generated by the microcomputer is provided in a signal path from the microcomputer to the driver.

この構成によれば、高耐圧のドライバとドライバを制御するマイクロコンピュータとを1つのチップ上に構成することによって、実装する部品点数の増加を防止し、実装面積の拡大を防止することができる。しかも、高耐圧の回路とデジタル回路とを混載し、互いに信号の受け渡しを行いながらも、相互にアナログフィルタとデジタルフィルタとを設けることによってノイズを除去するから、高耐圧のドライバとマイクロコンピュータとの間で不要な干渉が発生せず、比較的小型のチップで混載が可能になる。   According to this configuration, the high breakdown voltage driver and the microcomputer that controls the driver are configured on one chip, thereby preventing an increase in the number of components to be mounted and an increase in mounting area. Moreover, since a high voltage circuit and a digital circuit are mixedly mounted, and the signals are mutually exchanged, noise is removed by providing an analog filter and a digital filter to each other. Unnecessary interference does not occur between them, and it is possible to mount them with a relatively small chip.

請求項2の発明では、請求項1の発明において、前記ドライバを含むアナログ回路と前記マイクロコンピュータを含むデジタル回路とに電源を供給する電源経路を各別に設けたことを特徴とする。   According to a second aspect of the present invention, in the first aspect of the present invention, a power supply path for supplying power to the analog circuit including the driver and the digital circuit including the microcomputer is provided separately.

この構成によれば、電源経路をアナログ回路とデジタル回路とで各別に設けていることによって電源電圧を適正化することができ、アナログ回路では高い電源電圧を与えることによってダイナミックレンジを大きくとることができ、デジタル回路では低い電源電圧とすることにより部品の小型化が可能になる。   According to this configuration, the power supply voltage can be optimized by providing the power supply path separately for the analog circuit and the digital circuit, and the analog circuit can increase the dynamic range by providing a high power supply voltage. In a digital circuit, it is possible to reduce the size of components by using a low power supply voltage.

請求項3の発明では、請求項1の発明において、前記ドライバと前記マイクロコンピュータとがチップ上で離間して配置されていることを特徴とする。   According to a third aspect of the invention, in the first aspect of the invention, the driver and the microcomputer are spaced apart from each other on a chip.

この構成によれば、ドライバとマイクロコンピュータとの間で互いに不要な干渉が生じにくくなり、ノイズによる誤動作を抑制することができる。   According to this configuration, unnecessary interference is less likely to occur between the driver and the microcomputer, and malfunction due to noise can be suppressed.

請求項4の発明では、請求項1の発明において、前記チップを収納したパッケージを備え、前記ドライバに接続する端子と、前記マイクロコンピュータに接続する端子とはパッケージの異なる辺に配列されていることを特徴とする。   According to a fourth aspect of the present invention, in the first aspect of the invention, a package is provided in which the chip is accommodated, and the terminals connected to the driver and the terminals connected to the microcomputer are arranged on different sides of the package. It is characterized by.

この構成によれば、ドライバとマイクロコンピュータとの間で互いに不要な干渉が生じにくくなり、ノイズによる誤動作を抑制することができる。   According to this configuration, unnecessary interference is less likely to occur between the driver and the microcomputer, and malfunction due to noise can be suppressed.

請求項5の発明では、請求項1の発明において、前記スイッチング素子はランプ負荷の点灯用に用いるインバータ回路を構成するスイッチング素子であって、前記チップにはインバータ回路の入力電源である直流電圧を監視し直流電圧が立ち上がるとマイクロコンピュータをリセットする回路が搭載されていることを特徴とする。   According to a fifth aspect of the present invention, in the first aspect of the invention, the switching element is a switching element constituting an inverter circuit used for lighting a lamp load, and a DC voltage that is an input power source of the inverter circuit is applied to the chip. A circuit is mounted that monitors and resets the microcomputer when the DC voltage rises.

この構成によれば、インバータ回路の電源電圧を監視することによって、インバータ回路の種々の動作に対応付けて電源リセット以外のタイミングでもマイクロコンピュータをリセットすることができる。   According to this configuration, by monitoring the power supply voltage of the inverter circuit, the microcomputer can be reset at a timing other than the power supply reset in association with various operations of the inverter circuit.

本発明の構成によれば、高耐圧のドライバとドライバを制御するマイクロコンピュータとを1つのチップ上に構成することによって、実装する部品点数の増加を防止し、実装面積の拡大を防止することができるという利点がある。しかも、高耐圧の回路とデジタル回路とを混載し、互いに信号の受け渡しを行いながらも、相互にアナログフィルタとデジタルフィルタとを設けることによってノイズを除去するから、高耐圧のドライバとマイクロコンピュータとの間で不要な干渉が発生せず、比較的小型のチップで混載が可能になるという利点がある。   According to the configuration of the present invention, it is possible to prevent an increase in the number of components to be mounted and to prevent an increase in the mounting area by configuring a high breakdown voltage driver and a microcomputer for controlling the driver on one chip. There is an advantage that you can. Moreover, since a high voltage circuit and a digital circuit are mixedly mounted, and the signals are mutually exchanged, noise is removed by providing an analog filter and a digital filter to each other. There is an advantage that unnecessary interference does not occur between them, and it is possible to mount them with a relatively small chip.

(実施形態1)
本実施形態では、蛍光灯のような熱陰極を備える放電灯であるランプ負荷を点灯させる電子安定器の制御用に用いる半導体装置を例示する。本実施形態は、図2に示すように図9に示したものとは制御回路6の構成が相違するが、他の構成については同様であるから、図9に示した従来構成との共通部分については同符号を付して説明は省略する。また、本実施形態では交流電源ACが100〜250Vであって、整流回路3からはピーク値が140V以上の脈流電圧が出力されるものとする。
(Embodiment 1)
In the present embodiment, a semiconductor device used for controlling an electronic ballast that turns on a lamp load, which is a discharge lamp having a hot cathode such as a fluorescent lamp, is illustrated. 2 is different from that shown in FIG. 9 in the configuration of the control circuit 6, but is the same in other configurations, and thus common parts with the conventional configuration shown in FIG. 9. Are denoted by the same reference numerals and description thereof is omitted. In the present embodiment, the AC power supply AC is 100 to 250 V, and the rectifying circuit 3 outputs a pulsating voltage having a peak value of 140 V or more.

本実施形態で用いる制御回路6は、図2に示すように、制御回路6にマイコン7を設けたものであって、図1に破線部で囲んだ範囲がマイコン7により実現される。つまり、図10に示した従来構成のうち点灯制御部18、起動・停止制御部19、異常検出部20をマイコン7により構成しており、さらに調光信号変換回路7に代えてマイコン7により実現される調光信号制御部21を設けている。マイコン7の動作はアプリケーションプログラム22により規定され、マイコン7にはシステムプログラムおよびアプリケーションプログラム22を格納しまた作業領域などに用いるためにROM/RAM23が設けられている。アプリケーションプログラム22は、マイコン7の外部からサービスポートPSを用いて書き換えることができる。図示するマイコン7は6個のポートI/O1〜I/O6を備え、各ポートI/O1〜I/O6は、それぞれ高電圧監視、HBドライバ監視・制御、PFC監視・制御、周波数設定、異常検出読込、調光信号読込に割り当てられている。   As shown in FIG. 2, the control circuit 6 used in the present embodiment is provided with a microcomputer 7 in the control circuit 6, and the range surrounded by a broken line portion in FIG. 1 is realized by the microcomputer 7. That is, in the conventional configuration shown in FIG. 10, the lighting control unit 18, the start / stop control unit 19, and the abnormality detection unit 20 are configured by the microcomputer 7, and further realized by the microcomputer 7 instead of the dimming signal conversion circuit 7. A dimming signal control unit 21 is provided. The operation of the microcomputer 7 is defined by the application program 22, and the microcomputer 7 is provided with a ROM / RAM 23 for storing the system program and the application program 22 and using them in a work area or the like. The application program 22 can be rewritten from the outside of the microcomputer 7 using the service port PS. The illustrated microcomputer 7 has six ports I / O1 to I / O6. Each port I / O1 to I / O6 has high voltage monitoring, HB driver monitoring / control, PFC monitoring / control, frequency setting, abnormality Allocated to detection reading and dimming signal reading.

「高電圧監視」に割り当てられたポートI/O1には、高電圧検出/制御電圧生成部11から出力される起動信号が入力され、起動・停止制御部19はPFC制御部12および点灯制御部18を初期状態にリセットした後に動作を開始させる。また、起動・停止制御部19は、「HBドライバ監視・制御」に割り当てられたポートI/O2と、「PFC監視・制御」に割り当てられたポートI/O3とを有している。起動・停止制御部19は、ポートI/O2を通してHBドライバ17に起動・停止の指示を与えることができ、ポートI/O3を通してPFC制御部12に起動・停止を指示する。また、本実施形態では、HBドライバ17において負荷Ldの有無が検出され、負荷Ldが装着されていることがポートI/O2を通して起動・停止制御部19に通知されると、起動・停止制御部19は点灯制御部18に起動を指示する。さらに、PFC制御部12がPFCフィードバック端子PFCFBから受け取った情報に基づいて異常を検出したときに、PFC制御部12からの異常報知をポートI/O3を通して起動・停止制御部19で受けることができる。   The port I / O1 assigned to “high voltage monitoring” receives a start signal output from the high voltage detection / control voltage generation unit 11, and the start / stop control unit 19 includes the PFC control unit 12 and the lighting control unit. The operation is started after 18 is reset to the initial state. The start / stop control unit 19 has a port I / O2 assigned to “HB driver monitoring / control” and a port I / O3 assigned to “PFC monitoring / control”. The start / stop control unit 19 can give a start / stop instruction to the HB driver 17 through the port I / O2, and instruct the PFC control unit 12 to start / stop through the port I / O3. Further, in the present embodiment, when the presence or absence of the load Ld is detected in the HB driver 17 and the start / stop control unit 19 is notified through the port I / O2 that the load Ld is mounted, the start / stop control unit 19 instructs the lighting control unit 18 to start. Furthermore, when the PFC control unit 12 detects an abnormality based on the information received from the PFC feedback terminal PFCFB, the start / stop control unit 19 can receive an abnormality notification from the PFC control unit 12 through the port I / O 3. .

点灯制御部18は、起動・停止制御部19から起動の指示を受けると、「周波数設定」に割り当てられたポートI/O4を通して発振周波数設定部15に駆動周波数を指示する。ここに、発振周波数設定部15は入力された電流値に応じて駆動周波数を決定するアナログ回路であり、点灯制御部18はマイコン7を用いたデジタル回路であるから、両者間のインターフェースとして割り当てられたポートI/O4はD/A変換を行う。点灯制御部18には調光信号制御部21から調光信号が入力される。調光信号制御部12には調光信号が調光端子Dimから入力される。調光端子DimにはA/D変換を行うために「調光信号読込」に割り当てられたポートI/O6が設けられている。   When the lighting control unit 18 receives a start instruction from the start / stop control unit 19, the lighting control unit 18 instructs the oscillation frequency setting unit 15 through the port I / O 4 assigned to “frequency setting”. Here, the oscillation frequency setting unit 15 is an analog circuit that determines a driving frequency according to the input current value, and the lighting control unit 18 is a digital circuit using the microcomputer 7 and is therefore assigned as an interface between them. The port I / O4 performs D / A conversion. A dimming signal is input from the dimming signal control unit 21 to the lighting control unit 18. A dimming signal is input to the dimming signal control unit 12 from the dimming terminal Dim. The dimming terminal Dim is provided with a port I / O 6 assigned to “read dimming signal” in order to perform A / D conversion.

さらに、異常検出端子DEFからの入力は、「異常検出読込」に割り当てられたポートI/O5に入力され、ポートI/O5からの入力を異常検出部20に入力することにより、異常検出部20において異常の発生の有無を判断する。異常検出部20で異常が検出されると起動・停止制御部19に通知し、PFC制御部12、HBドライバ17、点灯制御部18の動作を停止させる。   Further, the input from the abnormality detection terminal DEF is input to the port I / O 5 assigned to “read abnormality detection”, and the input from the port I / O 5 is input to the abnormality detection unit 20. In step 1, it is determined whether or not an abnormality has occurred. When an abnormality is detected by the abnormality detection unit 20, the start / stop control unit 19 is notified, and the operations of the PFC control unit 12, the HB driver 17, and the lighting control unit 18 are stopped.

次に、マイコン7の動作について図3を参照して説明する。電源が投入されると、高電圧検出/制御電圧生成部11からの起動信号がポートI/O1に入力され、起動・停止制御部19はマイコン7を初期状態にリセットする(S1)。次に、ポートI/O5を備える異常検出部20で負荷Ldの有無を検出し(S2)、負荷Ldが装着されているときには、起動・停止制御部19は点灯制御部18に起動を指示する。点灯制御部18は起動が指示されると予熱モード(先行予熱モード)に設定される(S3)。点灯制御部18の出力はポートI/O4によりD/A変換され、予熱時の周波数に対応した電圧が発振周波数設定部15に印加され、インバータ発振部16およびHBドライバ17を通して従来構成と同様にスイッチング素子Q2,Q3がオンオフされる。予熱中にはポートI/O1〜I/O3を通して、電源電圧の低下による高電圧検出/制御電圧生成部11の出力の変化、HBドライバ17の異常の有無、PFC制御部12の異常の有無を監視し(S4)、異常がなければ所定時間で予熱を完了する(S5)。予熱が完了すれば、点灯制御部18は予熱時と同様にしてポートI/O4から始動に対応した電圧を出力して発振周波数設定部15に始動を指示する(S6)。始動中にもポートI/O1〜I/O3を通して、電源電圧の低下による高電圧検出/制御電圧生成部11の出力の変化、HBドライバ17の異常の有無、PFC制御部12の異常の有無を監視し(S7)、異常がなければ所定時間で始動を完了する(S8)。   Next, the operation of the microcomputer 7 will be described with reference to FIG. When the power is turned on, a start signal from the high voltage detection / control voltage generation unit 11 is input to the port I / O1, and the start / stop control unit 19 resets the microcomputer 7 to an initial state (S1). Next, the presence / absence of the load Ld is detected by the abnormality detection unit 20 having the port I / O 5 (S2). When the load Ld is mounted, the start / stop control unit 19 instructs the lighting control unit 18 to start. . When the activation is instructed, the lighting control unit 18 is set to the preheating mode (preceding preheating mode) (S3). The output of the lighting control unit 18 is D / A converted by the port I / O 4, and a voltage corresponding to the frequency at the time of preheating is applied to the oscillation frequency setting unit 15, and through the inverter oscillation unit 16 and the HB driver 17 as in the conventional configuration. Switching elements Q2, Q3 are turned on / off. During preheating, the ports I / O1 to I / O3 are used to check whether the output of the high voltage detection / control voltage generation unit 11 has changed due to a decrease in power supply voltage, whether there is an abnormality in the HB driver 17, and whether there is an abnormality in the PFC control unit 12. Monitor (S4), and if there is no abnormality, preheating is completed in a predetermined time (S5). When the preheating is completed, the lighting control unit 18 outputs a voltage corresponding to the start from the port I / O 4 in the same manner as the preheating, and instructs the oscillation frequency setting unit 15 to start (S6). Even during start-up, through ports I / O1 to I / O3, changes in the output of the high voltage detection / control voltage generator 11 due to a drop in the power supply voltage, whether there is an abnormality in the HB driver 17, and whether there is an abnormality in the PFC controller 12 Monitoring is performed (S7), and if there is no abnormality, the start is completed in a predetermined time (S8).

始動の完了後には、ポートI/O6を通して調光信号制御部21において調光信号を読み込み、点灯制御部18からポートI/O4を通して調光信号で指示された調光レベルに対応する電圧を発振周波数設定部15に与える(S9)。すなわち、調光レベルに応じた駆動周波数でインバータ回路2を駆動し、負荷Ldを点灯させることができる。調光信号による調光レベルが100%であれば定格点灯になり、調光レベルが100%以外では調光点灯になる。予熱時や始動時と同様に点灯中においてもポートI/O1〜I/O3を通して、電源電圧の低下による高電圧検出/制御電圧生成部11の出力の変化、HBドライバ17の異常の有無、PFC制御部12の異常の有無を監視する(S10)。また、点灯中にはポートI/O5を通して負荷Ldが寿命末期か否かを検出する(S11)。   After completion of the start-up, the dimming signal control unit 21 reads the dimming signal through the port I / O6, and oscillates a voltage corresponding to the dimming level indicated by the dimming signal from the lighting control unit 18 through the port I / O4. This is given to the frequency setting unit 15 (S9). That is, the inverter circuit 2 can be driven with the drive frequency corresponding to the dimming level, and the load Ld can be lit. When the dimming level by the dimming signal is 100%, the rated lighting is performed, and when the dimming level is other than 100%, the dimming is performed. Even during preheating or during start-up, the output of the high voltage detection / control voltage generator 11 due to a decrease in the power supply voltage, the presence or absence of an abnormality in the HB driver 17, through the ports I / O1 to I / O3, PFC, The controller 12 is monitored for the presence or absence of an abnormality (S10). Further, during lighting, it is detected whether or not the load Ld is at the end of its life through the port I / O 5 (S11).

ステップS4,S7,S10のいずれかにおいて異常が検出されたときには、割り込みをかけて電源/回路異常処理を行い(S13)、マイコン7をリセットする(S1)。この処理は起動・停止制御部19が行う。また、ステップS11において負荷Ldの寿命末期が検出されると、異常検出処理を行う(S12)。異常検出処理とは、たとえば負荷Ldの交換まで動作を停止することであって、異常検出処理からステップS2に戻り、正常な負荷Ldの装着が検出されると予熱からの動作を行う。   When an abnormality is detected in any of steps S4, S7, and S10, an interrupt is performed to perform power supply / circuit abnormality processing (S13), and the microcomputer 7 is reset (S1). This process is performed by the start / stop control unit 19. Further, when the end of life of the load Ld is detected in step S11, an abnormality detection process is performed (S12). The abnormality detection process is to stop the operation until the load Ld is replaced, for example. The process returns from the abnormality detection process to step S2, and the operation from the preheating is performed when the normal load Ld is detected.

ところで、上述の例では調光信号がアナログ信号(たとえば、PWM信号を平滑した直流電圧信号)である場合を想定しており、ポートI/O6はA/D変換の機能を有しているが、DALI信号のようなシリアルのデジタル信号を調光信号に用いる場合にはポートI/O6でA/D変換を行う必要はなく、調光信号制御部21からデジタル信号による調光レベルの指示を行えばよい。また、ポートI/O6においてデジタル信号を扱う場合にはポートI/O6を双方向として起動・停止制御部19に入力される異常の情報をポートI/O6を通して外部に取り出せるようにすることも可能である。   In the above example, it is assumed that the dimming signal is an analog signal (for example, a DC voltage signal obtained by smoothing a PWM signal), and the port I / O 6 has an A / D conversion function. When a serial digital signal such as a DALI signal is used for the dimming signal, it is not necessary to perform A / D conversion at the port I / O 6, and the dimming level instruction by the digital signal is given from the dimming signal control unit 21. Just do it. When digital signals are handled at the port I / O 6, it is possible to make the port I / O 6 bi-directional so that abnormal information input to the start / stop control unit 19 can be taken out through the port I / O 6. It is.

本実施形態では、マイコン7のアプリケーションプログラム22を変更することによってインバータ回路2の駆動周波数の設定値を対象とする負荷Ldに応じて変更することが可能であるから、ハードウェアを変更することなく異なる仕様の負荷Ldに対応することが可能になる。また、赤外線リモコンに対応するインタフェースを設ければ、赤外線受光素子をサービスポートSPに接続するだけで赤外線リモコンによる制御も可能になる。あるいはまた、負荷Ldの経時的な光量低下を補正するために累積点灯時間に応じて調光レベルを高めて負荷Ldの光出力をほぼ一定に保つような制御もアプリケーションプログラム22の変更だけで可能になる。このように、アプリケーションプログラム22を変更するだけで各種機能を付加することができ、高機能化への対応が容易になる。   In the present embodiment, the setting value of the drive frequency of the inverter circuit 2 can be changed according to the load Ld as a target by changing the application program 22 of the microcomputer 7, so that the hardware is not changed. It becomes possible to cope with loads Ld having different specifications. If an interface corresponding to the infrared remote controller is provided, the infrared remote controller can be controlled only by connecting the infrared light receiving element to the service port SP. Alternatively, in order to correct a decrease in light amount with time of the load Ld, control that increases the dimming level according to the cumulative lighting time and keeps the light output of the load Ld almost constant is possible only by changing the application program 22. become. As described above, various functions can be added only by changing the application program 22, and it becomes easy to cope with higher functions.

ところで、上述したように制御回路6には、高耐圧を要求される高電圧検出/制御電圧生成部11やHBドライバ17が設けられ、また大電流が流れるPFCドライバ14が設けられ、さらにはマイコンにより構成されるデジタル回路と、マイコン以外のアナログ回路とが設けられる。したがって、これらの回路をワンチップ化しようとすれば、HBドライバ17のような高耐圧の回路で発生する高周波のノイズがマイコン7で扱うデジタル信号に混入して誤動作を生じる可能性がある。また、マイコン7で扱うデジタル信号が発振周波数設定部15やPFC制御部12のようなアナログ回路に対するノイズになり、インバータ回路2の駆動周波数が不安定になって負荷Ldの光出力にちらつきを生じたり、PFC回路1の入力電流の高調波歪を増加させたり平滑コンデンサC1の両端電圧が不安定になって負荷Ldの光出力にちらつきを生じたりすることがある。   By the way, as described above, the control circuit 6 is provided with the high voltage detection / control voltage generation unit 11 and the HB driver 17 that are required to have a high breakdown voltage, the PFC driver 14 through which a large current flows, and a microcomputer. A digital circuit constituted by the above and an analog circuit other than the microcomputer are provided. Therefore, if these circuits are to be made into one chip, there is a possibility that high-frequency noise generated in a high voltage circuit such as the HB driver 17 is mixed into a digital signal handled by the microcomputer 7 and malfunction occurs. In addition, the digital signal handled by the microcomputer 7 becomes noise for analog circuits such as the oscillation frequency setting unit 15 and the PFC control unit 12, and the drive frequency of the inverter circuit 2 becomes unstable, causing the light output of the load Ld to flicker. Or the harmonic distortion of the input current of the PFC circuit 1 may be increased, or the voltage across the smoothing capacitor C1 may become unstable, causing the light output of the load Ld to flicker.

そこで、本実施形態では、高耐圧を要する回路とマイコン7とのチップ内での空間距離を大きくとるとともに、アナログ信号とデジタル信号との干渉を抑制するフィルタ回路31〜33を適所に設けている。   Therefore, in the present embodiment, filter circuits 31 to 33 are provided at appropriate positions to increase the spatial distance in the chip between the circuit requiring high breakdown voltage and the microcomputer 7 and to suppress interference between the analog signal and the digital signal. .

具体的には、マイコン7およびROM/RAM23のようなデジタル回路と、高耐圧を要するHBドライバ17と、オペアンプなどで構成されるPFC制御部12や発振周波数設定部15のようなアナログ回路とをチップ内で空間的に分離して配置し、とくにマイコン7を含むデジタル回路とHBドライバ17とはチップ内でもっとも離れた位置に配置してある。一般にチップは平面視で矩形状であるから、マイコン7とHBドライバ17とをチップの対角線の両端付近に配置することにより両者間の距離を大きくとっている。つまり、マイコン7とHBドライバ17とをチップ上で離間させて配置している。また、内部配線においてもデジタル回路の配線とHBドライバ17の配線との距離、あるいは各配線と各回路との距離を可及的に大きくしてある。さらに、制御回路6の各端子については、図4に示すように、マイコン7のI/Oポートとなる端子群T1と、HBドライバ17の出力端子となる端子群T2とは制御回路6のチップを収納したパッケージ(ここでは面実装用のフラットパッケージを想定している)における対角線の両端部付近に配置してある。このような配置によって外部配線間でも高耐圧の回路とデジタル回路との干渉を低減させることができる。また、グランドラインはデジタル回路と、アナログ回路と、HBドライバ17とでそれぞれ完結させ、他の回路のグランドラインとの接続は1点程度の最小数とする。加えて、制御回路6のパッケージには、デジタル回路と、アナログ回路と、HBドライバ17とに対応するグランド用の端子を各別に設ける(デジタル回路用グランドDGND、アナログ回路用グランドAGND、HBドライバ用グランドRGND)。なお、図4における端子CKはクロック入力端子である。   Specifically, a digital circuit such as the microcomputer 7 and the ROM / RAM 23, an HB driver 17 that requires high withstand voltage, and an analog circuit such as the PFC control unit 12 and the oscillation frequency setting unit 15 configured by an operational amplifier or the like are provided. The chip is spatially separated in the chip, and in particular, the digital circuit including the microcomputer 7 and the HB driver 17 are arranged at the farthest positions in the chip. Since the chip is generally rectangular in plan view, the distance between the microcomputer 7 and the HB driver 17 is increased by arranging the microcomputer 7 and the HB driver 17 near both ends of the diagonal line of the chip. That is, the microcomputer 7 and the HB driver 17 are arranged apart from each other on the chip. Also in the internal wiring, the distance between the wiring of the digital circuit and the wiring of the HB driver 17 or the distance between each wiring and each circuit is made as large as possible. Furthermore, as for each terminal of the control circuit 6, as shown in FIG. 4, a terminal group T1 that becomes an I / O port of the microcomputer 7 and a terminal group T2 that becomes an output terminal of the HB driver 17 are the chips of the control circuit 6. Is disposed in the vicinity of both ends of a diagonal line in a package (in this case, a flat package for surface mounting is assumed). With such an arrangement, interference between the high voltage circuit and the digital circuit can be reduced even between the external wirings. The ground lines are completed by the digital circuit, the analog circuit, and the HB driver 17, respectively, and the number of connections to the ground lines of other circuits is a minimum of about one point. In addition, the package of the control circuit 6 is provided with ground terminals corresponding to the digital circuit, the analog circuit, and the HB driver 17 (digital circuit ground DGND, analog circuit ground AGND, and HB driver). Grand RGND). Note that a terminal CK in FIG. 4 is a clock input terminal.

制御回路6の内部においては、図1に示しているように、デジタル回路からアナログ回路(PFC制御部12,発振周波数設定部15)への経路と、デジタル回路からHBドライバ17への経路にそれぞれローパスフィルタ(アナログフィルタ)であるフィルタ回路31〜33を挿入し、デジタル信号の高周波成分がアナログ回路ないしHBドライバ17に混入しないようにする。逆に、アナログ回路およびHBドライバ17からデジタル回路であるマイコン7のポートへの信号についてはデジタルフィルタによって平均化などのフィルタ処理を行う。このような構成を採用することにより、アナログ回路とデジタル回路と高耐圧を要する回路との間でのノイズの混入を抑制することができる。   In the control circuit 6, as shown in FIG. 1, there are a path from the digital circuit to the analog circuit (PFC control unit 12, oscillation frequency setting unit 15) and a path from the digital circuit to the HB driver 17, respectively. Filter circuits 31 to 33 which are low-pass filters (analog filters) are inserted so that high frequency components of the digital signal are not mixed into the analog circuit or the HB driver 17. Conversely, the signal from the analog circuit and HB driver 17 to the port of the microcomputer 7 which is a digital circuit is subjected to filter processing such as averaging by a digital filter. By adopting such a configuration, it is possible to suppress the mixing of noise between the analog circuit, the digital circuit, and a circuit that requires a high breakdown voltage.

上述したように、マイコン7と高耐圧のHBドライバ17とを1つのチップに設けた(ワンチップ化した)制御回路6を用いるから、アナログ回路とHBドライバ17とマイコン7とを別個に設ける場合に比較すると端子数が削減され、また電源についても共用化することができ実装する部品点数を削減することができ、結果的に実装面積を小さくすることができる。   As described above, since the control circuit 6 in which the microcomputer 7 and the high breakdown voltage HB driver 17 are provided on one chip (one-chip) is used, the analog circuit, the HB driver 17 and the microcomputer 7 are provided separately. Compared to the above, the number of terminals is reduced, and the power source can be shared, so that the number of components to be mounted can be reduced, and as a result, the mounting area can be reduced.

(実施形態2)
本実施形態は、図5に示すように、図1に示した実施形態1の構成の一部を変形したものである。具体的には、実施形態1においてアナログ回路として設けていた周波数設定部15に代えて、マイコン7に点灯制御部18と周波数設定部15との機能を兼用した点灯制御/周波数設定部18′を設け、さらにアナログ回路として設けていたインバータ発振部16もマイコン7により実現している。したがって、インバータ発振部16はクロック信号を計数するタイマを備え、タイマでのクロック信号のカウント数を点灯制御/周波数設定部18′で指定することにより、インバータ発振部16から所望周波数の矩形波信号を出力する。インバータ発振部16はマイコン7に設けられているからポートI/O7を通して矩形波信号をHBドライバ17に与える。また、HBドライバ17にはマイコン7からのデジタル信号から高周波成分を除去するフィルタ回路34が設けられる。この構成では、クロック信号を計数するタイマの分解能によってインバータ回路2の駆動周波数の変化幅の最小値が決まるから、タイマの分解能は高いほうが望ましい。
(Embodiment 2)
As shown in FIG. 5, the present embodiment is obtained by modifying a part of the configuration of the first embodiment shown in FIG. Specifically, instead of the frequency setting unit 15 provided as an analog circuit in the first embodiment, the microcomputer 7 includes a lighting control / frequency setting unit 18 ′ that combines the functions of the lighting control unit 18 and the frequency setting unit 15. Further, the inverter oscillating unit 16 provided as an analog circuit is also realized by the microcomputer 7. Accordingly, the inverter oscillating unit 16 includes a timer that counts the clock signal, and the number of clock signals counted by the timer is designated by the lighting control / frequency setting unit 18 ′, so that the inverter oscillating unit 16 outputs a rectangular wave signal having a desired frequency. Is output. Since the inverter oscillating unit 16 is provided in the microcomputer 7, a rectangular wave signal is given to the HB driver 17 through the port I / O 7. The HB driver 17 is provided with a filter circuit 34 that removes a high frequency component from the digital signal from the microcomputer 7. In this configuration, since the minimum value of the change width of the drive frequency of the inverter circuit 2 is determined by the resolution of the timer that counts the clock signal, it is desirable that the timer has a higher resolution.

また、本実施形態では、周波数設定端子SFからの入力を受けて点灯制御/周波数設定部18′のポートI/O4に周波数の調節を指示する出力調整部24を設けてある。負荷Ldの点灯状態において、周波数設定端子SFには、負荷Ldの光出力を反映する信号が入力される。点灯制御/周波数設定部18′では、調光信号制御部21から与えられる調光レベルに対応する駆動周波数を目標値とし、出力調節部24からポートI/O4を通して入力される負荷Ldの光出力が目標値よりも大きいときには駆動周波数を高くして光出力を低減させ、逆に光出力が目標値よりも小さいときには駆動周波数を低くして光出力を増加させる。このようなフィードバック制御を行うことにより、負荷Ldの光出力がほぼ一定に保たれる。   In the present embodiment, an output adjustment unit 24 that receives an input from the frequency setting terminal SF and instructs the port I / O4 of the lighting control / frequency setting unit 18 'to adjust the frequency is provided. In the lighting state of the load Ld, a signal reflecting the light output of the load Ld is input to the frequency setting terminal SF. In the lighting control / frequency setting unit 18 ′, the drive frequency corresponding to the dimming level given from the dimming signal control unit 21 is set as a target value, and the optical output of the load Ld input from the output adjustment unit 24 through the port I / O4. When is greater than the target value, the drive frequency is increased to reduce the light output. Conversely, when the light output is smaller than the target value, the drive frequency is decreased to increase the light output. By performing such feedback control, the light output of the load Ld is kept substantially constant.

本実施形態のマイコン7の動作は、図6に示すように、図3に示した実施形態1の動作とほぼ同様であって、上述した構成の相違によって、ステップS3,S6,S9のみが相違する。すなわち、ステップS3、S6においては実施形態1ではポートI/O4から周波数設定部15に周波数を指示していたのに対して、本実施形態ではポートI/O7から所望周波数の矩形波信号を出力する点で相違する。また、ステップS9においては矩形波信号をポートI/O7から出力するほか、出力調整部24から負荷Ldの光出力を反映する情報(図6では「フィードバック指定値」と記載している)を読み込む点が相違する。他の動作については実施形態1と同様である。   As shown in FIG. 6, the operation of the microcomputer 7 of the present embodiment is substantially the same as the operation of the first embodiment shown in FIG. 3, and only steps S3, S6, and S9 are different due to the difference in the configuration described above. To do. In other words, in steps S3 and S6, the frequency is instructed from the port I / O4 to the frequency setting unit 15 in the first embodiment, whereas in this embodiment, a rectangular wave signal having a desired frequency is output from the port I / O7. It is different in the point to do. In step S9, in addition to outputting a rectangular wave signal from the port I / O 7, information reflecting the optical output of the load Ld (described as “feedback designated value” in FIG. 6) is read from the output adjustment unit 24. The point is different. Other operations are the same as those in the first embodiment.

本実施形態の構成では実施形態1の構成に比較すると、インバータ回路2の駆動周波数を決める矩形波信号をマイコン7から出力しているからアナログ回路が削減されるのであって、マイコン7のアプリケーションプログラム22によって制御可能な要素が増えるから、制御回路6の汎用性を高めることになる。他の構成および動作は実施形態1と同様である。   Compared with the configuration of the first embodiment, the configuration of the present embodiment outputs a square wave signal that determines the drive frequency of the inverter circuit 2 from the microcomputer 7, so that the analog circuit is reduced. Since the number of elements that can be controlled by 22 increases, the versatility of the control circuit 6 is enhanced. Other configurations and operations are the same as those of the first embodiment.

(実施形態3)
本実施形態は、図7に示すように、高電圧検出/制御電源生成部11において、高低2種類の直流電圧Vcc,Vddを出力し、高いほうの直流電圧VccをPFC制御部12などのアナログ制御部XとPFCドライバ14とHBドライバ17と(つまり、アナログ回路)に供給し、低いほうの直流電圧Vddをマイコン7により構成されたデジタル制御部Y(つまり、デジタル回路)に供給したものである。高電圧検出・制御電源生成部11の電源には平滑コンデンサC1を用いており、各直流電圧Vcc,Vddはたとえば15Vと5Vとに設定される。すなわち、PFCドライバ14とHBドライバ17とに高電圧を与えることによりスイッチング素子Q1〜Q3の駆動能力を向上させ、オペアンプなどを用いて構成されるアナログ制御部Xに高電圧を与えることによりS/N比を向上させることができる。また、デジタル制御部Yに対しては低電圧を与えることにより構成要素の小型化を可能とし集積密度を高めるのである。なお、高電圧Vccが印加される回路と低電圧Vddが印加される回路との間には、電源電圧の相違による信号振幅の違いを吸収するためにバッファを設ける。
(Embodiment 3)
In the present embodiment, as shown in FIG. 7, the high voltage detection / control power generation unit 11 outputs two types of high and low DC voltages Vcc and Vdd, and the higher DC voltage Vcc is output to an analog such as the PFC control unit 12. The control unit X, the PFC driver 14, and the HB driver 17 (that is, an analog circuit) are supplied, and the lower DC voltage Vdd is supplied to the digital control unit Y (that is, the digital circuit) configured by the microcomputer 7. is there. A smoothing capacitor C1 is used as the power source of the high voltage detection / control power source generation unit 11, and the DC voltages Vcc and Vdd are set to 15V and 5V, for example. That is, the driving capability of the switching elements Q1 to Q3 is improved by applying a high voltage to the PFC driver 14 and the HB driver 17, and the high voltage is applied to the analog control unit X configured using an operational amplifier or the like. The N ratio can be improved. Further, by applying a low voltage to the digital control unit Y, it is possible to reduce the size of the constituent elements and increase the integration density. A buffer is provided between a circuit to which the high voltage Vcc is applied and a circuit to which the low voltage Vdd is applied in order to absorb a difference in signal amplitude due to a difference in power supply voltage.

本実施形態では電源を2系統に分けているからアナログ回路かデジタル回路かに応じて電源電圧を適正化することができ、また電源系統を分離していることにより回路間のノイズによる干渉を抑制することができる。他の構成および動作は実施形態1、2と同様である。   In this embodiment, since the power supply is divided into two systems, the power supply voltage can be optimized according to whether it is an analog circuit or a digital circuit, and by separating the power supply system, interference due to noise between circuits is suppressed. can do. Other configurations and operations are the same as those in the first and second embodiments.

(実施形態4)
本実施形態は、図8に示すように、制御回路6に外付部品Zを設け、外付部品Zに直流電源Vddを供給する例を示す。このような外付部品Zとしては、たとえばデータを一時的に記憶したり演算過程で用いたりするメモリがある。マイコン7では、一般にプログラム(システムプログラムおよびアプリケーションプログラム)をROMあるいは不揮発性メモリ(フラッシュROM、EEPROMなど)に格納し、データの一時記憶や演算に用いる作業用メモリはRAM(DRAM、SRAM、フラッシュRAMなど)で構成している。このようなメモリを制御回路6に内蔵することにより上述したように、高耐圧回路とマイコン7とをワンチップ化した制御回路6を実現することができるが、制御回路6に内蔵できるメモリの容量は比較的小さい。したがって、高機能化するためにはメモリあるいはインターフェース用の集積回路を外付部品Zとして接続することが必要になることがある。
(Embodiment 4)
In the present embodiment, as shown in FIG. 8, an example in which an external component Z is provided in the control circuit 6 and a DC power supply Vdd is supplied to the external component Z is shown. As such an external component Z, for example, there is a memory that temporarily stores data or uses it in a calculation process. In the microcomputer 7, a program (system program and application program) is generally stored in a ROM or a nonvolatile memory (flash ROM, EEPROM, etc.), and a working memory used for temporary data storage or calculation is RAM (DRAM, SRAM, flash RAM). Etc.). By incorporating such a memory in the control circuit 6, as described above, it is possible to realize the control circuit 6 in which the high voltage circuit and the microcomputer 7 are integrated into one chip. Is relatively small. Therefore, it may be necessary to connect an integrated circuit for memory or interface as an external component Z in order to achieve high functionality.

このような場合に備えて外付部品Zを接続可能としておけば高機能化が可能になる。ただし、外付部品Zに用いる場合に別途に電源を設けたのでは実装面積が増大するから、本実施形態では外付部品Zへの電源Vddを制御回路6の内部に設けた高電圧検出/制御電源生成部11から供給している。要するに、デジタル制御部Yに供給する電源を制御回路6の外部に取り出すための端子を設け、この端子から外付部品Zに供給するのである。この構成を採用することにより、高機能化の際にも部品点数の増加を抑制し実装面積の増加を抑制することができる。他の構成および動作は実施形態3と同様である。   If the external component Z can be connected in preparation for such a case, higher functionality can be achieved. However, if a power supply is separately provided when used for the external component Z, the mounting area increases. Therefore, in this embodiment, the high-voltage detection / detection in which the power supply Vdd to the external component Z is provided in the control circuit 6 is used. It is supplied from the control power generator 11. In short, a terminal for taking out the power supplied to the digital control unit Y to the outside of the control circuit 6 is provided and supplied to the external component Z from this terminal. By adopting this configuration, it is possible to suppress an increase in the number of components and suppress an increase in the mounting area even in the case of higher functionality. Other configurations and operations are the same as those in the third embodiment.

本発明の実施形態1を示すブロック図である。It is a block diagram which shows Embodiment 1 of this invention. 同上を用いた放電灯点灯装置を示す回路図である。It is a circuit diagram which shows the discharge lamp lighting device using the same as the above. 同上の動作説明図である。It is operation | movement explanatory drawing same as the above. 同上の平面図である。It is a top view same as the above. 本発明の実施形態2を示すブロック図である。It is a block diagram which shows Embodiment 2 of this invention. 同上の動作説明図である。It is operation | movement explanatory drawing same as the above. 本発明の実施形態3を示すブロック図である。It is a block diagram which shows Embodiment 3 of this invention. 本発明の実施形態4を示すブロック図である。It is a block diagram which shows Embodiment 4 of this invention. 従来の放電灯点灯装置を示す回路図である。It is a circuit diagram which shows the conventional discharge lamp lighting device. 従来例を示すブロック図である。It is a block diagram which shows a prior art example.

符号の説明Explanation of symbols

2 インバータ回路
6 制御回路
7 マイクロコンピュータ
11 高電圧検出/制御電源生成部
14 PFCドライバ
17 HBドライバ
31〜34 フィルタ回路
C1 平滑コンデンサ
Q1〜Q3 スイッチング素子
T1 端子群(マイコンのI/Oポート)
T2 端子群(HBドライバの出力端子)
X アナログ制御部
Y デジタル制御部
2 Inverter circuit 6 Control circuit 7 Microcomputer 11 High voltage detection / control power generation unit 14 PFC driver 17 HB driver 31-34 Filter circuit C1 Smoothing capacitor Q1-Q3 Switching element T1 Terminal group (I / O port of microcomputer)
T2 terminal group (HB driver output terminal)
X Analog control unit Y Digital control unit

Claims (5)

外付されたスイッチング素子を駆動する高耐圧のドライバと、ドライバを制御するマイクロコンピュータとが1つのチップ上で構成され、ドライバからマイクロコンピュータへの信号経路にはドライバで生じるノイズを除去するデジタルフィルタが設けられ、マイクロコンピュータからドライバへの信号経路にはマイクロコンピュータで生じる矩形波信号によるノイズを除去するアナログフィルタが設けられていることを特徴とする半導体装置。   A high-voltage driver that drives an external switching element and a microcomputer that controls the driver are configured on a single chip, and a digital filter that removes noise generated by the driver in the signal path from the driver to the microcomputer And a signal path from the microcomputer to the driver is provided with an analog filter for removing noise caused by a rectangular wave signal generated in the microcomputer. 前記ドライバを含むアナログ回路と前記マイクロコンピュータを含むデジタル回路とに電源を供給する電源経路を各別に設けたことを特徴とする請求項1記載の半導体装置。   2. The semiconductor device according to claim 1, wherein power supply paths for supplying power to the analog circuit including the driver and the digital circuit including the microcomputer are provided separately. 前記ドライバと前記マイクロコンピュータとがチップ上で離間して配置されていることを特徴とする請求項1記載の半導体装置。   2. The semiconductor device according to claim 1, wherein the driver and the microcomputer are spaced apart from each other on a chip. 前記チップを収納したパッケージを備え、前記ドライバに接続する端子と、前記マイクロコンピュータに接続する端子とはパッケージの異なる辺に配列されていることを特徴とする請求項1記載の半導体装置。   2. The semiconductor device according to claim 1, further comprising a package containing the chip, wherein a terminal connected to the driver and a terminal connected to the microcomputer are arranged on different sides of the package. 前記スイッチング素子はランプ負荷の点灯用に用いるインバータ回路を構成するスイッチング素子であって、前記チップにはインバータ回路の入力電源である直流電圧を監視し直流電圧が立ち上がるとマイクロコンピュータをリセットする回路が搭載されていることを特徴とする請求項1記載の半導体装置。   The switching element is a switching element that constitutes an inverter circuit used for lighting a lamp load. The chip has a circuit that monitors a DC voltage that is an input power source of the inverter circuit and resets the microcomputer when the DC voltage rises. The semiconductor device according to claim 1, wherein the semiconductor device is mounted.
JP2004188770A 2004-06-25 2004-06-25 Semiconductor device Expired - Fee Related JP4661104B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004188770A JP4661104B2 (en) 2004-06-25 2004-06-25 Semiconductor device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004188770A JP4661104B2 (en) 2004-06-25 2004-06-25 Semiconductor device

Publications (2)

Publication Number Publication Date
JP2006013169A true JP2006013169A (en) 2006-01-12
JP4661104B2 JP4661104B2 (en) 2011-03-30

Family

ID=35780037

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004188770A Expired - Fee Related JP4661104B2 (en) 2004-06-25 2004-06-25 Semiconductor device

Country Status (1)

Country Link
JP (1) JP4661104B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008300070A (en) * 2007-05-29 2008-12-11 Shindengen Electric Mfg Co Ltd Integrated circuit and discharge lamp lighting device equipped with the integrated circuit
JP2011135721A (en) * 2009-12-25 2011-07-07 Shihen Tech Corp Power supply device
JP2014533486A (en) * 2011-11-15 2014-12-11 シュネーデル、トウシバ、インベーター、ヨーロッパ、ソシエテ、パル、アクション、セプリフエSchneider Toshiba Inverter Europe Sas Control method and system for correcting voltage applied to electric load
JP2021052491A (en) * 2019-09-25 2021-04-01 東芝ライテック株式会社 Electric power supply device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001326086A (en) * 2000-05-17 2001-11-22 Matsushita Electric Ind Co Ltd Discharge lamp lighting device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001326086A (en) * 2000-05-17 2001-11-22 Matsushita Electric Ind Co Ltd Discharge lamp lighting device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008300070A (en) * 2007-05-29 2008-12-11 Shindengen Electric Mfg Co Ltd Integrated circuit and discharge lamp lighting device equipped with the integrated circuit
JP2011135721A (en) * 2009-12-25 2011-07-07 Shihen Tech Corp Power supply device
JP2014533486A (en) * 2011-11-15 2014-12-11 シュネーデル、トウシバ、インベーター、ヨーロッパ、ソシエテ、パル、アクション、セプリフエSchneider Toshiba Inverter Europe Sas Control method and system for correcting voltage applied to electric load
JP2021052491A (en) * 2019-09-25 2021-04-01 東芝ライテック株式会社 Electric power supply device
JP7331582B2 (en) 2019-09-25 2023-08-23 東芝ライテック株式会社 power supply

Also Published As

Publication number Publication date
JP4661104B2 (en) 2011-03-30

Similar Documents

Publication Publication Date Title
JP4460202B2 (en) Discharge lamp lighting device
JP4249749B2 (en) Ballast control circuit with power factor correction on a single chip
US6717374B2 (en) Microcontroller, switched-mode power supply, ballast for operating at least one electric lamp, and method of operating at least one electric lamp
US6731078B2 (en) Ballast for operating electric lamps
US9338857B2 (en) Electronic ballast circuit for lamps
US7605546B2 (en) Discharge lamp lighting apparatus and semiconductor integrated circuit
JP4661104B2 (en) Semiconductor device
JP4840382B2 (en) Discharge lamp lighting device
US6111365A (en) Fast starting, surge limited, electronic ballast
JP2007066700A (en) Discharge lamp lighting device
JP3521687B2 (en) Discharge lamp lighting device
JP4124791B2 (en) Electronic ballast for fluorescent lamp
JP4678425B2 (en) Discharge lamp lighting device
JP4341487B2 (en) Discharge lamp lighting device
JP2817137B2 (en) Discharge lamp lighting device
JP2004342321A (en) Discharge lamp lighting device
JP4619167B2 (en) Discharge lamp lighting device
JP2007265700A (en) Inverter control ic and discharge lamp lighting device
WO2009003089A2 (en) Variable amplitude electronic ballast
JP2005183291A (en) Discharge lamp lighting apparatus and lighting equipment
JP2012133922A (en) Discharge lamp lighting device and luminaire
JPH11204284A (en) Discharge lamp lighting device
JP2005310738A (en) Discharge lamp lighting device, and illumination device
JP2005216842A (en) Discharge lamp lighting device
JP2006331826A (en) High-pressure discharge lamp lighting device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070604

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100511

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100513

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20100712

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

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

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

Free format text: PAYMENT UNTIL: 20140114

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees