A Novel Multi-Exponential Function-Based Companding Technique for Uniform Signal Compression Over Channels

Total Page:16

File Type:pdf, Size:1020Kb

A Novel Multi-Exponential Function-Based Companding Technique for Uniform Signal Compression Over Channels INTL JOURNAL OF ELECTRONICS AND TELECOMMUNICATIONS, 2010, VOL. 56, NO. 2, PP. 125-128 Manuscript received April 8, 2010; revised June, 2010. 10.2478/v10177-010-0016-1 $1RYHO0XOWL([SRQHQWLDO)XQFWLRQEDVHG &RPSDQGLQJ7HFKQLTXHIRU8QLIRUP6LJQDO &RPSUHVVLRQRYHU&KDQQHOVZLWK/LPLWHG '\QDPLF5DQJH 7DOHE0RD]]HQL+HQU\6HOYDUDMDQG<LQJWDR-LDQJ ^ $EVWUDFW²&RPSDQGLQJ DV D YDULDQW RI DXGLR OHYHO FRPSDQGLQJVLJQDOVȝODZLQ1RUWK$PHULFDDQG-DSDQDQG$ FRPSUHVVLRQ FDQ KHOS UHGXFH WKH G\QDPLF UDQJH RI DQ DXGLR ODZ LQ (XURSH >@ $OWKRXJK ȝODZ VLPLODU WR $ODZ VLJQDO,QDQDORJ GLJLWDO V\VWHPVWKLVFDQLQFUHDVHWKHVLJQDOWR LPSURYHV YRLFH TXDOLW\ DW ORZHU VLJQDO OHYHOV FRPSDUHG WR QRLVH UDWLR VLJQDO WR TXDQWL]DWLRQ QRLVH UDWLR DFKLHYHG GXULQJ XQLIRUP TXDQWL]DWLRQ DV LQ XQLIRUP 3&0 WKLV WHFKQLTXH WUDQVPLVVLRQ 7KH ODZ DOJRULWKP WKDW LV SULPDULO\ XVHG LQ WKH IRFXVHV RQ HQODUJLQJ VPDOO VLJQDOV DQG GRHV QRW FKDQJH KLJK GLJLWDO WHOHFRPPXQLFDWLRQ V\VWHPV RI1RUWK$PHULFDDQG-DSDQ VLJQDO SHDNV ZKLFK OHDGV WRDKLJKHUDYHUDJHSRZHUOHYHORI DGDSWV D FRPSDQGLQJ VFKHPH WKDW FDQ H[SDQG VPDOO VLJQDOV DQG RXWSXWVLJQ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ger signals may get considerably compressed, unlike µ-law percentage of data, pi, that fall in the subinterval i in algorithm, it is guaranteed that these signals after companding n compressed space can be found by p = i , where is the will definitely not be smaller than originally small but i expanded signals. The more uniform the source signal is, the total number of signal data points. That is, less quantization error and thus a higher signal to noise ratio is achieved. [0,r )→ p This paper is organized as follows. In sections 2, µ-law 1 1 algorithm is briefly discussed. Section 3 describes the [,)r1 r 2 → p2 proposed companding algorithm, followed by quantization [,)r2 r 3 → p3 error analysis in Section 4. Section 5 presents the simulation [r ,1] → p results, and finally, conclusion is drawn in Section 6. 3 4 4) Calculation of compressing function, II. µ-LAW The following functions are employed for compressing µ-law is a logarithmic conversion algorithm used in North function, America and Japan that is defined by CCITT G.711. It compresses 16−bit linear PCM data down to eight bits of 1− b1 exp( a1 x ) 0 ≤ x < r1 logarithmic data. The compressing and expanding functions of bexp( a x ) r≤ x < r this algorithm are defined by the following equations, 2 2 1 2 (3) F() x = respectively. b3 exp( a3 x ) r2 ≤ x < r3 bexp( a x ) r≤ x ≤ 1 ln( 1+ µ x ) 4 4 3 F( x )= sgn( x ) −1 ≤x ≤ 1 (1) ln() 1+ µ As shown in Fig. 2, in order to map signal data from the where µ is the compression parameter (µ in the U.S. and original space to the compressed space, by applying the Japan) and x is the normalized integer to be compressed. above function, we shall have, −1 y 1 F( y )= sgn(y )( 1/µ)[( 1+ µ) − 1] − 1 ≤y ≤ 1 (2) , b1 is set to 1, a1 ln(1− p=1 ) r1 1 r2 , b rexp(− a r= ) a2 = ln( ) 2 2 2 2 III. PROPOSED COMPANDING ALGORITHM 2 − r1 r1 1 r To compand the signal, more than one function is utilized: 3 , b= rexp(− a r ) a3 = ln( ) 3 3 3 3 an exponential function for compressing stage and a 3 − r2 r2 logarithmic function for expanding. In each exponential 1 1 , a = ln( ) b4 = exp(− a3 ) function, to make the output signal more uniformly distributed, 4 1− r r a set of companding parameters are properly adjusted. This 3 3 algorithm is described below. A. Compression Stage To compress the original signal, the whole signal range is divided into several subintervals and each set of these subs is mapped to a new interval. In this work, we consider 4 100p4 % of p3 subintervals and assign a different exponential function as a Samples compressor function for each subinterval. To do so, the p2 following steps are necessary: 100p3 % of r3 p1 1) ormalizing signal to [0, 1]: for simplicity, the Samples r2 amplitude of original signal is normalized to [0, 1]. 100p % o f 2) Choosing the range of each subinterval: in this work, 2 the whole range of original signal is divided into 4 Samples subintervals, [0,r1 ) , [,)r1 r 2 , [,r2 r 3 ) , and [r3 ,1] . r1 100p1 % of 3) Counting the number of signal data that fall into each Samples subinterval. In this step, it is necessary to determine the number of data points in each subinterval. Let n1, n2, n3 and n be the number of data points falling into subintervals 4 [0,r1 ) , [,)r1 r 2 , [,)r2 r 3 and [r3 ,1] , respectively. The Fig. 2. A schematic of the technique. A NOVEL MULTI-EXPONENTIAL FUNCTION-BASED COMPANDING TECHNIQUE FOR UNIFORM SIGNAL COMPRESSION OVER CHANNELS... 127 B. Expansion Stage verification, we constructed an audio signal using MATLAB The de-companding function is the inverse function of that audio recording command (Fig. 3). The amplitude of the can be found as, signals are normalized into [0, 1], and the whole dynamic range is divided into 128 (7 bits) and 256 (8 bits) quantization 1 ln(1− y ) 0 ≤y < p levels, respectively. a 1 1 From Tables 1 and 2, it can be seen that in terms of 1 y quantization error, in good agreement with the theoretical ln( ) p1 ≤ y < p2 (4) a b analyses shown in Section 4, the proposed companing −1 2 2 F() y = algorithm shows less quantization errors than that obtained 1 y ln( ) p≤ y < p from µ-law at a modest increase of computation cost. It is also 2 3 a3b 3 0.8 1 y ln( ) p≤ y ≤ 1 0.6 a b 3 4 4 0.4 0.2 UANTIZATION RROR NALYSIS IV. Q E A 0 As described in previous section, the original signal is Amplitude -0.2 mapped to a compressed space in such a way that the number -0.4 of data in each subinterval is proportional to the length of that subinterval. By doing so, the compressed signal exhibits a -0.6 -0.8 uniform distribution and it can be quantized using a uniform 0 500 1000 1500 2000 2500 3000 3500 4000 Time (Milliseconds) quantizer. For uniform quantization of a uniform distributed signal, since the quantization error is also uniform over each Fig. 3. A real audio signal for data processing. quantization interval, we have, TABLE I 1 +∆ 2/ ∆2 1 2x (x )2 2 2 max 2 max (5) RESULTS FOR SYNTHETIC DATA σ q = ∫ q dq = = ( ) = 2 ∆ −∆ 2/ 12 12 M 3M No Multi- Theoretical Criteria µ-law where σ 2 is the mean square quantization error, ∆ is the Companding Exponential Results q Quantization 8 Bits 0.00018 0.00010 0.00006 0.00005 length of quantization interval, xmax is the maximum signal Error 7 Bits 0.00034 0.00019 0.00010 0.00008 amplitude level, and M is the number of quantization levels. Relative CPU Time 1 1.06 1.92 --- In general, it can be shown that the mean square quantization error is obtained by [7], [8], 2 2 TABLE II 2 α σ x σ = (6) RESULTS FOR REAL DATA q 3M 2 No Multi- Theoretical x Criteria µ-law α = max Companding Exponential Results x C'() x Quantization 8 Bits 0.00098 0.00075 0.00042 0.00035 Error 7 Bits 0.00190 0.00140 0.00110 0.00088 2 where σ x is the variance of the signal, and C’(x) is the Relative CPU Time 1 1.07 2 --- derivative of the companding function with respect to x.
Recommended publications
  • A Multidimensional Companding Scheme for Source Coding Witha Perceptually Relevant Distortion Measure
    A MULTIDIMENSIONAL COMPANDING SCHEME FOR SOURCE CODING WITHA PERCEPTUALLY RELEVANT DISTORTION MEASURE J. Crespo, P. Aguiar R. Heusdens Department of Electrical and Computer Engineering Department of Mediamatics Instituto Superior Técnico Technische Universiteit Delft Lisboa, Portugal Delft, The Netherlands ABSTRACT coding mechanisms based on quantization, where less percep- tually important information is quantized more roughly and In this paper, we develop a multidimensional companding vice-versa, and lossless coding of the symbols emitted by the scheme for the preceptual distortion measure by S. van de Par quantizer to reduce statistical redundancy. In the quantization [1]. The scheme is asymptotically optimal in the sense that process of the (en)coder, it is desirable to quantize the infor- it has a vanishing rate-loss with increasing vector dimension. mation extracted from the signal in a rate-distortion optimal The compressor operates in the frequency domain: in its sim- sense, i.e., in a way that minimizes the perceptual distortion plest form, it pointwise multiplies the Discrete Fourier Trans- experienced by the user subject to the constraint of a certain form (DFT) of the windowed input signal by the square-root available bitrate. of the inverse of the masking threshold, and then goes back into the time domain with the inverse DFT. The expander is Due to its mathematical tractability, the Mean Square based on numerical methods: we do one iteration in a fixed- Error (MSE) is the elected choice for the distortion measure point equation, and then we fine-tune the result using Broy- in many coding applications. In audio coding, however, the den’s method.
    [Show full text]
  • (A/V Codecs) REDCODE RAW (.R3D) ARRIRAW
    What is a Codec? Codec is a portmanteau of either "Compressor-Decompressor" or "Coder-Decoder," which describes a device or program capable of performing transformations on a data stream or signal. Codecs encode a stream or signal for transmission, storage or encryption and decode it for viewing or editing. Codecs are often used in videoconferencing and streaming media solutions. A video codec converts analog video signals from a video camera into digital signals for transmission. It then converts the digital signals back to analog for display. An audio codec converts analog audio signals from a microphone into digital signals for transmission. It then converts the digital signals back to analog for playing. The raw encoded form of audio and video data is often called essence, to distinguish it from the metadata information that together make up the information content of the stream and any "wrapper" data that is then added to aid access to or improve the robustness of the stream. Most codecs are lossy, in order to get a reasonably small file size. There are lossless codecs as well, but for most purposes the almost imperceptible increase in quality is not worth the considerable increase in data size. The main exception is if the data will undergo more processing in the future, in which case the repeated lossy encoding would damage the eventual quality too much. Many multimedia data streams need to contain both audio and video data, and often some form of metadata that permits synchronization of the audio and video. Each of these three streams may be handled by different programs, processes, or hardware; but for the multimedia data stream to be useful in stored or transmitted form, they must be encapsulated together in a container format.
    [Show full text]
  • MC14SM5567 PCM Codec-Filter
    Product Preview Freescale Semiconductor, Inc. MC14SM5567/D Rev. 0, 4/2002 MC14SM5567 PCM Codec-Filter The MC14SM5567 is a per channel PCM Codec-Filter, designed to operate in both synchronous and asynchronous applications. This device 20 performs the voice digitization and reconstruction as well as the band 1 limiting and smoothing required for (A-Law) PCM systems. DW SUFFIX This device has an input operational amplifier whose output is the input SOG PACKAGE CASE 751D to the encoder section. The encoder section immediately low-pass filters the analog signal with an RC filter to eliminate very-high-frequency noise from being modulated down to the pass band by the switched capacitor filter. From the active R-C filter, the analog signal is converted to a differential signal. From this point, all analog signal processing is done differentially. This allows processing of an analog signal that is twice the amplitude allowed by a single-ended design, which reduces the significance of noise to both the inverted and non-inverted signal paths. Another advantage of this differential design is that noise injected via the power supplies is a common mode signal that is cancelled when the inverted and non-inverted signals are recombined. This dramatically improves the power supply rejection ratio. After the differential converter, a differential switched capacitor filter band passes the analog signal from 200 Hz to 3400 Hz before the signal is digitized by the differential compressing A/D converter. The decoder accepts PCM data and expands it using a differential D/A converter. The output of the D/A is low-pass filtered at 3400 Hz and sinX/X compensated by a differential switched capacitor filter.
    [Show full text]
  • TMS320C6000 U-Law and A-Law Companding with Software Or The
    Application Report SPRA634 - April 2000 TMS320C6000t µ-Law and A-Law Companding with Software or the McBSP Mark A. Castellano Digital Signal Processing Solutions Todd Hiers Rebecca Ma ABSTRACT This document describes how to perform data companding with the TMS320C6000 digital signal processors (DSP). Companding refers to the compression and expansion of transfer data before and after transmission, respectively. The multichannel buffered serial port (McBSP) in the TMS320C6000 supports two companding formats: µ-Law and A-Law. Both companding formats are specified in the CCITT G.711 recommendation [1]. This application report discusses how to use the McBSP to perform data companding in both the µ-Law and A-Law formats. This document also discusses how to perform companding of data not coming into the device but instead located in a buffer in processor memory. Sample McBSP setup codes are provided for reference. In addition, this application report discusses µ-Law and A-Law companding in software. The appendix provides software companding codes and a brief discussion on the companding theory. Contents 1 Design Problem . 2 2 Overview . 2 3 Companding With the McBSP. 3 3.1 µ-Law Companding . 3 3.1.1 McBSP Register Configuration for µ-Law Companding. 4 3.2 A-Law Companding. 4 3.2.1 McBSP Register Configuration for A-Law Companding. 4 3.3 Companding Internal Data. 5 3.3.1 Non-DLB Mode. 5 3.3.2 DLB Mode . 6 3.4 Sample C Functions. 6 4 Companding With Software. 6 5 Conclusion . 7 6 References . 7 TMS320C6000 is a trademark of Texas Instruments Incorporated.
    [Show full text]
  • Codec Is a Portmanteau of Either
    What is a Codec? Codec is a portmanteau of either "Compressor-Decompressor" or "Coder-Decoder," which describes a device or program capable of performing transformations on a data stream or signal. Codecs encode a stream or signal for transmission, storage or encryption and decode it for viewing or editing. Codecs are often used in videoconferencing and streaming media solutions. A video codec converts analog video signals from a video camera into digital signals for transmission. It then converts the digital signals back to analog for display. An audio codec converts analog audio signals from a microphone into digital signals for transmission. It then converts the digital signals back to analog for playing. The raw encoded form of audio and video data is often called essence, to distinguish it from the metadata information that together make up the information content of the stream and any "wrapper" data that is then added to aid access to or improve the robustness of the stream. Most codecs are lossy, in order to get a reasonably small file size. There are lossless codecs as well, but for most purposes the almost imperceptible increase in quality is not worth the considerable increase in data size. The main exception is if the data will undergo more processing in the future, in which case the repeated lossy encoding would damage the eventual quality too much. Many multimedia data streams need to contain both audio and video data, and often some form of metadata that permits synchronization of the audio and video. Each of these three streams may be handled by different programs, processes, or hardware; but for the multimedia data stream to be useful in stored or transmitted form, they must be encapsulated together in a container format.
    [Show full text]
  • TMS320C6000 Mu-Law and A-Law Companding with Software Or The
    Application Report SPRA634 - April 2000 TMS320C6000t µ-Law and A-Law Companding with Software or the McBSP Mark A. Castellano Digital Signal Processing Solutions Todd Hiers Rebecca Ma ABSTRACT This document describes how to perform data companding with the TMS320C6000 digital signal processors (DSP). Companding refers to the compression and expansion of transfer data before and after transmission, respectively. The multichannel buffered serial port (McBSP) in the TMS320C6000 supports two companding formats: µ-Law and A-Law. Both companding formats are specified in the CCITT G.711 recommendation [1]. This application report discusses how to use the McBSP to perform data companding in both the µ-Law and A-Law formats. This document also discusses how to perform companding of data not coming into the device but instead located in a buffer in processor memory. Sample McBSP setup codes are provided for reference. In addition, this application report discusses µ-Law and A-Law companding in software. The appendix provides software companding codes and a brief discussion on the companding theory. Contents 1 Design Problem . 2 2 Overview . 2 3 Companding With the McBSP. 3 3.1 µ-Law Companding . 3 3.1.1 McBSP Register Configuration for µ-Law Companding. 4 3.2 A-Law Companding. 4 3.2.1 McBSP Register Configuration for A-Law Companding. 4 3.3 Companding Internal Data. 5 3.3.1 Non-DLB Mode. 5 3.3.2 DLB Mode . 6 3.4 Sample C Functions. 6 4 Companding With Software. 6 5 Conclusion . 7 6 References . 7 TMS320C6000 is a trademark of Texas Instruments Incorporated.
    [Show full text]
  • Efficient and Accuracy-Ensured Waveform Compression For
    IEEE TRANSACTIONS ON COMPUTER-AIDED DESIGN OF INTEGRATED CIRCUITS AND SYSTEMS, VOL. 40, NO. 7, JULY 2021 1437 Efficient and Accuracy-Ensured Waveform Compression for Transient Circuit Simulation Lingjie Li and Wenjian Yu , Senior Member, IEEE Abstract—Efficient and accurate waveform compression is to large data storage for the waveforms. For accurate transient essentially important for the application of analog circuit tran- simulation, the number of time points ranges from several hun- sition simulation nowadays. In this article, an analog waveform dred thousands to even a billion, and voltage/current values compression scheme is proposed which includes two compressed formats for representing small and large signal values, respec- are stored as floating-point numbers. Therefore, the simulator tively. The compressed formats and the corresponding compres- may output a large hard-disk file occupying multiple GBs of sion/decompression approaches ensure that both the absolute and disk space. This further leads to considerable time for writ- relative errors of each signal value restored from the compres- ing the waveforms into a file and for loading the file into a sion are within specified criteria. The formats are integrated in viewer, and largely worsens the performance of circuit simu- a block-by-block compressing procedure which facilitates a sec- ondary lossless compression and a three-stage pipeline scheme lator and the customer experience of waveform viewer. Hence, for fast conversion from the simulator’s output to the com- it is greatly demanded to have an efficient waveform compres- pressed hard-disk file. Theoretical analysis is presented to prove sion approach which reduces the data storage of waveforms the accuracy-ensured property of our approach.
    [Show full text]
  • Video/Audio Compression
    5.9. Video Compression (1) Basics: video := time sequence of single images frequent point of view: video compression = image compression with a temporal component assumption: successive images of a video sequence are similar, e.g. directly adjacent images contain almost the same information that has to be carried only once wanted: strategies to exploit temporal redundancy and irrelevance! motion prediction/estimation, motion compensation, block matching intraframe and interframe coding video compression algorithms and standards are distinguished according to the peculiar conditions, e.g. videoconferencing, applications such as broadcast video Prof. Dr. Paul Müller, University of Kaiserslautern 1 Video Compression (2) Simple approach: M-JPEG compression of a time sequence of images based on the JPEG standard unfortunately, not standardized! makes use of the baseline system of JPEG, intraframe coding, color subsampling 4:1:1, 6 bit quantizer temporal redundancy is not used! applicable for compression ratios from 5:1 to 20:1, higher rates call for interframe coding possibility to synchronize audio data is not provided direct access to full images at every time position application in proprietary consumer video cutting software and hardware solutions Prof. Dr. Paul Müller, University of Kaiserslautern 2 Video Compression (3) Motion prediction and compensation: kinds of motion: • change of color values / change of position of picture elements • translation, rotation, scaling, deformation of objects • change of lights and shadows • translation, rotation, zoom of camera kinds of motion prediction techniques: • prediction of pixels or ranges of pixels neighbouring but no semantic relations • model based prediction grid model with model parameters describing the motion, e.g. head- shoulder-arrangements • object or region based prediction extraction of (video) objects, processing of geometric and texture information, e.g.
    [Show full text]
  • Quantization Error E[N] Exist: 1
    COMP ENG 4TL4: Digital Signal Processing Notes for Lecture #3 Wednesday, September 10, 2003 1.4 Quantization Digital systems can only represent sample amplitudes with a finite set of prescribed values, and thus it is necessary for A/D converters to quantize the values of the samples x[n]. A typical form of quantization uses uniform quantization steps, where the input voltage is either rounded or truncated. (Porat) A 3-bit rounding uniform quantizer with quantization steps of ∆ is shown below. (Oppenheim and Schafer) Two forms of quantization error e[n] exist: 1. Quantization noise: due to rounding or truncation over the range of quantizer outputs; and 2. Saturation (“peak clipping”): due to the input exceeding the maximum or minimum quantizer output. Both types of error are illustrated for the case of a sinusoidal signal in the figure on the next slide. Quantization noise can be minimized by choosing a sufficiently small quantization step. We will derive a method for quantifying how small is “sufficient”. Saturation can be avoided by carefully matching the full- scale range of an A/D converter to anticipated input signal amplitude ranges. Saturation or “peak clipping” (Oppenheim and Schafer) For rounding uniform quantizers, the amplitude of the quantization noise is in the range −∆/2 <e[n] · ∆/2. For small ∆ it is reasonable to assume that e[n] is a random variable uniformly distributed over (−∆/2, ∆/2]. For fairly complicated signals, it is reasonable to assume that successive quantization noise values are uncorrelated and that e[n] is uncorrelated with x[n]. Thus, e[n] is assumed to be a uniformly distributed white- noise sequence with a mean of zero and variance: For a (B+1)-bit quantizer with full-scale Xm, the noise variance (or power) is: The signal-to-noise ratio (SNR) of a (B+1)-bit quantizer is: 2 where σx is the signal variance (or power).
    [Show full text]
  • Companding Flash Analog-To-Digital Converters
    University of Central Florida STARS Retrospective Theses and Dissertations 1986 Companding Flash Analog-To-Digital Converters Michael P. Brig University of Central Florida Part of the Engineering Commons Find similar works at: https://stars.library.ucf.edu/rtd University of Central Florida Libraries http://library.ucf.edu This Masters Thesis (Open Access) is brought to you for free and open access by STARS. It has been accepted for inclusion in Retrospective Theses and Dissertations by an authorized administrator of STARS. For more information, please contact [email protected]. STARS Citation Brig, Michael P., "Companding Flash Analog-To-Digital Converters" (1986). Retrospective Theses and Dissertations. 4953. https://stars.library.ucf.edu/rtd/4953 COMPANDING FLASH- ANALOG-TO-DIGITAL CONVERTERS BY MICHAEL PATRICK BRIG B.S.E., University of Central Florida, 1984 THESIS Submitted in partial fulfillment of the requirements for the degree of Master of Science in Engineering in the Graduate Studies Program of the College of Engineering University of Central Florida Orlando, Florida Spring Term 1986 ABSTRACT This report will ~emonstrate how a companding flash analog-to­ digi tal converter can be used to satisfy both the dynamic rang~ and resolution requirements of an infrared imaging system. Iri the past, infrared imaging systems had to rely on analog electronics to process a thermal image. This was costly and, in many ways, in­ efficient but the only way to perform the function.. Digital process~ ing was impractical because ADC conversion speeds were slow with respect to video frequencies. Furthermore, it is impossible to gain the necessary dynamic range using linear conversion techniques without targe digital wordlengths.
    [Show full text]
  • Digital Communications GATE Online Coaching Classes
    GATE Online Coaching Classes Digital Communications Online Class-2 • By • Dr.B.Leela Kumari • Assistant Professor, • Department of Electronics and Communications Engineering • University college of Engineering Kakinada • Jawaharlal Nehru Technological University Kakinada 6/15/2020 Dr. B. Leela Kumari UCEK JNTUK Kakinada 1 6/15/2020 Dr. B. Leela Kumari UCEK JNTUK Kakinada 1 Session -2 Baseband Transmission • Introduction to Pulse analog Transmission • Quantization and coding • Classification of Uniform Quantization • Line Coding • Non Uniform Quantization • Objective type Questions & Illustrative Problems 6/15/2020 Dr. B. Leela Kumari UCEK JNTUK Kakinada 3 Pulse Analog Transmission Pulse modulation: One of the parameters of the carrier is varied in accordance with the instantaneous value of the modulating signal Classification: Pulse Amplitude Modulation(PAM) Pulse Time Modulation(PTM) Pulse Width Modulation(PWM) Pulse Position Modulation(PPM) Pulse Amplitude Modulation(PAM) Pulse Width Modulation(PWM) Pulse Position Modulation(PPM) Comparisions Quantization Pulse analog modulation systems are not completely digital Sampled signals are used to get a complete digital signal Sampled signals are first quantized and then coded to get complete digital signal Input Signal digital signal Sampler Quantizer Encoder Sampler samples the analog signal Quantizer: Does the Quantizing (approximation) Quantized signal is an approximation to the original signal The Quality of approximation improved by reducing the step Size Encoder translates the Quantized signal more appropriate format of signal Operation of Quantization Process of Quantization Consider message signal m(t) ,whose range is from VL to VH Divide this range in to M equal intervals, each size S, Step size S= (VL –VH )/M In the center of each of these steps ,locate Quantization levels,m0,m1,m2….
    [Show full text]
  • Inline Vector Compression for Computational Physics
    Inline Vector Compression for Computational Physics W. Trojak ∗ Department of Ocean Engineering, Texas A&M University, College Station F. D. Witherden Department of Ocean Engineering, Texas A&M University, College Station Abstract A novel inline data compression method is presented for single-precision vec- tors in three dimensions. The primary application of the method is for accel- erating computational physics calculations where the throughput is bound by memory bandwidth. The scheme employs spherical polar coordinates, angle quantisation, and a bespoke floating-point representation of the magnitude to achieve a fixed compression ratio of 1.5. The anisotropy of this method is considered, along with companding and fractional splitting techniques to improve the efficiency of the representation. We evaluate the scheme nu- merically within the context of high-order computational fluid dynamics. For both the isentropic convecting vortex and the Taylor{Green vortex test cases, the results are found to be comparable to those without compression. arXiv:2003.02633v2 [cs.CE] 24 Jun 2020 Performance is evaluated for a vector addition kernel on an NVIDIA Titan V GPU; it is demonstrated that a speedup of 1.5 can be achieved. Keywords: Vector Compression, GPU computing, Flux Reconstruction ∗Corresponding author Email addresses: [email protected] (W. Trojak ), [email protected] (F. D. Witherden ) Preprint submitted to Elsevier June 25, 2020 2010 MSC: 68U20, 68W40, 68P30, 65M60, 76F65 1. Introduction Over the past 30 years, improvements in computing capabilities, mea- sured in floating-point operations per second, have consistently outpaced improvements in memory bandwidth [1]. A consequence of this is that many numerical methods for partial differential equations are memory bandwidth bound algorithms.
    [Show full text]