SU1534469A1 - Device for modelling data collection system - Google Patents
Device for modelling data collection system Download PDFInfo
- Publication number
- SU1534469A1 SU1534469A1 SU884383584A SU4383584A SU1534469A1 SU 1534469 A1 SU1534469 A1 SU 1534469A1 SU 884383584 A SU884383584 A SU 884383584A SU 4383584 A SU4383584 A SU 4383584A SU 1534469 A1 SU1534469 A1 SU 1534469A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- output
- channel
- information
- inputs
- Prior art date
Links
- 238000013480 data collection Methods 0.000 title 1
- 230000005540 biological transmission Effects 0.000 claims description 17
- 238000009434 installation Methods 0.000 claims description 2
- 238000007598 dipping method Methods 0.000 claims 1
- 230000002123 temporal effect Effects 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 2
- 238000000034 method Methods 0.000 description 2
- 230000000903 blocking effect Effects 0.000 description 1
- 125000004122 cyclic group Chemical group 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
Landscapes
- Complex Calculations (AREA)
Abstract
Изобретение относитс к вычислительной технике и может быть использовано дл моделировани многоканальных микропроцессорных систем сбора и обработки информации. Цель изобретени - расширение функциональных возможностей за счет моделировани канальных запросов. Поставленна цель достигаетс тем, что в каждый канал устройства введены генератор случайных импульсов и триггер запуска. Устройство позвол ет моделировать системы сбора данных с целью определени временых характеристик обслуживани входных запросов. 3 ил.The invention relates to computing and can be used to simulate multi-channel microprocessor systems for collecting and processing information. The purpose of the invention is to expand the functionality by simulating channel queries. The goal is achieved by introducing a random pulse generator and a trigger trigger into each channel of the device. The device allows simulating data acquisition systems to determine the temporal characteristics of the service for incoming requests. 3 il.
Description
Изобретение относитс к вычисли- г лльной технике и может быть использовано дл моделировани многоканальных микропроцессорных систем управле-. ни и обработки информации.The invention relates to a computational technique and can be used to simulate multi-channel microprocessor control systems. nor the processing of information.
Цель изобретени - расширение iii функциональных возможностей устройства за счет моделировани канальных запросов.The purpose of the invention is to expand the iii functionality of the device by simulating channel queries.
На фиг.1 приведена структурна схема устройства; на фиг. 2 - схема ; алгоритма работы устройства; на фиг.З - временна диаграмма работы устройства.Figure 1 shows the block diagram of the device; in fig. 2 - scheme; the algorithm of the device; FIG. 3 is a time diagram of the operation of the device.
Устройство содержит генератор 1 тактовых импульсов, дешифратор 2 адреса , дешифратора 3 каналов, первый элемент И 4, регистр 5 сдвига, группу элементов И 6П, шифратор 7, коммутатор 8 кода адреса канала, элемент ИЛИ 9, второй . И 10 иThe device comprises a clock pulse generator 1, address decoder 2, channel decoder 3, first AND 4 element, shift register 5, AND 6P element group, encoder 7, channel address code switch 8, OR 9 element, second. And 10 and
группу каналов 11 передачи информации , каждый из которых содержит триггер 12 индикации запроса, элемент И 13, счетчик 14, блок элементов И 15, триггер 16;запуска, генератор 17 случайных импульсов, элемент ИЛИ 18. Устройство также содержит вход 19 записи, адресный вход 20, шину 21 данных, вход 22 чтени , вход 23 начальной установки, вход 24 чтени кода прерывани , выход 25 запроса прерывани , вход 26 разрешени - прерывани .a group of information transfer channels 11, each of which contains a request indication trigger 12, an AND 13 element, a counter 14, an AND 15 block, a trigger 16; a trigger; a random pulse generator 17, an OR 18 element. The device also contains a write input 19, an address input 20, data bus 21, read input 22, initial setup input 23, interrupt code read input 24, interrupt request output 25, enable interrupt input 26.
Устройство работает следующим образом.The device works as follows.
На этапе инициализации сигнал начальной установки, поступающий на вход 23, сбрасывает триггеры 12 индикации запроса и счетчики 14 всех каналов 11, а также по этому сигналу происходит запуск генератора случайСл ОЭ Јь ЈьAt the initialization stage, the initial setup signal, which is fed to the input 23, resets the request indication triggers 12 and the counters 14 of all channels 11, as well as the start signal is generated by this signal.
оэoh
31533153
ных импульсов. На адресную шину 20 поступает адрес регистра 5 сдвига. Дешифратор 2 адреса по сигналу записи , поступающему на вход 19, выбирает регистр 5 сдвига сигналом, поступающим с выхода дешифратора 2 на вход записи регистра 5 сдвига. Одновременно на шину 21 данных поступает код адреса канала, с которого начнетр циклический опрос каналов. Код адреса запишетс в выбранный регистр 5 сдвига по импульсу, поступающему с выхода дешифратора 2 на вход записи регистра -5 сдвига. На этом этап инициализации заканчиваетс .impulses. The address bus 20 receives the address of the register 5 shift. The decoder 2 addresses on the recording signal, the input to the input 19, selects the shift register 5 signal received from the output of the decoder 2 to the input of the recording of the shift register 5. At the same time, the data of the channel address of the channel from which the cyclical polling of the channels will start will arrive on the data bus 21. The address code is written to the selected shift register 5 by the pulse from the output of the decoder 2 to the input of the shift register record -5. This completes the initialization phase.
После записи кода адреса канала в регистр 5 сдвига на его вход записи поступает с выхода дешифратора 2 по - тенциал логического нул , который включает в работу вход, сдвига. Сдвиг записанной единицы происходит по импульсам генератора 1, поступающим с второго выхода генератора 1 через открытый элемент И 4 на вход сдвига регистра 5 сдвига.After writing the code of the channel address into the 5 shift register, its entry is received from the output of the decoder 2 potential logical zero, which includes the input, shift. The shift of the recorded unit occurs on the pulses of the generator 1, coming from the second output of the generator 1 through the open element AND 4 to the input of the shift of the shift register 5.
Импульс, который через случайный интервал времени по витс на выходе генератора 7 случайных импульсов К-гс- канала 1 поступчет, с одной CTOpOjibi, на вход ipvirrepa 16 запуски (триггер 16 установлен на этапе , чг- циализации сигналам ьп входу 23) с другой стороны, TVOI импулг. ar-f- минаетс в тригге . Г.. гнднкаиии ч г роса, сигнал с пр мого БЫУОД , гера 16 выключает генератор Сигнал с пр мого выхода триггера . дикации запроса згтускает счетчик 14, на счетный вход которого с перьо го выхода генератора 1 через открыт тый элемент И 13 поступает последовательность счетных импульсов, Если . наступает переполнение, то сигнал с выхода перепопчени счетчика 14 зак рыгает элемент И 13, и импульсы с втрого выхода генератора 1 не поступаю на счетный вход счетчика 14. Одновременно сигнал с пр мого выхода тригера 12 поступает на второй вход соответствующего элемента И 6, При совпадении К-го разр да регистра 5 сдвига с сигналом логической единицы, поступающим с пр мого выхода К-го триггера 12 индш, ации запроса, он, пройд через элемент ИЛИ 9, посту- пает на первый вход элемента И 10, с выхода которого сигнал, если разрешены прерывани (ьа входе 26 полоAn impulse that, at a random time interval, at the generator output of 7 random pulses of the C-rc channel 1 arrives, from one CTOpOjibi, to the input of ipvirrepa 16 starts (trigger 16 is set at the stage that signals the input L 23) from the other side , TVOI impulg. ar-f- minaets in trigger. H. GND is degraded, the signal from the direct byte, Hera 16 turns off the generator. The signal from the direct output of the trigger. querying the request, the counter 14, the counting input of which from the first output of the generator 1 through an open element And 13 enters a sequence of counting pulses, If, arrives. an overflow occurs, the signal from the output of the over-discharge of counter 14 closes the element E 13, and the pulses from the third output of the generator 1 do not flow to the counting input of the counter 14. At the same time, the signal from the direct output of the trigger 12 goes to the second input of the corresponding element And 6 K-th bit of register 5 shift with a signal of a logical unit, coming from the direct output of the K-th trigger 12 of the request, he passed through the element OR 9, goes to the first input of the element And 10, from the output of which the signal if interrupts are enabled (on e 26 polo
„ ,- 5 " ,- five
00
00
жительный потенции), поступает на выход 25 в виде сигнала запроса прерывани и на инверсный вход элемента И 4, блокиру работу регистра 5 сдвига . На основе кода, поступающего с выхода группы элементов И 6, на вь.хо,- де шифратора 7 вырабатываетс код команды перехода к чейке пам ти микроЭВМ, в которой располагаетс подпрограмма обслуживани k-ro канала. Этот код считываетс в микроЭВМ по сигналу чтени кода прерывани , поступающему на вход 24.positive potency), is output to output 25 in the form of an interrupt request signal and to the inverse input of the AND 4 element, blocking the operation of the shift register 5. On the basis of the code coming from the output of the group of elements I 6, to vho, de encoder 7, the code of the transition command to the microcomputer memory cell is generated, in which the k-ro channel service subroutine is located. This code is read into the microcomputer by the read signal of the interrupt code received at input 24.
Подпрограмма обслуживани k-ro канала запрещает прерывани и считывает информацию со счетчика 14. При этом в момент выполнени команды чтени устройства сигнал чтени , поступающий с входа 22 на разрешающий вход дешифратор j лзиалов, включает его. Дешифратор 3 K.I налов на основе адреса счетчик , + k-ro канала , поступающего ча ьдр,. сный входThe service routine of the k-ro channel disables interrupts and reads information from counter 14. At the time of executing the read command of the device, the read signal coming from input 22 to the enable input of the decoder j lsiales turns it on. Decoder 3 K.I cash on the basis of the address of the counter, + k-ro channel, incoming chdr ,. entrance
20устройства, сигн.шсм k-ro выхода группы выходов v лфратора открывает олок элементов И 15 и содержимое счетчика 14 поступает на шину20 devices, sign.shsm k-ro output group of outputs v lfrator opens an element of elements And 15 and the contents of the counter 14 goes to the bus
21данных в микроЭВМ.21 data in the microcomputer.
Анализиру с.п-.- ржимое счетчика 14, подпрограмма обслуживани k -ro кана- л.1. tiacTp; нвает устройство по выбранному алгоритму диспетчеризации кана- J .-K., записыва в регистры 5 сдвигаAnalyzing sp.p.- the counter 14, the service subroutine k-ro kanalo-1. tiacTp; device according to the selected algorithm for dispatching Kan-J.-K., writing in shift registers 5
од адреса другого канала аналогично этапу инициализации.one address of another channel is similar to the initialization stage.
Далее подпрограмма обслуживани k-ro канала обрабатывает временные характеристики k-ro канала и запускает генератор 17 случайных импульсов , выполн команду записи в k-й канал. При этом в момент выполнени . команды записи устройства сигнал с k-ro выхода группы вторых выходов дешифратора адреса, пройд через элемент ИЛИ 18, сбросит триггер 12 индикации запроса, который сигналом с пр мого выхода сбросит счетчик 14, установит триггер 16 запуска генератора сигналом с пр мого выхода, который поступает на разрешающий вход генератора 17 случайных импульсов , и включит генератор 17.Next, the k-ro channel service routine processes the time characteristics of the k-ro channel and starts the random pulse generator 17, executes the write command to the k-th channel. At the same time at the time of execution. the device write command signal from the k-ro output of the group of second outputs of the address decoder, having passed through the OR element 18, resets the request indication trigger 12, which by the direct output signal resets the counter 14, sets the trigger trigger 16 for the generator with the direct output signal that goes on the permissive input of the generator 17 random pulses, and turn on the generator 17.
Далее подпрограмма обслуживани разрешает прерывани .Next, the service routine resolves interrupts.
Как следует из рассмотрени алгоритма работы устройства, код адреса канала, с которого начнетс циклический опрос каналов, вырабатываетс управл ющей программой на основе анализа учитываемого группой счетчика 14 времени между моментом поступлени запроса от канала до момента наступлени реакции микроЭВМ, т.е. времени от момента прихода сигналов от группы генератора случайных импульсов до того момента, когда срабатычены соответственно к информационным входам коммутатора адреса канала, выход элемента ИЛИ соединен с инверсным входом первого элемента И устройства и с первым входом второго элемента И, второй вход и выход которого вл ютс соответственно входом разрешени прерывани и выходом запAs follows from the consideration of the device operation algorithm, the code of the channel address from which cyclic channel polling will begin is generated by the control program based on the analysis of the time taken by the counter 14 group between the moment the request arrives from the channel until the microcomputer responds. the time from the arrival of signals from the random pulse generator group to the moment when the channel address switch information inputs are operated respectively, the output of the OR element is connected to the inverse input of the first AND element of the device and to the first input of the second And element, the second input and output of which are corresponding to the interrupt enable input and the quit output
вает команда чтени содержимого счет- IQ роса прерывани устройства, входомcommand to read the contents of the account - IQ dew interrupt the device, input
ч ик а 14.h ik a 14.
Таким образом, устройство позвол ет моделировать системы сбора данных. Статистические характеристики моделичтени кода прерывани которого вл етс управл ющий вход коммутатора адреса канала, пр мые выходы тригге ров индикации запроса каналов перед Thus, the device allows the simulation of data acquisition systems. The statistical characteristics of the model of the interruption code of which is the control input of the channel address switch, the direct outputs of the channel request indication triggers before
ютс на основе Формулаbased on the formula
показаний счетчиков изобретениmeter readings of the invention
2020
2525
30thirty
3535
руемой системы сбора данных определ - jg чи информации соединены соответствеи- ютс на основе показаний счетчиков 14. но с вторыми входами элементов И груп пы, входом начальной установки устройства вл ютс объединенные первые входы элементов ИЛИ каналов, передачи информации, выход элемента ИЛИ в каждом канале передачи информации соединен с нулевым входом триггера индикации запроса, пр мой выход которого подключен к инверсному входу сброса счетчика, счетный вход которого подключен к выходу элемента И канала передачи информации, а инфор-- мационные выходы подключены соответственно к информационным входам блока элементов И, выход переполнени счетчика соединен с инверсным входом элемента И канала передачи информации, входом чтени устройства вл етс . вход разрешени дешифрации дешифра- трра каналов, выходы которого подключены соответственно к управл ющим входам блоков элементов И каналов передачи информации, отличающеес тем, ч го, с целью расши- 40 рени функциональных возможностей за счет моделировани канальных запросов, каждый канал передачи информации до- . полнительно содержит генератор случайных импульсов и триггер запуска, причем, в каждом канале передачи информации выход генератора случайных импульсов соединен с единичным входом триггера индикации запроса -и с нулевым входом триггера запуска, пр мой выход и единичный вход которого подключены соответственно к входу сброса генератора случайных импульсов и к выходу элемента НИИ канала передачи информации, группа выходов дешифратора адреса соединена соответственно с вторыми входами элементов ИЛИ каналов передачи информации.The data acquisition system is determined by the information jg is connected accordingly based on the readings of the counters 14. But with the second inputs of the elements AND group, the input of the initial installation of the device are the combined first inputs of the elements of the OR channels, information transfer, the output of the OR element in each channel the information transfer is connected to the zero input of the request indication trigger, the direct output of which is connected to the inverse reset input of the counter, the counting input of which is connected to the output of the I element of the information transmission channel, and organizational outputs are connected respectively to the information inputs of the block of elements And, the overflow output of the counter is connected to the inverse input of the element AND of the information transmission channel, the input of the device is. the enable input of deciphering the decoder of channels, the outputs of which are connected respectively to the control inputs of the blocks of information transmission channels and channels, different in order to expand functionality by simulating channel requests, each information transmission channel is up to. It additionally contains a random pulse generator and a trigger trigger, where, in each information transmission channel, the output of the random pulse generator is connected to a single request trigger trigger input —and a zero trigger trigger input, the direct output and single input of which are connected respectively to the random pulse generator reset input and to the output of the element of the scientific research institute of the information transmission channel, the group of outputs of the address decoder is connected respectively to the second inputs of the OR elements of the information transmission channels.
Устройство дл моделировани системы сбора данных, содержащее генератор тактовых импульсов, дешифратор адреса, дешифратор каналов, первый и второй элементы И, регистр сдвига, группу элементов И, шифратор, коммутатор адреса канала, элемент ИЛИ, а также группу каналов передачи информации , каждый из которых выполнен в виде триггера индикации запроса, элемента ИЛИ, элемента И, счетчика, блока элементов И, причем адресный вход устройства соединен с информационными входами дешифратора адреса и дешифратора каналов, вход записи устройства вл етс входом разрешени дешифрации депгифратора адреса, первый информационный выход которого под- подключен к входу записи разрешени записи регистра сдвига, шина данных устройства соединена с информационным входом регистра сдвига, с выходом коммутатора адреса канала и с выходами блоков элементов И всех каналов передачи информации, первый выход генератора тактовых импульсов подключен к пр мым входам элемен- 45 топ И всех каналов передачи информации , а второй выход генератора тактовых импульсов соединен с пр мым входом первого элемента И устройства , выход которого подключен к входу сдвига регистра сдвига, информационные выходы которого соединены соответственно с первыми входами элементов И группы, выходы которых соединены соответственно с входами шифратора и входами элемента ИЛИ устройства, выходы шифратора подклю-A device for simulating a data acquisition system comprising a clock pulse generator, an address decoder, a channel decoder, the first and second AND elements, a shift register, a group of AND elements, an encoder, a channel address switch, an OR element, and a group of information transfer channels, each of which made in the form of a trigger for displaying a request, an OR element, an AND element, a counter, an AND block, and the device’s address input is connected to the information inputs of the address decoder and channel decoder, the device recording input is A decigraphator decryption resolution input address, the first information output of which is connected to the shift register write resolution write input, the device data bus is connected to the shift register information input, the channel address switch output and the element blocks of all information channels, the first output the clock generator is connected to the direct inputs of the element 45 of the top of all information transmission channels, and the second output of the clock generator is connected to the direct input of the first element nTA AND device whose output is connected to the shift register shift input, information outputs of which are connected respectively to the first inputs of the AND elements of the group, the outputs of which are connected respectively to the inputs of the encoder and the inputs of the element OR of the device, the outputs of the encoder connected
5050
5555
чтени кода прерывани которого вл етс управл ющий вход коммутатора адреса канала, пр мые выходы триггеров индикации запроса каналов переда20the interrupt code reading of which is the control input of the channel address switch, the direct outputs of the request trigger triggers of the transfer channel 20
0 0
5 five
2525
0 0
5 five
30thirty
0 0
5 five
3535
40 40
5 five
4040
- 45 - 45
5050
4040
- 45 - 45
5555
r -лшл лллмллr-shllllll
™ ™
BxodZQ X вход 19fBxodZQ X input 19f
гg
-МЛЛЛЛЛЯПЯ-MILLYA
::г™:: g ™
лпlp
ПP
1one
пP
пP
XX
JxTJxt
ЛL
лплпп „lppl „
::г™х:: g ™ x
сwith
шъsh
пP
лl
лl
пP
пP
Claims (1)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| SU884383584A SU1534469A1 (en) | 1988-02-24 | 1988-02-24 | Device for modelling data collection system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| SU884383584A SU1534469A1 (en) | 1988-02-24 | 1988-02-24 | Device for modelling data collection system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| SU1534469A1 true SU1534469A1 (en) | 1990-01-07 |
Family
ID=21357722
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| SU884383584A SU1534469A1 (en) | 1988-02-24 | 1988-02-24 | Device for modelling data collection system |
Country Status (1)
| Country | Link |
|---|---|
| SU (1) | SU1534469A1 (en) |
-
1988
- 1988-02-24 SU SU884383584A patent/SU1534469A1/en active
Non-Patent Citations (1)
| Title |
|---|
| Авторское свидетельство СССР № 1124320, кл. G 06 F 15/20, 1983. Авторское свидетельство СССР № 1234844, кл. G 06 F 13/26, 1984. * |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| RU2305321C1 (en) | Analytical system for analyzing election processes | |
| SU1550525A1 (en) | Device for interfacing comimunication channel and computer | |
| SU1164718A1 (en) | Control unit for memory block | |
| RU1795511C (en) | Indicating device | |
| SU1472912A1 (en) | Data input unit | |
| SU1238091A1 (en) | Information output device | |
| SU1606972A1 (en) | Device for sorting data | |
| SU576588A1 (en) | Magnetic digital recording apparatus | |
| SU1278868A1 (en) | Interface for linking computer with peripheral unit | |
| SU809345A1 (en) | Storage unit control device | |
| SU1418727A1 (en) | Device for data exchange between processor and peripherals | |
| SU960798A1 (en) | Device for comparing numbers | |
| SU1168958A1 (en) | Information input device | |
| SU1376092A1 (en) | Device for interfacing computer with external device | |
| SU911506A1 (en) | Device for ordering data | |
| SU1213482A1 (en) | Device for debugging programs | |
| SU1352496A1 (en) | Device for interfacing processor with memory | |
| RU1770962C (en) | Device for identification of magnetic cards | |
| SU1264185A1 (en) | Device for simulating failures | |
| SU1446624A1 (en) | Arrangement for debugging multiprocessor system | |
| SU1087979A1 (en) | Iformation input device | |
| SU1111150A1 (en) | Interface for linking two computers | |
| SU1278869A1 (en) | Interface for linking electronic computer with peripheral equipment | |
| SU1277124A1 (en) | Interface for linking electronic computer with using equipment | |
| SU1399774A1 (en) | Data inspection device |