Design and ASIC Implemenatation of DUC/DDC For Communication Systems
Design and ASIC Implemenatation of DUC/DDC For Communication Systems
4, December 2011
ABSTRACT
Communication systems use the concept of transmitting information using the electrical distribution network as a communication channel. To enable the transmission data signal modulated on a carrier signal is superimposed on the electrical wires. Typical power lines are designed to handle 50/60 Hz of AC power signal; however they can carry the signals up to 500 KHz frequency. This work aims to aid transmission/reception of an audio signal in the spectrum from 300 Hz to 4000 Hz using PLCC on a tunable carrier frequency in the spectrum from 200 KHz to 500 KHz. For digital amplitude modulation the sampling rate of the carrier and the audio signal has to be matched. Tunable carrier generation can be achieved with Direct Digital Synthesizers at a desired sampling rate. DSP Sample rate conversion techniques are very useful to make the sampling circuits to work on their own sampling rates which are fine for the data/modulated-carrier signals bandwidth. This also simplifies the complexity of the sampling circuits. Digital Up Conversion (DUC) and Digital Down Conversion (DDC) are DSP sample rate conversion techniques which refer to increasing and decreasing the sampling rate of a signal respectively. The objective was to design and implement low power ASIC of DUC and DDC designs at 65nm for PLCC. Low power implementation was carried out using Multi-VDD technique. MATLAB software models were used to understand the DUC and DDC designs. RTL to GDS flow was executed using Synopsys tools such as VCS, Design Compiler, IC Compiler and PrimeTime. Key milestones of this activity are RTL verification, synthesis, gate-level simulations, low power architecture definitions, physical implementation, ASIC signoff checks and postroute delay based simulations. Multi-VDD technique deployed on DUC and DDC helped to reduce the power consumption from 280.9uW to 198.07uW and from 176.26uW to 124.47uW respectively. DUC and DUC designs have met functionality at 64MHz clock frequency. Both the designs have passed postroute delay based simulations, static performance checks, power domain checks and TSMCs 65nm design rule checks.
KEYWORDS
Power Line Carrier Communication, Digital Down-Counter, Digital Up-Counter, Application Specific Integrated Circuit, Multi-VDD, TSMC
1. INTRODUCTION
This paper focuses on Design and ASIC Implementation of Digital up-converter and Down converter for communication applications at 65nm technology. Digital up-conversion and downconversion are well known sample rate conversion processes in Digital Signal Processing. These techniques are widely used for converting a baseband signal to band pass signal and vice-versa to enable the transmission and reception. For the baseband signal to be transmitted, it needs to be modulated on to an IF/RF carrier frequency. Nyquist theorem [1] says the sampling rate shall be
DOI : 10.5121/vlsic.2011.2410 111
International Journal of VLSI design & Communication Systems (VLSICS) Vol.2, No.4, December 2011
at least twice the highest frequency component. Hence the base band signal, whose sample rate might be very less compared to IF/RF carrier signal sampling rate, needs to have the sampling rate to match the IF/RF carrier signal sampling rate. Its the reverse process with respect to receivers. In case of receivers the sample reduction helps to reduce the processing complexity of the received baseband signal. In simple, down conversion can be defined as removing samples (also called as Decimation) and generating new samples by virtue of adding zeroes (also called as Interpolation) and interpolate the new samples. Basic sample rate conversion is explained in the Figure 1 and Figure 2.
Figure 1. Interpolation example: (a) original sequence (b) interpolate by four sequence
Figure 2. Decimation example: (a) original sequence (b) interpolate by four sequence In a PLCC system the communication is established through the power line. The DUC aims to aid the transmission of the audio signal in the spectrum between 300Hz to 4000Hz, on a carrier frequency which can vary from 200 KHz to 500 KHz. The DUC system gets its input from a 14bit ADC at a sample rate of 64 KHz. The carrier signal generated by a DDS (Direct Digital Synthesizer) is at a sample rate of 1.28MHz. This forms the specification of the DUC to up sample the audio signal by 20. DUC design output is fed to a Digital to Analog Converter (DAC) whose output is then super imposed on a power line for transmission. Since DDC is considered as a part of receiver, its objectives are just opposite to DUC. CIC filters are good choice for implementing decimation or interpolation because they dont use multipliers and their frequency response can reduce aliasing and imaging issues resulting due to decimation and interpolation respectively [3]. However non-flat pass band response of CIC filters need a compensation filter either before or after the CIC filter [4] to compensate the gain loss.
112
International Journal of VLSI design & Communication Systems (VLSICS) Vol.2, No.4, December 2011
Unlike conventional signal generation, Direct Digital Synthesizers enable micro-Hertz tuning resolution, extremely fast frequency hopping, digital control interface and elimination of manual tuning to tweak the performance [5]. DDS implementation is very simple; it can be built using a phase accumulation circuitry and a look-up table preserving the signal samples. Having DDS on chip avoids the need of sampling circuits and provides a great flexibility in tuning to the required frequency. Section 2 describes the specifications of DUC and DDC designs. Section 3 shows the software models constructed for DUC and DDC. Section 4 describes the ASIC system design details of DUC and DDC. Section 5 shows the RTL verification carried out and the results. Section 6 discusses the low power implementation of DUC and DDC. Section 7 discusses ASIC implementation and the results achieved. Section 8 provides conclusions of this work.
2. DESIGN SPECIFICATIONS
Functional and technology specifications of DUC and DDC designs are described in this section.
2.1. DUC
The up conversion system gets its input from an ADC with 14-bit resolution, 0-5V range and a sampling frequency of 64 KHz. The input signal spectrum is from 300 to 4000Hz. The input signal has to be up-sampled by 20 and get mixed with a carrier signal ranging from 200 KHz to 500 KHz. The Direct Digital Synthesizer which generates the carrier signal is also expected to be part of the up-sampling system.
2.2. DDC
The down conversion system gets its input from an ADC with 14-bit resolution, 0-5V range and a sampling frequency of 1.28 MHz. The input signal spectrum is from 200 KHz to 500 KHz. Demodulation is expected to be part of the down conversion system. Hence the input signal is expected to be mixed with a carrier signal to generate the baseband signal. The baseband signal then has to be decimated by 20 to get the sample rate of 64 KHz.
Process Operating Voltage Operating Temperature Master Clock Frequency Internal generated clocks IO timing
: : : : : :
0.5 to 1.5 (0.5 = Best and 1.5 = Worst) 1.1V (1.08V = Worst and 1.32V = Best) -40C to 125C 64 MHz 1280 KHz and 64 KHz. 50-50 basis
113
International Journal of VLSI design & Communication Systems (VLSICS) Vol.2, No.4, December 2011
Figure 3. DUC Software model DUC and DDC software reference models were constructed to understand the functionality. As this paper focuses on ASIC low power implementation, a detailed study on coefficient calculation, and magnitude response of the filters or arithmetic considerations were not considered. Focus is to design a code which can be configured as per system clock and filter coefficients. Software models were extremely useful in RTL verification as well. Figure 3 and Figure 4 show the software models of DUC and DDC systems respectively. Converter is used to pick up 14-bit input. The compensation filters are simple MAC (multiply and accumulate) based filters which act to compensate for the non flat pass band of CIC filter used for interpolation/decimation, which also does interpolation/decimation by two. Both the CIC filter and the compensation filter were designed using FDATool. The Direct-Digital Synthesizer is constructed using an NCO (Numerically Controlled Oscillator). The output of Sine wave from DDS is considered with 1V magnitude by default.
Figure 4. DDC Software Model Figure 5 and Figure 6 show the simulation results of the software models at each stage of the DUC and DDC systems respectively.
114
International Journal of VLSI design & Communication Systems (VLSICS) Vol.2, No.4, December 2011
Figure 5. DDC System Analysis using Software Model DUC system is simulated with an input Sine wave of 4 KHz frequency with a sample rate of 64 KHz, 16 samples per Sine wave. Compensation cum interpolate-by-2 filter increases the sample rate to 128 KHz, 32 samples per Sine wave. The CIC interpolation filter increases the sample rate by 10 to reach 1280 KHz sample rate, now the output of CIC filter contains 320 samples per Sine wave. This demonstrates the successful sample rate conversion from 64 KHz to 1280 KHz, the specification of DUC system. DUC system also supports mixing of the up-sampled input signal with a carrier frequency. The DDS/NCO is programmable such that it can generate frequencies between 200 KHz to 500 KHz. In the software model DDS is setup to generate 200 KHz Sine wave, with a sample rate of 1280 KHz. It is a must to have the sample rate of the output of DDS equal to the sample of rate of signal with which it is mixed. As shown in Figure 5 Sine wave is successfully generated by DDS, which gets mixed with the output of CIC filter, which is already at 1280 KHz. Figure 5 gives a pictorial explanation of the change in sample rate, change in number of sample samples per Sine wave, DDS output and mixer operation .
Figure 6. DDC System Analysis using Software Model For simplification purpose the mixer part of the DDC is not considered in software model. The DDC system is simulated with a 4 KHz Sine wave assumed to be the output of the mixer at a sample rate of 1280 KHz, 320 samples per Sine wave. The CIC decimation filter decreases the
115
International Journal of VLSI design & Communication Systems (VLSICS) Vol.2, No.4, December 2011
sample rate by 10 to reach 128 KHz sample rate, now the output of CIC filter contains 32 samples per Sine wave. Compensation cum decimate-by-2 filter decreases the sample rate to 64 KHz, 16 steps per Sine wave. This demonstrates the successful sample rate conversion from 1280 KHz to 64 KHz, the specification of DDC system. Figure 6 gives a pictorial explanation of the change in sample rate and change in number of sample samples per Sine wave.
4.2. DDC
DDC ASIC architecture as in Figure 8 is similar to that of shown MATLAB software mode in Figure 4; however the demodulation mixer is added prior to the decimation. The DDS is programmable and generates the carrier frequency between 200 KHz to 500 KHz. A high pass filter immediately follows the constant frequency mixer to select the upper band (carrier + signal frequency) output from the mixer. Another change in the system is that compensation filter doesnt implement any decimation; the CIC decimation filter itself implements decimate by 20 function.
116
International Journal of VLSI design & Communication Systems (VLSICS) Vol.2, No.4, December 2011
117
International Journal of VLSI design & Communication Systems (VLSICS) Vol.2, No.4, December 2011
Figure 9. MAC Operation Synchronization The synchronization issue has been corrected with control signals generation (ctrl and fd). The control signals are generated from the clock division circuits such that the faster clock collects the data only after slower clock feeds the data into shift register and the vice-versa to collect the output from MAC operation. Figure 9 shows the control signal generation and the how they control the MAC operation. For ASIC implementation 24 coefficients are used which make the 64 MHz a good choice. 24 multiplications with accumulation need 25 clock cycles. Since 1280 KHz clock frequency is higher compared to 64 KHz, considering half-cycle of 1.28 MHz clock available for MAC operation, the system clock can be derived as 64 MHz (1280*10^3*(24+1)*2)
International Journal of VLSI design & Communication Systems (VLSICS) Vol.2, No.4, December 2011
5. RTL VERIFICATION
5.1. Clock Generation
64 MHz clock is considered as source to generate 64 KHz and 1280 KHz. To generate 64 KHz clock, a division of 1000 is applied. Similarly to generate 1280 KHz clock a division of 50 is applied on 64 MHz clock. Figure 10 shows the output of VCS simulation, it shows/proves the relationship between 64 KHz clock and 1280 KHz clock, a count of 20 pulses of 1280 KHz clock can be observed under 64 KHz clock waveform.
119
International Journal of VLSI design & Communication Systems (VLSICS) Vol.2, No.4, December 2011
5.3. Mixer
Digital mixer is used in both DUC and DDC systems. In DUC it is used to modulate input signal with 20 KHz intermediate carrier and also to convert the final up sampled data on to the IF carrier (varies from 200 KHz to 500 MHz). Figure 12 shows the waveforms representing the mixer operation. Input data stream is represented by a (of 14 bit) and the digital sine wave is represented by b (of 8 bit). Output of the mixer operation is represented by P. Multiplication operation is completed in one clock cycle as can be seen in the Figure 12.
International Journal of VLSI design & Communication Systems (VLSICS) Vol.2, No.4, December 2011
The MAC operations are controlled by the ctrl and fd signals as shown in Figure 13. These signals make the MAC operation synchronous to either 64 KHz or 1280 KHz frequency depending on the DDC or DUC application respectively. ctrl signal initializes the MAC
operation and fd signal concludes the MAC operation taking the final output to the register y.
121
International Journal of VLSI design & Communication Systems (VLSICS) Vol.2, No.4, December 2011
International Journal of VLSI design & Communication Systems (VLSICS) Vol.2, No.4, December 2011
123
International Journal of VLSI design & Communication Systems (VLSICS) Vol.2, No.4, December 2011
124
International Journal of VLSI design & Communication Systems (VLSICS) Vol.2, No.4, December 2011
International Journal of VLSI design & Communication Systems (VLSICS) Vol.2, No.4, December 2011
mode of design. Input ports of DUC design are constrained using 64 KHz clock and output ports of DUC design are constrained using 1280 KHz clock. 50% of clock period is assumed as input/output delay on the ports. Input ports of DDC design are constrained using 1280 KHz clock and output ports of DUC design are constrained using 64 KHz clock. 50% of clock period is assumed as input/output delay on the ports.
7. ASIC IMPLEMENTATION
7.1. Die Size Calculation
In 65nm designs the typical maximum utilization before going to routing can be up to 85-90%. For this design a budget of 20% is given for optimization, 3% for clock tree synthesis, and another 2% for hold fixes. Hence 60% is chosen as start utilization for place and route. Die size calculation for DDC and DUC designs are shown in Table 1.
Table 1. Die Calculation of DUC and DDC Design Die Size Calculation Area from Synthesis report P and R Start Utilization Die area Required Width / Length of the Core Distance between IO to Core Effective Die Height / Width Rounding the Die Width / Height DUC 28819.079 um^2 70% 28819.079918 * 1.3 37464.80um^2 193.5um 10um 193.5 + ( 10 * 2 ) 213.5um 214um DDC 37312.919 um^2 70% 37312.91985 * 1.3 48506.8um^2 220.24um 10um 220.24 + ( 10 * 2 ) 240.24um 241um
126
International Journal of VLSI design & Communication Systems (VLSICS) Vol.2, No.4, December 2011
7.4. Routing
Routing script of IC Compiler is created such that it does timing-aware routing, fixes DRCs, leaves no LVS issues, does post route setup and hold timing optimization. Routing didnt experience any congestion, though there are many lookup tables in the design. Typically, the
127
International Journal of VLSI design & Communication Systems (VLSICS) Vol.2, No.4, December 2011
lookup table decoding logic creates huge connectivity. This makes the placer to create low density placement regions, which still wouldnt be routable due to heavy connectivity. Routing is observed successful with zero routing DRC and LVS violations. Figure 24 shows the snapshot of routing in DDC and DDC designs.
International Journal of VLSI design & Communication Systems (VLSICS) Vol.2, No.4, December 2011
8. CONCLUSION
Based on the work done on low power ASIC implementation of DUC and DDC and results achieved, the below listed conclusions are drawn: Multi-VDD low power technique is successfully deployed on DUC and DDC designs. In case of DDC the power consumption observed is 176.26uW with 1.08V as operating voltage, however with Multi-VDD (0.9V and 1.08V) technique the power consumption is reduced to 124.47uW. In case of DDC the power reduction is observed from 280.9uW to 198.07uW. Overall there is a 30% power reduction. RTL improvements are able to make the MAC operations to accept data at a slower clock and perform MAC operation at a faster clock frequency. These also helped to bring a relationship between the number of coefficients of a filter working at 1280 KHz frequency and the system clock frequency. RTL improvements also helped in reducing the power consumption by 35%. Conventional clock gating technique deployed on DUC and DDC designs has helped to reduce about 11.5% and 8.5% power respectively. Functional simulation results are found satisfactory on subsystems in the design like clock generation, mixer operation, DDS operation, MAC operation, MAC deployment in filters, CIC Interpolation and CIC decimation. Functional simulations on DDC and DUC show successful sample rate conversion by a factor of 20 as expected by the specification.
129
International Journal of VLSI design & Communication Systems (VLSICS) Vol.2, No.4, December 2011
ASIC signoff criterion like Static Timing Analysis (STA), Physical Verification checks are successfully met.
REFERENCES
[1] Analog Devices, Multi-Carrier GSM with State of the Art ADC technology, White Paper, October 2007 (revision). Micheal Keating, David Flynn, Rober Aitken, Alan Gibbons and Kaijian Shi., (2007) Low Power Methodology Manual For System-on-Chip Design, Springer. Hogenauer, E., An Economical Class of Digital Filters for Decimation and Interpolation, IEEE Transactions on Acoustics, Speech, and Signal Processing, vol. ASSP-29, no. 2, April 2008. Vankka, J. & Honkanen, M., A Multi-Carrier GMSK Modulator, IEEE Journal on Selected Areas in Communications, vol. 19, no. 6, June 2007. B. A. Mork, D. Ishchenko, X. Wang, A.D. Yerrabelli, R.P. Quest and C.P. Kinne., (2005) Power Line Carrier Communications System Modelling, International Conference on Power Systems Transients (IPST05) in Montreal, Canada Sreerama Reddy G.M and P. Chandrasekhar Reddy., (2009) Design and FPGA Implementation of High Speed, Low Power Digital Up Converter for Power Line Communication Systems, European Journal of Scientific Research, ISSN 1450-216X Vol.25 No.2, pp.234-249
[2]
[3]
[4]
[5]
[6]
130