应用笔记6755

Wirelessly Powering and Accessing a 1-Wire Network


Abstract: If the timing aligns with 1-Wire® protocol specifications, a regulated voltage source can power and maintain communication on a 1-Wire network. Simplify the analysis process by modeling the voltage source resistance, the 1-Wire pull-up resistance, and the 1-Wire network as a capacitive load. This way, you can calculate first-order equations related to initially charging up the 1-Wire network and pulling the 1-Wire parasitic capacitance to the supply rail and ground. Time constants ε, δ, tREC, and tf help specify a maximum total typical capacitance that can allow proper 1-Wire communication for a given pull-up resistance and pull-up voltage. A similar version of this application note originally appeared on Power Electronics on May 30, 2018.

Initial Charging of a 1-Wire Network

1-Wire® devices power-up parasitically by charging an internal reservoir from the 1-Wire communication line. VPUP, the pull-up voltage on the 1-Wire network, is dependent upon VOUT and RPUP. The maximum current that can be supplied to the 1-Wire network also depends on these two parameters.

When powering a 1-Wire network from a high-impedance source like the MAX66242 voltage regulator at VOUT, before sending 1-Wire function commands, take care to ensure that enough time passes before the devices attached to the 1-Wire network are charged and ready to communicate. This occurs when the initial capacitance CIO at its I/O pin is charged.

Most 1-Wire devices specify typical and maximum CIO values that exist on their 1-Wire I/O port. The maximum CIO exists when VPUP is first applied to the 1-Wire network. After the 1-Wire network is fully charged, only the typical CIO affects 1-Wire communication. Therefore, the CIO-MAX should be charged to the minimum pull-up voltage VMIN-PUP required by the 1-Wire device. Equation (1) defines the minimum pull-up voltage VMIN-PUP across the total maximum capacitance CTOTAL-MAX of the 1-Wire network.

VMIN-PUP = VS(1 - etCHARGE/ -RS+PUPCTOTAL-MAX ) [Eq. 1]

where CTOTAL-MAX = ΣNi=0 (CMAX-IO, i + CLAYOUT), RS+PUP = RS + RPUP, VMIN-PUP is the minimum pull-up voltage required on the 1-Wire network, and VS is the open-circuit voltage at VOUT. The capacitance CLAYOUT represents the capacitance introduced to the 1-Wire network because of junctions on the 1-Wire node (See Figure 1 for a depiction.)

1-Wire network modeled as a series of I/O capacitances CIO and parasitic layout capacitance CLAYOUT as a result of junctions on the 1-Wire node.
Figure 1. 1-Wire network modeled as a series of I/O capacitances CIO and parasitic layout capacitance CLAYOUT as a result of junctions on the 1-Wire node.

VMIN-PUP is the largest minimum-pull-up voltage in the 1-Wire network. So, if device number one has a minimum pull-up voltage of 2.8V and device number two has a minimum pull-up voltage of 3.0V, then VMIN-PUP should equal to 3.0V for the 1-Wire network.

Equation (2) determines the time tCHARGE necessary to charge the total maximum capacitance CTOTAL-MAX to the minimum pull-up voltage VMIN-PUP of a 1-Wire network:

tCHARGE = -RS+PUPCTOTAL-MAXln(1 – VMIN-PUP / VS) [Eq. 2]

Parasitic Capacitance During 1-Wire Communication

The total typical capacitance CTOTAL-TYP on the 1-Wire network after powering up is defined as the sum of all typical capacitances CTYP-IO plus the parasitic capacitance of the layout CLAYOUT. This is represented in schematic form in Figure 9 by replacing CMAX-IO,N with CTYP-IO,N where CTOTAL-TYP = ∑ni=1CTYP-IO, i + CLAYOUT. The typical capacitance CTYP-IO refers to the parasitic capacitance at the I/O that originates from each of the device’s internal 1-Wire receivers/transmitters. In every 1-Wire communication sequence, the typical capacitance CTYP-IO, the pull-up voltage VPUP, and the pull-up resistance RPUP are responsible for the following four fundamental timing parameters:

  1. ε – the time taken to pull up from 0V to the 1-Wire network’s threshold-high voltage VTH.
  2. δ – the time taken to pull up from 0V to the 1-Wire host input-high voltage VIH-HOST.
  3. tREC – the time taken to pull up from VTH to VPUP. tREC defines the maximum time available for the 1-Wire network to recharge during communication.
  4. tf – the time taken to pull down from VPUP to the 1-Wire network’s threshold-low voltage VTL.

Time constants ε, δ, tREC, and tf help specify a maximum total typical capacitance CTOTAL-TYP that can allow proper 1-Wire communication for a given RPUP and VPUP. If CTOTAL-TYP is exceeded, then timing constraints are not met, rendering 1-Wire communication improbable. For the value of the four time constraints, see the datasheet for the respective 1-Wire device.

Pull-up Fundamental Timing Parameters ε, δ, and tREC

Figure 2 illustrates time ε needed to charge up the 1-Wire total typical capacitance CTOTAL-TYP from 0V to VTH. Figure 3 presents this concept in schematic form.

Time ε to charge the total typical capacitance CTYP-TOTAL from 0V to VTH
Figure 2. Time ε to charge the total typical capacitance CTYP-TOTAL from 0V to VTH.

1-Wire® network modeled as an equivalent total typical capacitance CTOTAL-TYP that includes the parasitic layout capacitance CLAYOUT
Figure 3. 1-Wire network modeled as an equivalent total typical capacitance CTOTAL-TYP that includes the parasitic layout capacitance CLAYOUT.

Equation (3) defines ε – the time required to charge CTOTAL-TYP from 0V to VTH via RS+PUP.

ε = -RS+PUPCTOTAL-TYPln(1 – VTH / VS) [Eq. 3]

Figure 4 illustrates time δ needed to charge up the 1-Wire total typical capacitance CTOTAL-TYP from 0V to VIH-HOST.

Time δ to charge total typical capacitance CTYP-TOTAL from 0V to VIH-HOST
Figure 4. Time δ to charge total typical capacitance CTYP-TOTAL from 0V to VIH-HOST.

Equation (4) defines ε – the time required to charge CTOTAL-TYP from 0V to VTH via RS+PUP.

δ = -RS+PUPCTOTAL-TYPln(1 – VIH-HOST / VS) [Eq. 4]

Figure 5 illustrates the shortest time tREC needed to recharge the 1-Wire total typical capacitance CTOTAL-TYP from VTH to VPUP-MIN.

Shortest time tREC possible to charge total typical capacitance CTYP-TOTAL from VTH to VPUP-MIN
Figure 5. Shortest time tREC possible to charge total typical capacitance CTYP-TOTAL from VTH to VPUP-MIN.

Follow this three-step procedure to calculate tREC:

  1. Calculate the time required to charge from 0V to VTH – this is equivalent to ε in Equation (3).
  2. Calculate the time required to charge from 0V to VPUP-MIN.
    t’ = -RS+PUPCTOTAL-TYPln(1 – VPUP-MIN / VS)
  3. Use the quotient rule to find tREC = t’ – ε.
    tREC = RS+PUPCTOTAL-TYPln[(1 – VTH/VS) / (1 – VPUP-MIN/VS)] [Eq. 5]

Pull-Down Timing Parameter tf
Unlike ε, δ, and tREC, time tf does not depend on RS and RPUP because time tf defines the time required for the 1-Wire host or device to pull down the 1-Wire network. Therefore, the pull-down resistance RPDOWN of the 1-Wire host or device defines the time tf necessary to discharge CTOTAL-TYP from VPUP to VTL as illustrated in Figure 6.

Time tf to discharge total typical capacitance CTYP-TOTAL from VPUP-MIN to VTL
Figure 6. Time tf to discharge total typical capacitance CTYP-TOTAL from VPUP-MIN to VTL.

The pull-down resistance RPDOWN for the 1-Wire host and device comes from the maximum output low-voltage VOL and the corresponding output low-current IOL provided in the electrical characteristics table of the respective datasheet. Figure 7 illustrates the pull-down resistance RPDOWN and the pull-down current IOL.

Simplified RC circuit that models the pull-down resistance RPDOWN from either the 1-Wire host or device
Figure 7. Simplified RC circuit that models the pull-down resistance RPDOWN from either the 1-Wire host or device. IOL is the pull-down current.

For example, the DS2484 I2C-to-1-Wire bridge has a maximum VOL of 0.4V at 4mA. This means that the maximum pull-down resistance is RPDOWN is 100Ω.

Equation (6) defines the discharge time tf.

tf = -RPDOWNCTOTAL-TYPln(VTL / VPUP-MIN) [Eq. 6]

Note that time tf should be met for the 1-Wire host and the device. The 1-Wire host pulls down the 1-Wire node at the beginning of each basic operation, i.e., reset, write 1 bit, write 0 bit, and read a bit. The 1-Wire device pulls down the 1-Wire node during a reset operation to generate a presence pulse.

1-Wire communication and power delivery are possible when the four fundamental parameters ε, δ, tREC, and tf are met for all devices on the network. You can determine the maximum number of devices and bus length achievable in the NFC-powered system by knowing the total allowable capacitance to meet all edge timings specified by the 1-Wire protocol.

For more information about ε, δ, and tREC, and how they affect 1-Wire communication in standard or overdrive mode, refer to Application Note 126 – 1-Wire Communication Through Software. For more information about how typical capacitance affects 1-Wire communication, refer to Application Note 148 – Guidelines for Reliable Long Line 1-Wire Networks.

Compatible 1-Wire Devices

Table 1 lists 1-Wire devices with their respective input/output capacitance CIO, pull-up voltage VPUP, pull-up resistance RPUP, voltage threshold-low VTL, and voltage threshold-high VTH specifications. VTL is the voltage below which, during a falling-edge on the 1-Wire network, a logic low is detected. VTH is the voltage above which, during a rising-edge on the 1-Wire network, a logic high is detected. Both VTL and VTH are a function of VPUP and 1-Wire recovery times.

Device CIO (pF) VPUP (V) RPUP (kΩ) VTL (V) VTH (V)
TYP Max Min Max Min Max Min Max Min Max
iButtons
DS1925 High-Capacity Temp. Logger w/ 122kb Data-Log Mem. 120000 3.0 5.25 2.2 0.5VPUP 0.75VPUP
DS1923 Hygrochron Temperature/Humidity Logger 100 800 3.0 5.25 2.2 0.4 3.2 0.7 3.4
DS1922 High Temp. Logger w/ 8kb Data-log Mem.
DS1922L/T Temp. Logger w/ 8kb Data-log Mem.
DS1921G Thermochron 100 800 2.8 5.25 2.2 0.71 2.70 0.66 2.70
DS1921H/Z High Resolution Thermochron
DS1904 Real-Time Clock 50 2.8 6.0 5 (Note 1) 0.8 2.2 6.0
DS1972 EEPROM 1000 2.8 5.25 0.3 2.2 0.5 VPUP-1.8 1 VPUP-1.0
DS1992/3 Memory 100 800 2.8 6.0 5 (Note 1) 0.3 2.2
DS1990R Serial Number 100 800 2.8 6.0 0.6 5 0.3 2.2
DS1977 Password-Protected 32kb EEPROM 5000 2.8 5.25 0.6 2.2 0.5 3.2 0.7 3.4
DS1982/DS9105 Memory 800 2.8 6.0 5 (Note 1) 0.8 2.2
DS1996 100 800 2.8 6.0 5 (Note 1) 2.2
DS1920 Temperature Logger 800 2.8 6.0 0.8 2.2
DS1990A 100 800 2.8 6.0 0.6 5 0.3 2.2
DeepCover® Secure Authenticators with SHA-256
DS28E15 512b User EEPROM 1500 2.97 3.63 0.3 1.5 0.65VPUP 0.75VPUP
DS28E22 2kb User EEPROM
DS28E25 4kb User EEPROM
DeepCover® Secure Authenticators with ECDSA
DS28E35 1kb User EEPROM 1500 2.97 3.63 0.3 1.5 0.65VPUP 0.75VPUP
Memory
DS24B33 4kb EEPROM 2500 2.8 5.25 0.3 2.2 0.5 VPUP -1.8 1.0 VPUP -1.0
DS2413 Addressable Switch 100 800 2.9 5.25 1.5 2.2 0.4 3.2 0.7 3.6
DS28E04-100 Switch, EEPROM, PIO 100 800 2.8 5.25 0.3 2.2 0.46 4.40 1.0 4.9
DS2408 Addressable Switch 1200 3.3 5.25 2.2 0.5 3.2 0.8 3.4
DS2431 1kb EEPROM 1000 2.8 5.25 0.3 2.2 0.5 VPUP-1.8 1.0 VPUP-1.0
DS2430A 256-bit EEPROM 1000 2.8 5.25 0.3 2.2 0.46 VPUP-1.8 1.0 VPUP-1.1
DS2401 Serial Number 800 2.8 6.0 1.5 5.0 0.3 2.2
DS2406 Switch w/ 1kb Mem. 800 2.8 6.0 0.5 2.2
DS28E80 Radiation Resistant 6500 2.97 3.63 300 750 0.65VPUP (Note 1) 0.75VPUP (Note 1)
DS28E05 112-byte EEPROM 1500 1.71 3.63 0.3 750
DS28E05 112-byte EEPROM 1000 3.0 5.25 0.3 2.2
Thermometers
DS28EA00 Sequence Detect and PIO 1000 3.0 5.5 0.3 2.2 0.46 VPUP-1.9 1.0 VPUP -1.1
DS1825 with 4-bit address 25 3.0 3.7 4.7 (Note 1) 0.7 3.0
DS18S20-PAR 25 3.0 5.5 4.7 (Note 1) 0.8 3.0
DS1822-PAR
DS18B20-PAR
Timekeeping with Interrupt
DS2417 50 2.2 5.0 0.8 2.2
Table 1. List of 1-Wire devices.

Conclusion

By modeling an NFC transponder connected to a 1-Wire network as an RC circuit, we can verify whether harvested power delivery and communication are feasible. A smartphone or any device equipped with an NFC transceiver under ISO15693 and FIPS180-4 can authenticate, identify, access memory from, conduct data acquisition on, and control a 1-Wire network. With an NFC system, we can wirelessly power a 1-Wire network and allow secure asset and information management for a node of closed mobile systems and internet of things (IoT) devices.

A similar version of this application note originally appeared on Power Electronics on May 30, 2018.



相关型号
DS1822 经济型、1-Wire数字温度计 免费样品  
DS1825 分辨率可编程设置的1-Wire数字温度计,带有4位ID 免费样品  
DS18B20 分辨率可编程设置的1-Wire数字温度计 免费样品  
DS18S20 1-Wire寄生供电数字温度计 免费样品  
DS1904 iButton RTC  
DS1920 iButton温度记录仪  
DS1923 Hygrochron iButton器件,具有8KB数据记录存储器  
DS1925 iButton高密度温度记录器,带有122KB数据记录存储器  
DS1972 iButton 1024位EEPROM  
DS1977 iButton 32K字节EEPROM  
DS1982 iButton 1K位只添加 免费样品  
DS1992 iButton 1K位/4K位存储器 免费样品  
DS1996 iButton 64K位存储器 免费样品  
DS2401 硅序列号 免费样品  
DS2406 双通道、可编址开关与1K位存储器 免费样品  
DS2408 1-Wire、8通道、可编址开关 免费样品  
DS2413 1-Wire、双通道、可编址开关 免费样品  
DS2417 1-Wire时钟芯片,带有中断 免费样品  
DS2431 1024位1-Wire EEPROM 免费样品  
DS2484 时间可调并具有休眠模式的单通道1-Wire主机 免费样品  
DS24B33 1-Wire 4Kb EEPROM 免费样品  
DS28E05 1-Wire EEPROM 免费样品  
DS28E07 1024位1-Wire EEPROM 免费样品  
DS28E15 内置1-Wire SHA-256和512位用户EEPROM的DeepCover安全认证方案 免费样品  
DS28E22 内置1-Wire SHA-256和2Kb用户EEPROM的DeepCover安全认证方案 免费样品  
DS28E25 内置1-Wire SHA-256和4Kb用户EEPROM的DeepCover安全认证方案 免费样品  
DS28E80 耐γ辐射1-Wire存储器 免费样品  
DS28EA00 1-Wire数字温度计,具有顺序检测和PIO 免费样品  
MAX66242 DeepCover安全认证器,具有ISO 15693、I²C、SHA-256和4Kb用户EEPROM 免费样品  


下一步
EE-Mail 订阅EE-Mail,接收关于您感兴趣的新文档的自动通知。
Download 下载,PDF格式 (230.3kB)  

© Mar 14, 2019, Maxim Integrated Products, Inc.
The content on this webpage is protected by copyright laws of the United States and of foreign countries. For requests to copy this content, contact us.

APP 6755: Mar 14, 2019
应用笔记6755, AN6755, AN 6755, APP6755, Appnote6755, Appnote 6755