KR0183655B1 - A/d converting data processing circuit - Google Patents

A/d converting data processing circuit Download PDF

Info

Publication number
KR0183655B1
KR0183655B1 KR1019960029861A KR19960029861A KR0183655B1 KR 0183655 B1 KR0183655 B1 KR 0183655B1 KR 1019960029861 A KR1019960029861 A KR 1019960029861A KR 19960029861 A KR19960029861 A KR 19960029861A KR 0183655 B1 KR0183655 B1 KR 0183655B1
Authority
KR
South Korea
Prior art keywords
signal
conversion
switching means
storage
reading
Prior art date
Application number
KR1019960029861A
Other languages
Korean (ko)
Other versions
KR980012938A (en
Inventor
문장호
Original Assignee
삼성항공산업주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성항공산업주식회사 filed Critical 삼성항공산업주식회사
Priority to KR1019960029861A priority Critical patent/KR0183655B1/en
Publication of KR980012938A publication Critical patent/KR980012938A/en
Application granted granted Critical
Publication of KR0183655B1 publication Critical patent/KR0183655B1/en

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M1/00Analogue/digital conversion; Digital/analogue conversion
    • H03M1/12Analogue/digital converters
    • H03M1/124Sampling or signal conditioning arrangements specially adapted for A/D converters
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M1/00Analogue/digital conversion; Digital/analogue conversion
    • H03M1/12Analogue/digital converters
    • H03M1/1205Multiplexed conversion systems
    • H03M1/122Shared using a single converter or a part thereof for multiple channels, e.g. a residue amplifier for multiple stages

Abstract

본 발명은 판독/저장용 단일 제어핀을 갖는 메모리소자를 이용하여 아날로그 신호를 디지탈 신호로 변환하여 저장하는 것과 저장된 소정의 데이터를 판독하는 과정이 독립적으로 수행되도록 하여 데이터 처리속도가 향상된 A/D변환 데이터 처리 회로에 관한 것이다.According to the present invention, the process of converting an analog signal into a digital signal and storing the predetermined data stored therein is performed independently by using a memory device having a single control pin for reading and storing. A conversion data processing circuit.

데이터 처리속도를 향상시키기 위하여, A/D변환 제어부가 다수의 채널로 멀티플렉서에 입력되는 아날로그신호를 주기적이고 순차적으로 선택하도록 제어하고, 선택된 아날로그신호가 A/D변환부에서 디지탈신호로 변환되는 시기를 결정지으며, 이 디지탈신호가 메모리부에 저장되는 저장번지신호를 출력하고, 디지탈신호의 저장과 저장된 데이터를 판독하는 중앙신호처리부의 판독신호가 메모리부에 중첩되어 인가되는 것을 제어하기 위하여 저장 및 판독 제어부의 저장신호와 중앙신호처리부의 판독신호가 스위칭수단에 입력시켜 이 스위칭수단을 제어하여 메모리부의 단일제어핀에 인가하고, 특히 A/D변환된 디지탈신호가 메모리부에 저장될 때는 중앙신호처리부의 판독신호를 지연시킴으로써, 독립적으로, 데이터의 저장과 판독이 이루어진다.In order to improve the data processing speed, the A / D conversion control unit controls the analog signal input to the multiplexer periodically and sequentially in a plurality of channels, and when the selected analog signal is converted into a digital signal in the A / D conversion unit. Outputs a storage address signal stored in the memory unit, and stores and stores the digital signal in order to superimpose and apply the read signal of the central signal processor for storing the digital signal and the stored data. The storage signal of the reading control section and the reading signal of the central signal processing section are inputted to the switching means to control the switching means and apply them to a single control pin of the memory section. In particular, when the A / D converted digital signal is stored in the memory section, the central signal By delaying the read signal of the processing section, data storage and reading are performed independently.

Description

A/D변환 데이터 처리 회로A / D conversion data processing circuit

본 발명은 저장 및 판독용 단일 제어핀을 갖는 메모리소자를 자동적으로 제어하여, 아날로그 신호가 디지탈 신호로 변환된 디지탈데이터의 저장 및 판독 처리를 독립적으로 고속처리하는 A/D변환 데이터 처리 회로에 관한 것이다.The present invention relates to an A / D conversion data processing circuit that automatically controls a memory device having a single control pin for storing and reading, and independently processes the storing and reading processing of digital data in which an analog signal is converted into a digital signal. will be.

다수의 채널(예, 16채널)을 이용하여, 아날로그 신호를 디지탈 신호로 변환시킨후 저장 및 판독하고자 할 때 데이터 저장소자에 따른 특성을 살펴보자.Using a number of channels (e.g. 16 channels), let's look at the characteristics of the data store when converting an analog signal into a digital signal and then storing and reading it.

첫째로, 래치(latch)회로를 채용한 메모리소자의 경우는, 각 채널의 선택이 가능하다는 장점이 있지만, A/D변환할 때 CPU가 채널선택을 한 이후, 채널선택 신호가 A/D변환기에 도달한 다음에 A/D변환이 수행되기 때문에, A/D변환 과정에 소요되는 시간이 길어지고, A/D변환 기간동안 CPU는 기다려야 하므로 데이터 처리 효율이 낮다는 단점을 갖고 있다.First, in the case of a memory device employing a latch circuit, the advantage of selecting each channel is possible. However, after the CPU selects a channel during A / D conversion, the channel selection signal is an A / D converter. Since the A / D conversion is performed after reaching A, the time required for the A / D conversion process becomes long, and the CPU has to wait during the A / D conversion period, which results in low data processing efficiency.

둘째로, 플립플롭회로를 채용한 메모리소자의 경우는, A/D변환하여 플립플롭에 저장하는 경로와 저장된 데이터를 CPU가 읽어가는 경로가 독립적이 되도록 설계 가능하나, 한채널의 데이터를 판독하기 위해서 항상 읽고자 하는 채널을 포함한 다수의 채널 전체 데이터를 먼저 판독한후, 해당 데이터를 얻어야 하므로 데이터를 처리하는 CPU의 처리효율이 떨어지는 단점이 있다.Secondly, in the case of a memory device employing a flip-flop circuit, the path for storing the flip-flop by A / D conversion and the path for reading the stored data from the CPU can be designed to be independent. In order to always read the data of a plurality of channels including the channel to be read first, and then obtain the corresponding data, there is a disadvantage that the processing efficiency of the CPU processing the data is inferior.

셋째로, 듀얼 포트 램(dual port ram)을 사용할 경우는, A/D변환 경로와 CPU가 판독하는 경로가 완전히 독립적으로 되어 CPU의 테이터 처리 효율이 향상되지만, 값이 비싸고 대용량이어서 소용량의 전용 제어 시스템에는 경제적인 측면에서 적용하기가 어렵다.Third, when dual port ram is used, the A / D conversion path and the path read by the CPU are completely independent, which improves the data processing efficiency of the CPU. It is difficult to apply economically to the system.

일반적으로 소용량의 전용 제어시스템에는 단일 저장 및 판독용 제어핀을 갖는 저가의 메모리 소자가 사용된다. 이러한 단일 제어핀에 의해 데이터의 저장 및 판독을 수행할 때, 저장 경로와 저장된 데이터를 읽어가는 경로가 독립적으로 되지 않아, CPU에서 데이터를 처리하는 처리속도가 느려짐으로써 데이터 처리효율이 감소한다.Typically, low-capacity dedicated control systems use inexpensive memory devices with a single storage and readout control pin. When storing and reading data by such a single control pin, the storage path and the path for reading the stored data are not independent, thereby reducing the data processing efficiency by slowing down the processing speed of processing data in the CPU.

본 발명은 상기와 같은 문제점을 해결하기 위해 창안된 것으로서, 판독/저장용 단일 제어핀을 갖는 메모리소자를 이용하여 아날로그 신호를 디지탈 신호로 변환하여 저장하는 것과 저장된 소정의 데이터를 판독하는 과정이 독립적으로 수행되도록 하여 데이터 처리속도가 향상된 A/D변환 데이터 처리 회로를 제공하는데 그 목적이 있다.The present invention was devised to solve the above problems, and the process of converting and storing analog signals into digital signals using a memory device having a single control pin for reading and storing and reading out predetermined data stored therein are independent. The purpose of the present invention is to provide an A / D conversion data processing circuit having improved data processing speed.

도 1은 본 발명의 일 실시예에 따른 A/D변환 데이터 처리회로의 블록도이다.1 is a block diagram of an A / D conversion data processing circuit according to an embodiment of the present invention.

도 2는 도 1의 저장 및 판독 제어부의 구성을 나타낸 블록도이다.FIG. 2 is a block diagram illustrating a configuration of the storage and reading control unit of FIG. 1.

도 3 내지 도 5는 도 1의 A/D변환 데이터 처리회로에서 데이터 저장 및 판독 과정을 설명하기 위한 일부 출력단의 타이밍도이다.3 to 5 are timing diagrams of some output stages for explaining data storing and reading processes in the A / D conversion data processing circuit of FIG. 1.

* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings

1 : 멀티 플렉서 2 : 샘플링/홀드부(S/H)1: Multiplexer 2: Sampling / holding part (S / H)

3 : A/D 변환부 4 : 메모리부3: A / D Converter 4: Memory

5 : A/D변환 제어부 6 : 중앙신호처리부(CPU)5: A / D conversion control unit 6: Central signal processing unit (CPU)

7 : 저장 및 판독 제어부 8 : 스위칭 수단7: storage and reading control unit 8: switching means

상기의 목적을 달성하기 위한 본 발명의 A/D변환 데이터 처리 회로는, 아날로그 신호가 입력되는 다수의 채널로부터 순차적으로 아날로그 신호를 받아들이는 멀티 플렉서; 상기 멀티플렉서로부터 얻어진 아날로그 신호를 디지탈 신호로 변환하고, 변환완료신호를 출력하는 A/D변환부; 판독/저장용 단일 제어핀과 지정번지 제어핀을 각각 갖고, 상기 디지탈 신호를 저장하는 메모리부; 다수의 입력단으로부터 소정의 입력단을 선택하여 상기 메모리부의 판독/저장용 단일 제어핀과 상기 지정번지 제어핀에 각각 출력하는 스위칭 수단; 상기 멀티 플렉서의 채널선택과 상기 A/D변환부의 디지탈 변환개시를 제어하고, 상기 디지탈신호가 상기 메모리부에 저장되는 장소를 지정하는 저장번지신호를 상기 스위칭수단의 입력단에 입력시켜 주기적이고 순차적인 A/D변환을 제어하는 A/D변환 제어부; 상기 메모리부에 저장된 디지탈데이터를 판독하기 위하여 판독번지신호 및 판독신호를 상기 스위칭수단의 입력단에 입력시키는 중앙신호처리부; 상기 A/D변환부의 변환완료신호로부터 상기 디지탈신호가 상기 메모리부에 저장되도록 상기 스위칭수단에서 상기 저장번지신호 및 자체에서 상기 스위칭수단의 입력단에 입력시킨 저장신호가 출력되도록 상기 스위칭수단을 제어하고, 상기 중앙신호처리부에 상기 판독신호가 처리 됐는지를 알려주는 인식신호를 인가하는 저장 및 판독 제어부;를 포함하는 것을 그 특징으로 한다.An A / D conversion data processing circuit of the present invention for achieving the above object comprises: a multiplexer which sequentially receives analog signals from a plurality of channels to which analog signals are input; An A / D conversion unit converting the analog signal obtained from the multiplexer into a digital signal and outputting a conversion completion signal; A memory unit for storing the digital signal, each having a single control pin and a designated address control pin for reading and storing; Switching means for selecting predetermined input terminals from a plurality of input terminals and outputting the predetermined input terminals to the single control pin for reading / storing the memory unit and the designated address control pin, respectively; The channel selection of the multiplexer and the digital conversion start of the A / D converter are controlled, and a storage address signal for designating a place where the digital signal is stored in the memory unit is input to the input terminal of the switching means to perform periodic and sequential operations. An A / D conversion control unit for controlling an A / D conversion; A central signal processor for inputting a read address signal and a read signal to an input terminal of the switching means to read the digital data stored in the memory unit; The switching means controls the switching means to output the storage address signal from the switching means and the storage signal inputted to the input terminal of the switching means by the switching means so that the digital signal is stored in the memory unit from the conversion completion signal of the A / D converter. And a storage and reading control unit which applies a recognition signal informing the central signal processing unit whether the read signal has been processed.

이하 첨부된 도면을 참조하여 본 발명에 따른 바람직한 실시예를 상세히 설명한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명의 일 실시예에 따른 A/D변환 데이터 처리회로의 블록도이다.1 is a block diagram of an A / D conversion data processing circuit according to an embodiment of the present invention.

도 1에 도시된 블록들은 멀티 플렉서(1), 샘플링/홀드부(S/H, (2), A/D변환부(3), 메모리부(4), 제어부(5), 중앙신호처리부(CPU, (6)), 저장 및 판독 제어부(7), 스위칭 수단(8)을 표시한다.The blocks shown in FIG. 1 include a multiplexer 1, a sampling / holding unit (S / H, 2), an A / D conversion unit 3, a memory unit 4, a control unit 5, and a central signal processing unit. (CPU, 6), the storage and reading control section 7, and the switching means 8 are displayed.

멀티플렉서(1)에서 순차적으로 선택된 채널을 통하여 출력되는 아날로그 신호는 샘플링/홀드부(2)를 거쳐 A/D 변환부(3)에 입력된다. A/D변환부(3)에서는 샘플링/홀드부(2)로부터 입력된 아날로그신호를 디지탈신호로 변환한다. 이러한 A/D변환과정은 A/D변환 제어부(5)에 의해 제어된다. 즉 A/D변환 제어부(5)는 멀티 플렉서(1)의 순차적 채널 선택을 결정하도록 채널선택신호를 멀티 플렉서(1)에 인가하고, 선택된 채널을 통하여 A/D변환부(3)에 입력되는 시기에 맞춰 아날로그신호가 A/D변환부(3)에서 A/D변환되도록 A/D변환 개시신호를 A/D변환부(3)에 인가한다. A/D변환 제어부(5)에서 출력되는 각각의 제어신호는 멀티플렉서(1)에 입력되는 아날로그 신호가 디지탈 신호로 변환되는 작업이 순차적으로 무한정 반복되도록 주기적으로 발생됨으로써 연속적인 아날로그-디지탈 변환작업이 이루어지도록 설정된다.The analog signal output through the channels sequentially selected by the multiplexer 1 is input to the A / D converter 3 via the sampling / hold unit 2. The A / D conversion section 3 converts the analog signal input from the sampling / holding section 2 into a digital signal. This A / D conversion process is controlled by the A / D conversion control unit 5. That is, the A / D conversion control section 5 applies the channel selection signal to the multiplexer 1 to determine the sequential channel selection of the multiplexer 1, and to the A / D conversion section 3 through the selected channel. The A / D conversion start signal is applied to the A / D converter 3 so that the analog signal is A / D converted by the A / D converter 3 according to the input timing. Each control signal output from the A / D conversion control unit 5 is periodically generated so that the analog signal input to the multiplexer 1 is converted into a digital signal in sequence and infinitely repeated, so that continuous analog-to-digital conversion operation is performed. It is set to be made.

A/D변환부(3)에서는 A/D변환 제어부(5)의 A/D변환 개시신호에 따라 A/D변환을 하고, 변환이 완료되면 변환완료를 표시하는 A/D변환완료신호(S)를 저장 및 판독 제어부(7)에 인가한다. 저장 및 판독 제어부(7)는 A/D변환부(3)의 A/D변환 완료신호(S)로부터 A/D변환된 데이터가 저장되도록 메모리부(4)의 판독/저장용 단일 제어핀(W/R)과 지정번지 제어핀(A)의 제어를 중계한다. 즉, A/D변환 완료된 데이터가 메모리부(3)의 지정 번지에 저장되도록 저장 및 판독 제어부(7)에서 스위칭수단(8)에 스위치 절환신호를 인가하여, 스위칭수단(8)이 A/D변환 제어부(5)의 저장번지신호가 메모리부(8)의 지정번지 제어핀(A)에 출력되도록하고, 저장 및 판독 제어부(7)의 저장신호가 메모리부의 판독/저장용 제어핀(W/R)에 출력되도록 한다.The A / D conversion unit 3 performs A / D conversion according to the A / D conversion start signal of the A / D conversion control unit 5, and when the conversion is completed, A / D conversion completion signal S indicating completion of conversion (S). ) Is applied to the storage and reading control unit 7. The storage and read control unit 7 is a single control pin for reading / storing the memory unit 4 so that the data A / D converted from the A / D conversion completion signal S of the A / D conversion unit 3 is stored. Relay control of W / R) and designated address control pin (A). That is, the storage and read control unit 7 applies a switch switching signal to the switching means 8 so that the A / D converted data is stored at a designated address of the memory unit 3, so that the switching means 8 receives the A / D. The storage address signal of the conversion control section 5 is outputted to the designated address control pin A of the memory section 8, and the storage signal of the storage and readout control section 7 is read / stored control pin (W / To R).

여기서, 스위칭수단(8)은 제1 스위칭수단(8a)과 제2 스위칭수단(8b)으로 구성되고, 제1스위칭수단(8a)은 A/D변환부(3)의 저장번지신호와 중앙신호처리부(6)의 판독번지신호중 하나를 선택하여 메모리부(4)의 지정번지 제어핀(A)에 인가하고, 제2스위칭수단(8b)은 중앙신호처리부(6)의 판독번지신호와 저장 및 판독 제어부(7)의 저장신호중 하나를 선택하여 메모리부(4)의 판독/저장용 제어핀(W/R)에 인가한다.Here, the switching means 8 is composed of a first switching means 8a and a second switching means 8b, and the first switching means 8a is a storage address signal and a center signal of the A / D converter 3. One of the read address signals of the processing section 6 is selected and applied to the designated address control pin A of the memory section 4, and the second switching means 8b stores the read address signal of the central signal processing section 6, One of the stored signals of the read control section 7 is selected and applied to the read / store control pins W / R of the memory section 4.

이와 같은 선택에 있어서, 저장 및 판독 제어부(7)의 스위치 절환신호가 인가되지 않을때 제1스위칭수단(8b)은 중앙신호처리부(6)의 판독번지신호를 제2스위칭수단(8a)은 중앙신호처리부(6)의 판독신호가 각각 출력되도록 선택되며, 상기 스위치 절환신호가 인가되면, 제1스위칭수단(8a)은 A/D변환 제어부(5)의 저장번지신호를 제2스위칭수단(8b)은 저장 및 판독 제어부(7)의 저장신호가 각각 출력되도록 선택된다.In this selection, when the switch switching signal of the storage and reading control section 7 is not applied, the first switching means 8b sends the read address signal of the central signal processing section 6 to the second switching means 8a. The read signals of the signal processor 6 are selected to be output, respectively, and when the switch switching signal is applied, the first switching means 8a transmits the storage address signal of the A / D conversion controller 5 to the second switching means 8b. Is selected to output the storage signals of the storage and readout control section 7, respectively.

따라서, 아날로그 신호가 연속적으로 디지탈 신호로 변환되어 저장되는 과정과 이 저장된 소정의 디지탈데이터를 읽어가는 중앙신호처리부(6)의 데이터 처리 과정이 독립적으로 수행된다. 이때 중앙신호처리부(6)는 자체처리 프로그램에 따라 판독하고자 하는 특정 번지의 데이터를 연속적으로 지정하여 처리한다.Therefore, the process of converting analog signals into digital signals continuously and storing them, and the data processing process of the central signal processing section 6 for reading the stored predetermined digital data are performed independently. At this time, the central signal processor 6 continuously designates and processes data of a specific address to be read according to its own processing program.

이때 중앙신호처리부(6)의 판독과정과 A/D변환된 데이터의 저장과정이 독립적으로 수행되기 때문에, 중앙신호처리부(6)의 판독신호와 A/D변환 완료된 데이터의 저장신호가 중첩될 경우가 발생할 수 있다. 왜냐하면 단일 제어핀을 사용하면서 데이터의 저장과 판독이 독립적으로 수행되기 때문이다. 이러한 중첩신호가 발생할 때 데이터의 유실 또는 왜곡을 방지하기 위한 구체적 방법을 설명 하기 위해 먼저 일반적인 소용량의 전용 제어 시스템에서, 중앙신호처리부(6)의 데이터 처리 과정을 살펴보자.At this time, since the reading process of the central signal processing unit 6 and the storing process of the A / D converted data are performed independently, when the read signal of the central signal processing unit 6 and the storage signal of the A / D converted data are overlapped. May occur. This is because the storage and reading of data is done independently using a single control pin. In order to explain a specific method for preventing data loss or distortion when such an overlapping signal occurs, first, a data processing process of the central signal processing unit 6 in a general small capacity dedicated control system will be described.

중앙신호처리부(6)에서는 정해진 알고리즘에 따라 데이터 처리를 수행하는데 이때 각 단계별 명령하달과정에서 하달된 명령이 처리됐는지를 확인 해야한다. 이와 같이 명령의 처리를 인식하는 신호가 인식신호이다. 명령처리가 완료됐는지를 인식하는 간단한 방법은 시스템의 처리속도에 맞추어 설정된 주기적 신호를 중앙신호처리부(6)에 인식신호로 인가시키는 것이다. 즉 명령을 하달한 후, 설정된 일정 시간이 지나면 다음 명령을 하달하도록 설계되고, 명령처리 인식 방법으로서는 자체 구비된 펄스 발생기로부터의 주기적인 펄스를 인식신호로서 입력받아 인지한다.The central signal processing unit 6 performs data processing according to a predetermined algorithm. At this time, it is necessary to confirm whether a command issued in each step is processed. In this way, the signal for recognizing the processing of the command is the recognition signal. A simple way of recognizing whether or not command processing is completed is to apply the periodic signal set according to the processing speed of the system to the central signal processor 6 as a recognition signal. That is, it is designed to issue the next command after a predetermined time elapses after the command is issued, and the command processing recognition method receives and recognizes a periodic pulse from a self-equipped pulse generator as a recognition signal.

본 발명에서는 중앙신호처리부(6)의 판독신호와 A/D변환 완료된 데이터를 저장하기 위한 저장신호가 중첩될 경우, 저장 및 판독 제어부(7)에서 명령처리를 확인하는 인식신호를 제어함으로써, 중앙신호처리부(6)의 데이터 처리과정에서의 데이터 유실을 방지하고, 독립적으로 데이터 처리가 수행되도록 한다.In the present invention, when the read signal of the central signal processing section 6 and the storage signal for storing the A / D conversion completed data overlap, the storage and reading control section 7 controls the recognition signal confirming the command processing, Data loss is prevented in the data processing of the signal processor 6 and data processing is performed independently.

이와 같은 과정을 설명하기 위하여 저장 및 판독 제어부(7)의 구성을 블록도로 도시한 도 2를 참조한다.To illustrate this process, reference is made to FIG. 2, which shows a block diagram of the configuration of the storage and reading control unit 7.

저장 및 판독 제어부(7)는 제1 단펄스발생기(7b), 제2단펄스 발생기(7c) 및 인식신호 발생수단(7a)으로 구성된다.The storage and readout control section 7 is composed of a first short pulse generator 7b, a second short pulse generator 7c and a recognition signal generating means 7a.

여기서 단펄스발생기(7b, 7c, 7d)는 입력된 신호의 상승 또는 하강하는 부분을 인식하여 일정한 폭을 갖는 펄스를 한번 발생하는 것이다. 따라서 시스템의 처리속도 등에 관련하여 목적하고자 하는 신호처리가 설정된 기간동안 달성되도록 펄스 폭을 소정의 폭으로 설정한다. A/D 변환이 완료되면 A/D변환부에서 A/D변환완료신호(S)가 단펄스발생기들(7b, 7c, 7d)에 인가되고, 이 A/D변환완료신호(S)로부터 각 단펄스발생기들(7b, 7c, 7d)은 소정의 기간동안 단펄스를 발생시킨다.Here, the short pulse generators 7b, 7c, and 7d recognize a rising or falling portion of the input signal to generate a pulse having a constant width once. Therefore, the pulse width is set to a predetermined width so that the desired signal processing is achieved for a set period in relation to the processing speed of the system. When the A / D conversion is completed, the A / D conversion completion signal S is applied to the short pulse generators 7b, 7c, and 7d by the A / D conversion unit, and from each of the A / D conversion completion signals S, The short pulse generators 7b, 7c, and 7d generate short pulses for a predetermined period of time.

제1 단펄스발생기(7b)는 A/D변환 완료신호(S)로부터 단펄스를 발생하여 스위칭 수단(8a,8b)에 스위치 절환신호로 인가한다. 따라서, 이 스위치 절환신호로부터 제1 스위칭 수단(8a)은 그 출력단(c)을 중앙신호처리부(6)의 판독번지신호 입력단(b)으로부터 A/D변환 제어부(5)의 저장번지 입력단(a)으로 스위치를 절환시켜 연결하고, 제2 스위칭 수단(8a)은 그 출력단(F)을 중앙신호처리부(6)의 판독신호 입력단(D)으로부터 저장 및 판독 제어부(7)의 저장신호 입력단(E)으로 스위치를 절환시켜 연결한다.The first short pulse generator 7b generates a short pulse from the A / D conversion completion signal S and applies it to the switching means 8a and 8b as a switch switching signal. Accordingly, from this switch switching signal, the first switching means 8a transmits its output terminal c to the storage address input terminal a of the A / D conversion control section 5 from the read address signal input terminal b of the central signal processing section 6. Switch, and the second switching means 8a stores its output terminal F from the read signal input terminal D of the central signal processing section 6 and the storage signal input terminal E of the reading control section 7. Change the switch to) and connect it.

제2 단펄스발생기(7c)는 A/D변환 완료신호(S)로부터 단펄스를 발생시켜 저장신호를 제2스위칭 수단(8a)의 입력단(E)에 인가한다. 결과적으로, 제2 단펄스발생기(7c)의 단펄스신호가 메모리부(4)의 판독/저장용 제어핀(W/R)을 저장모드로 전환시키고, 동시에 A/D변환 제어부(5)로부터의 저장번지신호가 메모리부(4)의 지정번지 제어핀(A)을 제어하여 지정된 번지에 A/D변환 완료된 디지탈데이터가 저장된다.The second short pulse generator 7c generates a short pulse from the A / D conversion completion signal S and applies the storage signal to the input terminal E of the second switching means 8a. As a result, the short pulse signal of the second short pulse generator 7c switches the read / store control pins W / R of the memory unit 4 to the storage mode, and simultaneously from the A / D conversion controller 5 The storage address signal of the control unit (A) of the designated address control pin (A) of the memory unit 4 stores the A / D converted digital data at the designated address.

인식신호 발생수단(7a)은 크게 제3 단펄스발생기(7d), 펄스발생기(7k), AND게이트(7f)로 대별된다.The recognition signal generating means 7a is roughly divided into a third short pulse generator 7d, a pulse generator 7k, and an AND gate 7f.

중앙신호처리부(6)의 데이터 처리 인식을 위해 일반적으로 이용되는 펄스 발생기(7k)는 설정된 펄스를 일정 주기로 발생한다. 이 펄스의 주기 및 펄스의 폭은 시스템 자체의 데이터 처리속도 등에 관련되어 설정된다.The pulse generator 7k generally used for data processing recognition of the central signal processing section 6 generates the set pulse at a constant cycle. The period of the pulse and the width of the pulse are set in relation to the data processing speed of the system itself.

제3 단펄스발생기(7d)는 A/D변환 완료신호(S)가 인가되면 로우레벨(논리적으로 0에 해당함)의 단펄스를 발생한다. 따라서 A/D변환부(3)의 A/D변환 완료신호(S)가 없을 때는 제3 단 펄스 발생기(7d)의 하이레벨(논리적으로 1에 해당함) 출력신호와 펄스발생기(7k)의 출력펄스가 AND게이트(7f)에 입력되므로 결과된 AND게이트(7f)의 출력신호는 펄스 발생기(7k)의 펄스 신호가 출력된다. 따라서 A/D변환 완료 신호(S)가 없을 때는, 펄스 발생기(7k)의 주기에 맞춰 인식 신호가 출력되어 중앙신호처리부(6)의 데이터 처리가 주기적으로 일정하게 처리된다.When the A / D conversion completion signal S is applied, the third short pulse generator 7d generates a short pulse of low level (logically 0). Therefore, when there is no A / D conversion completion signal S of the A / D conversion section 3, the high level (logically equivalent to 1) output signal of the third stage pulse generator 7d and the output of the pulse generator 7k are provided. Since the pulse is input to the AND gate 7f, the resultant output signal of the AND gate 7f outputs the pulse signal of the pulse generator 7k. Therefore, when there is no A / D conversion completion signal S, the recognition signal is output in accordance with the period of the pulse generator 7k, and the data processing of the central signal processing section 6 is periodically processed.

중앙신호처리부(6)에서 필요한 데이터를 판독하기 위해 내보내는 판독신호와 A/D변환 완료신호(S)에 따른 저장 및 판독 제어부의 저장신호가 중첩될 경우의 신호처리 과정을 보자.The signal processing procedure when the read signal sent out to read the data required by the central signal processing unit 6 and the storage signal of the storage and readout control unit according to the A / D conversion completion signal S are overlapped.

A/D변환 완료신호(S)에 따라 제3 단펄스발생기(7d)는 설정된 펄스 폭 시간동안 로우신호의 단 펄스를 출력하고, 그에 따라 이 펄스 기간동안은 로우레벨의 신호를 출력 하므로서, 결과적으로 중앙신호처리부(6)에서 인지할 수 있는 인식신호가 차단된다. 이 기간 동안 즉, 제3 단펄스발생기(7d)에서 로우레벨의 출력신호를 발생하고 있는 기간동안에, A/D변환된 디지탈데이터는 저장을 완료하고, 저장완료 이후에는 스위칭 수단(8)의 입력단이 중앙신호처리부(6)의 명령신호인 판독신호와 판독번지신호를 선택하도록 스위치가 전환됨으로써, 중앙신호처리부(6)의 판독명령이 처리된다. 이러한 과정은 중앙신호처리부(6)가 인식신호를 접수하지 않은 상태이므로 중앙신호처리부(6)의 판독신호 및 판독번지신호를 계속 유지함으로써 데이터 처리에 있어서 유실이 발생되지 않는다.In response to the A / D conversion completion signal S, the third short pulse generator 7d outputs a short pulse of the low signal for the set pulse width time, and accordingly outputs a low level signal during this pulse period, As a result, the recognition signal recognized by the central signal processor 6 is blocked. During this period, that is, during the period during which the low level output signal is generated by the third short pulse generator 7d, the A / D-converted digital data completes storage, and after completion of storage, the input terminal of the switching means 8 is completed. The switch is switched to select the read signal and the read address signal which are the command signals of the central signal processor 6, so that the read command of the central signal processor 6 is processed. In this process, since the central signal processing section 6 does not receive the recognition signal, the loss is not generated in the data processing by continuously maintaining the read signal and the read address signal of the central signal processing section 6.

따라서, 상기에서 설명된 본 발명의 A/D변환 데이터 처리 회로는 판독/저장용 단일 제어핀을 갖는 메모리소자를 이용하여 데이터의 저장 및 판독에 관한 데이터 처리를 독립적으로 수행하도록 하고, 데이터 처리과정중 저장과 판독이 중첩될 경우에도 중앙신호처리부(6)의 인식신호를 지연시킴으로써 데이터의 왜곡 및 유실을 방지한다.Therefore, the A / D conversion data processing circuit of the present invention described above allows data processing related to storage and reading of data to be independently performed using a memory device having a single control pin for reading / storing, and a data processing process. Even when the storage and the reading overlap, the recognition signal of the central signal processor 6 is delayed to prevent distortion and loss of data.

지금까지 설명된 데이터 처리 과정을 도 3 내지 도 5에 도시된 시간에 따른 신호 파형도를 참조하여 설명한다.The data processing process described so far will be described with reference to the signal waveform diagram over time shown in FIGS. 3 to 5.

각 도면은 시간에 따라 순차적으로 선택된 채널과 그에 대응되는 각 출력단의 파형을 나타낸다.Each figure shows a channel sequentially selected over time and the waveform of each output stage corresponding thereto.

도 3은 아날로그 신호가 디지탈 신호로 변환되어 저장되는 것을 도시하였다.3 shows that an analog signal is converted into a digital signal and stored.

도시된 예에서는 16채널을 통해 멀티플렉서에 인가되는 아날로그 신호를 메모리부에 각 채널에 대응되는 16채널의 디지탈신호가 순차적으로 저장되는 과정을 표시하였고, A0 내지 A3의 조합은 각 채널의 지정번지를 나타내기 위한 것이다.In the illustrated example, a process of sequentially storing analog signals applied to the multiplexer through 16 channels and storing 16 digital signals corresponding to each channel in the memory unit is shown. The combination of A0 to A3 indicates a designated address of each channel. To indicate.

다음은 그 동작을 살펴보자.Next, let's look at the behavior.

하이레벨의 A/D변환개시신호가 A/D변환부(3)에 인가되면 A/D변환을 시작한다.When the high level A / D conversion start signal is applied to the A / D conversion section 3, the A / D conversion is started.

A/D변환 완료신호(S)는 A/D변환부(3)의 출력신호로서 하이 신호 출력이 A/D변환 완료를 표시한다. 이러한 A/D변환은 순차적으로 일정하게 연속 처리되고, 이 때 제1 단펄스발생기(7b)에서 발생되는 스위치 절환신호는 입력된 하이 레벨의 A/D변환 완료신호(S)로부터 일정 폭을 갖는 펄스신호(로우 레벨)를 스위칭 수단(8)에 인가한다. 이 제1 단펄스발생기(7b)로부터의 단펄스기간 동안 제2 스위칭 수단(8a)은 저장 및 판독 제어부(7)의 저장신호를 선택하게 되고, 이 저장 및 판독 제어부(7)의 저장 신호로부터 A/D변환부(3)에서 A/D변환 완료된 데이터가 메모리부(4)에 저장된다. 여기서 판독/저장용 단일 제어핀(W/R)은 로우신호를 저장신호로, 하이신호를 판독신호로 인식한다.The A / D conversion completion signal S is an output signal of the A / D conversion section 3 to indicate that the high signal output is A / D conversion complete. Such A / D conversion is sequentially and continuously processed continuously, and at this time, the switch switching signal generated by the first short pulse generator 7b has a predetermined width from the input high level A / D conversion completion signal S. The pulse signal (low level) is applied to the switching means 8. During the short pulse period from the first short pulse generator 7b, the second switching means 8a selects a storage signal of the storage and reading control section 7, and from the storage signal of this storage and reading control section 7b. The data A / D converted in the A / D conversion unit 3 is stored in the memory unit 4. The read / store single control pin (W / R) recognizes the low signal as the storage signal and the high signal as the read signal.

이때, 제1 스위칭 수단(8a)은 A/D변환 완료된 데이터가 지정 번지에 저장 되도록 A/D변환 제어부(5)의 저장번지신호 입력단을 출력시킨다.At this time, the first switching means 8a outputs the storage address signal input terminal of the A / D conversion control section 5 so that the A / D conversion-completed data is stored at the designated address.

도 4 및 도 5는 중앙신호처리부(6)의 판독신호와 A/D 변환된 디지탈신호를 저장하기 위한 저장 신호가 중첩되지 않을 경우와 중첩될 경우를 비교하여 표시하였다.4 and 5 show the comparison between the case where the read signal of the central signal processor 6 and the storage signal for storing the A / D converted digital signal do not overlap with the case where they overlap.

도 4에서는 중앙신호처리부(6)의 판독신호가 저장 및 판독 제어부(7)의 저장신호와 중첩되지 않기 때문에 A/D변환된 데이터의 저장과 중앙신호처리부(6)의 판독 과정은 독립적으로 처리된다. 하지만 제5도에서 중앙신호처리부(6)의 판독신호와 저장 및 판독 제어부(7)의 저장신호가 중첩될 경우의 처리과정을 보면, 중앙신호처리부(6)의 판독신호에 따른 데이터 판독완료를 알리는 인식신호가 A/D변환 완료신호(S)신호에의해 제3단펄스발생기(7d)에서 발생된 단펄스가 AND게이트(7d)의 출력신호를 일정기간동안 차단시킴으로써, 실제적으로 중앙신호처리부(6)의 판독 신호가 연장된다. 따라서 이 기간동안에 A/D변환된 디지탈데이터는 저장이 완료되고, 제3 단펄스발생기(7d)가 하이레벨로 전환되면, 중앙신호처리부(6)의 데이터 판독신호에 의해 데이터 판독처리가 진행됨으로써, 데이터의 처리가 왜곡되지 않고 독립적으로 이루어진다.In FIG. 4, since the read signal of the central signal processor 6 does not overlap with the stored signal of the storage and read controller 7, the storage of A / D converted data and the read process of the central signal processor 6 are independently processed. do. However, referring to FIG. 5, when the read signal of the central signal processor 6 and the stored signal of the storage and read controller 7 overlap each other, the data read completion according to the read signal of the central signal processor 6 is completed. The short signal generated by the third-stage pulse generator 7d by the A / D conversion completion signal S signal cuts off the output signal of the AND gate 7d for a predetermined period of time. The read signal of (6) is extended. Therefore, when the digital data A / D converted during this period is stored and the third short pulse generator 7d is switched to the high level, the data readout process is performed by the data readout signal of the central signal processor 6. Therefore, the processing of the data is done independently without distortion.

이상 살펴본 바와 같이, 본 발명에 따른 A/D 변환 데이터 처리회로가 제공됨으로서, 단일 판독/저장용 제어핀의 제어에 의해 A/D변환된 디지탈 데이터의 저장과 저장된 데이터를 판독하는 것이 독립적으로 수행되어 데이터 처리속도가 향상된다.As described above, by providing the A / D conversion data processing circuit according to the present invention, the storage of A / D converted digital data and the reading of the stored data are independently performed by the control of a single read / store control pin. The data processing speed is improved.

Claims (5)

아날로그 신호가 입력되는 다수의 채널로부터 순차적으로 아날로그 신호를 받아들이는 멀티 플렉서; 상기 멀티플렉서로부터 얻어진 아날로그 신호를 디지탈 신호로 변환하고, 변환완료신호를 출력하는 A/D변환부; 판독/저장용 단일 제어핀과 지정번지 제어핀을 각각 갖고, 상기 디지탈 신호를 저장하는 메모리부; 제어신호에 의해 다수의 입력단로부터 소정의 입력단을 선택하여 상기 메모리부의 판독/저장용 단일 제어핀과 상기 지정번지 제어핀에 각각 출력하는 스위칭 수단; 상기 멀티 플렉서의 채널선택과 상기 A/D변환부의 디지탈 변환개시를 제어하고, 상기 디지탈신호가 상기 메모리부에 저장되는 장소를 지정하는 저장번지신호를 상기 스위칭수단의 입력단에 입력시켜 주기적이고 순차적인 A/D변환을 제어하는 A/D변환 제어부; 상기 메모리부에 저장된 디지탈 신호를 판독하기 위하여 판독번지신호 및 판독신호를 상기 스위칭수단의 입력단에 입력시키는 중앙신호처리부; 상기 A/D변환부의 변환완료신호로부터 상기 디지탈신호가 상기 메모리부에 저장되도록 상기 스위칭수단에서 상기 저장번지신호 및 자체에서 상기 스위칭수단의 입력단에 입력시킨 저장신호가 출력되도록 상기 스위칭수단을 제어하고, 상기 중앙신호처리부에 상기 판독신호가 처리 됐는지를 알려주는 인식신호를 인가하는 저장 및 판독 제어부;를 포함하는 것을 특징으로 하는 A/D변환 테이터 처리 회로.A multiplexer which sequentially receives analog signals from a plurality of channels to which analog signals are input; An A / D conversion unit converting the analog signal obtained from the multiplexer into a digital signal and outputting a conversion completion signal; A memory unit for storing the digital signal, each having a single control pin and a designated address control pin for reading and storing; Switching means for selecting a predetermined input terminal from a plurality of input terminals by a control signal and outputting the predetermined input terminal to the single control pin for reading / storing the memory unit and the designated address control pin, respectively; The channel selection of the multiplexer and the digital conversion start of the A / D converter are controlled, and a storage address signal for designating a place where the digital signal is stored in the memory unit is input to the input terminal of the switching means to perform periodic and sequential operations. An A / D conversion control unit for controlling an A / D conversion; A central signal processor for inputting a read address signal and a read signal to an input terminal of the switching means for reading the digital signal stored in the memory unit; The switching means controls the switching means to output the storage address signal from the switching means and the storage signal inputted to the input terminal of the switching means by the switching means so that the digital signal is stored in the memory unit from the conversion completion signal of the A / D converter. And a storage and readout control unit which applies a recognition signal to the central signal processing unit to indicate whether the readout signal has been processed. 제1항에 있어서, 상기 스위치 수단은 상기 A/D변환제어부의 저장번지신호와 상기 중앙신호처리부의 판독번지신호를 상기 저장 및 판독 제어부의 제어신호에 따라 선택하여 출력하는 제1 스위칭 수단; 및 상기 저장 및 판독 제어부의 저장신호와 중앙신호처리부의 판독신호를 상기 저장 및 판독 제어부의 제어신호에 따라 선택하여 출력하는 제2 스위칭 수단;을 포함하는 것을 특징으로 하는 A/D변환 테이터 처리 회로.2. The apparatus of claim 1, wherein the switch means comprises: first switching means for selecting and outputting a storage address signal of the A / D conversion controller and a read address signal of the central signal processor in accordance with a control signal of the storage and readout controller; And second switching means for selecting and outputting the stored signal of the storage and readout control unit and the read signal of the central signal processor according to the control signal of the storage and readout control unit. . 제1항에 있어서, 상기 저장 및 판독 제어부는 상기 변환 완료 신호로부터 상기 스위칭수단에 제어신호를 인가하는 제1 단펄스발생기; 상기 변환 완료 신호로부터 저장신호를 상기 스위칭수단의 입력단에 인가하는 제2 단펄스발생기; 및 상기 인식신호를 발생하여 상기 중앙처리제어부에 인가하는 인식신호 발생수단;을 포함하는 것을 특징으로 하는 A/D변환 테이터 처리 회로.2. The apparatus of claim 1, wherein the storing and reading control unit comprises: a first short pulse generator for applying a control signal to the switching means from the conversion completion signal; A second short pulse generator for applying a storage signal from the conversion completion signal to an input terminal of the switching means; And recognition signal generating means for generating the recognition signal and applying the recognition signal to the central processing control unit. 제1항 또는 제3항에 있어서, 상기 인식신호 발생수단은 설정된 주기로 주기적 펄스를 발생시키는 펄스 발생기; 그 하나의 입력단에 인가된 상기 펄스 발생기의 출력신호와 또다른 입력단에 인가된 신호를 논리적으로 비교하여, 상기 중앙신호처리부에 출력하는 논리부; 및 상기 변환 완료신호로부터 상기 펄스발생기에서 출력되는 신호가 상기 논리부에서 출력되는 것을 차단하도록 제어하는 단펄스를 발생시켜 상기 논리부에 입력시키는 제3 단펄스 발생기;를 포함하는 것을 특징으로 하는 A/D변환 테이터 처리 회로.4. The apparatus of claim 1 or 3, wherein the recognition signal generating means comprises: a pulse generator for generating a periodic pulse at a set period; A logic unit which logically compares an output signal of the pulse generator applied to one input terminal with a signal applied to another input terminal and outputs the result to the central signal processor; And a third short pulse generator for generating a short pulse for controlling the signal output from the pulse generator to block output from the logic unit from the conversion completion signal and inputting the short pulse to the logic unit. / D conversion data processing circuit. 제4항에 있어서, 상기 논리부는 AND게이트이고, 상기 제3 단펄스 발생기의 단펄스신호는 상기 AND케이트의 출력을 차단하는 논리신호인 것을 특징으로 하는 A/D변환 테이터 처리 회로.5. The A / D conversion data processing circuit according to claim 4, wherein the logic unit is an AND gate, and the short pulse signal of the third short pulse generator is a logic signal that blocks the output of the AND gate.
KR1019960029861A 1996-07-23 1996-07-23 A/d converting data processing circuit KR0183655B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019960029861A KR0183655B1 (en) 1996-07-23 1996-07-23 A/d converting data processing circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019960029861A KR0183655B1 (en) 1996-07-23 1996-07-23 A/d converting data processing circuit

Publications (2)

Publication Number Publication Date
KR980012938A KR980012938A (en) 1998-04-30
KR0183655B1 true KR0183655B1 (en) 1999-04-15

Family

ID=19467216

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019960029861A KR0183655B1 (en) 1996-07-23 1996-07-23 A/d converting data processing circuit

Country Status (1)

Country Link
KR (1) KR0183655B1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6169429B1 (en) * 1997-01-03 2001-01-02 Texas Instruments Incorporated HDD chip set partitioning
KR20000061025A (en) * 1999-03-23 2000-10-16 김영환 Device for holding data tester in common

Also Published As

Publication number Publication date
KR980012938A (en) 1998-04-30

Similar Documents

Publication Publication Date Title
US4335374A (en) Key discrimination circuit
KR930007049A (en) Analog to Digital Inverter
KR19980028357A (en) Semiconductor device with noise reduction refresh device
US5481671A (en) Memory testing device for multiported DRAMs
KR940006148A (en) Memory device with test function
KR0183655B1 (en) A/d converting data processing circuit
US4138917A (en) Key code generator
US5760721A (en) Analog-to-digital conversion device
JP2956124B2 (en) Waveform generator
KR100365837B1 (en) Device for automatically converting analogue to digital
US7203870B2 (en) Semiconductor memory unit with repair circuit
AU592882B2 (en) Apparatus for detecting sequential data string
KR100265424B1 (en) Digital pulse width signal generating circuit and method
KR100205589B1 (en) Memory accessing circuit for time-switch
JP2002100990A (en) Programmable controller and analog input/output module
JP2578019B2 (en) Code generation control device
JPS61114351A (en) Memory controller
JP2880019B2 (en) Pattern generator
SU1757053A1 (en) Power relay-sampled-data control device
JPH0784726A (en) A/d converter
JPH0638210B2 (en) Sequence controller input / output control system
SU1560980A1 (en) Multichannel apparatus for recording signals
JPH088777B2 (en) Control circuit for inverter device
JP2867480B2 (en) Memory switching circuit
JP3015398B2 (en) Antenna drive

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
LAPS Lapse due to unpaid annual fee