<rt id="m4md3"></rt>
  • <bdo id="m4md3"><meter id="m4md3"></meter></bdo>
  • <label id="m4md3"></label>
      <center id="m4md3"><optgroup id="m4md3"></optgroup></center>
      產品分類

      當前位置: 首頁 > 工業電氣產品 > 端子與連接器 > 線路板連接器 > FFC連接器

      類型分類:
      科普知識
      數據分類:
      FFC連接器

      Low-Power, Long Range, ISM Wireless Measuring Node

      發布日期:2022-04-17 點擊率:46

             
      A low-power wireless sensor node needn't be either short range or complicated. This article describes a simple, inexpensive two-chip solution.


      Ideally, a wireless measurement node is low power, has good range, and is easily interfaced to different sensors. Through the combination of three Analog Devices, Inc. parts, an intelligent measurement node with an average current consumption of<70 μA, a range of almost 1 km (in free space), and a data rate of one transmission/minute can be achieved, while also maintaining a 16-bit ADC performance (see Figure 1). This makes the circuit suitable for battery power and such applications as automation and remote sensing.

      Low-power, long range

      Figure 1: Low-power, long range, ISM wireless measurement node (simplified schematic: all connections and decoupling not shown).

      The ADuC7060 precision analog microcontroller has a low-power ARM7 core as well as a myriad of precision analog functions. The onboard multiplexer, digitally programmable gain amplifier (PGA), voltage reference, programmable current sources, and 24-bit sigma-delta ADC allow almost any temperature and bridge sensors to be directly connected. In this case, a four-wire Pt100 (100 Ω platinum RTD) temperature sensor was chosen. Further details on the measuring circuit can be found in the AN-0970 Application Note.

      The system consists of a low-power temperature measurement node that wakes once a minute, measures temperature, transmits this measurement at 10 kbps to the base node, and returns to sleep. The base node continuously listens for a package from the measurement node and sends this information to the PC via the UART for display in HyperTerminal.

      The wireless band chosen for this application is the sub-GHz, license-free ISM (industrial, scientific, medical) band. The ADF7020 transceiver, which supports bands in the 431 MHz to 478 MHz frequency range as well as the 862 MHz to 956 MHz frequency range, is therefore a natural choice. This low-power transceiver requires very few external components, is easily connected to the ADuC7060 precision analog microcontroller, and offers excellent performance.

      The ADP121 voltage regulator provides the 2.5 V supply from two 1.5 V batteries. The very low quiescent current of this voltage regulator (11 μA at no load) is paramount in maximizing battery lifetime.

      Circuit description

      Two buses connect the ADF7020 ISM transceiver with the ADuC7060 precision microcontroller. Both buses are serial and bidirectional. One of these buses configures the transceiver and requires four microprocessor ports. The second bus is the data bus, which enables the data transaction between controller and transceiver. This bus requires at least three microprocessor ports. In this particular application, two ports are used instead of one bidirectional port with two interrupts. This simplifies the software, but necessitates the use of an extra diode and resistor to separate incoming and outgoing data streams. A parallel combination of two Schottky diodes ensures a logic low, which is less than 200 mV. The BAT54C has two diodes in the same package (connecting Pin 1 and Pin 2 together for a parallel configuration). All digital ports on the ADuC7060 have programmable pull-up resistors; however, an external pull-up resistor is also required. With a data rate of 10 kbps, a 4.7 kΩ resistor works well.

      Three factors determine the overall current drawn by the circuit: the requirement of the individual components in both sleep and active modes, the amount of time the system is active, and the amount of time the transceiver itself is active.

      The first factor is addressed by choosing low-power components such as the ADuC7060 and the ADF7020. The second factor, minimizing the activity of the system, is achieved by keeping the system inactive as long as possible. It is worth considering the tradeoff between integer versus floating point arithmetic — in many cases, integer is sufficient, has a shorter execution time, and thus provides greater savings. The final factor, reducing air time, is achieved in part by using a protocol with minimum overhead, but also, to a greater extent, by using the ADF7020, which has very high receiver sensitivity and good out-of-band rejection, thus maximizing the probability that the data package contains correct data.

      Code description — general

      The system spends the majority of time in deep sleep mode, with a current consumption of 50 μA to 60 μA (depending on ambient temperature). Timer 2 wakes the system every second. Every 60 seconds, an ADC measurement is executed, linearized, and transmitted. Timer 2 can wake the system from deep sleep; the other three timers cannot. Timer 2 is 16-bit, meaning that it wakes every second when running from a 32 kHz clock (in sleep mode). After the ADC is started, the system goes into pause mode (see the ADuC7060 data sheet for more information). This is a reduced power mode, albeit not as reduced as deep sleep. The ADC wakes the system when finished. A temperature value is calculated from the ADC results and is packaged and transmitted.

      Packaging essentially means placing appropriate data in a buffer. In this case, the data consists of a 4-byte floating point temperature value and a 2-byte CRC (cyclic redundancy check). In a more complex system, a header with node address, received signal strength, and other information precedes this data. Before sending this buffer to the ADF7020 transceiver, an 8-byte preamble to help synchronize the receiving node and a 3-byte synchronization word, or sync word, are sent. This is a unique 3-byte number that is checked for a match at the receiver node before a package can be received.

      The hardware is very similar on the receiving side; an ADF7020 transceiver is configured to listen for the unique sync word. After the sync word is received, the data package follows. The data is sent to the PC via the UART.

      Flowcharts for the main loops of both the measurement node and the base receiving node are displayed in Figure 2.

      Measuring and receiving

      Figure 2: Measuring and receiving node main loop flowcharts.


      Code description ? ADF7020 driver

      There are many modulation schemes supported by the ADF7020. In this case, the GFSK (Gaussian Frequency Shift Keying) is used. This has the benefit of having very good spectral efficiency. In this mode, the ADF7020 generates the data clock both when transmitting and receiving. The rising edge of this clock (DATA CLK) generates an interrupt, which causes the ADuC7060 to place the data on the output port bit-by-bit, as shown in Figure 3. When all the data has been clocked-out, the chip select is deasserted, and the ADuC7060 reenters deep sleep mode.

      Data I/O timing

      Figure 3: Data I/O timing.


      On the receiving side, the ADF7020 generates an interrupt when a matching sync word is received (Port INT/LOCK goes high for nine clock cycles). This informs the ADuC7060 processor to prepare for the reception of a package. Each bit that is received from the package causes an interrupt in the ADuC7060. In the interrupt service routine (ISR), the bit stream is read and stored in a buffer. When all the bytes in the package have been received, a flag is set to indicate that a new package has been received. The main loop can now ensure the validity of the package by the checksum. A correct and complete package can be processed. In this case, this information is sent via the UART to the PC for display. The same ISR handles both the sending and receiving of data to/from the ADF7020 transceiver, as shown in Figure 4.

      Interrupt service routines

      Figure 4: Interrupt service routines for handling Rx and Tx data.


      Common variations

      Depending on the desired frequency, there are a number of other products that can be used instead of the ADF7020. For example, for the 2.4 GHz frequency band, the ADF7242 is a very good choice.

      Learn more

      Looney, Mike. AN-0970 Application Note. RTD Interfacing and Linearization Using an ADuC706x Microcontroller, Analog Devices.

      Data sheets and evaluation boards

      ADF7020 Data Sheet
      ADF7020 evaluation Board
      ADF7020 Device Drivers
      ADuC7060 Data Sheet
      ADuC7060 evaluation System
      ADP121 Data Sheet

      下一篇: PLC、DCS、FCS三大控

      上一篇: Ethernet Throughput

      推薦產品

      更多
      主站蜘蛛池模板: 国产成人亚洲综合无码| 国产综合成色在线视频| 本道久久综合无码中文字幕| 狠狠色丁香婷婷综合久久片 | 色综合天天娱乐综合网| 一本一本久久a久久精品综合| 亚洲综合图色40p| 色综合久久天天综合观看| 伊人久久大香线蕉综合电影| 久久久亚洲裙底偷窥综合| 国产色产综合色产在线观看视频| 亚洲另类激情综合偷自拍图| 狠狠色噜狠狠狠狠色综合久| 狠狠色狠狠色综合日日不卡| 久久综合AV免费观看| 色欲色香天天天综合网站| 青青青国产色视频在线观看国产亚洲欧洲国产综合 | 色天天综合久久久久综合片| 久久婷婷综合色丁香五月| 国产精彩对白综合视频| 亚洲国产成人综合| 狠狠色丁香婷婷综合精品视频| 色综合天天综合高清网国产| 色88久久久久高潮综合影院| 人人狠狠综合久久亚洲88| 老色鬼久久综合第一| 狠狠色狠狠色综合伊人| 91精品国产综合久久婷婷| 99久久综合给久久精品| 亚洲人成依人成综合网| 国产婷婷色综合AV蜜臀AV| 日本一道综合色视频| 婷婷综合另类小说色区| 亚洲综合在线观看视频| 久久久久久久综合狠狠综合| 婷婷综合激情五月中文字幕| 色综合小说久久综合图片| 色综合久久88色综合天天 | 狠狠色噜噜色狠狠狠综合久久 | 精品综合久久久久久99| 国产成人综合精品一区|