SU1545210A1 - Device for interfacing analog-digital converter and micrpoprocessor - Google Patents

Device for interfacing analog-digital converter and micrpoprocessor Download PDF

Info

Publication number
SU1545210A1
SU1545210A1 SU884427240A SU4427240A SU1545210A1 SU 1545210 A1 SU1545210 A1 SU 1545210A1 SU 884427240 A SU884427240 A SU 884427240A SU 4427240 A SU4427240 A SU 4427240A SU 1545210 A1 SU1545210 A1 SU 1545210A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
output
trigger
microprocessor
information
Prior art date
Application number
SU884427240A
Other languages
Russian (ru)
Inventor
Михаил Аркадьевич Гуранчик
Александр Владимирович Рывкин
Владимир Леонидович Черняк
Федор Федорович Братский
Original Assignee
Предприятие П/Я А-3327
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 Предприятие П/Я А-3327 filed Critical Предприятие П/Я А-3327
Priority to SU884427240A priority Critical patent/SU1545210A1/en
Application granted granted Critical
Publication of SU1545210A1 publication Critical patent/SU1545210A1/en

Links

Landscapes

  • Microcomputers (AREA)

Abstract

Изобретение относитс  к электронной технике и может быть использовано дл  сопр жени  первичных преобразователей информации, например аналого-цифровых, с микропроцессором. Цель изобретени  - повышение быстродействи  устройства за счет автоматического перехода устройства сопр жени  в исходное состо ние непосредственно после считывани  признака завершени  очередного цикла работы преобразовател  и формировани  сигнала готовности. Устройство содержит два триггера, элемент И, буферный регистр, селектор адреса, буферный усилитель. 2 ил.The invention relates to electronic technology and can be used to interface primary data converters, such as analog-digital, with a microprocessor. The purpose of the invention is to increase the device speed by automatically switching the interface device to its initial state immediately after reading the sign of the completion of the next cycle of the converter operation and the formation of a ready signal. The device contains two triggers, the And element, the buffer register, the address selector, the buffer amplifier. 2 Il.

Description

Изобретение относитс  к электронной технике и может быть использовано дл  сопр жени  первичных преобразователей информации, например аналого-цифрового преобразовател  (АЦП), с микропроцессором.,The invention relates to electronic engineering and can be used to interface primary data converters, such as an analog-to-digital converter (ADC), with a microprocessor.,

Целью изобретени   вл етс  повышение быстродействи  устройства за счет оптимизации процесса асинхрон- ного обмена и автоматического перехода устройства сопр жени  в исходное состо ние непосредственно после считывани  признака завершени  очередного цикла работы преобразовател .The aim of the invention is to improve the speed of the device by optimizing the process of asynchronous exchange and automatic transition of the interface device to the initial state immediately after reading the sign of the completion of the next cycle of the converter.

На фиг.1 приведена функциональна  электрическа  схема предлагаемого устройства; на фиг.2 - временные диаграммы, по сн ющие его работу.Figure 1 shows the functional electrical circuit of the device proposed; 2 shows timing diagrams for his work.

Устройство содержит преобразова- N тель информации, выполненный в- виде аналого-цифрового преобразовател  1, первый триггер 2, элемент И 3, второй триггер 4, буферный регистр 5, селектор 6 адреса, буферный усилитель 7 и микропроцессор 6.The device contains a converter of information, made in the form of analog-digital converter 1, first trigger 2, element 3, second trigger 4, buffer register 5, address selector 6, buffer amplifier 7 and microprocessor 6.

Информационный выход преобразовател  1 соединен с информационным входом буферного регистра 5, выход которого соединен с общей шиной обмена микропроцессора 8, куда также подключены выход буферного усилител  7 и вход селектора 6, выход которого соединен с управл ющим входом буферного усилител  7, входом разрешени  чтени  буферного, регистра 5 и синхровходом триггера 4, выходThe information output of the converter 1 is connected to the information input of the buffer register 5, the output of which is connected to the common bus of the microprocessor 8, which also connects the output of the buffer amplifier 7 and the input of the selector 6, the output of which is connected to the control input of the buffer amplifier 7, the input resolution of the buffer, register 5 and synchronous trigger 4, output

которого соединен с информационным входом буферного уснлитеч  7, входом разрешени  записи буферного регистра 5, вторым входом элемента И 3 и R-входом триггера 2, синхровход которого подключен к выходу синхронизации преобразовател  1, а выход соединен с первым входом элемента И 3, выход которого соединен с S-входом триггера 4, на D-вход триггера 2 подан уровень логической 1м, на D-вход триггера 4 - уровень логического О.which is connected to the information input of the buffer amplifier 7, the enable input of the recording of the buffer register 5, the second input of the AND 3 element and the R input of the trigger 2, the synchronous input of which is connected to the synchronization output of the converter 1, and the output connected to the first input of the And 3 element whose output is connected with the S-input of the trigger 4, on the D-input of the trigger 2 a logic level 1m is fed, to the D-input of the trigger 4 - the logic level O.

Преобразователь 1 может  вл тьс , например, аналого-цифровым преобразователем , имеющим информационный выход и выход сигнала готовности,  вл ющийс  вторым выходом преобразовател  1. В качестве преобразовател  1 может использоватьс , например, микросхема КП13ПВ1, включенна  в режиме автономного периодического запуска.Converter 1 may be, for example, an analog-to-digital converter having an information output and a ready signal output, which is the second output of converter 1. As converter 1, for example, a KP13PV1 chip is used in an autonomous periodic start mode.

Буферный регистр 5 обеспечивает фиксацию выходного состо ни  преобразовател  1 по окончании каждого цикла аналого-цифрового преобразовани , а также подключение его к общей шине обмена микропроцессора 8. С качестве буферного регистра 5 в предлагаемом устройстве может быть использована микросхема К588ИР1, имеюща  управл ющие входы записи и чтени , а также при отсутствии сигнала чтени  - третье состо ние выходных тин (состо ние высокого импеданса ) ,The buffer register 5 provides for fixing the output state of converter 1 at the end of each cycle of analog-digital conversion, as well as connecting it to the common microprocessor exchange bus 8. With the quality of buffer register 5 in the proposed device, a K588IR1 chip can be used, having control write inputs and reading, as well as in the absence of a reading signal, the third state of output tins (high impedance state),

Буферный усилитель 7 служит дл  подключени  выхода триггера 4 к общей шине микропроцессора 8 (при наличии на управл ющем входе усилител  7 сигнала чтени  от селекторов сигналов) и может быть выполнен, например, на основе микросхемы К561ЛН1, имеющей третье состо ние выхода (состо ние высокого импедансаBuffer amplifier 7 serves to connect the output of trigger 4 to the common bus of microprocessor 8 (if there is a read signal from the selectors of signals on the control input of amplifier 7) and can be performed, for example, on the basis of a K561LLN1 chip having the third output state (high impedance

Селектор 6 служит дл  выработки сигнала чтени  (при обращении микропроцессора 8 к предопределенному адресу , соответствующему выбранному дл  чтени  первичному преобразователю информации), по которому буферный регистр 5 и буферный усилитель 7 выход т из третьего состо ни , подава  на интерфейсные шины ( данных) соответствующую информацию, котора  затем считываетс  микропроцессором 8 Практическа - реализаци  селектора 6The selector 6 serves to generate a read signal (when the microprocessor 8 accesses a predefined address corresponding to the primary information converter selected for reading), through which buffer register 5 and buffer amplifier 7 exit from the third state, supplying the corresponding information to the interface buses (data) which is then read by microprocessor 8 Practical - implementation of the selector 6

10ten

1515

2020

))

з 1ни пт от типа микропроцессора 8 и быть выполнена по любой из известных схем, так, например дл  микропроцессора KI801BM2 может быть выполнен на основе микросхем дешифратора адреса K588BTI и элемента ИЛИ- НЕ микросхемы К561ЛЕ5. При этом элемент ИЛИ-НЕ при наличии на его выходах сигналов и ЛЧТ с соответствующих выходов микросхемы К5888ВТ1 вырабатывает выходной сигнал селектора 6. Возможны и другие варианты технической реализации селектора 6 формировани  управл ющих сигналов.From 1 to 5 of the type of microprocessor 8 and can be performed according to any of the known schemes, for example, for the microprocessor KI801BM2 can be made on the basis of the chips of the address decoder K588BTI and the element OR-NOT of the chip K561LE5. In this case, the OR-NOT element, if there are signals and LBT at its outputs from the corresponding outputs of the K5888BT1 chip, produces the output signal of the selector 6. Other variants of the technical implementation of the selector 6 for generating control signals are possible.

Микропроцессор 8 может иметь, например, встроенные или внешние оперативно-запоминающие и посто нно-запоминающие блоки пам ти (ОЗУ и ПЗУ), включенные по типовой схеме. В ПЗУ хранитс  программа работы микропро-° цессора, а ОЗУ  вл етс  буфером дл  хранени  всех промежуточных результатов и операций. The microprocessor 8 can have, for example, built-in or external operational storage and permanent storage memory (RAM and ROM) included in a typical scheme. The program memory of the microprocessor of the processor is stored in the ROM, and the RAM is a buffer for storing all intermediate results and operations.

25 Устройство работает следующим образом.25 The device operates as follows.

При работе преобразовател  1 на его выходе синхронизации периодически вырабатываютс  сигналы, свидетельствующие об окончании- процесса преобразовани  входной информации (фиг.2, q), по которым взводитс  триггер 2 (фиг. 2, 6).During the operation of the converter 1, signals at its synchronization output are periodically generated, indicating the end of the input information conversion process (Fig. 2, q), according to which trigger 2 (Fig. 2, 6) is activated.

Микропроцессор 8 посто нно осуществл ет чтение состо ни  триггера 4 (посредством буферного усилител  7) и буферного регистра 5. При этом селектор 6 периодически вырабатывает сигнал чтени , посредством которого производитс  подключение буфер- но го регистра 5 к общей шине обмена микропроцессора 8 (фиг.2, б).The microprocessor 8 constantly reads the state of trigger 4 (by means of buffer amplifier 7) and buffer register 5. At the same time, the selector 6 periodically generates a reading signal, through which the buffer register 5 is connected to the common exchange bus of microprocessor 8 (FIG. 2, b).

Ввиду того, что опрос микропроцессором 8 выходного состо ни  триггера 4 и буферного регистра 5 несинхронизирован с моментами окончани  работы преобразовател  1 (готовности преобразуемой информации к передаче в микропроцессор 8) возможны несколько различных вариантов работы устройства , что схематически показано на фиг.2.Due to the fact that the microprocessor polling 8 causes the output state of trigger 4 and buffer register 5 to be unsynchronized with the moments of the end of operation of converter 1 (readiness of the converted information for transfer to microprocessor 8), there are several possible variants of operation of the device, which is shown schematically in Fig. 2.

Если триггер 2 взводитс  во врем  формировани  сигнала чтени  на выходе селектора 6, то последний по- 55 средством элемента И 3 блокируетIf trigger 2 is cocked during the formation of a reading signal at the output of the selector 6, the latter, by means of the element And 3, locks

срабатывание триггера 4, что исключает передачу н микропроцессор 8 ошибочной информации, котора  можетtrigger 4, which eliminates the transfer of erroneous information to the microprocessor 8, which can

30thirty

3535

4040

4545

5050

515515

произойти из-за переходных процессор, св занных с перезаписью информации с первого выхода преобразовател  1 в буферный регистр 5. Триггер 4 взводитс  непосредственно после исчез- новени  на выходе селектора 6 присутствующего там сигнала чтени , а передача в микропроцессор 8 выходной информации от преобразовател  1 в данном случае производитс  при выработке селектором 6 следующего сигнала чтени . При срабатывании триггера 4 триггер 2 сбрасываетс  сразу, а триггер 4 сбрасываетс  по оконча- нии сигнала чтени  с выхода селектора 6 (фиг. 2,3).occur due to transient processors associated with overwriting information from the first output of converter 1 to buffer register 5. Trigger 4 is reset immediately after the output signal of the read signal disappears at the output of selector 6, and the output information from converter 1 to the microprocessor 8 In this case, it is produced when the selector 6 develops the next reading signal. When trigger 4 is triggered, trigger 2 is reset immediately, and trigger 4 is reset upon completion of the read signal from the output of selector 6 (Fig. 2.3).

Если триггер 2 взводитс  в промежутках между сигналами чтени , формируемых на выходе селектора 6, то выходной сигнал триггера 2 непосредственно вводит триггер 4, выходной сигнал которого, в свою очередь, сбрасывает триггер 2. Триггер 4 сбрасываетс  при этом по окончании оче- редкого сигнала чтени  с выхода селектора 6.If trigger 2 is set between the read signals generated at the output of selector 6, then the output signal of trigger 2 directly inputs trigger 4, the output of which, in turn, resets trigger 2. Trigger 4 clears at the end of the next read signal from the output of the selector 6.

Claims (1)

Формула изобретени Invention Formula Устройство дл  сопр жени  аналоге- цифрового преобразовател  с микропроцессором , содержащее селектор адреса, буферный регистр, информационный вход которого  вл етс  входом устройства дл  подключени  к информационномуA device for interfacing an analog-to-digital converter with a microprocessor, comprising an address selector, a buffer register, the information input of which is the input of the device for connection to the information выходу аналого-цифрового преобразоваanalog-to-digital conversion Q 5 Q 5 0 5 0 5 о about 5five 106106 тел , а РЬГХОД  вл етс  выходом устройства дл  подключени  к данных микропроцессора, информационный вход селектора адреса  вл етс  входом устройства дл  подключени  к шине управлени  микропроцессора, выход селектора адреса соединен с входом разрешени  чтени  буферного регистра, отличающеес  тем, что, с целью повышени  быстродействи  устройства , в него введены элемент И, первый и второй триггеры и буферный усилитель, выход которого подключен к в ыходу устройства дл  подключени  к шине данных микропроцессора, синх- ровход первого триггера  вл етс  входом устройства дл  подключени  к выходу готовности аналого-цифрового преобразовател , выход первого триггера соединен с первым входом элемента И, выход которого соединен с установочным входом второго триггера выход которого соединен с входом сброса первого триггера, входом разрешени  записи буферного регистра и информационным входом буферного усилител , управл ющий вход которого подключен к выходу селектора адреса, второму входу элемента И и к синхро- входу второго триггера, информационный вход первого триггера подключен к шиые единичного потенциала устройства , а информационный вход вторрго триггера - к шине нулевого потенциала устройства.the body and the FIBC input is the output of the device for connecting to the microprocessor data, the information input of the address selector is the input of the device for connecting to the microprocessor control bus, the output of the address selector is connected to the read enable input of the buffer register, which is designed to improve the speed of the device The element I, the first and second triggers and the buffer amplifier, the output of which is connected to the output of the device for connecting the microprocessor to the data bus, are entered into it. Gera is a device input for connecting an analog-to-digital converter to the ready output, the output of the first trigger is connected to the first input of an AND element, the output of which is connected to the setup input of the second trigger whose output is connected to the reset input of the first trigger, the enable input of the buffer register and the information input the buffer amplifier, the control input of which is connected to the output of the address selector, the second input of the element I and to the sync input of the second trigger, the information input of the first trigger n It is connected to the device's unit potential potential, and the information input of the second trigger is connected to the device potential zero bus. s,s, к//лto // l KWLKwl 0000 &%%& %% Фиг. 2.FIG. 2
SU884427240A 1988-05-17 1988-05-17 Device for interfacing analog-digital converter and micrpoprocessor SU1545210A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU884427240A SU1545210A1 (en) 1988-05-17 1988-05-17 Device for interfacing analog-digital converter and micrpoprocessor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU884427240A SU1545210A1 (en) 1988-05-17 1988-05-17 Device for interfacing analog-digital converter and micrpoprocessor

Publications (1)

Publication Number Publication Date
SU1545210A1 true SU1545210A1 (en) 1990-02-23

Family

ID=21375786

Family Applications (1)

Application Number Title Priority Date Filing Date
SU884427240A SU1545210A1 (en) 1988-05-17 1988-05-17 Device for interfacing analog-digital converter and micrpoprocessor

Country Status (1)

Country Link
SU (1) SU1545210A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Кофрон Дж. В. Растире- ние микропроцессорных систем. - М.: Машиностроение, 1987, с. 194. Ломтев Е.А. и др. Сопр жение преобразователей формы информации с микропроцессорными средствами. Изд.-во Саратовского университета, 1986, с. 131-133. *

Similar Documents

Publication Publication Date Title
EP0276794B1 (en) Data input circuit having latch circuit
SU1545210A1 (en) Device for interfacing analog-digital converter and micrpoprocessor
EP0209313A2 (en) Clock synchronization circuit for a timer
SU1171828A1 (en) Device for collecting and transmission of information
SU1501156A1 (en) Device for controlling dynamic memory
SU1372330A1 (en) Device for connecting microprocessor with external devices
JP2964480B2 (en) Digital video signal processing circuit
SU1193825A1 (en) Code translator
RU2049363C1 (en) Dynamic memory information refreshing device
SU1541622A1 (en) Device for interfacing computing machine with data transmission equipment
SU1195364A1 (en) Microprocessor
SU1575190A1 (en) Device for controlling dynamic memory
US5479165A (en) Two-dimensional coding apparatus
SU602947A1 (en) Microprogramme-control device
SU1550525A1 (en) Device for interfacing comimunication channel and computer
SU780035A1 (en) Device for regeneration of information for dynamic matrix storage unit
SU1647577A1 (en) User interface device
KR100197410B1 (en) Recognition signal generation circuit using counters of all electronic exchanges
SU1164691A1 (en) Sweep generator for radar image converter
JPS61220042A (en) Memory access control system
SU1589288A1 (en) Device for executing logic operations
SU1388945A1 (en) Device for refreshing information in a dynamic storage device
JP2526042Y2 (en) Memory / register control circuit
SU1524056A1 (en) Device for addressing a memory
SU1485225A1 (en) Data input unit