The present disclosure relates to a comparator circuit and a semiconductor device.
A comparator circuit using a Schmitt trigger circuit with hysteresis characteristics is commonly used as a circuit for detecting a logic signal (e.g., Japanese Patent Application Publication No. H6-53783).
There are hysteresis comparators using differential comparators as described below, and their hysteresis characteristics are adjustable (Japanese Patent Application Publication Nos. 2002-300011 and H10-209823).
Incidentally, when, for example, a Schmitt trigger circuit as in Japanese Patent Application Publication No. H6-53783 is used as a comparator circuit, the hysteresis characteristics are determined by threshold voltages of MOS transistors in the Schmitt trigger circuit and are difficult to be changed.
In addition, a hysteresis comparator as in Japanese Patent Application Publication Nos. 2002-300011 or H10-209823 needs to use a differential comparator, and thus a bias current constantly flows during the operation of comparison, resulting in a large power consumption. Furthermore, the comparator itself needs a large area.
The present disclosure is directed to provision of a comparator circuit capable of changing the hysteresis characteristics.
A first aspect of an embodiment of the present disclosure is a comparator circuit configured to output an output voltage at a first logic level, upon an input voltage exceeding a first threshold voltage, and output the output voltage at a second logic level, upon the input voltage dropping below a second threshold voltage lower than the first threshold voltage, the comparator circuit comprising: a converter circuit configured to convert the input voltage of the comparator circuit into a first voltage and a second voltage lower than the first voltage; and a logic circuit configured to output an voltage, as the output voltage of the comparator circuit, that is at the first logic level, upon the first voltage exceeding a third threshold voltage, and at the second logic level, upon the second voltage dropping below a fourth threshold voltage lower than the third threshold voltage.
A second aspect of an embodiment of the present disclosure is a semiconductor device for a power module including an upper-arm switching device and a lower-arm switching device, the semiconductor device comprising: a power supply circuit configured to generate, from a power supply voltage, a low power supply voltage lower than the power supply voltage; a detection circuit configured to operate at the low power supply voltage and to receive a control signal for driving the upper-arm switching device and the lower-arm switching device; and a driver circuit configured to drive the upper-arm switching device and the lower-arm switching device in response to a result of detection of the detection circuit, wherein the detection circuit includes a comparator circuit configured to output the result of detection at a first logic level, upon a voltage level of the control signal exceeding a first threshold voltage, and output the result of detection at a second logic level, upon the voltage level of the control signal dropping below a second threshold voltage lower than the first threshold voltage, the comparator circuit including a converter circuit configured to convert the voltage level of the control signal into a first voltage and a second voltage lower than the first voltage, and a logic circuit configured to output a voltage, as the result of detection, that is at the first logic level, upon the first voltage exceeding a third threshold voltage, and at the second logic level, upon the second voltage dropping below a fourth threshold voltage lower than the third threshold voltage.
At least following matters will become apparent from the descriptions of the present specification and the accompanying drawings.
<Power Module 10>
A power supply voltage VCC is applied to the terminal PWR, and a control signal IN from an MCU (microcontroller unit; not illustrated) is inputted to the terminal D. The load 11 is coupled between the terminal S and the terminal N. A power supply voltage Vdc is applied to the terminal P, and a capacitor 12 to stabilize the power supply voltage Vdc is coupled between the terminal P and the terminal N.
Upon receipt of the control signal IN from the MCU (not illustrated), the HVIC 20 outputs drive signals HO, LO to the bridge circuit 30 to drive the bridge circuit 30.
In response to the drive signals HO, LO from the HVIC 20, the bridge circuit 30 drives the load 11 (e.g., an inductor). The bridge circuit 30 includes N-channel metal-oxide-semiconductor (NMOS) transistors 31, 32. Note that the NMOS transistors 31, 32 correspond to “switching devices.”
<HVIC 20>
The comparator circuit 21 is an input detection circuit that detects the received control signal IN, inverts the control signal IN, and outputs a resultant signal. Note that the control signal IN varies in the range of, for example, 0 V to 15 V in an embodiment of the present disclosure. Thus, the comparator circuit 21 is configured with a high-voltage device. In addition, the control signal IN is a square wave varying between 0 V to 15 V, and the upper-arm NMOS transistor 31 is on when the control signal IN is at a high level (hereinafter referred to as high or high level), and the lower-arm NMOS transistor 32 is on when the control signal IN is at a low level (hereinafter referred to as low or low level).
The inverter 22 inverts the output of the comparator circuit 21, and outputs a resultant to the filter circuit 23.
The filter circuit 23 includes, for example, a low-pass filter (not illustrated), and outputs a signal S obtained by removing noise in the signal outputted from the inverter 22.
The pulse generator circuit 24 generates a set signal set at the rising edge of the signal S, and generates a reset signal reset at the falling edge of the signal S.
In response to the set signal set and the reset signal reset from the pulse generator circuit 24, the high-side driver circuit 25 outputs the drive signal HO through the terminal H to drive the upper-arm NMOS transistor 31.
The power supply circuit 26, which is, for example, a step-down regulator, steps down the power supply voltage VCC (e.g., 15 V) from the terminal PVCC, to thereby generate a low power supply voltage VDD (e.g., 5 V), and supplies the low power supply voltage VDD to the comparator circuit 21, the inverter 22, the filter circuit 23, and the pulse generator circuit 24.
In response to the signal S from the filter circuit 23, the low-side driver circuit 27 outputs the drive signal LO to drive the lower-arm NMOS transistor 32 through the terminal L.
When the voltage level of the control signal IN changes from a low voltage level (e.g., 0 V) to a high voltage level (e.g., VDD) and exceeds a high threshold voltage VtH, the comparator circuit 21a changes the logic level of an output voltage Vout from high to low. Also, when the voltage level of the control signal IN changes from a high voltage level to a low voltage level and drops below a low threshold voltage VtL, the comparator circuit 21a changes the logic level of the output voltage Vout from low to high. The comparator circuit 21a includes a voltage converter circuit 40a and a logic circuit 50.
The voltage converter circuit 40a converts the voltage generated at a node N1 to which the control signal IN is inputted, into a voltage VNG and a voltage VPG lower than the voltage VNG. Hereinafter, the voltage generated at the node N1 is referred to as input voltage Vin.
The voltage converter circuit 40a includes resistors 41 to 44. The resistors 41 to 44 are coupled in series between the ground and a node to which the low power supply voltage VDD is applied. Upon application of the input voltage Vin to the node N1, the voltage converter circuit 40a generates the voltage VNG at the coupling point between the resistor 41 and the resistor 42, and generates the voltage VPG at the coupling point between the resistor 43 and the resistor 44.
The voltage VNG is applied to the gate electrodes of NMOS transistors 51, 52, which are inputs of the logic circuit 50, and the voltage VPG is applied to the gate electrodes of P-channel metal-oxide-semiconductor (PMOS) transistors 54, 55 of the logic circuit 50, which are inputs of the logic circuit 50.
The voltage VNG and the voltage VPG are calculated as follows:
where R1, R2, R3, and R4 are the resistance values of the resistors 41 to 44, respectively.
The logic circuit 50 is a Schmitt trigger circuit that changes the logic level of the output voltage Vout with hysteresis characteristics, according to a change in the voltage levels of the voltages VNG, VPG. The logic circuit 50 includes NMOS transistors 51 to 53 and PMOS transistors 54 to 56.
The NMOS transistors 51, 52 and the PMOS transistors 54, 55 are coupled in series between a power supply node to which the low power supply voltage VDD is applied and the ground, in the order of the PMOS transistor 55, the PMOS transistor 54, the NMOS transistor 52, and the NMOS transistor 51 from the power supply side. The voltage VNG is applied to the gate electrodes of the NMOS transistors 51, 52, which are inputs of the logic circuit 50, and the voltage VPG is applied to the gate electrodes of the PMOS transistors 54, 55, which are inputs of the logic circuit 50.
The NMOS transistor 53 has a gate electrode to receive the output voltage Vout, which is outputted from the coupling point between the NMOS transistor 52 and the PMOS transistor 54, a drain terminal to receive the low power supply voltage VDD, and a source electrode coupled to the coupling point between the NMOS transistors 51 and 52.
The PMOS transistor 56 has a gate electrode to receive the output voltage Vout, a drain terminal which is grounded, and a source electrode coupled to the coupling point between the PMOS transistors 54 and 55.
Note that the maximum value of the voltage of the control signal IN is higher than the power supply voltage to the logic circuit 50. Accordingly, the NMOS transistors 51 to 53 and the PMOS transistors 54 to 56 are configured with high-voltage MOS transistors.
In addition, in an embodiment of the present disclosure, the resistance values R1 to R4 are set such that one of the pair of PMOS transistors 54, 55 and the pair of NMOS transistors 51, 52 is turned off when the input voltage Vin is not applied to the node N1.
Note that the resistors 41 to 44 correspond to the “first resistor, the “second resistor,” the “third resistor,” and the “fourth resistor,” respectively. The voltage VNG corresponds to a “first voltage,” and the voltage VPG corresponds to a “second voltage.” The NMOS transistors 51, 52 correspond to “two NMOS transistors,” and the PMOS transistors 54, 55 correspond to “two PMOS transistors.” The logic level of the output voltage Vout corresponds to a “result of detection.”
Note that the logic circuit 50 operates at the low power supply voltage VDD (e.g., 5 V) lower than the maximum value of the input voltage Vin (e.g., 15 V).
==Basic Operation of Logic Circuit 50==
To describe the basic operation of a Schmitt trigger circuit, a description is first given of a circuit illustrated in
<<Explanation of Operation of Logic Circuit 50>>
The dotted straight line indicates the relation between the input voltage Vin_org inputted to the logic circuit 50 and the applied voltage applied to the gate electrodes of the NMOS transistors 51, 52 and the PMOS transistors 54, 55.
First, a case X where the input voltage Vin_org changes from X1 to X3 will be described. The input voltage Vin_org is 0 V at X1. At this time, the NMOS transistors 51, 52 are off, and the NMOS transistor 53 is on. Meanwhile, the PMOS transistors 54, 55 are on, and the PMOS transistor 56 is off. Thus, the output voltage Vout results in the power supply voltage VDD.
At X2, at which the input voltage Vin_org is higher than at X1, the NMOS transistor 51 is on, the NMOS transistor 52 is off, and the NMOS transistor 53 is on. Meanwhile, the PMOS transistors 54, 55 are off, and the PMOS transistor 56 is off. Then, the output voltage Vout still remains the power supply voltage VDD because the parasitic capacitance at the node that receives the output voltage Vout remains charged.
When the input voltage Vin_org exceeds the voltage at X2, the NMOS transistors 51, 52 are on, and the NMOS transistor 53 is off. Meanwhile, the PMOS transistors 54, 55 are off, and the PMOS transistor 56 is on. At this time, the output voltage Vout changes from the power supply voltage VDD to 0 V. Accordingly, the voltage value of the input voltage Vin_org at this time reaches a high threshold voltage VtH_org. Note that when the input voltage Vin_org reaches the high threshold voltage VtH_org of the logic circuit 50, the applied voltage applied to the gate electrodes of the NMOS transistors 51, 52 reaches a voltage level indicated by the point A1 (i.e., VtH_org). At this time, the output voltage Vout changes from high to low through the point A1.
At X3, the input voltage Vin_org is a voltage (e.g., 15 V) higher than the power supply voltage VDD. At this time, the NMOS transistors 51, 52 are on, and the NMOS transistor 53 is off. Meanwhile, the PMOS transistors 54, 55 are off, and the PMOS transistor 56 is on. Thus, the output voltage Vout still remains 0 V.
Next, a case Y where the input voltage Vin_org changes from Y1 to Y3 will be described. At Y1, the input voltage Vin_org is a voltage (e.g., 15 V) higher than the power supply voltage VDD. At this time, the PMOS transistors 54, 55 are off, and the PMOS transistor 56 is on. Meanwhile, the NMOS transistors 51, 52 are on, and the NMOS transistor 53 is off. Thus, the output voltage Vout is 0 V.
At Y2, at which the input voltage Vin_org is lower than at Y1, the PMOS transistor 54 is off, the PMOS transistor 55 is on, and the PMOS transistor 56 is on. Meanwhile, the NMOS transistors 51, 52 are off, and the NMOS transistor 53 is off. Then, the output voltage Vout still remains 0 V because the parasitic capacitance at the node that receives the output voltage Vout remains discharged.
When the input voltage Vin_org drops below the voltage at Y2, the PMOS transistors 54, 55 are on, and the PMOS transistor 56 is off. Meanwhile, the NMOS transistors 51, 52 are off, and the NMOS transistor 53 is on. Thus, the output voltage Vout changes from 0V to the power supply voltage VDD. Accordingly, the voltage value of the input voltage Vin_org at this time reaches a low threshold voltage VtL_org. Note that when the input voltage Vin_org reaches the low threshold voltage VtL_org of the logic circuit 50, the applied voltage applied to the gate electrodes of the PMOS transistors 54, 55 reaches a voltage level indicated by a point B1 (i.e., VtL_org). At this time, the output voltage Vout changes from low to high through the point B1.
At Y3, the input voltage Vin_org reaches 0 V. At this time, the PMOS transistors 54, 55 are on, and the PMOS transistor 56 is off. Meanwhile, the NMOS transistors 51, 52 are off, and the NMOS transistor 53 is on. Thus, the output voltage Vout still remains the power supply voltage VDD.
Accordingly, the logic circuit 50 changes the logic level of the output voltage Vout from high to low, upon the voltage level of the input voltage Vin_org changing from a low voltage level (e.g., 0 V) to a high voltage level (e.g., VDD) and exceeding the high threshold voltage VtH_org (case X). Meanwhile, the logic circuit 50 changes the logic level of the output voltage Vout from low to high, upon the voltage level of the input voltage Vin_org changing from a high voltage level to a low voltage level and dropping below the low threshold voltage VtL_org (case Y).
<<Calculation of Threshold Voltages of Logic Circuit 50>>
As has been described above, the logic circuit 50 has hysteresis characteristics implemented with the high threshold voltage VtH_org and the low threshold voltage VtL_org. The high threshold voltage VtH_org is determined based on the conditions under which both the NMOS transistors 51 and 52 are on. The low threshold voltage VtL_org is determined based on the conditions under which both the PMOS transistors 54 and 55 are on.
In other words, the high threshold voltage VtH_org is determined based on a threshold voltage vtn of each of the NMOS transistors 51, 52, and the low threshold voltage VtL_org is determined based on a threshold voltage vtp of each of the PMOS transistors 54, 55.
It is assumed here that the PMOS transistors 54, 55 have the common threshold voltage vtp, but may have different threshold voltages instead. The same applies to the threshold voltage vtn of the NMOS transistors 51, 52.
The following describes how the high threshold voltage VtH_org is determined by the threshold voltage vtn. The following also describes how the low threshold voltage VtL_org is determined by the threshold voltage vtp.
First, to express the high threshold voltage VtH_org with the threshold voltage vtn, a description will be given of a case where the input voltage Vin changes from a low voltage (e.g., 0 V) to a high voltage (e.g., VDD).
The following describes using the circuit including the NMOS transistors 51 to 53 in the logic circuit 50 in
where Vx is the voltage at the coupling point between the NMOS transistor 51 and the NMOS transistor 52.
When the input voltage Vin_org is 0 V at X1 in
When the input voltage Vin approaches the threshold voltage vtn of the NMOS transistor 51, the NMOS transistor 51 is turned on. Then, a drain current flowing to the NMOS transistor 53 and a drain current flowing to the NMOS transistor 51 become equal.
In this case, the following Formula (6) holds:
where β1 and β3 are coefficients determined by the physical structures of the NMOS transistors 51, 53, respectively. For instance, β=μCoxW/L, where μ is a mobility, Cox is the capacitance per unit area of a gate oxide film, W is a gate width, and L is a gate length.
When Formula (6) is rearranged to obtain the voltage Vx the following formula is given:
Upon the input voltage Vin rising to the high threshold voltage VtH_org resulting in VGS52=Vin_org−Vx=vtn, the NMOS transistor 52 is turned on. Because the NMOS transistors 51, 52 are on, the output voltage Vout is 0 V. Assuming that the input voltage Vin_org at this time is VtH_org, the following Formula (8) holds:
When VtH_org is obtained from Formula (8), the following Formula (9) holds:
Note that when the NMOS transistors 51, 52 are on, the NMOS transistor 53 is turned off because Vx=Vout=0 and VGS53=0.
Next, to express the low threshold voltage VtL_org with the threshold voltage vtp, a description will be given of a case where the input voltage Vin_org changes from a high voltage to a low voltage. It is assumed here that the threshold voltage vtp is a negative value.
The following describes using the circuit including the PMOS transistors 54 to 56 in the logic circuit 50 in
where Vy is the voltage at the coupling point between the PMOS transistor 54 and the PMOS transistor 55.
When the input voltage Vin_org is VDD, the PMOS transistors 54, 55 are off, and the PMOS transistor 56 is on. At this time, Vout=0, and Vy=vtp.
When the input voltage Vin_org approaches VDD+vtp, the PMOS transistor 55 is turned on. Then, a drain current flowing to the PMOS transistor 56 and a drain current flowing to the PMOS transistor 55 become equal.
In this case, the following Formula (13) holds:
where β5 and β6 are coefficients determined by the physical structures of the PMOS transistors 55, 56, respectively. For instance, β=μCoxW/L, where μ is a mobility, Cox is the capacitance per unit area of a gate oxide film, W is a gate width, and L is a gate length.
When Formula (13) is rearranged to obtain the voltage Vy, the following is given:
When the input voltage Vin_org drops to a lower voltage resulting in VGS54=Vin_org−Vy=vtp, the PMOS transistor 54 is turned on. Since the PMOS transistors 54, 55 are on, the output voltage Vout results in VDD. Assuming that the input voltage Vin_org is VtL_org, the following Formula (15) holds:
When VtL_org is obtained from Formula (15), the following Formula (16) holds:
Note that when the PMOS transistors 54, 55 are on, the PMOS transistor 56 is turned off because Vy=Vout=VDD and VGS56=0.
As has been described above, the high threshold voltage VtH_org is a voltage according to the threshold voltage vtn of each of the NMOS transistors 51, 52, and the low threshold voltage VtL_org is a voltage according to the threshold voltage vtp of each of the PMOS transistors 54, 55.
<<Calculation of Threshold Voltages of Comparator Circuit 21a>>
In the comparator circuit 21a, the voltage VNG is applied to the gate electrodes of the NMOS transistors 51, 52, and the voltage VPG is applied to the gate electrodes of the PMOS transistors 54, 55.
Accordingly, when the voltage VNG changes from a low voltage to a high voltage and exceeds the high threshold voltage VtH_org, the logic level of the output voltage Vout changes from high to low. Similarly, when the voltage VPG changes from a high voltage to a low voltage and drops below the low threshold voltage VtL_org, the logic level of the output voltage Vout changes from low to high.
Thus, when the high threshold voltage VtH_org of the logic circuit 50 is applied to the logic circuit 50 and the voltage level of the control signal IN to the comparator circuit 21a is at the threshold voltage VtH as the input voltage Vin, the high threshold voltage VtH_org is expressed based on Formula (1) as follows:
To obtain the high threshold voltage VtH from Formula (17), the following formula is given:
Similarly, when the low threshold voltage VtL_org of the logic circuit 50 is applied to the logic circuit 50 and the voltage level of the control signal IN to the comparator circuit 21a is at the threshold voltage VtL as the input voltage Vin, the low threshold voltage VtL_org is expressed based on Formula (2) as follows:
To obtain the low threshold voltage VtL from Formula (19), the following formula is given:
As has been described above, the high threshold voltage VtH and the low threshold voltage VtL of the comparator circuit 21a can be set to values different from the high threshold voltage VtH_org and the low threshold voltage VtL_org of the logic circuit 50. Then, with the use of the comparator circuit 21a, it is possible to change the high threshold voltage VtH and the low threshold voltage VtL of the comparator circuit 21a by changing the resistance values R1 to R4 of the resistors 41 to 44. Accordingly, the hysteresis characteristics of the logic circuit 50 can be changed.
In addition, the resistance values R3, R4 of the resistors 43, 44 are designed such that when the input voltage Vin rises to the high threshold voltage VtH of the comparator circuit 21a, the voltage VPG will become higher than the low threshold voltage VtL_org. Meanwhile, the resistance values R1 to R4 of the resistors 41 to 44 are designed such that when the input voltage Vin drops to the low threshold voltage VtL of the comparator circuit 21a, the voltage VNG will become lower than the high threshold voltage VtH_org.
Accordingly, even if the input voltage Vin changes, the NMOS transistors 51 to 53 and the PMOS transistors 54 to 56 operate as described in Explanation of Operation of Logic Circuit 50.
Note that the low level and low may correspond to the “first logic level,” and the high level and high may correspond to the “second logic level,” and conversely, the high level and high may correspond to the first logic level,” and the low level and low may correspond to the “second logic level.”
<<Comparison of Input/Output Characteristics Between Comparator Circuit 21a and Logic Circuit 50>>
The dash-dot straight line indicates a change in the voltage VNG with respect to the input voltage Vin inputted to the comparator circuit 21a. In other words, the dash-dot straight line indicates a change in the applied voltage applied to the gate electrodes of the NMOS transistors 51, 52, with respect to the input voltage Vin.
The dash-dot-dot straight line indicates a change in the voltage VPG with respect to the input voltage Vin inputted to the comparator circuit 21a. In other words, the dash-dot-dot straight line indicates a change in the applied voltage applied to the gate electrodes of the PMOS transistors 54, 55, with respect to the input voltage Vin. However, the straight lines of the voltages VNG, VPG each are merely an example in a case where the relation among the resistance values R1 to R4 of the resistors 41 to 44 is R2:R1=R3:R4=1:2.
The following describes the relation between the input voltage Vin to the comparator circuit 21a and the high threshold voltage VtH and the low threshold voltage VtL of the comparator circuit 21a.
First, when the input voltage Vin changes from a low voltage (e.g., 0 V) to a high voltage (e.g., VDD), and the voltage VNG reaches a voltage level indicated by the point A2, which is the same as the voltage level indicated by the point A1 (i.e., VtH_org), the logic level of the output voltage Vout changes from high to low as indicated by the solid line passing through the point A2. Accordingly, when the voltage level of the voltage VNG reaches the point A2, the input voltage Vin reaches the high threshold voltage VtH of the comparator circuit 21a.
Next, when the input voltage Vin changes from a high voltage to a low voltage, and the voltage VPG reaches the voltage level indicated by a point B2, which is the same as the voltage level indicated by the point B1 (i.e., VtL_org), the logic level of the output voltage Vout changes from low to high as indicated by the solid line passing through the point B2. Accordingly, when the voltage level of the voltage VPG reaches the point B2, the input voltage Vin reaches the low threshold voltage VtL of the comparator circuit 21a.
In this way, the comparator circuit 21a applies the voltages VNG, VPG generated by the voltage converter circuit 40a to the NMOS transistors 51, 52 and the PMOS transistors 54, 55. This enables the comparator circuit 21a to change the high threshold voltage VtH_org and the low threshold voltage VtL_org determined by the thresholds of the MOS transistors into the high threshold voltage VtH and the low threshold voltage VtL of the comparator circuit 21a. Accordingly, the comparator circuit 21a can change the hysteresis characteristics of the logic circuit 50.
In addition, as indicated by Formulae (9) and (16) given above, the value of the high threshold voltage VtH_org is dependent on a voltage according to the threshold voltage vtn of each of the NMOS transistors 51, 52, and the value of the low threshold voltage VtL_org is dependent on a voltage according to the threshold voltage vtp of each of the PMOS transistors 54, 55. Those having thresholds that are low can be used, and in such a case, the hysteresis characteristics can be changed.
In addition, an embodiment of the present disclosure uses one in
===Modifications===
==Comparator Circuit 21b==
==Comparator Circuit 21c==
The source follower circuit 61a includes a constant current source 62a and the PMOS transistor 63a. The source follower circuit 61b includes a constant current source 62b and the NMOS transistor 63b.
Note that the source follower circuit 61a corresponds to the “first source follower circuit,” and the source follower circuit 61b corresponds to the “second source follower circuit.”
The voltage VNGb, which is an output from the source follower circuit 61a, is basically obtained by shifting the input voltage Vin by an amount of the gate-source voltage of the PMOS transistor 63a. Likewise, the voltage VPGb, which is an output from the source follower circuit 61b, is obtained by shifting the input voltage Vin by an amount of the gate-source voltage of the NMOS transistor 63b.
However, due to the nature of the source follower circuit, the input voltage Vin is outputted after cutting off a part thereof outside an output amplitude obtained by subtracting an amount corresponding to a drop in the voltage used by the constant current source and the transistor. Accordingly, the amplitude of the voltage VNGb or the amplitude of the voltage VPGb is smaller than the potential difference between the low power supply voltage VDD and the ground voltage.
The voltage converter circuit 40c receives the input voltage Vin and thus needs to have high-voltage devices. However, the voltage VNGb and the voltage VPGb which are outputs of the source follower circuits that operate at the low power supply voltage VDD have amplitudes that are smaller than or equal to the potential difference between the ground voltage and the low power supply voltage VDD. Thus, even without using high-voltage devices in the comparator circuit 21a, the devices can be prevented from being broken. Accordingly, in a modification of the present disclosure, the voltage converter circuit 40c uses high-voltage devices, and the logic circuit 50 that operates at the potential difference between the low power supply voltage VDD and the ground voltage uses low-voltage devices.
The power module 10 according to an embodiment of the present disclosure has been described hereinabove. When a Schmitt trigger circuit is used as the comparator circuit 21, the hysteresis characteristics are determined by the threshold voltages of the NMOS transistors 51, 52 and the PMOS transistors 54, 55 and are difficult to be changed. However, the input voltage Vin is converted into the voltage VNG and the voltage VPG, and the voltage VNG is applied to the gate electrodes of the NMOS transistors 51, 52 and the voltage VPG is applied to the gate electrodes of the PMOS transistors 54, 55, thereby being able to change the hysteresis characteristics seen from the input voltage Vin.
In addition, the input voltage Vin is higher than the power supply voltage VDD to the logic circuit 50, and high-voltage MOS transistors are used for the NMOS transistors 51 to 53 and the PMOS transistors 54 to 56. Then, with the use of the logic circuit 50, the hysteresis characteristics determined by the thresholds of the high-voltage MOS transistors can be changed by adjustments to the resistance values R1 to R4 of the resistors 41 to 44.
In addition, in an embodiment of the present disclosure, when the NMOS transistor 32 is turned on by the low-side driver circuit 27, a voltage Vs at the terminal VS may become negative due to the influence of an inductor component of the load 11. Then, a current flows from the ground to a voltage line that receives the voltage Vs at the terminal VS, and the potential at the terminal G (e.g., ground) may fluctuate. This may cause the low power supply voltage VDD to fluctuate. With the logic circuit 50 being configured with two PMOS transistors and two NMOS transistors, it is possible to remove the influence of the fluctuation in a bias current caused by the fluctuation of the low power supply voltage VDD when the comparator is used as a Schmitt trigger circuit. Accordingly, the logic circuit 50 operates as a Schmitt trigger circuit with high precision.
In addition, with the voltage converter circuit 40a being configured with the resistors 41 to 44, it is possible to generate voltages VNG, VPG with high precision.
In addition, the resistance values R1 to R4 of the resistors 41 to 44 are determined such that either the pair of PMOS transistors 54, 55 or the pair of NMOS transistors 51, 52 in the logic circuit 50 is turned off. This can prevent a through current from flowing in the logic circuit 50 even if the input voltage Vin is not applied to the node N1.
In addition, the voltage converter circuit 40c is implemented with two source follower circuits. This makes it possible to change the hysteresis characteristics seen from the input voltage Vin, as with the case of the logic circuit 50.
In addition, with the resistor 45 being coupled between the node N1 and the ground, it is possible to pull down the voltage at the node N1 when the input voltage Vin is not applied to the node N1. This makes it possible to design the resistance values R1 to R4 of the resistors 41 to 44 freely to a certain degree.
The present disclosure can provide a comparator circuit capable of changing the hysteresis characteristics.
Embodiments of the present disclosure described above are simply to facilitate understanding of the present disclosure and are not in any way to be construed as limiting the present disclosure. The present disclosure may variously be changed or altered without departing from its essential features and encompass equivalents thereof.
Number | Date | Country | Kind |
---|---|---|---|
2019-218974 | Dec 2019 | JP | national |
This is a continuation application of International Patent Application No. PCT/JP2020/040385 filed Oct. 28, 2020, which claims the benefit of priority to Japanese Patent Application No. 2019-218974 filed Dec. 3, 2019, the entire contents of each of which the entire contents of each of which are incorporated herein by reference.
Number | Name | Date | Kind |
---|---|---|---|
3984703 | Jorgensen | Oct 1976 | A |
4464587 | Suzuki | Aug 1984 | A |
4563594 | Koyama | Jan 1986 | A |
5194767 | Chao | Mar 1993 | A |
5319323 | Fong | Jun 1994 | A |
5336942 | Khayat | Aug 1994 | A |
5341033 | Koker | Aug 1994 | A |
5602496 | Mahmood | Feb 1997 | A |
5640118 | Drouot | Jun 1997 | A |
5874844 | Shin | Feb 1999 | A |
5945859 | Pang | Aug 1999 | A |
6046617 | Hoeld | Apr 2000 | A |
6060924 | Sugano | May 2000 | A |
6060925 | Chou | May 2000 | A |
6124733 | Sharpe-Geisler | Sep 2000 | A |
6127898 | Naura | Oct 2000 | A |
6181172 | Callahan | Jan 2001 | B1 |
6356099 | Lee | Mar 2002 | B1 |
6433602 | Lall | Aug 2002 | B1 |
6441663 | Chuang | Aug 2002 | B1 |
6448830 | Chuang | Sep 2002 | B1 |
6549048 | Tailliet | Apr 2003 | B2 |
6624678 | Boutaud | Sep 2003 | B1 |
6690222 | Nair | Feb 2004 | B2 |
6700424 | Feng | Mar 2004 | B2 |
6870413 | Chang | Mar 2005 | B1 |
7167032 | Barlow | Jan 2007 | B1 |
7183826 | Hashimoto | Feb 2007 | B2 |
7268604 | Koo | Sep 2007 | B2 |
7368976 | Gupta | May 2008 | B2 |
7764101 | Wu | Jul 2010 | B2 |
7940083 | Yamashita | May 2011 | B2 |
8115531 | Brown | Feb 2012 | B1 |
8497701 | Clerc | Jul 2013 | B2 |
8723584 | Larsen | May 2014 | B2 |
8736333 | Tercariol | May 2014 | B1 |
8829964 | Williams | Sep 2014 | B1 |
9306550 | Kumar | Apr 2016 | B2 |
9496874 | Kim | Nov 2016 | B2 |
9584101 | Li | Feb 2017 | B2 |
9673788 | Zhao | Jun 2017 | B2 |
10355676 | Sugahara | Jul 2019 | B2 |
10483973 | Chen | Nov 2019 | B2 |
10622979 | Jiang | Apr 2020 | B2 |
10756735 | Chen | Aug 2020 | B2 |
10811085 | Lin | Oct 2020 | B2 |
11146253 | Jeon | Oct 2021 | B1 |
11171634 | Chen | Nov 2021 | B2 |
11190187 | Chen | Nov 2021 | B2 |
11223345 | Kumar | Jan 2022 | B2 |
11296683 | Narawade | Apr 2022 | B2 |
11444611 | Ma | Sep 2022 | B2 |
20060082392 | Koo | Apr 2006 | A1 |
20180167063 | Akahane | Jun 2018 | A1 |
Number | Date | Country |
---|---|---|
H06-53783 | Feb 1994 | JP |
H10-209823 | Aug 1998 | JP |
2002-300011 | Oct 2002 | JP |
2012-238986 | Dec 2012 | JP |
2017-169153 | Sep 2017 | JP |
2017141559 | Aug 2017 | WO |
Entry |
---|
International Search Report for PCT/JP2020/040385, dated Jan. 26, 2021. |
Japanese Office Action dated Jul. 18, 2023, in the counterpart Japanese Patent Application No. 2021-562500. |
Number | Date | Country | |
---|---|---|---|
20220085798 A1 | Mar 2022 | US |
Number | Date | Country | |
---|---|---|---|
Parent | PCT/JP2020/040385 | Oct 2020 | US |
Child | 17535336 | US |