Вы находитесь на странице: 1из 3

Short Paper

Int. J. of Recent Trends in Engineering and Technology, Vol. 4, No. 4, Nov 2010

VLSI Implementation of Memory Efficient Single


Bit Processor for Industrial Control Applications
1
Jayasanthi Ranjith. M.E, 2Dr.N.J.R.Muniraj,
1
PhD scholar, Anna University, 2 Dept of ECE,
Karpagam College of Engg, Coimbatore, TN, India
E-mail: mjayasanthi@yahoo.co.in, njrmuniraj@yahoo.com

Abstract-This paper describes bit serial architecture with and then stored along with decoding tables. During the
reduced memory area which has the advantage of a very runtime phase, the original instructions are recovered from
compact design solution that avoids many of the place and the compressed ones by using the decoding table(s) along
route problems commonly associated with FPGAs. The bit with some decoding hardware or software [2].
clock required to obtain the required data rate pushes the
upper limits of today’s FPGAs. Delta–Sigma (∆∑) modulator CONTROL
is frequently used in the Conversion of signals from analog or
SYSTEM
digital form into bit streams at very high sampling rate. Here
PROCESSOR WITH
a novel single bit memory efficient control system processor I/P ∆∑ ∆∑
COMPRESSION &
that can be used for industrial and other control applications
is described. It is a small and fast application-specific DECOMPRESSION
processor in SOC and mixed signal applications. Another UNIT
increasing concern in processor design is improved Code
density, since it reduces the need for the scarce resource
Physical PDM
memory and also implicitly improves power consumption and
performance. Any physical system can be efficiently system
controlled by this processor which compresses the data during
off-line phase, decompresses and processes it during on-line Fig 1:∆∑-CSP during Design and Runtime Phases.
phase. A dictionary based data compression technique which
provides a substantial improvement in the compression Related works of this paper is discussed in next section.
efficiency and the power reduction is used here. The concept of ∆∑ modulator, 1 bit processor and its
architecture are introduced in Section III. Section IV
Keywords- 1-bit processing, ∆∑ modulation, control system describes the code compression and decompression
processor, system-on-chip (SOC), Mixed signal, Code schemes. The performance of the entire work is described
compression,Dictionary based compression, code density,
and compared with CSP Section V. Section VI concludes
VLSI.
and suggests future applications where the high speed ∆∑-
CSP can be utilized.
I. INTRODUCTION
Implementation of control laws in digital systems is an
II. RELATED WORK & CONTRIBUTION
important part of the design process. Analogue signals are
encoded into a simple 1-bit stream using Delta Sigma
A. Related work
modulator, at very high sampling frequencies [15]. It
possible to implement the control laws directly on those 1- ∆∑ based control system processor; a small and fast
bit signals, that can be also used to drive physical systems application-specific processor was implemented for very
directly. Since the memory chip dominates a large part of demanding control Applications [2]. The memory required
the chip area, a reduction of the cost can be achieved by for storage of data in the processor can be still improved by
reducing the memory size. This is done by using code using compression and decompression techniques [1]. A
compression which can also reduce the power consumption 37.5%compression ratio is achieved for the ARM processor
[2]. This paper describes a novel, ∆∑-based control system without taking into account the large external ROM size
processor with efficient code density to control physical overhead[3]. Common to all work in code compression is
systems for very demanding control applications. Fig 1. that Look-up Tables are deployed for decoding. In any
Shows the resulting block diagram which describes the case, these tables will take space in memory and
process of compressing and decompressing code in ∆∑- significantly impact the total compression ratio. Hence, an
CSP during design and runtime phases. The analogue efficient compression ratio can be accomplished by
signal is first encoded into its corresponding l-bit format by minimizing both the code itself and the tables.
passing through a simple analogue ∆∑ modulator. The B. Novel contribution
output of the controller is in multi-bit format [16]. Hence a
digital ∆∑ modulator is placed after it to convert the • Canonical Huffman coding combined with table
control signal into a bit-stream. This 1-bit signal can be compression scheme is introduced in ∆∑-CSP.
used to control the physical system directly. In the design • Power consumed in the processor is optimized.
phase, the original program instructions are compressed • Hardware implementation for both schemes
with and without the compression schemes are

© 2010 ACEEE 29
DOI: 01.IJRTET 04.04.76
Short Paper
Int. J. of Recent Trends in Engineering and Technology, Vol. 4, No. 4, Nov 2010

performed. 2) Instruction Set Architecture:


• Experimental results are presented and the Table 1 shows the instruction set of this processor.
comparison is shown at the end of this paper.
TABLE I
INSTRUCTION SET
III. ∆∑ CONTROL SYSTEM PROCESSOR
BINARY OPCODE OPERATION
000 HLT Halt Execution
A. Delta sigma (Δ -Σ) modulator To rotate in forward
001 FRW
Delta-sigma modulator converts an analog input signal direction
into a high speed, 1-bit data stream with on-chip digital Feedback voltage from
010 FBV
encoder
isolation [6].For first order delta-sigma (Δ -Σ) modulator To rotate in forward
(oversampling converter,the multi-bit format of the input’ 011 REV
direction
Xi’ is calculated from [9]. 100 IP1
User’s input voltage
101 IP2
Xi=1/N∑Yi i=1,2……N (1) Set/Reset if difference is
110 SET/RSET
Yi =1 if Xn>=0 (2) more plus/minus
=0 Xn <0
Where N the number of samples, 111 SETF Set Sampling Frequency
Xn is the last integrator’s output,
Yi is the output of the 1-bit quantizer.
IV. CODE COMPRESSION AND DECOMPRESSION
B. Control System Processor
A. Dictionary-based code compression
Processor design involves defining the instruction set
and designing the data path that performs all the operations 1) Generating the Compressed Code:
included in the instruction set [8]. To generate the encoded instructions and the LUT, first
the original (i.e., uncompressed) instruction words are
unified and then every unique instruction word is replaced
with a binary index to the LUT in ascending order[3] [5].

2) Compressing the Decoding Table:


The principle of compressing the table is to minimize the
number of bit transitions per column and then saving the
indices only where a bit toggle occurs [4].In our case, the
distance between two entries is the Hamming Distance
which is the sum of bit toggles between these entries[12].
B. De-compression
LUT decoder is used in The dictionary based
. compression scheme [1]. In LUT, each compressed column
is stored in each Block RAMs, and un-compressed columns
Fig.3 Processor design are stored in external ROM [3].When the compressed
1) Instruction Decoder : instruction is received by the decoder, it finds out its
The instruction decoder fetches the instructions from the position in each Block RAM. If it is in an even position, the
program RAM and separates the opcode field, oper and1 decoder generates ’0’ in that position, otherwise ’1’ is
and operand2 fields. Here instruction decoder is 13-bits generated [5]. The compressed address in the memory is
wide, one operand being 4-bits wide, and another operand computed as following:
being 9-bits wide.These opcodes, operand 1 and operand2 Compressed address =Uncompressed address from CPU
are mapped to Arithmetic and Logic Unit (ALU) which is Encoded instruction length in memory
the portion of the data path unit.
V. SIMULATION & HARDWARE IMPLEMENTATION
High speed clock for sampling the analog signal is
generated using Digital Clock manager (DCM). The
objective is to control the speed and direction of the motor.
The control program is stored in program RAM The output
of the processor is given to the motor drive. This motor
signal is accepted by the encoder and is compared with the
reference value 256 volts and the result is fed back to the
processor for further control applications. The Δ-Σ

© 2010 ACEEE 19
DOI: 01.IJRTET 04.04.76
Short Paper
Int. J. of Recent Trends in Engineering and Technology, Vol. 4, No. 4, Nov 2010

modulator, processor, encoder, decoder, compressor and This scheme is powerful when regular schemes do not
de-compressor are modeled in VHDL. The whole Δ-Σ CSP work well, i.e., when the number of unique instruction
system will be implemented in FPGA technology. Fig. 4 words is large compared to all instruction words of an
shows simulated output of ∆∑CSP for DC motor control. It application. For the given input 28% of storage area has
shows that motor is ON and running in forward direction. been saved using this approach. This is a noticeable
improvement over previous approaches. Since the memory
used is small, a significant amount of power can also be
reduced in this project.

REFERENCES
[1] Kanad Basu, Student Member, IEEE, and Prabhat Mishra,
Senior Member, IEEE,“Test Data Compression Using
Efficient Bitmask and Dictionary Selection Methods,” IEEE
Tran, Very Large Scale Integr. (VLSI) Syst, vol. 18, Sep-
2010.
[2] Xiaofeng Wu, Vassilios A. Chouliaras, Jose Luis Nunez-
Yanez, and Roger M. Goodall,”A Novel Control System
Processor and Its VLSI Implementation, “IEEE Trans,Very
Large Scale Integr. (VLSI) Syst., vol. 16, march-2008.
[3] Talal Bonny, Student Member, IEEE, and Jörg Henkel,
Senior Member, IEEE,”Efficient Code Compression for
Embedded Processors,” IEEE Trans.,Vol. 16, No. 12,
December 2008
Fig. 4 Simulated output of ∆∑CSP for DC motor control [4] T. Bonny and J. Henkel, “Using lin-kernighan algorithm for
look-up table compression to improve code density,” in Proc.
IEEE/ACM 16th Great Lakes Symp. VLSI (GLSVLSI),
VI. EXPERIMENTS AND RESULTS 2006, pp. 259–265.
[5] Talal Bonny and Joerg Henkel,“Efficient Code Density
TABLE II Through Look-up Table Compression,”University of
INPUT PROGRAM AND COMPRESSED OUTPUT Karlsruhe,Department of Computer Science,Karlsruhe,
Germany,IEEE ,2007
Input Program For motor Control Compressed Output [6] W. Forsythe and R. M. Goodall, “Digital Control:
undamentals,Theory and Practice.,” New York, USA:
McGraw-Hill, 1991.
000111101 [7] P.Paraskevopoulos,” Digital Control Systems.” Englewood
000_0000_000000000; 001110011 Cliffs, NJ:Prentice-Hall, 1996.
111_0000_000110010; 011101000 [8] Enoch O. Hwang, ‘ Digital Logic and Microprocessor
011_0001_000000000; 0111 Design With VHDL’,La Sierra University, Riverside
001_0001_000000000; 000001001 [9] S.Kershaw, “Sigma-delta bitstream processors analysis and
100_0000_011111111; 0111 design,”Ph.D. dissertation, Dept. Electron. Elect. Eng., Kings
001000001 College, Wilkes Barre, PA, Jul. 1996.
010_0000_011111111;
0111,0101,0101
101_0100_000000101; 000100111 [10] D. Johns and D. Lewis, “IIR filtering on delta-sigma
110_0000_000000000; 000100111 modulated signals,”Electron. Lett., vol. 27, no. 4, pp. 307–
110_1111_111111111; 0101,0101
308, Feb. 1991.
000101111,0100 [11] D. Das, R. Kumar, and P. Chakrabarti, “Code compression
using unused encoding space for variable length instruction
encodings,” presented at the 8th VLSI Des. TestWorkshop,
Mysore, India, Aug. 2004.
No. of bits:144 No. of bits:104 [12] D. Das, R. Kumar, and P. Chakrabarti, “Dictionary based
% of saved Area : 28% code compression for variable length instruction encodings,”
in Proc. 18th Int. Conf. VLSI Des., 2005, pp. 545–550.
[13] T. Okuma, H. Tomiyama, A. Inoue, E. Fajar, and H.
A. DC motor Control using ∆∑ CSP Yasuura, “Instruction encoding techniques for area
The control program to control the motor in forward and minimization of instruction ROM,” in Proc. 11th Int. Symp.
Syst. Synthesis, 1998, pp. 125–130.
reverse direction and to set the sampling frequency is
[14] C. Lefurgy, P. Bird, I. Chen, and T. Mudge, “Improving code
shown in Table 2.The input program has 144 bits, the density using compression techniques,” in Proc. Micro-30,
compressed data is having 104 bits. So 28% of storage area 1997, pp. 194–203
has been saved using this compression technique. [15] X.Wu and R. Goodall, “One-bit processing for real-time
control,” presented at the Euro. Control Conf., Cambridge,
U.K., 2003
VII. CONCLUSION
J. C. Candy, Oversampling Delta-Sigma Data Converters:
A novel approach has been presented as a key to control Theory, Design,and Simulation. Piscataway, NJ: IEEE, 1992.
DC motor with efficient code density using CSP in
conjunction with dictionary-based compression schemes.

© 2010 ACEEE 20
DOI: 01.IJRTET 04.04.76

Вам также может понравиться