Keywords: 1-Wire, NFC, wireless, NFC system, NFC transponder, NFC transceiver, wireless power transfer, wireless communication
Using an NFC System to Wirelessly Power and Access a 1-Wire Network
By using a single conductor and ground, 1-Wire devices provide functionality to mechanical assemblies and electronic systems and reduces the number of nodes needed in a system to just one. Through symmetric and asymmetric authentication, identification, memory, data acquisition, and control, 1-Wire technology also provides secure asset and information management, all in a low-power design. A variety of applications can benefit such as automotive, cloud networks, consumable pharmaceuticals and healthcare equipment, mobile sales channels, and the smart grid. An NFC transceiver, with a built-in 256-bit secure hash algorithm (SHA-256) coprocessor for symmetric authentication, paired with an NFC transponder that includes an I2C master/slave port and an energy-harvesting output provides security for wireless access to a node of closed portable devices. An NFC system that is compatible with ISO-15693 and FIPS 180-4 supports wireless power and secure access to 1-Wire devices. Wireless access to a 1-Wire network, in turn, offers new use cases and additional flexibility for electronics in applications where NFC is the preferred method of wireless power transfer and communication.
To provide wireless access to a 1-Wire network, there must be some translation between the wireless communication protocol such as NFC and the 1-Wire communication protocol. Most major smartphone brands already incorporate NFC to allow users to connect to electronics and unpowered objects such as key fobs, labels, and cards. As such, an NFC-equipped smartphone or device can access a 1-Wire network wirelessly.
In an NFC system, the transceiver is the initiator and produces an RF field to deliver power, send function commands, and enable information exchange. The transponder powers itself from the RF field generated by the transceiver. It also receives function commands to execute and relays data from memory or from attached devices to the NFC reader.
Electromagnetic induction between nearby antennas allows NFC to transmit and receive power, obtain control, and transfer data. A transceiver starts communicating with a transponder by using properly routed PCB traces or wounded wire in a calculated manner.
In Figure 1, an NFC hardware setup using a transceiver such as the MAX66300 and a transponder like the MAX66242 is shown. Learn how to implement an antenna design for the MAX66300 in Application Note 5921 – Designing an Antenna for MAX66300. Get more details about NFC and the secure dual-interface of the MAX66242 in Application Note 5995 - Need NFC/RFID? Tomorrow is Today in This Constant State of Innovation.
Figure 1. An NFC system consisting of the MAX66300 transceiver and the MAX66242 transponder. Ancillary circuitry is connected to the MAX66242 VOUT, I2C interface, and the PIO.
The MAX66242 transponder offers two functional features to provide wireless access to attached ancillary circuitry:
In the I2C master mode, the MAX66242 relays information from connected circuitry such as sensors, a microcontroller, and other ancillary circuitry to an NFC transceiver such as the MAX66300 or a smartphone. In the I2C slave mode, the MAX66242 is an intermediary between the connected host circuitry and an NFC transceiver.
The PIO provides additional functional features. For example, it enables ancillary circuitry when the NFC link is ready for communication and also provides general-purpose control and monitoring information. Read the MAX66242 unabridged datasheet for more details on the PIO.
To access and control a 1-Wire network, the MAX66242 requires bidirectional I2C and 1-Wire protocol translation. An I2C-to-1-Wire bridge such as the DS2484 facilitates this task. Figure 2 shows how I2C and 1-Wire protocol translation is handled by the MAX66242 and DS2484.
Figure 2. Wireless to 1-Wire Bridge. The MAX66242 powers the DS2484 and 1-Wire devices through VOUT.
The DS2484 complements the MAX66242 by converting between I2C and 1-Wire protocol with adjustable timing and a sleep mode. By allowing the MAX66242 to place the DS2484 in sleep mode through SLPZ, the DS2484 powers up when required by the NFC transceiver. Once the power down (PDN) bit is toggled to zero in the DS2484 configuration register, the 1-Wire network starts powering up for communication.
If your application requires symmetric key-based authentication of the 1-Wire network, the MAX66242 provides a built-in SHA-256 engine for computing a message authentication code (MAC) under FIPS 180-4. If the application instead needs an asymmetric public-key based authentication, the DS2475, an elliptic curve digital signature algorithm (ECDSA) coprocessor with I2C to 1-Wire master capability, can be used instead of the DS2484. The DS2475 generates certificates and signatures under the P-256 curve. Learn more about FIPS 180-4 and the P-256 curve from the National Institute of Standards and Technology (NIST). The DS2475 unabridged datasheet provides more detail on the part.
The MAX66300 and the MAX66242 complete an NFC system that meets the ISO 15693 and the FIPS 180-4 standards. When both are connected to individual PCB antennas tuned to 13.56MHz, the MAX66242 harvested output voltage VOUT and output current IOUT can be characterized. The measured results in this section were obtained using the MAX66300-X24EVKIT, which includes the MAX66300 and MAX66242.
Figure 3 shows the available voltage at VOUT harvested by the MAX66242 concerning the distance from the MAX66300 antenna. The voltage values for VOUT are obtained when both the transmit and receive antennas are parallel and centered to each other. The MAX66300 output driver antenna configuration in Figure 3 uses on-off keying (OOK) and drives the antenna differentially using the ANT1 and ANT2 pins. The voltage at VOUT varies with different antenna configurations, orientations, and environments, examples include being in the presence of nearby metals or other transponders in the read zone. At 3.2cm or less, VOUT can output 3.3V or 1.8V depending on the user configuration. At distances greater than 10.2cm, no harvested voltage regulation is present at VOUT.
Figure 3. The MAX66242 VOUT versus distance from the MAX66300 loop antenna.
To power, access, and control a 1-Wire network wirelessly, the energy harvested from the NFC link must power the MAX66242, the DS2484, and the 1-Wire devices as shown in Figure 2. To properly design an NFC-powered 1-Wire network, it is critical to understand the amount of current available IOUT from the harvested output voltage VOUT. Figure 4 models IOUT and VOUT as an ideal rectified voltage VS and source resistance RS.
Figure 4. VOUT modeled as an ideal voltage supply VS and source resistance RS. VDD is the voltage supply for the DS2484. The 1-Wire network pullup voltage is VPUP. RPUP is the pullup resistance of 1-Wire network.
The ideal rectified voltage VS equals the open-circuit voltage at VOUT. The source resistance RS effectively increases the pullup resistance of the 1-Wire network to RS + RPUP, where RPUP is internal to the DS2484. Get more details about the resistance value of RPUP, including the active pullup (APU) and the strong pullup (SPU), from the DS2484 data sheet. VDD is the voltage supply for the DS2484. Note that VOUT shares the same node as VDD and, therefore, are equal. The 1-Wire network pullup voltage is VPUP. Figure 5 shows the load regulation of VOUT with the same configuration described in Figure 3 at a distance of 0cm from the antenna of the NFC transceiver.
Figure 5. Output voltage (VOUT) versus output current (IOUT) for 3.3V VOUT mode.
The output voltage (VOUT) is defined as the ideal rectified voltage (VS) minus the voltage drop across the source resistance (RS) due to IOUT. The source resistance (RS) is defined in Equation (1) as follows:
RS = (VS – VOUT) / IOUT (1)
Figure 6 shows how the source resistance (RS) varies concerning the measured output current (IOUT) when the output voltage (VOUT) is set to the 3.3V mode. Source resistance (RS) exhibits nonlinear characteristics because of the challenge in maintaining a constant harvested VOUT with an increasing IOUT demand.
Figure 6. Source resistance (RS) for 3.3V VOUT mode.
Not only does RS depend on IOUT and VOUT, but it is also initially influenced by the internal pullup resistance (RPUP) of the DS2484. As such, if the 1-Wire network in Figure 4 is represented by an equivalent discharged capacitance (CTOTAL) as shown in Figure 7, RS could have a value dependent on VOUT and on an IOUT that is initially set by RPUP.
Figure 7. Simplified RC circuit that models the branch connection of the MAX66242 and DS2484 in Figure 4.
As CTOTAL accumulates charge, RS changes over time because IOUT and VOUT also adjust over time. Using Figure 5, VOUT can be determined by knowing the instantaneous value of IOUT. RS reaches a final value once the charge on CTOTAL reaches a steady-state value.
Given the nonlinearity between IOUT and VOUT, an iterative approach is needed to calculate the first RS value. A convergent result for RS can be determined by solving for IOUT and by looking up the value of VOUT on Figure 5.
Figure 8 illustrates the iterative procedure to calculate the initial value for RS for an output current (IOUT). A result for RS is considered convergent if IN+1OUT differs by 10% or less compared to INOUT. N represents the number of iterations in the flow diagram.
Note: Instead of calculating iterative versions of RS, Figure 6 can be used in conjunction with Figure 5 to find a final value. However, a better method is to calculate RS using the flow diagram and to use Figure 5 to look up VOUT as shown in Figure 8. With this approach, only one plot instead of two is used for extrapolation from the measured results to reduce error.
Figure 8. Flow diagram to calculate the initial source resistance (RS) for an output current IOUT. A result for RS is considered close to convergence when two sequentially calculated output currents (IOUT) differ by 10% or less. The flow diagram also allows to calculate the RS for a future time (tN+k) other than the initial time (t0).
Figure 8 can also be used to recalculate the source resistance (RS) while the equivalent capacitance (CTOTAL) continues to accumulate charge at time tN. Set the boolean for “New time tN?” to ‘YES’ to use the exponential decay function to calculate IOUT at a later time (tN+1).
For applications that require more output current (IOUT), an NFC transceiver with a high-voltage output driver and high-gain receiver can increase the range and power delivery.
With the MAX66242 as an RC circuit, and by modeling the regulated voltage harvested from the NFC RF field, we can calculate the source resistance added to the 1-Wire pullup resistance that exists on the 1-Wire network. Calculating the source resistance (RS) recursively allows us to find the output current (IOUT) supplied by the harvested regulated voltage (VOUT) of the MAX66242.
|DS2475||DeepCover ECDSA Coprocessor with 1-Wire Master||Samples|
|DS2484||Single-Channel 1-Wire Master with Adjustable Timing and Sleep Mode||Samples|
|MAX66242||DeepCover Secure Authenticator with ISO 15693, I²C, SHA-256, and 4Kb User EEPROM||Samples|
|MAX66300||DeepCover Secure Authenticator with SHA-256 and RFID Reader||Samples|
|EE-Mail||Subscribe to EE-Mail and receive automatic notice of new documents in your areas of interest.|
|Download||Download, PDF Format (801.8kB)|
|© Mar 14, 2019, Maxim Integrated Products, Inc.|
APP 6725: Mar 14, 2019
APPLICATION NOTE 6725, AN6725, AN 6725, APP6725, Appnote6725, Appnote 6725