DOI QR코드

DOI QR Code

Measuring ultrasonic TOF using Zynq baremetal Multiprocessing

Zynq 기반 baremetal 멀티프로세싱에 의한 초음파 TOF 측정

  • Kang, Moon ho (Department of Information Communication & Display Engineering, Sunmoon University)
  • 강문호 (선문대학교 정보통신 디스플레이 공학과)
  • Received : 2017.02.01
  • Accepted : 2017.05.23
  • Published : 2017.06.25

Abstract

In this research the TOF (time of flight) of ultrasonic signal is measured using Xilinx's Zynq SoC (system on chip). The TOF is calculated from the difference between periods during which RF (radio frequency) and ultrasonic signals come across a distance, and then travelling distance is obtained by multiplying the TOF by the ultrasonic speed in the air. For this purpose, a ultrasonic pulse is generated from a Zynq's internal ADC, a FIR (finite impulse response) filter, and a Kalman filter. And a RF reference pulse is generated from a RF interface. Based on baremetal multiprocessing, the Kalman filter and the RF interface are c-programmed on Zynq's dual processor cores, with other components fabricated on Zynq's FPGA. With this HW/SW co-design, both lower resource utilization and much smaller designing period were obtained than the HW design. As a design tool, Vivado IDE(integrated design environment) is used to design the whole signal processing system in hierarchical block diagrams.

본 연구에서는 Xilinx의 Zynq SoC (system on chip)를 이용하여 초음파 신호의 TOF (Time of Flight)를 측정한다. TOF는 특정 거리를 이동하는 데 소요되는 RF (radio frequency) 기준 신호와 초음파 신호의 시간차이로 부터 계산되고, 공기중 초음파의 속도를 곱하여 초음파 이동거리를 알아낸다. 이를 위해 Zynq의 내장 ADC, FIR (finite impulse response) 필터, Kalman 필터로부터 초음파 펄스를 생성하고, RF 인터페이스로부터 RF 기준펄스를 생성한다. Kalman 필터와 RF 인터페이스는 baremetal 멀티프로세싱에 의해 Zynq의 듀얼 프로세서 코어에 c-코드로 프로그래밍하고 나머지 구성 요소들은 Zynq의 FPGA 내에 설계하여, HW/SW co-design을 구현한다. 이를 통해 HW design에 비해 Zynq 자원의 가용률을 낮추고, 설계 시간을 대폭 줄일 수 있었다. 설계 툴로 Vivado IDE (integrated design environment)를 이용하여, 전체 신호처리 시스템을 계층적 블록 다이어그램의 형태로 설계하였다.

Keywords

References

  1. "Zynq-7000 All programmable SoC overview," DS190 (v1.6) Xilinx, December 2, 2013.
  2. M. J. Sarmah and C. Murphy, "Implementation of signal processing IP on Zynq-7000 AP SoC to post-process XADC samples," XAPP1203 (v1.0) Xilinx, April 2014.
  3. P. Wehner, M. Ferger, D. Gohringer and M. Hubner, "Rapid prototyping of a portable HW/SW co-design on the virtual zynq platform using SystemC," IEEE 26th International Conference on SOC(SOCC), pp. 296-300, 2013.
  4. S. Gilliland, P. Govindan, T. Gonnot and J. Saniie, "Performance evaluation of FPGA based embedded ARM processor for ultrasonic imaging," IEEE International Ultrasonics Symposium (IUS), pp. 519-522, 2013.
  5. H. P. Bruckner, C. Spindeldreier and H. Blume, "Energy-efficient inertial sensor fusion on heterogeneous FPGA-fabric/RISC system on chip," Seventh International Conference on Sensing Technology (ICST), pp. 506-511, 2013.
  6. A. Astarloa, J. Lazaro, U. Bidarte, A. Zuloaga and M. Idirin, "System-on-Chip implementation of Reliable Ethernet Networks nodes," 39th Annual Conference of the IEEE Industrial Electronics Society, IECON, pp. 2329-2334, 2013.
  7. A. Schmidt, "Profiling bare-metal cores in AMP systems," System, Software, SoC and Silicon Debug Conference, pp. 1-4, 2012.
  8. J. McDougall, "Simple AMP: bare-metal system running on both Cortex-A9 processors," Application Note: Zynq-7000 AP SoC, Xilinx, Jan. 24, 2014.
  9. J. C. Jackson, R. Summan, S. M. Whiteley, S. G. Pierce, and G. Hayward, "Time-of-flight measurement techniques for airborne ultrasonic ranging," IEEE Trans. Ultrason. Ferroelectr. Freq. Control, Vol. 60, no. 2, pp. 343-355, 2013. https://doi.org/10.1109/TUFFC.2013.2570
  10. Vivado design suite user guide, programming and debugging, Xilinx, Apr. 2014.
  11. ZYBO reference manual, digilent, Feb. 2014.
  12. B. G. Lim and M. H. Kang, "HW/SW co-design for an ultrasonic signal processing system using Zynq SoC," Journal of The Institute of Electronics Engineers of Korea, Vol. 51, no. 8, pp. 148-155, August 2014.
  13. Integrated Logic Analyzer v6.0, LogiCORE IP product guide, Vivado design suite, Nov. 2015.
  14. CC2500 low-cost low-power 2.4 GHz RF transceiver, Datasheet, TI, 2014.