<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ep-patent-document PUBLIC "-//EPO//EP PATENT DOCUMENT 1.0//EN" "ep-patent-document-v1-0.dtd">
<ep-patent-document id="EP04250598A1" file="04250598.xml" lang="en" country="EP" doc-number="1445990" kind="A1" date-publ="20040811" status="n" dtd-version="ep-patent-document-v1-0">
<SDOBI lang="en"><B000><eptags><B001EP>ATBECHDEDKESFRGBGRITLILUNLSEMCPTIESILTLVFIROMKCYALTRBGCZEEHU..SK................</B001EP><B005EP>J</B005EP><B007EP>DIM360 (Ver 1.5  21 Nov 2005) -  1100000/0</B007EP></eptags></B000><B100><B110>1445990</B110><B120><B121>EUROPEAN PATENT APPLICATION</B121></B120><B130>A1</B130><B140><date>20040811</date></B140><B190>EP</B190></B100><B200><B210>04250598.2</B210><B220><date>20040204</date></B220><B250>en</B250><B251EP>en</B251EP><B260>en</B260></B200><B300><B310>0302976</B310><B320><date>20030328</date></B320><B330><ctry>GB</ctry></B330><B310>0307217</B310><B320><date>20030210</date></B320><B330><ctry>GB</ctry></B330></B300><B400><B405><date>20040811</date><bnum>200433</bnum></B405><B430><date>20040811</date><bnum>200433</bnum></B430></B400><B500><B510><B516>7</B516><B511> 7H 05B  37/02   A</B511></B510><B540><B541>de</B541><B542>Schalten einer AC Last von mehreren Plätzen aus</B542><B541>en</B541><B542>Multiple location switching of an AC load</B542><B541>fr</B541><B542>Contrôle d'un appareil à courant alternatif depuis plusieurs endroits</B542></B540><B590><B598>1   </B598></B590></B500><B700><B710><B711><snm>Sim, Quan Yee</snm><iid>04690540</iid><irf>DW/RM/02493EP</irf><adr><str>5 Balmoral Road</str><city>Worcester Park,
Surrey KT4 8SR</city><ctry>GB</ctry></adr></B711><B711><snm>Sim, See Lip</snm><iid>04690550</iid><irf>DW/RM/02493EP</irf><adr><str>5 Balmoral Road</str><city>Worcester Park,
Surrey KT4 8SR</city><ctry>GB</ctry></adr></B711></B710><B720><B721><snm>Sim, Quan Yee</snm><adr><str>5 Balmoral Road</str><city>Worcester Park,
Surrey KT4 8SR</city><ctry>GB</ctry></adr></B721><B721><snm>Sim, See Lip</snm><adr><str>5 Balmoral Road</str><city>Worcester Park,
Surrey KT4 8SR</city><ctry>GB</ctry></adr></B721></B720><B740><B741><snm>Weitzel, David Stanley</snm><iid>00037466</iid><adr><str>Brookes Batchellor
102-108 Clerkenwell Road</str><city>London EC1M 5SA</city><ctry>GB</ctry></adr></B741></B740></B700><B800><B840><ctry>AT</ctry><ctry>BE</ctry><ctry>BG</ctry><ctry>CH</ctry><ctry>CY</ctry><ctry>CZ</ctry><ctry>DE</ctry><ctry>DK</ctry><ctry>EE</ctry><ctry>ES</ctry><ctry>FI</ctry><ctry>FR</ctry><ctry>GB</ctry><ctry>GR</ctry><ctry>HU</ctry><ctry>IE</ctry><ctry>IT</ctry><ctry>LI</ctry><ctry>LU</ctry><ctry>MC</ctry><ctry>NL</ctry><ctry>PT</ctry><ctry>RO</ctry><ctry>SE</ctry><ctry>SI</ctry><ctry>SK</ctry><ctry>TR</ctry></B840><B844EP><B845EP><ctry>AL</ctry></B845EP><B845EP><ctry>LT</ctry></B845EP><B845EP><ctry>LV</ctry></B845EP><B845EP><ctry>MK</ctry></B845EP></B844EP></B800></SDOBI><!-- EPO <DP n="8000"> -->
<abstract id="abst" lang="en">
<p id="pa01" num="0001">It is common for lamps to be controlled from two switches so that, for example, a hall light can be turned on and off by either of two switches. There are occasions when it would be desirable for the lamp to be controlled by more switches, for example a switch at both ends of the hall and another on the landing above.</p>
<p id="pa02" num="0002">An electrical switch for AC is disclosed, for connection in parallel with others of the same kind. The switch has an operating member, a controlled switching device and a controller for controlling the time in a cycle from which the switching device conducts. The controller is responsive to the voltage across the switching device to detect a time in a cycle from which the switching device in one of the parallel switches conducts so as to determine whether all parallel switches are idle, that another switch is on, or when it is itself on that another switch has been operated.</p>
<p id="pa03" num="0003">When all parallel switches are idle the controller is responsive to an operating signal produced by operation of the operating member to perform an on function causing the switching device to conduct from a first set time within the cycle. The controller is being responsive to a subsequent operating signal to cause the switching device not to conduct, or to the determination that another switch has been operated to cause the switching device not to conduct. When another parallel switch is on, the controller is responsive to the operating signal to cause the switching device to conduct from a second set time in advance of the first and to perform an off function.</p>
<p id="pa04" num="0004">Installation of the switches is simple since they need only to be connected in parallel at the switch or the light fitting. Each switch can then both turn on the light or turn it off independently.<img id="iaf01" file="imgaf001.tif" wi="75" he="114" img-content="drawing" img-format="tif"/></p>
</abstract><!-- EPO <DP n="1"> -->
<description id="desc" lang="en">
<p id="p0001" num="0001">This invention relates to electrical switches.</p>
<p id="p0002" num="0002">The background to the invention will be described in relation to switches for the control of AC mains lamps. It will be readily understood, however, that the invention is applicable in other fields.</p>
<p id="p0003" num="0003">It is common for lamps to be controlled from two switches so that, for example, a hall light can be turned on and off by either of two switches, one in the hall, the other on a landing on the floor above. The switches operate co-operatively so that either can switch the light on and either can switch it off.</p>
<p id="p0004" num="0004">There are occasions when it would be desirable for the lamp to be controlled by more switches, for example a switch at both ends of the hall and another on the landing above. To achieve that using conventional switches involves complicated wiring and the use of two two-way switches and one or more intermediate switches.</p>
<p id="p0005" num="0005">Some electronic switches provides switching at more than one location by connecting a number of switches to a "controller" which takes the inputs from the various switches and provides the output to control the light. This is expensive and involves more wiring.</p>
<p id="p0006" num="0006">Other electronic switches provide switching at more than one location by providing a 'Master' switch and 'Slave' switches. The Master switch provides the output to control the light and takes inputs from the various slave switches. This is also expensive and involves more wiring.</p>
<p id="p0007" num="0007">Against this background, in accordance with the invention there is provided an electrical switch for AC, for connection in parallel with others of the same kind, comprising: an operating member, a controlled switching device and a controller for controlling the time in a cycle from which the switching device conducts, the controller being responsive to the voltage across the switching device to detect a time in a cycle from which the switching device in one of the parallel switches conducts so as to<!-- EPO <DP n="2"> --> determine whether all parallel switches are idle, that another switch is on, or when it is itself on that another switch has been operated;<br/>
   and when all parallel switches are idle being responsive to an operating signal produced by operation of the operating member to perform an on function causing the switching device to conduct from a first set time within the cycle then being responsive to a subsequent operating signal to cause the switching device not to conduct, or to the determination that another switch has been operated to cause the switching device not to conduct; when another parallel switch is on, being responsive to the operating signal to cause the switching device to conduct from a second set time in advance of the first and to perform an off function. Installation of the switches is simple since they need only to be connected in parallel at the switch or the light fitting. Each switch can then both turn on the light or turn it off independently.</p>
<p id="p0008" num="0008">Preferably, during the on function and/or the off function, the switching device is controlled to gradually increase the conduction period during the cycle.</p>
<p id="p0009" num="0009">In order to provide a dimmer function, the increase or decrease is provided for a time corresponding to the time for which the operating member is operated.</p>
<p id="p0010" num="0010">In another form, the operating member is a movement sensitive switch which produces a operating signal when movement is detected, the controller acting to operate the off function when movement has not been detected for a predetermined period.</p>
<p id="p0011" num="0011">Preferably, the operating member is a touch pad. In other arrangements the operating member is a passive infra red movement sensor, light level sensor, infra red communication link (i.e. as in infra red remote control), wireless, e.g. radio or optical receiver etc.</p>
<p id="p0012" num="0012">The first and second set times are preferably defined by a phase locked loop.</p>
<p id="p0013" num="0013">The phase locked loop preferably has a digital oscillator and a digital phase detector.<!-- EPO <DP n="3"> --></p>
<p id="p0014" num="0014">Embodiments of the invention will now be described, by way of example, with reference to the accompanying drawings, in which:
<ul id="ul0001" list-style="none" compact="compact">
<li>Figure 1 is a state diagram of a switch embodying the invention;</li>
<li>Figure 2 is an exploded pictorial view of the switch of Figure 1;</li>
<li>Figure 3 is a circuit diagram of a control module and switching device of the switch of Figure 1;</li>
<li>Figure 4 is a circuit diagram of an operating member of the switch of Figure 1; and</li>
<li>Figure 5 is a detail of the waveform across the switching device of the embodiment of Figure 1.</li>
</ul></p>
<p id="p0015" num="0015">Referring to the drawings and in particular Figure 3, AC mains supply to a lamp (not shown) is switched by a switching device in the form of pair of back to back thyristors 2 in series with a choke 3 between a live terminal 4 and a load terminal 6. The point at which the thyristors fire in the cycle is controlled by a controller in the form of a micro controller 8 and associated circuitry. A half wave rectifier 10 supplies power to the controller 8 on lines 12 and 14. When power is first applied, a transistor Q1 is off and input to the master reset pin 4 of the controller 8 is logically low. This prevents the micro controller from starting up when the supply voltage is low. As the voltage rises above the breakdown voltage of zener diode D3, The transistor Q1 conducts pulling the voltage at pin 4 to VDD allowing the micro controller to start functioning. This happens when the supply voltage is about 5 V. As a part of the start up routine pin 3 is programmed as an output and logical low. The values of resistors R6 and R8 are chosen so that transistor Q1 remains on until the supply voltage falls to about 2.5 V. If the voltage falls below this threshold transistor Q1 stops conducting, so that the input at pin 4 becomes low and the micro controller shuts down. Temperature sensing is provided by a thermistor 15 in series with a resistor R5. The node between the thermistor and resistor R5 is connected to pin 7 of the controller 8 which switches off when the temperature exceeds a value set by the thermistor and resistor R5<!-- EPO <DP n="4"> --></p>
<p id="p0016" num="0016">During operation an AC reference signal is applied to pin 5 of the controller via resistors R1, R2 and R3. A signal emitted by an operating member, e.g. a touch pad is fed from a connector 16 to pin 2 of the controller 8. Pin 6 of the controller supplies a signal correctly phased to trigger the thyristors 2.</p>
<p id="p0017" num="0017">One of the functions of the controller 8 is to provide a digital phase locked loop, phase locked to the AC mains, and by which four points T0 to T6, are set (see Figure 2).</p>
<p id="p0018" num="0018">In the following phase lock loop routine, the variable TMRO is a number stored by a counter which is incremented by an oscillator; FILL is a number which determines the number of times a FILL or dummy subroutine executes; OSCCAL is a number which sets the frequency of the oscillator; and HALFTIME is a number which is a constant corresponding closely to a half cycle. 
<tables id="tabl0001" num="0001">
<table frame="all">
<tgroup cols="3" colsep="1" rowsep="1">
<colspec colnum="1" colname="col1" colwidth="52.50mm"/>
<colspec colnum="2" colname="col2" colwidth="52.50mm"/>
<colspec colnum="3" colname="col3" colwidth="52.50mm"/>
<tbody valign="top">
<row>
<entry namest="col1" nameend="col1" align="left">1</entry>
<entry namest="col2" nameend="col2" align="left">INITIALISE</entry>
<entry namest="col3" nameend="col3"/></row>
<row>
<entry namest="col1" nameend="col1" align="left">2</entry>
<entry namest="col2" nameend="col2" align="left">SET TMRO = 0</entry>
<entry namest="col3" nameend="col3"/></row>
<row>
<entry namest="col1" nameend="col1" align="left">3</entry>
<entry namest="col2" nameend="col2" align="left">SET FILL = Y</entry>
<entry namest="col3" nameend="col3"/></row>
<row>
<entry namest="col1" nameend="col1" align="left">4</entry>
<entry namest="col2" nameend="col2" align="left">SET OSCCAL = 0</entry>
<entry namest="col3" nameend="col3"/></row>
<row>
<entry namest="col1" nameend="col1" align="left">5</entry>
<entry namest="col2" nameend="col2" align="left">SET HALFTIME = X</entry>
<entry namest="col3" nameend="col3"/></row>
<row>
<entry namest="col1" nameend="col1" align="left">6</entry>
<entry namest="col2" nameend="col2" align="left">FIRST STEP LOCK</entry>
<entry namest="col3" nameend="col3"/></row>
<row>
<entry namest="col1" nameend="col1" align="left">7</entry>
<entry namest="col2" nameend="col2" align="left">Has a 0-1 transition of the mains taken place?</entry>
<entry namest="col3" nameend="col3"/></row>
<row>
<entry namest="col1" nameend="col1" align="left">8</entry>
<entry namest="col2" nameend="col2" align="left">If yes goto 9, if not goto 7</entry>
<entry namest="col3" nameend="col3"/></row>
<row>
<entry namest="col1" nameend="col1" align="left">9</entry>
<entry namest="col2" nameend="col2" align="left">IS TMRO = HALFTIME?</entry>
<entry namest="col3" nameend="col3"/></row>
<row>
<entry namest="col1" nameend="col1" align="left">10</entry>
<entry namest="col2" nameend="col2" align="left">IF YES goto 11, if no goto 9</entry>
<entry namest="col3" nameend="col3"/></row>
<row>
<entry namest="col1" nameend="col1" align="left">11</entry>
<entry namest="col2" nameend="col2" align="left">RUN FILL SUBROUNTINE</entry>
<entry namest="col3" nameend="col3"/></row>
<row>
<entry namest="col1" nameend="col1" align="left">12</entry>
<entry namest="col2" nameend="col2" align="left">SET TMRO = 0</entry>
<entry namest="col3" nameend="col3"/></row>
<row>
<entry namest="col1" nameend="col1" align="left">13</entry>
<entry namest="col2" nameend="col2" align="left">Has a 0-1 transition of the mains taken place?</entry>
<entry namest="col3" nameend="col3"/></row>
<row>
<entry namest="col1" nameend="col1" align="left">14</entry>
<entry namest="col2" nameend="col2" align="left">If yes goto 15, if not goto 13</entry>
<entry namest="col3" nameend="col3"/></row>
<row>
<entry namest="col1" nameend="col1" align="left">15</entry>
<entry namest="col2" nameend="col2" align="left">IS TMRO &gt; HALFTIME</entry>
<entry namest="col3" nameend="col3"/></row>
<row>
<entry namest="col1" nameend="col1" align="left">16</entry>
<entry namest="col2" nameend="col2" align="left">If yes goto SECOND STEP LOCK, if no goto 17</entry>
<entry namest="col3" nameend="col3"/></row>
<row>
<entry namest="col1" nameend="col1" align="left">17</entry>
<entry namest="col2" nameend="col2" align="left">Increment OSCCAL</entry>
<entry namest="col3" nameend="col3"/></row>
<row>
<entry namest="col1" nameend="col1" align="left">18</entry>
<entry namest="col2" nameend="col2" align="left">RUN FILL SUBROUNTINE</entry>
<entry namest="col3" nameend="col3"/></row>
<row>
<entry namest="col1" nameend="col1" align="left">19</entry>
<entry namest="col2" nameend="col2" align="left">SET TMRO = 0</entry>
<entry namest="col3" nameend="col3"/></row>
<row>
<entry namest="col1" nameend="col1" align="left">20</entry>
<entry namest="col2" nameend="col2" align="left">Goto 9</entry>
<entry namest="col3" nameend="col3"/></row>
<row>
<entry namest="col1" nameend="col1" align="left">21</entry>
<entry namest="col2" nameend="col2" align="left">SECOND STEP LOCK</entry>
<entry namest="col3" nameend="col3"/></row>
<row>
<entry namest="col1" nameend="col1" align="left">22</entry>
<entry namest="col2" nameend="col2" align="left">RUN FILL SUBROUNTINE</entry>
<entry namest="col3" nameend="col3"/></row>
<row>
<entry namest="col1" nameend="col1" align="left">23</entry>
<entry namest="col2" nameend="col2" align="left">SET TMRO = 0</entry>
<entry namest="col3" nameend="col3"/></row>
<row>
<entry namest="col1" nameend="col1" align="left">24</entry>
<entry namest="col2" nameend="col2" align="left">IS TMRO = HALFTIME?</entry>
<entry namest="col3" nameend="col3"/></row>
<row>
<entry namest="col1" nameend="col1" align="left">25</entry>
<entry namest="col2" nameend="col2" align="left">IF YES goto 26, if no goto 24</entry>
<entry namest="col3" nameend="col3"/></row>
<row>
<entry namest="col1" nameend="col1" align="left">26</entry>
<entry namest="col2" nameend="col2" align="left">RUN FILL SUBROUNTINE</entry>
<entry namest="col3" nameend="col3"/></row>
<row>
<entry namest="col1" nameend="col1" align="left">27</entry>
<entry namest="col2" nameend="col2" align="left">SET TMRO = 0</entry>
<entry namest="col3" nameend="col3"/></row>
<row>
<entry namest="col1" nameend="col1" align="left">28</entry>
<entry namest="col2" nameend="col2" align="left">Has a 0-1 transition of the mains taken place?<!-- EPO <DP n="5"> --></entry>
<entry namest="col3" nameend="col3"/></row>
<row>
<entry namest="col1" nameend="col1" align="left">29</entry>
<entry namest="col2" nameend="col2" align="left">If yes goto 30, if not goto 28</entry>
<entry namest="col3" nameend="col3"/></row>
<row>
<entry namest="col1" nameend="col1" align="left">30</entry>
<entry namest="col2" nameend="col2" align="left">Is TMRO &gt; HALFTIME?</entry>
<entry namest="col3" nameend="col3"/></row>
<row>
<entry namest="col1" nameend="col1" align="left">31</entry>
<entry namest="col2" nameend="col2" align="left">If yes goto 32, if no goto 33</entry>
<entry namest="col3" nameend="col3"/></row>
<row>
<entry namest="col1" nameend="col1" align="left">32</entry>
<entry namest="col2" nameend="col2" align="left">Increment FILL, goto 34</entry>
<entry namest="col3" nameend="col3"/></row>
<row>
<entry namest="col1" nameend="col1" align="left">33</entry>
<entry namest="col2" nameend="col2" align="left">Decrement FILL, goto 35</entry>
<entry namest="col3" nameend="col3"/></row>
<row>
<entry namest="col1" nameend="col1" align="left">34</entry>
<entry namest="col2" nameend="col2" align="left">If FILL &gt; FILLmax goto 36, if not goto 22</entry>
<entry namest="col3" nameend="col3"/></row>
<row>
<entry namest="col1" nameend="col1" align="left">35</entry>
<entry namest="col2" nameend="col2" align="left">If FILL &lt; FILLmin goto 39, if not goto 22</entry>
<entry namest="col3" nameend="col3"/></row>
<row>
<entry namest="col1" nameend="col1" align="left">36</entry>
<entry namest="col2" nameend="col2" align="left">Let FILL = Y</entry>
<entry namest="col3" nameend="col3"/></row>
<row>
<entry namest="col1" nameend="col1" align="left">37</entry>
<entry namest="col2" nameend="col2" align="left">Decrement OSCCAL</entry>
<entry namest="col3" nameend="col3"/></row>
<row>
<entry namest="col1" nameend="col1" align="left">38</entry>
<entry namest="col2" nameend="col2" align="left">Goto 22</entry>
<entry namest="col3" nameend="col3"/></row>
<row>
<entry namest="col1" nameend="col1" align="left">39</entry>
<entry namest="col2" nameend="col2" align="left">Let FILL = Y</entry>
<entry namest="col3" nameend="col3"/></row>
<row>
<entry namest="col1" nameend="col1" align="left">40</entry>
<entry namest="col2" nameend="col2" align="left">Increment OSCAL</entry>
<entry namest="col3" nameend="col3"/></row>
<row rowsep="1">
<entry namest="col1" nameend="col1" align="left">41</entry>
<entry namest="col2" nameend="col2" align="left">Goto 22</entry>
<entry namest="col3" nameend="col3"/></row></tbody></tgroup>
</table>
</tables></p>
<p id="p0019" num="0019">Starting from an all idle state 20 in which all switches are off, in step 22 the controller continuously monitors the voltage on pin 5 during each positive half cycle. As long as all switches are off, or idle, the voltage V across the switching device is normal mains voltage, i.e. V &gt; 0, and towards the end of the positive half the controller returns to the all idle state 20. In the event that another switch becomes active, the voltage across the switching device is zero, i.e. V = 0, and the controller keeps a record of the time, i.e. T5, and passes to step 32.</p>
<p id="p0020" num="0020">When in the all idle state the switch's own touch pad is operated (touched) in step 24, the controller passes to test state 25 on function state 26 and prepares to turn on at T5 in the next cycle. Immediately before turning on the switching device at T5, i.e. at T4, the controller will monitor the voltage on pin 5 and will proceed to on function 26 to turn on the switching device only if the voltage is not zero, i.e. V &gt; 0, indicating no other device is on. If the voltage is zero, then the controller passes to step 32. The time in the on function when the switching device 2 conducts in the cycle is T5. T5 is a variable determined by the on function or by a dimmer function and lies between T2 and T6, in Fig. 5. T2 and T6 are fixed positions within the positive cycle. The on function could be a gradual increase or decrease in the value of T5 in one alternative, or T5 could remain in one fixed time in another. In either eventuality this turn on time in the positive half cycle is reflected in the negative half cycle.<!-- EPO <DP n="6"> --></p>
<p id="p0021" num="0021">In each positive half cycle, the controller 8 now tests the voltage on pin 5 at T2. If the voltage were zero, this would be a signal that another switch had been operated. If V &gt; 0 the controller returns to state 26. This cycle continues, unless interrupted, completing the on function, when the following half cycles will all fire at T5 = T3.</p>
<p id="p0022" num="0022">If the touch pad is operated again at step 30 when the controller is in the state 26, the controller passes to an off function state 32 in which the conducting time in a cycle of the switching device is reduced to zero, either immediately or over a time period. The controller then returns to the all idle state 20.</p>
<p id="p0023" num="0023">If the voltage in step 22 or step 28 is found to be equal to zero, V = 0, the controller passes to an idle with lamp on state. Thus, from step 22 the controller which is idle notices that another switch is on. From step 28, the switch which turned the lamp on notices that another switch has been operated and itself stops controlling the lamp, leaving it under the control of the newly operated switch.</p>
<p id="p0024" num="0024">If when in the idle with lamp on state 32 the switch's touch pad is operated at step 34, the controller passes to state 36 in which the switching device is turned on at T4 which comes before T5 in a positive half cycle, to let the switch which is controlling the lamp know, operates the turn off function and the controller returns to the all idle state.</p>
<p id="p0025" num="0025">A connector 40 mates with the connector 16 in Figure 3 to receive power on pins 2 and 4. Power on pin 2 is fed back to Figure 3 on pin 1 via the series connected LEDs D1, D2 and D3. The LEDs are used to illuminate the switch so that it can be located in the dark. R5 is connected between pins 2 and 3 and a series of high value resistors R1, R2, R3 is connected between a touch pad 42 and pin 3. When there is no touch on the touch pad, pin 3 of the connector 16 and 40, and thus pin 2 of the controller 8 are at -5V due to the effect of R5. Touching the touch pad 42 pulls the voltage to OV at the time when the controller 8 samples the input at pin 2.</p>
<p id="p0026" num="0026">Referring to Figure 2 the physical realisation of the embodiment is illustrated. An insulating box 50 contains two printed circuit boards 52 and 54. The board 52<!-- EPO <DP n="7"> --> constitutes the circuit shown schematically in Figure 3 and incorporates wire terminals 4 and 6 accessible through slots 56 in an end wall 58 of the box. The board 52 is contained in one side of the box 50 and closed by a cover not shown. The board 54 constitutes the circuit shown schematically in Figure 4 and is accommodated by a recess 60 in the other side of the box 50. The connectors 16 and 40 communicate through a slot 62. This side of the box is closed by an insulating cover 64 which supports a metallic touch pad 66 connected by a conducting spring 68 to a conducting area 70 on the board 54.</p>
<p id="p0027" num="0027">In another embodiment the controller has an on function which gradually increases the brightness of the lamp as long as the touch pad is touched. If the touch pad ceases to be touched before the lamp is fully bright, the controller maintains the level of brightness at which touch ceased. Similarly the off function gradually decreases the brightness of the lamp as long as the touch pad is touched. When the touch pad ceases to be touched before the lamp is fully off, the controller maintains the level of brightness at which touch ceased.</p>
<p id="p0028" num="0028">In yet another embodiment, the operating member is a passive infra red movement detector (PIR). Each movement produces an operating signal to pin 2 of the controller 8 which acts to maintain the lamp on as long as movement is detected within a predetermined period from the last detected movement.</p>
<p id="p0029" num="0029">Generally, there are a number of different functions which may be performed by the operating number. Examples are:</p>
<heading id="h0001"><u>Touch ON Touch OFF</u></heading>
<p id="p0030" num="0030">If the switch, or another switch, is active, activating the touch pad will turn it off. The switch will perform this function by "grabbing" control of the circuit, perform a blink (to indicate it has started to turn it off) and then starts ramping down the light towards switch off.<!-- EPO <DP n="8"> --></p>
<p id="p0031" num="0031">If the circuit is inactive, i.e. all switches are off, then activating the touch pad will turn it on. The switch will simply ramp up the light level from a minimum level to the maximum level gradually.</p>
<heading id="h0002"><u>Time Lag</u></heading>
<p id="p0032" num="0032">If the switch, or another switch, is active, by activating the touch pad the switch will immediately "grab" control of the circuit, ramp up the light level gradually from what ever level it was to a maximum level and starts the count for the timer. When the timer has reached a preset time, the light will blink to indicate that the end of the timed period and then starts ramping down the light towards switch off.</p>
<p id="p0033" num="0033">If the circuit in inactive, i.e. all switches are off, then activating the touch pad will turn it on. The switch will simply ramp up the light level from a minimum level to the maximum level gradually and starts the count for the timer. When the timer has reached a preset time, the light will blink to indicate that the end of the timed period and then starts ramping down the light towards switch off.</p>
<p id="p0034" num="0034">When the switch is already active when the touch pad is activated, the count for the timer will be re-started. Should the touch pad be operated again within 1 second, then the light will blink to indicate that the timed period is doubled.</p>
<heading id="h0003"><u>Touch Dimmer</u></heading>
<p id="p0035" num="0035">If the switch, or another switch, is active, activating the touch pad momentarily will turn it off. The switch will perform this function by "grabbing" control of the circuit, perform a blink (to indicate it has started to turn it off) and then starts ramping down the light from its present level (i.e. whatever level it was at) towards switch off.</p>
<p id="p0036" num="0036">If the circuit is inactive, i.e. all switches are off, then activating the touch pad momentarily will turn it on. The switch will simply ramp up the light level from a minimum level to the preset light level gradually.</p>
<p id="p0037" num="0037">If the touch pad is activated for longer than one second then the light will ramp up (or down) gradually toward maximum, stays there for one second and starts to ramp<!-- EPO <DP n="9"> --> down towards minimum, stays there for one second and starts to ramp up towards maximum and the sequence is repeated until such a time the touch pad is de-activated (i.e. not touched). Whatever the light level was becomes the preset light level for that switch.</p>
<heading id="h0004"><u>PIR Sensor</u></heading>
<p id="p0038" num="0038">In this implementation, the touch pad is replaced by a PIR sensor with daylight sensing facility. When the ambient light level is above a set level, the output is maintained at a high level and when the ambient light level is below that of a set level, the output is maintained at a low level. When a movement is detected, the output changes between levels and settles eventually to the level determined by the ambient light level. The microcontroller will determine when to react to the input signal from the PIR sensor, a "movement" is deemed to be detected if there are more than two transitions within a given period (to cut out false triggering), will turn on the light when the ambient light level is below a given threshold, once turned on, it will remain on until a timed period has expired, the timed period will be re-started if triggered again while active, it will dimmed gradually down to idle at the end of the timed period, it will ramps up slowly to full power when activated.</p>
</description><!-- EPO <DP n="10"> -->
<claims id="claims01" lang="en">
<claim id="c-en-0001" num="0001">
<claim-text>An electrical switch for AC, for connection in parallel with others of the same kind, comprising: an operating member, a controlled switching device and a controller for controlling the time in a cycle from which the switching device conducts, the controller being responsive to the voltage across the switching device to detect a time in a cycle from which the switching device in one of the parallel switches conducts so as to determine whether all parallel switches are idle, that another switch is on, or when it is itself on that another switch has been operated;<br/>
   and when all parallel switches are idle being responsive to an operating signal produced by operation of the operating member to perform an on function causing the switching device to conduct from a first set time within the cycle then being responsive to a subsequent operating signal to cause the switching device not to conduct, or to the determination that another switch has been operated to cause the switching device not to conduct; when another parallel switch is on, being responsive to the operating signal to cause the switching device to conduct from a second set time in advance of the first and to perform an off function.</claim-text></claim>
<claim id="c-en-0002" num="0002">
<claim-text>A switch as claimed in claim 1, in which during the on function and/or the off function, the switching device is controlled to gradually increase/decrease the conduction period during the cycle.</claim-text></claim>
<claim id="c-en-0003" num="0003">
<claim-text>A switch as claimed in claim 2, in which the increase or decrease is provided for a time corresponding to the time for which the operating member is operated.</claim-text></claim>
<claim id="c-en-0004" num="0004">
<claim-text>A switch as claimed in claim 2, in which the operating member is a movement sensitive switch which produces a operating signal when movement is detected, and the controller acting to operate the off function when movement has not been detected for a predetermined period.<!-- EPO <DP n="11"> --></claim-text></claim>
<claim id="c-en-0005" num="0005">
<claim-text>A switch as claimed in any of claims 1 to 3, wherein the operating member is a touch pad.</claim-text></claim>
<claim id="c-en-0006" num="0006">
<claim-text>A switch as claimed in any preceding claim, wherein the first and second set times are defined by a phase locked loop.</claim-text></claim>
<claim id="c-en-0007" num="0007">
<claim-text>A switch as claimed in claim 6, wherein the phase locked loop has a digital oscillator and a digital phase detector.</claim-text></claim>
</claims><!-- EPO <DP n="12"> -->
<drawings id="draw" lang="en">
<figure id="f0001" num=""><img id="if0001" file="imgf0001.tif" wi="158" he="231" img-content="drawing" img-format="tif"/></figure><!-- EPO <DP n="13"> -->
<figure id="f0002" num=""><img id="if0002" file="imgf0002.tif" wi="161" he="231" img-content="drawing" img-format="tif"/></figure><!-- EPO <DP n="14"> -->
<figure id="f0003" num=""><img id="if0003" file="imgf0003.tif" wi="158" he="232" img-content="drawing" img-format="tif"/></figure><!-- EPO <DP n="15"> -->
<figure id="f0004" num=""><img id="if0004" file="imgf0004.tif" wi="146" he="230" img-content="drawing" img-format="tif"/></figure><!-- EPO <DP n="16"> -->
<figure id="f0005" num=""><img id="if0005" file="imgf0005.tif" wi="159" he="212" img-content="drawing" img-format="tif"/></figure>
</drawings><!-- EPO <DP n="9000"> -->
<search-report-data id="srep" lang="en" srep-office="EP" date-produced=""><doc-page id="srep0001" file="srep0001.tif" wi="154" he="231" type="tif"/><!-- EPO <DP n="9001"> --><doc-page id="srep0002" file="srep0002.tif" wi="159" he="230" type="tif"/></search-report-data>
</ep-patent-document>
