Efficient Logarithmic Conversion on an ARM Microcontroller for Real Time Acoustic Monitoring

被引:0
|
作者
Hopkins, Mark. B. [1 ]
Lee, Peter [1 ]
机构
[1] Univ Kent, Sch Engn & Digital Arts, Canterbury, Kent, England
关键词
Logarithic Conversion; Logarithm Algorithm;
D O I
暂无
中图分类号
TM [电工技术]; TN [电子技术、通信技术];
学科分类号
0808 ; 0809 ;
摘要
Measuring instrumentation products incorporating embedded microcontrollers are frequently required to perform logarithmic conversions both accurately and efficiently - in this case the application is a high precision acoustic monitoring system. Many contemporary microcontrollers (such as those based on ARM Cortex M4 or M7 cores), incorporate an optional 'on board' Floating Point Unit (FPU), providing very rapid floating point arithmetic calculations leading some programmers to abandon integer variables in favour floating point types. This paper demonstrates how this facet of the microcontrollers may be employed, in an alternative approach, to efficiently compute logarithms using classical mathematical power series working in radix ten format. This is compared and contrasted with traditional iterative binary algorithms and 'Look up Table' techniques. The paper then develops the mathematical background and subsequently presents an efficient practical algorithm for such computations, which may be simply implemented (and adapted) in a high level language such as 'C'. An accuracy of better than 0.0005% has been attained with mean execution times of 350 nS for the mantissa calculation, and 830 nS for an overall common logarithmic conversion for single precision floating point numbers.
引用
收藏
页码:1915 / 1920
页数:6
相关论文
共 50 条
  • [41] A technique for efficient logging and monitoring of real-time systems
    Pyritz, Bill
    C/C++ Users Journal, 2002, 20 (03): : 30 - 34
  • [42] Size matters: Logarithmic space is real time
    Department of Computer Science, Bishop's University, 2600 College St, Sherbrooke, Que. J1M 0C8, Canada
    不详
    Int J Comput Appl, 2007, 4 (327-336):
  • [43] REAL-TIME PARALLEL LOGARITHMIC FILTERING
    ARMAND, A
    STRAND, TC
    SAWCHUK, AA
    SOFFER, BH
    OPTICS LETTERS, 1982, 7 (09) : 451 - 453
  • [44] A Real-Time Condition Monitoring for Lithium-Ion Batteries Using a Low-Price Microcontroller
    Kim, Taesic
    Adhikaree, Amit
    Kang, Daewook
    Kim, Myoungho
    Oh, Chang-Yeol
    Baek, Juwon
    2017 IEEE ENERGY CONVERSION CONGRESS AND EXPOSITION (ECCE), 2017, : 5248 - 5253
  • [45] Real-Time Continuous Acoustic Monitoring of Marine Mammals in the Mediterranean Sea
    Sanguineti, Matteo
    Guidi, Carlo
    Kulikovskiy, Vladimir
    Taiuti, Mauro Gino
    JOURNAL OF MARINE SCIENCE AND ENGINEERING, 2021, 9 (12)
  • [47] A real-time algorithm for acoustic monitoring of ingestive behavior of grazing cattle
    Chelotti, Jose O.
    Vanrell, Sebastian R.
    Milone, Diego H.
    Utsumi, Santiago A.
    Galli, Julio R.
    Leonardo Rufiner, H.
    Giovanini, Leonardo L.
    COMPUTERS AND ELECTRONICS IN AGRICULTURE, 2016, 127 : 64 - 75
  • [48] Real-time acoustic elastic property monitoring of compacts during compaction
    Akseli I.
    Libordi C.
    Cetinkaya C.
    Journal of Pharmaceutical Innovation, 2008, 3 (2) : 134 - 140
  • [49] Real-time acoustic monitoring facilitates the proactive management of biological invasions
    Wood, Connor M.
    Guenther, Felix
    Rex, Angela
    Hofstadter, Daniel F.
    Reers, Hendrik
    Kahl, Stefan
    Peery, M. Zachariah
    Klinck, Holger
    BIOLOGICAL INVASIONS, 2024, 26 (12) : 3989 - 3996
  • [50] Real-time acoustic emission monitoring for surface damage in hard machining
    Guo, YB
    Ammula, SC
    INTERNATIONAL JOURNAL OF MACHINE TOOLS & MANUFACTURE, 2005, 45 (14): : 1622 - 1627