The present invention relates to a semiconductor device for generating complementary PWM signals for, for example, controlling an inverter, and more particularly, it relates to a technique to add dead times to complementary PWM signals.
An inverter circuit 5 including serially connected two switching elements 51 and 52 as shown in
Such an inverter circuit is generally controlled in accordance with PWM (Pulse Width Modulation) signals having a time at which none of the phases are simultaneously in an ON state (i.e., a dead time). An example of such signals is shown in
Conventionally, the following three methods are known for setting a dead time: 1) General PWM outputs are used and a dead time is added on a control circuit; 2) PWM outputs with a given dead time supplied by a semiconductor device are used; and 3) the methods 1) and 2) are combined.
The method 1) is described in, for example, Document 1, and a dead time can be set by adding a control circuit to an inverter driving circuit for controlling an induction heating cooking device.
Apart from the aforementioned methods, a method by using a combination of a PWM output and a delay circuit is known. For example, as shown in
Alternatively, for avoiding necessity for adding a control circuit, a microcomputer having a function to generate PWM outputs with dead times has been realized. In setting a dead time in this case, one dead time register is used for setting a dead time, so as to add the same dead time at on-timing and off-timing of the PWM signal.
Many of such microcomputers for controlling an inverter include a counter and a comparator. The counter counts up from 0 to a frequency set value, during which the count value and a duty set value are compared with each other. When the count value and the duty set value accord with each other, an output signal is inverted so as to generate a reference PWM signal. At this point, a dead time is added by comparing the count value and a dead time set value with each other and delaying the on-timing from the inverting timing until they accord with each other. In this case, the dead time can be set as a given period not depending upon the characteristic of a switching element.
However, in the method described in Document 1 or in the method using the CR circuits, the dead time to be set is determined by hardware on a substrate, and therefore, merely a predetermined value can be set for each switching element. Therefore, it is difficult to change/set the optimum value of a dead time, and in order to attain advanced control, for example, it is necessary to provide a control circuit part for changing CR components by hardware. Furthermore, it is difficult to perform precise control because of the waveform of the resultant PWM signal having a time constant and owing to variation in components.
Furthermore, in the method for obtaining a PWM output with a dead time by using the microcomputer for controlling an inverter, since merely one dead time register is used, merely the common dead time can be added at the rise and the fall. This does not cause any particular problem in controlling an inverter circuit in which pairing switching elements have symmetrical characteristics. However, in controlling an inverter circuit in which pairing switching elements have different characteristics, it is desired to individually set optimum dead times, and hence, this method is difficult to employ in such a case.
An object of the invention is, in a semiconductor device for generating complementary PWM signals for controlling, for example, an inverter, flexibly adding a dead time by using a simple architecture.
Specifically, according to a first aspect of the invention, the semiconductor device includes a complementary PWM signal generation unit for generating a first PWM signal and a second PWM signal corresponding to an inverted signal of the first PWM signal; and a dead time addition unit for adding a first dead time at a rise of the first PWM signal and a second dead time at a rise of the second PWM signal, and the first dead time and the second dead time are individually settable in the dead time addition unit.
In this aspect, 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 by the dead time addition unit. Therefore, advanced control can be flexibly realized as compared with the conventional technique.
Preferably, the dead time addition unit of the semiconductor device according to the first aspect includes a dead time timer; and first and second dead time set registers, and time elapsing until a value of the dead time timer reaches a set value of the first dead time set register is set as the first dead time, and time elapsing until the value of the dead time timer reaches a set value of the second dead time set register is set as the second dead time.
Preferably, the dead time addition unit of the semiconductor device according to the first aspect includes first and second dead time timers; and first and second dead time set registers, and time elapsing until a value of the first dead time timer reaches a set value of the first dead time set register is set as the first dead time, and time elapsing until a value of the second dead time timer reaches a set value of the second dead time set register is set as the second dead time.
Preferably, the dead time addition unit of the semiconductor device according to the first aspect includes first and second dead time set registers; and a comparator for comparing a count value of a cycle counter included in the complementary PWM generation unit with set values of the first and second dead time set registers, and the first dead time is set on the basis of a result of comparison by the comparator with the set value of the first dead time set register, and the second dead time is set on the basis of a result of comparison by the comparator with the set value of the second dead time set register.
Preferably, the dead time addition unit of the semiconductor device according to the first aspect includes first and second dead time set registers; a first comparator for comparing a count value of a cycle timer included in the complementary PWM signal generation unit with a set value of the first dead time set register; and a second comparator for comparing the count value of the cycle timer with a set value of the second dead time set register, and the first dead time is set on the basis of a result of comparison by the first comparator and the second dead time is set on the basis of a result of comparison by the second comparator.
In the semiconductor device according to the first aspect, at least one of the first and second dead times is preferably changeable in accordance with a dead time switching input.
According to a second aspect of the invention, in the control method employed in an induction heating apparatus that includes an inverter circuit for performing a heating operation with a coil and the aforementioned semiconductor device for controlling the inverter circuit by supplying the first and second PWM signals to which dead times have been added, the control method includes the steps of the inverter circuit supplying a signal to the semiconductor device as the dead time switching input; and the semiconductor device changing at least one of the first and second dead times in accordance with the supplied dead time switching input.
In
A dead time addition unit 2 adds dead times respectively to the first and second PWM signals PWM1 and PWM2 generated by the complementary PWM generation unit 1, and includes an edge detector 21, a dead time timer 22, a buffer register 23, serially disposed first and second dead time set registers 24a and 24b, and first and second dead time inserting parts 25a and 25b. The dead time timer 22 is restarted at the timing of activating the cycle timer 14 and in synchronization with accordance between compared values of the cycle timer 14 and the duty set resistor 16. A time elapsing until a value of the dead time timer 22 reaches a set value of the first dead time set register 24a is added as a first dead time at the rise of the first PWM signal PWM1, and a time elapsing until the value of the dead time timer 22 reaches a set value of the second dead time set register 241b is added as a second dead time at the rise of the second PWM signal PWM2. Thus, an upper phase signal SU and a lower phase signal SL are generated.
Interrupt-service is employed for setting data in the buffer register 23 used for setting the dead times. In interrupt resulting from accordance between compared values of the cycle timer 14 and the duty set register 16, a set value of the second dead time is set, and in interrupt resulting from accordance between compared values of the cycle timer 14 and the cycle set register 12, a set value of the first dead time is set. Also, at the timings of the respective interrupts, data transfer from the second dead time set register 24b to the first dead time register 24a and data transfer from the buffer register 23 to the second dead time set register 24b are carried out. In this manner, the set value of the first dead time is set in the first dead time set register 24a at the accordance between compared values of the cycle timer 14 and the cycle set register 12, and the set value of the second dead time is set at the timing of the accordance between compared values of the cycle timer 14 and the duty set register 16.
At this point, the dead time timer 22 restarts counting, and when its count value reaches the set value of the first dead time set register 24a (i.e., a set value of the second dead time), 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 set value of the cycle set register 12, the lower signal SL falls.
In this manner, according to this embodiment, the first dead time to be added at the rise of the first PWM signal and the second dead time to be added at the rise of the second PWM signal can be individually set.
Also, compared with an architecture (comparative architecture) in which a set value of a dead time is changed by using a dead time cycle register, this embodiment exhibits the following merit: Since the comparative architecture does not include a buffer register for setting a dead time, the register value cannot be updated at optimum timing. Accordingly, the register value should be changed after stopping the PWM outputs so as not to reverse the magnitude relationship between the set value of the dead time register and the count value of the dead time counter.
In contrast, according to this embodiment, although a set value of a dead time should be changed during the interrupt-service, the data transfer between the two dead time set registers can be executed at the optimum timing by hardware and hence can be easily carried out without stopping the PWM outputs.
In other words, in this embodiment, although one buffer register is additionally provided to the architecture of Embodiment 1, there is no need to change set values of the dead times during the interrupt for setting the PWM frequency and the interrupt for setting the duty. Also, the buffer register is used simply for transferring data to the dead time set register at given timing (periodically). Accordingly, this architecture can be realized without increasing the burden of a CPU.
At this point, the second dead time timer 22b restarts counting, and when its count value reaches a set value of a second dead time set register 24b, a lower phase signal SL rises and a second dead time t2 is set. Thereafter, when the count value of the cycle timer 14 reaches a set value of a cycle set register 12, the lower phase signal SL falls.
In this manner, also in this embodiment, the first dead time to be added at the rise of the first PWM signal and the second dead time to be added at the rise of the second PWM signal can be individually set. Furthermore, although one dead time timer is additionally provided in this embodiment to the architecture of Embodiment 1 or 2, since there is no need to change the set value of the dead time during the interrupt-service in this embodiment, the architecture of this embodiment can be realized without increasing the burden of a CPU.
Also, since the timer additionally provided in this embodiment is used simply for counting a set time, a timer conventionally included in a microcomputer can be used as this timer, and therefore, the timer can be easily realized.
The comparator 26 compares a count value of a cycle timer 14 with set values of first and second dead time set registers 24a and 24b. In the case where the comparator 26 detects accordance between these values, the added phase discriminator 27 instructs a first dead time inserting part 25a to add a first dead time when the count value accords with the set value of the first dead time set register 24a, and instructs a second dead time inserting part 25b to add a second dead time when the count value accords with the set value of the second dead time set register 24b.
Furthermore, when the count value of the cycle timer 14 reaches the set value of the second dead time set register 24b, a lower phase signal SL rises and a second dead time t2 is set. Thereafter, when the count value of the cycle timer 14 reaches a set value of a cycle set register 12, the lower signal SL falls. At this point, data are transferred from first and second buffer registers 23a and 23b to the first and second dead time set registers 24a and 24b, respectively, and the comparison reference of the comparator 26 is switched from the set value of the second dead time set register 24b to the set value of the first dead time set register 24a.
In this manner, also in this embodiment, the first dead time to be added at the rise of the first PWM signal and the second dead time to be added at the rise of the second PWM signal can be individually set. Also, a dead time timer can be omitted by utilizing the cycle timer, resulting in simplifying the architecture. Furthermore, the circuit for the comparator can be obtained by using a circuit included in a general microcomputer and hence can be easily realized.
In other words, according to this embodiment, although one comparator is additionally provided to the architecture of Embodiment 4, there is no need to switch the comparison reference as in Embodiment 4. In addition, this architecture can be realized simply by disposing the same two circuits. Furthermore, the circuit of the comparator can be obtained by using a circuit included in a general microcomputer, which can be easily realized.
It is noted that, in an inverter circuit for driving a motor, switching circuits are provided in parallel for three phases, and therefore, the function to add dead times described in each of the aforementioned embodiments is applicable to such an inverter circuit, which results in attaining effects similar to those described in each embodiment.
The change of the dead time according to this embodiment will now be described with reference to
Herein, the abnormal signal is output as a result of detection of excess current or excess voltage. For example, the output of a heating sensor is compared with a numerical value set within the normal range by a comparator or the like, and when the output of the sensor does not fall within the normal range, the abnormal signal is output. Such a mechanism for outputting the abnormal signal is conventionally provided to an inverter circuit, and hence is not herein described in detail.
The control for changing the dead time according to this embodiment is performed in a similar manner to Embodiment 6 as shown in
As compared with Embodiment 6, this embodiment has a merit that a decision value for detecting the abnormal heating in the inverter circuit 42 can be easily changed on the side of the semiconductor device 41 by, for example, software.
In each of Embodiments 6 and 7, an initial value of the set value of the dead time employed at the start of the heating operation may be set to a value for a heating object with a given property, and apart from this value, and several kinds of values for possible heating objects with different properties may be prepared as candidates for the change. Then, the set value of the dead time is successively switched by, for example, software, so as to realize an optimum heating characteristic suitable to a heating object. For example, with respect to an IH cooking device, that is, one of induction heating apparatuses, set values of the dead time are previously prepared respectively for a pot of aluminum or the like, which cannot be conventionally heated with the IH cooking device, and for a conventionally usable pot of iron or the like. When these two kinds of set values are appropriately switched, optimum control for each pot can be realized.
As described so far, according to this invention, different dead times can be respectively set for a PWM signal and an inverted PWM signal. Therefore, there is no need to change/set an optimum value of a dead time on a circuit, and dead times can be individually optimally set. As a result, advanced control with less power loss can be realized.
According to the present invention, since dead times can be individually set for complimentary PWM signals, control of an inverter in an induction heating apparatus such as an IH cooking device can be more flexibly realized than in the conventional technique.
Number | Date | Country | Kind |
---|---|---|---|
2002-335612 | Nov 2002 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
4621316 | Uesugi | Nov 1986 | A |
5227961 | Claydon et al. | Jul 1993 | A |
5408150 | Wilcox | Apr 1995 | A |
5764024 | Wilson | Jun 1998 | A |
6477067 | Kerkman et al. | Nov 2002 | B1 |
6535402 | Ying et al. | Mar 2003 | B1 |
6801028 | Kernahan et al. | Oct 2004 | B1 |
6819011 | Kernahan et al. | Nov 2004 | B1 |
6825644 | Kernahan et al. | Nov 2004 | B1 |
6836414 | Batarseh et al. | Dec 2004 | B1 |
6841983 | Thomas | Jan 2005 | B1 |
Number | Date | Country |
---|---|---|
10-149876 | Jun 1998 | JP |
2000-066702 | Mar 2000 | JP |
2001-275365 | Oct 2001 | JP |
Number | Date | Country | |
---|---|---|---|
20040129957 A1 | Jul 2004 | US |