JP2004187492A - Semiconductor device and control method - Google Patents

Semiconductor device and control method Download PDF

Info

Publication number
JP2004187492A
JP2004187492A JP2003381580A JP2003381580A JP2004187492A JP 2004187492 A JP2004187492 A JP 2004187492A JP 2003381580 A JP2003381580 A JP 2003381580A JP 2003381580 A JP2003381580 A JP 2003381580A JP 2004187492 A JP2004187492 A JP 2004187492A
Authority
JP
Japan
Prior art keywords
dead time
value
semiconductor device
timer
setting
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
JP2003381580A
Other languages
Japanese (ja)
Other versions
JP4509535B2 (en
Inventor
Manabu Takahashi
学 高橋
Koji Kawamichi
康二 川道
Shohei Oishi
昇平 大石
Masaru Obara
勝 小原
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 Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2003381580A priority Critical patent/JP4509535B2/en
Publication of JP2004187492A publication Critical patent/JP2004187492A/en
Application granted granted Critical
Publication of JP4509535B2 publication Critical patent/JP4509535B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • General Induction Heating (AREA)
  • Inverter Devices (AREA)
  • Electronic Switches (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To add a dead time by a flexible and simple configuration in a semiconductor device generating complementary PWM signals for the purpose of inverter control, for example. <P>SOLUTION: In a dead time addition portion 2A, a time until a figure of a timer 22 reaches a setting value of a register 24a is added as a first dead time when a first PWM signal PWM1 rises whereas a time until the figure of the timer 22 reaches a setting value of the register 24b is added as a second dead time at a rise time of a second PWM signal PWM2. <P>COPYRIGHT: (C)2004,JPO&NCIPI

Description

本発明は、例えばインバータ制御用のために、相補PWM信号を生成する半導体装置に関するものであり、特に、相補PWM信号にデッドタイムを付加するための技術に属する。   The present invention relates to a semiconductor device that generates a complementary PWM signal, for example, for inverter control, and particularly to a technique for adding a dead time to a complementary PWM signal.

図11に示すような、2個のスイッチング素子51,52を直列接続した構成からなるインバータ回路5は、IH調理器などの誘導加熱装置を構成する回路として広く使用されている(特許文献1参照)。また、モータ駆動用のインバータ回路も、各相において2個のスイッチング素子を直列に接続し、これを3相並列に接続した構成であり、基本的には同様の構成となる。   An inverter circuit 5 having a configuration in which two switching elements 51 and 52 are connected in series as shown in FIG. 11 is widely used as a circuit configuring an induction heating device such as an IH cooker (see Patent Document 1). ). The inverter circuit for driving the motor also has a configuration in which two switching elements are connected in series in each phase, and the three switching elements are connected in parallel in three phases, and basically have the same configuration.

これらのインバータ回路は、通常、同時にオンしない時間(デッドタイム)を付加したPWM(Pulse Width Modulation)信号を用いて制御される。この信号の例を図12(a)に示す。このデッドタイムの役割の1つは、図12(b)に示すように、2個のスイッチング素子が同時にオンすることによって、貫通電流が流れ、インバータ制御回路を破壊してしまうことを防止することである。また一般には、図13に示すように、異なる2個のスイッチング素子のオン・オフ特性に合わせた最適なスイッチングタイミングを設定し、スイッチング素子の電力損失を最小限にすることを目的として設定される。電力損失は、オン・オフ切り換え時の電流と電圧の積によって求められる。   These inverter circuits are usually controlled using a PWM (Pulse Width Modulation) signal to which a time (dead time) during which they are not simultaneously turned on is added. An example of this signal is shown in FIG. One of the roles of the dead time is to prevent the through current from flowing and the inverter control circuit from being destroyed when the two switching elements are simultaneously turned on, as shown in FIG. It is. In general, as shown in FIG. 13, an optimal switching timing is set in accordance with the on / off characteristics of two different switching elements, and is set for the purpose of minimizing the power loss of the switching elements. . The power loss is determined by the product of the current and the voltage at the time of on / off switching.

従来、このデッドタイムを設定する手法として、1)通常のPWM出力を使用し、制御回路上でデッドタイムを付加する手法、2)半導体装置からの一定のデッドタイム付きPWM出力を用いる手法、3)1)と2)を組み合わせた手法が知られている。   Conventionally, as a method of setting the dead time, 1) a method of using a normal PWM output and adding a dead time on a control circuit, 2) a method of using a PWM output with a fixed dead time from a semiconductor device, 3 (1) A method combining 1) and 2) is known.

1)の手法は例えば特許文献1に開示されており、誘導加熱調理器を制御するインバータ駆動回路に制御回路を付加することによってデッドタイムを設定することができる。上述の図11はその基本回路構成であり、デッドタイム設定回路7は、駆動制御回路6から2個のスイッチング素子51,52を同時にオフする信号を生成する。図13に示すように、デッドタイムtd1は、Vge2が0vになってスイッチング素子52がオフしてから、Vce1の残存電圧が最小になるまでの期間に設定し、デッドタイムtd2はVge1が0vになってスイッチング素子51がオフしてから、ic2のマイナス電流(スイッチング素子1内蔵のフリーホイールダイオード電流)のがほぼ半減するまでの期間に設定する。いずれも、回路の定数によって決定される。   The method 1) is disclosed in, for example, Patent Document 1, and the dead time can be set by adding a control circuit to an inverter drive circuit that controls the induction heating cooker. FIG. 11 shows the basic circuit configuration. The dead time setting circuit 7 generates a signal from the drive control circuit 6 to turn off the two switching elements 51 and 52 simultaneously. As shown in FIG. 13, the dead time td1 is set to a period from the time when Vge2 becomes 0V and the switching element 52 is turned off to the time when the remaining voltage of Vce1 becomes the minimum, and the dead time td2 is set when Vge1 becomes 0V. Thus, the period is set to a period from when the switching element 51 is turned off to when the minus current of ic2 (the free-wheel diode current incorporated in the switching element 1) is almost halved. Both are determined by circuit constants.

これ以外でも、PWM出力と遅延回路との組み合わせによって実現する手法が知られており、例えば図14のように、それぞれのPWM信号に対し、任意に設定するCR回路53,54によって遅延をもたせることによってデッドタイムを付加する。これにより、図15に示すような2種類のデッドタイム付き出力信号を生成することが可能である。   Other than this, a method of realizing the combination of a PWM output and a delay circuit is known. For example, as shown in FIG. 14, each of the PWM signals is delayed by CR circuits 53 and 54 that are arbitrarily set. Add dead time. This makes it possible to generate two types of output signals with dead time as shown in FIG.

また、制御回路を付加する必要がないように、マイクロコンピュータからデッドタイムを付加したPWM出力を生成する機能を有するものも実現されている。この場合のデッドタイム設定には、デッドタイム時間を設定するための1個のデッドタイムレジスタが用いられ、PWM信号のオンタイミングとオフタイミングで同一のデッドタイムが付加される。   Further, a microcomputer having a function of generating a PWM output to which a dead time is added from a microcomputer so as not to add a control circuit is realized. In the dead time setting in this case, one dead time register for setting the dead time is used, and the same dead time is added at the ON timing and the OFF timing of the PWM signal.

このようなインバータ制御用のマイクロコンピュータの多くは、カウンタと比較器(コンパレータ)等を備えている。カウンタが0から周波数設定値までカウントアップし、その間にカウント値とデューティ設定値を比較し、一致したときに出力信号を反転することによって、基準となるPWM信号を生成する。このとき、カウンタとデッドタイム設定値とを比較し、一致するまで、オンするタイミングを出力反転タイミングから遅らせることによって、デッドタイムを挿入する。この場合、デッドタイムはスイッチング素子の特性によらず、一定の時間を設定できる。
特開平10−149876号公報
Many of such microcomputers for controlling an inverter include a counter, a comparator, and the like. The counter counts up from 0 to the frequency set value, during which the count value and the duty set value are compared, and when they match, the output signal is inverted to generate a reference PWM signal. At this time, the dead time is inserted by comparing the counter with the dead time set value and delaying the ON timing from the output inversion timing until the values match. In this case, a fixed time can be set for the dead time regardless of the characteristics of the switching element.
JP-A-10-149876

ところが、上述の特許文献1や、CR回路を用いた方法では、設定されるデッドタイムは基板上のハード設定で決定されるため、スイッチング素子に対して一定の値を設定できるのみであった。このため、デッドタイムの最適値を変更・設定するのは困難であり、より高度な制御を行うためには、例えばハード的にCR成分を変更する制御回路部が必要になるなどの制約があった。さらに、PWM信号が時定数を持った波形となることや、部品ばらつきの面から、精度の高い制御を行うことが困難になっていた。   However, in the above-described Patent Document 1 and the method using the CR circuit, the set dead time is determined by the hardware setting on the substrate, and therefore, only a fixed value can be set for the switching element. For this reason, it is difficult to change / set the optimum value of the dead time, and there is a restriction that a control circuit unit for changing the CR component in hardware is required in order to perform more advanced control. Was. Furthermore, it has been difficult to perform highly accurate control because the PWM signal has a waveform having a time constant and component variations.

さらに、インバータ制御用マイクロコンピュータとしてデッドタイム付きPWM出力を実現する手法では、デッドタイムレジスタを1個しか持たないため、立ち上がりと立ち下りに共通のデッドタイムを付加する機能を有するのみだった。このため、対となるスイッチング素子の特性が対称なインバータ回路を制御する場合には特に問題とならないが、スイッチング特性が互いに異なるインバータ回路を制御する場合には、個別に最適なデッドタイムを設定することが求められ、この場合には、適用が困難であるという問題があった。   Furthermore, the method of realizing PWM output with dead time as an inverter control microcomputer has only one dead time register, and thus has only a function of adding a common dead time to rising and falling. For this reason, there is no particular problem when controlling an inverter circuit in which the characteristics of a pair of switching elements are symmetric, but when controlling inverter circuits having different switching characteristics, an optimum dead time is set individually. In this case, there is a problem that application is difficult.

前記の問題に鑑み、本発明は、例えばインバータ制御用のために相補PWM信号を生成する半導体装置において、デッドタイムを、柔軟に、かつ、簡易な構成によって付加できるようにすることを課題とする。   In view of the above-described problem, an object of the present invention is to make it possible to add a dead time flexibly and with a simple configuration in a semiconductor device that generates a complementary PWM signal for inverter control, for example. .

前記の課題を解決するために、請求項1の発明が講じた解決手段は、半導体装置として、第1のPWM信号と、前記第1のPWM信号の反転信号である第2のPWM信号とを生成する相補PWM生成部と、前記第1のPWM信号の立ち上がり時に第1のデッドタイムを付加するとともに、前記第2のPWM信号の立ち上がり時に第2のデッドタイムを付加するデッドタイム付加部とを備え、前記デッドタイム付加部は、前記第1のデッドタイムと前記第2のデッドタイムとを、個別に設定可能に構成されている。   In order to solve the above-mentioned problem, a solution taken by the invention of claim 1 is that a semiconductor device includes a first PWM signal and a second PWM signal which is an inverted signal of the first PWM signal. A complementary PWM generation unit that generates the first PWM signal; and a dead time addition unit that adds a second dead time to the rising edge of the second PWM signal while adding a first dead time when the first PWM signal rises. The dead time adding unit is configured to be able to individually set the first dead time and the second dead time.

請求項1の発明によると、第1のPWM信号の立ち上がり時に付加される第1のデッドタイムと、第2のPWM信号の立ち上がり時に付加される第2のデッドタイムとを、デッドタイム付加部によって、個別に設定可能となる。このため、従来よりも、柔軟に、より高度な制御を実現することができる。   According to the first aspect of the present invention, the first dead time added at the rise of the first PWM signal and the second dead time added at the rise of the second PWM signal are determined by the dead time adding unit. , Can be set individually. For this reason, more advanced control can be realized more flexibly than in the past.

そして、請求項2の発明では、前記請求項1におけるデッドタイム付加部は、デッドタイムタイマと、第1および第2のデッドタイム設定レジスタとを備え、前記デッドタイムタイマの値が前記第1のデッドタイム設定レジスタの設定値に達するまでの時間を、前記第1のデッドタイムとして設定するとともに、前記デッドタイムタイマの値が前記第2のデッドタイム設定レジスタの設定値に達するまでの時間を、前記第2のデッドタイムとして設定するものとする。   According to a second aspect of the present invention, the dead time adding unit according to the first aspect includes a dead time timer and first and second dead time setting registers, and a value of the dead time timer is set to the first dead time. The time until the value of the dead time setting register is reached is set as the first dead time, and the time until the value of the dead time timer reaches the value set in the second dead time setting register is It is set as the second dead time.

さらに、請求項3の発明では、前記請求項2における第1および第2のデッドタイム設定レジスタは、直列に配置されているものとする。   Further, in the invention according to claim 3, the first and second dead time setting registers according to claim 2 are arranged in series.

また、請求項4の発明では、前記請求項2における第1および第2のデッドタイム設定レジスタは、並列に配置されているものとする。   In the invention of claim 4, the first and second dead time setting registers in claim 2 are arranged in parallel.

また、請求項5の発明では、前記請求項1におけるデッドタイム付加部は、第1および第2のデッドタイムタイマと、第1および第2のデッドタイム設定レジスタとを備え、前記第1のデッドタイムタイマの値が前記第1のデッドタイム設定レジスタの設定値に達するまでの時間を、前記第1のデッドタイムとして設定するとともに、前記第2のデッドタイムタイマの値が前記第2のデッドタイム設定レジスタの設定値に達するまでの時間を、前記第2のデッドタイムとして設定するものとする。   Further, in the invention according to claim 5, the dead time adding unit according to claim 1 includes first and second dead time timers, and first and second dead time setting registers, The time until the value of the time timer reaches the set value of the first dead time setting register is set as the first dead time, and the value of the second dead time timer is set to the second dead time. The time until the value reaches the setting value of the setting register is set as the second dead time.

また、請求項6の発明では、前記請求項1におけるデッドタイム付加部は、第1および第2のデッドタイム設定レジスタと、前記相補PWM生成部が有する周期タイマのカウンタ値を前記第1および第2のデッドタイム設定レジスタの設定値と比較する比較器とを備え、前記比較器による前記第1のデッドタイム設定レジスタの設定値との比較結果を基にして、前記第1のデッドタイムを設定するとともに、前記比較器による前記第2のデッドタイム設定レジスタの設定値との比較を基にして、前記第2のデッドタイムを設定するものとする。   Further, in the invention according to claim 6, the dead time adding unit according to claim 1 includes a first and second dead time setting register and a counter value of a periodic timer included in the complementary PWM generation unit, the first and second dead time setting registers. And a comparator for comparing the setting value of the second dead time setting register with the setting value of the first dead time setting register. In addition, the second dead time is set based on a comparison between the comparator and a set value of the second dead time setting register.

また、請求項7の発明では、前記請求項1におけるデッドタイム付加部は、前記請求項1における第1および第2のデッドタイム設定レジスタと、前記相補PWM生成部が有する周期タイマのカウンタ値を前記第1のデッドタイム設定レジスタの設定値と比較する第1の比較器と、前記周期タイマのカウンタ値を前記第2のデッドタイム設定レジスタの設定値と比較する第2の比較器とを備え、前記第1の比較器による比較結果を基にして、前記第1のデッドタイムを設定するとともに、前記第2の比較器による比較結果を基にして、前記第2のデッドタイムを設定するものとする。   In the invention of claim 7, the dead time adding unit in claim 1 stores the first and second dead time setting registers in claim 1 and a counter value of a periodic timer of the complementary PWM generation unit. A first comparator for comparing a set value of the first dead time setting register with a set value of the second dead time setting register; and a second comparator for comparing a counter value of the period timer with a set value of the second dead time setting register. Setting the first dead time based on the comparison result by the first comparator, and setting the second dead time based on the comparison result by the second comparator And

また、請求項8の発明では、前記請求項1の半導体装置は、デッドタイム切替入力に応じて、前記第1および第2のデッドタイムのうち少なくともいずれか一方が、設定変更可能なように構成されているものとする。   Further, according to the invention of claim 8, the semiconductor device of claim 1 is configured such that at least one of the first and second dead times can be set and changed in response to a dead time switching input. It is assumed that

また、請求項9の発明が講じた解決手段は、コイルによる加熱動作を行うインバータ回路と、前記インバータ回路をデッドタイムを付加した前記第1および第2のPWM信号を与えることによって制御する前記請求項8の半導体装置とを備えた誘導加熱装置における制御方法として、前記インバータ回路が前記半導体装置に前記デッドタイム切替入力として信号を与え、前記半導体装置が受けた前記デッドタイム切替入力に応じて、前記第1および第2のデッドタイムのうち少なくとも一方を設定変更するものである。   In a ninth aspect of the present invention, there is provided an inverter circuit for performing a heating operation by a coil, and the inverter circuit is controlled by giving the first and second PWM signals to which a dead time is added. As a control method in the induction heating device including the semiconductor device according to item 8, the inverter circuit provides a signal as the dead time switching input to the semiconductor device, and according to the dead time switching input received by the semiconductor device, The setting of at least one of the first and second dead times is changed.

そして、請求項10の発明では、前記請求項9の制御方法において、前記インバータ回路は、前記デッドタイム切替入力として異常加熱を示す異常信号を出力し、前記半導体装置は、前記異常信号を受けたとき前記設定変更を実行するものとする。   According to a tenth aspect of the present invention, in the control method of the ninth aspect, the inverter circuit outputs an abnormal signal indicating abnormal heating as the dead time switching input, and the semiconductor device receives the abnormal signal. At this time, the setting change is executed.

また、請求項11の発明では、前記請求項9の制御方法において、前記インバータ回路は、前記デッドタイム切替入力として加熱コイル電流の電流値を示すアナログ信号を出力し、前記半導体装置は、受けた前記アナログ信号をAD変換し、変換値が所定範囲外にあるとき前記設定変更を実行するものとする。   In the invention according to claim 11, in the control method according to claim 9, the inverter circuit outputs an analog signal indicating a current value of a heating coil current as the dead time switching input, and the semiconductor device receives the analog signal. The analog signal is AD-converted, and the setting change is executed when the converted value is out of a predetermined range.

本発明によると、PWM信号と、その反転信号とで、異なるデッドタイムの設定が可能となる。このため、回路上でデッドタイムの最適値を変更・設定する必要がなくなると共に、個別に最適なデッドタイムの設定を実施することが可能となり、電力損失を抑えた、より高度な制御を行うことが可能になる。   According to the present invention, it is possible to set different dead times for the PWM signal and its inverted signal. Therefore, it is not necessary to change and set the optimum dead time on the circuit, and it is also possible to individually set the optimum dead time, and to perform more advanced control with reduced power loss Becomes possible.

(第1の実施形態)
図1は本発明の第1の実施形態に係る半導体装置の構成を示すブロック図である。図1の半導体装置は、インバータ制御用のためにPWM信号を生成するものであり、代表的にはマイクロコンピュータ(マイコン)において実現される。
(1st Embodiment)
FIG. 1 is a block diagram showing the configuration of the semiconductor device according to the first embodiment of the present invention. The semiconductor device shown in FIG. 1 generates a PWM signal for controlling an inverter, and is typically realized by a microcomputer.

図1において、相補PWM生成部1は、デッドタイムが付加される前の相補PWM信号、すなわち第1のPWM信号PWM1およびその反転信号である第2のPWM信号PWM2を生成するものであり、バッファレジスタ11,17、周期設定レジスタ12、比較器13,15、周期タイマ14、デューティ設定レジスタ16およびTフリップフロップ18を備えている。周期タイマ14はオーバーフロー、または周期設定レジスタ12の設定値との比較一致によってリスタートし、原PWM信号PWM0の周期を設定する。また、周期タイマ14のカウンタ値とデューティ設定レジスタ16の設定値との比較一致によって、原PWM信号PWM0のオン期間を設定する。   In FIG. 1, a complementary PWM generation unit 1 generates a complementary PWM signal before a dead time is added, that is, a first PWM signal PWM1 and a second PWM signal PWM2 which is an inverted signal of the first PWM signal PWM1. The circuit includes registers 11, 17, a cycle setting register 12, comparators 13, 15, a cycle timer 14, a duty setting register 16, and a T flip-flop 18. The cycle timer 14 is restarted by overflow or by comparison with the set value of the cycle setting register 12, and sets the cycle of the original PWM signal PWM0. Further, the on-period of the original PWM signal PWM0 is set by comparing and matching the counter value of the cycle timer 14 with the set value of the duty setting register 16.

デッドタイム付加部2は、相補PWM生成部1によって生成された第1および第2のPWM信号PWM1,PWM2にデッドタイムを付加するものであり、エッジ検出部21、デッドタイムタイマ22、バッファレジスタ23、直列に配置された第1および第2のデッドタイム設定レジスタ24a,24b、並びに第1および第2のデッドタイム挿入部25a,25bを備えている。デッドタイムタイマ22は、周期タイマ14の起動タイミング、および、周期タイマ14とデューティ設定レジスタ16との比較一致に同期してリスタートする。そして、デッドタイムタイマ22の値が第1のデッドタイム設定レジスタ24aの設定値に達するまでの時間を、第1のPWM信号PWM1の立ち上がり時に第1のデッドタイムとして付加するとともに、デッドタイムタイマ22の値が第2のデッドタイム設定レジスタ24bの設定値に達するまでの時間を、第2のPWM信号PWM2の立ち上がり時に第2のデッドタイムとして付加する。このようにして、上相信号SUおよび下相信号SLが生成される。   The dead time adding section 2 adds a dead time to the first and second PWM signals PWM1 and PWM2 generated by the complementary PWM generating section 1, and includes an edge detecting section 21, a dead time timer 22, and a buffer register 23. , First and second dead time setting registers 24a and 24b, and first and second dead time insertion units 25a and 25b. The dead time timer 22 restarts in synchronization with the activation timing of the cycle timer 14 and the comparison match between the cycle timer 14 and the duty setting register 16. Then, the time until the value of the dead time timer 22 reaches the set value of the first dead time setting register 24a is added as the first dead time when the first PWM signal PWM1 rises. Is added as a second dead time when the second PWM signal PWM2 rises, until the value of the second PWM signal reaches the value set in the second dead time setting register 24b. Thus, the upper phase signal SU and the lower phase signal SL are generated.

デッドタイム設定用のバッファレジスタ23へのデータ設定には割り込み処理が用いられ、周期タイマ14とデューティ設定レジスタ16との比較一致割り込みの場合は、第2のデッドタイムの設定値が設定される一方、周期タイマ14と周期設定レジスタ12との比較一致割り込みの場合は、第1のデッドタイムの設定値が設定される。また、それぞれの割り込みのタイミングで、第2のデッドタイム設定レジスタ24bから第1のデッドタイムレジスタ24aへの転送と、バッファレジスタ23から第2のデッドタイム設定レジスタ24bへの転送とが行われる。これにより、第1のデッドタイム設定レジスタ24aには、周期タイマ14と周期設定レジスタ12との比較一致割り込みのタイミングで、第1のデッドタイムの設定値が設定される一方、周期タイマ14とデューティ設定レジスタ16との比較一致割り込みのタイミングで、第2のデッドタイムの設定値が設定される。   An interrupt process is used to set data in the buffer register 23 for setting the dead time. In the case of a comparison match interrupt between the cycle timer 14 and the duty setting register 16, the set value of the second dead time is set. In the case of a comparison match interrupt between the cycle timer 14 and the cycle setting register 12, the set value of the first dead time is set. Further, at each interrupt timing, transfer from the second dead time setting register 24b to the first dead time register 24a and transfer from the buffer register 23 to the second dead time setting register 24b are performed. Accordingly, the first dead time setting value is set in the first dead time setting register 24a at the timing of the comparison coincidence interrupt between the period timer 14 and the period setting register 12, while the period timer 14 and the duty At the timing of the comparison match interrupt with the setting register 16, the set value of the second dead time is set.

図2は図1の半導体装置の動作を示すタイミングチャートである。図2に示すように、周期タイマ14のカウント開始と同時に、原PWM信号PWM0が立ち上がるともに、デッドタイムタイマ22がカウントを開始する。そして、デッドタイムタイマ22のカウント値が第1のデッドタイム設定レジスタ24aの設定値(第1のデッドタイムの設定値)に達したとき、上相信号SUが立ち上がり、第1のデッドタイムt1が設定される。その後、周期タイマ14のカウント値がデューティ設定レジスタ16の設定値に達したとき、原PWM信号PWM0が立ち下がるとともに、上相信号SUが立ち下がる。   FIG. 2 is a timing chart showing the operation of the semiconductor device of FIG. As shown in FIG. 2, at the same time when the period timer 14 starts counting, the original PWM signal PWM0 rises, and the dead time timer 22 starts counting. When the count value of the dead time timer 22 reaches the set value of the first dead time setting register 24a (the set value of the first dead time), the upper-phase signal SU rises, and the first dead time t1 is increased. Is set. Thereafter, when the count value of the cycle timer 14 reaches the value set in the duty setting register 16, the original PWM signal PWM0 falls and the upper phase signal SU falls.

このとき、デッドタイムタイマ22がカウントを再び開始し、そのカウント値が第1のデッドタイム設定レジスタ24aの設定値(第2のデッドタイムの設定値)に達したとき、下相信号SLが立ち上がり、第2のデッドタイムt2が設定される。その後、周期タイマ14のカウント値が周期設定レジスタ12の設定値に達したとき、下相信号SLが立ち下がる。   At this time, the dead time timer 22 starts counting again, and when the count value reaches the set value of the first dead time setting register 24a (the set value of the second dead time), the lower phase signal SL rises. , A second dead time t2 is set. Thereafter, when the count value of the cycle timer 14 reaches the value set in the cycle setting register 12, the lower phase signal SL falls.

以上のように本実施形態によると、第1のPWM信号の立ち上がり時に付加する第1のデッドタイムと、第2のPWM信号の立ち上がり時に付加する第2のデッドタイムとを、個別に設定することができる。   As described above, according to the present embodiment, the first dead time added at the rise of the first PWM signal and the second dead time added at the rise of the second PWM signal are individually set. Can be.

また、本実施形態を、例えば、デッドタイム期間レジスタを用いてデッドタイム設定を切り替える構成(比較例)と比較すると、次のような長所がある。すなわち、比較例の場合には、デッドタイム設定用のバッファレジスタを備えていないため、レジスタ値の更新を最適なタイミングで実行することができず、したがって、デッドタイムレジスタ設定値とデッドタイムカウンタの大小関係が反転しないように、一旦PWM出力を停止してから切り替えるしかなかった。   Further, when this embodiment is compared with a configuration in which the dead time setting is switched using a dead time period register (comparative example), there are the following advantages. That is, in the case of the comparative example, since the buffer register for setting the dead time is not provided, the updating of the register value cannot be performed at the optimum timing. In order to prevent the magnitude relationship from reversing, the only option is to stop the PWM output and then switch it.

ところが本実施形態によると、割り込み処理内でデッドタイムの設定を切り替える必要はあるものの、2個のデッドタイム設定レジスタ間の転送はハードによる最適なタイミングで実施されるため、PWM出力を停止することなく容易に実現可能となる。   However, according to the present embodiment, although it is necessary to switch the setting of the dead time in the interrupt processing, since the transfer between the two dead time setting registers is performed at the optimal timing by hardware, it is necessary to stop the PWM output. And can be easily realized.

(第2の実施形態)
図3は本発明の第2の実施形態に係る半導体装置の構成を示すブロック図であり、図1と共通の構成要素については図1と同一の符号を付している。図1と異なるのは、デッドタイム付加部2Aにおいて、第1および第2のデッドタイム設定レジスタ24a,24bが並列に配置されており、それぞれにバッファレジスタ23a,23bが設けられている点である。
(Second embodiment)
FIG. 3 is a block diagram showing a configuration of a semiconductor device according to the second embodiment of the present invention. Components common to FIG. 1 are denoted by the same reference numerals as in FIG. The difference from FIG. 1 is that first and second dead time setting registers 24a and 24b are arranged in parallel in the dead time adding unit 2A, and buffer registers 23a and 23b are provided respectively. .

図4は図3の半導体装置の動作を示すタイミングチャートであり、基本的な動作は第1の実施形態と同様である。ただし、第1および第2のデッドタイム設定レジスタ24a,24bの設定値の更新は、周期タイマ14と周期設定レジスタ12との比較一致タイミングにおいて実行される。   FIG. 4 is a timing chart showing the operation of the semiconductor device of FIG. 3, and the basic operation is the same as that of the first embodiment. However, the update of the set values of the first and second dead time setting registers 24a and 24b is executed at the comparison coincidence timing between the cycle timer 14 and the cycle setting register 12.

すなわち、本実施形態では、第1の実施形態と比べるとバッファレジスタを1個追加した構成になっているが、第1の実施形態のようにPWM周期設定割り込みとデューティ設定割込みの処理内でデッドタイム時間設定を切り替える必要がない。またバッファレジスタは、単純に、あるタイミングで(周期毎に)デッドタイム設定レジスタへの転送を行うだけのものである。したがって、CPUに負担をかけることなく実現が可能となる。   That is, the present embodiment has a configuration in which one buffer register is added as compared with the first embodiment. However, as in the first embodiment, dead time is set in the processing of the PWM cycle setting interrupt and the duty setting interrupt. There is no need to switch the time setting. Further, the buffer register simply transfers data to the dead time setting register at a certain timing (per cycle). Therefore, it can be realized without putting a burden on the CPU.

(第3の実施形態)
図5は本発明の第3の実施形態に係る半導体装置の構成を示すブロック図であり、図3と共通の構成要素については図3と同一の符号を付している。図3と異なるのは、デッドタイム付加部2Bにおいて、第1のデッドタイム用と第2のデッドタイム用に、それぞれ第1および第2のデッドタイムタイマ22a,22bが設けられている点である。第1のデッドタイムタイマ22aは周期タイマ14の起動タイミングに同期して起動し、第2のデッドタイムタイマ22bは周期タイマ14とデューティ設定レジスタ16との比較一致に同期してスタートする。
(Third embodiment)
FIG. 5 is a block diagram showing a configuration of a semiconductor device according to the third embodiment of the present invention. Components common to FIG. 3 are denoted by the same reference numerals as in FIG. The difference from FIG. 3 is that the dead time adding section 2B is provided with first and second dead time timers 22a and 22b for the first dead time and the second dead time, respectively. . The first dead time timer 22a starts in synchronization with the start timing of the cycle timer 14, and the second dead time timer 22b starts in synchronization with the comparison match between the cycle timer 14 and the duty setting register 16.

図6は図5の半導体装置の動作を示すタイミングチャートである。図6に示すように、周期タイマ14のカウント開始と同時に、原PWM信号PWM0が立ち上がるともに、第1のデッドタイムタイマ22aがカウントを開始する。そして、デッドタイムタイマ22aのカウント値が第1のデッドタイム設定レジスタ24aの設定値に達したとき、上相信号SUが立ち上がり、第1のデッドタイムt1が設定される。その後、周期タイマ14のカウント値がデューティ設定レジスタ16の設定値に達したとき、原PWM信号PWM0が立ち下がるとともに、上相信号SUが立ち下がる。   FIG. 6 is a timing chart showing the operation of the semiconductor device of FIG. As shown in FIG. 6, at the same time when the period timer 14 starts counting, the original PWM signal PWM0 rises, and the first dead time timer 22a starts counting. Then, when the count value of the dead time timer 22a reaches the set value of the first dead time setting register 24a, the upper phase signal SU rises, and the first dead time t1 is set. Thereafter, when the count value of the cycle timer 14 reaches the value set in the duty setting register 16, the original PWM signal PWM0 falls and the upper phase signal SU falls.

このとき、第2のデッドタイムタイマ22bがカウントを再び開始し、そのカウント値が第2のデッドタイム設定レジスタ24bの設定値に達したとき、下相信号SLが立ち上がり、第2のデッドタイムt2が設定される。その後、周期タイマ14のカウント値が周期設定レジスタ12の設定値に達したとき、下相信号SLが立ち下がる。   At this time, the second dead time timer 22b starts counting again, and when the count value reaches the set value of the second dead time setting register 24b, the lower phase signal SL rises and the second dead time t2 Is set. Thereafter, when the count value of the cycle timer 14 reaches the value set in the cycle setting register 12, the lower phase signal SL falls.

以上のように本実施形態でも、第1のPWM信号の立ち上がり時に付加する第1のデッドタイムと、第2のPWM信号の立ち上がり時に付加する第2のデッドタイムとを、個別に設定することができる。また、第1および第2の実施形態と対比すると、デッドタイムタイマを1個追加した構成となるが、本実施形態によると、割込み処理内でデッドタイム時間設定を切り替える必要がないので、CPUに負担をかけることなく実現が可能となる。   As described above, in the present embodiment as well, the first dead time added at the rise of the first PWM signal and the second dead time added at the rise of the second PWM signal can be individually set. it can. Further, in comparison with the first and second embodiments, the configuration is such that one dead time timer is added. However, according to the present embodiment, it is not necessary to switch the dead time time setting in the interrupt processing, so that the CPU This can be realized without imposing a burden.

また、本実施形態で追加されるタイマは単純に設定された時間を計測するだけのものであるため、従来からマイコンに搭載されているタイマを転用することができ、容易に実現が可能である。   Further, since the timer added in the present embodiment simply measures the set time, the timer conventionally mounted on the microcomputer can be diverted and can be easily realized. .

(第4の実施形態)
図7は本発明の第4の実施形態に係る半導体装置の構成を示すブロック図であり、図3と共通の構成要素については図3と同一の符号を付している。図3と異なるのは、デッドタイム付加部2Cにおいて、デッドタイムタイマおよびエッジ検出部が省かれ、代わりに、比較器26および付加相判別器27が設けられている点である。
(Fourth embodiment)
FIG. 7 is a block diagram showing a configuration of a semiconductor device according to the fourth embodiment of the present invention. Components common to FIG. 3 are denoted by the same reference numerals as in FIG. The difference from FIG. 3 is that a dead time timer and an edge detecting unit are omitted in the dead time adding unit 2C, and a comparator 26 and an additional phase discriminator 27 are provided instead.

比較器26は周期タイマ14のカウント値を、第1および第2のデッドタイム設定レジスタ24a,24bと比較する。付加相判別器27は、比較器26が比較一致を検出した場合、第1のデッドタイム設定レジスタ24aとの比較一致のときは第1のデッドタイム挿入部25aに第1のデッドタイムの挿入を指示する一方、第2のデッドタイム設定レジスタ24bとの比較一致のときは第2のデッドタイム挿入部25bに第2のデッドタイムの挿入を指示する。   The comparator 26 compares the count value of the cycle timer 14 with the first and second dead time setting registers 24a and 24b. The additional phase discriminator 27 inserts the first dead time into the first dead time insertion unit 25a when the comparator 26 detects the comparison coincidence and when the comparison coincides with the first dead time setting register 24a. On the other hand, when the comparison is made with the second dead time setting register 24b, the second dead time insertion unit 25b is instructed to insert the second dead time.

図8は図7の半導体装置の動作を示すタイミングチャートである。図8に示すように、周期タイマ14のカウント開始と同時に、原PWM信号PWM0が立ち上がる。そして、周期タイマ14のカウント値が第1のデッドタイム設定レジスタ24aの設定値に達したことが比較器26によって検知されたとき、上相信号SUが立ち上がり、第1のデッドタイムt1が設定される。その後、周期タイマ14のカウント値がデューティ設定レジスタ16の設定値に達したとき、原PWM信号PWM0が立ち下がるとともに、上相信号SUが立ち下がる。このとき、比較器26の比較基準が、第1のデッドタイム設定レジスタ24aの設定値から第2のデッドタイム設定レジスタ24bの設定値に切り替えられる。   FIG. 8 is a timing chart showing the operation of the semiconductor device of FIG. As shown in FIG. 8, the original PWM signal PWM0 rises at the same time when the period timer 14 starts counting. When the comparator 26 detects that the count value of the cycle timer 14 has reached the set value of the first dead time setting register 24a, the upper phase signal SU rises, and the first dead time t1 is set. You. Thereafter, when the count value of the cycle timer 14 reaches the value set in the duty setting register 16, the original PWM signal PWM0 falls and the upper phase signal SU falls. At this time, the comparison reference of the comparator 26 is switched from the set value of the first dead time setting register 24a to the set value of the second dead time setting register 24b.

さらに、周期タイマ14のカウント値が第2のデッドタイム設定レジスタ24bの設定値に達したとき、下相信号SLが立ち上がり、第2のデッドタイムt2が設定される。その後、周期タイマ14のカウント値が周期設定レジスタ12の設定値に達したとき、下相信号SLが立ち下がる。このとき、第1および第2のバッファレジスタ23a,23bから第1および第2のデッドタイム設定レジスタ24a,24bにデータ転送されるとともに、比較器26の比較基準が、第2のデッドタイム設定レジスタ24bの設定値から第1のデッドタイム設定レジスタ24bの設定値に切り替えられる。   Further, when the count value of the cycle timer 14 reaches the value set in the second dead time setting register 24b, the lower phase signal SL rises, and the second dead time t2 is set. Thereafter, when the count value of the cycle timer 14 reaches the value set in the cycle setting register 12, the lower phase signal SL falls. At this time, data is transferred from the first and second buffer registers 23a and 23b to the first and second dead time setting registers 24a and 24b, and the comparison reference of the comparator 26 is determined by the second dead time setting register. The setting value of the first dead time setting register 24b is switched from the setting value of the first dead time setting register 24b.

以上のように本実施形態でも、第1のPWM信号の立ち上がり時に付加する第1のデッドタイムと、第2のPWM信号の立ち上がり時に付加する第2のデッドタイムとを、個別に設定することができる。また、周期タイマを利用することによって、デッドタイムタイマを省くことができ、構成が簡易になる。また、比較器の回路は、一般的なマイコンに搭載されている回路を転用すればよく、容易に実現可能である。   As described above, in the present embodiment as well, the first dead time added at the rise of the first PWM signal and the second dead time added at the rise of the second PWM signal can be individually set. it can. Further, by using the periodic timer, the dead time timer can be omitted, and the configuration is simplified. Further, the circuit of the comparator can be easily realized by diverting a circuit mounted in a general microcomputer.

(第5の実施形態)
図9は本発明の第5の実施形態に係る半導体装置の構成を示すブロック図であり、図7と共通の構成要素については図7と同一の符号を付している。図7と異なるのは、デッドタイム付加部2Dにおいて、第1および第2のデッドタイム設定レジスタ24a,24bのそれぞれに対応して、第1および第2の比較器26a,26bが設けられている点である。
(Fifth embodiment)
FIG. 9 is a block diagram showing a configuration of a semiconductor device according to the fifth embodiment of the present invention. Components common to FIG. 7 are denoted by the same reference numerals as in FIG. The difference from FIG. 7 is that the dead time adding unit 2D is provided with first and second comparators 26a and 26b corresponding to the first and second dead time setting registers 24a and 24b, respectively. Is a point.

図10は図9の半導体装置の動作を示すタイミングチャートであり、基本的な動作は第4の実施形態と同様である。ただし、比較器の比較基準を切り換える必要がなく、動作がより簡易になっている。   FIG. 10 is a timing chart showing the operation of the semiconductor device of FIG. 9, and the basic operation is the same as that of the fourth embodiment. However, there is no need to switch the comparison reference of the comparator, and the operation is simpler.

すなわち、本実施形態では、第4の実施形態と比べると比較器を1個追加した構成になっているが、第4の実施形態のように比較基準を切り替える必要がない。しかも、同じ回路を2個並べた単純な構成で実現可能である。また比較器の回路は、一般的なマイコンに搭載されている回路を転用すればよく、容易に実現可能である。   That is, in the present embodiment, one comparator is added as compared with the fourth embodiment, but there is no need to switch the comparison reference as in the fourth embodiment. Moreover, it can be realized with a simple configuration in which two identical circuits are arranged. Also, the circuit of the comparator may be a circuit mounted on a general microcomputer, and can be easily realized.

なお、モータ駆動用インバータ回路では、スイッチング回路が3相並列で構成されているので、上述の各実施形態で述べたデッドタイム付加機能を適用することができ、同様の効果が得られる。   In the motor drive inverter circuit, since the switching circuits are configured in three phases in parallel, the dead time addition function described in each of the above embodiments can be applied, and the same effects can be obtained.

(第6の実施形態)
図16は本発明の第6の実施形態に係る誘導加熱装置の構成を示す図である。図16において、半導体装置31は上述の各実施形態で示したものと同様に構成されており、コイルによる加熱動作を行うインバータ回路32を、上相信号SUおよび下相信号SLを与えることによって制御する。半導体装置31はさらに、第1および第2のデッドタイムのうち少なくともいずれか一方が、デッドタイム切替入力に応じて設定変更可能なように、構成されている。デッドタイムの設定変更は例えば、上述した第1および第2のデッドタイム設定レジスタ24a,24bの設定値を、外部割込みに応じて、ソフトウェア制御によって変更することによって実現できる。
(Sixth embodiment)
FIG. 16 is a diagram illustrating a configuration of an induction heating device according to a sixth embodiment of the present invention. In FIG. 16, a semiconductor device 31 has the same configuration as that shown in each of the above embodiments, and controls an inverter circuit 32 that performs a heating operation by a coil by supplying an upper phase signal SU and a lower phase signal SL. I do. The semiconductor device 31 is further configured such that at least one of the first and second dead times can be changed in accordance with a dead time switching input. The dead time setting can be changed, for example, by changing the set values of the first and second dead time setting registers 24a and 24b by software control in response to an external interrupt.

本実施形態におけるデッドタイムの変更制御について、図17を参照して説明する。図17は図16の誘導加熱装置において、デッドタイム設定が不適切な状態で加熱を開始したときの出力変化を示すタイミングチャートである。まず、一旦、通常の加熱シーケンスに従って出力が増加するが、デッドタイムが適切に設定されていない場合は、インバータ回路32は異常加熱を示す異常信号SAを出力する(要因発生)。半導体装置31はこの異常信号をデッドタイム切替入力として受けたとき、デッドタイムの設定変更を実行する。すなわち、デッドタイム切換え入力を外部割込み入力として即座に加熱を停止した後、速やかにデッドタイム設定を変更して、適切なデッドタイム設定値での加熱を開始する。これにより、その後は正常に動作する。   The control for changing the dead time in the present embodiment will be described with reference to FIG. FIG. 17 is a timing chart showing an output change when heating is started in a state where the dead time setting is inappropriate in the induction heating device of FIG. First, once the output increases in accordance with the normal heating sequence, but if the dead time is not properly set, the inverter circuit 32 outputs an abnormal signal SA indicating abnormal heating (factor generation). When the semiconductor device 31 receives this abnormal signal as a dead time switching input, the semiconductor device 31 changes the dead time setting. That is, after the heating is immediately stopped by using the dead time switching input as an external interrupt input, the dead time setting is immediately changed, and heating with an appropriate dead time set value is started. Thereby, it operates normally thereafter.

ここで、異常信号とは、過電流や過電圧の検知の結果、出力される。例えば、加熱センサーの出力と正常範囲に設定された数値とをコンパレータ等によって比較し、センサー出力が正常範囲外である場合に、出力される。このような異常信号の出力機構は、従来からインバータ回路に備わっているので、詳細な説明は割愛する。   Here, the abnormal signal is output as a result of detecting an overcurrent or an overvoltage. For example, the output of the heating sensor is compared with a numerical value set in a normal range by a comparator or the like, and is output when the sensor output is out of the normal range. Since the output mechanism of such an abnormal signal is conventionally provided in the inverter circuit, a detailed description is omitted.

(第7の実施形態)
図18は本発明の第7の実施形態に係る誘導加熱装置の構成を示す図である。図18において、半導体装置41は上述の各実施形態で示したものと同様に構成されており、コイルによる加熱動作を行うインバータ回路42を、上相信号SUおよび下相信号SLを与えることによって制御する。半導体装置41はさらに、第1および第2のデッドタイムのうち少なくともいずれか一方が、デッドタイム切替入力に応じて設定変更可能なように、構成されている。
(Seventh embodiment)
FIG. 18 is a diagram illustrating a configuration of an induction heating device according to a seventh embodiment of the present invention. In FIG. 18, a semiconductor device 41 has the same configuration as that shown in each of the above embodiments, and controls an inverter circuit 42 that performs a heating operation by a coil by supplying an upper phase signal SU and a lower phase signal SL. I do. The semiconductor device 41 is further configured such that at least one of the first and second dead times can be changed in accordance with a dead time switching input.

本実施形態におけるデッドタイムの変更制御も、第6の実施形態と同様に、図17に示すように実行される。インバータ回路42は、加熱コイル電流の電流値を示すアナログ信号SBをデッドタイム切替入力として出力する。半導体装置41はA/D変換器43を有しており、受けたアナログ信号SBをA/D変換器43によってAD変換する。そしてその変換値が正常時における所定範囲外にあるとき、即座に加熱を停止した後、速やかにデッドタイム設定を変更して、適切なデッドタイム設定値での加熱を開始する。   The control for changing the dead time in the present embodiment is also executed as shown in FIG. 17, similarly to the sixth embodiment. The inverter circuit 42 outputs an analog signal SB indicating the current value of the heating coil current as a dead time switching input. The semiconductor device 41 has an A / D converter 43, and the received analog signal SB is AD-converted by the A / D converter 43. When the converted value is out of the predetermined range in the normal state, the heating is immediately stopped, and then the dead time setting is immediately changed to start heating with an appropriate dead time set value.

本実施形態では、上述の第6の実施形態と比べると、インバータ回路42における異常加熱を検知するための判定値を、半導体装置41側で例えばソフトウェアによって容易に変更できる、というメリットがある。   This embodiment has an advantage that the determination value for detecting abnormal heating in the inverter circuit 42 can be easily changed on the semiconductor device 41 side by, for example, software, as compared with the above-described sixth embodiment.

なお、上述の第6および第7の実施形態において、デッドタイムの設定値については、加熱を開始する際の初期値は、ある特定の特性を持つ加熱対象物用の値に設定しておき、これ以外に、他に想定される,特性の異なる加熱対象物用の値を、変更候補として数種類準備しておけばよい。そして、例えばソフトウェア等によって、デッドタイムの設定値を順次切換えることによって、対象物に応じた最適な加熱特性を実現することができる。例えば、誘導加熱装置の一例であるIH調理器において、従来加熱できなかったアルミ等のナベ用と、従来の鉄等のナベ用とでデッドタイム設定値をそれぞれ準備しておき、これら2種類の設定値を切換えることによって、それぞれに最適な制御を実現することができる。   In the above-described sixth and seventh embodiments, regarding the set value of the dead time, the initial value at the time of starting the heating is set to a value for a heating target having a specific characteristic, In addition to this, it is only necessary to prepare several types of other assumed values for the heating target having different characteristics as change candidates. Then, for example, by sequentially switching the set value of the dead time by software or the like, it is possible to realize an optimal heating characteristic according to the object. For example, in an IH cooker, which is an example of an induction heating device, dead time setting values are prepared for a pan for aluminum or the like and a conventional pan for iron or the like which could not be heated conventionally, and these two types are used. By switching the set values, optimal control can be realized for each.

以上説明したように、本発明では、相補PWM信号において、デッドタイムを個別に設定できるので、例えば、IH調理器のような誘導加熱装置におけるインバータ制御を、従来よりも柔軟に、実現することができる。   As described above, in the present invention, since the dead time can be set individually in the complementary PWM signal, for example, inverter control in an induction heating device such as an IH cooker can be realized more flexibly than in the past. it can.

本発明の第1の実施形態に係る半導体装置の構成を示すブロック図である。FIG. 1 is a block diagram illustrating a configuration of a semiconductor device according to a first embodiment of the present invention. 図1の半導体装置の動作を示すタイミングチャートである。2 is a timing chart illustrating an operation of the semiconductor device of FIG. 1. 本発明の第2の実施形態に係る半導体装置の構成を示すブロック図である。FIG. 6 is a block diagram illustrating a configuration of a semiconductor device according to a second embodiment of the present invention. 図3の半導体装置の動作を示すタイミングチャートである。4 is a timing chart showing the operation of the semiconductor device of FIG. 本発明の第3の実施形態に係る半導体装置の構成を示すブロック図である。FIG. 9 is a block diagram illustrating a configuration of a semiconductor device according to a third embodiment of the present invention. 図5の半導体装置の動作を示すタイミングチャートである。6 is a timing chart showing the operation of the semiconductor device of FIG. 本発明の第4の実施形態に係る半導体装置の構成を示すブロック図である。FIG. 14 is a block diagram illustrating a configuration of a semiconductor device according to a fourth embodiment of the present invention. 図7の半導体装置の動作を示すタイミングチャートである。8 is a timing chart showing the operation of the semiconductor device of FIG. 本発明の第5の実施形態に係る半導体装置の構成を示すブロック図である。FIG. 15 is a block diagram illustrating a configuration of a semiconductor device according to a fifth embodiment of the present invention. 図9の半導体装置の動作を示すタイミングチャートである。10 is a timing chart showing the operation of the semiconductor device of FIG. デッドタイム設定機能を備えた回路構成の一例である。It is an example of a circuit configuration provided with a dead time setting function. デッドタイムと、その役割を説明するための図である。It is a figure for explaining dead time and its role. 図11の回路構成の動作を示すタイミングチャートである。12 is a timing chart showing the operation of the circuit configuration of FIG. デッドタイム設定機能を備えた回路構成の他の例である。9 is another example of a circuit configuration having a dead time setting function. 図14の回路構成の動作を示すタイミングチャートである。15 is a timing chart showing the operation of the circuit configuration of FIG. 本発明の第6の実施形態に係る誘導加熱装置の構成を示す図である。It is a figure showing the composition of the induction heating device concerning a 6th embodiment of the present invention. 本発明の第6および第7の実施形態におけるデッドタイムの変更制御を示すタイミングチャートである。It is a timing chart which shows change control of dead time in a 6th and a 7th embodiment of the present invention. 本発明の第7の実施形態に係る誘導加熱装置の構成を示す図である。It is a figure showing composition of an induction heating device concerning a 7th embodiment of the present invention.

符号の説明Explanation of reference numerals

1 相補PWM生成部
2,2A,2B,2C,2D デッドタイム付加部
22 デッドタイムタイマ
22a 第1のデッドタイムタイマ
22b 第2のデッドタイムタイマ
24a 第1のデッドタイム設定レジスタ
24b 第2のデッドタイム設定レジスタ
26 比較器
26a 第1の比較器
26b 第2の比較器
31,41 半導体装置
32,42 インバータ回路
PWM1 第1のPWM信号
PWM2 第2のPWM信号
SA 異常信号
SB アナログ信号
1 Complementary PWM generation units 2, 2A, 2B, 2C, 2D Dead time addition unit 22 Dead time timer 22a First dead time timer 22b Second dead time timer 24a First dead time setting register 24b Second dead time Setting register 26 comparator 26a first comparator 26b second comparator 31, 41 semiconductor device 32, 42 inverter circuit PWM1 first PWM signal PWM2 second PWM signal SA abnormal signal SB analog signal

Claims (11)

第1のPWM信号と、前記第1のPWM信号の反転信号である第2のPWM信号とを生成する相補PWM生成部と、
前記第1のPWM信号の立ち上がり時に第1のデッドタイムを付加するとともに、前記第2のPWM信号の立ち上がり時に第2のデッドタイムを付加するデッドタイム付加部とを備え、
前記デッドタイム付加部は、
前記第1のデッドタイムと、前記第2のデッドタイムとを、個別に設定可能に構成されている
ことを特徴とする半導体装置。
A complementary PWM generator that generates a first PWM signal and a second PWM signal that is an inverted signal of the first PWM signal;
A dead time adding unit that adds a first dead time when the first PWM signal rises and adds a second dead time when the second PWM signal rises;
The dead time adding unit,
The semiconductor device according to claim 1, wherein the first dead time and the second dead time can be individually set.
請求項1において、
前記デッドタイム付加部は、
デッドタイムタイマと、
第1および第2のデッドタイム設定レジスタとを備え、
前記デッドタイムタイマの値が前記第1のデッドタイム設定レジスタの設定値に達するまでの時間を、前記第1のデッドタイムとして設定するとともに、前記デッドタイムタイマの値が前記第2のデッドタイム設定レジスタの設定値に達するまでの時間を、前記第2のデッドタイムとして設定する
ことを特徴とする半導体装置。
In claim 1,
The dead time adding unit,
A dead time timer,
A first and a second dead time setting register,
The time until the value of the dead time timer reaches the value set in the first dead time setting register is set as the first dead time, and the value of the dead time timer is set in the second dead time setting. A semiconductor device, wherein a time until a set value of a register is reached is set as the second dead time.
請求項2において、
前記第1および第2のデッドタイム設定レジスタは、直列に配置されている
ことを特徴とする半導体装置。
In claim 2,
The semiconductor device, wherein the first and second dead time setting registers are arranged in series.
請求項2において、
前記第1および第2のデッドタイム設定レジスタは、並列に配置されている
ことを特徴とする半導体装置。
In claim 2,
The semiconductor device according to claim 1, wherein the first and second dead time setting registers are arranged in parallel.
請求項1において、
前記デッドタイム付加部は、
第1および第2のデッドタイムタイマと、
第1および第2のデッドタイム設定レジスタとを備え、
前記第1のデッドタイムタイマの値が前記第1のデッドタイム設定レジスタの設定値に達するまでの時間を、前記第1のデッドタイムとして設定するとともに、前記第2のデッドタイムタイマの値が前記第2のデッドタイム設定レジスタの設定値に達するまでの時間を、前記第2のデッドタイムとして設定する
ことを特徴とする半導体装置。
In claim 1,
The dead time adding unit,
First and second dead time timers;
A first and a second dead time setting register,
The time until the value of the first dead time timer reaches the set value of the first dead time setting register is set as the first dead time, and the value of the second dead time timer is A semiconductor device, wherein a time until a set value of a second dead time setting register is reached is set as the second dead time.
請求項1において、
前記デッドタイム付加部は、
第1および第2のデッドタイム設定レジスタと、
前記相補PWM生成部が有する周期タイマのカウンタ値を、前記第1および第2のデッドタイム設定レジスタの設定値と比較する比較器とを備え、
前記比較器による前記第1のデッドタイム設定レジスタの設定値との比較結果を基にして、前記第1のデッドタイムを設定するとともに、前記比較器による前記第2のデッドタイム設定レジスタの設定値との比較を基にして、前記第2のデッドタイムを設定する
ことを特徴とする半導体装置。
In claim 1,
The dead time adding unit,
First and second dead time setting registers;
A comparator for comparing a counter value of a periodic timer of the complementary PWM generation unit with a set value of the first and second dead time setting registers;
The first dead time is set based on a result of comparison with the set value of the first dead time setting register by the comparator, and the set value of the second dead time setting register by the comparator is set. Wherein the second dead time is set based on a comparison with the above.
請求項1において、
前記デッドタイム付加部は、
第1および第2のデッドタイム設定レジスタと、
前記相補PWM生成部が有する周期タイマのカウンタ値を、前記第1のデッドタイム設定レジスタの設定値と比較する第1の比較器と、
前記周期タイマのカウンタ値を、前記第2のデッドタイム設定レジスタの設定値と比較する第2の比較器とを備え、
前記第1の比較器による比較結果を基にして、前記第1のデッドタイムを設定するとともに、前記第2の比較器による比較結果を基にして、前記第2のデッドタイムを設定する
ことを特徴とする半導体装置。
In claim 1,
The dead time adding unit,
First and second dead time setting registers;
A first comparator for comparing a counter value of a periodic timer of the complementary PWM generation unit with a set value of the first dead time setting register;
A second comparator for comparing a counter value of the period timer with a set value of the second dead time setting register,
Setting the first dead time based on the comparison result by the first comparator and setting the second dead time based on the comparison result by the second comparator. Characteristic semiconductor device.
請求項1において、
デッドタイム切替入力に応じて、前記第1および第2のデッドタイムのうち少なくともいずれか一方が、設定変更可能なように構成されている
ことを特徴とする半導体装置。
In claim 1,
A semiconductor device, wherein at least one of the first and second dead times is configured to be changeable in response to a dead time switching input.
コイルによる加熱動作を行うインバータ回路と、前記インバータ回路を、デッドタイムを付加した前記第1および第2のPWM信号を与えることによって制御する、請求項8の半導体装置とを備えた誘導加熱装置において、
前記インバータ回路が、前記半導体装置に、前記デッドタイム切替入力として信号を与え、
前記半導体装置が、受けた前記デッドタイム切替入力に応じて、前記第1および第2のデッドタイムのうち少なくとも一方を、設定変更する
ことを特徴とする制御方法。
9. An induction heating device comprising: an inverter circuit for performing a heating operation by a coil; and the semiconductor device according to claim 8, wherein the inverter circuit is controlled by applying the first and second PWM signals to which a dead time is added. ,
The inverter circuit provides a signal to the semiconductor device as the dead time switching input,
A control method, wherein the semiconductor device changes setting of at least one of the first and second dead times according to the received dead time switching input.
請求項9において、
前記インバータ回路は、前記デッドタイム切替入力として、異常加熱を示す異常信号を出力し、
前記半導体装置は、前記異常信号を受けたとき、前記設定変更を実行する
ことを特徴とする制御方法。
In claim 9,
The inverter circuit outputs an abnormal signal indicating abnormal heating as the dead time switching input,
The control method, wherein the semiconductor device executes the setting change when receiving the abnormal signal.
請求項9において、
前記インバータ回路は、前記デッドタイム切替入力として、加熱コイル電流の電流値を示すアナログ信号を出力し、
前記半導体装置は、受けた前記アナログ信号をAD変換し、変換値が所定範囲外にあるとき、前記設定変更を実行する
ことを特徴とする制御方法。
In claim 9,
The inverter circuit outputs an analog signal indicating a current value of a heating coil current as the dead time switching input,
The control method, wherein the semiconductor device performs A / D conversion on the received analog signal and executes the setting change when the converted value is outside a predetermined range.
JP2003381580A 2002-11-19 2003-11-11 Semiconductor device and control method Expired - Lifetime JP4509535B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003381580A JP4509535B2 (en) 2002-11-19 2003-11-11 Semiconductor device and control method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2002335612 2002-11-19
JP2003381580A JP4509535B2 (en) 2002-11-19 2003-11-11 Semiconductor device and control method

Publications (2)

Publication Number Publication Date
JP2004187492A true JP2004187492A (en) 2004-07-02
JP4509535B2 JP4509535B2 (en) 2010-07-21

Family

ID=32774612

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003381580A Expired - Lifetime JP4509535B2 (en) 2002-11-19 2003-11-11 Semiconductor device and control method

Country Status (1)

Country Link
JP (1) JP4509535B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007202329A (en) * 2006-01-27 2007-08-09 Toshiba Kyaria Kk Power converter
JP2009130551A (en) * 2007-11-21 2009-06-11 Nec Electronics Corp Timer unit circuit and method of using the same
JP2013066297A (en) * 2011-09-16 2013-04-11 Lapis Semiconductor Co Ltd Pwm signal output circuit and pwm signal output control method and program
JP2013081114A (en) * 2011-10-05 2013-05-02 Renesas Electronics Corp Pwm output device and motor drive device
CN117811552A (en) * 2024-03-01 2024-04-02 上海励驰半导体有限公司 Dynamic configuration method, device, chip and equipment for PWM (pulse Width modulation) signal dead time

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6087678A (en) * 1983-10-20 1985-05-17 Toshiba Corp Control circuit for inverter
JPH08126334A (en) * 1994-10-24 1996-05-17 Nippondenso Co Ltd Pwm signal generating device
JPH10149876A (en) * 1996-11-20 1998-06-02 Matsushita Electric Ind Co Ltd Induction-heated cooking device
JPH11122938A (en) * 1997-07-29 1999-04-30 Hitachi Ltd Pwm pulse generation circuit and control system using the same
JP2000066702A (en) * 1998-08-18 2000-03-03 Nec Corp Microcomputer for inverter control and inverter controller
JP2001157457A (en) * 1999-11-26 2001-06-08 Nec Ic Microcomput Syst Ltd Three-phase pulse width modulation waveform generation device
JP2002300783A (en) * 2001-03-29 2002-10-11 Nec Microsystems Ltd Three-phase pwm signal generating circuit

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6087678A (en) * 1983-10-20 1985-05-17 Toshiba Corp Control circuit for inverter
JPH08126334A (en) * 1994-10-24 1996-05-17 Nippondenso Co Ltd Pwm signal generating device
JPH10149876A (en) * 1996-11-20 1998-06-02 Matsushita Electric Ind Co Ltd Induction-heated cooking device
JPH11122938A (en) * 1997-07-29 1999-04-30 Hitachi Ltd Pwm pulse generation circuit and control system using the same
JP2000066702A (en) * 1998-08-18 2000-03-03 Nec Corp Microcomputer for inverter control and inverter controller
JP2001157457A (en) * 1999-11-26 2001-06-08 Nec Ic Microcomput Syst Ltd Three-phase pulse width modulation waveform generation device
JP2002300783A (en) * 2001-03-29 2002-10-11 Nec Microsystems Ltd Three-phase pwm signal generating circuit

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007202329A (en) * 2006-01-27 2007-08-09 Toshiba Kyaria Kk Power converter
JP2009130551A (en) * 2007-11-21 2009-06-11 Nec Electronics Corp Timer unit circuit and method of using the same
JP2013066297A (en) * 2011-09-16 2013-04-11 Lapis Semiconductor Co Ltd Pwm signal output circuit and pwm signal output control method and program
US9184738B2 (en) 2011-09-16 2015-11-10 Lapis Semiconductor Co., Ltd. PWM (pulse width modulation) signal outputting circuit and method of controlling output of PMW signal
JP2013081114A (en) * 2011-10-05 2013-05-02 Renesas Electronics Corp Pwm output device and motor drive device
CN117811552A (en) * 2024-03-01 2024-04-02 上海励驰半导体有限公司 Dynamic configuration method, device, chip and equipment for PWM (pulse Width modulation) signal dead time
CN117811552B (en) * 2024-03-01 2024-05-28 上海励驰半导体有限公司 Dynamic configuration method, device, chip and equipment for PWM (pulse Width modulation) signal dead time

Also Published As

Publication number Publication date
JP4509535B2 (en) 2010-07-21

Similar Documents

Publication Publication Date Title
US20060189011A1 (en) Semiconductor device and control method
US8279917B2 (en) Pulse width modulation controller and pulse waveform control method
JP5901926B2 (en) PWM output device and motor drive device
US7449854B2 (en) PWM signal generation apparatus and method thereof and motor control apparatus and method thereof
KR101938763B1 (en) Repetitive single cycle pulse width modulation generation
US9448581B2 (en) Timer unit circuit having plurality of output modes and method of using the same
JP2016502799A (en) Complementary output generator module
JP2005117839A (en) Method and apparatus for generating pulse width modulated wave
KR20140079782A (en) System, method and apparatus having extended pulse width modulation phase offset
JP2004187492A (en) Semiconductor device and control method
JP2004208428A (en) Device for generating three-phase pulse width modulation waveform
JP4089445B2 (en) Semiconductor integrated circuit device
KR20140090108A (en) Pwm signal generating circuit, printer and pwm signal generating method
US7327300B1 (en) System and method for generating a pulse width modulated signal having variable duty cycle resolution
WO2014111993A1 (en) Contention avoidance control device and contention avoidance control method for pwm output and a/d conversion, as well as power control system
JP3777242B2 (en) Motor control device
US9762174B2 (en) Increasing PWM resolution for digitally controlled motor control applications
JP2002112543A (en) Phase control circuit and switching regulator
JP3654103B2 (en) Switch control circuit
US20060055483A1 (en) Method and device for the production of two-channel or multi-channel pulse-width modulated rectangular pulses
WO2021014948A1 (en) Motor control device and motor system
JP2005143196A (en) Inverter control method
JPH08172778A (en) Synchronization controller for inverter
JP2000287487A (en) Current controller for motor
JPH02310628A (en) Interruption circuit for micro computer

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060626

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090213

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090217

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090413

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091013

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20091207

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

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

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

Free format text: PAYMENT UNTIL: 20130514

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4509535

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20130514

Year of fee payment: 3

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term