The invention relates to a bus system and associated transmission protocol, used in systems for actuating gates, doors, main entrances, roller shutters or the like. The invention also relates to a method for transmitting signals on the bus.
By way of example reference shall be made below to actuating systems for gates of the leaf type (the actuating system for a sliding gate envisages only one motor).
With reference to
All these devices must be controlled by the control unit 18 and therefore—as can be seen in the “minimal” configuration shown in FIG. 1—the system must have a large number of electric lines (for conveying the power supply and digital signals) entering and leaving the said control unit 18. Precisely in the system according to
3 wires for the operating device 24,
2 wires for the flashing lamp 22,
5 wires for the photocells 20,
5 wires for the wall-mounted photocells 21,
2 wires for an electric lock (not shown) and
3 wires for the motor units 17, 19, giving a total of at least 20 wires leaving the control unit 18.
Owing to the safety regulations, the present systems envisage a greater number of accessory devices and the number of wires is destined to increase. In fact, the latest generation systems envisage 3 or 4 pairs of photocells, 1 flashing lamp, 2 or 3 control devices, 1 or 2 sensing edges as well as, obviously, 1 or 2 motors.
It must be emphasized that the elongated form of the motor is not determined merely by aesthetic considerations but also by structural requirements. The motor must have a length sufficient to contain a worm screw long enough to move the leaf through an arc of 110-120 degrees, and must have the least transverse volume since otherwise it would complicate installation on a wall or fence situated at right angles to the gate (in the closed position).
In other systems there is a smaller number of wiring leads since bus-type connection technology is used between the components of the system. Each device is connected to the control unit via only two wires and therefore the control unit 18 may have a smaller number of outgoing wires and precisely two wires for the motor units 17, 19, one wire for the flashing lamp 22, one wire for photocells 20 and one wire for a control device 24, resulting in a total of 8 wires. Each device, and therefore each pair of wires, has a corresponding connection terminal in the control unit 18.
Another example of this type can be found in the patent U.S. Pat. No. 7,091,687 which describes a two-wire bus system. The control unit has a set of terminals (two wires for each terminal) for connection of the peripheral devices. The bus uses the known “master and slave” technique where the master function is assigned to the control unit, while the slave function is assigned to all the peripheral devices. This operating logic envisages that any command and/or information is managed and sent by the control unit to a peripheral device which sends a response to the control unit whenever a command and/or information is received from the outside.
For the command and/or the information to be sent to a certain peripheral device, all the devices must have a well defined “encoded address”.
In the latest generation systems, where the safety regulations stipulate the use of several active and passive safety devices (various pairs of photocells, flashing lamps, multiple sensing edges, etc.), the flow of data on the bus is considerable and is mainly due to the fact that each command or information data sent by the control unit must have a corresponding response message from the peripheral device concerned. Consequently the interaction between the control unit and the peripheral devices may be slow and/or not optimum for ensuring the required level of safety, in particular in systems with a large number of peripheral devices.
In the abovementioned systems (
The simple insertion of the control unit 18 inside the motor units 17, 19 would result in a considerable increase in the longitudinal and transverse dimension of the said motor. In addition to the structural difficulties involved in housing it (resulting in a substantial increase in costs) and a significant deterioration in the aesthetic appearance, both due principally to the number of wires entering/leaving the motor units 17, 19 and their possible large size, it must be remembered that the motor could no longer be installed on walls or fences which are situated at right angles to the gate (in the closed position). The bundle of 8 to 20 pairs of wires, which must be flexible enough to bend during the movement of the leaves 12, 13 and which must withstand atmospheric agents over time, increase the complexity and the cost of the system. It is also necessary to mention the difficulty of installing the cables for such a large number of wires leaving the motor unit, with a probable increase in the risk of errors.
The two systems described are visible in orderly way in
The object of the invention is to provide a bus system and associated transmission protocol which limits the wiring needed for the system and improves the response time thereof.
This object is achieved with a bus system used in actuating systems for moving gates, roller shutters or the like in which the transmission of signals between a control unit and peripheral components is performed according to a transmission protocol, characterized in that each peripheral component is adapted only to transmit (using suitable transmission means) its own signal to the control unit solely within a time window situated in a predetermined position with respect to a period for scanning the status of the peripheral components of the system.
In order to simplify the system, advantageously each time window has an invariable duration, although it is possible to envisage for instance sending particular signals on the bus, following which a peripheral component requests, or is obliged by the control unit, to perform transmission within a time window having a duration which is modified or variable over time.
In order to simplify the system advantageously each time window is univocally associated with a given peripheral component, namely each component may operate, i.e. transmit, only in that specific window.
In order to ensure optimum timing, the control unit may comprise a transmitter stage able to transmit on the bus a synchronizing signal, the period of which defines the period for scanning the status of the peripheral components of the system. “Scanning period” is understood as referring to the cyclic period within which the control unit has polled or verified all the components of the system. The control unit comprises receiver processing means for receiving and processing the signal of a peripheral component solely within the time window pre-assigned to it.
The transmitter stage of the control unit may transmit periodically on the bus the synchronizing signal. This signal may be used by the peripheral components to determine the time window inside which they must be activated, for example calculating a constant delay with respect to the synchronizing signal, in such a way as to be in an invariable temporal position between two successive synchronizing signals.
Consequently it is advantageously possible to ensure that each time window is in an invariable position within two successive synchronizing signals. Nevertheless it is also possible to perform a cyclical permutation of the intervals so that on average each component is not always the last one to perform transmission.
Preferably, in order to establish an order for access to the bus, the same type of peripheral component is associated univocally with a given time window.
In fact, the safety devices such as photocells or sensing edges must always in any case transmit a signal on the bus since otherwise (if there is no signal) the control unit interprets the absence of signal as being an emergency situation. Therefore, to each pair of photocells a time window of their own is preferably assigned. Differently, the control devices (transponder cards, digital keypads, key-operated selectors, etc.) have associated with them a single and unique time window which can be exploited if necessary by one of them. Even in the case where several devices are present, the simultaneous activation of several devices of this type is highly unlikely. Incidental collisions on the bus may be tolerated.
Such an organization ensures rationalized assignment of the time windows to each peripheral component and a reduction in the duration of the working period between two synchronizing signals, namely a faster system is achieved.
The transmission protocol is therefore based on the method according to the invention for transmitting signals between a control unit and peripheral components on a bus used in actuating systems for moving gates, rollers shutters or the like, characterized in that each peripheral component is assigned a predefined time window within which only said component is allowed to transmit its own signal to the control unit. Preferably the predefined time window has an invariable duration.
The above considerations regarding the time windows and the management of the bus may be clearly understood as being also variants and/or embodiments of the method according to the invention.
Preferably the bus envisages the use of only two wires without a given polarity, and each device connected to it comprises a polarity adaptor.
The advantages of the invention will emerge more clearly from the following description of a preferred embodiment, illustrated in the accompanying drawings in which:
The wiring of a system and a bus according to the invention are shown schematically in
The wire Wn reaches a component Qn and from here passes to the next one. The simplification of the overall wiring is obvious and represents a major advantage of the invention.
The brief duration of the signals, namely the temporary short-circuiting of the bus, may allow simultaneously the power supply to be transmitted to the components Q1, Q2 which have rectifier and filtering means for obtaining from the maximum value of the voltage VB a stabilized voltage. Advantageously a component Qn may comprise rectifier means adapted to make it indifferent to the polarity of the signals on the bus.
In order to control in an orderly manner transmission on the bus, the control unit Cn sends a synchronizing signal Sync via the stage TXC, at a periodic interval for example of 32 ms. The synchronizing signal Sync is transmitted in a normal operating mode (Normal Mode). Upon receiving the signal Sync the various components Q1, Q2 Qn connected to the bus respond with a digital signal. The information sent varies depending on whether they consist of:
safety devices, such as photocells and sensing edges, which respond always in order to signal their presence and their state;
control devices, such as keypads or actuating photocells (interruption of the beam triggers an action in the system), which respond only if they have to trigger execution of a given procedure in the control unit Cn.
Each device Qn, depending on its characteristics, has a reserved response time window after the signal Sync, so as to avoid possible overlapping. The time division for access to the bus by the various devices is shown in
The time interval TB between two signals Sync, which for the sake of simplicity may be kept constant, defines the scanning period in which the control unit Cn checks/controls/commands the status of the components in the system.
Ti denotes an i-th instant between two signal Sync, while Ii denotes the i-th time window within which a device Qn must respond/transmit so as to be correctly identified by the control unit Cn. The positions of the instants Ti are advantageously (but not necessarily) predefined and invariable, and the duration of the windows Ii depends on the functional characteristics of the i-th device Qn, which has the possibility of responding after each synchronizing signal Sync because it has a dedicated time interval Ii, while in known bus systems each device Q is polled individually (by means of a respective address).
In a window Ii, therefore, only one device Qn transmits, occupying the bus. Moreover, in respect of the above, the control unit Cn is able, by known means:
to transmit on the bifilar line a synchronizing signal Sync;
to receive after the synchronizing signal Sync a response signal from each device Qn only in a reserved time window Ii having a predefined position with respect to said synchronizing signal Sync.
A communications network is established such as to use therefore only one bifilar cable (advantageously without imposed polarity) to which the different peripheral devices (operating or control devices) may be connected.
This network allows a high transmission speed for the data and/or commands and therefore guarantees the safety of the system since:
(i) a very fast response to dangerous events is obtained;
(ii) the time required for the response of the peripheral devices (typical of a master/slave system) are eliminated;
(iii) the time required for addressing the command and/or information and associated encoding/decoding times are eliminated.
Even increasing the number of peripheral devices installed, the total data transmission time is 50% less than that for buses of the known art; in known buses each transmission envisages a polling+response between master and slave (2 data), while in the bus according to the invention each transmission envisages only one response.
The signal Sync may in turn be encoded, by means of encoding means, such that the control unit is able to send information and/or data which are received by the peripheral devices.
The invention may also allow the two-way communication between components on the bus: a component can interpret the information which is sent on the bus depending on the temporal position of the communication interval Ii since it may have a fixed position (in the known buses only the control unit interprets the information which it itself requested). The signal sent by any one of the peripheral devices is introduced into the bus network and is available to all the devices, as well as to the control unit. In this way, for example, a flashing lamp can start a “courtesy light” mode if it detects in the bus network a signal of “opening” sent to the control unit by a control device (key-operated selector, keypad).
Communication on the bus may advantageously also be performed in Low Power Mode. In this case the control unit Cn does not generate the synchronizing signal Sync, and its absence alerts all the devices that they may enter in a low power condition (Sleep Mode). This decision is reached owing to processing means in the control unit Cn, which are able to interrupt the transmission of the synchronizing signal (Sync) and enter into Low Power Mode.
The components are reactivated into Normal Mode when the control unit decides autonomously to re-introduce onto the bus the signal Sync or when a control device (keypad or actuating photocell) transmits a signal on the bus. The control unit Cn detects this signal and reverts to Normal Mode. For this purpose, the peripheral components Qn comprise processing means which are able to select a low power operating mode when no synchronizing signal is emitted by the control unit Cn.
The switch-over to Low Power Mode occurs as a result of an autonomous decision of the control unit Cn which, when the gate is in the closed condition, allows a reduction in the power consumption of the system.
The Low Power Mode is particularly useful in the case of battery or photovoltaic panel powered systems.
The signal Sync may also be used in additional Modes.
In the case already considered, TB is divided into as many time windows as there are peripheral devices Qn (apart from possible minor temporal deviations between one window and the next, necessary for correct management of the timing).
At the same time, the photocells, which receive the signal Sync from the bus and process it using processing means, divide internally the period TB further into as many time windows as there are pairs of photocells, and each receiver Rx and transmitter Tx of each pair is automatically assigned a precise time window inside which it may operate.
An example of four pairs of photocells can be seen in
In this way the photocells are immune from mutual interference: if they were all always active, a receiver could receive the beam (see arrows in Figure) from the transmitter of another pair (see
The receiver photocell Rx, after receiving the signal from the corresponding transmitter photocell Tx, sends a signal to the control unit by means of the bus during its own time window from among those Ii assigned on the bus.
It has therefore been shown that the invention is able to simplify wiring and installation of the system and therefore reduce costs. The costs for production of the motor unit and the system installation times are reduced compared to a considerable increase in the performance of the system.
Number | Date | Country | Kind |
---|---|---|---|
TV2007A000013 | Feb 2007 | IT | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/IB2008/050340 | 1/31/2008 | WO | 00 | 8/4/2009 |