Abstract
In this paper a digital architecture for generating piecewise-linear arbitrary waveforms is presented. The proposed design is able to generate a piecewise-linear periodic signal by only using a minimum number of input data (breakpoints). The generator circuit implements a hybrid scheme which takes advantage of two methods: the purely piecewise-linear interpolation and the lookup-table structure. From the piecewise-linear method exploits the characteristic of a reduced memory requirement as well as the capability of automatically construct a waveform by repetitive (iterative) function evaluations. From lookup-table makes use of the simplicity in hardware implementation and the higher processing speed. In order to verify the performance of this proposal, three piecewise-linear waveforms have been successfully implemented in a ATMEGA32 microcontroller. Experimental results show a fast execution speed and a reduced memory demand in the proposed circuit realization.
Similar content being viewed by others
References
Adad Langlois W F and Al-Khalili D 2012 Arbitrary function generator using direct digital synthesis. Conference on Precision Electromagnetic Measurements 622–623
Catunda S Y C, Saavedra O R, Fonseca Neto J V and Morais M R A 2003 Look-up table and breakpoints determination for piecewise linear approximation functions using evolutionary computation. In: Proceedings of the Twentieth IEEE Instrumentation and Measurement Technology Conference 1: 435–440
Langlois J M P and Al-Khalili D 2003 Piecewise continuous linear interpolation of the sine function for direct digital frequency synthesis. IEEE MTT-S Int. Microwave Symp. Digest. 1: A65–A68
Lu T L and Qiu Y L 2001 An approach to the single-chip arbitrary waveform generator (AWG). International Conference on ASIC 506–509
Ming-Gang G and Iuzzolino R J 2009 The design of direct digital frequency synthesis based on ROM lookup table. International Conference on Information Engineering and Computer Science 1–3
Prasad S S 2007 Design of arbitrary waveform generator based on direct digital synthesis technique using code composer studio platform. Int. Symp. Signals Circuits Syst. 1: 1–4
Tang P T P 1991 Table-lookup algorithms for elementary functions and their error analysis. IEEE Symposium on Computer Arithmetic 232–236
Weibo H, Chung-Len L and Wang X 2008 Arbitrary waveform generator based on direct digital frequency synthesizer. IEEE International Symposium on Test and Application Electronic Design 567–570
Xiaodongmn L, Yanyan S and Shubo L 2007 A MCU-based arbitrary waveform generator for SLH power amplifier using DDS technique. International Conference on Electronic Measurement and Instruments 4: 895–899
Ichige K, Blu T and Unser M 2006 Interpolation of signals by generalized piecewise-linear multiple generators. IEEE International Conference on Acoustics, Speech, and Signal Processing 6: 261–264
Kolesnikov A 2008 Constrained piecewise linear approximation of digital curves. International Conference on Pattern Recognition 1–4.
Wen C and Ma X 2008 A basis-function canonical piecewise-linear approximation. IEEE Trans. Circuits Syst. I: Regular Papers 55: 1328–1334
Schulte M J and Stine J E 1997 Accurate function approximations by symmetric table lookup and addition. IEEE International Conference on Application-Specific Systems, Architectures and Processors 144–153
Sobti K, Deng L, Chakrabarti C, Pitsianis N, Sun X, Kim J, Mangalagiri P, Irick K, Kandemir M and Narayanan V 2007 Efficient function evaluations with lookup tables for structured matrix operations. IEEE Workshop on Signal Processing Systems 463–468
Day J and Bible S 2004 Piecewise linear interpolation on PIC12-14-16 Series Microcontrollers, Microchip, Applications Notes-AN942: 1–8
Hsieh J W, Tsai G R and Lin M C 2003 Using FPGA to implement an n-channel arbitrary waveform generator with various add-on functions. IEEE International Conference on Field-Programmable Technology 296–298
Rincon-Escobar T J, Bernard-Reyes C and Jimenez-Fernandez V M 2009 Arquitectura digital para la evaluacion de funciones no-lineales: una perspectiva de interpolacion triangular. In: Memorias del XXIV Congreso de Instrumentacion SOMI-2009: 43–46
Agilent 2011 Comparing function generator performance: Direct digital synthesis versus point-by-point technology, URL http://cp.literature.agilent.com/litweb/pdf/5990-7460EN.pdf, online accessed on 10-December-2015
Yih-Chyun J 1997 Direct digital synthesizer with jittered clock. IEEE Trans. Instrum. Measur. 46: 653–655
Baochun H and Naeem S 2010 Real time DDS waveform generator in TI DSP. In: Proceedings of the fourth European DSP in education and research conference 241–244
National Instruments 2015 Understanding direct digital synthesis (DDS), URL http://www.ni.com/white-paper/5516/en/, online accessed on 11 December 2015
Rodriguez J A, Lifschitz O D, Jimenez-Fernandez V M, Julian P and Agamennoni O E 2011 Application-specific processor for piecewise linear functions computation. IEEE Trans. Circuits Syst. I: 58: 971–981
Acknowledgment
We gratefully acknowledge the financial support of the National Council for Science and Technology of Mexico (CONACyT) through grant CB-2010-01 no.157024.
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Jimenez-Fernandez, V.M., Vazquez-Leal, H., Luna-Lozano, P.S. et al. Digital architecture for a piecewise-linear arbitrary-waveform generator. Sādhanā 41, 847–853 (2016). https://doi.org/10.1007/s12046-016-0527-2
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s12046-016-0527-2