LOCAL CONTROL SYSTEM FOR DOMESTIC APPLIANCES AND ALARM DEVICES

Abstract: A local control system for machines, apparatus, alarm devices, sensors and similar system loads (11) in a home comprises a central unit (10) and a two-wire bus line (13) interconnecting the central unit and the system loads. The respective system load (11) is connected to the bus line (13) via a terminal unit (12). In dependence on a voltage signal emitted by the central unit (10) and being unique for each respective terminal unit said terminal unit connects the system load (11) to the line (13) or disconnects the load. The central unit detects changes in status of the bus line current and determines out of the said changes the status of the system load (11). For example, the status may be a receipt of the connection of an alarm loop, an indication of the breaking of an alarm loop or an indication of the measurement value of a connected sensor.

Description: Local control system for domestic appliances and alarm devices The present invention relates to a local control system for machines, apparatus, alarms, sensors and similar system loads in a home. In particular the invention relates to such a system as defined in the preamble of claim 1. The primary object of the invention is to provide a local system of the kind indicated which permits one or two-way communication between a central unit and peripheral units connected to the central unit by a two-wire bus line. In one-way communication, for example, a range or a washing machine connected to the system can automatically be switched on or off. In two-way communi¬ cation an alarm loop can be conneced by a control signal transmitted from the central unit and the change in the current level on the bus caused by the connection of the loop gives a current response which constitutes a message from the peripheral unit to the central unit. A local system of the kind indicated is know from the published Inter¬ national Patent Application WO-81/02962. In this system the central unit com¬ prises generating control signals which consist of a repetitive series of signal frames, each frame including a reset pulse and a plurality of other pulses. The central unit includes control means which causes selectable alteration of a characteristic of said other pulses. Each of said peripherial units is addressed following receipt of a respective predetermined number of said other pulses, said pheripheral units being responsive to said selectable characteristic of the other pulses whereby control instructions are transmitted to address peripheral units in accordance with operation of said control means. Data and address information are contained within the same other pulse. According to the system described above all peripheral units are addressed in a predetermined order and a reset pulse is required to . reset counters and the like in the perpheral units. A draw-back in the system described is that a selected peripheral unit cannot be addressed directly but only following the predetermined order. The system of the present invention differs from the system described above in that addressing is performed by a pulse train starting with an address part to which a data part is connected which may contain an instruction. Such an arrangement belongs to the prior art and starting from this arrangement a special object of the invention is to permit under certain circumstances a perpheral unit to receive a signal and to transmit part of it to an additional local system connected to the said peripheral unit or to a manual control unit connected to the system of which said perpheral unit is part. The special object is met with in a system having the characterizing features indicated in claim 1. Preferred embodiments appear from the appending sub-claims. The invention will now be described more in detail in connection with the appending drawings. In Fig. 1 a block diagram is shown of a local system. Fig. 2 shows a block diagram of a current measuring device and Fig. 3 is a graph relating to the block diagram of Fig. 2. Figs. 4 and 5 are examples on various system loads connected to the system via coupling devices called terminal units. Fig. 6 is a block diagram of a terminal unit. Fig. 7 is a circuit diagram for a manual control unit interconnected with a terminal unit, and Fig. 8 is a graph relating to the circuit diagram of Fig. 7. As appearing from Fig. 1 the local system consists of two main parts, the central unit 10 and a plurality of system loads 11. The system loads are connected to the system via so-called terminal units 12, which are constituted of a standardized coupling device admitting the selective connection and dis¬ connection of a system load. A two-wire bus line 13 interconnects the terminal units with the central unit. The central unit includes a microprocessor or CPU 14 and a memory unit 15. The CPU is the brain of the system which controls the power supply of the bus line 13 via a drive unit 16. Via the drive unit also control signals are sent to the terminal units 12 for connecting or disconnecting of the respective system load. A current measurement unit 17 is connected to the bus for measuring of current variations occuring on the bus line. The measurement results are transferred to the CPU. Moreover, a timer unit 18 is connected to the CPU, said timer unit generating the clock pulses needed and in addition performing real time measurements. The central unit is supplied from a power supply 19. A battery-equipment reserve power unit 20 maintains the power supply during a predetermined time in case of mains failure. The changes in current of the two-wire bus 13 can be measured in different ways, one of which will be described with reference to Figs. 2 and 3. In the central unit one conductor of the bus line is terminated by a series resistor 21 across which a voltage U R appears which corresponds to the line current I. This voltage is transferred to the input U. of an A/D converter 22 which emits at its output an output signal S D being a digital measure of the voltage U R . This signal S j - j is transferred to the CPU 14. In order for the measurement to be made over a large range with sufficient accuracy and with a limited word length of the digital signal S D the meaasuring range has been split up into a plurality of part ranges, in the example 16 part ranges. The CPU selects the measuring range such that the maximum change in the current I will be achieved within the same measuring range. The characteristic of the A/D converter 22 is illustrated in the graph of Fig. 3, wherein a number of linear current parts have been traced. These current parts represent the different measuring ranges and have been numbered 1-16. Hence, for the current I p the measuring range No. 5 is chosen causing the point P to be situated so that the maximum change Δ I in the current I within the measurement range can be detected. A signal corresponding to the selected measuring range is transferred to a D/A converter 23 which emits a corre¬ sponding reference voltage U - to the A/D converter 22. As appears in Figs. 4 and 5 various system loads can be connected to the system. Fig. 4 illustrates the connection of a relay 24 which controls the switching on and off, respectively, of a lamp 25 connected to the mains via a relay contact 24a and a connecting plug 26. Fig. 5 shows the connecting of an alarm loop comprising contacts 27-28 in series with a resistor 29. With the contacts closed the connecting of the loop causes a first current response whereas with any of the contacts being open the current response will take a different value. An important component of the system is the standardized terminal unit 12 which will now be described with reference to Fig. 6. The unit is connected to the bus line 13 via conductors 30,31 connected to an input circuit 32 being of the discriminator type. The duty of the input circuit is to separate the supply voltage of the bus line from signals transmitted on the line. Moreover, the input circuit should be designed such that the separated supply voltage appears with un¬ equivocal polarity even in case of the conductors 30,31 being shifted. Therefore, the input circuit comprises a rectifier bridge. Via conductors 33, 34 the signal outputs of the input circuit are connected to a shift register 35 the parallel outputs of which being connected to a comparator 36. To the comparator is also connected an adress unit 37 comprising fixed addresses assigned to the outputs A and B of the terminal unit. The addresses can be in the shape of address plugs insertable in corresponding sockets in the terminal unit thereby connecting predetermined inputs of the comparator to earth potential. In connecting or disconnecting one of the outputs A or B a corresponding signal is transmitted from the central unit. The signal comprises a seven bit address code followed by a data part with an instruction to connect or disconnect the said output. In the comparator the address code is compared with the fixed address relating to the selected terminal unit and equality between the address code and the fixed address form together with the data part a logical condition for the connecting or disconnecting of the selected output. Any detailed description of the design of the terminal unit in this respect will not be given. In order to give instructions to the system as well as to receive information from the system about various system parameters there is provided a manual control unit. This unit, having the reference numeral 38, is shown in Fig. 7 and comprises a keyboard 39 and a line display 40. For the purpose of being connectable to the two-wire bus at any point the manual control unit is provided with a built-in terminal unit 41. This terminal unit has a design which is mainly the same as for the unit 12 of Fig. 6, however, in addition to the outputs A and B the terminal is provided with additional outputs SOA and SOB and with a data output D. The outputs A and B are being used for the connection of alarm loops, machines and similar system loads whereas the outputs SOA and SOB, being serial outputs, are intended for the transfer of information to or from the manual control unit or, for example, another local system. The manual control system of Fig. 7 has an input circuit 42 which is arranged to convert the supply voltage of the bus line to supply voltages suitable for the unit, in the example +5V and +20V. The input circuit 42 corresponds to the input circuit 32 being part of the terminal unit shown in Fig. 6. Data signals appearing on the bus line are transferred to the terminal unit 41 via a conductor 43. As before, the terminal unit is provided with fixed adresses for the outputs A and B, said addresses being referred to by address A and address B, respectively. The activating of a manual control unit can be made in different ways and in the following a preferred embodiment will be described wherein for all connected manual control units, in the example 4 units, the address A and the address B are the same, whereas a separate select function has been introduced which has a unique programming for each of the manual control units. The select function comprises a select register 44 having four outputs A, B, C, D which via a selector 45, can be selectively connected to a point 46 which via a resistor 47 is connected to earth potential. In addition, the point 46 via a conductor 48 is connected to one input of an AND-gate 49, the inverting output of which via a resistor 50 being connected to the supply voltage 20V. Via a circuit consisting of a resistor 51 and a capacitor 52 the second input of the AND-gate 49 is connec¬ ted to the output of an inverter 53 the input of which being connected to a conductor 54 interconnecting one side of a number of contacts 55 included in the keyboard 39 in the manual control unit. The object of the circuit including the resister 51 and the capacitor 52 is to eliminate the effect of key contact bounces. Further, the conductor 54 via a resistor 56 is connected to the supply voltage 20V. At their opposite ends the contacts 55 are connected to outputs A through L of a shift register 57. The register has a data input D connected to the output DATA of the terminal unit 41, an inverting input CLK connected to the output SOB of the unit 41, and an inverting reset input R connected to the output B of the unit 41. The line display 40 of the manual control unit is controlled by a control circuit 58 of the type 7225. One input SI of the control circuit is connected to the data output of the terminal unit 41. An inverting clock input of the circuit 58 is connected to an AND-gate 59 one input of which being connected to the output SOA of the terminal unit whereas the second input is connected to the conductor 48. Finally, the select register has an inverting clock input connected to the output of an AND-gate 60. Of this gate one input is connected to the SOB- output of the terminal unit 41 while the second input of the gate, which is an inverting input, is connected to the output B of the unit 41. The selection of a manual control unit takes place in the following way. As mentioned above, all manual control units have the same address while the programming of the select function is different. At rest the select register 44 is filled with ones, i.e. all manual control units connected to the system are activated. If now any of the keys 55 is operated, the input of the inverter 53 will go low which means that one input of the AND-gate 49 will go high. As the select register 44 is filled with ones all outputs A-D have high potential causing also the second input of the AND-gate 49 to be at high potential. Then the output of the gate 49 will go low and current will flow through the resistor 50 and a change in current will appear on the two-wire bus line. This change in current is detected in the central unit which emits a signal filling the select register 44 with zeros until the change in current ceases. Then, the CPU 14 in the central unit knows in which one of the manual control units the operated key 55 is to be found. After that the select register is filled with a code only selecting the manual control unit in which the key was operated. Keyboard scanning and activation of the line display will now be described with reference to the time graph shown in Fig. 8. In the graph there are indicated in turn the current I in the bus line, the signals on the line and status at the outputs SOB and B, respectively, of the terminal unit. Comments relating to the various signals have been inserted in the graph. Upon a key 55 being operated in the manual control unit an increase in the current I takes place which is detected by the central unit. As described above, a select signal will then be transmitted on the line which scans the select register and which upon the right manual control unit being found fills the register with the right code. After the select signal a signal follows which activates the B- output and then a signal for scanning of the keyboard. Via the data output of the terminal unit this signal is supplied to the data input of the shift register 57 and is clocked into the register by means of a clock signal appearing at the SOB- output of the terminal unit. This will be possible as the output B is at a high level and hence the reset input of the shift register 57 is at a low level. When the operated key has been found there is a short return to the current level prevailing before the key was operated which together with the fact that the central unit knows at which pulse in the scanning signal the change in current occurred makes possible the identification of the operated key. Then a signal is transmitted on the line which inactivates the output B of the terminal unit and finally a signal "deselect" follows which again fills the select register with ones. All additional key operations will be sensed in the same way. The display unit is charged in a similar way as the scanning of the key board is performed. Then, the clock pulses required are applied to the control unit 58 via the output SOA of the terminal unit and an additional condition is that the manual control unit is selected causing the conductor 48 to be at a high level. Then, an arbitrary number of bytes can be transmitted.

Claims: Clai ms 1. A local control system for machines, apparatus, alarms, sensors and similar system loads (11) in a home, comprising a central unit (10) and a two-wire bus line (13) interconnecting the central unit and the system loads, the respective system load being connected to the bus line via a terminal unit (12) which in dependence on a voltage signal being emitted by the central unit (10) and being unique in respect of the said terminal unit connects the system load (11) to the line (13) or disconnects the same, the central unit (10) being arranged to apply to the bus line (13) a DC voltage for the power supply of terminal units (12) and system loads (11) connected to the system, the central unit, further, being arranged to detect changes in the bus line current and out of the said changes to determine the status of the system load (11), e.g. a receipt of the connection of an alarm loop, an indication of an alarm loop being broken or an indication of the measurement value of a connected sensor, characteriz ed in that in dependence on a signal being emitted by the central unit (10) and comprising the signal which is unique for the terminal unit (12) followed by an additional signal, the terminal unit is arranged to transfer the said additional signal to a separate output (SOB) to which is connected for exemple another local system or a manual control unit (38). 2. A system according to claim 1, wherein a manual control unit (38) is connected to the separate output (SOB) of the terminal unit (41), the manual control unit comprising a keyboard (39) and a display unit (40), c arac¬ terized in that the system is such that operation of a key of the key¬ board (39) causes a change in the bus line current, which change operates the central unit (10) to emit a signal connecting the actual manual control unit (38). 3. A system according to claim 2, characteriz ed in that the manual control unit (38) and the terminal unit (12) form a single unit which is connect- able to the bus line in any position. 4. A system according to claim 3, charac terized in that the single unit (12,38) includes a select register (44) having as many outputs (A,B,C,D) as correspond to the number of manual control units connected to the system, addresses being stored in the terminal units (41) which are the same for all manual control units (38), while the programming of the select register is unique for each manual control unit.

Inventors: OLSSON JOHN INGE GUSTAV, WILK SVEN TORE, OLSSON, JOHN, INGE, GUSTAV, WILK, SVEN, TORE
Applicants: ELECTROLUX AB, AKTIEBOLAGET ELECTROLUX
Application year: 1987
Main classification: G08C19
IPC codes: G08B26, G08C15, G08C19, H04Q9