Programmable logic switch and system
10868690 ยท 2020-12-15
Inventors
Cpc classification
H04L12/2816
ELECTRICITY
H04L12/2834
ELECTRICITY
International classification
Abstract
A programmable logic switch (1) for controlling electrical utilities (3), has multiple control devices (2) of the electrical utilities (3), a serial interface (5) for connecting the switch (1) to an electrical bus (6) to which other switches (1) can be connected. The serial interface (5) is configured for receiving input signals (7) from other switches (1) and transmitting output signals (8) towards other switches (1). The switch (1) comprises an output device (12) having output channels (13) connectable to the electrical utilities (3) and separate with respect to the serial interface (5), and being configured for generating control signals (14) of the electrical utilities (3) as a function of any combination of signals chosen among control signals (4), programming signals (10) and input signals (7), so to control the electrical utilities (3) as a function of a command operated by a user and programming data.
Claims
1. A programmable logic switch for controlling electrical utilities comprising: one or more control devices of the electrical utilities, activatable by a user and configured for generating respective command signals; a serial interface for connecting the switch to an electrical bus to which other switches can be connected, characterized in that said serial interface is configured for receiving one or more input signals from other switches connected to the electrical bus, and for transmitting one or more output signals towards other switches connected to the electrical bus; the switch further comprising: a programming interface configured for generating one or more programming signals as a function of programming data entered locally or remotely; a control unit connected to the serial interface and to the programming interface, and being configured for: receiving the input signals from the electrical bus, receiving the command signals from the control device, receiving the programming signals, an input device and output device having one or more input channels and one or more output channels respectively connectable to external apparatuses and electrical utilities and separate with respect to the serial interface; said input device and output device being connected to the control unit and being configured for generating one or more control signals of the electrical utilities or for receiving one or more external signals from the external apparatuses; said control unit being configured for generating an output signal as a function of the contents of any combination among the input signals, the command signals, the programming signals, other programming data contained in the control unit, and the external signals.
2. The switch according to claim 1, characterized in that the control unit is further configured for generating an output signal as a function of the contents of one or more input signals which originate from other switches present on the electric bus.
3. The switch according to claim 1, characterized in that the control device is configured for sending the command signals to the serial interface for being transmitted into the electrical bus.
4. The switch according to claim 1, characterized in that said output device is connected to the control unit and is configured for generating said control signal of the electrical utilities at least as a function of the contents of the command signals, the programming signal and/or the input signal, so as to control the electrical utilities at least as a function of the command operated by the user and as a function of the programming data.
5. The switch according to claim 1, characterized in that said input device is connected to the control unit and is configured for receiving one or more external signals from the external apparatuses and for sending the external signals to the control unit; said control unit being further configured for generating an output signal as a function of the contents of the external signals, the command signals, the programming signal and/or the input signal.
6. The switch according to claim 1, characterized in that the control unit comprises a time unit programmable as a function of time and configured for modifying the output signal and/or the control signal of the electrical utilities as a function of a predefined programming.
7. The switch according to claim 1, characterized in that the programming interface is configurable in an administrator mode in which the programming interface accepts the insertion of new programming data and in an operation mode in which the programming interface does not accept the insertion of new programming data.
8. The switch according to claim 7, characterized in that the programming interface is configurable in the administrator mode if an unblocking signal is sent via a predefined combination of the control devices which are connected to the programming interface or if such an unblocking signal is sent via an external computer connected to the switch via the electrical bus.
9. The switch according to claim 1, characterized in that the output device is configurable in a local mode, in which the output device generates control signals of the electrical utilities only as a function of the contents of the command signals and the programming signal but not of the input signal, or in a remote mode in which output device generates control signals of the electrical utilities also as a function of the contents of the input signal.
10. The switch according to claim 1, characterized in that it is configurable in an association mode, in which the control unit is configured for generating an output signal containing information on the activated control device to be associated to the output channels active at that instant on other switches connected to the electric bus.
11. The switch according to claim 1, characterized in that said control devices are arranged in view according to an installation surface, and in that the serial interface, the programming interface, the control unit, the output device and the input device are arranged posteriorly with respect to said control devices so as to define a rear volume of the switch; said rear volume being smaller than a cavity defined internally of a common wall box so that the rear volume can be housed therein.
12. The switch according to claim 1, characterized in that the control unit has one or more programs run in parallel mode and independently of one another, wherein each of the programs defines a predefined relation between any combination of signals chosen among the input signals, the external signals, the command signals, the programming signals, the control signals of the electrical utilities so as to generate said output signal that, in use, is received by other switches connected to the electric bus as an input signal.
13. A system of programmable logic switches, comprising: a plurality of programmable logic switches, wherein said switches are connected to one another along an electrical bus; each switch being identified by an own identifying address on the electrical bus; at least a first electric utility connected to an output channel of an output device; input signals of a switch corresponding to output signals of other switches connected along the electrical bus; said input signals comprising information relating to the identifying address on the electric bus of the switch from which the information has been sent; said output signals comprising information relating to the identifying address on the electric bus of the switch from which the information has been sent.
14. The system according to claim 13, characterized in that the output device of a first switch is configured for generating a control signal of said first electric utility as a function of the data contained in the output signal, received from one or more different switches connected along the electric bus.
15. The system according to claim 13, characterized in that any switch connected to the electrical bus set with the same identification address of a second switch increases the maximum number of switches connected to the same network and replicate the functions of the control device of said second switch with the same identification address.
Description
BRIEF DESCRIPTION OF DRAWINGS
(1) Further features and advantages of the present invention will appear more clearly from the indicative, and therefore not limiting, description of a preferred but not exclusive embodiment of a switch 1 and a system 100 of switches 1, as illustrated in the accompanying drawings, in which:
(2)
(3)
(4)
(5)
(6)
(7) In the following description, the identical reference numerals indicate parts identical or corresponding in the different views.
DETAILED DESCRIPTION OF THE INVENTION
(8) The system 100 consists of switches 1 connected to each other by a bus 6 (preferably an industrial RS485 serial network). This network allows the devices to communicate even at great distances.
(9) Each device has a serial interface 5 (RS485), three keys and some microswitches 11 for programming, some LEDs 22, and three input channels 16 or output 13 of the input device 15 or output device 12. Three of the LEDs 22 display the status of the three input channels 16 or output channels 13. Each device must be powered by a power supply 21 for the control unit 24 and for the serial connection.
(10) Each switch 1 must be programmed with its own identification address (node) in order to be able to communicate with the other switches 1 in the serial network.
(11) In a same network there can be switches with the same node (alias), whose operation and behavior are defined according to the relative programming. Such alias switches advantageously allow the keys of a second switch 1 connected to the same network as a first switch 1 to be replicated.
(12) The RS485 serial communication is carried out through proprietary software protocol (DOCprotocol).
(13) Each switch 1 can be housed in wall boxes 23 for common mechanical switches and does not require connection to the ground system.
(14) In other words, each switch 1 extends frontally and has a rear volume. Said rear volume is such as to fit into a wall box 23 commonly used for known switches. The front dimensions are conformed to the front dimensions of the box 23.
(15) From the figures it is also possible to note that each switch 1 comprises fuses 33 each associated with a respective input/output channel 16, 13. In particular, the switch 1 has posteriorly housings suitable for facilitating the insertion and removal of said fuses. The rear volume with the fuses 33 is such as to be included in the dimensions of known wall boxes.
(16) Each input/output channel 16, 13 is opto-isolated from the control electronics and the RS485 serial network, and is completely independent and electrically isolated also from all other channels. Therefore, an input channel 16 can control, for example, a sensor powered at 12 V DC, and another input channel 16, on board the same device, can control a sensor powered at 24 V DC. The same applies to output channels 13 on board of an output device 12.
(17) Input channels 16 can receive information from other devices external to the system 100 (photocells, push-buttons, switches 1, timers, presence or movement detectors, or contacts in general from sensors or other electronic devices external to the system 100).
(18) The output channels 13 control the electrical utilities 3 connected to them (lamps, motors, fans, solenoid valves, electrical locks, shutters, relays, contactors, or other devices).
(19) Each output channel 13 can be programmed so that it can be activated/deactivated on command, permanently, or automatically shut off after a settable time.
(20) Each output channel 13 can also be programmed in such a way that its activation is inhibited if another output channel 13 on board of the device is already active (e.g. shutter opening/closing interlocking).
(21) Some output channels 13 can be programmed to be activated automatically when another output channel 13 is activated, on board of the same device, and turn off automatically after a time that can be set when the reference channel has been deactivated (e.g. light and fan switching on in a bathroom).
(22) The output devices of each switch 1 can be programmed (preferably via the programming interface) to control the output channels 13 by means of a password, which can be entered via the keys of the control device 2 (e.g. opening of an electrical lock from the outside of a room).
(23) Switches 1 which have output devices can also operate individually, without the need to be connected to the other switches 1.
(24) Switches 1 which have input devices 15 are only for the use of switches 1 with output devices, and allow to extend the programming capabilities and functions of the switches 1 with output devices. In fact, in this case, the control unit 24 is configured to relate the status of the various signals of the input channels 16 and output channels 13 exchanged in the network, by simple logics AND, OR, XOR, NOT and timers, so as to automatically activate/deactivate the output channels 13 with respect to all the other switches 1 connected in the network, greatly extending the possibilities of application of the whole system 100 (e.g. activation, with timer, of solenoid valves for watering).
(25) Practically, the control unit 24 has one or more programs running in a parallel and independent way from each other, wherein each of the programs determines a predefined relation in any combination of signals chosen among the input signals 7, the external signals 18, the command signals 4, the programming signals 10, the control signals 14 of the electrical utilities 3, so to generate the output signal 8 that, in use, is received from other switches 1 connected to the electrical bus 6 as an input signal 7. The switches 1 can be programmed by means of appropriate software running on a PC connected to the RS485 serial network of the system 100 through the interface 34 (Ethernet/RS485).
(26) Alternatively, the switches 1 can be entirely programmed locally also by means of keys, microswitches 11 and LEDs located on board of the devices themselves.
(27) The combination of microswitches 11 defines the function to be programmed; the keys are used to program the various configurations of the selected function. Some LEDs indicate the setting made.
(28) Each switch 1 is equipped with a cover (
(29) This cover is advantageously flush with respect to the box during the closing condition (preferably by joint).
(30) Switch Power Supply
(31) Each switch 1 must preferably be supplied with a DC voltage, and the terminals of the two-wire bus 6 of the RS485 network are connected in parallel to all the switches 1 connected in the network, as shown in
(32)
(33) The serial communication along the bus 6 among all the connected switches 1 is preferably of a multi-master type.
(34) Operating Mode
(35) Each switch 1 has three operating modes: administrator, local, and remote.
(36) The administrator mode is used to access the programming of switch 1. In this case, the microswitches 11 allow to select the function to be programmed. The selected function is configured by using the keys and the LEDs on board of the switch 1. The programming of the switch 1 can also be carried out via the RS485 network by using a dedicated software running on a PC (the PC must be connected to the switch 1 via the Ethernet/RS485 interface).
(37) The local mode is used to control the individual output channels 13 of the switch 1, by pushing the buttons on board of the switch 1. In local mode, the switch 1 does not switch the output channels 13 of the output device 12 as a function of the signals received via the bus 6. The local mode also serves to associate the keys of the switch 1 to the output channels 13 of all the switches 1 connected in the network. The remote mode allows to control the output channels 13 of the switches 1 connected in the network, depending on the pushing of the keys and the status of the input/output channels 16, 13 of any other switch 1 also connected in RS485 network, following the rules programmed in the various switches 1.
(38) For communicating in remote mode, each switch 1 must be set with a network address (node).
(39) Multiple switches 1 can be set with the same identification address (alias switches 1) so as to increase the maximum number of switches 1 that can be connected to the same network, and to replicate the functions of the buttons of the switch 1 with the same node.
(40) Multiple networks can be connected together via PC and interface 34. In this case, a software running on the PC can relate the key signals and the status of the output channels 13 and input channels 16 of the switches 1 of a network with those of the other one, in order to control the output channels 13 of the switches 1 of both the RS485 networks.
(41) Through appropriate software on PC, it is also possible to track and record on disk all the network activity of connected switches 1, and to schedule actions on the occurrence of certain events (for example, the PC can be programmed to send an email if a presence or movement sensor is activated).
(42) Switches 1 with output channels 13, if in Remote mode, can activate/deactivate their output channels 13 autonomously, even without being connected to the network, by programming the keys on board of the switch 1 and the operating modes set for its output channels 13.
(43) Operation for Output Channels of Output Device
(44) Each output channel 13 can be programmed to operate in various ways, depending on the type of connected electric utility 3.
(45) The combination of the microswitches 11 of the programming interface 9 determines the possible settings for each channel.
(46) For each output channel 13, a password can be associated which allows to activate and deactivate the connected electric utility 3, if the switch 1 is in Remote mode, when the relative code is entered using the keys. The output channel 13 turns on/off following the set operating mode.
(47) If for example an output channel 13 is set with an impulsive operating mode, by typing the relative password while the switch 1 is in Remote mode, the channel will be activated for the programmed impulsive time (e.g. to control an electric lock from the outside of a room).
(48) In Remote mode and in Association mode, each time one of the keys is pushed (if no password is assigned to any of the output channels 13 of the switch 1), the switch 1 emits a signal in the network where own address and pushed key are indicated. If the microswitches 11 of the transmitting switch 1 are set with a predefined code, and the switch 1 is in association mode, the transmitted signal contains the information necessary to define that the key indicated in the telegram must be associated with the output channels 13 at that time active on the receiver switch 1 or on the receiver switches 1.
(49) Each switch 1 with the output channels 13, keeps in its internal memory, for each output channel 13, all the associated keys for all the switches 1 connected in the network.
(50) Interlocking of the Output Channels
(51) Each output channel 13 can be set to not be activated if the other output channels 13 on the same switch 1 are already active, or if a pre-settable time has elapsed since their deactivation.
(52) The function and interlock time can be activated for each individual output channel 13.
(53) The interlock works only between the output channels 13, on board of the same switch 1, which have the interlock function enabled. This function is advantageously useful, for example, for activating an interlock between the opening and closing of shutters. The channel interblocking timer starts when the channel turns off. The other channels will not be able to activate until this time has elapsed.
(54) Example of Application of the System of Programmable Logic Switches
(55)
(56) The various wiring, the power supplies, the network connection between the various switches 1, the network addresses of the switches 1, and the relative nomenclatures of the electrical utilities 3 according to their connection to the switches 1 are schematically shown.
(57) By programming the associations of the output channels 13 with the keys of the switches 1, and the configuration of the operating mode of the output channels 13, it is possible to decide to control the electrical utilities 3 in various ways.
(58) For example, the outlet channel 13 of the bathroom fan 1A.L3 is programmed to turn on automatically when the lamp 1A.L1 is turned on, and to turn off automatically five minutes after the lamp 1A.L1 has switched off.
(59) In the same way, the electric lock 1B.L1 of the entrance door is controlled, from outside the home, by means of the switch 2B, whose output channel 13 is configured to act in an impulsive manner with pulse time of 0.2 seconds, and with a password that can be entered by using the buttons of switch 2B.
(60) Talking LEDs
(61) As shown in
(62) In particular, they are switched on with a steady light if the status of the relevant channel is active or are switched off if the status of the relevant channel is deactivated.
(63) Other two LEDs 22 indicate, by means of the switching on or flashing mode, the function active at any time, or the function being programmed or its value.
(64) Programming
(65) Each switch 1 with input channels 16 has some weekly calendars (
(66) For each weekly calendar, the activation date and time and the deactivation date and time can be configured.
(67) In addition, each switch 1 with input channels 16 has a clock, used to activate/deactivate the weekly calendars.
(68) In other words, the periodic calendars define additional input variables that are included in the programming signals for the processing performed by the control unit 24. In practice, the calendars are further operands of the programs that are processed by the control unit 24.
(69) Each switch 1 with input channels 16 has some configurable programs which allow to extend the functionality of the entire system 100 of programmable logic switches 1 installed.
(70) Through these programs, the switches 1 connected to each other in the network, can exchange information on the status of the inputs and outputs of the entire system 100, and relate them to each other through simple binary operations AND, OR, XOR and NOT, so as to be able to automatically activate/deactivate the output channels 13 available throughout the system 100, depending on the logics to be implemented.
(71) Compare a traditional processor system with the system 100 of programmable logic switches 1 according to the present invention. In the traditional processor system the data lie within the system itself and the instructions are executed one after the other according to the implemented flow control; even in the case of several traditional connected processors among them in the network, each processor would execute the instructions sequentially, according to the programmed flow control. In the system 100 of programmable logic switches 1 according to the present invention, each program of each switch 1 can be considered as a single instruction of the traditional processor. These instructions (the programs) no longer follow a predefined and sequential flow control, but are executed in parallel and independently from each other according to time bases and events defined for each of them.
(72) The events such as keystroke, photocell status or output channels, etc. that condition the execution of the single instructions (programs), constitute the data of the system 100, and are distributed, shared between the various switches 1, and rendered available to all instructions (programs), via the network to which all switches 1 that form the entire system 100 are connected.
(73) The instructions (programs) of the system 100, by reading and modifying the data of all switches 1 via the network connection, determine the intensity of the data traffic that is generated from time to time in the system 100.
(74) The switches 1 and the system 100 described above allow to achieve the intended purposes.
(75) Advantageously, the system 100 allows to control electrical utilities that are connected to any one of the switches 1 along the bus, through any of the other switches 1 connected along the bus after appropriate programming.
(76) In particular, the system 100 of programmable logic switches 1 is designed to be economical, flexible, and easy to install, making extremely easy and quick to define and configure from which stations to control the various electrical utilities 3 located inside houses, offices, sheds, boxes, etc. without the need to intervene on electrical wiring, or making them minimal if they were necessary; the system 100 is expandable and allows the addition of other functionalities which allow to automate, in a customizable way and without additional costs, the control and use of the various connected electrical utilities 3.
(77) The configurations and programs available in switches 1 are not present in the current home automation systems and allow the user to be freed from the wiring.
(78) The network connection between the switches 1, allows to control electrical utilities 3 also located at great distances between them. Moreover, the opto-insulated input 16 and output channels 13 allow to connect the external apparatuses 17 and the electrical utilities 3 with different supply voltages.
(79) The reduced dimensions of the switches 1 allow an immediate installation in the wall-mounted boxes for the normal mechanical switches, and also make it possible to immediately replace a block of known mechanical switches with a switch 1 according to the present invention.
(80) Furthermore, no other junction boxes are required, but simply insert and connect the power supply into the main box of the electrical system.
(81) Switches 1 with output channels 13 can be configured to operate independently, or to be connected with several switches 1 to each other via the network.
(82) The system 100 can be entirely programmed by means of the keys and the LEDs on board of the switches 1 themselves.
(83) The systems according to the present invention also enable the electrical utilities 3 to be controlled, with different levels of security, by entering passwords.
(84) Therefore, the systems of programmable logic switches 1, combine the typical features of home automation with the flexibility features of PLCs (programmable logic controllers) used in industry and, together with the key associations and the programs running parallel on the various switches 1, allow multiple configurations of automation to be implemented, and, in an economic and fast way, all the needs that can emerge from time to time to be satisfied, without the need of programming experts.