Semiconductor device
The semiconductor device addresses the issue of simultaneous MOSFET activation in photorelays by using controlled timing of light emission and current generation, ensuring reliable and efficient switching.
Patent Information
- Application Number
- JP2023045736
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-22
- Publication Date
- 2024-10-04
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing semiconductor devices with photorelays face the challenge of simultaneously turning on both sets of source common MOSFETs, which is undesirable and can lead to operational inefficiencies.
The semiconductor device incorporates a first and second switch element, each with a MOS transistor, along with light emitting and receiving elements, and voltage and switch control circuits to control the timing of light emission and current generation, ensuring that the MOSFET pairs are not turned on simultaneously.
This configuration effectively prevents simultaneous activation of the MOSFET pairs, enhancing operational reliability and efficiency by ensuring controlled and sequential switching.
Smart Images

Figure 2024135178000001_ABST
Abstract
Description
[Technical field]
[0001] The embodiments relate to a semiconductor device. [Background technology]
[0002] There is known a semiconductor device capable of turning on and off a switch element of a secondary circuit by controlling a primary circuit while a primary circuit (transmission side) and a secondary circuit (reception side) are electrically insulated from each other. As one type of such semiconductor device, a photorelay is known, which is configured by a primary circuit including a light-emitting element (e.g., LED: Light Emitting Diode) and a secondary circuit including a light-receiving element (e.g., photodiode). For example, in a photorelay, the secondary circuit includes a light-receiving element and a pair of MOSFETs (Metal Oxide Semiconductor Field Effect Transistors) with sources commonly connected (i.e., source common MOSFETs). As one type of photorelay, a contact C type photorelay using two sets of source common MOSFETs is known. The contact C type photorelay is configured to turn on one of the two sets of source common MOSFETs and turn off the other. In this case, the light emission / non-emission of the light-emitting element on the primary side is controlled to control the on / off of the two sets of source common MOSFETs. In such a photorelay, it is preferable that the two sets of common-source MOSFETs are not turned on at the same time. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Japanese Patent Application Publication No. 09-261027 [Patent Document 2] Japanese Patent Application Publication No. 08-065127 [Patent Document 3] Japanese Patent Application Publication No. 07-046109 Summary of the Invention [Problem to be solved by the invention]
[0004] A semiconductor device capable of preventing two MOSFET pairs from being turned on simultaneously is provided. [Means for solving the problem]
[0005] The semiconductor device of the embodiment includes a first switch element, a second switch element, a first light emitting element, a second light emitting element, a first light receiving element, a second light receiving element, a first voltage control circuit, a second voltage control circuit, a first switch control circuit, and a second switch control circuit. The first switch element has a first MOS transistor and a second MOS transistor, each of which has one end connected to a first node and a gate end connected to a second node. The second switch element has a third MOS transistor and a fourth MOS transistor, each of which has one end connected to a third node and a gate end connected to a fourth node. The first light receiving element is configured to generate a current based on light generated by the first light emitting element. The second light receiving element is configured to generate a current based on light generated by the second light emitting element. The first voltage control circuit is configured to apply a voltage to the second node based on the current generated by the first light receiving element. The second voltage control circuit is configured to apply a voltage to the third node based on the current generated by the second light receiving element. The first switch control circuit is configured to cause the first light-emitting element to emit light a first time after the input signal transitions from a first logic level to a second logic level. The second switch control circuit is configured to cause the second light-emitting element to stop emitting light a second time after the input signal transitions from the second logic level to the first logic level. Each of the first MOS transistor and the second MOS transistor is an enhancement-type N-channel MOSFET. Each of the third MOS transistor and the fourth MOS transistor is a depletion-type N-channel MOSFET. [Brief description of the drawings]
[0006] [Figure 1] 1 is a plan view showing an example of the appearance of a semiconductor device according to a first embodiment. [Diagram 2] 4 is a table showing an example of input / output characteristics of the semiconductor device according to the first embodiment. [Diagram 3] FIG. 2 is a block diagram showing an example of a package configuration of the semiconductor device according to the first embodiment. [Figure 4] 1 is a block diagram showing an example of the configuration of an integrated circuit included in the semiconductor device according to the first embodiment. [Diagram 5] FIG. 2 is a circuit diagram showing an example of the configuration of a reset circuit included in an integrated circuit provided in the semiconductor device according to the first embodiment. [Figure 6] 5 is a time chart showing an example of operating characteristics of a reset circuit included in an integrated circuit provided in the semiconductor device according to the first embodiment. [Figure 7] 5 is a time chart showing an example of operating characteristics of an enable control circuit included in an integrated circuit provided in the semiconductor device according to the first embodiment. [Figure 8] FIG. 2 is a block diagram showing an example of a configuration of an LED control circuit included in an integrated circuit provided in the semiconductor device according to the first embodiment. [Figure 9] 3 is a circuit diagram showing an example of a circuit configuration of an AIN generation circuit in the integrated circuit included in the semiconductor device according to the first embodiment. [Figure 10] 3 is a circuit diagram showing an example of a circuit configuration of a TONA generation circuit in an integrated circuit included in the semiconductor device according to the first embodiment. [Figure 11] 3 is a circuit diagram showing an example of a circuit configuration of a BIN generation circuit in an integrated circuit included in the semiconductor device according to the first embodiment. [Figure 12] 3 is a circuit diagram showing an example of a circuit configuration of a TONB generation circuit in an integrated circuit included in the semiconductor device according to the first embodiment. [Figure 13] FIG. 2 is a circuit diagram showing an example of a circuit configuration of an LED drive circuit in the integrated circuit included in the semiconductor device according to the first embodiment. [Figure 14] 4 is a circuit diagram showing a first example of operating characteristics of an LED drive circuit in the integrated circuit included in the semiconductor device according to the first embodiment. [Figure 15]5 is a circuit diagram showing a second example of the operating characteristics of the LED drive circuit in the integrated circuit included in the semiconductor device according to the first embodiment. FIG. [Figure 16] FIG. 2 is a circuit diagram showing an example of a circuit configuration of a light receiving unit and a VGS control circuit included in an ASW control unit provided in the semiconductor device according to the first embodiment. [Figure 17] 3 is a circuit diagram showing an example of a circuit configuration of a light receiving unit and a VGS control circuit included in a BSW control unit provided in the semiconductor device according to the first embodiment. FIG. [Figure 18] 4 is a time chart showing an example of an operation based on a power supply voltage in the semiconductor device according to the first embodiment. [Figure 19] 5 is a time chart showing an example of operation when a VCC momentary power outage occurs in the semiconductor device according to the first embodiment. [Figure 20] 5 is a time chart showing an example of the operation of the A-type switch and the B-type switch when the semiconductor device according to the first embodiment is powered on. [Figure 21] 4 is a time chart showing an example of a change in gate-source voltage when the semiconductor device according to the first embodiment is powered on. [Figure 22] FIG. 11 is a plan view showing an example of the appearance of a semiconductor device according to a second embodiment. [Figure 23] 10 is a table showing an example of input / output characteristics of the semiconductor device according to the second embodiment. [Figure 24] FIG. 11 is a block diagram showing an example of a package configuration of a semiconductor device according to a second embodiment. [Diagram 25] FIG. 11 is a block diagram showing an example of the configuration of an integrated circuit included in a semiconductor device according to a second embodiment. [Figure 26] FIG. 11 is a block diagram showing an example of the configuration of an LED control circuit included in an integrated circuit provided in a semiconductor device according to a second embodiment. [Figure 27] 10 is a time chart showing an example of the operation of two A-type switches when the semiconductor device according to the second embodiment is powered on. [Figure 28] FIG. 13 is a circuit diagram showing a modified example of the circuit configuration of the light receiving unit and the VGS control circuit included in the ASW control unit. [Figure 29]FIG. 13 is a circuit diagram showing a modified example of the circuit configuration of the light receiving unit and the VGS control circuit included in the BSW control unit. [Diagram 30] FIG. 13 is a block diagram showing a modified example of the package configuration of the semiconductor device. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0007] Each embodiment will be described below with reference to the drawings. Each embodiment illustrates an apparatus or method for embodying the technical idea of the invention. The drawings are schematic or conceptual. The dimensions and ratios of the drawings are not necessarily the same as those in reality. In the following description, the same reference numerals are attached to components having substantially the same functions and configurations.
[0008] In this specification, a case will be described in which the logic level indicating that the input signal is absent is the "L (Low)" level, and the logic level indicating that the input signal is present is the "H (High)" level. The "H" level corresponds to the inverse logic level of the "L" level. Note that the correspondence between the presence or absence of an input signal and the logic level may be changed depending on the circuit configuration.
[0009] In this specification, examples of switch elements provided in a semiconductor device used as a photorelay include an enhancement type N-channel MOSFET and a depletion type N-channel MOSFET. Hereinafter, an N-channel MOSFET is referred to as an "NMOS transistor." A P-channel MOSFET is referred to as a "PMOS transistor." An NPN type bipolar transistor is referred to as an "NPN transistor." A switch element using an enhancement type NMOS transistor is referred to as an "A type switch ASW." A switch element using a depletion type NMOS transistor is referred to as a "B type switch BSW."
[0010] <1> First embodiment The semiconductor device 1 according to the first embodiment is a photorelay including an A type switch ASW and a B type switch BSW, and configured to electrically switch on and off the A type switch ASW and the B type switch BSW in response to an input signal. The semiconductor device 1 suppresses the occurrence of the A type switch ASW and the B type switch BSW being turned on simultaneously by adjusting the on / off timing of each of the A type switch ASW and the B type switch BSW. Details of the semiconductor device 1 according to the first embodiment will be described below.
[0011] <1-1> Configuration First, the configuration of a semiconductor device 1 according to the first embodiment will be described.
[0012] <1-1-1> Appearance of semiconductor device 1 Fig. 1 is a plan view showing an example of the appearance of a semiconductor device 1 according to a first embodiment. As shown in Fig. 1, the semiconductor device 1 is sealed in a package PKG in which terminals T1 to T8 are exposed. The package PKG includes a light emitting element and a light receiving element for the semiconductor device 1 to function as a photorelay.
[0013] The terminals T1 to T4 are terminals on the input side of the semiconductor device 1. Specifically, the terminal T1 is a power supply terminal of the semiconductor device 1. For example, a power supply voltage VCC is applied to the terminal T1. The terminal T2 is an input terminal of the semiconductor device 1. For example, an input signal VIN is input to the terminal T2. The input signal VIN is a control signal used to instruct switching of two switch elements included in the photorelay. The terminal T3 is a terminal used, for example, for an operation test of an LED included in the semiconductor device 1. The terminal T4 is a ground terminal of the semiconductor device 1. For example, a ground voltage GND is applied to the terminal T4. Note that the terminal T3 may be a non-contact terminal when the operation test of the LED is not performed. In this case, a function related to the operation test of the LED is omitted from the integrated circuit in the semiconductor device 1, and the chip size can be designed to be small. In this way, a group of inexpensive products may be configured as the semiconductor device 1.
[0014] Terminals T5 and T6 are terminals on the output side of the semiconductor device 1. Specifically, the terminal T5 corresponds to one end (ASWT1) of the A-type switch ASW provided in the semiconductor device 1. The terminal T6 corresponds to the other end (ASWT2) of the A-type switch ASW provided in the semiconductor device 1. The semiconductor device 1 can form or cut off a current path between the terminals T5 and T6 based on the input signal VIN. A state in which a current path between the terminals T5 and T6 is formed in the semiconductor device 1 corresponds to an ON state of the A-type switch ASW. A state in which the current path between the terminals T5 and T6 is cut off in the semiconductor device 1 corresponds to an OFF state of the A-type switch ASW.
[0015] Terminals T7 and T8 are terminals on the output side of the semiconductor device 1. Specifically, the terminal T7 corresponds to one end (BSWT1) of the B-type switch BSW included in the semiconductor device 1. The terminal T8 corresponds to the other end (BSWT2) of the B-type switch BSW included in the semiconductor device 1. The semiconductor device 1 can form or cut off a current path between the terminals T7 and T8 based on the input signal VIN. A state in which a current path between the terminals T7 and T8 is formed in the semiconductor device 1 corresponds to an ON state of the B-type switch BSW. A state in which the current path between the terminals T7 and T8 is cut off in the semiconductor device 1 corresponds to an OFF state of the B-type switch BSW.
[0016] <1-1-2> Input / output characteristics of semiconductor device 1 Fig. 2 is a table showing an example of input / output characteristics of the semiconductor device 1 according to the first embodiment. Fig. 2 shows the correspondence between the states of the power supply voltage VCC, ground voltage GND, and input signal VIN corresponding to the input side, and the states of the A-type switch ASW and B-type switch BSW corresponding to the output side. As shown in Fig. 2, the semiconductor device 1 can operate in any of three states. Note that the ground voltage GND is at the "L" level in any of the three states.
[0017] When the power supply voltage VCC is at the “L” level or when the power supply is not connected to the terminal T1, the semiconductor device 1 is in a state in which it does not accept control by the input signal VIN (“-” in FIG. 2). In this case, the A-type switch ASW is in the OFF state and the B-type switch BSW is in the ON state.
[0018] When the power supply voltage VCC is at the “H” level, the semiconductor device 1 is in a state in which it can accept control by the input signal VIN. That is, when the power supply voltage VCC is at the “H” level, the semiconductor device 1 controls the on / off of the A-type switch ASW and the B-type switch BSW in a complementary manner based on the input signal VIN.
[0019] Specifically, when the power supply voltage VCC is at the “H” level and the input signal VIN is at the “H” level, the semiconductor device 1 controls the A-type switch ASW and the B-type switch BSW so that the A-type switch ASW is in the ON state and the B-type switch BSW is in the OFF state. When the power supply voltage VCC is at the “H” level and the input signal VIN is at the “L” level, the semiconductor device 1 controls the A-type switch ASW and the B-type switch BSW so that the A-type switch ASW is in the OFF state and the B-type switch BSW is in the ON state.
[0020] <1-1-3> Package PKG structure 3 is a block diagram showing a configuration of a package PKG of the semiconductor device 1 according to the first embodiment. As shown in FIG. 3, the package PKG includes, for example, an A-type switch ASW, a B-type switch BSW, an integrated circuit 10, an ASW control unit 20, and a BSW control unit 30.
[0021] The A-type switch ASW includes NMOS transistors ENM1 and ENM2. Each of the NMOS transistors ENM1 and ENM2 is an enhancement type NMOS transistor. Each of the gate terminals of the NMOS transistors ENM1 and ENM2 is connected to a node NG_A. The drain terminal of the NMOS transistor ENM1 is connected to a terminal T5. The drain terminal of the NMOS transistor ENM2 is connected to a terminal T6. Each of the source terminals of the NMOS transistors ENM1 and ENM2 is connected to a node NS_A. FIG. 3 also shows parasitic diodes formed between the source terminal and the drain terminal of each of the NMOS transistors ENM1 and ENM2. The state in which each of the NMOS transistors ENM1 and ENM2 is in the ON state corresponds to the ON state of the A-type switch ASW. The state in which each of the NMOS transistors ENM1 and ENM2 is in the OFF state corresponds to the OFF state of the A-type switch ASW.
[0022] The B type switch BSW includes NMOS transistors DNM1 and DNM2. Each of the NMOS transistors DNM1 and DNM2 is a depletion type NMOS transistor. Each of the gate terminals of the NMOS transistors DNM1 and DNM2 is connected to a node NG_B. The drain terminal of the NMOS transistor DNM1 is connected to a terminal T7. The drain terminal of the NMOS transistor DNM2 is connected to a terminal T8. Each of the source terminals of the NMOS transistors DNM1 and DNM2 is connected to a node NS_B. FIG. 3 also shows parasitic diodes formed between the source terminal and the drain terminal of each of the NMOS transistors DNM1 and DNM2. The state in which each of the NMOS transistors DNM1 and DNM2 is in the ON state corresponds to the ON state of the B type switch BSW. The state in which each of the NMOS transistors DNM1 and DNM2 is in the OFF state corresponds to the OFF state of the B type switch BSW.
[0023] The integrated circuit 10 is a circuit disposed on the input side of the semiconductor device 1, and controls each of the ASW control unit 20 and the BSW control unit 30. The integrated circuit 10 is connected to each of the terminals T1 to T4. The integrated circuit 10 includes nodes CA_A and CA_B. The integrated circuit 10 is configured to control the voltages of the nodes CA_A and CA_B based on a power supply voltage VCC supplied to the terminal T1 and an input signal VIN supplied to the terminal T2. The integrated circuit 10 is also configured to be able to supply a current based on the current flowing through the nodes CA_A and / or CA_B to the terminal T3, for example.
[0024] The ASW control unit 20 controls the on / off of the A-type switch ASW based on the control of the integrated circuit 10. The ASW control unit 20 includes an LED (Light-Emitting Diode) 21, a light receiving unit 22, and a VGS control circuit 23. The LED 21 is a light-emitting element controlled by the integrated circuit 10 to emit or not emit light. The anode of the LED 21 is connected to the terminal T1. The cathode of the LED 21 is connected to a node CA_A of the integrated circuit 10. The light receiving unit 22 includes a light receiving element that generates a current by light irradiation. When the LED 21 is in a light-emitting state, the light receiving unit 22 receives the light emitted from the LED 21 and is turned on. The light receiving unit 22 in the on state supplies a current to the VGS control circuit 23. The VGS control circuit 23 operates based on the current generated by the light receiving unit 22 and controls the voltages of the nodes NG_A and NS_A. The ASW control unit 20 is configured to apply a positive voltage to the gate terminals of the NMOS transistors ENM1 and ENM2. This enables the ASW control unit 20 to generate a positive potential difference between the gates and sources of the NMOS transistors ENM1 and ENM2.
[0025] The BSW control unit 30 controls the on / off of the B-type switch BSW based on the control of the integrated circuit 10. The BSW control unit 30 includes an LED (Light-Emitting Diode) 31, a light receiving unit 32, and a VGS control circuit 33. The LED 31 is a light-emitting element controlled by the integrated circuit 10 to emit or not emit light. The anode of the LED 31 is connected to the terminal T1. The cathode of the LED 31 is connected to a node CA_B of the integrated circuit 10. The light receiving unit 32 includes a light receiving element that generates a current by light irradiation. When the LED 31 is in a light-emitting state, the light receiving unit 32 receives the light emitted from the LED 31 and is turned on. The light receiving unit 32 in the on state supplies a current to the VGS control circuit 33. The VGS control circuit 33 operates based on the current generated by the light receiving unit 32 and controls the voltages of the nodes NG_B and NS_B. The BSW control unit 30 is configured to be able to apply a positive voltage to the source terminals of the NMOS transistors DNM1 and DNM2. This enables the ASW control unit 20 to generate a negative potential difference between the gates and sources of the NMOS transistors ENM1 and ENM2.
[0026] <1-1-4> Configuration of integrated circuit 10 Fig. 4 is a block diagram showing an example of the configuration of the integrated circuit 10 included in the semiconductor device 1 according to the first embodiment. As shown in Fig. 4, the integrated circuit 10 includes, for example, a start circuit 11, a power supply circuit 12, a reset circuit 13, an enable control circuit 14, an oscillation circuit 15, an input circuit 16, an LED test circuit 17, and an LED control circuit 18. Each of the start circuit 11, the power supply circuit 12, the reset circuit 13, the enable control circuit 14, the oscillation circuit 15, the input circuit 16, the LED test circuit 17, and the LED control circuit 18 is connected to a terminal T4. Hereinafter, the node connected to the terminal T4 is referred to as a ground node (GND).
[0027] The start-up circuit 11 generates power supply voltages VCC1 and 3VLDO based on the power supply voltage VCC supplied to the terminal T1. The start-up circuit 11 supplies the generated power supply voltage 3VLDO to the reset circuit 13. The reset circuit 13 operates based on the power supply voltage 3VLDO supplied by the start-up circuit 11. The 3VLDO is a high-side voltage source of the logic circuit, and is generated by, for example, a low-drop 3V series power supply. The voltage value of the 3VLDO can be appropriately changed according to the circuit configuration of the integrated circuit 10. The start-up circuit 11 also supplies the generated power supply voltage VCC1 to each of the power supply circuit 12, the enable control circuit 14, the oscillation circuit 15, the input circuit 16, the LED test circuit 17, and the LED control circuit 18. Each of the power supply circuit 12, the enable control circuit 14, the oscillation circuit 15, the input circuit 16, the LED test circuit 17, and the LED control circuit 18 operates based on the power supply voltage VCC1 supplied by the start-up circuit 11. Hereinafter, the node used to supply the power supply voltage VCC1 is called a power supply node. The start-up circuit 11 may be configured to generate a plurality of types of power supply voltages. The start-up circuit 11 may be configured to supply at least one type of power supply voltage according to the circuit configuration to each of the power supply circuit 12, the reset circuit 13, the enable control circuit 14, the oscillation circuit 15, the input circuit 16, the LED test circuit 17, and the LED control circuit 18.
[0028] The power supply circuit 12 generates currents IL1 and IL2, and supplies the generated currents IL1 and IL2 to the LED control circuit 18. The power supply circuit 12 includes a current source that has temperature dependency, for example, when the power supply voltage VCC1 is equal to or higher than a predetermined voltage.
[0029] The reset circuit 13 generates a reset signal RST and supplies the generated reset signal RST to the LED control circuit 18. The reset signal RST is a control signal used to initialize a logic circuit included in the LED control circuit 18. A detailed configuration of the reset circuit 13 will be described later.
[0030] The enable control circuit 14 generates enable signals AENB and BENB, and supplies the generated enable signals AENB and BENB to the LED control circuit 18. The enable signal AENB is a control signal for enabling control of the conduction (on / off) of the A-type switch ASW. When the enable signal AENB is at the “H” level, control of the conduction of the A-type switch ASW is enabled. The enable signal BENB is a control signal for enabling control of the conduction (on / off) of the B-type switch BSW. When the enable signal BENB is at the “H” level, control of the conduction of the B-type switch BSW is enabled. A detailed configuration of the enable control circuit 14 will be described later.
[0031] The oscillator circuit 15 generates a clock signal CLK and supplies the generated clock signal CLK to the LED control circuit 18. The clock signal CLK is a periodic electrical signal. The clock signal CLK has a clock frequency of, for example, 1 MHz.
[0032] The input circuit 16 receives an input signal VIN input to a terminal T2. Then, the input circuit 16 supplies the received input signal VIN as an input signal VIN1 to the LED control circuit 18. The input circuit 16 includes, for example, a level shifter.
[0033] The LED test circuit 17 has a function of supplying a current based on the current flowing through the node CA_A and / or CA_B to the terminal T3. That is, the LED test circuit 17 can supply the current flowing through the LED21 and / or LED31 to the terminal T3. The current flowing through the LED21 and / or LED31 can be monitored by a device connected to the terminal T3.
[0034] The LED control circuit 18 operates based on currents IL1 and IL2, reset signals RST, enable signals AENB and BENB, a clock signal CLK, and an input signal VIN1. The LED control circuit 18 includes an ASW control circuit ACNT and a BSW control circuit BCNT. The ASW control circuit ACNT controls the voltage of the node CA_A. That is, the ASW control circuit ACNT controls the cathode current of the LED 21. The BSW control circuit BCNT controls the current of the node CA_B. That is, the BSW control circuit BCNT controls the cathode current of the LED 31. A detailed configuration of the LED control circuit 18 will be described later.
[0035] <1-1-4-1> Configuration of reset circuit 13 Fig. 5 is a circuit diagram showing an example of the configuration of the reset circuit 13 included in the integrated circuit 10 of the semiconductor device 1 according to the first embodiment. As shown in Fig. 5, the reset circuit 13 includes, for example, an inverter 131, a delay circuit 132, and a logical product (AND) circuit 133. Although not shown in the figure, the inverter 131, the delay circuit 132, and the AND circuit 133 are each connected to a power supply node and a ground node, and operate based on the power supply voltage 3VLDO.
[0036] 4 is input to an input terminal of an inverter 131 and a first input terminal N1 of an AND circuit 133. An output terminal of the inverter 131 is connected to an input terminal of a delay circuit 132. An output terminal of the delay circuit 132 is connected to a second input terminal N2 of the AND circuit 133. The AND circuit 133 performs a logical AND operation on the signal input to the first input terminal N1 and the signal input to the second input terminal N2, and outputs the operation result as a reset signal RST.
[0037] An example of the operating characteristics of the reset circuit 13 will be described below with reference to Fig. 6. Fig. 6 is a time chart showing an example of the operating characteristics of the reset circuit 13 included in the integrated circuit 10 of the semiconductor device 1 according to the first embodiment. Fig. 6 shows the voltage changes of the power supply voltage 3VLDO, the first input terminal N1 and the second input terminal N2 of the AND circuit 133, and the reset signal RST.
[0038] When the power supply voltage 3VLDO is maintained at the “L” level, the voltage of the first input terminal N1 of the AND circuit 133 is at the “L” level. On the other hand, the voltage of the second input terminal N2 of the AND circuit 133 is at the logical level of the power supply voltage 3VLDO inverted by the inverter 131, and is therefore at the “H” level.
[0039] When the power supply voltage 3VLDO transitions from the "L" level to the "H" level, the voltage at the first input terminal N1 of the AND circuit 133 immediately transitions from the "L" level to the "H" level. At this time, the output signal of the inverter 131 also transitions from the "H" level to the "L" level. The logical level of the output signal of the inverter 131 is delayed by the delay circuit 132 and then reflected in the voltage at the second input terminal N2 of the AND circuit 133. Therefore, the voltages of the nodes N1 and N2 of the AND circuit 133 are at the "H" level only for a period based on the delay time by the delay circuit 132 after the power supply voltage 3VLDO transitions from the "L" level to the "H" level, and the AND circuit 133 outputs a reset signal RST at the "H" level during this period. After that, the AND circuit 133 outputs a reset signal RST at the "L" level based on the fact that the voltage at the first input terminal N1 has become the "H" level and the voltage at the second input terminal N2 has become the "L" level.
[0040] As described above, the reset circuit 13 is configured to output a single pulse signal based on the transition of the power supply voltage 3VLDO from the "L" level to the "H" level. Note that the circuit configuration of the reset circuit 13 may be other circuit configurations as long as they are capable of realizing the operation described above.
[0041] <1-1-4-2> Configuration of enable control circuit 14 7 is a time chart showing an example of the operating characteristics of the enable control circuit 14 included in the integrated circuit 10 of the semiconductor device 1 according to the first embodiment. FIG. 7 shows changes in the voltages of the power supply voltage VCC1 and the enable signals AENB and BENB. As shown in FIG. 7, the enable control circuit 14 is configured so that the threshold of the enable signal AENB is different from the threshold of the enable signal BENB. In addition, the enable control circuit 14 is configured so that the thresholds of the enable signals AENB and BENB are different between when the power supply voltage VCC1 transitions from the "L" level to the "H" level and when the power supply voltage VCC1 transitions from the "H" level to the "L" level.
[0042] Specifically, the threshold value VTHA1 of the enable signal AENB when the power supply voltage VCC1 transitions from the "L" level to the "H" level is higher than the threshold value VTHA2 of the enable signal AENB when the power supply voltage VCC1 transitions from the "H" level to the "L" level. The threshold value VTHB1 of the enable signal BENB when the power supply voltage VCC1 transitions from the "L" level to the "H" level is higher than the threshold value VTHB2 of the enable signal BENB when the power supply voltage VCC1 transitions from the "H" level to the "L" level.
[0043] Furthermore, the threshold value VTHA1 of the enable signal AENB is higher than the threshold value VTHB1 of the enable signal BENB. The threshold value VTHA2 of the enable signal AENB is higher than the threshold value VTHB2 of the enable signal BENB. In the enable control circuit 14, the difference DVTHA between the threshold values VTHA1 and VTHA2 of the enable signal AENB and the difference DVTHB between the threshold values VTHB1 and VTHB2 of the enable signal BENB can be changed as appropriate.
[0044] As a result, in the enable control circuit 14, in the process of the power supply voltage VCC1 transitioning from the "L" level to the "H" level, the enable signal BENB transitions from the "L" level to the "H" level, and then the enable signal AENB transitions from the "L" level to the "H" level. Also, in the enable control circuit 14, in the process of the power supply voltage VCC1 transitioning from the "H" level to the "L" level, the enable signal AENB transitions from the "H" level to the "L" level, and then the enable signal BENB transitions from the "H" level to the "L" level.
[0045] As described above, the enable control circuit 14 is configured so that the period when the enable signal AENB is at the “H” level is included in the period when the enable signal BENB is at the “H” level. Note that the circuit configuration of the enable control circuit 14 may be any circuit configuration as long as it is capable of realizing the operations described above.
[0046] <1-1-4-3> Configuration of LED control circuit 18 Fig. 8 is a block diagram showing an example of the configuration of the LED control circuit 18 included in the integrated circuit 10 of the semiconductor device 1 according to the first embodiment. As shown in Fig. 8, the LED control circuit 18 includes, for example, driver circuits 40 and 50, and LED drive circuits 60A and 60B. The set of the driver circuit 40 and the LED drive circuit 60A corresponds to the ASW control circuit ACNT. The set of the driver circuit 50 and the LED drive circuit 60B corresponds to the BSW control circuit BCNT.
[0047] The driver circuit 40 controls the LED drive circuit 60A based on the input signal VIN1, the enable signal AENB, the clock signal CLK, and the reset signal RST. The driver circuit 40 includes an AIN generation circuit 41 and a TONA generation circuit 42. The AIN generation circuit 41 generates a control signal AIN. The control signal AIN is a signal that controls the light emission of the LED 21 associated with the A-type switch ASW. The TONA generation circuit 42 generates a control signal TONA. The control signal TONA is a signal used to accelerate the rise of the light emission of the LED 21 associated with the A-type switch ASW.
[0048] The driver circuit 50 controls the LED drive circuit 60B based on the input signal VIN1, the enable signal BENB, the clock signal CLK, and the reset signal RST. The driver circuit 50 includes a BIN generation circuit 51 and a TONB generation circuit 52. The BIN generation circuit 51 generates a control signal BIN. The control signal BIN is a signal that controls the light emission of the LED 31 associated with the B type switch BSW. The TONB generation circuit 52 generates a control signal TONB. The control signal TONB is a signal used to accelerate the rise of the light emission of the LED 31 associated with the B type switch BSW.
[0049] The LED drive circuit 60A controls the voltage of the node CA_A to control whether the LED 21 emits light or not. The LED drive circuit 60A has nodes IN1 to IN4 and OUT. A control signal AIN is input to the node IN1 of the LED drive circuit 60A. A control signal TONA is input to the node IN2 of the LED drive circuit 60A. A current IL1 is input to the node IN3 of the LED drive circuit 60A. A current IL2 is input to the node IN4 of the LED drive circuit 60A. The node OUT of the LED drive circuit 60A is connected to the node CA_A. The LED drive circuit 60A amplifies the current IL1 and / or IL2 based on the control signals AIN and TONA, for example. Then, the LED drive circuit 60A can control the current of the node OUT by the amplified current IL1 and / or IL2.
[0050] The LED drive circuit 60B controls the voltage of the node CA_B to control whether the LED 31 emits light or not. The LED drive circuit 60B has nodes IN1 to IN4 and OUT. A control signal BIN is input to the node IN1 of the LED drive circuit 60B. A control signal TONB is input to the node IN2 of the LED drive circuit 60B. A current IL1 is input to the node IN3 of the LED drive circuit 60B. A current IL2 is input to the node IN4 of the LED drive circuit 60B. The node OUT of the LED drive circuit 60B is connected to the node CA_B of the LED 31. The LED drive circuit 60B amplifies the current IL1 and / or IL2 based on the control signals BIN and TONB, for example. Then, the LED drive circuit 60B can control the current of the node OUT by the amplified current IL1 and / or IL2.
[0051] The detailed circuit configurations of the AIN generating circuit 41, the TONA generating circuit 42, the BIN generating circuit 51, the TONB generating circuit 52, and the LED driving circuits 60A and 60B included in the LED control circuit 18 will be described below in order. The LED driving circuits 60A and 60B have a common circuit configuration, except that the control signals input thereto and the nodes CA to which they are connected are different. Therefore, the circuit configuration common to the LED driving circuits 60A and 60B will be described below as the circuit configuration of the LED driving circuit 60.
[0052] Moreover, the counter CT shown in the drawings referred to below is a synchronous counter. The counter CT has, for example, a clock input terminal CK, a reset terminal R, and output terminals Q0 to Q13. The counter CT executes a counting operation of a clock signal input to the clock input terminal CK. The counter CT then outputs the counting result from the output terminals Q0 to Q13. The counting result is represented in binary by the output signal from the output terminals Q0 to Q13. For example, the counter CT counts the clock signal in binary. kThe counter CT is configured to set the output signal from the output terminal Qk to the “H” level when it has counted a count (k is an integer between 0 and 13). The counter CT is also configured to be reset when an “H” level signal is input to the reset terminal R. The reset counter CT outputs an “L” level signal from each of the output terminals Q0 to Q13. The number of output terminals Q of the counter CT may be any other number.
[0053] The flip-flop circuit FF shown in the drawings referred to below is a D-type flip-flop circuit. The flip-flop circuit FF has a data input terminal D, a clock input terminal CK, a reset terminal R, a non-inverting output terminal Q, and an inverting output terminal QN. The flip-flop circuit FF samples the signal input to the data input terminal D in response to the signal input to the clock input terminal. The flip-flop circuit FF then outputs the sampling result as a non-inverting output signal from the non-inverting output terminal Q. The flip-flop circuit FF also outputs an inverting output signal obtained by inverting the non-inverting output signal from the inverting output terminal QN. The flip-flop circuit FF is also configured to be reset based on an input of an “H” level signal to the reset terminal R. The reset flip-flop circuit FF outputs an “L” level signal from the non-inverting output terminal Q.
[0054] (1: Circuit configuration of AIN generation circuit 41) 9 is a circuit diagram showing an example of a circuit configuration of an AIN generation circuit 41 in the integrated circuit 10 included in the semiconductor device 1 according to the first embodiment. As shown in Fig. 9, the AIN generation circuit 41 includes, for example, logical product (AND) circuits AN10 to AN13, logical sum (OR) circuits OR10 to OR12, inverters IV10 and IV11, a counter CT10, and a flip-flop circuit FF10. Although not shown, the AND circuits AN10 to AN13, the OR circuits OR10 to OR12, the inverters IV10 and IV11, the counter CT10, and the flip-flop circuit FF10 are each connected to a power supply node and a ground node, and operate based on a power supply voltage VCC1 applied to the power supply node.
[0055] The AND circuit AN10 performs a logical AND operation between the clock signal CLK, the input signal VIN1, and the control signal BIN, and outputs the operation result as the clock signal CLKA. The counter CT10 performs a count operation of the clock signal CLKA input to the clock input terminal CK, and outputs the count result from the output terminals Q0 to Q13. The AND circuit AN11 performs a logical AND operation between the output signals of the output terminals Q5, Q6, and Q8 of the counter CT10, and outputs the operation result. The AND circuit AN12 performs a logical AND operation between the output signal of the AND circuit AN11 and the output signal of the output terminal Q11 of the counter CT10, and outputs the operation result.
[0056] The AND circuit AN13 performs a logical AND operation on the output signal of the AND circuit AN12 and the inverted output signal of the flip-flop circuit FF10, and outputs the operation result. The output signal of the AND circuit AN13 is input to the clock input terminal CK of the flip-flop circuit FF10. The data input terminal D of the flip-flop circuit FF10 is connected to the inverted output terminal QN of the flip-flop circuit FF10. The non-inverted output signal output from the non-inverted output terminal Q of the flip-flop circuit FF10 corresponds to the control signal AIN. When an "H" level signal is input to the clock input terminal CK of the flip-flop circuit FF10 in the reset state, the flip-flop circuit FF10 outputs an "H" level non-inverted output signal from the non-inverted output terminal Q.
[0057] The inverter IV10 inverts the enable signal AENB and outputs it as the enable signal EA. The inverter IV11 inverts the input signal VIN1 and outputs it as the input signal VIN1BAR. The OR circuit OR10 performs a logical OR operation on the enable signal EA, the input signal VIN1BAR, and the output signal of the AND circuit AN12, and outputs the operation result. The OR circuit OR11 performs a logical OR operation on the output signal of the OR circuit OR10 and the reset signal RST, and outputs the operation result. The output signal of the OR circuit OR11 is input to the reset terminal R of the counter CT10. The OR circuit OR12 performs a logical OR operation on the enable signal AENB, the input signal VIN1BAR, and the reset signal RST, and outputs the operation result. The output signal of the OR circuit OR12 is input to the reset terminal R of the flip-flop circuit FF10.
[0058] The AIN generation circuit 41 described above is configured to reset the counter CT10 and the flip-flop circuit FF10 when the reset signal RST becomes the “H” level. When the input signal VIN1 transitions from the “L” level to the “H” level while the enable signal AENB is at the “H” level, the AIN generation circuit 41 transitions the control signal AIN from the “L” level to the “H” level after the dead time (hereinafter referred to as the “dead time DT1”) by the pair of the counter CT10 and the AND circuits AN11 and AN12 has elapsed. When the input signal VIN1 transitions from the “H” level to the “L” level while the enable signal AENB is at the “H” level, the output signal of the OR circuit OR12 becomes the “H” level, and the flip-flop circuit FF10 is reset. That is, when the input signal VIN1 transitions from the “H” level to the “L” level, the AIN generation circuit 41 immediately transitions the control signal AIN from the “H” level to the “L” level.
[0059] The AIN generating circuit 41 may have another circuit configuration as long as it can realize the above-described operation. The dead time DT1 can be easily changed by changing the connection between the AND circuits AN11 and AN12 and the counter CT10. If it is possible to form the dead time DT1, the pair of the counter CT10 and the AND circuits AN11 and AN12 does not need to be used. The counter CT10 may be an analog circuit. For example, the counter CT10 may be a delay circuit composed of a minute current source, an inverse Widlar circuit, a capacitance, etc.
[0060] (2: Circuit configuration of TONA generation circuit 42) Fig. 10 is a circuit diagram showing an example of a circuit configuration of the TONA generating circuit 42 in the integrated circuit 10 included in the semiconductor device 1 according to the first embodiment. As shown in Fig. 10, the TONA generating circuit 42 includes, for example, logical product (AND) circuits AN20 to AN24, logical sum (OR) circuits OR20 to OR23, an inverter IV20, a delay circuit DC20, a counter CT20, and a flip-flop circuit FF20. Although not shown, each of the AND circuits AN20 to AN24, the OR circuits OR20 to OR23, the inverter IV20, the delay circuit DC20, the counter CT20, and the flip-flop circuit FF20 is connected to a power supply node and a ground node, and operates based on a power supply voltage VCC1 applied to the power supply node.
[0061] The inverter IV20 inverts the control signal AIN and outputs it. The delay circuit DC20 delays the output signal of the inverter IV20 and outputs it. The AND circuit AN20 performs a logical AND operation on the control signal AIN and the output signal of the delay circuit DC20, and outputs the operation result. The set of the inverter IV20, the delay circuit DC20, and the AND circuit AN20 outputs a single pulse signal based on the control signal AIN becoming an "H" level.
[0062] The AND circuit AN21 performs a logical AND operation on the output signal of the AND circuit AN20 and the inverted output signal of the flip-flop circuit FF20, and outputs the operation result. The output signal of the AND circuit AN21 is input to the clock input terminal CK of the flip-flop circuit FF20. The data input terminal D of the flip-flop circuit FF20 is connected to the inverted output terminal QN of the flip-flop circuit FF20. The non-inverted output signal output from the non-inverted output terminal Q of the flip-flop circuit FF20 corresponds to the control signal TONA. When a pulse signal is input to the clock input terminal CK of the reset flip-flop circuit FF20, the flip-flop circuit FF20 outputs a non-inverted output signal of "H" level from the non-inverted output terminal Q.
[0063] The AND circuit AN22 performs a logical AND operation on the control signal AIN and the clock signal CLKA, and outputs the operation result as the clock signal CLKA1. The counter CT20 performs a count operation on the clock signal CLKA1 input to the clock input terminal CK, and outputs the count result from the output terminals Q0 to Q13. The AND circuit AN23 performs a logical AND operation on the output signals of the output terminals Q2, Q5, and Q7 of the counter CT20, and outputs the operation result. The AND circuit AN24 performs a logical AND operation on the output signal of the AND circuit AN23 and the output signals of the output terminals Q9 and Q10 of the counter CT20, and outputs the operation result.
[0064] The OR circuit OR20 performs a logical OR operation between the enable signal EA, the input signal VIN1BAR, and the output signal of the AND circuit AN24, and outputs the operation result. The OR circuit OR21 performs a logical OR operation between the output signal of the OR circuit OR20 and the reset signal RST, and outputs the operation result. The output signal of the OR circuit OR21 is input to the reset terminal R of the counter CT20. The OR circuit OR22 performs a logical OR operation between the enable signal EA, the input signal VIN1BAR, and the output signal of the AND circuit AN24, and outputs the operation result. The OR circuit OR23 performs a logical OR operation between the output signal of the OR circuit OR22 and the reset signal RST, and outputs the operation result. The output signal of the OR circuit OR23 is input to the reset terminal R of the flip-flop circuit FF20.
[0065] The TONA generating circuit 42 described above is configured to reset the counter CT20 and the flip-flop circuit FF20 when the reset signal RST becomes the “H” level. In addition, when the control signal AIN transitions from the “L” level to the “H” level while the enable signal EA is at the “L” level, i.e., while the enable signal AENB is at the “H” level, the TONA generating circuit 42 immediately transitions the control signal TONA from the “L” level to the “H” level. Then, when the dead time (hereinafter referred to as “dead time DT2”) by the pair of the counter CT20 and the AND circuits AN23 and AN24 has elapsed after the control signal AIN transitions to the “H” level, the output signal of the OR circuit OR23 becomes the “H” level, and the flip-flop circuit FF20 is reset. In other words, the TONA generating circuit 42 outputs the control signal TONA at the “H” level only during the dead time DT2 based on the transition of the control signal AIN from the “L” level to the “H” level.
[0066] The TONA generating circuit 42 may have another circuit configuration as long as it can realize the above-described operation. The dead time DT2 can be easily changed by changing the connection between the AND circuits AN23 and AN24 and the counter CT20. If it is possible to form the dead time DT2, the pair of the counter CT20 and the AND circuits AN23 and AN24 does not need to be used. The counter CT20 may be an analog circuit. For example, the counter CT20 may be a one-shot pulse generating circuit composed of a minute current source, an inverse Widlar circuit, a capacitor, a comparator, etc.
[0067] (3: Circuit configuration of BIN generation circuit 51) 11 is a circuit diagram showing an example of a circuit configuration of a BIN generation circuit 51 in the integrated circuit 10 included in the semiconductor device 1 according to the first embodiment. As shown in FIG. 11, the BIN generation circuit 51 includes, for example, logical product (AND) circuits AN30-AN34, logical sum (OR) circuits OR30-OR33, inverters IV30-IV37, a delay circuit DC30, a counter CT30, and a flip-flop circuit FF30. Although not shown, each of the AND circuits AN30-AN34, the OR circuits OR30-OR33, the inverters IV30-IV37, the delay circuit DC30, the counter CT30, and the flip-flop circuit FF30 is connected to a power supply node and a ground node, and operates based on a power supply voltage VCC1 applied to the power supply node.
[0068] The inverter IV30 inverts the control signal AIN and outputs it. The inverter IV31 inverts the input signal VIN1 and outputs it. The inverter IV32 inverts the output signal of the inverter IV31 and outputs it. The AND circuit AN30 performs a logical AND operation on the clock signal CLK, the output signal of the inverter IV30, and the output signal of the inverter IV31, and outputs the operation result as the clock signal CLKB. The counter CT30 performs a count operation of the clock signal CLKB input to the clock input terminal CK, and outputs the count result from the output terminals Q0 to Q13. The AND circuit AN31 performs a logical AND operation on the output signals of the output terminals Q5, Q6, and Q8 of the counter CT30, and outputs the operation result. The AND circuit AN32 performs a logical AND operation on the output signal of the AND circuit AN31 and the output signal of the output terminal Q11 of the counter CT30, and outputs the operation result.
[0069] The AND circuit AN33 performs a logical AND operation between the output signal of the AND circuit AN32 and the inverted output signal of the flip-flop circuit FF30, and outputs the operation result. The output signal of the AND circuit AN33 is input to the clock input terminal CK of the flip-flop circuit FF30. The data input terminal D of the flip-flop circuit FF30 is connected to the inverted output terminal QN of the flip-flop circuit FF30. The non-inverted output signal output from the non-inverted output terminal Q of the flip-flop circuit FF30 is output to the inverter IV33. When a signal of the "H" level is input to the clock input terminal CK of the reset flip-flop circuit FF30, the flip-flop circuit FF30 outputs a non-inverted output signal of the "H" level. The inverter IV33 inverts the non-inverted output signal of the flip-flop circuit FF30 and outputs it as the control signal BINb. The OR circuit OR30 performs a logical OR operation between the control signal BINb and the output signal of the inverter IV32, and outputs the operation result as the control signal BIN.
[0070] The inverter IV34 inverts the enable signal BENB and outputs it as the enable signal EB. The OR circuit OR31 performs a logical OR operation on the enable signal EB, the output signal of the inverter IV32, and the output signal of the AND circuit AN32, and outputs the operation result. The OR circuit OR32 performs a logical OR operation on the output signal of the OR circuit OR31 and the reset signal RST, and outputs the operation result. The output signal of the OR circuit OR32 is input to the reset terminal R of the counter CT30.
[0071] The inverter IV35 inverts the input signal VIN1 and outputs it as the input signal VIN1BAR. The level of the input signal VIN1 input to the inverter IV31 and the level of the input signal VIN1 input to the inverter IV35 may be different. The inverter IV36 inverts the input signal VIN1BAR and outputs it. The inverter IV37 inverts the output signal of the inverter IV36 and outputs it. The delay circuit DC30 delays and outputs the output signal of the inverter IV37. The AND circuit AN34 performs a logical AND operation on the output signal of the inverter IV36 and the output signal of the delay circuit DC30, and outputs the operation result. The set of the inverter IV37, the delay circuit DC30, and the AND circuit AN34 outputs one pulse signal based on the input signal VIN1 becoming the “H” level. The OR circuit OR33 performs a logical OR operation on the enable signal EB, the output signal of the AND circuit AN34, and the reset signal RST, and outputs the operation result. The output signal of the OR circuit OR33 is input to a reset terminal R of the flip-flop circuit FF30.
[0072] The BIN generation circuit 51 described above is configured so that when the reset signal RST becomes the “H” level, the counter CT30 and the flip-flop circuit FF30 are reset. When the input signal VIN1 transitions from the “L” level to the “H” level while the enable signal BENB is at the “H” level, the OR circuit OR33 inputs a single pulse signal to the flip-flop circuit FF30, and the flip-flop circuit FF30 is reset. As a result, the BIN generation circuit 51 immediately transitions the control signal BIN from the “L” level to the “H” level based on the transition of the input signal VIN1 from the “L” level to the “H” level. When the input signal VIN1 transitions from the “H” level to the “L” level while the enable signal BENB is at the “H” level, the counter CT30 starts counting the clock signal CLKB. Then, after the input signal VIN1 transitions to the “L” level and the dead time (hereinafter referred to as “dead time DT3”) formed by the pair of counter CT30 and AND circuits AN31 and AN32 has elapsed, the BIN generation circuit 51 transitions the control signal BIN from the “H” level to the “L” level.
[0073] The circuit configuration of the BIN generation circuit 51 may be other circuit configurations as long as the operation described above can be realized. The dead time DT3 can be easily changed by changing the connection between the AND circuits AN31 and AN32 and the counter CT30. If the dead time DT3 can be formed, the pair of the counter CT30 and the AND circuits AN31 and AN32 does not need to be used. The counter CT30 may be an analog circuit. For example, the counter CT30 may be a delay circuit configured with a minute current source, an inverse Widlar circuit, a capacitance, etc.
[0074] (4: Circuit configuration of TONB generation circuit 52) Fig. 12 is a circuit diagram showing an example of a circuit configuration of the TONB generating circuit 52 in the integrated circuit 10 included in the semiconductor device 1 according to the first embodiment. As shown in Fig. 12, the TONB generating circuit 52 includes, for example, logical product (AND) circuits AN40 to AN45, logical sum (OR) circuits OR40 to OR43, inverters IV40 to IV42, a delay circuit DC40, a counter CT40, and a flip-flop circuit FF40. Although not shown, each of the AND circuits AN40 to AN45, the OR circuits OR40 to OR43, the inverters IV40 to IV42, the delay circuit DC40, the counter CT40, and the flip-flop circuit FF40 is connected to a power supply node and a ground node, and operates based on the power supply voltage VCC1 applied to the power supply node.
[0075] The inverter IV40 inverts the input signal VIN1 and outputs it. The delay circuit DC40 delays the output signal of the inverter IV40 and outputs it. The inverter IV41 inverts the output signal of the delay circuit DC40 and outputs it. The AND circuit AN40 executes a logical AND operation between the input signal VIN1 and the output signal of the inverter IV41, and outputs the operation result. The set of the inverter IV40, the delay circuit DC40, the inverter IV41, and the AND circuit AN40 delays the input signal VIN1 at the “H” level and outputs it. For example, the control signal BIN output from the BIN generation circuit 51 and the control signal TONB output from the TONB generation circuit 52 are synchronized by the signal delay caused by the set of the inverter IV40, the delay circuit DC40, the inverter IV41, and the AND circuit AN40.
[0076] The AND circuit AN41 performs a logical AND operation on the output signal of the AND circuit AN40 and the inverted output signal of the flip-flop circuit FF40, and outputs the operation result. The output signal of the AND circuit AN41 is input to the clock input terminal CK of the flip-flop circuit FF40. The data input terminal D of the flip-flop circuit FF40 is connected to the inverted output terminal QN of the flip-flop circuit FF40. The non-inverted output signal output from the non-inverted output terminal Q of the flip-flop circuit FF40 corresponds to the control signal TONB. When an "H" level signal is input to the clock input terminal CK of the flip-flop circuit FF40 in the reset state, the flip-flop circuit FF40 outputs an "H" level non-inverted output signal.
[0077] The inverter IV42 inverts the enable signal EB and outputs it. The AND circuit AN42 performs a logical AND operation between the input signal VIN1, the control signal BINb, and the clock signal CLKB, and outputs the operation result. The AND circuit AN43 performs a logical AND operation between the output signal of the inverter IV42 and the output signal of the AND circuit AN42, and outputs the operation result as the clock signal CLKB1. The counter CT40 performs a count operation of the clock signal CLKB1 input to the clock input terminal CK, and outputs the count result from the output terminals Q0 to Q13. The AND circuit AN44 performs a logical AND operation between the output signals of the output terminals Q2, Q5, and Q7 of the counter CT40, and outputs the operation result. The AND circuit AN45 performs a logical AND operation between the output signal of the AND circuit AN44 and the output signals of the output terminals Q9 and Q10 of the counter CT40, and outputs the operation result.
[0078] The OR circuit OR40 performs a logical OR operation on the enable signal EB, the input signal VIN1BAR, and the output signal of the AND circuit AN45, and outputs the operation result. The OR circuit OR41 performs a logical OR operation on the output signal of the OR circuit OR40 and the reset signal RST, and outputs the operation result. The output signal of the OR circuit OR41 is input to the reset terminal R of the counter CT40. The OR circuit OR42 performs a logical OR operation on the enable signal EB, the input signal VIN1BAR, and the output signal of the AND circuit AN45, and outputs the operation result. The OR circuit OR43 performs a logical OR operation on the output signal of the OR circuit OR42 and the reset signal RST, and outputs the operation result. The output signal of the OR circuit OR43 is input to the reset terminal R of the flip-flop circuit FF40.
[0079] The TONB generating circuit 52 described above is configured to reset the counter CT40 and the flip-flop circuit FF40 when the reset signal RST becomes the “H” level. When the control signal BIN transitions from the “L” level to the “H” level while the enable signal EB is at the “L” level, the TONB generating circuit 52 transitions the control signal TONB from the “L” level to the “H” level in synchronization with the input signal VINB. Then, when the dead time (hereinafter referred to as “dead time DT4”) by the pair of the counter CT40 and the AND circuits AN44 and AN45 has elapsed after the control signal BIN transitions to the “H” level, the output signal of the OR circuit OR43 becomes the “H” level, and the flip-flop circuit FF40 is reset. In other words, the TONB generating circuit 52 outputs the control signal TONB at the “H” level only during the dead time DT4 based on the transition of the control signal BIN from the “L” level to the “H” level.
[0080] The circuit configuration of the TONB generating circuit 52 may be other circuit configurations as long as it is possible to realize the operation described above. The dead time DT4 can be easily changed by changing the connection between the AND circuits AN44 and AN45 and the counter CT40. If it is possible to form the dead time DT4, the pair of the counter CT40 and the AND circuits AN44 and AN45 does not need to be used. The counter CT40 may be composed of an analog circuit. For example, the counter CT40 may be a one-shot pulse generating circuit composed of a minute current source, an inverse Widlar circuit, a capacitance, a comparator, etc.
[0081] (5: Circuit configuration of LED drive circuit 60) Fig. 13 is a circuit diagram showing an example of a circuit configuration of an LED drive circuit 60 in the integrated circuit 10 included in the semiconductor device 1 according to the first embodiment. As shown in Fig. 13, the LED drive circuit 60 includes, for example, nodes IN1 to IN5 and OUT, inverters IV50 to IV54, a negative OR (NOR) circuit NR50, NMOS transistors NM50 to NM54, and a PMOS transistor PM50. Although not shown in the figure, the inverters IV50 to IV54 and the NOR circuit NR50 are connected to a power supply node and a ground node, respectively, and operate based on a power supply voltage VCC1 applied to the power supply node.
[0082] The node IN1 is connected to the gate terminal of the NMOS transistor NM50 via inverters IV50 and IV51. A control signal LEDON is input to the node IN1. The control signal LEDON corresponds to the control signal AIN in the case of the LED drive circuit 60A, and corresponds to the control signal BIN in the case of the LED drive circuit 60B.
[0083] The node IN2 is connected to the gate terminal of the NMOS transistor NM51 via inverters IV52 and IV53. A control signal RUSHON is input to the node IN2. The control signal RUSHON corresponds to the control signal TONA in the case of the LED drive circuit 60A, and corresponds to the control signal TONB in the case of the LED drive circuit 60B.
[0084] The drain terminal of the NMOS transistor NM50 is connected to a node IN3. The drain terminal of the NMOS transistor NM51 is connected to a node IN4. A current IL1 is supplied to the node IN3. A current IL2 is supplied to the node IN4. The source terminals of the NMOS transistors NM50 and NM51 are connected to a node IN5.
[0085] The gate and drain terminals of the NMOS transistor NM52 are connected to the node IN5. The source terminal of the NMOS transistor NM52 is connected to the ground node (GND). The gate terminal of the NMOS transistor NM53 is connected to the node IN5. The drain terminal of the NMOS transistor NM53 is connected to the node OUT. The source terminal of the NMOS transistor NM53 is connected to the ground node (GND). The NMOS transistors NM52 and NM53 form a current mirror circuit. The current mirror ratio of the NMOS transistors NM52 and NM53 is, for example, 1:100.
[0086] A first input terminal and a second input terminal of the NOR circuit NR50 are connected to the nodes IN1 and IN2, respectively. The NOR circuit NR50 executes a logical OR operation of the control signals LEDON and RUSHON, and outputs the operation result. The output terminal of the NOR circuit NR50 is connected to the gate terminal of the NMOS transistor NM54. The drain terminal of the NMOS transistor NM54 is connected to the node IN5. The source terminal of the NMOS transistor NM54 is connected to the ground node (GND). The NMOS transistor NM54 is used as a discharge path for the node IN5.
[0087] Furthermore, the output terminal of the NOR circuit NR50 is connected to the gate terminal of the PMOS transistor PM50 via an inverter IV54. A power supply voltage VCC1 is applied to the source terminal of the PMOS transistor PM50. The drain terminal of the PMOS transistor PM50 is connected to a node OUT. The node OUT is connected to a node CA. The node CA corresponds to a node CA_A (cathode of LED21) in the case of the LED drive circuit 60A, and corresponds to a node CA_B (cathode of LED31) in the case of the LED drive circuit 60B.
[0088] When the control signals LEDON and RUSHON are at the "L" level, the PMOS transistor PM50 and the NMOS transistor NM54 are turned on, and the NMOS transistors NM50 and NM51 are turned off. When the NMOS transistors NM50 and NM51 are turned off, neither the current IL1 nor the current IL2 is supplied to the node IN5. When the NMOS transistor NM54 is turned on, the node IN5 is discharged through the NMOS transistor NM54 and becomes the "L" level. Therefore, the NMOS transistors NM52 and NM53 are turned off. Then, the node OUT is charged through the PMOS transistor PM50, and the voltage of the node CA rises. As a result, the LED associated with the LED drive circuit 60 has a small voltage difference between the anode and the cathode, and is in a non-light-emitting state.
[0089] FIG. 14 is a circuit diagram showing a first example of the operating characteristics of the LED drive circuit 60 in the integrated circuit 10 included in the semiconductor device 1 according to the first embodiment. The first example corresponds to a case where the control signals LEDON and RUSHON are both at the “H” level in the LED drive circuit 60. As shown in FIG. 14, when the control signals LEDON and RUSHON are both at the “H” level, the NMOS transistors NM50 and NM51 are both turned on. In addition, the NOR circuit NR50 outputs a “L” level signal, so the NMOS transistor NM54 is turned off. In addition, the inverter IV54 outputs a “H” level signal, so the PMOS transistor PM50 is turned off.
[0090] When the NMOS transistors NM50 and NM51 are turned on, the node IN5 is charged by a current IL1 supplied via the NMOS transistor NM50 and a current IL2 supplied via the NMOS transistor NM51. Then, the sum of the currents IL1 and IL2, IL1+IL2, is amplified by a current mirror circuit formed by the NMOS transistors NM52 and NM53. Then, the current IL3 amplified by the current mirror circuit flows through the NMOS transistor NM53. This causes the node OUT to be discharged, and the voltage of the cathode of the associated LED drops. For example, the amount of the current IL3 corresponds to a value calculated by (IL1+IL2)×100 (where "100" is the current mirror ratio).
[0091] FIG. 15 is a circuit diagram showing a second example of the operating characteristics of the LED driving circuit 60 in the integrated circuit 10 included in the semiconductor device 1 according to the first embodiment. The second example corresponds to a case where the control signal RUSHON transitions from the “H” level to the “L” level in the LED driving circuit 60 after the state corresponding to the first example. As shown in FIG. 15, when the control signal LEDON is at the “H” level and the control signal RUSHON is at the “L” level, the NMOS transistor NM50 is turned on and the NMOS transistor NM51 is turned off. In addition, the NOR circuit NR50 outputs a signal at the “L” level, so the NMOS transistor NM54 is turned off. In addition, the inverter IV54 outputs a signal at the “H” level, so the PMOS transistor PM50 is turned off.
[0092] When the NMOS transistor NM50 is turned on and the NMOS transistor NM51 is turned off, the node IN5 is charged by the current IL1 supplied via the NMOS transistor NM50. Then, the current IL1 is amplified by a current mirror circuit formed by the NMOS transistors NM52 and NM53. Then, the current IL4 amplified by the current mirror circuit flows through the NMOS transistor NM53. This causes the node OUT to be discharged, and the voltage of the cathode of the associated LED is maintained at the "L" level. For example, the amount of the current IL4 corresponds to a value calculated by (IL1) x 100 (where "100" is the current mirror ratio). In the second example, the current IL2 is not amplified by the current mirror circuit, so the amount of current discharging the node OUT is smaller than in the first example.
[0093] The LED drive circuit 60 may have another circuit configuration as long as it can realize the operation described above. The LED test circuit 17 is configured to be able to input a current based on the current IL3 or IL4 to the terminal T3, for example. The current flowing through the LEDs 21 and / or 31 based on the control signal RUSHON may be determined based on the difference between the current IL3 and the current IL4. The TONA generation circuit 42 and the TONB generation circuit 52 that generate a control signal corresponding to the control signal RUSHON may be called an "LED current amplification (addition) circuit" and a "current amplification (addition) circuit", respectively. This current amplification (addition) circuit is configured to amplify (add) the current flowing through the LEDs 21 or 31 for a predetermined time from the rising edge of the control signal AIN or BIN.
[0094] <1-1-5> Configuration of ASW control unit 20 16 is a circuit diagram showing an example of a circuit configuration of the light receiving unit 22 and the VGS control circuit 23 included in the ASW control unit 20 of the semiconductor device 1 according to the first embodiment. As shown in FIG. 16, the light receiving unit 22 includes, for example, photodiode arrays 22a, 22b, and 22c, and photodiodes PD1 and PD2. Each of the photodiode arrays 22a, 22b, and 22c includes photodiodes connected in series. The VGS control circuit 23 includes, for example, nodes ND1 to ND5, AGND1 and AGND2, diodes DI, Zener diodes ZD1 and ZD2, resistor elements R60 to R63, a depletion NMOS transistor NM60, NPN transistors NPN1 to NPN3, and a current adjustment circuit 24. The depletion NMOS transistor NM60 is a depletion type NMOS transistor.
[0095] The anode side end of the photodiode array 22a is connected to a node ND1. The cathode side end of the photodiode array 22a is connected to a node AGND1. The photodiode array 22a generates a current based on light irradiation and generates a potential difference between the nodes ND1 and AGND1. The anode side end of the photodiode array 22b is connected to a node AGND1. The cathode side end of the photodiode array 22b is connected to a node ND2. The photodiode array 22b generates a current based on light irradiation and generates a potential difference between the nodes AGND1 and ND2. The anode side end of the photodiode array 22c is connected to a node ND3. The cathode side end of the photodiode array 22c is connected to a node ND1. The photodiode array 22c generates a current based on light irradiation and generates a potential difference between the nodes ND3 and ND1.
[0096] The anode of the photodiode PD1 is connected to the node ND1. The cathode of the photodiode PD1 is connected to the node ND4. The anode of the photodiode PD2 is connected to the node ND3. The cathode of the photodiode PD2 is connected to the node ND4. Hereinafter, the current flowing through the node ND1 is called "I1", the current flowing through the node ND2 is called "I2", and the current flowing through the node ND3 is called "I3". The current I1 that has flowed through the photodiode PD1 and the current I3 that has flowed through the photodiode PD2 flow into the node ND4.
[0097] The current adjustment circuit 24 operates based on the voltage generated by the light receiving unit 22. The current adjustment circuit 24 is connected to each of the nodes ND1 to ND3 and AGND1 of the VGS control circuit 23. A current I2 is input to the current adjustment circuit 24 via a node ND2. The current adjustment circuit 24 includes, for example, a current source that controls the current flowing through each of the nodes ND1 to ND3. The currents I1 to I3 of the current adjustment circuit 24 are proportional to the light receiving surface illuminance and light receiving area of the light receiving unit 22 of the light irradiated based on the LED current flowing through the LED 21. Therefore, by controlling the LED current of the LED 21, each of the currents I1 to I3 is adjusted to a magnitude appropriate for driving the A-type switch ASW.
[0098] The resistor element R60 is connected between the node ND2 and AGND1. The resistor element R61 is connected between the node ND2 and the gate terminal of the depletion NMOS transistor NM60. The drain terminal of the depletion NMOS transistor NM60 is connected to the node ND4. The source terminal of the depletion NMOS transistor NM60 is connected to the node AGND1. The base terminal of the NPN transistor NPN1 is connected to the node AGND1 and the source terminal of the depletion NMOS transistor NM60. The collector terminal of the NPN transistor NPN1 is connected to the node ND4. The emitter terminal of the NPN transistor NPN1 is connected to the node AGND2. The pair of the depletion NMOS transistor NM60 and the NPN transistor NPN1 is Darlington-connected. The pair of the depletion NMOS transistor NM60 and the NPN transistor NPN1 is used as a discharge path from the node ND4 to the nodes AGND1 and AGND2. The pair of the depletion NMOS transistor NM60 and the NPN transistor NPN1 may be called a "Darlington transistor."
[0099] The anode of the diode DI is connected to the node AGND2. The cathode of the diode DI is connected to the node AGND1. The anode of the Zener diode ZD1 is connected to the anode of the Zener diode ZD2. The cathode of the Zener diode ZD1 is connected to the node ND4. The cathode of the Zener diode ZD2 is connected to the node AGND2. The pair of the Zener diodes ZD1 and ZD2 functions as a protection circuit for the VGS control circuit 23.
[0100] The base terminal and collector terminal of the NPN transistor NPN2 are connected to the node ND4. The emitter terminal of the NPN transistor NPN2 is connected to one terminal of the resistor element R62. The other terminal of the resistor element R62 is connected to the node ND5. The NPN transistor NPN2 is diode-connected between the nodes ND4 and ND5, and has a rectification characteristic in the direction from the node ND4 to the node ND5. The set of the NPN transistor NPN2 and the resistor element R62 corresponds to the charging path of the node ND5.
[0101] The emitter terminal of the NPN transistor NPN3 is connected to the node ND4. The base terminal and the collector terminal of the NPN transistor NPN3 are connected to one terminal of the resistor element R63. The other terminal of the resistor element R63 is connected to the node ND5. The NPN transistor NPN3 is diode-connected between the nodes ND4 and ND5, and has a rectification characteristic in the direction from the node ND5 to the node ND4. The set of the NPN transistor NPN3 and the resistor element R63 corresponds to the discharge path of the node ND5.
[0102] The node AGND2 is connected to the node NS_A. That is, the voltage of the node AGND2 is applied to the source terminals of the NMOS transistors ENM1 and ENM2 included in the A-type switch ASW. The node ND5 of the VGS control circuit 23 is connected to the node NG_A. That is, the voltage of the node ND5 of the VGS control circuit 23 is applied to the gate terminals of the NMOS transistors ENM1 and ENM2 included in the A-type switch ASW.
[0103] When the light receiving section 22 is not irradiated with light from the LED 21, no voltage is applied to the gate terminal of the depletion NMOS transistor NM60, so that the depletion NMOS transistor NM60 is turned on. As a result, the node ND4 is discharged via the pair of the depletion NMOS transistor NM60 and the NPN transistor NPN1 (i.e., Darlington transistors). Also, the node ND5 (i.e., node NG_A) is discharged via the NPN transistor NPN3 at a speed based on the resistance value of the resistor element R63 and the input capacitance of the NMOS transistors ENM1 and ENM2 included in the A-type switch ASW.
[0104] When the light receiving unit 22 is irradiated with light from the LED 21, a negative voltage is applied to the gate terminal of the depletion NMOS transistor NM60 by the photodiode array 22b, so that the depletion NMOS transistor NM60 is turned off. As a result, the discharge path by the pair of the depletion NMOS transistor NM60 and the NPN transistor NPN1 (i.e., the Darlington transistor) is cut off. In addition, the currents I1 and I2 generated by the light receiving unit 22 are supplied to the node ND4, and the voltage of the node ND4 rises. Then, the node ND5 (i.e., the node NG_A) is charged via the NPN transistor NPN2 at a speed based on the resistance value of the resistor element R62 and the input capacitance of the NMOS transistors ENM1 and ENM2 included in the A-type switch ASW. This allows the VGS control circuit 23 to apply a positive voltage to each of the gate terminals of the NMOS transistors ENM1 and ENM2. In other words, the VGS control circuit 23 can generate a positive potential difference between the gate and source of each of the NMOS transistors ENM1 and ENM2.
[0105] The resistance value of the resistor element R62 is designed to be higher than the resistance value of the resistor element R63. The resistance value of the resistor element R62 is, for example, 1 kiloohm. The resistance value of the resistor element R63 is, for example, 100 ohms. Therefore, the discharge speed of the node NG_A, that is, the discharge speed from the node ND5 to the node ND4, is faster than the charge speed of the node NG_A, that is, the charge speed from the node ND4 to the node ND5. In this way, the ASW control unit 20 is configured so that the transition of the A type switch ASW from the off state to the on state is slowed down, and the transition of the A type switch ASW from the on state to the off state is quickened. The circuit configuration of the ASW control unit 20 may be other circuit configurations as long as it is possible to realize the operation described above.
[0106] <1-1-6> Configuration of BSW control unit 30 17 is a circuit diagram showing an example of a circuit configuration of the light receiving unit 32 and the VGS control circuit 33 included in the BSW control unit 30 of the semiconductor device 1 according to the first embodiment. As shown in FIG. 17, the light receiving unit 32 includes, for example, photodiode arrays 32a, 32b, and 32c, and photodiodes PD1 and PD2. The VGS control circuit 33 includes, for example, nodes ND1 to ND5, BGND1 and BGND2, diodes DI, Zener diodes ZD1 and ZD2, resistor elements R60, R61, R64, and R65, a depletion NMOS transistor NM60, NPN transistors NPN1 to NPN3, and a current adjustment circuit 34.
[0107] The connections of the components of the light receiving unit 32 are similar to those of the light receiving unit 22, except that the photodiode arrays 22a, 22b, and 22c are replaced with photodiode arrays 32a, 32b, and 32c, respectively, and the node AGND1 is replaced with a node BGND1. The connections of the components of the VGS control circuit 33 are similar to those of the VGS control circuit 23, except that the nodes AGND1 and AGND2 are replaced with nodes BGND1 and BGND2, respectively, and the resistor elements R62 and R63 are replaced with resistor elements R64 and R65, respectively. A pair of a depletion NMOS transistor NM60 and an NPN transistor NPN1 (i.e., a Darlington transistor) of the VGS control circuit 33 is used as a discharge path from the node ND4 to the nodes BGND1 and BGND2. A pair of Zener diodes ZD1 and ZD2 of the VGS control circuit 33 functions as a protection circuit for the VGS control circuit 33.
[0108] The current adjustment circuit 34 operates based on the voltage generated by the light receiving unit 32. The current adjustment circuit 34 is connected to each of the nodes ND1 to ND3 and BGND1 of the VGS control circuit 33. A current I2 is input to the current adjustment circuit 34 via a node ND2. The current adjustment circuit 34 includes, for example, a current source that controls the current flowing through each of the nodes ND1 to ND3. The currents I1 to I3 of the current adjustment circuit 34 are proportional to the light receiving surface illuminance and light receiving area of the light receiving unit 32 of the light irradiated based on the LED current of the LED 31. Therefore, by controlling the LED current of the LED 31, each of the currents I1 to I3 is adjusted to a magnitude appropriate for driving the B-type switch BSW.
[0109] The node BGND2 is connected to the node NG_B. That is, the voltage of the node BGND2 is applied to the gate terminals of the NMOS transistors DNM1 and DNM2 included in the B-type switch BSW. The node ND5 of the VGS control circuit 33 is connected to the node NS_B. That is, the voltage of the node ND5 of the VGS control circuit 33 is applied to the source terminals of the NMOS transistors DNM1 and DNM2 included in the B-type switch BSW.
[0110] When the light receiving section 32 is not irradiated with light from the LED 31, no voltage is applied to the gate terminal of the depletion NMOS transistor NM60, so that the depletion NMOS transistor NM60 is turned on. Therefore, the node ND4 is discharged via the pair of the depletion NMOS transistor NM60 and the NPN transistor NPN1 (i.e., Darlington transistors). In addition, the node ND5 (i.e., node NS_B) is discharged via the NPN transistor NPN3 at a speed based on the resistance value of the resistor element R65 and the input capacitance of the NMOS transistors DNM1 and DNM2 included in the B-type switch BSW.
[0111] When the light receiving unit 32 is irradiated with light from the LED 31, a negative voltage is applied to the gate terminal of the depletion NMOS transistor NM60 by the photodiode array 22b, so that the depletion NMOS transistor NM60 is turned off. As a result, the discharge path by the pair of the depletion NMOS transistor NM60 and the NPN transistor NPN1 (i.e., the Darlington transistor) is cut off. In addition, the currents I1 and I3 generated by the light receiving unit 32 are supplied to the node ND4, and the voltage of the node ND4 rises. Then, the node ND5 (i.e., the node NS_B) is charged via the NPN transistor NPN2 at a speed based on the resistance value of the resistor element R64 and the input capacitance of the NMOS transistors DNM1 and DNM2 included in the B-type switch BSW. This allows the VGS control circuit 33 to apply a positive voltage to each of the source terminals of the NMOS transistors DNM1 and DNM2. In other words, the VGS control circuit 33 can generate a negative potential difference between the gate and source of each of the NMOS transistors DNM1 and DNM2.
[0112] The resistance value of the resistor element R64 is designed to be lower than the resistance value of the resistor element R65. The resistance value of the resistor element R64 is, for example, 100 ohms. The resistance value of the resistor element R65 is, for example, 1 kiloohm. Therefore, the discharge speed of the node NS_B, i.e., the discharge speed from the node ND5 to the node ND4, is slower than the charge speed of the node NS_B, i.e., the charge speed from the node ND4 to the node ND5. In this way, the BSW control unit 30 is configured to slow down the transition of the B type switch BSW from the off state to the on state and to speed up the transition of the B type switch BSW from the on state to the off state. The circuit configuration of the BSW control unit 30 may be other circuit configurations as long as it is possible to realize the operation described above.
[0113] <1-2> Operation Next, the operation of the semiconductor device 1 according to the first embodiment will be described.
[0114] <1-2-1> Operation based on power supply voltage VCC Fig. 18 is a time chart showing an example of an operation based on the power supply voltage VCC in the semiconductor device 1 according to the first embodiment. Fig. 18 shows the changes in the voltage of each of the power supply voltage VCC and the input signal VIN input to the semiconductor device 1. Hereinafter, an example of an operation based on the power supply voltage VCC in the semiconductor device 1 will be described with reference to Fig. 18.
[0115] When the power supply voltage VCC is at the "L" level, the input signal VIN is usually at the "L" level. When the power supply voltage VCC transitions from the "L" level to the "H" level, the power supply of the semiconductor device 1 is turned on (power on). In addition, when the power supply voltage VCC and the input signal VIN rise more slowly than the dead time DT1, the enable control circuit 14 can prevent the A type switch ASW and the B type switch BSW from being turned on simultaneously by shifting the timing at which the ASW control circuit ACNT and the BSW control circuit BCNT are enabled.
[0116] When the power supply of the semiconductor device 1 is turned on, the input signal VIN is controlled to the "H" level or "L" level by an external device. In this example, the input signal VIN is fixed to the "H" level after the power supply voltage VCC becomes the "H" level. Then, when the power supply voltage VCC transitions from the "H" level to the "L" level, the power supply of the semiconductor device 1 is turned off (power off). Furthermore, as the power supply voltage VCC drops, the input signal VIN also drops.
[0117] When the power supply voltage VCC drops to a voltage that cannot drive the LEDs 21 and 31, the LEDs 21 and 31 enter a non-emitting state. At this time, the gate voltages of the NMOS transistors ENM1 and ENM2 are discharged via the VGS control circuit 23, and drop at a rate based on the resistance value of the resistor R63. Similarly, the gate voltages of the NMOS transistors DNM1 and DNM2 are discharged via the VGS control circuit 33, and drop at a rate based on the resistance value of the resistor R65.
[0118] In this example, the VGS control circuit 23 is configured to turn off the NMOS transistors ENM1 and ENM2 earlier, and the VGS control circuit 33 is configured to turn on the NMOS transistors DNM1 and DM2 later. Therefore, in this example, the NMOS transistors DNM1 and DNM2 can turn on after the NMOS transistors ENM1 and ENM2 turn off. Therefore, in the semiconductor device 1 according to the first embodiment, the A-type switch ASW and the B-type switch BSW can be prevented from being turned on simultaneously when the power is off.
[0119] <1-2-2> Operation when VCC momentary power outage occurs Fig. 19 is a time chart showing an example of the operation when a VCC momentary power outage occurs in the semiconductor device 1 according to the first embodiment. Fig. 19 shows the changes in the voltage of each of the power supply voltage VCC and the input signal VIN input to the semiconductor device 1. Hereinafter, with reference to Fig. 19, an example of the operation when a VCC momentary power outage occurs in the semiconductor device 1 will be described.
[0120] When the power supply voltage VCC transitions from the "L" level to the "H" level, the power supply of the semiconductor device 1 is turned on (power on), as in the description of FIG. 18. In this example, the input signal VIN is periodically controlled between the "H" level and the "L" level. Then, when the input signal VIN is at the "H" level, the power supply voltage VCC transitions from the "H" level to the "L" level due to an abnormality (VCC momentary power outage). In this way, even if the power supply voltage VCC is at the "L" level, the input signal VIN may be temporarily maintained at the "H" level.
[0121] Even in such a case, when the power supply voltage VCC drops to a voltage that cannot drive the LEDs 21 and 31, the LEDs 21 and 31 are put into a non-light emitting state. The gate voltages of the NMOS transistors ENM1 and ENM2 are discharged via the VGS control circuit 23, and drop at a rate based on the resistance value of the resistor R63. Similarly, the gate voltages of the NMOS transistors ENM1 and ENM2 are discharged via the VGS control circuit 33, and drop at a rate based on the resistance value of the resistor R65. Therefore, in the semiconductor device 1 according to the first embodiment, the A-type switch ASW and the B-type switch BSW can be prevented from being turned on simultaneously even during a VCC momentary power outage.
[0122] <1-2-3> Operation of A type switch ASW and B type switch BSW FIG. 20 is a time chart showing an example of the operation of the A-type switch ASW and the B-type switch BSW when the semiconductor device 1 according to the first embodiment is powered on. FIG. 20 shows the voltage changes of the input signal VIN and the control signals AIN, TONA, BIN, and TONB, and the states of the A-type switch ASW and the B-type switch BSW. Hereinafter, with reference to FIG. 20, an example of the operation of the A-type switch ASW and the B-type switch BSW when the semiconductor device 1 according to the first embodiment is powered on will be described. In this example, the dead times DT1 and DT4 are set to the same time. However, the times of the dead times DT1 and DT4 can be appropriately changed by a wiring forming means of a semiconductor process.
[0123] In the initial state of this example, the input signal VIN and the control signals AIN, TONA, BIN and TONB are all at the "L" level, the A-type switch ASW is in the OFF state, and the B-type switch BSW is in the ON state.
[0124] At time t1, when the input signal VIN transitions from the "L" level to the "H" level, the control signals BIN and TONB transition from the "L" level to the "H" level. Then, the LED drive circuit 60B uses the currents IL1 and IL2 to cause the amplified current IL3 to flow to the LED 31. Specifically, the LED current (IL3) flows from the terminal T1 (VCC) through the anode and cathode of the LED 31 to the NMOS transistor NM53 (constant current switch) of the LED drive circuit 60B. This causes the LED 31 to emit light quickly. As a result, the VGS control circuit 33 applies a reverse bias between the gate and source of the NMOS transistors DNM1 and DNM2, and the B-type switch BSW is turned off. In addition, as the input signal VIN transitions from the "L" level to the "H" level, the counter CT10 of the AIN generation circuit 41 and the counter CT40 of the TONB generation circuit each start counting the input clock signal. In this example, time t2 corresponds to the time when dead time DT1 based on the count result of counter CT10 has elapsed from time t1, and the time when dead time DT4 based on the count result of counter CT40 has elapsed from time t1.
[0125] At time t2, the control signals AIN and TONA each transition from the “L” level to the “H” level based on the fact that the dead time DT1 has elapsed since time t1. Then, the LED drive circuit 60A uses the currents IL1 and IL2 to cause the amplified current IL3 to flow through the LED 21. Specifically, the LED current (IL3) flows from the terminal T1 (VCC) through the anode and cathode of the LED 21 to the NMOS transistor NM53 (constant current switch) of the LED drive circuit 60A. This causes the LED 21 to emit light promptly. As a result, a forward bias is applied between the gates and sources of the NMOS transistors ENM1 and ENM2 by the VGS control circuit 23, and the A-type switch ASW is turned on. In addition, as the control signal AIN transitions from the “L” level to the “H” level, the counter CT20 of the TONA generation circuit 42 starts counting the input clock signal. In this example, the time t3 corresponds to the time when the dead time DT2 based on the count result of the counter CT20 has elapsed from time t2. Furthermore, at time t2, the control signal TONB transitions from the "H" level to the "L" level based on the fact that the dead time DT4 has elapsed from time t1. Then, the LED drive circuit 60B uses the current IL1 to cause the amplified current IL4 to flow to the LED 31. Specifically, the LED current (IL4) flows from the terminal T1 (VCC) through the anode and cathode of the LED 31 to the NMOS transistor NM53 (constant current switch) of the LED drive circuit 60B. This maintains the emission of light from the LED 31. Therefore, the B-type switch BSW maintains the off state even after time t2.
[0126] At time t3, the control signal TONA transitions from the "H" level to the "L" level based on the fact that the dead time DT2 has elapsed since time t2. Then, the LED drive circuit 60A uses the current IL1 to cause the amplified current IL4 to flow through the LED 21. Specifically, the LED current (IL4) flows from the terminal T1 (VCC) through the anode and cathode of the LED 21 to the NMOS transistor NM53 (constant current switch) of the LED drive circuit 60A. This maintains the emission of light from the LED 21. Therefore, the A-type switch ASW maintains the on state even after time t3.
[0127] At time t4, when the input signal VIN transitions from the “H” level to the “L” level, the control signal AIN transitions from the “H” level to the “L” level. Then, the LED drive circuit 60A stops the supply of current to the LED 21, causing the LED 21 to stop emitting light. As a result, the VGS control circuit 23 discharges the gate terminals of the NMOS transistors ENM1 and ENM2, and the A-type switch ASW is turned off. Also, at time t4, when the input signal VIN and the control signal AIN transition from the “H” level to the “L” level, the counter CT30 of the BIN generation circuit 51 starts counting the input clock signal. In this example, the time when the dead time DT3 based on the count result of the counter CT30 has elapsed from time t4 corresponds to time t5.
[0128] At time t5, the control signal BIN transitions from the “H” level to the “L” level based on the fact that the dead time DT3 has elapsed since time t4. Then, the LED drive circuit 60B stops the supply of current to the LED 31, causing the LED 31 to stop emitting light. As a result, the VGS control circuit 33 discharges the source terminals of the NMOS transistors DNM1 and DNM2, and the B-type switch BSW is turned on.
[0129] The operation of the semiconductor device 1 at time t6 is similar to the operation of the semiconductor device 1 at time t1. After that, the semiconductor device 1 executes the operations described at times t1 to t5 in response to the change in the input signal VIN.
[0130] As described above, in the semiconductor device 1, the ASW control circuit ACNT is configured to make the LED 21 emit light after the dead time DT1 has elapsed since the input signal VIN transitioned from the “L” level to the “H” level, and to stop the emission of the LED 21 before the dead time DT3 has elapsed since the input signal VIN transitioned from the “H” level to the “L” level. Furthermore, the ASW control circuit ACNT is configured to make the LED 21 emit light based on the total current of the currents IL1 and IL2 from the time when the input signal VIN transitioned from the “L” level to the “H” level and the dead time DT1 has elapsed until the dead time DT2 has elapsed, and to make the LED 21 emit light based on the current IL1 after the dead time DT2 has elapsed. Furthermore, the BSW control circuit BCNT is configured to make the LED 31 emit light before the dead time DT1 has elapsed since the input signal VIN transitioned from the “L” level to the “H” level, and to stop the emission of the LED 31 after the dead time DT3 has elapsed since the input signal VIN transitioned from the “H” level to the “L” level. Furthermore, the BSW control circuit BCNT is configured to cause the LED31 to emit light based on the sum of the currents IL1 and IL2 from when the input signal VIN transitions from the “L” level to the “H” level until the dead time DT4 has elapsed, and to cause the LED31 to emit light based on the current IL1 after the dead time DT4 has elapsed.
[0131] The four dead times DT1 to DT4 are parameters determined by independent counters CT. Therefore, each of the dead times DT1 to DT4 can be easily changed by modifying the circuit configurations of the driver circuits 40 and 50.
[0132] FIG. 21 is a time chart showing an example of a change in the gate-source voltage when the semiconductor device 1 according to the first embodiment is powered on. FIG. 21 shows changes in the input signal VIN, the control signals AIN and BIN, the gate-source voltage VGS_A of the NMOS transistors ENM1 and ENM2, and the gate-source voltage VGS_B of the NMOS transistors DNM1 and DNM2. Times t1, t2, t4, and t5 in FIG. 21 correspond to times t1, t2, t4, and t5 in FIG. 20, respectively. That is, at times t1, t2, t4, and t5 in FIG. 21, the operation of the semiconductor device 1 described in FIG. 20 is performed. Hereinafter, an example of a change in the source-gate voltage when the semiconductor device 1 according to the first embodiment is powered on will be described with reference to FIG. 21.
[0133] In the initial state of this example, the gate-source voltage VGS_A of the NMOS transistors ENM1 and ENM2 and the gate-source voltage VGS_B of the NMOS transistors DNM1 and DNM2 are VL, which is based on the voltage of the node AGND2 or BGND2, and is, for example, 0 V.
[0134] At time t1, when the input signal VIN and the control signal BIN each transition from the “L” level to the “H” level, the LED 31 emits light. Then, the VGS control circuit 33 charges the node NS_B using the current (photocurrent) generated by the light receiving unit 32. Hereinafter, the slope indicating the charging speed of the node NS_B is called “S1”. The slope S1 is determined based on, for example, the resistance value of the resistor element R64 of the VGS control circuit 33 and the input capacitance of the NMOS transistors DNM1 and DNM2. By charging the node NS_B, the gate-source voltage VGS_B of the NMOS transistors DNM1 and DNM2 drops to VGSM. VGSM is a negative voltage, which is lower than the respective threshold voltages of the NMOS transistors DNM1 and DNM2. Therefore, the B-type switch BSW is turned off because VGS_B falls below the threshold voltages of the NMOS transistors DNM1 and DNM2 after time t1.
[0135] At time t2, when the control signal AIN transitions from the “L” level to the “H” level, the LED 21 emits light. Then, the VGS control circuit 23 charges the node NG_A using the current (photocurrent) generated by the light receiving unit 22. Hereinafter, the slope indicating the charging speed of the node NG_A is called “S2”. The slope S2 is determined based on, for example, the resistance value of the resistor element R62 of the VGS control circuit 23 and the input capacitance of the NMOS transistors ENM1 and ENM2. By charging the node NG_A, the gate-source voltage VGS_A of the NMOS transistors ENM1 and ENM2 rises to VGSP. VGSP is a positive voltage and is a voltage equal to or higher than the threshold voltages of the NMOS transistors ENM1 and ENM2. Therefore, the A-type switch ASW is turned on because VGS_A becomes equal to or higher than the threshold voltages of the NMOS transistors ENM1 and ENM2 after time t2. That is, the period between the fall time of VGSM based on S1 and the rise time of VGSP based on S2 corresponds to the period during which the A type switch ASW and the B type switch BSW are not on at the same time, i.e., the period during which both are off.
[0136] At time t4, when the input signal VIN and the control signal AIN each transition from the “H” level to the “L” level, the LED 21 stops emitting light. Then, the VGS control circuit 23 discharges the node NG_A using the Darlington-connected depletion NMOS transistor NM60 and NPN transistor NPN1. Hereinafter, the slope indicating the discharge speed of the node NG_A is called “S3”. The slope S3 is determined, for example, based on the resistance value of the resistor element R63 of the VGS control circuit 23 and the input capacitance of the NMOS transistors ENM1 and ENM2. By discharging the node NG_A, the gate-source voltage VGS_A of the NMOS transistors ENM1 and ENM2 drops to VL. Therefore, the A-type switch ASW is turned off after time t4 because VGS_A falls below the threshold voltage of the NMOS transistors ENM1 and ENM2.
[0137] At time t5, when the control signal BIN transitions from the “H” level to the “L” level, the LED 31 stops emitting light. Then, the VGS control circuit 33 discharges the node NS_B using the Darlington-connected depletion NMOS transistor NM60 and NPN transistor NPN1. Hereinafter, the slope indicating the discharge speed of the node NS_B is called “S4”. The slope S4 is determined based on, for example, the resistance value of the resistor element R65 of the VGS control circuit 33 and the input capacitance of the NMOS transistors DNM1 and DNM2. By discharging the node NS_B, the gate-source voltage VGS_B of the NMOS transistors DNM1 and DNM2 rises to VL. Therefore, the B-type switch BSW is turned on because VGS_B becomes equal to or higher than the threshold voltage of the NMOS transistors DNM1 and DNM2 after time t5. That is, the period between the fall time of VGSP based on S3 and the rise time of VGSM based on S4 corresponds to the period during which the A type switch ASW and the B type switch BSW are not on at the same time, i.e., the period during which both are off.
[0138] In the semiconductor device 1, the resistance elements R62 and R63 of the VGS control circuit 23 and the resistance elements R64 and R65 of the VGS control circuit 33 are set to resistance values that compensate for the difference in gate capacitance between the A-type switch ASW and the B-type switch BSW. As a result, in the A-type switch ASW, the transition from the OFF state to the ON state is slowed down as shown by the slope S2, and the transition from the ON state to the OFF state is quickened as shown by the slope S3. Similarly, in the B-type switch BSW, the transition from the ON state to the OFF state is quickened as shown by the slope S1, and the transition from the OFF state to the ON state is slowed down as shown by the slope S4.
[0139] The slope S1 is preferably designed so that the gate-source voltage VGS_B of the NMOS transistors DNM1 and DNM2 drops from VL to VGSM within the dead time DT1. Similarly, the slope S3 is preferably designed so that the gate-source voltage VGS_A of the NMOS transistors ENM1 and ENM2 drops from VGSP to VL within the dead time DT3. However, the slopes S1 to S4 are not limited to this and each of them may be designed at least to suppress the A-type switch ASW and the B-type switch BSW from being turned on simultaneously.
[0140] <1-3> Effects of the first embodiment According to the semiconductor device 1 of the first embodiment described above, it is possible to prevent two switch elements (the A-type switch ASW and the B-type switch BSW) from being turned on simultaneously. Hereinafter, the effects of the first embodiment will be described in detail.
[0141] It is preferable that the photorelay configured to electrically switch the A-type switch ASW and the B-type switch BSW on and off has a short on-off delay time. However, if the on-off response of the A-type switch ASW and the B-type switch BSW is made faster, there is a risk that a period will occur in which the two switch elements are on at the same time.
[0142] Therefore, the semiconductor device 1 according to the first embodiment provides two delay times (dead times DT1 and DT3) for each of the edges of the waveform when the input signal VIN transitions from the "L" level to the "H" level and the edges of the waveform when the input signal VIN transitions from the "H" level to the "L" level. Specifically, when the semiconductor device 1 detects an edge of the waveform when the input signal VIN transitions from the "L" level to the "H" level, it delays the timing of turning on the A-type switch ASW by the dead time DT1. In addition, when the semiconductor device 1 detects an edge of the waveform when the input signal VIN transitions from the "H" level to the "L" level, it delays the timing of turning off the B-type switch BSW by the dead time DT3.
[0143] As a result, when the input signal VIN transitions from the "L" level to the "H" level, the semiconductor device 1 can turn off the B type switch BSW before the A type switch ASW is turned on. Similarly, when the input signal VIN transitions from the "H" level to the "L" level, the semiconductor device 1 can turn off the A type switch ASW before the B type switch BSW is turned on. Therefore, the semiconductor device 1 can prevent the A type switch ASW and the B type switch BSW from being turned on at the same time.
[0144] On the other hand, setting the dead times DT1 and DT3 to prevent the A type switch ASW and the B type switch BSW from being turned on simultaneously can be a factor in slowing down the switching operation. That is, there is a trade-off between the setting of the dead times DT1 and DT3 and the speed of the switching operation. Therefore, the semiconductor device 1 provides a delay time (dead time DT2) for controlling the control signal TONA for turning on the A type switch ASW at high speed, and a delay time (dead time DT4) for controlling the control signal TONB for turning off the B type switch BSW at high speed. The single pulse signal of the control signal TONA generated based on the dead time DT2 can advance the start of light emission of the LED 21. Similarly, the single pulse signal of the control signal TONB generated based on the dead time DT4 can advance the start of light emission of the LED 31. Therefore, the semiconductor device 1 according to the first embodiment can achieve faster switching by the control signals TONA and TONB than when the LEDs 21 and 31 are driven by only the control signals AIN and BIN. That is, the operation using the control signals TONA and TONB can reduce the delay in the switching operation caused by providing the dead times DT1 and DT3. That is, the semiconductor device 1 according to the first embodiment can solve the trade-off problem regarding the speed of the switching operation by combining the setting of the dead times DT1 and DT3 with the use of the control signals TONA and TONB.
[0145] Moreover, the semiconductor device 1 has a configuration that operates the secondary circuit of the photorelay in a solar cell mode. In this case, the on-time of the A type switch ASW and the off-time of the B type switch BSW can each be shortened by controlling the LED current of the primary circuit. On the other hand, the off-time of the A type switch ASW and the on-time of the B type switch BSW are each determined based on the characteristics of the discharge circuit of the off circuit included in the secondary circuit. Therefore, in the semiconductor device 1, as the off circuit, each of the VGS control circuits 23 and 33 has a depletion NMOS transistor NM60 and an NPN transistor NPN1 configured by Darlington connection. The semiconductor device 1 can increase the drive current of the off circuit by adjusting the depletion NMOS transistor NM60 and the NPN transistor NPN1. That is, the semiconductor device 1 can shorten the time required to turn off the A type switch ASW and the time required to turn on the B type switch BSW.
[0146] In addition, in the semiconductor device 1, the VGS control circuit 23 is configured to operate faster when the A-type switch ASW is turned off than when it is turned on by the resistor elements R62 and R63. Similarly, the VGS control circuit 33 is configured to operate faster when the B-type switch BSW is turned off than when it is turned on by the resistor elements R64 and R65. As a result, even when the nodes NG_A and NS_B are discharged based on the power supply to the semiconductor device 1 being cut off, the A-type switch ASW can be turned off faster than the B-type switch BSW is turned on. Therefore, the semiconductor device 1 according to the first embodiment can also suppress the A-type switch ASW and the B-type switch BSW from being turned on simultaneously when the power supply voltage VCC is cut off.
[0147] Furthermore, the semiconductor device 1 has a terminal T3 and a circuit (LED test circuit 17) for monitoring the current flowing through the LEDs 21 and / or 31. As a result, even if the LED current cannot be monitored in a product test due to package restrictions, the presence or absence of defects in the LEDs 21 and / or 31 of the semiconductor device 1 can be determined by connecting a tester to the terminal T3. In this way, the semiconductor device 1 is configured to be capable of eliminating defects in a die sorter test, a test at the time of die mounting, a final test after wiring or resin sealing, and the like, and therefore the reliability of the semiconductor device 1 can be improved.
[0148] <2> Second embodiment The semiconductor device 1a according to the second embodiment is a photorelay including two A-type switches ASW1 and ASW2 and configured to electrically switch on and off the two A-type switches ASW1 and ASW2 in response to an input signal. The semiconductor device 1a adjusts the on / off timing of each of the two A-type switches ASW1 and ASW2 to suppress simultaneous on of the two A-type switches ASW1 and ASW2. Details of the semiconductor device 1a according to the second embodiment will be described below.
[0149] <2-1> Configuration First, the configuration of a semiconductor device 1a according to the second embodiment will be described.
[0150] <2-1-1> Appearance of semiconductor device 1 Fig. 22 is a plan view showing an example of the appearance of the semiconductor device 1a according to the second embodiment. As shown in Fig. 22, the semiconductor device 1a is sealed in a package PKGa in which the terminals T1a to T8a are exposed. The package PKGa includes a light emitting element and a light receiving element for the semiconductor device 1a to function as a photorelay.
[0151] The terminals T1a to T4a are terminals on the input side of the semiconductor device 1a. Specifically, the terminal T1a is a power supply terminal of the semiconductor device 1a. For example, a power supply voltage VCC is applied to the terminal T1a. The terminal T2a is an input terminal of the semiconductor device 1a. For example, an input signal VIN is input to the terminal T2a. The terminal T3a is a terminal used for, for example, an operation test of an LED included in the semiconductor device 1a. The terminal T4a is a ground terminal of the semiconductor device 1a. For example, a ground voltage GND is applied to the terminal T4a. Note that the terminal T3a may be a non-contact terminal when the operation test of the LED is not performed. In this case, a function related to the operation test of the LED is omitted from the integrated circuit in the semiconductor device 1a, and the chip size can be designed to be small. In this way, a group of inexpensive products may be configured as the semiconductor device 1a.
[0152] The terminals T5a and T6a are terminals on the output side of the semiconductor device 1a. Specifically, the terminal T5a corresponds to one end (ASW1T1) of the A-type switch ASW1 included in the semiconductor device 1a. The terminal T6a corresponds to the other end (ASW1T2) of the A-type switch ASW1 included in the semiconductor device 1a. The semiconductor device 1a can form or cut off a current path between the terminals T5a and T6a based on the input signal VIN. A state in which a current path between the terminals T5a and T6a is formed in the semiconductor device 1a corresponds to an ON state of the A-type switch ASW1. A state in which the current path between the terminals T5a and T6a is cut off in the semiconductor device 1a corresponds to an OFF state of the A-type switch ASW1.
[0153] The terminals T7a and T8a are terminals on the output side of the semiconductor device 1a. Specifically, the terminal T7a corresponds to one end (ASW2T1) of the A-type switch ASW2 included in the semiconductor device 1a. The terminal T8a corresponds to the other end (ASW2T2) of the A-type switch ASW2 included in the semiconductor device 1a. The semiconductor device 1a can form or cut off a current path between the terminals T7a and T8a based on the input signal VIN. A state in which a current path between the terminals T7a and T8a is formed in the semiconductor device 1a corresponds to an ON state of the A-type switch ASW2. A state in which the current path between the terminals T7a and T8a is cut off in the semiconductor device 1a corresponds to an OFF state of the A-type switch ASW2.
[0154] <2-1-2> Input / output characteristics of semiconductor device 1a Fig. 23 is a table showing an example of input / output characteristics of the semiconductor device 1a according to the second embodiment. Fig. 23 shows the correspondence between the states of the power supply voltage VCC, ground voltage GND, and input signal VIN corresponding to the input side, and the states of the A-type switches ASW1 and ASW2 corresponding to the output side. As shown in Fig. 23, the semiconductor device 1a can operate in any of three states. The ground voltage GND is at the "L" level in any of the three states.
[0155] When the power supply voltage VCC is at the “L” level or when the power supply is not connected to the terminal T1a, the semiconductor device 1a is in a state in which it does not accept control by the input signal VIN (FIG. 23 “-”). In this case, each of the A-type switches ASW1 and ASW2 is in the off state.
[0156] When the power supply voltage VCC is at the “H” level, the semiconductor device 1a is in a state in which it can accept control by the input signal VIN. That is, when the power supply voltage VCC is at the “H” level, the semiconductor device 1a controls the on / off of the A-type switches ASW1 and ASW2 in a complementary manner based on the input signal VIN.
[0157] Specifically, when the power supply voltage VCC is at the “H” level and the input signal VIN is at the “H” level, the semiconductor device 1a controls the A-type switches ASW1 and ASW2 so that the A-type switch ASW1 is in the ON state and the A-type switch ASW2 is in the OFF state. When the power supply voltage VCC is at the “H” level and the input signal VIN is at the “L” level, the semiconductor device 1a controls the A-type switches ASW1 and ASW2 so that the A-type switch ASW1 is in the OFF state and the A-type switch ASW2 is in the ON state.
[0158] <2-1-3> Package PKG structure Fig. 24 is a block diagram showing an example of the configuration of a package PKGa of the semiconductor device 1a according to the second embodiment. As shown in Fig. 24, the package PKGa includes, for example, A-type switches ASW1 and ASW2, an integrated circuit 10a, and ASW control units 20-1 and 20-2.
[0159] The A-type switch ASW1 includes NMOS transistors ENM1-1 and ENM2-1. Each of the NMOS transistors ENM1-1 and ENM2-1 is an enhancement type NMOS transistor. Each of the gate terminals of the NMOS transistors ENM1-1 and ENM2-1 is connected to a node NG_A1. Each of the source terminals of the NMOS transistors ENM1-1 and ENM2-1 is connected to a node NS_A1. The drain terminal of the NMOS transistor ENM1-1 is connected to a terminal T5a. The drain terminal of the NMOS transistor ENM2-1 is connected to a terminal T6a. FIG. 24 shows parasitic diodes provided between the source terminal and the drain terminal of each of the NMOS transistors ENM1-1 and ENM2-1. The state in which each of the NMOS transistors ENM1-1 and ENM2-1 is in the on state corresponds to the on state of the A-type switch ASW1. The state in which the NMOS transistors ENM1-1 and ENM2-1 are both in the off state corresponds to the off state of the A-type switch ASW1.
[0160] The A-type switch ASW2 includes NMOS transistors ENM1-2 and ENM2-2. Each of the NMOS transistors ENM1-2 and ENM2-2 is an enhancement type NMOS transistor. Each of the gate terminals of the NMOS transistors ENM1-2 and ENM2-2 is connected to a node NG_A2. Each of the source terminals of the NMOS transistors ENM1-2 and ENM2-2 is connected to a node NS_A2. The drain terminal of the NMOS transistor ENM1-2 is connected to a terminal T7a. The drain terminal of the NMOS transistor ENM2-2 is connected to a terminal T8a. FIG. 24 shows parasitic diodes provided between the source terminal and the drain terminal for each of the NMOS transistors ENM1-2 and ENM2-2. The state in which each of the NMOS transistors ENM1-2 and ENM2-2 is in the on state corresponds to the on state of the A-type switch ASW2. The state in which the NMOS transistors ENM1-2 and ENM2-2 are each in the off state corresponds to the off state of the A-type switch ASW2.
[0161] The integrated circuit 10a is a circuit disposed on the input side of the semiconductor device 1a, and controls each of the ASW control units 20-1 and 20-2. The integrated circuit 10a is connected to each of the terminals T1a to T4a. The integrated circuit 10a includes nodes CA_A1 and CA_A2. The integrated circuit 10a is configured to control the voltages of the nodes CA_A1 and CA_A2 based on a power supply voltage VCC supplied to the terminal T1a and an input signal VIN supplied to the terminal T2a. The integrated circuit 10a is also configured to supply a current based on the current flowing through the nodes CA_A1 and / or CA_A2 to the terminal T3a, for example.
[0162] The ASW control unit 20-1 controls the on / off of the A-type switch ASW1 based on the control of the integrated circuit 10a. The ASW control unit 20-1 includes an LED (Light-Emitting Diode) 21-1, a light receiving unit 22-1, and a VGS control circuit 23-1. The configurations of the LED 21-1, the light receiving unit 22-1, and the VGS control circuit 23-1 are similar to those of the LED 21, the light receiving unit 22, and the VGS control circuit 23 described in the first embodiment. The anode of the LED 21-1 is connected to the terminal T1a. The cathode of the LED 21-1 is connected to a node CA_A1 of the integrated circuit 10a. When the LED 21-1 is in a light emitting state, the light receiving unit 22-1 is turned on by receiving light emitted from the LED 21-1. The light receiving unit 22-1 in the on state supplies a current to the VGS control circuit 23-1. The node ND5 of the VGS control circuit 23-1 is connected to a node NG_A1. A node AGND2 of the VGS control circuit 23-1 is connected to the node NS_A1. The VGS control circuit 23-1 operates based on a current generated by the light receiving unit 22-1, and controls the voltages of the nodes NG_A1 and NS_A1. The ASW control unit 20-1 is configured to be able to apply a positive voltage to the gate terminals of the NMOS transistors ENM1-1 and ENM2-1. This allows the ASW control unit 20-1 to generate a positive potential difference between the gate and source of the NMOS transistors ENM1-1 and ENM2-1.
[0163] The ASW control unit 20-2 controls the on / off of the A-type switch ASW2 based on the control of the integrated circuit 10a. The ASW control unit 20-2 includes an LED (Light-Emitting Diode) 21-2, a light receiving unit 22-2, and a VGS control circuit 23-2. The configurations of the LED 21-2, the light receiving unit 22-2, and the VGS control circuit 23-2 are similar to those of the LED 21, the light receiving unit 22, and the VGS control circuit 23 described in the first embodiment, respectively. The anode of the LED 21-2 is connected to the terminal T1a. The cathode of the LED 21-2 is connected to a node CA_A2 of the integrated circuit 10a. When the LED 21-2 is in a light-emitting state, the light receiving unit 22-2 receives light emitted from the LED 21-2 and is turned on. The light receiving unit 22-2 in the on state supplies a current to the VGS control circuit 23-2. The node ND5 of the VGS control circuit 23-2 is connected to a node NG_A2. A node AGND2 of the VGS control circuit 23-2 is connected to the node NS_A2. The VGS control circuit 23-2 operates based on a current generated by the light receiving unit 22-2, and controls the voltages of the nodes NG_A2 and NS_A2. The ASW control unit 20-2 is configured to be able to apply a positive voltage to the gate terminals of the NMOS transistors ENM1-2 and ENM2-2. This allows the ASW control unit 20-2 to generate a positive potential difference between the gate and source of the NMOS transistors ENM1-2 and ENM2-2.
[0164] <2-1-4> Configuration of integrated circuit 10a Fig. 25 is a block diagram showing an example of the configuration of an integrated circuit 10a included in a semiconductor device 1a according to the second embodiment. As shown in Fig. 25, the integrated circuit 10a includes, for example, a start-up circuit 11, a power supply circuit 12, a reset circuit 13, an enable control circuit 14a, an oscillation circuit 15, an input circuit 16, an LED test circuit 17, and an LED control circuit 18a. The configurations of the start-up circuit 11, the power supply circuit 12, the reset circuit 13, the oscillation circuit 15, the input circuit 16, and the LED test circuit 17 in the integrated circuit 10a are the same as those in the first embodiment.
[0165] The start circuit 11 in the integrated circuit 10a generates power supply voltages VCC1 and 3VLDO based on the power supply voltage VCC supplied to the terminal T1a. The input circuit 16 in the integrated circuit 10a receives the input signal VIN input to the terminal T2a and supplies the received input signal VIN to the LED control circuit 18a as the input signal VIN1. The LED test circuit 17 in the integrated circuit 10a has a function of supplying a current based on the current flowing through the nodes CA_A1 and / or CA_A2 to the terminal T3a. In the integrated circuit 10a, the start circuit 11, the power supply circuit 12, the reset circuit 13, the enable control circuit 14a, the oscillation circuit 15, the input circuit 16, the LED test circuit 17, and the LED control circuit 18a are each connected to the terminal T4a. The enable control circuit 14a and the LED control circuit 18a are each supplied with the power supply voltage VCC1 via a power supply node and the ground voltage GND via a ground node.
[0166] The enable control circuit 14a generates enable signals AENB1 and AENB2, and supplies the generated enable signals AENB1 and AENB2 to the LED control circuit 18a. The enable signal AENB1 is a control signal for enabling the A-type switch ASW1. When the enable signal AENB1 is at the “H” level, the A-type switch ASW1 is enabled. The enable signal AENB2 is a control signal for enabling the A-type switch ASW2. When the enable signal AENB2 is at the “H” level, the A-type switch ASW2 is enabled. The enable control circuit 14a is configured so that the operations of the enable signals AENB1 and AENB2 correspond to the operations of the enable signals AENB and BENB described with reference to FIG. 7, respectively. That is, the enable control circuit 14a is configured so that the period when the enable signal AENB1 is at the “H” level is included in the period when the enable signal AENB2 is at the “H” level.
[0167] The LED control circuit 18a operates based on currents IL1 and IL2, reset signals RST, enable signals AENB1 and AENB2, a clock signal CLK, and an input signal VIN1. The LED control circuit 18a includes an ASW control circuit ACNT1 and an ASW control circuit ACNT2. The ASW control circuit ACNT1 controls the current of the node CA_A1. That is, the ASW control circuit ACNT1 controls the current of the cathode of LED21-1. The ASW control circuit ACNT2 controls the current of the node CA_A2. That is, the ASW control circuit ACNT2 controls the current of the cathode of LED21-2.
[0168] <2-1-5> Configuration of LED control circuit 18a 26 is a block diagram showing an example of the configuration of an LED control circuit 18a included in an integrated circuit 10a of a semiconductor device 1a according to the second embodiment. As shown in FIG. 26, the LED control circuit 18a includes, for example, driver circuits 40a and 40b, LED drive circuits 60A-1 and 60A-2, and an inverter IV60. The set of the driver circuit 40a and the LED drive circuit 60A-1 corresponds to the ASW control circuit ACNT1. The set of the driver circuit 40b and the LED drive circuit 60A-2 corresponds to the ASW control circuit ACNT2. The inverter IV60 inverts the input signal VIN and outputs the input signal VIN1b.
[0169] The driver circuit 40a controls the LED drive circuit 60A-1 based on the input signal VIN1, the enable signal AENB1, the clock signal CLK, and the reset signal RST. The driver circuit 40a includes an AIN generation circuit 41a and a TONA generation circuit 42a. The AIN generation circuit 41a generates a control signal AIN1. The control signal AIN1 is a signal that controls the light emission of the LED 21-1 associated with the A type switch ASW1. The TONA generation circuit 42a generates a control signal TONA1. The control signal TONA1 is a signal used to accelerate the rise of the light emission of the LED 21-1 associated with the A type switch ASW1. The configurations of the AIN generation circuit 41a and the TONA generation circuit 42a are similar to those of the AIN generation circuit 41 and the TONA generation circuit 42 described in the first embodiment, except that the enable signal AENB is replaced with the enable signal AENB1, the control signals AIN and TONA are replaced with the control signals AIN1 and TONA1, and the control signal BIN is replaced with the control signal AIN2. Hereinafter, the dead time DT1 generated by the counter CT10 in the AIN generating circuit 41a will be referred to as the "dead time DT1a." The dead time DT2 generated by the counter CT20 in the TONA generating circuit 42a will be referred to as the "dead time DT2a."
[0170] The driver circuit 40b controls the LED drive circuit 60A-2 based on the input signal VIN1b, the enable signal AENB2, the clock signal CLK, and the reset signal RST. The driver circuit 40b includes an AIN generation circuit 41b and a TONA generation circuit 42b. The AIN generation circuit 41b generates a control signal AIN2. The control signal AIN2 is a signal that controls the light emission of the LED 21-2 associated with the A type switch ASW2. The TONA generation circuit 42b generates a control signal TONA2. The control signal TONA2 is a signal used to accelerate the rise of the light emission of the LED 21-2 associated with the A type switch ASW2. The configurations of the AIN generation circuit 41b and the TONA generation circuit 42b are similar to those of the AIN generation circuit 41 and the TONA generation circuit 42 described in the first embodiment, except that the input signal VIN1 is replaced by the input signal VIN1b, the enable signal AENB is replaced by the enable signal AENB2, the control signals AIN and TONA are replaced by the control signals AIN2 and TONA2, respectively, and the control signal BIN is replaced by the control signal AIN1. Hereinafter, in the AIN generation circuit 41b, the dead time DT1 generated by using the counter CT10 is referred to as "dead time DT1b." In the TONA generation circuit 42b, the dead time DT2 generated by using the counter CT20 is referred to as "dead time DT2b."
[0171] The LED drive circuit 60A-1 controls the voltage of the node CA_A1 to control whether the LED 21-1 emits light or not. The LED drive circuit 60A-2 controls the voltage of the node CA_A2 to control whether the LED 21-2 emits light or not. The configurations of the LED drive circuits 60A-1 and 60A-2 are the same as the LED drive circuit 60A described in the first embodiment. A control signal AIN1 is input to a node IN1 of the LED drive circuit 60A-1. A control signal TONA1 is input to a node IN2 of the LED drive circuit 60A-1. A node OUT of the LED drive circuit 60A-1 is connected to a node CA_A1. A control signal AIN2 is input to a node IN1 of the LED drive circuit 60A-2. A control signal TONA2 is input to a node IN2 of the LED drive circuit 60A-2. A node OUT of the LED drive circuit 60A-2 is connected to a node CA_A2.
[0172] The LED control circuit 18a may have another circuit configuration as long as it can realize the above-described operation. The other configurations of the semiconductor device 1a according to the second embodiment are the same as those of the semiconductor device 1 according to the first embodiment.
[0173] <2-2> Operation Fig. 27 is a time chart showing an example of the operation of the two A-type switches ASW1 and ASW2 when the semiconductor device 1a according to the second embodiment is powered on. Fig. 27 shows the voltage changes of the input signal VIN and the control signals AIN1, TONA1, AIN2, and TONA2, and the states of the A-type switches ASW1 and ASW2. Hereinafter, with reference to Fig. 27, an example of the operation of the two A-type switches ASW1 and ASW2 when the semiconductor device 1a according to the second embodiment is powered on will be described.
[0174] In the initial state of this example, the input signal VIN and the control signals AIN1, TONA1, and TONA2 are all at the “L” level, the control signal AIN2 is at the “H” level, the A-type switch ASW1 is in the off state, and the A-type switch ASW2 is in the on state. That is, the LED21-1 is in the non-emitting state, and the LED21-2 is in the emitting state.
[0175] At time t1a, when the input signal VIN transitions from the “L” level to the “H” level, the control signal AIN2 transitions from the “H” level to the “L” level. Then, the LED drive circuit 60A-2 stops supplying current to the LED21-2, causing the LED21-2 to stop emitting light. As a result, the VGS control circuit 23-2 discharges the gate terminals of the NMOS transistors ENM1-2 and ENM2-2, and the A-type switch ASW2 is turned off. Also, when the input signal VIN transitions from the “L” level to the “H” level, the counter CT10 of the AIN generation circuit 41a starts counting the input clock signal. In this example, the time t2a corresponds to the time when the dead time DT1a based on the count result of the counter CT10 of the AIN generation circuit 41a has elapsed, starting from the time t1a.
[0176] At time t2a, the control signals AIN1 and TONA1 each transition from the "L" level to the "H" level based on the fact that the dead time DT1a has elapsed since time t1a. Then, the LED drive circuit 60A-1 uses the currents IL1 and IL2 to cause the amplified current IL3 to flow to the LED 21-1. Specifically, the LED current (IL3) flows from the terminal T1a (VCC) through the anode and cathode of the LED 21-1 to the NMOS transistor NM53 (constant current switch) of the LED drive circuit 60A-1. This causes the LED 21-1 to emit light quickly. As a result, a forward bias is applied between the gates and sources of the NMOS transistors ENM1-1 and ENM2-1 by the VGS control circuit 23-1, and the A-type switch ASW1 is turned on. Also, when the control signal AIN1 transitions from the "L" level to the "H" level, the counter CT20 of the TONA generation circuit 42a starts counting the input clock signal. In this example, the time t3a corresponds to the time when a dead time DT2a based on the count result of the counter CT20 of the TONA generating circuit 42a has elapsed, starting from time t2a.
[0177] At time t3a, the control signal TONA1 transitions from the “H” level to the “L” level based on the fact that the dead time DT2a has elapsed since time t2a. Then, the LED drive circuit 60A-1 uses the current IL1 to cause the amplified current IL4 to flow through the LED21-1. Specifically, the LED current (IL4) flows from the terminal T1a (VCC) through the anode and cathode of the LED21-1 to the NMOS transistor NM53 (constant current switch) of the LED drive circuit 60A-1. This maintains the emission of light from the LED21-1. Therefore, the A-type switch ASW1 maintains the on state even after time t3a.
[0178] At time t4a, when the input signal VIN transitions from the “H” level to the “L” level, the control signal AIN1 transitions from the “H” level to the “L” level. Then, the LED drive circuit 60A-1 stops supplying current to the LED 21-1, causing the LED 21-1 to stop emitting light. As a result, the VGS control circuit 23-1 discharges the gate terminals of the NMOS transistors ENM1-1 and ENM2-1, and the A-type switch ASW1 is turned off. Also, at time t4a, when the input signal VIN transitions from the “H” level to the “L” level, the counter CT10 of the AIN generation circuit 41b starts counting the input clock signal. In this example, the time when the dead time DT1b based on the count result of the counter CT10 of the AIN generation circuit 41b has elapsed from the time t4a corresponds to the time t5a.
[0179] At time t5a, the control signals AIN2 and TONA2 each transition from the “L” level to the “H” level based on the fact that the dead time DT1b has elapsed since time t4a. Then, the LED drive circuit 60A-2 uses the currents IL1 and IL2 to cause the amplified current IL3 to flow to the LED 21-2. Specifically, the LED current (IL3) flows from the terminal T1a (VCC) through the anode and cathode of the LED 21-2 to the NMOS transistor NM53 (constant current switch) of the LED drive circuit 60A-2. This causes the LED 21-2 to emit light quickly. As a result, a forward bias is applied between the gates and sources of the NMOS transistors ENM1-2 and ENM2-2 by the VGS control circuit 23-2, and the A-type switch ASW2 is turned on. Also, when the control signal AIN2 transitions from the “L” level to the “H” level, the counter CT20 of the TONA generation circuit 42b starts counting the input clock signal. In this example, the time t6a corresponds to the time when the dead time DT2b based on the count result of the counter CT20 of the TONA generating circuit 42b has elapsed from the time t5a as the starting point.
[0180] At time t6a, the control signal TONA2 transitions from the “H” level to the “L” level based on the fact that the dead time DT2b has elapsed since time t5a. Then, the LED drive circuit 60A-2 uses the current IL1 to cause the amplified current IL4 to flow through the LED21-2. Specifically, the LED current (IL4) flows from the terminal T1a (VCC) through the anode and cathode of the LED21-2 to the NMOS transistor NM53 (constant current switch) of the LED drive circuit 60A-2. This maintains the emission of light from the LED21-2. Therefore, the A-type switch ASW2 maintains the on state even after time t6a.
[0181] The operation of the semiconductor device 1a at time t7a is the same as that of the semiconductor device 1a at time t1a. After that, the semiconductor device 1a performs the operations described at times t1a to t6a in response to the change in the input signal VIN. Note that the four dead times DT1a, DT2a, DT1b, and DT2b are parameters determined by independent counters CT. Therefore, each of the dead times DT1a, DT2a, DT1b, and DT2b can be easily changed by modifying the circuit configuration of the driver circuits 40a and 40b.
[0182] As described above, in the semiconductor device 1a, the ASW control circuit ACNT1 is configured to cause the LED 21-1 to emit light after the dead time DT1a has elapsed since the input signal VIN transitioned from the "L" level to the "H" level, and to stop the emission of the LED 21-1 before the dead time DT1b has elapsed since the input signal VIN transitioned from the "H" level to the "L" level. Furthermore, the ASW control circuit ACNT1 is configured to cause the LED 21-1 to emit light based on the total current of the currents IL1 and IL2 from the time the input signal VIN transitioned from the "L" level to the "H" level and the dead time DT1a has elapsed until the dead time DT2a has elapsed, and to cause the LED 21-1 to emit light based on the current IL1 after the dead time DT2a has elapsed.
[0183] The ASW control circuit ACNT2 is configured to stop the light emission of the LED21-2 before the dead time DT1a has elapsed since the input signal VIN transitioned from the "L" level to the "H" level, and to cause the LED21-2 to emit light after the dead time DT1b has elapsed since the input signal VIN transitioned from the "H" level to the "L" level. Furthermore, the ASW control circuit ACNT2 is configured to cause the LED21-2 to emit light based on the total current of the currents IL1 and IL2 from the time the input signal VIN transitioned from the "H" level to the "L" level and the dead time DT1b has elapsed until the dead time DT2b has elapsed, and to cause the LED21-2 to emit light based on the current IL1 after the dead time DT2b has elapsed.
[0184] Other operations of the semiconductor device 1a according to the second embodiment are similar to those of the semiconductor device 1 according to the first embodiment.
[0185] <2-3> Effects of the second embodiment The semiconductor device 1a according to the second embodiment can turn off the A type switch ASW2 before the A type switch ASW1 turns on when the input signal VIN transitions from the “L” level to the “H” level. Similarly, the semiconductor device 1a can turn off the A type switch ASW1 before the A type switch ASW2 turns on when the input signal VIN transitions from the “H” level to the “L” level. Therefore, the semiconductor device 1a can suppress two switch elements (A type switches ASW1 and ASW2) from being simultaneously turned on, as in the first embodiment. Other effects of the semiconductor device 1a according to the second embodiment are the same as those of the first embodiment. In this way, the semiconductor device 1 may be configured like the semiconductor device 1a in which two A type switches ASW1 and ASW2 and two ASW control circuits ACNT1 and ACNT2 are combined. In other words, the design of the semiconductor device 1 can be changed according to the characteristics of the NMOS transistor used for the output.
[0186] <3> Variations, etc. Each of the semiconductor device 1 according to the first embodiment and the semiconductor device 1a according to the second embodiment can be used as a substitute for a reed relay such as a tester relay or a sequencer, a mercury relay, or a mechanical relay. The semiconductor devices 1 and 1a described above may be configured as follows.
[0187] FIG. 28 is a circuit diagram showing a modified circuit configuration of the light receiving unit 22 and the VGS control circuit 23 included in the ASW control unit 20. FIG. 28 shows a circuit configuration of the light receiving unit 22 similar to that of the first embodiment, and a modified circuit configuration of the VGS control circuit 23 (VGS control circuit 23a). As shown in FIG. 28, the VGS control circuit 23a has a configuration in which the NPN transistors NPN2 and NPN3 and the resistive element R63 are omitted from the VGS control circuit 23 described in the first embodiment. In the VGS control circuit 23a, the drain terminal of the depletion NMOS transistor NM60 and the collector terminal of the NPN transistor NPN1 are each connected to a node ND5, not to a node ND4. In this case, the on-resistances of the depletion NMOS transistor NM60 and the NPN transistor NPN1 are used in the same manner as the resistive element R63 of the first embodiment. The combination of the light receiving unit 22 and the VGS control circuit 23a operates similarly to the combination of the light receiving unit 22 and the VGS control circuit 23 in the first embodiment, and can achieve similar effects. Note that a resistor R63 (not shown) designed to have a lower resistance value than the resistor R62 may be connected between the node ND5 and the combination of the drain terminal of the depletion NMOS transistor NM60 and the collector terminal of the NPN transistor NPN1.
[0188] FIG. 29 is a circuit diagram showing a modified circuit configuration of the light receiving unit 32 and the VGS control circuit 33 included in the BSW control unit 30. FIG. 29 shows a circuit configuration of the light receiving unit 32 similar to that of the first embodiment, and a modified circuit configuration of the VGS control circuit 33 (VGS control circuit 33a). As shown in FIG. 29, the VGS control circuit 33a has a configuration in which the NPN transistors NPN2 and NPN3 are omitted from the VGS control circuit 33 described in the first embodiment. In the VGS control circuit 33a, the node ND4 is connected to the node ND5 via a resistor element R64. In addition, the drain terminal of the depletion NMOS transistor NM60 and the collector terminal of the NPN transistor NPN1 are each connected to the node ND5 via a resistor element R65 designed to have a higher resistance value than the resistor element R64. The combination of the light receiving unit 32 and the VGS control circuit 33a operates in the same manner as the combination of the light receiving unit 32 and the VGS control circuit 33 of the first embodiment, and can achieve the same effect.
[0189] FIG. 30 is a block diagram showing a modified example (package PKGb) of the configuration of the package PKG of the semiconductor device 1. Hereinafter, the semiconductor device 1 including the package PKGb is called the "semiconductor device 1b". The package PKGb includes, for example, an A-type switch ASW, a B-type switch BSW, an integrated circuit 10b, an ASW control unit 20a, and a BSW control unit 30a. In this example, the terminal T3 is omitted. The integrated circuit 10b includes a constant voltage circuit 101, a DT circuit 102, driver circuits 103a and 103b, and signal generating circuits 104a and 104b. The ASW control unit 20a includes coils L21 and L22, a receiving circuit 25, and a driver circuit 26. The BSW control unit 30a includes coils L31 and L32, a receiving circuit 35, and a driver circuit 36. Each of the set of coils L21 and L22 and the set of coils L31 and L32 may be called an insulating element or a magnetic coupling element.
[0190] The constant voltage circuit 101 is a circuit that supplies a constant voltage VREG to, for example, the DT circuit 102, the driver circuits 103a and 103b, and the signal generating circuits 104a and 104b based on a power supply voltage VCC applied to a terminal T1. The constant voltage circuit 101 is, for example, a linear regulator. The DT circuit 102 operates one of the insulating elements of the ASW control unit 20a and the BSW control unit 30a at a timing different from that of the other insulating element based on an input signal VIN input to a terminal T2. Specifically, the DT circuit 102 controls the operation of the insulating element of the ASW control unit 20a via the driver circuit 103a and the signal generating circuit 104a. Similarly, the DT circuit 102 controls the operation of the insulating element of the BSW control unit 30a via the driver circuit 103b and the signal generating circuit 104b. The driver circuit 103a is a circuit that drives the insulating element of the ASW control unit 20a. The driver circuit 103a supplies the signal generating circuit 104a with a voltage generated under the control of the DT circuit 102. When the signal generating circuit 104a receives a voltage of "H" level from the driver circuit 103a, the signal generating circuit 104a transmits a modulated voltage to one end of the coil L21. The driver circuit 103b is a circuit that drives the insulating element of the BSW control unit 30a. The driver circuit 103b supplies the signal generating circuit 104b with a voltage generated under the control of the DT circuit 102. When the signal generating circuit 104b receives a voltage of "H" level from the driver circuit 103b, the signal generating circuit 104b transmits a modulated voltage to one end of the coil L31. Each of the signal generating circuits 104a and 104b includes, for example, an oscillation circuit.
[0191] The other end of the coil L21 is connected to a ground node. The coil L21 and the coil L22 are electrically insulated and magnetically coupled by an insulating layer (not shown) provided between the coils L21 and L22. One end of the coil L22 is connected to a receiving circuit 25. The other end of the coil L22 is connected to a ground node. The receiving circuit 25 is a circuit that receives a signal. The receiving circuit 25 demodulates the signal received from the coil L22 and supplies the demodulated signal to the driver circuit 26. The receiving circuit 25 includes, for example, a smoothing circuit. The driver circuit 26 is a circuit that drives the NMOS transistors ENM1 and ENM2 based on the voltage supplied from the receiving circuit 25. When the ASW control unit 20a receives the modulated voltage from the signal generating circuit 104a, it applies a positive voltage to the gate terminals (node NG_A) of the NMOS transistors ENM1 and ENM2. In other words, when the ASW control unit 20a receives a modulated voltage from the signal generating circuit 104a, the ASW control unit 20a applies a forward voltage between the gates and sources of the NMOS transistors ENM1 and ENM2.
[0192] The other end of the coil L31 is connected to a ground node. The coil L31 and the coil L32 are electrically insulated and magnetically coupled by an insulating layer (not shown) provided between the coils L31 and L32. One end of the coil L32 is connected to a receiving circuit 35. The other end of the coil L32 is connected to a ground node. The receiving circuit 35 is a circuit that receives a signal. The receiving circuit 35 demodulates the signal received from the coil L32 and supplies the demodulated signal to the driver circuit 36. The receiving circuit 35 includes, for example, a smoothing circuit. The driver circuit 36 is a circuit that drives the NMOS transistors DNM1 and DNM2 based on the voltage supplied from the receiving circuit 35. When the BSW control unit 30a receives the modulated voltage from the signal generating circuit 104b, it applies a positive voltage to the source terminals (node NS_B) of the NMOS transistors DNM1 and DNM2. In other words, when the BSW control unit 30a receives a modulated voltage from the signal generating circuit 104b, it applies a reverse voltage between the gates and sources of the NMOS transistors DNM1 and DNM2.
[0193] The A type switch ASW and the B type switch BSW, the integrated circuit 10b, and the set of the ASW control unit 20a and the BSW control unit 30a operate in the same manner as in FIG. 20. In the ASW control unit 20a, signals and power are transmitted between the magnetically coupled coils L21 and L22, and the A type switch ASW is turned on and off. In the BSW control unit 30a, signals and power are transmitted between the magnetically coupled coils L31 and L32, and the B type switch BSW is turned on and off. In this manner, the semiconductor device 1b is configured to control the A type switch ASW and the B type switch BSW by magnetic coupling. The DT circuit 102 can set the dead times DT1 to DT4 in the same manner as the ASW control circuit ACNT and the BSW control circuit BCNT of the first embodiment, and control the A type switch ASW and the B type switch BSW complementarily. In addition, each of the driver circuits 103a and 103b may have a configuration similar to that of the driver circuit 40 of the first embodiment. In this case, the driver circuits 103a and 103b increase the voltages that drive the signal generating circuits 104a and 104b, respectively, based on the control signal RUSHON. Even in such a case, the semiconductor device 1b can obtain the same effects as those of the first embodiment. Also, in the semiconductor device 1b, a combination of two A-type switches ASW1 and ASW2 may be used. In this case, the semiconductor device 1b is configured to operate in the same manner as in the second embodiment.
[0194] In the semiconductor device 1b, the case where magnetic coupling is used has been exemplified, but capacitive coupling may be used instead of magnetic coupling. In this case, for example, the pair of coils L21 and L22 and the pair of coils L31 and L32 are each replaced with a capacitor, which is a capacitive coupling element. Then, the driver circuits 103a and 103b, the signal generating circuits 104a and 104b, the receiving circuits 25 and 35, and the driver circuits 26 and 36 are each changed to a configuration capable of transmitting signals via a capacitor. Even in such a case, the semiconductor device 1b can obtain the same effect as the first embodiment. Furthermore, although not shown, the insulating coupling elements only need to be optimally connected to the driver circuits and the receiving circuits, respectively. The insulating coupling elements are used in a configuration having two different, insulated power supply-ground points.
[0195] In this specification, each of a set of an LED and a light receiving unit (e.g., the LED 21 and the light receiving unit 22) that transmits a signal by optical coupling, a set of two coils (e.g., the coils L21 and L22) that transmit a signal by magnetic coupling, and a capacitor that transmits a signal by capacitive coupling may be called an "insulating coupling element." The insulating coupling element is configured to transmit a signal when it is operating and to stop transmitting the signal when it is not operating. For example, the ASW control unit 20 is configured to control the A-type switch ASW to a conductive state (on state) when a signal is transmitted from the insulating coupling element formed by the LED 21 and the light receiving unit 22, that is, when the associated insulating coupling element is operating. The ASW control unit 20 is also configured to control the A-type switch ASW to a non-conductive state (off state) when a signal is not transmitted from the insulating coupling element formed by the LED 21 and the light receiving unit 22, that is, when the associated insulating coupling element is not operating. The BSW control unit 30 is configured to control the B-type switch BSW to a non-conductive state (off state) when a signal is transmitted from the insulating coupling element formed by the LED 31 and the light receiving unit 32, i.e., when the associated insulating coupling element is operating. The BSW control unit 30 is also configured to control the B-type switch BSW to a conductive state (on state) when a signal is not transmitted from the insulating coupling element formed by the LED 31 and the light receiving unit 32, i.e., when the associated insulating coupling element is not operating.
[0196] In this specification, a voltage of the "H" level corresponds to a voltage equal to or higher than the threshold when determining data in a binary manner. A voltage of the "L" level corresponds to a voltage lower than the threshold when determining data in a binary manner. "Connection" refers to being electrically connected, and does not exclude, for example, the presence of another element between them. "Electrically connected" may refer to being connected through an insulator as long as it is possible to operate in the same manner as an electrically connected one. In this specification, "conductivity type" corresponds to "N type" or "P type". For example, a transistor of a first conductivity type corresponds to one of an NMOS transistor and a PMOS transistor, and a transistor of a second conductivity type corresponds to the other of an NMOS transistor and a PMOS transistor. The collector terminal and the emitter terminal of an NPN transistor may be referred to as one terminal and the other terminal of the transistor. Similarly, the drain terminal and the source terminal of an NMOS transistor may be referred to as one terminal and the other terminal of the transistor. The one terminal and the other terminal of the transistor may be referred to as the "first terminal" and the "second terminal". The ground node may be referred to as a power supply node. Each of the ASW control circuits ACNT, ACNT1, and ACNT2 and the BSW control circuit BCNT may be called a "switch control circuit." Each of the VGS control circuits 23, 23a, 33a, and 33b may be called a "voltage control circuit." Each of the circuit configurations in the semiconductor devices 1 and 1a described above may be other circuit configurations as long as similar functions and operations can be realized.
[0197] In addition, a part or all of each of the above embodiments can be described as follows, but is not limited to the following.
[0198] (Appendix 1) a first switch element including a first MOS transistor and a second MOS transistor, each of which has one end connected to a first node and a gate end connected to a second node; a second switch element including a third MOS transistor and a fourth MOS transistor, each of which has one end connected to a third node and a gate end connected to a fourth node; A first light emitting element and a second light emitting element, a first light receiving element that generates a current based on the light generated by the first light emitting element; a second light receiving element that generates a current based on the light generated by the second light emitting element; a first voltage control circuit that applies a voltage to the second node based on a current generated by the first light receiving element; a second voltage control circuit that applies a voltage to the third node based on a current generated by the second light receiving element; a first switch control circuit configured to cause the first light emitting element to emit light a first time after an input signal transitions from a first logic level to a second logic level; a second switch control circuit configured to stop the second light emitting element from emitting light a second time after the input signal transitions from the second logic level to the first logic level; A semiconductor device comprising:
[0199] (Appendix 2) the first switch control circuit is configured to stop the emission of the first light-emitting element before the second time has elapsed since the input signal transitions from the second logic level to the first logic level; the second switch control circuit is configured to cause the second light emitting element to emit light before the first time period has elapsed since the input signal transitions from the first logic level to the second logic level. 2. The semiconductor device according to claim 1.
[0200] (Appendix 3) the first switch control circuit is configured to cause the first light-emitting element to emit light based on a first current from when the input signal transitions from the first logic level to the second logic level and the first time has elapsed until a third time has elapsed, and to cause the first light-emitting element to emit light based on a second current smaller than the first current after the third time has elapsed; the second switch control circuit is configured to cause the second light-emitting element to emit light based on a third current until a fourth time has elapsed since the input signal transitions from the first logic level to the second logic level, and to cause the second light-emitting element to emit light based on a fourth current less than the third current after the fourth time has elapsed. 3. The semiconductor device according to claim 1 or 2.
[0201] (Appendix 4) an enable control circuit configured to generate a first enable signal for enabling control of conduction of the first switch element and a second enable signal for enabling control of conduction of the second switch element based on the supply of a power supply voltage; a timing at which the first enable signal transitions from the first logic level to the second logic level based on the supply of the power supply voltage is later than a timing at which the second enable signal transitions from the first logic level to the second logic level based on the supply of the power supply voltage; a timing at which the first enable signal transitions from the second logic level to the first logic level based on the supply of the power supply voltage being stopped is earlier than a timing at which the second enable signal transitions from the second logic level to the first logic level based on the supply of the power supply voltage being stopped; 4. The semiconductor device according to claim 1,
[0202] (Appendix 5) the first voltage control circuit includes a first resistor element connected to a path for charging the second node, and a second resistor element connected to a path for discharging the first node and having a resistance value lower than that of the first resistor element; the second voltage control circuit has a third resistor element connected to a path for charging the third node, and a fourth resistor element connected to a path for discharging the fourth node and having a resistance value higher than that of the third resistor element; 5. The semiconductor device according to claim 1,
[0203] (Appendix 6) each of the first MOS transistor and the second MOS transistor is an enhancement type N-channel MOSFET; Each of the third MOS transistor and the fourth MOS transistor is a depletion-type N-channel MOSFET. 6. The semiconductor device according to claim 1,
[0204] (Appendix 7) a first switch element including a first transistor and a second transistor, each having a source terminal connected to a first node and a gate terminal connected to a second node; a second switch element including a third transistor and a fourth transistor, each having a source terminal connected to a third node and a gate terminal connected to a fourth node; A first light emitting element and a second light emitting element, a first light receiving element that generates a current based on the light generated by the first light emitting element; a second light receiving element that generates a current based on the light generated by the second light emitting element; a first voltage control circuit that applies a voltage to the second node based on a current generated by the first light receiving element; a second voltage control circuit that applies a voltage to the fourth node based on a current generated by the second light receiving element; a first switch control circuit configured to cause the first light emitting element to emit light a first time after an input signal transitions from a first logic level to a second logic level; a second switch control circuit configured to cause the second light emitting element to emit light a second time after the input signal transitions from the second logic level to the first logic level; A semiconductor device comprising:
[0205] (Appendix 8) the first switch control circuit is configured to stop the emission of the first light-emitting element before the second time has elapsed since the input signal transitions from the second logic level to the first logic level; the second switch control circuit is configured to stop the emission of the second light-emitting element before the first time period has elapsed since the input signal transitions from the first logic level to the second logic level. 8. The semiconductor device according to claim 7.
[0206] (Appendix 9) the first switch control circuit is configured to cause the first light-emitting element to emit light based on a first current from when the input signal transitions from the first logic level to the second logic level and the first time has elapsed until a third time has elapsed, and to cause the first light-emitting element to emit light based on a second current smaller than the first current after the third time has elapsed; the second switch control circuit is configured to cause the second light-emitting element to emit light based on a third current from the second time elapsed after the input signal transitions from the second logic level to the first logic level until a fourth time has elapsed, and to cause the second light-emitting element to emit light based on a fourth current less than the third current after the fourth time has elapsed. The semiconductor device according to claim 7 or 8.
[0207] (Appendix 10) each of the first transistor, the second transistor, the third transistor, and the fourth transistor is an enhancement type N-channel MOSFET; 10. The semiconductor device according to claim 7, wherein the first and second electrodes are arranged in a first direction.
[0208] (Appendix 11) A first switch element; A second switch element; A first insulating coupling element and a second insulating coupling element; a first control circuit configured to control the first switch element to a conductive state when the first insulating coupling element transmits a signal, and to control the first switch element to a non-conductive state when the first insulating coupling element does not transmit a signal; a second control circuit configured to control the second switch element to a non-conductive state when the second insulating coupling element transmits a signal, and to control the second switch element to a conductive state when the second insulating coupling element does not transmit a signal; a first switch control circuit configured to cause the first insulating coupling element to transmit a signal after a first time has elapsed since an input signal transitions from a first logic level to a second logic level; a second switch control circuit configured to stop transmission of a signal through the second insulating coupling element after a second time has elapsed since the input signal transitioned from the second logic level to the first logic level; A semiconductor device comprising:
[0209] (Appendix 12) the first switch control circuit is configured to stop transmission of a signal through the first insulating coupling element before the second time has elapsed since the input signal transitioned from the second logic level to the first logic level; the second switch control circuit is configured to cause the second insulating coupling element to transmit a signal before the first time period has elapsed since the input signal transitions from the first logic level to the second logic level. 12. The semiconductor device according to claim 11.
[0210] (Appendix 13) the first switch control circuit is configured to promote transmission of a signal through the first insulating coupling element from the first time when the input signal transitions from the first logic level to the second logic level until a third time has elapsed; the second switch control circuit is configured to facilitate transmission of a signal through the second insulating coupling element until a fourth time has elapsed since the input signal transitions from the first logic level to the second logic level. 13. The semiconductor device according to claim 11 or 12.
[0211] (Appendix 14) A first switch element; A second switch element; A first insulating coupling element and a second insulating coupling element; a first control circuit configured to control the first switch element to a conductive state when the first insulating coupling element transmits a signal, and to control the first switch element to a non-conductive state when the first insulating coupling element does not transmit a signal; a second control circuit configured to control the second switch element to a conductive state when the second insulating coupling element transmits a signal, and to control the second switch element to a non-conductive state when the second insulating coupling element does not transmit a signal; a first switch control circuit configured to cause the first insulating coupling element to transmit a signal after a first time has elapsed since an input signal transitions from a first logic level to a second logic level; a second switch control circuit configured to transmit a signal of the second insulating coupling element a second time after the input signal transitions from the second logic level to the first logic level; A semiconductor device comprising:
[0212] (Appendix 15) the first switch control circuit is configured to stop transmission of a signal through the first insulating coupling element before the second time has elapsed since the input signal transitioned from the second logic level to the first logic level; the second switch control circuit is configured to stop transmission of a signal through the second insulating coupling element before the first time elapses after the input signal transitions from the first logic level to the second logic level. 15. The semiconductor device according to claim 14.
[0213] (Appendix 16) the first switch control circuit is configured to promote transmission of a signal through the first insulating coupling element from the first time when the input signal transitions from the first logic level to the second logic level until a third time has elapsed; The second switch control circuit is configured to promote a signal transmission operation of the second insulating coupling element from the time when the input signal transitions from the second logic level to the first logic level and the second time has elapsed until a fourth time has elapsed. 16. The semiconductor device according to claim 14 or 15.
[0214] (Appendix 17) an enable control circuit configured to generate a first enable signal for enabling control of conduction of the first switch element and a second enable signal for enabling control of conduction of the second switch element based on the supply of a power supply voltage; a timing at which the first enable signal transitions from the first logic level to the second logic level based on the supply of the power supply voltage is later than a timing at which the second enable signal transitions from the first logic level to the second logic level based on the supply of the power supply voltage; a timing at which the first enable signal transitions from the second logic level to the first logic level based on the supply of the power supply voltage being stopped is earlier than a timing at which the second enable signal transitions from the second logic level to the first logic level based on the supply of the power supply voltage being stopped; 17. The semiconductor device according to claim 11,
[0215] (Appendix 18) Each of the first insulating coupling element and the second insulating coupling element is configured to transmit a signal using optical coupling. 18. The semiconductor device according to claim 11,
[0216] (Appendix 19) Each of the first insulating coupling element and the second insulating coupling element is configured to transmit a signal by utilizing magnetic coupling. 18. The semiconductor device according to claim 11,
[0217] (Appendix 20) Each of the first insulating coupling element and the second insulating coupling element is configured to transmit a signal using capacitive coupling. 18. The semiconductor device according to claim 11,
[0218] Although several embodiments of the present invention have been described, these embodiments are presented as examples and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other forms, and various omissions, substitutions, and modifications can be made without departing from the spirit of the invention. These embodiments and their modifications are included in the scope and spirit of the invention, and are included in the scope of the invention and its equivalents described in the claims. [Explanation of symbols]
[0219] 1, 1a... semiconductor device, 10, 10a, 10b... integrated circuit, 11... start circuit, 12... power supply circuit, 13... reset circuit, 14, 14a... enable control circuit, 15... oscillation circuit, 16... input circuit, 17... LED test circuit, 18, 18a... LED control circuit, 20, 20-1, 20-2, 20a... ASW control unit, 21, 21-1, 21-2, 31... LED, 22, 22-1, 22-2, 32... light receiving unit, 22a, 22b, 22c... photodiode array, 23, 23-1, 23-2 , 23a, 33, 33a...VGS control circuit, 24, 34...current adjustment circuit, 30, 30a...BSW control unit, 40...driver circuit, 40a, 40b...driver circuit, 41, 41a, 41b...AIN generation circuit, 42, 42a, 42b...TONA generation circuit, 50...driver circuit, 51...BIN generation circuit, 52...TONB generation circuit, 60, 60A, 60A-1, 60A-2, 60B...LED drive circuit, 62...resistance element, 131...inverter, 132...delay circuit, 133...AND circuit, 13 3...Logical AND circuit, ASW, ASW1, ASW2...A type switch, BSW...B type switch, ACNT1, ACNT2...ASW control circuit, AENB1, AENB2...Enable signal, CLK...Clock signal, AIN, AIN1, AIN2, BIN, TONA, TONA1, TONA2, TONB...Control signal, NM...NMOS transistor, DNM...Depletion type NMOS transistor, ENM...Enhancement type NMOS transistor, NPN...NPN transistor , PM... PMOS transistor, CT... counter, DC... delay circuit, FF... flip-flop circuit, IV... inverter, R... resistor element, AN... logical AND circuit, OR... logical OR circuit, NR... NOR circuit, PD... photodiode, T1 to T8... terminals, PKG, PKGa, PKGb... package, ZD... Zener diode, 101... constant voltage circuit, 102... DT circuit, 103a, 103b, 26, 36... driver circuit, 104a, 104b... signal generation circuit, 25, 35... receiving circuit
Claims
1. a first switch element including a first MOS transistor and a second MOS transistor, each having one end connected to a first node and a gate end connected to a second node; a second switch element including a third MOS transistor and a fourth MOS transistor, each having one end connected to a third node and a gate end connected to a fourth node; A first light emitting element and a second light emitting element, a first light receiving element that generates a current based on the light generated by the first light emitting element; a second light receiving element that generates a current based on the light generated by the second light emitting element; a first voltage control circuit that applies a voltage to the second node based on a current generated by the first light receiving element; a second voltage control circuit that applies a voltage to the third node based on a current generated by the second light receiving element; a first switch control circuit configured to cause the first light emitting element to emit light a first time after an input signal transitions from a first logic level to a second logic level; a second switch control circuit configured to stop the second light emitting element from emitting light a second time after the input signal transitions from the second logic level to the first logic level; Equipped with each of the first MOS transistor and the second MOS transistor is an enhancement type N-channel MOSFET; Each of the third MOS transistor and the fourth MOS transistor is a depletion type N-channel MOSFET. Semiconductor device.
2. the first switch control circuit is configured to stop the emission of the first light emitting element before the second time has elapsed since the input signal transitions from the second logic level to the first logic level; the second switch control circuit is configured to cause the second light emitting element to emit light before the first time has elapsed since the input signal transitions from the first logic level to the second logic level. The semiconductor device according to claim 1 .
3. the first switch control circuit is configured to cause the first light-emitting element to emit light based on a first current from when the input signal transitions from the first logic level to the second logic level and the first time has elapsed until a third time has elapsed, and to cause the first light-emitting element to emit light based on a second current that is smaller than the first current after the third time has elapsed; the second switch control circuit is configured to cause the second light-emitting element to emit light based on a third current until a fourth time has elapsed since the input signal transitions from the first logic level to the second logic level, and to cause the second light-emitting element to emit light based on a fourth current less than the third current after the fourth time has elapsed. The semiconductor device according to claim 1 .
4. an enable control circuit configured to generate a first enable signal that enables control of conduction of the first switch element and a second enable signal that enables control of conduction of the second switch element based on the supply of a power supply voltage; a timing at which the first enable signal transitions from the first logic level to the second logic level based on the supply of the power supply voltage is later than a timing at which the second enable signal transitions from the first logic level to the second logic level based on the supply of the power supply voltage; a timing at which the first enable signal transitions from the second logic level to the first logic level based on the supply of the power supply voltage being stopped is earlier than a timing at which the second enable signal transitions from the second logic level to the first logic level based on the supply of the power supply voltage being stopped; The semiconductor device according to claim 1 .
5. the first voltage control circuit includes a first resistor element connected to a path for charging the second node, and a second resistor element connected to a path for discharging the first node and having a resistance value lower than that of the first resistor element; the second voltage control circuit has a third resistance element connected to a path for charging the third node, and a fourth resistance element connected to a path for discharging the fourth node and having a resistance value higher than that of the third resistance element; The semiconductor device according to claim 1 .
6. a first switch element including a first transistor and a second transistor, each having a source terminal connected to a first node and a gate terminal connected to a second node; a second switch element including a third transistor and a fourth transistor, each having a source terminal connected to a third node and a gate terminal connected to a fourth node; A first light emitting element and a second light emitting element, a first light receiving element that generates a current based on the light generated by the first light emitting element; a second light receiving element that generates a current based on the light generated by the second light emitting element; a first voltage control circuit that applies a voltage to the second node based on a current generated by the first light receiving element; a second voltage control circuit that applies a voltage to the fourth node based on a current generated by the second light receiving element; a first switch control circuit configured to cause the first light emitting element to emit light a first time after an input signal transitions from a first logic level to a second logic level; a second switch control circuit configured to cause the second light emitting element to emit light a second time after the input signal transitions from the second logic level to the first logic level; Equipped with each of the first transistor, the second transistor, the third transistor, and the fourth transistor is an enhancement type N-channel MOSFET; Semiconductor device.
7. the first switch control circuit is configured to stop the emission of the first light emitting element before the second time has elapsed since the input signal transitions from the second logic level to the first logic level; the second switch control circuit is configured to stop the emission of the second light-emitting element before the first time has elapsed since the input signal transitions from the first logic level to the second logic level. The semiconductor device according to claim 6.
8. the first switch control circuit is configured to cause the first light-emitting element to emit light based on a first current from when the input signal transitions from the first logic level to the second logic level and the first time has elapsed until a third time has elapsed, and to cause the first light-emitting element to emit light based on a second current that is smaller than the first current after the third time has elapsed; the second switch control circuit is configured to cause the second light-emitting element to emit light based on a third current from the second time elapsed since the input signal transitions from the second logic level to the first logic level until a fourth time elapses, and to cause the second light-emitting element to emit light based on a fourth current less than the third current after the fourth time has elapsed. The semiconductor device according to claim 6.
9. A first switch element; A second switch element; A first insulating coupling element and a second insulating coupling element; a first control circuit configured to control the first switch element to a conductive state when the first insulating coupling element transmits a signal, and to control the first switch element to a non-conductive state when the first insulating coupling element does not transmit a signal; a second control circuit configured to control the second switch element to a non-conductive state when the second insulating coupling element transmits a signal, and to control the second switch element to a conductive state when the second insulating coupling element does not transmit a signal; a first switch control circuit configured to cause the first isolation coupling element to transmit a signal a first time after an input signal transitions from a first logic level to a second logic level; a second switch control circuit configured to stop transmission of a signal through the second insulating coupling element a second time after the input signal transitions from the second logic level to the first logic level; A semiconductor device comprising:
10. the first switch control circuit is configured to stop transmission of a signal through the first isolation coupling element before the second time has elapsed since the input signal transitioned from the second logic level to the first logic level; the second switch control circuit is configured to cause the second isolation coupling element to transmit a signal before the first time has elapsed since the input signal transitions from the first logic level to the second logic level. The semiconductor device according to claim 9.
11. the first switch control circuit is configured to promote transmission of a signal through the first insulating coupling element until a third time has elapsed since the input signal transitions from the first logic level to the second logic level and the first time has elapsed; the second switch control circuit is configured to facilitate transmission of a signal through the second isolation coupling element until a fourth time has elapsed since the input signal transitions from the first logic level to the second logic level. The semiconductor device according to claim 9.
12. A first switch element; A second switch element; A first insulating coupling element and a second insulating coupling element; a first control circuit configured to control the first switch element to a conductive state when the first insulating coupling element transmits a signal, and to control the first switch element to a non-conductive state when the first insulating coupling element does not transmit a signal; a second control circuit configured to control the second switch element to a conductive state when the second insulating coupling element transmits a signal, and to control the second switch element to a non-conductive state when the second insulating coupling element does not transmit a signal; a first switch control circuit configured to cause the first isolation coupling element to transmit a signal a first time after an input signal transitions from a first logic level to a second logic level; a second switch control circuit configured to transmit a signal of the second isolation coupling element a second time after the input signal transitions from the second logic level to the first logic level; A semiconductor device comprising:
13. the first switch control circuit is configured to stop transmission of a signal through the first isolation coupling element before the second time has elapsed since the input signal transitioned from the second logic level to the first logic level; the second switch control circuit is configured to stop transmission of a signal through the second isolation coupling element before the first time elapses after the input signal transitions from the first logic level to the second logic level. The semiconductor device according to claim 12.
14. the first switch control circuit is configured to promote transmission of a signal through the first insulating coupling element until a third time has elapsed since the input signal transitions from the first logic level to the second logic level and the first time has elapsed; the second switch control circuit is configured to promote a signal transmission operation of the second insulating coupling element until a fourth time has elapsed since the input signal transitions from the second logic level to the first logic level and the second time has elapsed. The semiconductor device according to claim 12.
Citation Information
Patent Citations
Semiconductor relay
JP1996298447A
Semiconductor relay
JP2006333004A
Insulated signal transmission circuit
JP2007150003A
Solid state relay having non overlapping switch closures
US4647794A
Semiconductor relay
JP1995046109A
Cited By
Semiconductor chip
WO2026204016A1
