System with reader, transponder and sensors and operating method
The system addresses energy and cost inefficiencies in sensor data management by using a contactless transponder with non-volatile memory and external power, enabling efficient, autonomous data storage and retrieval for sensors.
Patent Information
- Application Number
- FR2022000105
- Authority / Receiving Office
- FR · FR
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2022-01-07
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2042-01-07
AI Technical Summary
Existing systems for sensors requiring periodic data collection are energy-intensive and costly, and lack efficient methods for storing and retrieving data without continuous reader presence.
A system comprising a contactless transponder with a non-volatile memory, an external power supply, and a sensor connected via a wired link, allowing autonomous data storage and retrieval using contactless communication protocols, enabling the transponder to operate independently and efficiently manage sensor commands.
Enables low-energy, cost-effective data management for sensors by allowing autonomous operation and data storage, facilitating periodic data collection without continuous reader presence.
Smart Images

Figure 00000022_0000 
Figure 00000022_0001 
Figure 00000022_0002
Abstract
Description
Title of the invention: System with reader, transponder and sensors and method of operation
[0001] Implementation and embodiments of the invention relate to connected objects (loT: “Internet of Things”), in particular sensors, in particular those requiring periodic collection of their measured data, for example those used in the medical environment to periodically measure the temperature of a medical product, as well as contactless transponders, in particular NFC (“Near Field Communication”) transponders, for example labels (tags) and in particular the use of such transponders for a dialogue with at least one sensor coupled to the transponder by a wired link, for example an FC or SPI bus.
[0002] Near field communication, better known to those skilled in the art under the Anglo-Saxon term NFC (“Near Field Communication”), is a wireless connectivity technology which allows communication over a short distance, for example 10 cm, between electronic devices, such as contactless smart cards or labels, and readers.
[0003] NFC technology is particularly suitable for connecting any type of user device and allows for quick and easy communications.
[0004] A contactless transponder is a transponder capable of exchanging information via an antenna with a contactless reader, according to a contactless communication protocol.
[0005] An NFC transponder, which is a contactless transponder, is a transponder compatible with NFC technology.
[0006] NFC technology is an open technology platform standardized in ISO / IEC 18092 and ISO / IEC 21481 but incorporates many already existing standards such as for example the type A and type B protocols defined in ISO-14443 which can be communication protocols usable in NFC technology.
[0007] Contactless technology can also be used in RFID (Radio Frequency IDentification) transponders compatible with ISO 15693 and ISO 18000-3 standards.
[0008] During a transmission of information between a reader and a transponder, the reader generates a magnetic field via its antenna which is generally, in the standards conventionally used, a sinusoidal wave (the carrier) at 13.56 MHz.
[0009] To transmit information from the reader to the transponder, the reader uses amplitude modulation of said carrier.
[0010] The transponder itself comprises means configured to demodulate the received carrier in order to obtain the data transmitted from the reader.
[0011] For transmission of information from the transponder to the reader, the reader generates the magnetic field (the carrier) without modulation. The transponder antenna then modulates the field generated by the reader, depending on the information to be transmitted. The frequency of this modulation corresponds to a subcarrier of said carrier. The frequency of this subcarrier depends on the communication protocol used and can be, for example, equal to 848 kHz.
[0012] This modulation is carried out by modifying the load connected to the terminals of the transponder antenna.
[0013] Two operating modes are then possible, a passive mode or an active mode.
[0014] In the passive mode, the transponder retro-modulates the wave from the reader to transmit information and does not integrate, for the transmission of information, any transmission means proper, or transmitter, capable for example of generating its own magnetic field during transmission. Such a transponder without a transmitter is called a passive transponder, as opposed to an active transponder which includes a transmitter.
[0015] Generally a passive transponder is without power supply because it uses the wave from the reader to power its integrated circuit.
[0016] In certain applications the passive transponder may incorporate a power supply, for example a battery.
[0017] In the active operating mode, the reader and the so-called active transponder both generate an electromagnetic field. Generally, this operating mode is used when the active transponder is provided with its own power source, for example a battery.
[0018] Each of the NFC devices (reader and transponder) transmits data using a modulation scheme.
[0019] Here again, the modulation results in a modification of load and we then speak of communication by active load modulation.
[0020] Compared to a passive communication mode, greater operating distances are obtained which can be up to 20 cm depending on the protocol used. By increasing the size of the reader antenna, and / or the sensitivity of the reader, it is then possible to increase the distance up to distances of up to several tens of cm, for example 60 cm.
[0021] Furthermore, the use of active load modulation makes it possible to use very small antennas.
[0022] The present invention applies to both passive transponders and active transponders.
[0023] Currently there is a need to offer a low energy consuming solution allowing at a lower cost, in particular, to configure a sensor, in particular a sensor requiring periodic collection of its measured data, and to be able to store and subsequently retrieve the data acquired, for example periodically, by the sensor.
[0024] According to one aspect there is provided a system comprising - a contactless transponder comprising a non-volatile memory device, for example an EEPROM memory, - a device external to the transponder, for example a smartphone type phone with a contactless reader, _an autonomous power supply means, for example a battery, configured to power the transponder, and -at least one module external to the transponder, for example a sensor, and coupled to the transponder, for example by a “wired” link, such as an FC or SPI type bus.
[0025] The system has a first operating mode in which -the device is configured to transmit to the transponder according to a contactless communication protocol, module command information associated with said at least one module, and module data information relating to data to be written or read in said module, for example information making it possible to create FC or SPI write or read commands, containing in particular a module identifier, a number of bytes to be read or written, the actual data to be written, control information, etc., -the transponder is configured to store this module control information and this module data information in a first area of the non-volatile memory device and to, in response to an activation signal, communicate autonomously according to a first communication protocol, for example a protocol of the FC type with said at least one module using this module control information and this module data information.
[0026] According to one embodiment, the apparatus is configured to deliver to the transponder data to be written in said at least one module using the contactless communication protocol, the transponder is configured to store this data in a first sub-area of the first memory area of the non-volatile memory device and the module command information comprises command information for writing this data in said at least one module.
[0027] According to one embodiment, the module control information comprises data read command information in said at least one module, and the transponder is configured to store the read data in a second sub-area of the first area of the non-volatile memory device, and to communicate this read data to the external device using the contactless communication protocol.
[0028] Said at least one module is for example coupled to the transponder by a bus supporting the first communication protocol which is for example a serial communication protocol.
[0029] The transponder can be configured to communicate with several modules coupled to it and each module control information associated with a module includes an identifier of this module, for example the address of the module on the I2C bus.
[0030] According to one embodiment: -the transponder comprises a first interface configured to communicate with said at least one module according to the first communication protocol, - a second interface configured to communicate with the external device according to the contactless communication protocol, -the device is configured to deliver to the second interface initial commands compliant with the contactless communication protocol, for example commands compliant with an NFC protocol and containing, for example in the “payload” field, said module command information and said module data information, -the second interface of the transponder is configured, for example via an NFC controller, to extract said module command information and said module data information from the initial commands and deliver them to the memory device for storage, and -the transponder comprises processing means, for example a state machine, configured to, autonomously and in response to the activation signal, extract said module command information and said module data information from the memory device and form for each module, a module command and deliver it to the first interface, the first interface being configured, for example via an FC controller, to develop from the module command, a final module command conforming to the first communication protocol, for example the FC protocol, and to deliver it to said module.
[0031] The activation signal is advantageously delivered to the transponder by the device.
[0032] Thus, generally speaking, according to this aspect, the non-volatile memory of the transponder is used to store commands that the transponder will be able to execute autonomously while being powered by its own battery, so that they are transmitted to the module(s) via a wired interface, for example an FC or SPI interface, according to a format compatible with the serial protocol used.
[0033] In response to the activation signal, for example a specific command issued by the device, for example the telephone equipped with an NFC module, the state machine of the transponder autonomously executes the microprogram formed by the commands stored in the non-volatile memory and transforms them into commands for reading or writing data in the sensor(s).
[0034] The operating mode with a sensor can be divided into several phases (programming and / or modification of the programming of the state machine in a simple manner and at any time by sending commands by the reader, triggering of the state machine, extraction of data from the non-volatile memory, collection of data from the sensor(s), storage of the collected data in the non-volatile memory) which can be optimized according to the applications.
[0035] Finally, the device (or reader) can retrieve the data collected later at any time.
[0036] This is clearly distinguished from prior art solutions which also provide for a dialogue between a transponder and a sensor.
[0037] Indeed, according to a first solution of the prior art, the transponder simply acts as a tunnel, that is to say that it receives at a given moment a command from a contactless reader, transforms it into an FC command for example, and sends it to the sensor connected to the transponder. In other words, the reader has total control of the operations carried out by the sensor. This implies that the reader must be permanently present for the sensor to operate, which is impossible for sensors implementing periodic measurements for applications where the reader cannot be permanently in proximity to the transponder.
[0038] According to a second solution of the prior art, the transponder cooperates with a microcontroller which cooperates with the sensor without the presence of the reader. But this microcontroller, which is the master on the FC bus, is a separate component from the transponder having its own memory to store its program ("firmware"). On the one hand, such a solution is not optimized in terms of cost and consumption and on the other hand it is difficult to change the firmware of the microcontroller throughout the life of the product, which is a problem in particular for use with very simple sensors,
[0039] Similarly, once the transponder's state machine has been triggered, the transponder operates autonomously, without the presence of the reader being necessary.
[0040] According to another embodiment of the system according to this aspect of the invention, the system may have a second mode of operation in which the apparatus and the transponder are configured to allow direct communication between the device and said at least one module via direct communication between the first interface and the second interface of the transponder.
[0041] In other words, in this second mode of operation, the transponder behaves like a simple passage between the reader and the sensor.
[0042] The two operating modes can be selected, for example, by a selection signal emitted by the device.
[0043] The transponder, with these two possible operating modes, then becomes compatible with applications in which it is preferable to opt for the second operating mode.
[0044] The power supply means of the system may be rechargeable and the transponder may then comprise energy harvesting means which can be activated by the device and configured to recharge the rechargeable power supply means.
[0045] According to one embodiment, the system may comprise an object, for example of the connected object type, incorporating the transponder, the autonomous power supply means, and possibly at least one module.
[0046] According to another aspect, a contactless transponder belonging to the system as defined above is proposed.
[0047] According to another aspect, there is provided a method of communication between a contactless transponder, a device external to the transponder and at least one module external to the transponder and coupled to the transponder, comprising a first operating mode in which - the device transmits to the transponder, using a contactless communication protocol, module control information associated with said at least one module and module data information relating to data to be written or read in said module, -the transponder stores this module control information and this module data information in a first area of a non-volatile memory device and in response to an activation signal, communicates autonomously according to a first communication protocol with said at least one module using this module control information and this module data information.
[0048] According to one embodiment, the apparatus delivers to the transponder data to be written in said at least one module using the contactless communication protocol, the transponder stores this data in a first sub-area of the first memory area of the non-volatile memory device and the module command information comprises command information for writing this data in said at least one module.
[0049] According to one embodiment, the module control information comprise data read command information in said at least one module, and the transponder stores the read data in a second sub-area of the first area of the non-volatile memory device, and communicates this read data to the external device using the contactless communication protocol.
[0050] According to one embodiment, said at least one module is coupled to the transponder by a bus supporting the first communication protocol which is a serial communication protocol.
[0051] According to one embodiment, the transponder communicates with several modules coupled to it and each module control information associated with a module includes an identifier of this module.
[0052] The method may have a second operating mode in which the apparatus communicates directly with said at least one module using the transponder as a gateway for transferring commands issued by the apparatus and intended for said at least one module and as a gateway for transferring data read in said at least one module and intended for the apparatus.
[0053] The device can deliver the activation signal to the transponder.
[0054] Other advantages and characteristics of the invention will appear on examining the detailed description of modes of implementation and embodiment, which are in no way limiting, and the appended drawings in which:
[0055] [Fig.l]
[0056] [Fig.2]
[0057] [Fig.3]
[0058] [Fig.4]
[0059] [Fig.5]
[0060] [Fig.6]
[0061] [Fig.7]
[0062] [Fig.7A]
[0063] [Fig. 8]
[0064] [Fig.9]
[0065] [Fig. 10]
[0066] [Fig. 11]
[0067] [Fig. 12]
[0068] [Fig. 13]
[0069] [Fig. 14]
[0070] [Fig. 15]
[0071] [Fig. 16]
[0072] [Fig. 17], and
[0073] [Fig. 18] schematically illustrate embodiments and implementations of the invention.
[0074] As illustrated in [Fig.l], a system SYS comprises a contactless transponder, or tag, TG comprising a non-volatile memory device DM, for example an EEPROM memory.
[0075] The system also comprises an autonomous power supply means ALM, for example a battery, configured to power the transponder.
[0076] This ALM power supply means could be integrated within the transponder, but generally it is located outside the TG transponder.
[0077] The transponder TG and the power supply means ALM are here incorporated into an object OBJ, for example a connected object.
[0078] The SYS system also includes an APP device external to the TG transponder.
[0079] This device can be a contactless reader known per se or a mobile phone of the “smartphone” type emulated in reader mode, also known per se.
[0080] The system also comprises at least one CPTi module, external to the TG transponder and coupled to the transponder.
[0081] The module may be a sensor, for example but not limited to a temperature sensor.
[0082] The sensor(s) may be incorporated into the object OBJ or located, for at least one of them, outside the object.
[0083] In the example described here, the system SYS comprises several sensors, for example three sensors CPT1-CPT3.
[0084] These sensors are here coupled to the transponder TG by a serial bus BS and via a first interface IF1, here a serial interface, of conventional structure and known per se and comprising in particular a serial controller.
[0085] This bus is for example here a bus supporting the I2C protocol well known to those skilled in the art. It could also be for example a bus supporting the SPI protocol or the I3C protocol, also well known to those skilled in the art.
[0086] As will be seen in more detail below, the SYS system has a first operating mode in which the APP device is configured to transmit to the transponder TG according to a contactless communication protocol, for example an NFC protocol at a radio frequency (RF) of 13.56 MHz, and via a second contactless interface IF2, of conventional structure and known per se and comprising in particular an NFC controller, module command information associated with at least one module, or with several modules, and module data information relating to data to be written or read in the module(s) concerned.
[0087] In this first operating mode, the TG transponder is configured to store this module control information and this module data information. in a first zone ZM1 of the non-volatile memory device DM.
[0088] More precisely, the first memory zone ZM1 comprises a sub-zone ZM10 intended to store the module control information.
[0089] For example, this module command information includes a set of CMDj commands ([Fig.2]), forming a microprogram to be executed.
[0090] Each CMDj command includes for example - an FLD1 field containing the @CPTi address of the CPTi module or sensor concerned by this command, - an FLD2 field containing an R / W bit specifying whether the command is a write command or a read command, - an FLD3 field containing an NbOCT indication indicating a number of bytes to read or write in the sensor concerned, - an FLD4 field containing a @DM address of data to be read or written in the DM memory, and -one or more other FLD5 fields which may contain other indications, such as for example a number of execution iterations to be carried out for the CMDi command, a duration, etc.
[0091] When the APP device delivers to the transponder TG data to be written in a module or modules CPTi using the contactless communication protocol, the transponder TG is configured to store this data in a first sub-zone ZM11 of the first memory zone ZM1 of the non-volatile memory device DM and the module command information then comprises command information for writing this data in the module or modules concerned.
[0092] When the module command information comprises data reading command information in one or more modules, and the transponder TG is configured to store the data read in the module(s) concerned in a second sub-area ZM12 of the first area ZM1 of the non-volatile memory device, and to communicate this read data to the external device APP using the contactless communication protocol.
[0093] The memory device DM also comprises a second memory area ZM2 intended to store other data, for example other NFC data relating to other applications.
[0094] The memory device DM also comprises a third memory area ZM3 intended to store transponder configuration data.
[0095] The CMDj commands are for example transmitted in the useful data (“payload”) of an RF command 700 ([Fig.3]) sent by the APP device.
[0096] The RF command 700 has a conventional structure, compatible with the RF protocol used. This command 700 indicates that it is a write command (W) and the The command's payload also includes the address @ZM10 to which the CMDj command is to be written in the ZM10 subarea of the non-volatile memory DM.
[0097] The NFC controller of the contactless interface IF2 extracts the command CMDj from the RF command 700 and delivers it to the memory device DM for storage at the address @ZM10 in the memory sub-area ZM10.
[0098] When the device wishes to retrieve data from the sub-zone ZM12 which has been transmitted by one or more sensors, it sends an RF command 800 ([Fig.4]) which is a read command (R) and which includes, for example, in its useful data the address @ZM12 of the first byte to be read as well as the number NbOCT of bytes to be read.
[0099] The NFC controller of the contactless interface IF2 extracts this useful data from the RF command 800 and delivers the corresponding read command to the memory device DM.
[0100] The OCT bytes are then read in the memory sub-area ZM12 and the NFC controller produces an RF 900 response ([Fig.5]) of conventional structure and containing the read OCT bytes in the useful data field of the RF 900 response.
[0101] This RF 900 response can be transmitted to the APP device.
[0102] We now refer more particularly to Figures 6 to 9 to describe the first mode of operation of the SYS system.
[0103] In [Fig.6], the APP device transmits to the transponder according to the contactless communication protocol of the NFC type, and via the second interface IF2 the commands CMDj for storage in the memory sub-area ZM10 (step ST600).
[0104] Where appropriate, the APP device also transmits the data to be written to the CPTi sensor(s) concerned (step ST 601) for storage in the first memory sub-area ZM11.
[0105] In response to an activation signal SACT ([Fig.7]) of the processing means MT of the transponder TG, of which we will return in more detail below on an example of structure, execute automatically and autonomously (step ST700), the microprogram comprising the commands CMDj stored in the memory sub-zone ZM10.
[0106] As a non-limiting example, the activation signal SACT can be transmitted by the device within an RF command of the type of the RF command 700 of [Fig.3].
[0107] An example of such an RF control 1000 is illustrated in [Fig.7A].
[0108] As indicated above, the third memory zone ZM3 contains configuration and status information of the transponder TG.
[0109] This RF 1000 command is a write command to the address @ZM3 in the third memory zone ZM3, which corresponds to a so-called activation register, of configuration bytes OCTa in a number NbOCTa.
[0110] When this RF command 1000 is sent, the activation signal SACT is transmitted.
[0111] If certain commands CMDj are commands for writing data to one or more sensors, the processing means extract this data from the first memory sub-area ZM11 and deliver it to the sensor(s) concerned via the first interface IF1, as will be explained in more detail below.
[0112] If certain commands CMDj are commands for reading data from one or more sensors, the processing means receive this data from the sensor(s) concerned via the first interface IF1, as will be explained in more detail below, and store it in the second memory sub-area ZM12 (step ST800, [Fig.8].
[0113] Then as indicated above, when the APP device wishes to retrieve the data stored in the second memory sub-zone ZM12 (which it can do at any time) it sends (step ST900, [Fig.9]) a request RF 800 ([Fig.4]) and receives (step ST901) the response RF 900 ([Fig.5]).
[0114] We now refer more particularly to Figures 10 to 12 to illustrate an example of operation of the processing means MT.
[0115] These processing means here comprise a state machine or automaton, formed for example by logic circuits.
[0116] The MT processing means here use - a CMDP pointer pointing to the ZM10 sub-zone at the current address @CMDP ( [Fig.10]), - an RDP read pointer pointing to the ZM11 subzone at the current address @RDP and - a WRP write pointer pointing to the ZM12 subzone at the current address @WRP.
[0117] As illustrated in [Fig.10], the CDMP pointer points between the addresses @CDMPStart and @CDMPEnd of the DM memory, thus delimiting the address range of the ZM10 sub-area.
[0118] The RDP pointer points between the addresses @RDPStart and @RDPEnd of the DM memory, thus delimiting the address range of the ZM11 sub-area.
[0119] The WRP pointer points between the addresses @WRPStart and @WRPEnd of the DM memory, thus delimiting the address range of the ZM12 sub-area.
[0120] Generally speaking, in response to the activation signal SACT, the state machine MT of the transponder autonomously executes the microprogram formed by the CMDj commands stored in the non-volatile memory and transforms them into commands (called CMDM module commands) for reading or writing data in the sensor(s).
[0121] These CMDM module commands are delivered to the IF1 serial interface which transforms into final module commands compatible with the serial protocol used, here the FC protocol.
[0122] Thus, more precisely and as illustrated in Figures 11 and 12, in response to the activation signal SACT, the processing means MT initialize the pointers CMDP and WRP (steps ST100 and STI 101).
[0123] Then in step STI 102, the current command CMDj pointed to by the pointer CMDP is read.
[0124] If in step STI 103, the command CMDj is a command to write (W) data to one or more sensors, then the processing means MT read (step STI 104) the data to be written in the memory sub-area ZM11 at the addresses designated by the pointer RDP and then update this pointer.
[0125] The next step is step STI 105 which is directly reached if in step STI 103, the command CMDj is a command to read (R) data from one or more sensors.
[0126] In step STI 105, the CMDM module command is developed and transmitted to the IF1 interface.
[0127] This CMDM module command includes in particular the address of the sensor concerned on the BS bus, the R / W direction (read / write), the number of bytes to read or write.
[0128] But this CMDM command does not include any control bits specific to the serial protocol used on the BS bus.
[0129] These control bits are added by the serial controller of the IF1 interface to form the final module command.
[0130] In step STI 106, it is checked whether the command is executed.
[0131] If this is the case, we move on to step STI 107.
[0132] If in this step the command executed was a read command (R), then the processing means MT carry out step STI 108 in which they store the data read from the sensor(s) concerned in the sub-zone ZM12 at the addresses designated by the pointer WRP, then update the pointer WRP.
[0133] Then in the case where the optional steps STI 109 and STI 110 are not implemented, we move on to step STI 111.
[0134] If in step STI 107 the command executed was a write command (W), then the processing means MT go directly to step STI 111 in the case where the optional steps STI 109 and STI 110 are not implemented.
[0135] In step STI 111, if all the commands CMDj have been executed, the processing means MT have completed their operations.
[0136] Otherwise we return to point D0 of the flowchart for the execution of the following CDMj command.
[0137] In some applications, a waiting time may be required after executing a CMDj command. This can be indicated in the FLD5 field ([Fig.2]) of the CMDj command.
[0138] In this case the processing means MT remain in step STI 109 as long as this waiting time has not expired. Of course, in this case a counter clocked by a clock signal can be incorporated in the processing means MT.
[0139] It may sometimes be required that the execution of a CMDj command be repeated for a chosen number of iterations. This number can again be indicated in the FLD5 field of the command.
[0140] And as long as the number of iterations is not reached, we return to point C0 of the flowchart.
[0141] We will now describe in more detail an example of the structure of the serial interface, adapted to the FC serial protocol.
[0142] The FC protocol is well known to those skilled in the art and can be found in the FC specification. Some characteristics of the FC protocol are recalled.
[0143] The FC bus uses two wires: serial data (SDA) and serial clock (SCL).
[0144] All FC master and slave devices are connected only with these two wires.
[0145] A device operating as a master generates a bus clock and initiates communication on the bus, the other devices are slaves and respond to commands on the bus.
[0146] In order to communicate with a specific device, each slave device must have an address that is unique on the bus.
[0147] The FC master device does not need an address because no other device (slave) sends commands to the master.
[0148] Both SCL and SDA signals are bidirectional.
[0149] At each clock pulse, one bit of data is transferred. The SDA signal can only change when the SCL signal is low. When the clock is high, the data is normally stable.
[0150] Each FC command initiated by the master device begins with a START condition and ends with a STOP condition. For both of these conditions, SCL must be high. A high-low transition of SDA is considered a START condition and a low-high transition is considered a STOP condition.
[0151] After the START condition, the bus is considered busy. After the START condition, the master may generate a repeated START condition. This is equivalent to a normal START condition and is usually followed by the slave FC address.
[0152] Figures 13, 14 and 15 (taken from FC specification version 6.0, April 4, 2014) illustrate the characteristics of the PC protocol.
[0153] As illustrated in [Fig.13], data on the PC bus is transferred in 8-bit packets (bytes). There is no limitation on the number of bytes, however each byte must be followed by an ACK bit from a slave device. This ACK bit indicates whether the slave device is ready to proceed to the next byte. For all data bits and the ACK bit, the master must generate clock pulses. If the slave device does not acknowledge the transfer, it means there is no more data or the device is not yet ready for the transfer. The master device must generate either a STOP condition or a repeated START condition.
[0154] Data is transmitted with the most significant bit (MSB) first. If a slave cannot receive or transmit another complete byte of data until it has performed another function, such as handling an internal interrupt, it can hold the SCL clock line low to force the master into a wait state. Data transfer then continues when the slave is ready for another byte of data and releases the SCL clock line.
[0155] As shown in Figures 14 and 15, each slave device on the bus must have a unique 7-bit address.
[0156] Communication begins with the START condition, followed by the 7-bit slave address and the R / W data direction bit.
[0157] If this R / W bit is 0 ([Fig. 14]), then the master writes to the slave device. Otherwise, if the R / W data direction bit is 1, the master reads from the slave device ([Fig.15]).
[0158] Once the slave address and R / W data direction bit are sent, the master can continue reading or writing.
[0159] Communication stops with the STOP condition which also signals that the FC bus is free.
[0160] If the master needs to communicate with other slaves, it can generate a repeated START condition with another slave address without generating a STOP condition.
[0161] If the master only writes to the slave device, then the direction of data transfer does not change ([Fig. 14]); the slave receiver acknowledges receipt of each byte.
[0162] If the master only needs to read from the slave device, then it simply sends the FC address with the R / W bit set to read. Then the master device starts reading the data ([Fig. 15]).
[0163] At the time of the first acknowledgment, the master transmitter becomes the master receiver and the slave receiver becomes the slave transmitter. This first acknowledgment A is always generated by the slave. The master generates the following acknowledgments. The STOP condition is generated by the master, which sends a non-acknowledgment just before the STOP condition.
[0164] In the example of interface IF1 described here with reference to [Fig.16], the serial controller SM2 is the master device and the CPTi sensors are the slaves.
[0165] The IF1 interface integrates:
[0166] a volatile memory means, for example a BF buffer memory (FIFO), for storing FC bytes,
[0167] a plurality of registers, for example:
[0168] an RGAD register to store the address of the sensor concerned by the command,
[0169] an RGW register to store the number of FC bytes to write,
[0170] an RGD register to store the number of FC bytes to read,
[0171] an RGC register (containing one bit) to signal that an FC command is present in the BF buffer,
[0172] an RGR register (containing one bit) to signal that an FC response is present in the BF buffer memory,
[0173] an RGK register (containing one bit) for recording an acknowledgment bit value (this RGK register is reset on reading),
[0174] the SM2 serial controller which will develop the final CMDM module commands containing the START and STOP conditions and receive the FC responses from the sensor.
[0175] The registers RGD, RGW, RGC, RGR, RGK contain configuration data (one or more bits) which make it possible, for example, to determine the presence or absence of an operation to be executed, the type of operation (write or read operation) or the status of the operation (completed, for example) or the result of the operation (successful, for example).
[0176] These control registers are read and / or written
[0177] - by the MT processing means, or
[0178] - by the SM2 serial controller.
[0179] More precisely, the registers RGD, RGW and RGC are written by the processing means MT.
[0180] For example, if the RGC register contains the value 0, this means that there is no FC command to be executed by the SM2 controller.
[0181] If the RGC register contains the value 1, this means that there is an FC command to be executed by the SM2 controller, this command being either a write operation or a read operation.
[0182] The type of operation (read or write) is determined by the contents of the RGD and RGW registers.
[0183] More precisely, if for example the value contained in the RGD register is zero and the value contained in the RGW register is non-zero, the operation requested by the reader is a write operation.
[0184] If the value contained in the RGW register is zero and the value contained in the RGD register is non-zero, the operation requested by the reader is a read operation.
[0185] The RGW register and the RGD register are also read by the SM2 controller in order to know the number of bytes to write or read in the designated slave module.
[0186] The RGC register is also read by the SM2 controller to know if a command must be executed on the bus and is also written by the SM2 controller when the execution of the command has started.
[0187] The RGC register is also read by the MT processing means to know if the execution of a requested command is finished.
[0188] The RGR register is written by the SM2 controller to indicate that the read bytes are stored in the BF buffer memory, and the RGR register is also read by the processing means to check whether the FC read operation is completed.
[0189] The register RGK (initially set for example to 1) is written by the controller SM2 after receiving acknowledgment bits, read by the processing means MT to check whether the read or write operation is successful, and reset to 1 by the processing means MT.
[0190] Among these configuration data, the data contained in the RGD and RGW registers are data defining whether a command is a write operation or a read operation in the designated slave module.
[0191] The data contained in the RGC register is data which defines the presence or absence of an operation to be executed on the bus.
[0192] The data contained in the RGC register is also data which indicates whether the execution of a write operation is completed and the data contained in the RGR register is data indicating whether the execution of a read operation is completed.
[0193] The data contained in the RGK register is data that indicates whether a read or write operation was successful.
[0194] As schematically illustrated in [Fig.17], the system may have a second operating mode in which the device and the transponder are configured to allow direct communication ST 1700 between the APP device and at least one CPTi module via direct communication between the first interface IF1 and the second interface IF2 of the transponder TG.
[0195] In other words, in this second mode of operation, the transponder behaves as a simple passage (or gateway) between the APP reader and the sensor.
[0196] An example of operation of a transponder as a gateway was described in the PCT application filed on May 14, 2020 under No. PCT / EP2020 / 063427.
[0197] Those skilled in the art may refer to this PCT application.
[0198] In this PCT application the device and the IF1 interface are masters on the BS bus
[0199] The two operating modes can be selected for example by a selection signal emitted by the device.
[0200] Here again this selection signal can be emitted upon receipt of an RF command of the type illustrated in [Fig.7A], designating at an address of the third memory zone ZM3 a so-called selection register.
[0201] The transponder, with these two possible operating modes, then becomes compatible with applications in which it is preferable to opt for the second operating mode, at least temporarily.
[0202] The power supply means ALM can, as illustrated schematically in [Fig. 18], be rechargeable and the transponder can then comprise energy harvesting means ENH, of conventional structure and known per se, activatable by the device (step ST 1800) and configured to recharge the rechargeable power supply means.
[0203] .
Claims
Claims
1. System comprising a contactless transponder (TG) comprising a non-volatile memory device (DM), an autonomous power supply means (ALM) configured to power the transponder, a device (APP) external to the transponder and at least one module (CPTi) external to the transponder and coupled to the transponder, the system having a first operating mode in which - the device (APP) is configured to transmit to the transponder according to a contactless communication protocol, module control information associated with said at least one module and module data information relating to data to be written or read in said module, - the transponder (TG) is configured to store this module control information and this module data information in a first area (ZM1) of the non-volatile memory device (DM) and to in response to an activation signal (SACT),communicate autonomously according to a first communication protocol with said at least one module (CPTi) using this module command information and this module data information.,
2. System according to claim 1, in which the apparatus (APP) is configured to deliver to the transponder data to be written in said at least one module using the contactless communication protocol, the transponder is configured to store this data in a first sub-area (ZM11) of the first memory area of the non-volatile memory device and the module command information comprises command information for writing this data in said at least one module.
3. The system of claim 1 or 2, wherein the module command information comprises data reading command information in said at least one module, and the transponder is configured to store the read data in a second sub-area (ZM12) of the first area of the non-volatile memory device, and to communicate this read data to the external device using the contactless communication protocol.
4. System according to one of the preceding claims, wherein said at least one module is coupled to the transponder by a bus (BS) supporting the first communication protocol which is a communication protocol serial communication.
5. System according to one of the preceding claims, in which the transponder is configured to communicate with several modules (CPTi) which are coupled to it and each module control information associated with a module comprises an identifier (@CPTi) of this module.
6. System according to one of the preceding claims, wherein - the transponder comprises a first interface (IF1) configured to communicate with said at least one module according to the first communication protocol, - a second interface (IF2) configured to communicate with the external apparatus according to the contactless communication protocol, - the apparatus is configured to deliver to the second interface initial commands conforming to the contactless communication protocol and containing said module command information and said module data information, - the second interface of the transponder is configured to extract said module command information and said module data information from the initial commands and deliver them to the memory device for storage, and - the transponder comprises processing means (MT) configured to, autonomously and in response to the activation signal,extracting said module command information and said module data information from the memory device and forming for each module, a module command (CMDj) and delivering it to the first interface, the first interface being configured to develop from the module command, a final module command (CMDM) conforming to the first communication protocol and to deliver it to said module.,
7. System according to one of the preceding claims, having a second operating mode in which the apparatus (APP) and the transponder (TG) are configured to allow direct communication between the apparatus and said at least one module via direct communication between the first interface and the second interface of the transponder.
8. System according to one of the preceding claims, in which the apparatus is configured to deliver the activation signal (SACT) to the transponder.
9. System according to one of the preceding claims, in which the power supply means (ALM) is rechargeable and the transponder includes energy recovery means (ENH) activatable by the device and configured to recharge the rechargeable power supply means.
10. System according to one of the preceding claims, wherein said at least one module comprises at least one sensor (CPTi).
11. System according to one of the preceding claims, in which the apparatus (APP) comprises a contactless reader.
12. System according to one of the preceding claims, comprising an object (OBJ) incorporating the transponder, the autonomous power supply means (ALM), and possibly at least one module (CPTi).
13. Contactless transponder belonging to the system according to one of claims 1 to 12.
14. Method of communication between a contactless transponder (TG), a device (APP) external to the transponder and at least one module (CPTi) external to the transponder and coupled to the transponder, comprising a first operating mode in which - the device transmits to the transponder according to a contactless communication protocol, module command information associated with said at least one module and module data information relating to data to be written or read in said module, - the transponder stores this module command information and this module data information in a first area of a non-volatile memory device and in response to an activation signal, communicates autonomously according to a first communication protocol with said at least one module using this module command information and this module data information.
15. Method according to claim 14, in which the apparatus delivers to the transponder data to be written in said at least one module using the contactless communication protocol, the transponder stores this data in a first sub-area (ZM11) of the first memory area of the non-volatile memory device and the module command information comprises command information for writing this data in said at least one module.
16. Method according to claim 14 or 15, in which the module control information comprises data reading control information in said at least one module, and the transponder stores the read data in a second sub-area (ZM12) of the first area of the non-volatile memory device, and communicates this read data to the external device using the contactless communication protocol.
17. Method according to one of claims 14 to 16, wherein said at least one module is coupled to the transponder by a bus (BS) supporting the first communication protocol which is a serial communication protocol.
18. Method according to one of claims 14 to 17, in which the transponder communicates with several modules (CPTi) which are coupled to it and each module control information associated with a module comprises an identifier (@CPTi) of this module.
19. Method according to one of claims 14 to 18, having a second operating mode in which the apparatus communicates directly (ST 1700) with said at least one module using the transponder as a gateway for transferring commands issued by the apparatus and intended for said at least one module and as a gateway for transferring data read in said at least one module and intended for the apparatus.
20. Method according to one of claims 14 to 19, in which the apparatus delivers the activation signal (SACT) to the transponder.
21. Method according to one of claims 14 to 20, wherein the apparatus (APP) comprises a contactless reader and said at least one module comprises at least one sensor.
