[go: up one dir, main page]

SU1441378A1 - Information input device - Google Patents

Information input device Download PDF

Info

Publication number
SU1441378A1
SU1441378A1 SU874272241A SU4272241A SU1441378A1 SU 1441378 A1 SU1441378 A1 SU 1441378A1 SU 874272241 A SU874272241 A SU 874272241A SU 4272241 A SU4272241 A SU 4272241A SU 1441378 A1 SU1441378 A1 SU 1441378A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
output
inputs
counter
outputs
Prior art date
Application number
SU874272241A
Other languages
Russian (ru)
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 SU874272241A priority Critical patent/SU1441378A1/en
Application granted granted Critical
Publication of SU1441378A1 publication Critical patent/SU1441378A1/en

Links

Landscapes

  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

Изобретение относитс  к области автоматики и вычислительной техники и может быть.использовано дл  ввода в ЭВМ информации о аналоговых датчиков . Целью изобретени   вл етс  расширение области применений за счет организации режима монитора и непрерывного режима ввода информации, которые обеспечивают экономичное использование пам ти ЭВМ при многократных циклических опросах аналоговых датчиков. Устройство содержит коммутатор 2, аналого-цифровой преобразователь 3, счетчики 4, 9 и Ю, регистры 5 и 6, блок 12 управлени . Цель достигаетс  вводом дополнительного регистра 24, двух триггеров 25 и 26 двух элементов ИЛИ 29 и 30, двух элементов И 27 и 28. Дополнительные элементы позвол ет в режиме монитора при окончании цикла сканировани  заг- грузить счетчик 10 первоначальным значением, поэтому данные следующих (Л СThe invention relates to the field of automation and computer technology and can be used to enter information about analog sensors into a computer. The aim of the invention is to expand the scope of applications due to the organization of the monitor mode and the continuous information input mode, which ensure the economical use of computer memory during repeated cyclical polling of analog sensors. The device contains a switch 2, analog-to-digital converter 3, counters 4, 9 and 10, registers 5 and 6, control unit 12. The goal is achieved by entering an additional register 24, two triggers 25 and 26 of two elements OR 29 and 30, two elements AND 27 and 28. Additional elements allow the monitor 10 to load the initial value in the monitor mode at the end of the scan cycle, therefore the data are as follows (L WITH

Description

1one

Изобретение относитс  к автоматике и вычислительной технике и может быть использовано дл  ввода в ЭВМ информации от аналоговых датчиков в реальном масштабе времени.The invention relates to automation and computer technology and can be used to input information from real-time analog sensors into a computer.

Цель изобретени  - расширение области применени  за счет организации режима монитора и непрерывного режима ввода информации.The purpose of the invention is to expand the scope by organizing the monitor mode and the continuous information input mode.

На чертеже представлена структурна  схема устройства.The drawing shows a block diagram of the device.

Устройство содержит аналоговые входы 1 устройства, коммутатор 2, аналого-цифровой преобразователь i (АЦП) 3, первый счетчик 4, первьй 5 и второй 6 регистры, блок 7 сравнени , цифровые входы 8 устройства, второй 9 и третий 10 счетчики, адресные выходы П устройства, блок 12 управлени , информационные выходы 13 устройства, вход 14 пуска устройства выход 15 запроса устройства, выход 16 конца обмена устройства, вход 17 нца записи устройства, входы 18 - 20 блока управлени , первый 21, четвертый 22 и п тый 23 вьгходы блока управлени , третий регистр 24, первый. 25 и второй 26 триггеры, первый 27 и второй 28 элементы И, первый 29 и второй 30 элементы ИЛИ.The device contains analog inputs 1 of the device, switch 2, analog-to-digital converter i (ADC) 3, first counter 4, first 5 and second 6 registers, comparison unit 7, digital inputs 8 of the device, second 9 and third 10 counters, address outputs P device, control unit 12, device information outputs 13, device start input 14 device request output 15, device exchange end output 16, device recording 17 input, control unit inputs 18-20, first 21, fourth 22 and fifth 23 block inputs control, third register 24, first. 25 and second 26 triggers, the first 27 and second 28 elements AND, the first 29 and second 30 elements OR.

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

Вначале загружаетс  регистр 24 по входам В из ЭВМ начальным адресом . массива оперативной пам ти, куда в режиме пр мого доступа передаютс  результаты измерений. Затем ЭВМ загружает счетчик 9 по входам 8 числом в дополнительной коде, которое определ ет общее количество измерений..Далее ЭВМ вьщает на входы В устройства код начального аналогового входа, коFirst, register 24 is loaded on inputs B from a computer with a starting address. memory array, where measurement results are transmitted in direct access mode. Then the computer loads the counter 9 on inputs 8 with a number in the additional code, which determines the total number of measurements. Next, the computer sends the code of the initial analog input to the inputs B of the device

00

5five

00

торый записываетс  в регистр 5, и код конечного аналогового входа, который записываетс  в регистр 6, При этом устройство оказываетс  готовымThe second is written to register 5, and the code of the final analog input, which is written to register 6, the device being ready

к работе.to work.

ЭВМ запускает измерени  сигналом пуска, который через вход 11 устройства поступает на элемент ИЛИ 30 и вызывает запись начального адреса массива оперативной пам ти из ре- гистр а 24 в третий счетчик 10. По этому сигналу пуска блок 12 управлени  формирует сигнал на своем п том выходе 23, по которому производитс  запись содержимого регистра 5 в первый счетчик 4. Кроме этого, блок 12 управлени  через задержку формирует на первом выходе 21 сигнал преобразовани  АЦП. Величина заде{ жки определ етс  временем, необходимым дл  коммутации аналогового канала, адрес которого задаетс  первым счетчиком 4. Выполн етс  аналого-цифровое преобраC зование. По завершению его АЦП 3 формирует сигнал конца преобразовани , поступающий на тактовый вход счетчика 4, увеличивает его содержимое на единицу и, таким образом, коммутатор 2 выбирает следующий аналоговый вход 1. Кроме этого, сигнал преобразовани  поступает также на вход 19 блока управлени . В результате этого блок 12 управлени  выставл ет запрос к ЭВМ на пр мой доступ к пам ти на выходеThe computer starts measurements with a start signal, which through input 11 of the device enters the element OR 30 and causes the recording of the starting address of the memory array from register 24 to the third counter 10. With this start signal, control unit 12 generates a signal at its fifth output 23, which records the contents of register 5 to the first counter 4. In addition, the control unit 12 generates an ADC conversion signal at a first output 21 through a delay. The value of the setting is determined by the time required for switching the analog channel, whose address is specified by the first counter 4. Analog-to-digital conversion is performed. Upon completion, its A / D converter 3 generates a conversion end signal, which enters the clock input of counter 4, increases its contents by one, and thus switch 2 selects the next analog input 1. In addition, the conversion signal is also fed to input 19 of the control unit. As a result, the control unit 12 issues a request to the computer for direct memory access at the output

5 15 устройства и одновременно запускает аналого-цифровое преобразование по следующему входу.5 15 devices and simultaneously starts analog-to-digital conversion via the next input.

ЭВМ, получив запрос на ввод данных в режиме пр мого доступа, считывает на устройства по выходам 11 из счетчика 10 адрес пам ти и записывает в нее результат аналого-цифровогоThe computer, upon receiving a request for data input in the direct access mode, reads the address of the memory to the devices on the outputs 11 from the counter 10 and writes the result of the analog-to-digital into it

00

00

3U3U

преобразовани , который из АЩ1 3 выдаетс  на выходы 13. После записи результата в пам ть из ЭВМ поступает сигнал конца записи на вход 17 устройства . По этому сигналу блок 12 управлени  снимает запрос на пр мой доступ на выходе 15 устройства и формирует на своем четвертом выходе 22 импульс инкрементации второго 9 и третьего 10 счетчиков, подготавлива  адр ес следующей  чейки в массиве пам ти ЭВМ.conversion, which of ASCH1 3 is output to the outputs 13. After the result is recorded in the memory from the computer, the signal of the recording end is received at the input 17 of the device. By this signal, control unit 12 removes the request for direct access at the device output 15 and generates an increment pulse of the second 9 and third 10 counters at its fourth output 22, preparing the address of the next cell in the computer memory array.

В устройстве возможны п ть режимов: адресный, сканирование в заданных границах, многократный циклический опрос, режим монитора и непрерывный режим. Ввод данных в первых четырех режимах ведетс  до переполнени  счетчика 9, сигнал которого поступает на вход 18 блока 12 управлени , что вызывает на выходе 16 устройства по вление сигнала конца обмена. Выбор первых трех режимов определ етс  соотношением между кодами, загружаемыми в регистры 5 и 6 и во второй счетчик 9, а дл  выбора режима монитора и непрерывного режима необходимо по входам 8 устройства установить триггеры указани  режимов соответст- .венно 25 и 26.Five modes are possible in the device: address, scan at specified limits, multiple cyclic polling, monitor mode, and continuous mode. Data input in the first four modes is carried out until counter 9 overflows, the signal of which is fed to input 18 of control unit 12, which causes the output of the exchange signal at output 16 of the device. The selection of the first three modes is determined by the ratio between the codes loaded into registers 5 and 6 and into the second counter 9, and to select the monitor mode and continuous mode, it is necessary to set the mode indication triggers respectively 25 and 26 on the device inputs 8.

В адресном режиме производитс  только одно аналого-цифровое преобразование по входу, адресуемому регистром 5. В этом режиме счетчик 9 загружаетс  всеми единицами дл  задани  только одного преобразовани .In the address mode, only one analog-to-digital conversion is performed on the input addressed by register 5. In this mode, counter 9 is loaded with all units to specify only one conversion.

В режиме сканировани  в заданных границах число преобразований, загружаемое в счетчик 9, соответствует разнице чисел в регистрах 6 и 5. В этом режиме производитс  последовательный опрос выбранной группы аналоговых входов 1. При достижении счетчика 4 верхней границы операци  завершаетс , так как в этот же момент будет переполнение счетчика 9.In the scan mode, the number of transformations loaded into counter 9 corresponds to the difference of numbers in registers 6 and 5 in the specified limits. In this mode, the selected group of analog inputs 1 are sequentially polled. When the upper limit counter 4 is reached, the operation ends. will overflow the counter 9.

В третьем режиме, циклическом, по одной команде из ЭВМ выполн етс  многократное сканирование по заданной области входов 1. Этот режим в начале операции выполн етс  аналогично второму режиму до опроса входа 1, соответствующего регистру 6. В этот момент блок 7 сравнени  формирует сигнал совпадени  счетчика 4 с регистром 6. После завершени  преобразовани  по этому каналу блок управлени  производит, через свой п тыйIn the third mode, cyclic, one command from the computer performs multiple scans on the specified input area 1. This mode at the beginning of the operation is performed similarly to the second mode before polling input 1 corresponding to register 6. At this point, the comparison unit 7 generates a counter match signal 4 with a register 6. After the conversion is completed on this channel, the control unit produces, through its fifth

4four

выход 23 перезагрузку первого счетчика 4 начальным адресом выбранной области входов I из регистра 5. Таким i образом, в этом режиме производитс  многократное поочередное измерение сигналов от начального выбранного канала до конечного выбранного канала, а затем оп ть с того же начальногоexit 23 reloading the first counter 4 with the starting address of the selected input area I from register 5. Thus, in this mode, in this mode, multiple alternate measurements of the signals from the initial selected channel to the final selected channel are performed, and then again from the same initial

адреса и так далвр. до переполне1ш  счетчика 9.addresses and so dalvr. until the counter is full 9.

В четвертом режиме, мониторе, ЭВМ на стадии инициализаций операции перед формированием сигнала запускаIn the fourth mode, the monitor, the computer at the initialization stage of the operation before forming the trigger signal

измерений в отличие от циклического режима устанавливает триггер 25. Далее этот режим выполн етс  аналогично циклическому режиму до момента вырабатывани  блоком 7 сигнала совпаденн , т.е. до завершени  одного цикла сканировани . В этот момент при перезагрузке первого счетчика 4 начальным адресом выбранной области входов 1 в режиме монитора сигнал с выходаmeasurement in contrast to the cyclic mode sets the trigger 25. Further, this mode is performed similarly to the cyclic mode until the generation of the signal by block 7 coincides, i.e. until the end of one scan cycle. At this moment, when the first counter 4 is reset, the starting address of the selected input area 1 in monitor mode is the output signal

23 блока 12 управлени  через элементы И 28 и ИЛИ 30 производит перезагрузку третьего счетчика 10 начальным адресом массива оперативной пам ти ЭВМ из третьего регистра 24. Поэтому23 control units 12, through elements AND 28 and OR 30, reloads the third counter 10 with the starting address of the computer memory array from the third register 24. Therefore

данные следующих циклов сканировани  передаютс  в ту же область пам ти, что и в предыдущих циклах, т.е. данные каждого канала ввод тс  в течение всего времени измерени  в однуthe data of the next scan cycles is transmitted to the same memory area as in the previous cycles, i.e. data of each channel is entered during the entire measurement time in one

и ту же  чейку пам ти, отдельную дл  1 аждого канала.the same memory location, separate for 1 channel each.

В п том режиме, непрерывном, ЭВМ (Шред запуском операции по входу 8 устройства устанавливает второй триггер 26. После запуска операции проводитс  многократное сканировагше в пределах выбранных границ с вводом данных в одну и ту же заданную область оперативной пам ти ЭВМ. ЭтоIn the fifth mode, a continuous computer (Shred, by launching an operation on input 8 of the device, sets the second trigger 26. After the operation starts, multiple scans are conducted within the selected boundaries with data input into the same predetermined area of the main memory of the computer.

происходит так же, как и в режиме мо- нитора, за исключением того, что ввод аналоговой информации идет непрерывно . В момент переполнени  счетчика 9 прохождение сигнала р выхода этогоIt is the same as in the monitor mode, except that the input of analog information is continuous. At the moment of overflow of the counter 9, the passage of the signal p of the output of this

счетчика в блок 12 управлени  блоки- руетс  элементом И 27, так как на первом его входе присутствует сигнал с инверсного выхода триггера 26. Поэтому блок 12 управлени  не выдает вthe counter in control unit 12 is blocked by AND 27, since at its first input there is a signal from the inverse output of trigger 26. Therefore, control unit 12 does not output to

ЭВМ сигнала конца обмена,Computer signal end of the exchange,

- 1- one

Программа управлени  обрабатывает вводимые данные и на основе этого анализа или исход  из других каких514The management program processes the input data based on this analysis or on the basis of other data.

либо условий останавливает непрерывный режим.either condition stops continuous mode.

Такое расположение данных в режиме монитора и непрерывном режиме позвол ет упростить и ускорить обработку результатов дл  определенных задач .This arrangement of data in monitor mode and continuous mode allows you to simplify and speed up the processing of results for certain tasks.

Программа обработки данных за сче параллельной работы с вводом данных производит обработку результатов по мере их поступлени  в пам ть в режиме пр мого доступа.The data processing program, using parallel input data, processes the results as they arrive in the memory in the direct access mode.

Таким образом, расширение функциональных возможностей за счет введени  режима монитора позвол ет производить многократные циклические измерени  со значительным сокращением требуемого размера пам ти, отведенной под принимаемые данные. Сокращение объема пам ти дл  режима монитора будет в п раз по сравнению с циклическим режимом, где п - число циклов сканировани ,Thus, extending the functionality by introducing a monitor mode allows multiple cyclic measurements to be made with a significant reduction in the required size of the memory allocated for the received data. The reduction in the amount of memory for the monitor mode will be n times as compared with the cyclic mode, where n is the number of scanning cycles,

Непрерывньй режим особенно эффективен дл  систем управлени , когда заранее, до начала измерений, не известно в тече1ше какого времени вести измерени  или сколько необходимо выполнить преобразований.Continuous mode is especially effective for control systems when, in advance, prior to the measurement, it is not known for how long the measurements should be taken or how many transformations need to be performed.

Claims (1)

Формула изобретени Invention Formula Устройство дл  ввода информс ции, содержащее коммутатор, аналого-цифровой преобразователь, три счетчика, блок управлени , блок сравнени , два регистра, выходы первого регистра соединены с установочными входами .первого счетчика, выходы которого соединены с входами первой группы блока сравнени  и с адресными входами коммутатора, выход которого соединен с информационным входом аналого-цифрового преобразовател , информацион- 1ше выходы которого  вл ютс  информационными выходами устройства, информационные входы коммутатора  вл ютс  аналоговыми входами устройства, выход блока сравнени  соединен с тактовым входом блока управлени , первый выход которого соединен с входом запуска аналого-цифрового преобразова6A device for inputting information containing a switch, an analog-to-digital converter, three counters, a control unit, a comparison unit, two registers, the outputs of the first register are connected to the installation inputs of the first counter, the outputs of which are connected to the inputs of the first group of the comparison unit and the address inputs the switch, the output of which is connected to the information input of the analog-digital converter, the information outputs 1 of which are the information outputs of the device, the information inputs of the switch are tax input device, comparing unit output is connected to a clock input of the control unit, a first output connected to the input of an analog-digital start preobrazova6 тел , вгход конца преобразован и  которого соединен с тактовым входом первого счетчика и информационнымbodies, the input of the end is transformed and which is connected to the clock input of the first counter and information входом блока управлени , второй и третий выходы которого  вл ютс  соответственно выходами конца обмена и запроса устройства, четвертый выход блока управлени  соединен с тактовыми входами второго и третьего счетчиков, п тьй выход блока управлени  соединен со стробирующим входом первого счетчика, установочные входы второго счетчик, входы первого и второго регистров  вл ютс  цифровыми входами устройства, выходы Второго регистра соединены с входами второй группы блока сравнени , выходы третьего счетчика  вл ютс  адресными выходами устройства, вход пуска и стробирующий вход блока управлени   вл ютс  соответственно входами пуска и конца записи устройства, о т- личающеес  тем, что, сthe input of the control unit, the second and third outputs of which are respectively the outputs of the end of the exchange and the device request, the fourth output of the control unit is connected to the clock inputs of the second and third counters, the five output of the control unit is connected to the gate input of the first counter, the installation inputs of the second counter, inputs the first and second registers are digital inputs of the device, the outputs of the second register are connected to the inputs of the second group of the comparison unit, the outputs of the third counter are address outputs the device, the start input and the gate input of the control unit are respectively the start and end recording inputs of the device, which are characterized by the fact that целью расширени  области применени  за счет организации режима монитора и непрерьюного режима ввода информации , в устройство введены третий регистр , два триггера, два элемента И,in order to expand the field of application due to the organization of the monitor mode and the continuous input mode of information, a third register, two triggers, two AND elements are entered into the device, два элемента ИЛИ, входы третьего регистра и триггеров объединены с входами первого регистра, выходы третьего регистра соединены с установочными входами третьего счетчика, выходtwo OR elements, inputs of the third register and triggers are combined with the inputs of the first register, outputs of the third register are connected to the installation inputs of the third counter, output первого триггера-соединен с первым входом первого элемента ИЛИ, второй вход которого соединен с пр мым выходом второго триггера, инверсный выход которого соединен с первым входом первого элемента И, второй вход которого соединен с выходом второго счетчика, выход первого элемента И соединен с входом останова блока управлени , п тьА выход которого соединен с первым входом второго элемента И, второй вход которого соединен с выходом первого элемента ИЛИ, выход второго элемента И соединен с первым входом второго элемента ИЛИ, выходthe first trigger is connected to the first input of the first OR element, the second input of which is connected to the direct output of the second trigger, the inverse output of which is connected to the first input of the first element And, the second input of which is connected to the output of the second counter, the output of the first element And is connected to the input of the stop a control unit, the fA output of which is connected to the first input of the second element AND, the second input of which is connected to the output of the first element OR, the output of the second element AND is connected to the first input of the second element OR, the output которого соединен со стробируннцим входом третьего счетчика, второй вход элемента ИЛИ объединен с входом пуска блока управлени .which is connected to the gate input of the third counter, the second input of the OR element is combined with the start input of the control unit.
SU874272241A 1987-06-30 1987-06-30 Information input device SU1441378A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU874272241A SU1441378A1 (en) 1987-06-30 1987-06-30 Information input device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU874272241A SU1441378A1 (en) 1987-06-30 1987-06-30 Information input device

Publications (1)

Publication Number Publication Date
SU1441378A1 true SU1441378A1 (en) 1988-11-30

Family

ID=21314786

Family Applications (1)

Application Number Title Priority Date Filing Date
SU874272241A SU1441378A1 (en) 1987-06-30 1987-06-30 Information input device

Country Status (1)

Country Link
SU (1) SU1441378A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР №1012230, кл. G 06 F 3/00, 1981. Авторское свидетельство СССР № 4146096/24, кл. G 06 F 3/05, 1986. *

Similar Documents

Publication Publication Date Title
SU1441378A1 (en) Information input device
JPH029398B2 (en)
SU1386986A1 (en) Data input device
RU2020424C1 (en) Multichannel monitor
SU583434A1 (en) Microprogramme control device
RU1793428C (en) Device for selection of optimal action on investigated object
SU1228096A1 (en) Information input device
SU1249536A1 (en) Digital filter
SU1267398A1 (en) Information input device
SU1013956A2 (en) Logic circuit checking device
RU1775049C (en) Data input device
SU1730629A1 (en) Device for control of mating between processor and subscribers
SU1275419A1 (en) Information input device
SU1298763A1 (en) Device for optimizing resource allocation with saturated demands
RU1783547C (en) Multichannel system for collection and recording of measurement information
SU1536369A1 (en) Multichannel device for input of information
SU809215A1 (en) Device for polling and analog data gathering in a network electric model
SU1295408A1 (en) Device for accumulating and processing information
SU1381476A1 (en) Device for inputting information from analog sensors
SU1550518A1 (en) Device for servicing iquiries
SU458814A1 (en) Centralized program management system
SU1270765A1 (en) Statistical analyzer
SU1171828A1 (en) Device for collecting and transmission of information
SU1163326A1 (en) Device for generating diagnostic information about program run
SU1481852A1 (en) Buffer memory