Connection system between a master and slave processing units

Abstract: A connection system of the multiplex type between at least one master processing unit (5) and slave units (27), in particular associated with electrical devices (14, 15, 17, 18, 28, 28′, 32, 33) in a vehicle (1) for activating or controlling at least one electrically functioning component in the corresponding device (14, 15, 17, 15, 28, 28′, 32, 33), the said slave units (27) being connected in groups to the master unit (5) by means of corresponding communication channels (11, 11′, 11″,...) common to the units (27) of each group, and in which the master unit (5) includes logical means (6) for controlling the exchange of communications between the various channels (11, 11′, 11″,...); in particular these logical means include a microprocessor (6) and control corresponding first blocks enabling transmission on such communication channels (11, 11′, 11″,...) and corresponding second blocks enabling communication between the abovementioned channels (11, 11′, 11″,...).

Description: This invention relates to a connection system of the multiplex type, i.e. with communication channels accessible to a plurality of users provided between a master processing unit and groups of slave units connected to one of such channels respectively, with the possibility of controlling the exchange of communication between the channels, according the preamble of claim 1. In particular the connection system according to this invention can be applied to a plurality of units associated with the electrical devices in a vehicle, and especially for the activation and control of electrical devices associated with a motor vehicle door, such as for example the window winding device, the door locking device, the device actuating the various electrical components of an outside rear-view mirror, and the device with manual control switches for control of the components in the various above mentioned devices as described in Italian application no. 67158-A/89 filed on the 7 March 1989 and corresponding to International application PCT/IT/90 000 23 entitled: "Activation and control system for a plurality of electrical devices in a vehicle". As is known, in master-slave communication systems each slave unit may be connected to the master processing unit by its own communication line. This arrangement however results in a high number of input-output ports in the master unit, and a high number of communication lines, as a result of which the complexity of the cabling is a disadvantage in comparison with systems of the multiplex type. Systems have therefore been proposed in which all the slave units are connected to the master unit by a single communication bus. A fault on this line however compromises the functioning of the entire system. A connection system of the type defined in the preamble of claim 1 is disclosed in EP-A-0 143 650, wherein the central unit is connected by means of individual lines to a set of substations, which, in a star configuration, are connected to a number of end units. This system still requires a high number of communication lines. This document forms the preamble of claim 1. The object of this invention is to provide a connection system of the multiplex type between a master processing unit and slave units in which the number of communication line is relatively reduced and at the same time a fault on one such line does not put the entire system out of service, so as to overcome the disadvantages mentioned above with particular advantage in application of the connection system between a plurality of electrical devices in a vehicle, where it is important to construct a relatively simplified system but with a high guarantee of satisfactory functioning in order to reduce production and assembly costs. According to the invention a connection system has been provided, as defined in claim 1. A particular embodiment of this invention will now be described purely by way of a non-restrictive example for the better understanding thereof with reference to the appended drawings in which: Figure 1 is a diagrammatical view from the top of a motor vehicle incorporating the connection system for the activation and control of a plurality of electrical devices constructed in accordance with the invention, Figure 2 is a simplified block diagram of the connections between various units in the system in Figure 1, Figure 3 is an illustration of a communication message between units in the system in Figure 1, and Figure 4 shows more detailed activation and control block diagrams in the master unit of the system in Figure 1. The connection system according to this invention between various slave units and a master unit, and therefore between the various slave units via the master unit, applies to local transmission networks of the multiplex type, and conveniently to multiplex networks in motor vehicles, for example of the type described in abovementioned Italian patent application no. 67158-A/89 lodged on the 7 March 1989, the contents of which are incorporated in the description by mere reference where necessary. Figure 1 therefore illustrates a motor vehicle 1 which includes actuated devices provided with corresponding slave units connected with a master unit by multiplex connections forming a connection system according to this invention. This motor vehicle 1 has two front doors 2 and 2', and two rear doors 3 and 3', shown in the open position. A main control master unit 5 incorporating a microprocessor 6 is mounted close to dashboard 4, and from this run cables 7, 7', 8 and 8', and 9 respectively, each of which consists of a first conductor 10 for a positive electrical supply at a power level, a second data signal transmission conductor 11 and third conductor 12 providing a connection to earth. Cables 7 and 7' respectively run to front doors 2 and 2', while cables 8 and 8' run to rear doors 3 and 3'. Each of these cables is connected progressively with corresponding branches to three conductors, one corresponding slave unit 27 which is associated respectively with a manual control switch device 14, a device 15 for the electrical control of an outside rear-view mirror 16, a door locking device 17, and a window winding device 18, for the activation and control thereof. In particular this slave unit 27 conveniently includes a printed circuit to which are connected a first integrated circuit for distribution of the electrical power supply to an activating component (for example a small direct current electric motor) of the corresponding device with which slave unit 27 is associated, and a second integrated circuit for processing data signals relating to the functioning of that component. This first and second integrated circuit form a logical unit and may conveniently include specific logic circuits or a microprocessor, solid state switches, etc., and may construct circuits for protection against current and voltage overloads, control and diagnostic circuits, etc. In the case of device 14 with manual control switches the first integrated circuit is missing, in that there is no power activation, whereas in the case of device 15 for electrical control of the outside rear-view mirror 16 there will be more than one activating member, in that the various electrical components actuating orientation movements of the reflecting surface of the rear-view mirror, for altering the orientation of the rear-view mirror body with respect to the door, may be controlled, and a supply may be provided to the components heating the reflecting surface. In the case of cables 8 and 8' for doors 3 and 3' the connection with electrical control device 15 for outside rear-view mirror 16 will obviously be missing. Cable 8 also passes by means of a branch 26 to a slave unit 27 belonging to a device 28, similar to device 17, for locking and releasing a boot 30, while cable 8' passes via a branch 26' to a slave unit 27 belonging to a device 28', also similar to device 17, for locking and releasing a flap 31 providing access to a fuel filler cap for motor vehicle 1. Cable 9 in turn is progressively connected by means of corresponding branches to three conductors, two relating to slave units 27 associated respectively with a first and a second manual control switch device 32 and 33, placed in a zone 34 (console) between the front seats, capable of controlling devices 15 for electrical control of external rear-view mirrors 16 and window winding devices 18. As is illustrated in greater detail in Figure 2, the main control master unit 5 which is connected to a supply battery 40 is in turn connected to slave units 27 attached for example to cable branch 7 by means of conductor 10 providing a positive electrical power supply, a conductor 11 for the transmission of data signals and a conductor 12 providing a connection to earth. Connection of the various slave units 27 to transmission conductor 11 is of the "wired and" type, in which a return resistor 41 is connected between conductor 11 and positive supply conductor 10 in master unit 5, so that the dominant logical level is a "low" logic level, and is subject to any of the units which initiates transmission. In both master unit 5 and slave units 27 transmission conductor 11 is in fact connected to the input of a corresponding amplifier 38 of a data receiving block 43, while a switch block 44 which is controlled by a data message transmission block 45 is placed directly between transmission conductor 11 and earth conductor 12 in slave units 27, and a first block 60 with an auxiliary switch controlled in a manner which will be described is inserted in the master unit in series with a transmission amplifier block 61 which is in turn connected to a terminal H of switch block 44 which is connected with its other terminal to earth and is controlled by data message transmission block 45. A second auxiliary switch block 62, again controlled in the manner which will be described is connected between the output of data receiving block 43 and terminal H. These blocks 43 and 45 form the logic means of slave units 27 constructed of logic circuits, while in master unit 5 these consist of microprocessor 6. Coding for unit information is therefore performed by means of switch block 44, of the type modulating the duration of pulses of constant amplitude equal to the supply voltage. Logical value "1" is encoded by a high/low ratio of greater than unity, and vice versa for logical level "0". The connection structure described with the return resistor, the auxiliary switch blocks and the data receiving blocks are repeated in master unit 5 for the other communication conductors 11, 11', 11'',..., for the other cables, and corresponding members are indicated by the same numbers and indices. The overall connection structure In master unit 5 is illustrated in detail in Figure 4, in which in addition to a repetition of what has already been partly illustrated in Figure 2 the outputs of the various data receiving amplifiers 38, 38', 38'',..., are connected to the corresponding inputs of block 86 which, depending on the programmed control logic of microprocessor 6,direct signals to outputs 77, 78 and 79 which pass to the corresponding inputs of a decoding block 80, which has corresponding first outputs 81, 81', 81'',..., which control the corresponding first auxiliary switch blocks 60, 60', 60'',..., second outputs 82, 82', 82'',..., which control the corresponding second auxiliary switch blocks 62, 62', 62'',..., and an output 83 for controlling the state of the principal transmission switch block 44. The message sent by any one of units 5 or 27 along transmission conductor 11 has the characteristic time course illustrated in Figure 3 as described in the Italian patent application lodged on the same date by the same applicant entitled: "System for communication between a master and slave processing units" and corresponding to EP-A-0 396 090, the contents of which are incorporated with the description here by mere reference where necessary. In particular, from a "high" resting level for conductor 11, in which the transmission line is not occupied, there is a first message start field 50 in which transmission conductor 11 is altered to a low level by closing switch block 44 controlled by transmission block 45 of the corresponding unit initiating the exchange (auxiliary switch block 60 is assumed closed in master unit 5), then there is a second address field 51 conveniently consisting of six bits in order to identify slave unit 27 which is transmitting, the logic level "1" or "0" is given by modulation of the closing time for switch block 44 controlled by block 45, then there is a third data field 52 consisting conveniently of four bit code for the command or message which is transmitted, and a final check field 53 conveniently consisting of two redundant bits in order to check that the message received is correct. Finally the transmission line is released by the unit transmitting and the signal on transmission conductor 11 returns to the "high" rest level. With the connecting system according to this invention messages exchanged are sent along all the communication lines which end at master unit 5. A message is transmitted from master unit 5 to slave units 27 merely by commanding all auxiliary switch blocks 60, 60', 60'',..., by outputs 81, 81', 81'',..., (Figure 4), through which all the various transmission conductors 11, 11', 11'', ...., are connected to main transmission switch 44 which is controlled by output 83. Under the conditions where messages are being received by one of slave units 27 master unit 5 in turn transfers the data to all the communication lines. In fact, assuming that transmission conductor 11 is occupied by the initial field 50 (Figure 3) of a message from a connected slave unit 27, it is then changed to a logic level "0" and node K at the output of receiver 38 is also changed to that level. Microprocessor 6 therefore recognises the change to a low logic level in that node K, while the other nodes K', K'',..., remain at a high logic level, through which the closure of switch block 62 and the opening of switch block 60, and the opening of switch block 62', 62'', ..., and the closing of switch blocks 60', 60'',..., is controlled via block 80 and the corresponding outputs. In this way the signal received on conductor line 11 is retransmitted via node H to all other conductor lines 11', 11'',... The above characteristic according to this invention has the advantages that: it avoids the possibility of simultaneous multiple transmissions from the slave units to the master unit, thus simplifying handling by master unit 5. Each slave unit 27 connected to any communication line finding a message in progress on the communication conductor avoids initiating a new transmission. Known techniques of allocation of the communication line for transmissions initiated simultaneously are also possible, it makes it possible for the system to be expanded. In fact several master units can be connected together by means of communication lines if the interchange of messages between the various branches is permitted by means of the transparent operation (active repeater) of each central node. With the connection system according to this invention there is no direct echo from any message received on any of the communication lines, which would cause serious disadvantages. As, as already said, the "low" logic level is imposed by any one of the units sending a message on the corresponding communication conductor, when master unit 5 finds a "low" level on one of communication conductors 11 it imposes the same level on all the communication lines including the original line, and in fact it is no longer possible to detect the "high" logic level on the first communication line when the slave unit has finished sending its message. A communication line is considered to be faulty by master unit 5 when: the level of communication conductor 11 remains in the "low" state (dominant) for a time longer than a prespecified maximum (caused for example by a short circuit to earth), the level on communication conductor 11 remains in the "high" (recessive) state detected by master unit 5 at corresponding mode K, even when unit 5 itself attempts to impose a "low" state (caused for example by a short circuit in the supply voltage), the messages received from one communication line fail to conform because the time is greater than a predetermined maximum (caused for example by a malfunctioning slave unit). In all these cases master unit 5 disables the communication line which is considered to be faulty commanding blocks 60, 60', 60'',..., to be opened via block 80 and the corresponding output of 81, 81', 81'',..., in order to interrupt transmission to the said line. The signals present at the corresponding node K, K', K'',..., may also be ignored by master unit 5. The connection system according to this invention is therefore configured in the form of a "star" system in which a plurality of groups of secondary units are connected to corresponding communication lines which are in turn connected to the master unit, but with a limited number of communication lines which originate from master unit 5 and to which various slave units 27 are connected in multiplex form therefore avoiding the disadvantages inherent in "star" systems with individual communication lines for the various slave units, and systems with a single line communication common to all the slave units. In addition to this, because independent operation of all the communication lines would be complicated and therefore slow (requiring complex operation by master unit 5), and frequently unnecessary, in accordance with this invention the master unit 5 controls each communication line by means of a transmitter/receiver circuit dedicated to it controlled by a more complex control logic unit (for example a microprocessor) as illustrated in Figure 4, nevertheless maintaining the possibility of controlling each one of the communication lines independently of the others, thus ensuring that a fault on one communication line only puts one sector of slave units out of service. The advantages of the connection system according to this invention are obvious from what has been described, in particular: because there is a limited number of communication lines leaving master unit 5, to which various slave units 27 are connected in multiplex form, cabling and installation costs are reduced, with a particularly important advantage in applications in motor vehicles, such as that illustrated in Figure 1, each communication line in the "star" arrangement may be operated integrally with the others (echo function) or left free under the control of the logic unit included in master unit 5. This makes it possible to: a) minimise handling by master unit 5, b) provide timely access to the communication line and allocation procedures even from slave units resident on different communication lines, c) mate it possible to connect together several master units, d) provide a simple procedure for fault identification and isolation of the corresponding communication lines. Finally it is clear that modifications or variants may be applied to the embodiment of the invention described and illustrated without going beyond the scope of the inventive concept as defined by the claims.

Claims: A connection system between at least one master processing unit (5) and groups of slave units (27) connected through communications channels (11, 11', 11'', ...), said master processing unit (5) including logical means (6) for controlling the exchange of communications between said channels, characterized in that all the slave units of a same group are directly connected to said master processing unit (5) through a respective communication channel (11, 11', 11'', ...), which consists of a single electrical line. A system according to claim 1, characterised in that said logical means (6) control corresponding first blocks (60, 60', 60'',...) enabling transmission on said communication channels (11, 11', 11'',...). A system according to claims 1 or 2, characterised in that said logical means (6) control corresponding second blocks (62, 62', 62'',...) enabling communication between said communication channels (11, 11', 11'',...). A system according to claims 2 or 3, characterised in that said logical means (6) include means (86) for detecting a communication signal on one of said channels (11, 11', 11'',...) and means (80) for controlling said first (60, 60', 60'',...) and/or second (62, 62', 62'',...) blocks. A system according to claim 4, characterised in that said logical means (6) are capable of detecting a communication signal on one of said channels (11, 11', 11'',...) by means of said detection means (86) and are able to control transmission on the other said channels (11, 11', 11'',...) by means of said control means (80), apart from the channel receiving said communication signals. A system according to claims 4 or 5, characterised in that said logical means (6) are capable of detecting a logic level of the signal on one of said channels (11, 11', 11'',...) which is anomalous in its value and/or duration by means of detector means (86) and is able to command the interruption of communication on said channel by means of said control means (80). A system according to one of the foregoing claims, characterised in that said logic means (6) include a microprocessor. A system according to one of the foregoing claims, characterised in that said master unit (5) includes a block (38) detecting data signals on one of said communication channel and a block (61) transmitting said data signals for each of said communication channels (11, 11', 11'',...), except for said one communication channel. A system according to one of the foregoing claims, characterised in that said slave (27) and master (5) units are connected to said communication channels (11, 11', 11'',...) by means (41, 41', 41'',...) imposing a different logic level on said channel (11, 11', 11'',...) in when said channel (11, 11', 11'',...) is occupied by one of said units (27, 5) in order to send a communication message. A system according to claim 9, characterised in that said units (27, 5) detect that said channel (11, 11', 11'',...) is free to send a communication message by means (43) for detecting said logic level of said channel (11, 11', 11'',...). A system according to one of the foregoing claims, characterised in that said transmission of communication messages is performed by means of an asynchronous serial protocol. A system according to claim 11, characterised in that said transmission is performed by modulating the duration of pulses of constant height. A system according to one of the foregoing claims, characterised in that it includes at least two of said master units (5 ) connected together by means of a communication channel (11). A system according to one of the foregoing claims, characterised in that said slave units (27) are associated with electrical devices (14, 15, 17, 18, 28, 28', 32, 33) in a vehicle (1) for commanding or controlling at least one electrically functioning component in said device (14, 15, 17, 18, 28, 28', 32, 33). A system according to claim 14, characterised in that said slave units (27) include at least one integrated circuit providing means for the distribution of electrical power to operate said component and/or means for processing data signals relating to the operation of said component. A system according to one of the foregoing claims, characterised in that said communication channel between said slave units (27) and said master unit (5) is provided by means of at least one electrical connection cable (7, 7', 8, 8', 9) including a first conductor (10) for a positive electrical power supply, a second conductor (11) for transmitting data signals and third conductor (12) for connection to earth. A system according to claim 16, characterised in that it includes a single said electrical connecting cable (7, 7', 8, 8') for at least the devices (14, 15, 17, 18) applied to one door (2, 2', 3, 3') of a vehicle (1). A system according to claim 17, characterised in that said devices applied to said door (2, 2', 3, 3') include at least a window winding device (18), a door locking device (17) and a manual command switch device (14). A system according to claim 18, characterised in that said devices applied to said door (2, 2') also include a device (15) for the electrical control of an outside rear-view mirror (16). A motor vehicle (1) comprising a plurality of devices (14, 15, 17, 18, 28, 28', 32, 33) including at least one electrically operating component, characterised in that it includes a connection system between at least one master processing unit (5) and slave units (27) associated with said devices (14, 15, 17, 18, 28, 28', 32, 33) according to one of the foregoing claims.

Inventors: CONSIGLIERI FRANCO, STORTI SANDRO, WOLFSGRUBER ARTURO, CONSIGLIERI, FRANCO, STORTI, SANDRO, WOLFSGRUBER, ARTURO
Applicants: SGS THOMSON MICROELECTRONICS, SGS-THOMSON MICROELECTRONICS S.R.L.
Application year: 1990
Main classification: B60R16
IPC codes: B60R16