Documente Academic
Documente Profesional
Documente Cultură
Abstract—Analog to Digital Converter is widely used in many Fig. 1. The overall system block diagram.
fields. Using the design methods of Moore state machine and Mealy
state machine, design and realization of ADC based on FPGA is
presented. And the FPGA system is designed, compiled and III. SAMPLING STATE DIAGRAM OF ADC0809
simulated in QuartusII. The improved method has high speed In order to have high extensibility and versatility, the input
characters of state machine, real-time characters built by FPGA interface uses the ADC0809 controlled by the signal process
and flexibility of software. By the VHDL simulation, there are the
state machine. The working state of ADC0809 is described as
two improved methods are is improved to be effective.
follows. ALE is address latch signal of input and it is effective
Keywords—Analog to digital converter (ADC);Field in the rising edge of the effective. START is control signal to
programmable gate array(FPGA); State machine start converting and it is effective in high level. When EOC is
an analog signal and low level, it means being conversion.
When it finishes conversion, EOC turns into high level. Then
I. INTRODUCTION EOC changes from low level to high level which is controlled
Analog to digital converter(ADC[1]) is a circuit or device by outside signal. Now, the data bus of output of 0809 change
that converts an analog input signal[2] to a digital signal which from the high impedance state to effectiveness of output data.
is easier to store and process. ADC has been widely used in Mealy state diagram is made from its working state. Sampling
mechanical, electromechanical, metallurgy, chemical industry state diagram of ADC0809 is shown in Figure2.
and so on. However, in the case of high speed motion control,
the performance of ADC is not ideal. The single process Mealy ALE<='0'; START<='0';
ALE<='1'; START<='1';
LOCK<='0'; OE<='0'
state machine and it’s design technique can realize the high LOCK<='0';OE<='0'
Initialization of ADC0809 Start ADC conversion
efficiency and reliability of the practical digital system. The
superiority of this system could scarcely be surpassed by st0 st1
central processing unit (CPU[3]) which can realize the same
function. At the same time, Field programmable gate
array(FPGA[4]) can adjust the desired system on the electronic
design automation (EDA[5]) platform, so it has the advantages
of flexibility, reusability, low cost, and adjusting data in time
by software. Therefore, ADC based on FPGA is designed using ';
st4 st3 st2
single process Mealy state machine. EOC='0'
ALE<='0'; START<='0'; ALE<='0'; START<='0 Being conver
sion
LOCK<='1'; OE<='1' LOCK<='0'; OE<='1'
II. DESIGN PRINCIPLE Latching coverted dates data output valid EOC='1'
Ending conversion
The overall system block diagram of ADC based on FPGA
is shown as follows.
Fig. 2. Sampling state diagram of ADC0809.
Fig. 4. Simulation waveform of ADC0809 based on Moore state machine with four processes.
2602
Fig. 5. Hardware circuit ofADC0809 based on Mealy state machine with one process.
Fig. 6. Simulation waveform of ADC0809 based on Mealy state machine with one process.
According to the rules of states, the cst which is the output time. It shows that the function of ADC0809 is well simulated
of states is got, When cst.st3 is obtained, Q that is output signal and there are some burrs in the simulation waveform. So
export83, 17and 53corresponding analog input values in real
2603
ADC0809 is designed and realized based on Mealy State
Machine with one process is not effective.
Fig. 8. Simulation waveform of ADC0809 based on Mealy state machine with four processes..
ACKNOWLEDGMENT
2604