Simultaneous transmission of power clock and data

Abstract: The invention provides a method and device for encoding and transmitting a clock signal, a supply voltage and bidirectional digital data from a master circuit µP to a slave circuit M, including the steps of: holding a first conductor (S) at a first voltage (V0) with respect to a second conductor (G); periodically raising the first conductor to a second voltage (V1) with respect to the second conductor, a fixed period (T) after a previous raising to the second voltage; holding the first conductor at the second voltage for one of a number of predetermined periods, then returning the first conductor to the first voltage, the voltage of the first conductor not falling below the first voltage; controlling the predetermined periods to each have one of a number of fixed durations, each duration having a logical significance.

Description: The invention relates to the transmission of digital data along a communications bus from one electronic circuit to another. In particular, it relates to serial communications over a bus containing a minimum number of conductors. Often, communications between two circuits take place over a communications bus between a "master" circuit and a "slave" circuit. The slave sends data along the bus only at the behest of the master. This is particularly the case where one master circuit needs to communicate with a number of interchangeable or removable slave circuits, each of which may store some information. Such slave circuits may be tags used to identify articles, which are either brought only momentarily into contact with the communications bus, or which need to provide some information about themselves the first time that they are brought into contact with this bus. Generally, a communications bus for use between a microprocessor master circuit and a memory device slave circuit comprises at least four conductors: the ground voltage supply, a power supply voltage, a clock signal and a bidirectional data conductor. Where chip select and deselect commands are needed, a dedicated combination of clock and data signals may be used, and interpreted as chip select/deselect by the slave circuit. A two-wire communications bus is known, as described by Dallas Semiconductors, with reference to their DS2400 product. This uses one ground conductor and one signal conductor. The signals comprise pulses of 0V to 5V relative to the ground conductor. It is required to provide a communications bus which can communicate on as few a number of conductors as possible. This will allow simple installation of the bus, and allow the slave circuits to be packaged in very small, cheap packages. The known two conductor bus does not efficiently transmit power required to supply the slave circuit. Also, the two circuits are not synchronized, as no clocking signals are common to the master and slave circuits. US Patent 4,907,222 describes a time division multiplex system for motor vehicles, using a communication line. In this system, a master unit includes means for normally maintaining the line at a first elevated voltage level, and a pulse generating circuit includes means for sending timing signals onto the line, at a second elevated voltage level, which is higher than the first one. US Patent 5,140,611 describes a new method for synchronous, digital communication through a single pair of wire connections. Binary ones correspond to pulses having one width and binary zeros correspond to positive pulses of another width. In order to obtain phase and timing synchronization, a third pulse is used having a width differing from the widths used for the binary ones and the binary zeros. US Patent 5,363,405 concerns a transceiver device for a variable pulse width modulation. The transceiver contains a ground translation circuit for transferring transmitted signals to an independent bus ground. The invention aims to provide a method for bidirectional communication between a master circuit and a slave circuit, providing the necessary power supply, clock signals and control signals, using a minimum number of conductors. The invention further aims to provide an identification tag which contains no power supply, but which may be driven by a communications bus which has a minimum number of connectors, yet conveys clocking signals, a power supply, data and control signals. The invention further aims to provide a disposable item containing a tag as described, wherein the connection of a communications bus as described allows information about the disposable item to be read from and stored in the tag. Accordingly, the invention provides a method for encoding and transmitting a clock signal, a supply voltage and bidirectional digital data from a master circuit to a slave circuit, including the steps of: holding a first conductor at a first voltage; periodically raising the first conductor to a second voltage, a fixed period after a previous raising to the second voltage; holding the first conductor at the second voltage for predetermined periods, then returning the first conductor to the first voltage; controlling the predetermined periods to each have a logical significance; characterized in that the method further comprises the steps of: holding a second conductor at a third voltage different from the first and second voltages; measuring the voltage of the first conductor at a temporal offset with respect to the instant of said raising of said first conductor to a second voltage; interpreting the measured voltage according to predetermined logical significances; and raising the first conductor to the second voltage, this raising being used as a clock signal. The invention also relates to a data communication system and an identification tag. A certain embodiment of the current invention will be described, by way of example, with reference to the accompanying diagrams, wherein : figure 1 shows a schematic diagram of an overall data bus system according to the invention; figure 2 shows a voltage supply that may be used in the system of figure 1; figure 3 shows a voltage supply that may be used in the system of figure 1; figure 4 shows a voltage supply that may be used in the system of figure 1; figure 5A shows a signal transmitted along the data bus of the system of figure 1; figure 5B shows the signal of figure 5A after passing through a threshold circuit; figure 6A shows a signal transmitted along the data bus of the system of figure 1; figure 6B shows the signal of figure 5A after passing through a threshold circuit; figure 7 shows a voltage supply used in a slave circuit according to the invention; figure 8 shows an input interface for use in a slave circuit of the invention; figure 9 shows an alternative input interface for use in a slave circuit of the invention; figure 10 shows an output interface for use in a slave circuit of the invention; figure 11 shows an output interface for use in a master circuit of the invention; figure 12 shows an input interface for use in a master circuit of the invention; figure 13A shows a timing circuit for use in the communications system of the invention; figure 13B shows signals occurring in the circuit of figure 13A; and figure 14 shows a sequence of data typically transmitted within the system of the invention. Figure 1 shows the overall system of the invention. The master circuit, a microprocessor µP, is supplied by supply voltages Vcc and GND. Normally, these are set at +5V and 0V respectively. A communications bus B connects the master circuit µP to a slave circuit M. The slave circuit M does not have separate supply voltage connections. The master circuit contains input and output interfaces, respectively µPI, µPO, and a clock generating circuit µPC. The slave circuit contains input and output interfaces MI, MO, a supply voltage generating circuit MV for supplying the slave circuit and a timing circuit MC. The two conductors making up the communications bus are a signal conductor S and a ground conductor G. The ground conductor is connected to GND, and the signal conductor S is connected to all of the input and output interfaces and the supply voltage generating circuit MV. According to an aspect of the invention, the voltage of the signal line S may take one of two values - a higher value V1 and a lower value V0. These values may typically be +5V and +3V respectively. As the voltage between the two conductors S, G never falls below V0, a stable supply voltage to the slave circuit M may easily be derived from the voltage of the signal conductor S, by supply voltage generating circuit MV. This may be done in one of the following at least three ways, as illustrated in figures 2-4: 1. (figure 2) - The supply voltage Vcm of the slave circuit is derived directly from the communications bus conductors S, G. This will give a supply voltage Vcm which fluctuates between V1 and V0, as shown, but this may be tolerable in certain cases. 2. (figure 3) - Supply voltage generating circuit MV comprises a simple half wave rectifier D1 and smoothing circuit C1 in series between the communications bus conductors S, G. This produces a slave circuit supply voltage Vcm at a common node of diode D1 and capacitor C1 with an average value much closer to V1 than in the previous case, but with a significant ripple voltage, as shown. 3. (figure 4) - Supply voltage generating circuit MV comprises a three-terminal voltage regulator REG, connected between the S conductor, the G conductor, and the supply Vcm input of the slave circuit. This has the advantage of giving a very stable voltage output Vcm, as shown, but at a value generally less than V0 by an amount Vdr, the voltage drop due to the regulator. This voltage drop may however be zero. Figure 5A shows an extract of a typical communication along the communication bus of the invention. The digital data transmitted by the communications bus of the invention is carried in a sequence of pulses varying between the voltages V0 and V1, visible in figure 2. To isolate these pulses, a voltage comparator may be used in the slave circuit M, with a threshold value set between V0 and V1. A signal out(t) shown in figure 5B may be produced by such a comparator, which translates a high voltage V1 on the signal conductor S to a high (1) value at approximately the supply level Vcm of the comparator; and a low voltage V0 on the signal conductor S to a low value (0) at approximately the voltage of ground conductor G. The signal on conductor S is so designed that each rising transition corresponds to a clocking edge, indicated by arrowheads on the rising edges in figure 5B. Thus, each 0 to 1 transition of the out(t) signal is at a fixed delay T from the previous one. Periods P0, P1 in figures 5A, 5B represent the transmission of data bits representing a 0 and a 1, respectively. Each period is of duration T, and lasts from a start time t1 until a time t1+T, and from time t1+T to time t1+2T, respectively. In period P0, a rising edge is present at instant t1 to indicate the beginning of a clock period. Signals out(t), S remain at their respective high values for a duration T0, then return to their respective low values. A subsequent period P1 begins at instant t1+T, one clock period T after the rising edge at t1. In period P1, a rising edge is present at instant t1+T, to indicate the beginning of a clock period. The signals S, out(t) remain at their respective high values for a duration T1, then return to their low values. Each of these periods P0, P1 transmits one bit of data. A subsequent period begins at instant t1+2T, one clock period T after the rising edge at t1+T. Interpretation of these signals is performed by the input interface MI of the slave circuit. The value of the signal out(t) is sampled at a delay Td after each clocking edge, at instants marked with a dotted line. Td is selected to be longer than T0 but shorter than T1, so the value of this sample gives the value of the data bit being transmitted: "0" for period P0 (at instant t1+Td) and "1" for period P1 (at instant t1+T+Td). As the data bus is bidirectional, provision must be made to allow the slave circuit M to transmit information to the master circuit µP. The signal S supplied by the master circuit must continue to send clocking edges on the data bus. From addressing and other data already sent to the slave circuit, the slave prepares itself to transmit data at the required instant. Period Pmx indicates an enabling signal voltage transmitted by the master circuit to allow the slave circuit to return data. Considering period Pmx of figures 5A, 5B, a rising edge occurs at time t1+3T, and the signals S, out(t) remain at a high value for a delay of Ts, which may be equal to, or preferably longer than time T1. In order to allow bidirectional communication over the data bus, the output interface µPO of the master circuit µP must present a high impedance for voltages between V0 and V1, but a low impedance for voltages of V0 and less, to ensure that the voltage of the signal conductor S does not fall below V0. Period Pm0 of figures 5A, 5B shows the signal on conductor S and signal out(t) provided by the slave circuit when the slave circuit transmits a 0. As a reply to out(t), a low impedance circuit in the slave circuit output interface MO pulls the line S to the value V0, a delay of Tm after the clocking edge t1+4T, for a length of time Tm0. This length of time Tm0 is chosen to expire after Ts. The pulling of the voltage of conductor S to a low value is indicated by a thickened line. This is possible, due to the output impedance of the master circuit, discussed earlier, which makes it easy for the slave to pull the signal conductor to the V0 level, but not below V0. When the slave wishes to transmit a 1, the slave simply leaves the enabling signal transmitted by master circuit as it is (as in period Pm1 of figures 5A, 5B). The master circuit samples the value of the signal S at a delay Tmx after the clocking edge. Tmx may be equal to the delay Td performed by the slave circuit before sampling the value of the signal conductor. The sample so taken each period represents the value (0, 1) of the data bit transmitted. The data thus transmitted from the slave circuit to the master circuit may be stored in serial data registers in the master circuit, assembled into words and then interpreted as appropriate. This continues until the slave has transmitted all the requested data. The slave circuit may send a certain specific code to indicate that its transmission is terminated, or the master circuit may simply cease to send enabling signals. In systems where several slave circuits are connected to the same data bus, chip select and deselect signals are needed to address each circuit. Figures 6A and 6B show the signals S and out(t) as used to transmit chip select and deselect signals. To indicate a chip select condition (period Psel), the voltage of the signal conductor S is held at the high voltage V1 for a period Tsel following a clocking edge at time t2. The period Tsel is preferably longer than a clock period T and shorter than two clock periods. The signal out(t) mirrors this with a 1 value during the period t2 to t2+Tsel. To indicate a chip deselect condition (period Pdes), the signal S becomes low, at voltage V0, at a delay Tr after the clocking edge at time t3, and remains low for a period Tdes. The delay Tr may be equal to delay T0 discussed earlier with reference to figures 5A, 5B. This is mirrored by signal out(t), as shown in figure 6B. The period Tdes is preferably longer than a clock period T and shorter than two clock periods. The signals S, out(t) remain at their low value until a subsequent clocking edge at time t3+2T. The select and deselect signal period Tsel, Tdes, may also be longer than two clock periods, but shorter than three clock periods, or other such lengths. For each select or deselect command, the slave circuit detects a missing clock edge at times t2+T, t3+T. The value of out(t) is sampled at a delay Tc after the last clock edge when a missing clock edge is detected, and the value of this sample indicates whether the signal is a chip select (1) or deselect (0). Serial data following a chip select command can be used to provide identification characters so that a required chip is selected. As the data bus can only communicate with one slave chip at a time, there is no need to send identification data with a deselect command. Simply, the previously selected chip becomes deselected. Figures 7 to 13 represent circuitry which may be used to realise the communications bus of the invention. Figure 7 shows a circuit suitable for use as a slave circuit supply voltage generating circuit MV. This circuit is a half wave rectifier and smoothing circuit. It comprises a resistor R1, a diode M1, or diode connected transistor and a capacitor C2 serially connected between the S and G conductors of the communications bus B. A series arrangement of transistors Q1, Q2, Q3, Q4 is connected between a common node F of M1 and C2, and the G conductor. These n-channel transistors are connected with the source of one connected to the gate and drain of the next; the source of Q4 being connected to conductor G and the gate and drain of Q1 being connected to node F. A further transistor M2 has its channel connected between the S conductor and the Vcm output; its gate is connected to node F. A yet further transistor M3 has its channel connected in parallel with that of M2, but its gate connected to the Vcm output. Transistors M2, M3 have approximately identical threshold voltages. The half wave rectifier and smoothing circuit M1, R1, C2 acts to provide a relatively constant voltage at node F, whose value lies between voltages V1 and V0. Transistors Q1, Q2, Q3, Q4 are diode connected, and act to maintain a constant voltage of about 3.3V at node F. These transistors may be increased or decreased in number according to their threshold voltages and the constant voltage required. Transistor M2 acts as a voltage follower. This maintains a threshold voltage between the Vcm output and node F, and provides a low impedance supply output, by providing a current path from S. The supply voltage Vcm is held at about 2.8V. The output Vcm is also held at about 2.8V by transistor M3 which provides current to the output Vcm directly from the S conductor. This circuit provides a relatively stable supply voltage Vcm, but at quite a low value. Figure 8 shows a first possible realisation of an input interface MI for the slave circuit. A voltage divider comprising resistances R2, R3 is placed between the S and G conductors of the communications bus. A capacitor C3 is placed between the G conductor and a common node F2 of the voltage divider. Node F2 is connected to a gate of a transistor Q5, whose channel is connected between the G conductor and a node X, in common with a first terminal of a source So of current i. An inverter INV has an input connected to this node X, and an output which is the interfaced signal out(t). The current i source So may simply be a high value resistor. The resistive divider is so designed that approximately one quarter of the voltage of the signal S is applied to the gate of Q5. Capacitor C3 acts as a noise filter in combination with resistors R2, R3. This filter preferably has a time constant of around 100ns. If, for example, R2 has a value of 300kW, and R3 has a value of 100kW, C3 will have a value of around 1pF. If S varies between 5V and 3V, the voltage at node F2 will vary between 1.25V and 0.75V. Q5 thus needs to be selected to have a threshold voltage of around 1V, so that the voltage at node X is high when S is at V0, and low when S is at V1. Figure 9 shows an alternative embodiment of the input interface MI of the slave circuit. Features common with figure 8 share common reference labels. Here, the resistor R2 and capacitor C3 connected between the S, G conductors of the communications bus have a common node F3. A number of diode connected transistors, for example two transistors Q6, Q7, are connected in series between node F3 and a further node Y. Node Y is connected to the gate of transistor Q5, and also connected through a current source I8 to the G conductor. Current source I8, may be a current mirror using MOS transistors, operated in saturated mode. Native n channel transistor Q8 is controlled by a gate voltage Vgi, supplied by a current mirror circuit (not shown). It may typically provide a current of 100µA. Capacitor C3 acts as a noise filter, in combination with resistor R2, and may have a value of about 1pF. Transistors Q6, Q7 may be p-channel native transistors, each having a threshold voltage of about 1.5V. The voltage at node Y is thus about 3V less than the voltage at node F3. It will vary between 2V and 0V, as conductor S varies between 5V and 3V, depending on the voltage across R2. Again, transistor Q5 acts to supply a high voltage at node X when S is low (V0), and a low voltage at node X when S is high (V1). Inverter INV rectifies the logic and provides a clean out(t) signal by a threshold action. The data so interfaced may be stored using a latch, activated once per period, according to the slave's clock signal, and the data bits so stored assembled together in a register for interpretation. Figure 10 shows a possible implementation of the output interface MO of the slave circuit M. A resistor R4 and an n channel MOS transistor T3 are respectively connected in series between the S and G conductors of the data bus. Data Sdm which is to be serially output is applied to a gate of a transistor T3, through an inverter INVA. When the slave circuit wishes to transmit a "0" bit, the inverter INVA applies a high voltage to the gate of T3. Transistor T3 becomes conductive, and the voltage of the S conductor approaches the voltage of the G conductor, due to the short circuiting effect of transistor T3, limited by resistor R4. When the slave circuit wishes to transmit a "1" bit, the inverter INVA applies a low voltage to the gate of T3. Transistor T3 is non-conductive, and the voltage of the S is unaffected. Figure 11 shows a possible implementation of the master circuit output interface µPO. The serial data signal Sdµ to be sent is applied, through an inverter INV2, to a gate of an MOS transistor M4. This transistor M4 is connected, in series with a resistor R5, between the two conductors S, G of the communications bus. A series of forward biased diodes D4a, D4b, D4c, are connected between the supply voltage Vcc and the S conductor. These diodes may be diode connected MOS transistors. A resistor R6 is connected in parallel with these diodes. When the value of Sdµ is low, the inverter will cause a high voltage to be present on the gate of transistor M4, rendering it conductive. The voltage of the S conductor will then be determined by the potential divider formed by resistors R5, R6. Conductor S will therefore be at Vcc/2 if R5 is approximately equal to R6, or about 2.5V for a 5V supply Vcc. When Sdµ is at a high level, this is inverted by inverter INV2 to apply a low voltage to the gate of transistor M4. This transistor becomes non-conductive, and the voltage of the S conductor rises to become Vcc due to the pull-up resistor R6. Forward biased diodes D4a, D4b, D4c maintain a value of about 3V on the S conductor in the event that a slave circuit should attempt to pull this conductor below this value. This circuit thus has the desired high output impedance between V1 and V0, and low output impedance for values below V0, as discussed earlier. Figure 12 shows one possible realisation of an input interface µPI of a master circuit. The signal conductor S is connected via a resistor R7 to a noninverting input of a comparator COM2. A resistive divider composed of resistors R8, R9 connected between Vcc and the ground conductor G has a central node N connected to an inverting input of the comparator COM2. An output of the comparator provides a serial data input signal in(t) for use by the master circuit. This signal is analogous to the signal out(t) already discussed, but for input to the master circuit. The resistive divider is designed so that R9 has a value approximately four times that of R8. As the G conductor is connected to the ground terminal of the master circuit, node N will have a voltage of around 4V. When the voltage of conductor S is above the voltage of node N, the output in(t) of the comparator will be high; when the voltage of conductor S is below this value, the output in(t) will be low. The master circuit will interpret the data so received by storing the signals in(t) in a shift register (for example). Decoding and interpretation of signals sent on the communications bus of the invention depends on accurate timing of sampling and generation of the voltage on conductor S. As clocking edges are continuously provided by the master circuit, the slave circuit only has to measure timing delays relative to the most recent clocking edge. The simplest way of achieving this is to use a timer which is reset at each clocking edge. Figure 13A shows a possible implementation of the timing circuit of the slave device. In this slave circuit, the slave circuit clock generator MC generates a clock signal CKM at, say, 2MHz to an input of a multistage counter CON comprising a series of latches L1 - L6. A rising-edge sensitive reset of each latch is connected to receive the out(t) signal. The clock CKM generator MC may be very simple, such as ring oscillator. As shown in figure 13B, output signals Co1-Co6 of each latch provide a first rising transition within 1, 2, 4, 8, 16, 32 periods of CKM, respectively, after being reset by each clocking edge of the out(t) signal. As the clocking edge of signal out(t) resets the counter CON, but does not synchronise the clock signal CKM, the transitions supplied by the latches may not be offset by an integral number of CKM clock periods after the clocking edge of signal out(t). Each of the latch output signals is used to time an event in the protocol of the invention. As each timed delay is relative to the most recent clocking edge of the signal out(t) provided by the master circuit, this timing circuit does not need to be especially accurate. Co1 provides a rising edge within 500ns after the clocking edge of the signal out(t) (for the 2MHz clock mentioned above). This may be used to time the delay Tm after which the S conductor may be pulled to its lower (V0) value, to transmit a "0" bit. Co2 provides a rising edge within 1µs after the clocking edge of the signal out(t). This may be used to time the delay Td for detection of 0 or 1 in a transmission from the master circuit. Co3 provides a rising edge within 2µs of the clocking edge of the signal out(t). This may be used to time the end T1 of the high (V1) voltage emitted by the master circuit as an enabling signal to allow the slave circuit to transmit data. Co4 provides a rising edge within 4µs of the clocking edge of the signal out(t). This may be used to time the end of the period Tm0 within which the slave circuit may pull the S conductor to its lower (V0) value. Co5 provides a rising edge within 8µs of the clocking edge of the signal out(t). This may be approximately equal to a clocking period T of the master circuit. Co6 provides a rising edge within 16µs of the clocking edge of the signal out(t). This may be significantly longer than a clock period, and may be used to time the delay Tc necessary to detect a chip select or deselect signal. The duration T0 of a pulse emitted by the master circuit in transmitting a "0" may be substantially equal to Tm. A very simple timer will normally suffice, as it is re-synchronised to the master circuit timing by every clocking edge of signal out(t). Although the timing used by the master circuit and the slave circuit should be substantially identical, a variation as great as 30-40% in the accuracy of the slave timer as compared to the master timer, may be tolerated. Such variation may among other things be due to process variation and ambient temperature changes. It is for this reason that each timed delay in the above example is twice as long as the previous timed delay. A series of monostables could be used as a timing circuit, or a PLL based timer, if higher accuracy is required. Figure 14 illustrates the possible contents of a bidirectional communication over the communications bus of the invention. Firstly, a chip select command is sent to enable a slave circuit. If many slave circuits are connected to the communications bus, a chip address may be sent after the select command, to identify which chip needs to be enabled. Then, an instruction may be sent (an "opcode"), followed by the address of the memory cell that the instruction needs to be carried out upon, followed by data needed to perform the instruction. The opcode-address-data sequence may be repeated many times to transfer all data or instructions required. To allow the slave circuit to transmit information to the master circuit, the opcode transfer may be replaced by enabling signals Pm0, Pm1 as described above in relation to figures 5A and 5B. The bidirectional two wire communications bus according to the invention may advantageously be used to communicate with tags embedded in articles. For example, cartridges filled with toner for use in printers may be provided with a tag, and a data bus according to the invention used to ensure communication between this tag and a host microprocessor, either within the printer or within a host computer. The tag may give information about the cartridge, its age, toner type, the amount of toner remaining and an identification code entered by the manufacturer. This information may be read by the host microprocessor to determine whether the correct type of cartridge is being used, whether enough toner is available for a requested print job, or whether the desired type of toner is present. The host microprocessor may give suitable warning messages to an operator. Similar considerations apply to tags for any low cost consumable or exchangeable component - battery packs, photographic film, even automotive components, where the combination of a low data rate together with very simple installation of the data bus and very inexpensive slave circuits makes such a solution attractive. Although described with reference to one specific embodiment, many variants of the communications bus are possible, and lie within the scope of the invention. In particular, the polarity and logical significance of the signals may be reversed; a negative supply voltage may be transmitted, the ground conductor G may be at a fixed voltage other than ground, or a differential signal may be transmitted on the two conductors S, G. Selection of transistors used as diodes depends on the polarity required, and the forward voltage drop required. The n channel MOS transistors used for switching could be replaced by equivalent npn bipolar transistors. Also, a p channel MOS or pnp bipolar could be used, if the polarity of the gate signals are inverted. Similarly for p channel MOS transistors used for switching. The clock signal derived from the rising edges may be supplied to a phase locked loop which generates a much higher clock frequency for the slave circuit's internal operation.

Claims: A method for encoding and transmitting a clock signal, a supply voltage and bidirectional digital data from a master circuit (µP) to a slave circuit (M), including the steps of: holding a first conductor (S) at a first voltage (V0); periodically raising the first conductor to a second voltage (V1), a fixed period (T) after a previous raising to the second voltage; holding the first conductor at the second voltage for predetermined periods, then returning the first conductor to the first voltage; controlling the predetermined periods to each have a logical significance; characterised in that the method further comprises the steps of: holding a second conductor (G) at a third voltage (GND) different from the first and second voltages; measuring the voltage of the first conductor at a temporal offset (Td, Tmx) with respect to the instant of said raising of said first conductor to a second voltage; interpreting the measured voltage according to predetermined logical significances; and raising the first conductor to the second voltage, this raising being used as a clock signal. A method according to claim 1 wherein one predetermined period signifies a "0" bit, and a second predetermined period signifies a "1" bit. A method according to any of claims 1 to 2 wherein the first conductor is held at one of first and second voltages for a period longer than the fixed period (T) to indicate a chip select command. A method according to any of the claims 1 to 3 wherein the first conductor is held at one of first and second voltages for a period longer than the fixed period (T) to indicate a chip deselect command. A method according to any of the claims 1 to 4 wherein, to allow the slave circuit to communicate, the master circuit emits a series of pulses on the first conductor at the second voltage, and that the slave circuit pulls the second conductor to a fourth voltage to indicate a first polarity of bit transmitted, and does not affect the voltage of the second conductor to indicate a second polarity of bit transmitted. A method according to claim 5 wherein the fourth voltage is equal to the first voltage. A method according to any of claims 1 to 6 wherein the voltage of the second conductor is not raised to the second voltage for an extended period exceeding the fixed period, and wherein this event is interpreted as a chip select or deselect signal, depending on the voltage present on the second conductor during this extended period. A data communications system including a master circuit (µP) comprising an output interface (µPO) and an input interface (µPI), a slave circuit (M) comprising an input interface (MI), an output interface (MO), a voltage generating circuit (MV) and a timing circuit (MC), a communications bus (B) comprising two conductors (S, G) only, the master circuit output interface holding a first conductor (S) at one of two predetermined potentials (V0, V1), characterised in that it comprises a circuit for bringing the potential of the first conductor regularly, repeatedly, and with a fixed period (T), to a second potential before returning to a first potential, and in that the first and second potentials are different from a third potential (GND) to which the second conductor is brought to provide a power supply to the slave circuit. A data communications system according to claim 8 wherein the master circuit output interface (µPO) has an output impedance for voltages between the first (V0) and second (V1) voltages substantially higher than its output impedance for voltages of magnitude inferior to the lower (V0) of the fist and second voltages. A data communications system according to claim 8 or claim 9, wherein the output interface (MO) of the slave circuit places a low impedance path between the first conductor and the second conductor to transmit a signal of a first polarity to the master circuit, and wherein the output interface of the slave circuit places no such low impedance patch between the first conductor and the second conductor to transmit a signal of second polarity to the master circuit. A data communications system according to any of claims 8 to 10 wherein the slave circuit timing circuit (MC) times a number of preset delays (Co1-Co6) from reception of each transition on the first conductor, and supplies a signal to the slave circuit input interface causing the voltage on the first conductor to be measured, by comparison with a predetermined reference value, which lies between the first voltage and the second voltage. An identification tag including a slave circuit comprising an input interface, an output interface, a timing circuit (MC) and a supply voltage generating circuit, the slave circuit being connected to two external conductors, deriving its power from a dc voltage that is continually present between the two conductors, the timing circuit timing delays relative to periodic changes in the voltage between the two conductors, the output interface providing a low impedance path between the two conductors to transmit a signal of a first polarity, and no such low impedance path to transmit a signal of second polarity. A toner cartridge for a printer containing an identification tag according to claim 12. A disposable item containing an identification tag according to claim 12.

Inventors: TAILLIET FRANCOIS, TAILLIET, FRANCOIS, Tailliet, François
Applicants: ST MICROELECTRONICS SA, STMICROELECTRONICS S.A.
Application year: 1997
Main classification: H04L25
IPC codes: H03K19, H04L5, H04L25, G06F3, G06F13