The present invention relates to an electronic circuit and a technique for testing the electronic circuit.
Along with a refinement of a manufacturing technique of an electronic circuit and high integration of an element, signal interference between wires, dynamic power change, and noise are generated. Therefore, there are problems that the reliability of a signal is reduced, and the performance of the entire chips is degraded.
To solve the problems related to the power source, Patent Literature 1 discloses a method of inserting a power control circuit, such as a regulator, between a power source and a circuit to be tested and reducing fluctuation (vibration) of power.
Meanwhile, FIG. 1 of Patent Literature 2 describes a configuration including dual-system power input terminals to allow selecting whether to supply power to a main circuit through a power control circuit or whether to supply power to a main circuit without using the power control circuit.
However, in the electronic circuit described in Patent Literature 1, power is supplied to power line VDD1 in the actual operation of the electronic circuit after shipment. Therefore, power consumption of the chip may increase in the electronic circuit described in Patent Literature 1 during the actual operation of the electronic circuit. This is due to the reason that at least a leak current always flows into the control circuit for power and the auxiliary circuit.
To achieve low power consumption and power stabilization, as required, one approach that can be contemplated would be to separately prepare a chip that includes a power control circuit, as shown in
However, separate masks need to be prepared to prepare different kinds of chips varieties, and the development cost increases. Therefore, only a chip that includes a power control circuit as shown in
Meanwhile, according to the electronic circuit described in Patent Literature 2, whether to supply power to the main circuit through the power control circuit or whether to supply power to the main circuit without using the power control circuit can be selected. However, it is not possible to detect to which power input terminal the power source is connected in order to control the mode of the power control circuit in accordance with the detected result.
An object of the present invention is to provide a technique for reducing power consumption in an electronic circuit during the actual operation by automatically determining the state of power supply and by controlling the power control circuit based on the state.
To attain the object, the present invention provides an electronic circuit comprising: a first power line capable of supplying power; a second power line capable of supplying power independently from the first power line; a main circuit connected to the second power line; a detector that detects the supply of power from the first power line or the second power line; and a controller connected to the first power line and the second power line, wherein the controller controls a voltage or a current supplied from the first power line and supplies the voltage or the current to the main circuit when the detector detects supply of power from the first power line.
The present invention provides a circuit apparatus comprising electronic circuits that share the first power line.
The present invention provides a control method of an electronic circuit, the method comprising the steps of: (a) detecting the supply of power from a first power line capable of supplying power or a second power line capable of supplying power independently from the first power line; and (b) controlling a potential or a current supplied from the first power line and supplying the potential or the current to a main circuit when supply of power from the first power line is detected at detecting step (a).
According to the present invention, an electronic circuit can automatically determine the state of power supply and control the voltage/current based on the state.
A first exemplary embodiment for carrying out the present invention will be described in detail with reference to the drawings.
External terminals T1 and T2 are arranged at ends of power lines VDD1 and VDD2 as necessary to connect an external power source. Input terminals of control circuit 10 and auxiliary circuit 30 are connected to external terminal T1 through power line VDD1. An output terminal of control circuit 10 and an input terminal of main circuit 20 are connected to external terminal T2 through power line VDD2.
Output terminals of main circuit 20 and auxiliary circuit 30 are connected to a ground terminal (GND).
Control circuit 10 is a circuit for controlling the voltage/current supplied to main circuit 20 and includes detection element 101 (detector) and control element 102 (controller).
Power lines VDD1 and VDD2 serve as inputs of detection element 101, and detection element 101 detects connection of an external power source to either external terminals T1 or T2. For example, detection element 101 detects connection of an external power source when a voltage greater than a predetermined value is applied to external terminal T21. Detection element 101 outputs the detected result to control element 102 as a control signal.
When detection element 101 detects connection of an external power source to external terminal T1, control element 102 receives a control signal from detection element 101 and controls the voltage/current supplied to main circuit 20. Control element 102 is, for example, a regulator.
When detection element 101 detects connection of an external power source to external terminal T2, control element 102 receives a control signal from detection element 101 and enters a blocked state, in which a current does not flow in a direction from VDD2 to VDD1. This can prevent leak current from flowing through control element 102, auxiliary circuit 30, and the like and reduce power consumption.
Main circuit 20 is a circuit to be tested. Auxiliary circuit 30 is a circuit connected to power line VDD1, other than main circuit 20. Auxiliary circuit 30 is, for example, a BIST (Built In Self Test) circuit that has a tester function. A test pattern indicating an execution procedure of a test for main circuit 20, a circuit that compares a reference value and a measurement value, and the like are incorporated into the BIST circuit.
A method of performing a predetermined test for chip 1 will be described with reference to
The potential of external terminal T1 becomes greater than a predetermined value when power apparatus PS is connected to external terminal T1. Therefore, control element 102 controls the voltage/current supplied to main circuit 20 based on the output of detection element 101.
When the power supply by power apparatus PS is started, the test for main circuit 20 is performed in accordance with the test pattern incorporated into auxiliary circuit 30. The vibration of the power source is reduced by the action of control element 102. Therefore, the operator can accurately and efficiently perform the test.
With reference to
Meanwhile, if external terminal T2 and detection element 101 are not arranged as shown in
Although auxiliary circuit 30 is provided in the present exemplary embodiment, if the purpose is just to improve the reliability of the power source, then auxiliary circuit 30 does not need to be provided, as shown in
Although control circuit 10 includes only detection element 101 and control element 102 in the present exemplary embodiment, it is obvious that other devices can be arranged on control circuit 10.
Although a regulator is illustrated as control element 102 in the present exemplary embodiment, another device may be used as control element 102 if a function of controlling the power supplied by power line VDD2 is included.
Although the power source is connected to power terminal T2 during actual operation of the chip in the present exemplary embodiment, the operator may connect the power source to power terminal T1 even during the actual operation if the reliability of the power source needs to be improved.
Although control element 102 supplies a controlled power source to main circuit 20 through power line VDD2 in the present exemplary embodiment, control element 102 may supply controlled voltage/current to main circuit 20 without involving power line VDD2.
As described, according to the present exemplary embodiment, control element 102 is controlled by using detection element 101 that automatically determines from among which of power line VDD1 (first power line) and power line VDD2 (second power line) the power is supplied. Therefore, an operation state, in which control element 102 automatically reduces the power fluctuation, can be set when the power is supplied from power line VDD1, and control element 102 can be automatically put into a blocked state when the power is supplied from power line VDD2. As a result, a leak current flowing into control element 102 and the like can be prevented, and power consumption can be reduced when power is supplied from power line VDD2.
Detection element 101 detects connection of an external power source when voltage greater than the predetermined value is applied to power line VDD1. Therefore, the configuration of detection element 101 can be simple.
Since chip 1 includes auxiliary circuit 30 for conducting a test, the test for chip 1 is facilitated.
Control circuit 10 can control the power if the power is supplied to power line VDD1. Therefore, the user can perform a predetermined test for main circuit 20 to control the power.
When chips are tested, the number of channels of the power apparatus necessary for the tests can be reduced if external terminal T1 (power line VDD1) of each chip is short-circuited and connected to the power source. The chips can be simultaneously tested, and the time required for the tests can be reduced. As a result, the cost for the tests is reduced.
When chips are tested, the operator can perform more accurate test for each chip if the power source is connected to each external terminal T1 (power line VDD1).
A second exemplary embodiment will be described with reference to
The operator can connect the power source to external terminal T1 before the separation of wafer W into chips, and the test system can simultaneously test the chips as shown in
Alternatively, the power source can be connected to each external terminal T1 as shown in
As described, according to the present exemplary embodiment, the formation of the chips on wafer W can reduce the manufacturing cost, compared to when the chips are individually manufactured.
The cost of the tests can be reduced by performing the tests by supplying the power source to power line VDD1 through external terminal T1 before the separation of wafer W into chips.
The chips are more accurately tested by performing the tests by supplying the power source to each power line VDD1 through each external terminal T1 after the separation of wafer W into chips.
A third exemplary embodiment will be described with reference to
Control element 102b controls the voltage and the like to main circuit 20 when detection element 101 detects connection of an external power source to external terminal T1 and when voltage greater than a predetermined value is applied to external terminal T3. For example, voltage greater than the predetermined value is applied to external terminal T3 when the user performs a predetermined operation.
Control element 102b does not apply a current from external terminal T2 to external terminal T1 when the external power source is not connected to external terminal T1 or when voltage greater than the predetermined value is not applied to external terminal T3.
As described, according to the present exemplary embodiment, chip 1b controls the voltage and the like to main circuit 20 when detection element 101 detects connection of an external power source to external terminal T1 and when voltage greater than the predetermined value is applied to external terminal T3. Therefore, as a result of the application of voltage to external terminal T3, the test system can start the test at arbitrary timing, and the test is facilitated.
A fourth exemplary embodiment will be described with reference to
Differential amplifier 103, activated by a power source connected to power line VDD1, amplifies a voltage difference between predetermined reference voltage Vref and voltage applied to external terminal T2 and outputs the voltage difference to driver transistor 104. Differential amplifier 103 is, for example, a non-inverting amplifying circuit, in which reference voltage Vref is applied to non-inverting input terminal (+), an inverting effective terminal is connected to external terminal T2 through power line VDD2, and an output terminal is connected to driver transistor 104. Differential amplifier 103 amplifies the voltage difference between reference voltage Vref and the voltage at external terminal T1 to set reference voltage Vref to a voltage at a value sufficient to drive driver transistor 104.
Driver transistor 104 is a transistor that turns on when the voltage amplified by differential amplifier 103 is greater than a predetermined value. Driver transistor 104 is, for example, an N-type field effect transistor (FET), in which gate terminal (G) is connected to differential amplifier 103, source terminal (S) is connected to power line VDD1 (external terminal T1), drain terminal (D) is connected to inverting input terminal (−) of differential amplifier 103, and a back gate terminal is connected to a ground terminal.
An operation of chip 1c when the power source is not connected to external terminal T2 but is connected to external terminal T1 will be described. In this case, differential amplifier 103 is activated to amplify the voltage difference between the voltage at external terminal T2 and reference voltage Vref. As a result, the output voltage of differential amplifier 103 becomes greater than the pinch-off voltage, and driver transistor 104 is turned on. Driver transistor 104 then operates as a regulator. More specifically, driver transistor 104 controls gate-source voltage (Vgs) in accordance with the voltage difference between the gate voltage, i.e. voltage at external terminal T2, and reference voltage Vref.
Power line VDD2 becomes a floating node when driver transistor 104 is driven, and the voltage is not determined However, the output (drain terminal) of driver transistor 104 is fed back to differential amplifier 103 through inverting effective terminal (−) of the differential amplifier. Therefore, the entire control circuit 10 is operated so that the potentials of reference voltage Vref and gate-source voltage (Vgs) become the same. If the voltage in power line VDD2 fluctuates, driver transistor 104 operates to cancel the fluctuation. Therefore, control circuit 10 can supply stable power to main circuit 20 through power line VDD2.
An operation of chip 1c when the power source is not connected to external terminal T1 but is connected to external terminal T2 will be described in accordance with the voltage level applied to external terminal T2.
A case in which voltage (Vvdd2) in power line VDD2 (external terminal T2) is higher than voltage (Vvdd1) in power line VDD1 (external terminal T1) will be described (Vvdd2>Vvdd1). In this case, source-gate voltage (Vgs) of driver transistor 104 is not greater than 0 (V), and driver transistor 104 is turned off The reason why source-gate voltage (Vgs) of driver transistor 104 is not greater than 0 is because the power source of differential amplifier 103 is power line VDD1, and source-gate voltage (Vgs) is not greater than Vvdd1.
Power line VDD1 becomes a floating node when a power source is connected to external terminal T2. Therefore, voltage (Vvdd2) in dd1 power line VDD2 (external terminal T2) may be lower than voltage (Vvdd1) in power line VDD1 (external terminal T1) (Vvdd2<Vvdd1). Even in this case, driver transistor 104 is turned off if the following Expression (1) is satisfied. Therefore, a blocked state is set, in which main circuit 20 is blocked from control circuit 10.
Vgs<Vvdd2+Vth (1)
In Expression (1), Vth denotes a threshold of a voltage that drives driver transistor 104.
Driver transistor 104 is turned on if the following Expression (2) is satisfied, and a current flows from power line VDD2 to power line VDD1. However, since power line VDD1 is a floating node, current flows only by the amount of accumulated charge in a parasitic capacitor. As a result, main circuit 20 enters the blocked state after current has flowed trough main circuit 20 in accordance with the amount of charge, even if Expression (2) is satisfied.
Vgs>Vvdd2+Vth (2)
In this way, driver transistor 104 is turned off unless the power source is connected to external terminal T1, and current does not flow from power line VDD2 to power line VDD1. Therefore, control circuit 10 can block main circuit 20.
Although only differential amplifier 103 and driver transistor 104 are arranged in control circuit 10 in the present exemplary embodiment, it is obvious that other devices can be set to the control circuit. For example, P-type field effect transistors 105 and 106 can be inserted to both ends of driver transistor 104 as shown in
Although an N-type field effect transistor is used as driver transistor 104 in the present exemplary embodiment, it is obvious that a P-type field effect transistor, a bipolar transistor, and the like can be used.
As described, according to the present exemplary embodiment, differential amplifier 103 (detector) in chip 1c (electronic circuit) amplifies the voltage difference between the voltage in power line VDD2 (second power line) and the predetermined reference voltage if voltage greater than the predetermined value is applied to power line VDD1 (first power line).
If the voltage difference amplified by differential amplifier 103 is greater than the predetermined value, driver transistor 104 (controller) controls the voltage/current supplied to the main circuit in accordance with the amplified voltage difference. Therefore, power is not consumed by the control circuit during the actual operation if power is supplied to the first power line during the test and supplied to the second power line during the actual operation, and thus power consumption of the electronic circuit is reduced.
Driver transistor 104 generates reverse bias in the direction from external terminal T1 to external terminal T2. Therefore, current does not flow into control circuit 10 even if the power source is connected to external terminal T2, and thus consumed power is reduced.
This application claims the benefit of priority based on Japanese Patent Application No. 2009-027205 filed Feb. 9, 2009, the entire disclosure of which is hereby incorporated by reference.
Number | Date | Country | Kind |
---|---|---|---|
2009-027205 | Feb 2009 | JP | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/JP2010/051895 | 2/9/2010 | WO | 00 | 9/22/2011 |