1. A driving signal generating circuit for generating driving signals provided to first and second transistors driving a power semiconductor device, comprising:
a first driving signal generating unit generating a first driving signal including a high level signal and a low level signal and providing the first driving signal to a gate of the first transistor;
a detecting unit detecting a detection voltage depending on a current flowing in the power semiconductor device;
a second driving signal generating unit generating a second driving signal in inverse proportion to the detection voltage; and
a switching unit performing a switching operation depending on the first driving signal to transfer the second driving signal to a gate of the second transistor.
2. The driving signal generating circuit of claim 1, wherein the detecting unit includes a detection resistor disposed between the power semiconductor device and a ground.
3. The driving signal generating circuit of claim 1, wherein the second driving signal generating unit includes:
a first operational amplifier having an inverting terminal, a non-inverting terminal to which the detection voltage is applied, and an output terminal connected to the inverting terminal;
a first resistor having one end connected to the output terminal of the first operational amplifier;
a second operational amplifier having a non-inverting terminal to which a predetermined reference voltage is applied, an inverting terminal connected to the other end of the first resistor, and an output terminal outputting the second driving signal; and
a second resistor disposed between the inverting terminal of the second operational amplifier and the output terminal of the second operational amplifier.
4. The driving signal generating circuit of claim 1, wherein the switching unit includes:
an inverter inverting the first driving signal; and
a switch performing a switching operation through an output signal of the inverter and disposed between the second driving signal generating unit and a ground.
5. The driving signal generating circuit of claim 1, wherein the switching unit includes a switch disposed between the second driving signal generating unit and the gate of the second transistor.
6. A power semiconductor device driving apparatus comprising:
a driving circuit including a first transistor driven so as to turn on a power semiconductor device and a second transistor driven so as to turn off the power semiconductor device; and
a driving signal generating circuit generating a first driving signal driving the first transistor and a second driving signal driving the second transistor,
wherein a level of the second driving signal is in inverse proportion to that of a current flowing in the power semiconductor device.
7. The power semiconductor device driving apparatus of claim 6, wherein the first transistor is disposed between a predetermined driving voltage terminal and a gate of the power semiconductor device, and the second transistor is disposed between a ground and the gate of the power semiconductor device.
8. The power semiconductor device driving apparatus of claim 6, wherein the first transistor is a P-type transistor, and the second transistor is an N-type transistor.
9. The power semiconductor device driving apparatus of claim 6, wherein the driving signal generating circuit includes:
a first driving signal generating unit generating the first driving signal including a high level signal and a low level signal;
a detecting unit detecting a detection voltage depending on the current flowing in the power semiconductor device;
a second driving signal generating unit generating the second driving signal in inverse proportion to the detection voltage; and
a switching unit performing a switching operation depending on the first driving signal to transfer the second driving signal to a gate of the second transistor.
10. The power semiconductor device driving apparatus of claim 9, wherein the detecting unit includes a detection resistor disposed between the power semiconductor device and a ground.
11. The power semiconductor device driving apparatus of claim 9, wherein the second driving signal generating unit includes:
a first operational amplifier having an inverting terminal, a non-inverting terminal to which the detection voltage is applied, and an output terminal connected to the inverting terminal;
a first resistor having one end connected to the output terminal of the first operational amplifier;
a second operational amplifier having a non-inverting terminal to which a predetermined reference voltage is applied, an inverting terminal connected to the other end of the first resistor, and an output terminal outputting the second driving signal; and
a second resistor disposed between the inverting terminal of the second operational amplifier and the output terminal of the second operational amplifier.
12. The power semiconductor device driving apparatus of claim 9, wherein the switching unit includes:
an inverter inverting the first driving signal; and
a switch performing a switching operation through an output signal of the inverter.
13. The power semiconductor device driving apparatus of claim 9, wherein the switching unit includes a switch disposed between the second driving signal generating unit and the gate of the second transistor.
The claims below are in addition to those above.
All refrences to claim(s) which appear below refer to the numbering after this setence.
1. A method of implementing a collection program interface for accessing a collection of data associated with a legacy enumeration application program interface, the method comprising:
retrieving a first set of at least one data element from the collection of data and storing the retrieved first set of at least one data element in a vector in response to receiving an initial first call on the collection application program interface;
comparing a first positional cursor to a size of the vector in response to receiving a second call on the collection application program interface subsequent to receiving the initial first call on the collection application program interface;
retrieving a second set of at least one data element from the collection of data and storing the retrieved second set of at least one data element in the vector in response to the first positional cursor being equal to or greater than the size of the vector; and
retrieving the first set of at least one data element from the vector in response to the first positional cursor being less than the size of the vector.
2. The method of claim 1, wherein the enumeration application program interface is a java-based enumeration application program interface.
3. The method of claim 2, wherein the java-based enumeration application program interface is java.util.Enumeration application program interface.
4. The method of claim 1, wherein the collection application program interface is a java-based collection application program interface.
5. The method of claim 4, wherein the java-based collection application program interface is java.util.Collection application program interface.
6. The method of claim 1, further comprising:
comparing a second positional cursor to the size of the vector in response to receiving a third call on the collection application program interface subsequent to receiving the initial first call and the second call on the collection program interface;
retrieving a third set of at least one data element from the collection of data and storing the retrieved third set of at least one data element in the vector in response to the second positional cursor being equal to or greater than the size of the vector; and
retrieving the first set of at least one data element and the second set of the at least one data element from the vector in response to the second positional cursor being less than the size of the vector.
7. A system, comprising:
a processor; and
a memory storing instructions operable with the processor to implement a collection program interface for accessing a collection of data associated with a legacy enumeration application program interface, the instructions being executed for:
retrieving a first set of at least one data element from the collection of data and storing the retrieved first set of at least one data element in a vector in response to receiving an initial first call on the collection application program interface;
comparing a first positional cursor to a size of the vector in response to receiving a second call on the collection application program interface subsequent to receiving the initial first call on the collection application program interface;
retrieving a second set of a least one data element from the collection of data and storing the retrieved second set of at least one data element in the vector in response to the first positional cursor being equal to or greater than the size of the vector; and
retrieving the first set of a least one data element from the vector in response to the first positional cursor being less than the size of the vector.
8. The system of claim 7, wherein the enumeration application program interface is a java-based enumeration application program interface.
9. The system of claim 8, wherein the java-based enumeration application program interface is java.util.Enumeration application program interface.
10. The system of claim 7, wherein the collection application program interface is a java-based collection application program interface.
11. The system of claim 10, wherein the java-based collection application program interface is java.util.Collection application program interface.
12. The system of claim 7, wherein the instructions are further executed for:
comparing a second positional cursor to the size of the vector in response to receiving a third call on the collection application program interface subsequent to receiving the initial first call and the second call on the collection program interface;
retrieving a third set of at least one data element from the collection of data and storing the retrieved third set of at least one data element in the vector in response to the second positional cursor being equal to or greater than the size of the vector; and
retrieving the first set of at least one data element and the second set of the at least one data element from the vector in response to the second positional cursor being less than the size of the vector.
13. A signal bearing medium tangibly embodying a program of machine-readable instructions executable by a processor to perform operation to implement a collection program interface for accessing a collection of data associated with a legacy enumeration application program interface, the operations comprising:
retrieving a firs set of at least one data element from the collection of data and storing the retrieved first set of at least one data element in a vector in response to receiving an initial first call on the collection application program interface;
comparing a first positional cursor to a size of the vector in response to receiving a second call on the collection application program interface subsequent to receiving the initial first call on the collection application program interface;
retrieving a second set of at least one data element from the collection of data and storing the retrieved second set of at least one data element in the vector in response to the first positional cursor being equal to or greater than the size of the vector; and
retrieving the first set of at least one data element from the vector in response to the first positional cursor being less than the size of the vector.
14. The signal bearing medium of claim 13, wherein the enumeration application program interface is a java-based enumeration application program interface.
15. The signal bearing medium of claim 14, wherein the java-based enumeration application program interface is a java.util.Enumeration application program interface.
16. The signal bearing medium of claim 13, wherein the collection application program interface is a java-based collection application program interface.
17. The signal bearing medium of claim 16, wherein the java-based collection application program interface is a java.util.Collection application program interface.
18. The signal bearing medium of claim 13, wherein operations further comprise:
comparing a second positional cursor to the size of the vector in response to receiving a third call on the collection application program interface subsequent to receiving the initial first call and the second call on the collection program interface;
retrieving a third set of at least one data element from the collection of data and storing the retrieved third set of at least one data element in the vector in response to the second positional cursor being equal to or greater than the size of the vector; and
retrieving the first set of at least one data element and the second set of the at least one data element from the vector in response to the second positional cursor being less than the size of the vector.
19. A system for implementing a collection program interface for accessing a collection of data associated with a legacy enumeration application program interface, the system comprising:
means for retrieving a first set of at least one data element from the collection of data and storing the retrieved first set of at least one data element in a vector in response to receiving an initial first call on the collection application program interface;
means for comparing a first positional cursor to a size of the vector in response to receiving a second call on the collection application program interface subsequent to receiving the initial first call on the collection application program interface;
means for retrieving a second set of at least one data element from the collection of data and storing the retrieved second set of at least one data element in the vector in response to the first positional cursor being equal to or greater than the size of the vector; and
means far retrieving the first set of at least one data element from the vector in response to the first positional cursor being less than the size of the vector.
20. The system of claim 19, further comprising:
means for comparing a second positional cursor to the size of the vector in response to receiving a third call on the collection application program interface subsequent to receiving the initial first call and the second call on the collection program interface;
means for retrieving a third set of at least one data element from the collection of data and storing the retrieved third set of at least one data element in the vector in response to the second positional cursor being equal to or greater than the size of the vector; and
means for retrieving the first set of at least one data element and the second set of the at least one data element from the vector in response to the second positional cursor being less than the size of the vector.