The present invention relates to an arrangement for a switch circuit, in particular an improved arrangement for a switch circuit utilising a momentary switch.
Momentary switches are commonly used for turning on and off electrical and electronic equipment. They operate in combination with a switch circuit located on a microcontroller to produce a logic type operation so that when a switch pulse is supplied to a switch circuit, the circuit switches from “off” to “on” or from “on” to “off”. The switch pulse is provided by actuation of the momentary switch which when actuated completes the circuit to provide a pulse to the switch circuit to switch the state of the switch circuit.
It is common practice for a number of different types of electrical and electronic equipment to use only a single momentary switch to switch the equipment both on and off.
However, one of the disadvantages of using a single momentary switch is that, during the off state, it is still necessary for power to be supplied to the switch circuit. This is because it is necessary to maintain a live switch circuit for sensing a switch pulse generated by the momentary switch at any time. Therefore, this power consumption constantly drains the battery or AC power even though the electronic equipment appears to be in an “off” state to a user. This consumption of electrical power is especially important to battery operated equipment such as laptop computers and mobile (or hand) phones where a long battery life is preferable in order to cut down on the need to constantly change or recharge batteries.
The present invention relates to an improved arrangement for a switch circuit which is used for controlling the supply of electrical power from an electrical supply source e.g. a battery to a load. In general terms, the present arrangement for a switch circuit comprises a charge storage element which performs the dual functions of both turning on and turning off the switch circuit.
According to a first aspect of the invention, there is provided a switch circuit comprising
a power supply switch comprising input, output and control terminals, wherein the input terminal of the power supply switch is coupled to the electrical power source and the output terminal of the power supply switch is coupled to the load;
an electronic switching device connected to the control terminal of the power supply switch and having an activating input;
a momentary switch coupled to the activating input of the electronic switching device;
a charge storage element coupled to the momentary switch;
the arrangement being such that
(i) in a first mode, power is supplied to the load by closing the momentary switch to connect the charge storage element to the electronic switching device for a predetermined time in excess of a triggering time of the electronic switching device, the predetermined time being determined by the charge-up time of the charge storage element and triggering of the electronic switching device maintaining the power supply switch in an on state to supply power from the electrical power source to the load; and
ii) in a second mode, the supply of power to the load is stopped by closing the momentary switch to connect the charge storage element to the electronic switching device, the charge storage element providing a signal to turn off the electronic switching device and the power supply switch to cut the supply of power from the electrical power source to the load. In one embodiment, the charge storage element comprises a capacitor.
Preferably, the switch circuit further comprises a charge-up time controller for the charge storage element. The triggering time of the electronic switching device can be adjusted by changing the value of the charge-up time controller. In one embodiment, the charge-up time controller comprises a resistive element.
The charge storage element and the charge-up time controller are preferably disposed in series and across the load.
According to the invention in a second aspect, the arrangement for the switch circuit is implemented as a combination of an integrated circuit with a charge storage element and a momentary switch coupled to the integrated circuit, wherein the integrated circuit comprises a power supply switch and an electronic switching device The activating input of the electronic switching device is adapted for connecting the integrated circuit to a momentary switch. Additionally, the integrated circuit is also provided with means for receiving a supply of electrical power from an electrical power source and a first and second connection means for connecting the integrated circuit to a respective load and a charge storage element.
According to the invention in a third aspect, a momentary switch is coupled to an assembled integrated circuit and packaged integrally with the integrated circuit to form a switching structure. The integrated circuit comprises some or all of the components of a switch circuit (excluding the momentary switch).
Embodiments of the present invention will now be described, by way of example, with reference to the accompanying drawings in which:
As shown in
The electronic switching device 20 comprises an input terminal 7 which is connected to the base of the transistor Q1 via resistor R1, an output 22 coupled to the negative terminal of the battery and an activating input 4 coupled to a first contact 14 of the momentary switch S1. In this embodiment, the electronic switching device comprises second and third bipolar transistors Q2 and Q3 connected as a thyristor device.
Second transistor Q2 is a pnp bipolar transistor. The emitter of the second transistor Q2 is coupled to the base of transistor Q1 via a resistor R1 and to the contact 14 of the momentary switch S1 via a resistor R6. The contact 14 of the momentary switch S1 is also coupled to the base terminal of the second transistor Q2 and to the collector terminal of the third transistor Q3. Third transistor Q3 is an npn bipolar transistor. The base of the third transistor Q3 is coupled to the collector of the second transistor Q2 and the emitter of the third transistor Q3 is coupled to a ground potential 12 via a resistor R2. The collector of the second transistor Q2 is also coupled the ground potential 12 via resistor R3.
Another contact 13 of the momentary switch S1 is coupled to the collector terminal of transistor Q1 via resistor R9 and also to the ground potential via capacitor C2. In this embodiment, resistor R9 and capacitor C2 make up the charge storage and discharge circuit 30.
The positive terminal of the battery 11 is coupled to the emitter terminal of the first transistor Q1 and the resistor R8 while the negative terminal of the battery 11 is coupled to the ground potential 12. However, alternatively, the negative terminal of the battery 11 may be coupled to a floating potential.
In use, the switch circuit 100 operates as follows:
Initially, with the momentary switch S1 in the position shown in
When the switch circuit 100 is in the off state, the only power consumption is a reverse leakage power consumption through the transistors Q1, Q2, Q3 which is virtually negligible compared to the self discharging current of the battery 11.
Accordingly, the initial potential at the points 1, 2, 3, 4, 5, 6, 7, 8 in the circuit 100 and the status of the transistors are as follows:
When the momentary switch S1 is pressed to complete the contacts 13, 14 as shown in
The current through path A is in the form of a pulse which rapidly becomes zero due to the presence of the capacitor C2 which is charged up to a constant value Vs thereby rendering path A open circuit. In
whereby R2//R3 refers to the effective resistance of resistors R2 and R3 which are connected in parallel. When capacitor C2 is charged to a voltage of Vs, this prevents further current from passing through the capacitor C2 and path A becomes open circuit. Therefore, even if momentary switch S1 continues to remain pressed, path A will eventually become open circuit when C2 charges to Vs. As we shall see in the following paragraph, the switch circuit 100 is configured such that the battery 11 continues to deliver electrical power to the load even after capacitor C2 charges to Vs and path A becomes open circuit. Upon deactivation of S1, C2 continues to be charged up through path X to a voltage of about E-0.2V. This is because the voltage drop across the collector-emitter junction of transistor Q1 is typically about 0.2 V when transistor Q1 is in saturation mode.
The second and third transistors Q2, Q3 form a thyristor device which is triggered by the surge current generated in the switch circuit 100 when the momentary switch S1 is actuated. The third transistor Q3 takes its base current from the second transistor Q2 and at the same time, the third transistor supplies the base current to the second transistor Q2. The advantage of using a thyristor device is that once the thyristor device enters a latched on state, it continues to conduct even without current supply at the activating input 4 (either due to the momentary switch being released or capacitor C2 being charged to a constant value Vs). This is because when the thyristor is in the latched on state, the voltage across the base-emitter junction of the second transistor Q2 is maintained forward biased with the third transistor Q3 in saturated mode as illustrated by path C while the voltage across the base-emitter junction of the third transistor Q3 is kept forward biased by the second transistor Q2 operating in saturated mode as shown by path B. In this way, even without current supply at the activating input 4, the combination of the second and third transistors, Q2, Q3 will keep each other conducting as long as the battery 11 is coupled to the emitter of the second transistor Q2, that is the battery 11 is coupled to point 7 in the switch circuit 100. Therefore, once the thyristor device enters a latched on state, the closed circuit path B and path C maintain the forward biasing of the base-emitter junctions of the second and third transistors Q2, Q3 even when path A becomes open circuit. Accordingly, with the thyristor device switched on, the base-emitter junction of the first transistor Q1 is also maintained in a forward biased mode with its base current driven into saturation mode. Therefore, in this state the switch circuit 100 is turned on and power is supplied through the transistor Q1 to the load R5.
However, a sufficient amount of triggering energy must be provided in order for the thyristor device to enter a latched on state and continue to conduct even after path A becomes open circuit. This triggering energy is expressed in terms of the minimum triggering current through transistor Q3 that has to be exceeded in order for the transistor Q3 to remain switched on permanently. The current through transistor Q3 is dependent on its base emitter voltage, that is the voltage across points 5 and 6. Since the voltage at point 5 is dependent on the voltage at point 4, the voltage at point 5 and hence current through transistor Q3 rises as capacitor C2 is being charged up. When capacitor C2 is charged above a certain voltage, the current through transistor Q3 rises above the triggering current required and the transistor Q3 is switched on permanently. Accordingly, this means that switch S1 has to be pressed for a triggering time that is required for the triggering current to be exceeded. In this embodiment, the triggering time is dependent on how fast C2 charges up.
As seen from the above, the supply of electrical power from the battery 11 to a load R5 is activated by pressing switch S1 for a duration that exceeds the triggering time. When switch S1 is actuated to complete the contacts 13, 14, the capacitor C2 is charged up through both paths A and X while paths B and C draw current away from paths A and X. Since C2 is charged through resistor R9 along path X, R9 provides a charge-up time controlling function. The triggering time can thus be adjusted by adjusting the value of C2 and R9. and ideally this should not be too short, in order to prevent misfiring of the thyristor device.
This advantageously allows the triggering time to be pre-fixed as it is independent of the value of any filtering capacitance which is commonly connected in parallel with the load. In our previous PCT application PCT/SG99/00084, a switch circuit was disclosed whereby the triggering time was determined by a capacitor connected in parallel with the load. In this case, the resulting triggering time was difficult to predict as it was not independent of the filtering capacitance.
When the momentary switch S1 is actuated again to complete the contacts 13, 14 (see
As seen from the above, actuating momentary switch S1 momentarily while the switch circuit 100 is in the “on” state switches off the first transistor Q1 and the thyristor device as a reverse bias voltage is established across the first and second transistors Q1, Q2. If momentary switch S1 is not released but continues to remain pressed, the voltage at point 4 will decrease as capacitor C2 starts to discharge. When the voltage at point 4 reaches a sufficiently low level, transistor Q1 will start to conduct again as its base-emitter junction becomes forward biased. Accordingly, power will be supplied to the load R5, although at a lower level since the thyristor is not activated unlike during the “on” state of the switch circuit 100 mentioned in the previous paragraphs. When the momentary switch S1 is finally released, power supply to the load R5 will be cut off as Q1 switches off and any remaining charge in the capacitor C2 discharges through the load R5 and R9. After the capacitor C2 discharges completely, the switch circuit 100 reverts back to the initial off state in which no power is supplied to the load R5 from the battery 11 and the only power consumed by the circuit 100 is the reverse leakage current through the first, second and third transistors Q1, Q3, Q2 which is virtually negligible.
The values of resistor R9 and capacitor C2 are chosen to take into account the need for capacitor C2 to discharge as the switch circuit reverts back to the initial “off” stage where it is able to sense a switch pulse generated by the momentary switch at any time. Therefore the values of R9 and C2 cannot be too large or it will affect the ability of the switch circuit to react to switch pulses. On the other hand, C2 also has to sustain a voltage that is high enough to switch off Q1 and the electronic switching device when a request is made to switch from an “on” to “off” state. In a preferred embodiment of the invention, when the voltage supply is between 1.8 to 10V, the value of resistor R9 is between 22 to 82 k ohms and capacitance of C2 between 200 nF to 10 μF.
A second example of a switch circuit 150 is shown in
The switch circuit 250 permits remote power control from the other remote electronic system 27 and may be used for example, with a multi-unit system. The remote system 27 can switch the switch circuit 250 to the on state by applying a ground potential (or a sufficiently low level voltage) to the signal input contact 24 to forward bias transistor Q2. Alternatively, the remote system 27 can switch the switch circuit 250 to the off state by applying a ground potential signal to signal input contact 16.
In all the switch circuits 150, 200, 250 a momentary switch S1 is still provided which permits a user to manually switch circuits 150, 200, 250 between the off and on states. In the instances where a user wishes to use the momentary switch instead of the electronic equipment 17 or remote system 27 to toggle the switch circuit 150, 200, 250 between on and off states, the electrical connection between the electronic equipment 17 and the signal input contact 16, 24 is maintained at a high impedance. Alternatively, it is also possible to disable the momentary switch S1 and rely on the remote system 27 to control the toggling of the switch circuit. In this case, if the control signal is applied at the signal input contact 16, maintaining a sufficiently high potential at signal input contact 16 keeps the switch circuit in an “on” state as the base-emitter junction of transistor Q3 is forward biased while maintaining a ground potential reverse bias the base-emitter junction of transistor Q3 and the switch circuit remains turned off. As for signal input contact 24, maintaining a ground potential at signal input contact 24 keeps the switch circuit in an “on” state as the base-emitter junction of transistor Q2 is forward biased while maintaining a high potential reverse bias the base-emitter junction of transistor Q2 and the switch circuit remains turned off.
As an alternative to the remote system being connected to separate input contacts 16, 24 it is possible that the remote system 27 could be connected by a single line to either the switch circuit 150 or the switch circuit 200. In the case of the switch circuit 150, the remote system 27 would switch on the circuit 150 by supplying a sufficiently high voltage level to the signal input contact 16 and switch off the circuit 150 by applying a ground potential to the signal input contact 16.
Where the remote system 27 is connected to signal input contact 24 in circuit 200, the remote system 27 would switch on the circuit 200 by applying a ground potential to the signal input contact 24 and switch off the circuit 200 by applying a sufficiently high voltage level to the signal input contact 24 to reverse bias the first and second transistors Q1, Q2.
Although the switches 100, 150, 200, 250 are shown controlling the supply of power from a battery 11 to load R5 or electronic equipment 17, 26, the circuits could also be used to control the supply of power from a rectified AC supply and from an AC main supply to electronic equipment having a heavy power consumption.
The embodiments described lend themselves to integrated circuit implementation, with most of the components assembled together on an integrated circuit. The remaining components of the switch circuit are connected to the integrated circuit via connection means provided on the integrated circuit. Furthermore, the integrated circuit may also be provided with means for connecting to an electrical power source and/or a load. In one embodiment, the integrated circuit is encapsulated in an electrically insulating material and with the connection means on the integrated circuit electrically coupled e.g. by wire bonds or flip chip connections to one end of the connection leads located on the surface or extending outwards of the encapsulating material. The connection leads provide electrical connection to the devices located outside of the integrated circuit. In a preferred embodiment, the switch circuit is implemented with the first transistor Q1, resistor R9 and electronic switching device 20 assembled on an integrated circuit. The capacitor C2, momentary switch S1, electrical power source 11 and load R5 are then connected to the integrated circuit via connection means provided on the integrated circuit. The momentary switch S1 and capacitor C2 are connected in series so that when the momentary switch is actuated, capacitor C2 is coupled to the activating input 4 of the electronic switching device. In this case, since resistor R9 is located within the IC, the triggering time of the resulting switch circuit is adjusted by varying the value of the externally located capacitor C2.
In addition to the above, the integrated circuit assembled may also be provided with connection means which allow the switch circuit to be switched on or off remotely via the electronic equipment being switched 17 or a remote system 27. In one embodiment, the connection means is coupled to the electronic switching device at the signal input contacts 16 or 24 so that the electronic switching device and hence the switch circuit may be selectively switched on or off remotely. Therefore, a user of the integrated circuit has the option of either using a momentary switch or remote system in combination with the integrated circuit.
Since the momentary switch returns to its normally open position when released, it is conventionally implemented with a relay or microcontroller which ensures continued power delivery to the load even after the switch is released. In accordance with a third aspect of the present invention, a momentary switch 520 is packaged together with an integrated circuit 510 to produce a switching structure 500 shown in FIG. 10. The integrated circuit comprises some or all of the components of a switch circuit (excluding the momentary switch) used for controlling the supply of electrical power from an electrical power supply to a load. The momentary switch 520 is electrically coupled to the integrated circuit via connection means provided on the integrated circuit 510 thereby providing a stand alone momentary switch which is able to latch onto an “on” state without the assistance of a relay or microcontroller. Examples of switch circuits which are applicable include both the embodiments encompassed by the present invention as well as those of our previous PCT application PCT/SG99/00084. The elimination of a microcontroller also advantageously reduces the “off” state power consumption since the embodiments of the switch circuit in both the present invention and that of PCT application PCT/SG99/00084 do not require a live switch circuit for sensing a switch pulse generated by actuating the momentary switch.
The switch circuit described in FIGS. 1 to 9 comprises a charge storage element which performs the dual functions of turning on and off the switch circuit while in the switch circuit of PCT/SG99/00084 separate modules are required. Specifically, for the switch circuit of PCT/SG99/00084 a pulse generation device which comprises a capacitor and resistor connected in parallel is used for turning on the switch circuit while a charge storage device comprising a capacitor is used for turning off the switch circuit. Preferably the power supply switch Q1 and electronic switching device 20 which are common to both switch circuits are assembled on the integrated circuit 510 of the switching structure 500. The combination of the power supply switch Q1 and electronic switching device 20 form an electronic latching switch which switches between a conductive and non-conductive mode in response to an actuation of the momentary switch. Meanwhile, the charge storage element, charge storage device and at least a portion of the pulse generation device are preferably located outside of the switching structure 500 with connection means being provided to connect them to the integrated circuit. In one embodiment where the switching structure 500 is based on the switch circuit of PCT/SG99/00084, the pulse generation device is arranged with the resistor located on the integrated circuit 510 and the capacitor located outside the switching structure. In this way, the switching structure 500 in combination with the externally coupled components form a switch circuit.
In a preferred embodiment, the integrated circuit 510 packaged with the momentary switch 520 includes the first transistor Q1, resistor R9 and electronic switching device 20 as well as means for connecting the momentary switch 520, a capacitor C2, an electrical power source 11 and a load R5 to the integrated circuit. The integrated circuit 510 is mounted on a lead frame 530 with the leads of the lead frame 530 providing electrical connection between the integrated circuit 510 and the external devices. An electrically insulating housing 540 encapsulates the integrated circuit 510 with the momentary switch 520 protruding out of the housing 540 so that it can be actuated externally by a user. Although the switch structure 500 shown in
An integrated circuit and switch structure as described above used in a wide range applications such as in battery operated devices or even in conjunction with a microprocessor to reduce the off-state power consumption of the microprocessor.
While the invention has been particularly shown and described with reference to various embodiments, it will be recognised by those skilled in the art that modifications and changes may be made to the present invention without departing from the scope thereof. The scope of the invention should therefore be determined not with reference to the above description but with reference to the appended claims.