Изобретение относитс к контролю технических систем и может быть использовано при автоматическом контро ле машин и оборудовани , например, поршневых компрессоров. Известны устройства сбора и обработки информации, которые осуществл обработку измерительной информации с помощью электронных клавишных вычи лительных машин - . ЭКВМ С 1;}. Недостатками известных устройств вл ютс низкое быстродействие и малый объем оперативной пам ти. Наиболее близким к предлагаемому вл етс устройство сбора и обработк информации, содержащее ЭКВМ, блок реле, схему преобразовани двоичнодес тичного кода в последовательные срабатывани реле, цифровой измерительный прибор (ЦАП), схему формировани запуска ЦИП, причем выход ЭКВМ соединен с входом схемы формировани запускаЦИП, соединенной выходом с входом ЦИП, подключенного вы ходом к входу схемы преобразовани двоично-дес тичного кода в последова тельные срабатывани реле, соединенной выходом с входом блока реле, подключенного выходом с клавишными входами ЭКВМ. Данное устройство осуществл ет ав томатические сбор и обработку измери тельной информации по программе, заносимой в пам ть ЭКВМ С2 3. Основным достоинством известного устройства сбора и обработки информа ции вл етс его простота и низка стоимость ЭКВМ, а основными недостат ками - мала скорость ввода данных . в ЭКВМ (4 цифры в секунду) и малый объем оперативной пам ти (емкость ди намического регистра равна 1008 биt) Мала скорость ввода объ сн етс тем что двоично-дес тичный код с выхода ЦИП преобразуетс в последовательные замыкани контактов репе, подключённых параллельно клавишам ЭКВМ (после замыкани очередной клавиши в ЭРСВМ вырабатываетс сигнал блокировки дли тельностью 0,2 с). Малый объем оперативной пам ти объ сн етс тем, что увеличение объе ма пам ти в таком устройстве вызывает увеличение времени выполнени арифметических и логических операций так как при этом увеличиваетс длите ность цикла обращени информации в кольцевом регистре сдвига. Поэтому использование данного устройства сбора и обработки измерительной информации в системах контрол приводит к увеличению времени контрол при одновременном уменьшении потока обрабатываемой информации. Цель изобретени - увеличение быстродействи устройства. Поставленна цель достигаетс тем, что в устройство, содержащее цифровые измерители, блок управлени , соединенный первым выходом с первым входом арифметического блока, вторым выходом с входом блока индикации , первым входом с первым выходом блока клавиатуры, вторым входом с выходом блока сиихронизагщн и вторьи входом арифметического блока , введены коммутатор, блок пам ти , программныйблок, регистр сдвига , блок команд, дешифратор и элемент ИЛИ, соединенный первым входом с выходом арифметического блока, вторым входом - с выходом старшего разр да регистра сдвига, а выходом с третьим входом блока управлени , входом первого разр да регистра сдвига и входом дешифратора, подключенного выходом к первому входу блока команд, св занного вторым входом с выходом блока синхронизации, третьим входом - с йторым выходом блока клавиатуры и управл ющим вхо-f дом программного блокд, первым выходом с управл кнцим входом коммутатора , ВТОР1Д4 выходом с тактовым входом регистра сдвига, третьим выходом с управл кнцим входом регистра сдвига, подключенного .информационными входами к выходу блока пам ти , соединенного первым входом с выходом программного блока, вто- . рым входом с выходами ра:зр дов регистра сдвига и информационным входом программного блока, а третьим входом - с выходом коммутатора, подключенного информационными входами к выходам цифровых измерителей. На фиг.1 приведена структурна схема устройс ва; на фиг.2 - временные диаграммы, по сн ющие работу устройства. Устройство состоит из ЭКВМ 1, содержащем арифметический блок 2 блок 3 управлени , блок 4 клавиатуры, блок 5 информации, блок 6 синхронизации, элемент ИЛИ 7, регистр 8 сдвига, блок пам ти 9, программный блок 10, дешифратор 11, блок 12 команд, коммутатор 13, цифровые измерители 14, вход 15 первого разр да регистра сдвига, тактовый вход 16,. выход 17 старшего разр да регистра, управл ющий вход 18, информационный вход 19. Из состава стандартной ЭКВМ уда- лен динамический регистр сдвига, ограничивающий врем выполнени арифме тико-логических операций. Регистровы части арифметико-логического блока 2 и блока 3 управлени объединены в : кольцевой регистр сдвига через логический элемент ШШ 7. Йри этом длительность цикла обращени информации Тм (отсчитываетс от кода метки, см.фиг. 2.1) уменьшена в 3,3 раза а обрабатываема информаци , циркули рующа ,в кольцевом регистре, разбиваетс на 3 массива (фиг..2.2). Если над числами X и У выполн етс операци (XfY}, то число X заноситс во 2-й массив, У в 3-Й1 массив, код выполн емой операции F заноситс в 1-й массив. После выполнени операци результат операции 2 располагаетс во 2-м массиве, а в 1-м массиве по в л етс код Окончание операции. Обмен информацией между ЭКВМ (кольцевым регистром) и блоком пам ти осуществл етс с помощью регистра 8, разр дность которого выбираетс равной разр дности слов блока пам ти В данном случае длина слова, равна 8бит.. При этом код операции предста л етс одним словом,а число представл етс щестью словами, В блоке пам т 9хран тс результаты измерени и программы контрол , которые заное тс в него из программного блока 10. Чис ло X (последовательность шести слов) побайтно заноситс в регистр 8 .(фиг.2,3) по сигналам Разрешение занесени в регистр, поступающим на вход 18 регистра (фиг.2.4). После занесени очередного слова на сдвиго вый вход 16 регистра 9 поступает сиг нал сдвига - восемь импульсов после каждого сигнала Разрешение занесени в регистр (фиг.3.5). На выходе 17 старшего разр да регистра 9 число X будет представл тьс последователь ным 48-битным словом, которое через элемент ИЛИ заноситс в кольцевой регистра ЭКВМ во 2-й массив. Дл занесени в ЭКВМ кода выполн емой операции из блока оперативной пам ти 9 в регистр 8 по сигналу, поступающему на вход 18 (фиг.2.6) заноситс очередное программное слово-код операции , который одновременно с подачей на сдвиговый вход 16 сдвигающих импульсов (фиг.2.7) поступает с выхода 17 регистра через элемент ШШ в. кольцевой регистр ЭКВМ (в 1-й массив). При этом ЭКВМ выполн ет указанную операцию, после окончани которой в 1-м массиве по вл етс код Окончание операции. При подаче соответствующего кода операции число из массива переписываетс в 3-массив , а во 2-й массив можно записать новое число. После этого можно подавать коды операций F , осуществл емых над числами X и У. Информаци , циркулирующа в кольцевом регистре, поступает на вход дешифратора 11, с выхода которого на вход блока 12 команд поступают сигналы о конце выполнени операции . При этом сигналы синхронизации, позвол ющие раздел ть информацию, i циркулирующую в кольце, на массивы, вводить в них числа и коды операций, поступают, в блок 12с выхода блока 6 синхронизации ЭКВМ. Управление устройством(занесение программы контрол в программный блок, занесение результатов измере- ни в блок 9 пам ти, перевод в режим автоматического вычислени ) осуществл етс , с помощью блока 4 клавиатуры ЭКВМ, дл чего его выход одюшочаетс к блоку 12 команд. Устройство работает следующим образом. После нажати очередной клавиши в кольцевой регистр в 1-й массив заноситс соответствующий код операции (1 байт). 3iTOT код поступает на вход Я5 регистра сдвига, на вход 16 которого одновременно подаютс импульсы сдвига. Код операции заноситс в регистр 8, после чего он уже параллельно (побайтно) заноситс в очередной адрес программы блока 10. Программный блок представл ет собой запоминающее устройство, в котором хранитс про-р грамма контрол , соответствующа последовательности нажати оператором клавиши блока клавиатуры ЭКВМ. Перед началом вычислений по программе контрол объекта осуществл етс последовательн|й опрос сигналов с вьрсрдом цифровых измерителей с помощью коммутатора и занесени результатов измерений по соответствующим адресам блока пам ти. После.этого осуществл етс перепись программы из блока 10 в блок 9 пам ти и авто матическое вычисление по программе контрол . При таком построении устройства повышаетс скорость ввода результатов измерени в ЭКВМ (отпадает необ ходимость преобразовани кода с выхода цифровых приборов в последовательные срабатывани реле). При 5 этом число заноситс в ЭКВМ в течение длительности 2-го массива. Кроме этого, уменьшаетс в 3,3 раза длительность цикла цчто .;риводит к соответствующему уменьшению времени выполнени арифметикологических операций. В предлагаемом устройстве увеличение объема оперативной пам ти не ухудшает его быстродействи .The invention relates to the control of technical systems and can be used with automatic control of machines and equipment, for example, piston compressors. There are known devices for collecting and processing information that carried out the processing of measurement information using electronic keyboard calculating machines -. ECM With 1;}. The disadvantages of the known devices are low speed and low RAM. The closest to the present invention is an information collection and processing device comprising an electronic computer, a relay unit, a binary-code conversion circuit for sequential relay operation, a digital measuring device (DAC), a digital triggering driver, and the output terminal of the digital computer, connected by the output to the input of the DSP, connected by the output to the input of the binary-decimal code conversion circuit to the sequential operation of the relay connected by the output to the input of the relay unit connected by the output Odom with keypad EKVM. This device performs automatic collection and processing of measurement information according to the program stored in the ECM C2 3. The main advantage of the known data collection and processing device is its simplicity and low cost of the ECM, and the main disadvantages are low data entry speed . in the computer (4 digits per second) and a small amount of RAM (capacity of the dynamic register is equal to 1008 bits). The low input speed is explained by the fact that the binary-decimal code from the output of the DIC converts to serial closures of the turnips contacts connected in parallel with the ECM keys. (after the next key is closed in the ERSM, a blocking signal is generated with a duration of 0.2 s). The small amount of RAM is due to the fact that an increase in the amount of memory in such a device causes an increase in the execution time of arithmetic and logical operations, as this increases the length of the information cycle in the ring shift register. Therefore, the use of this device for collecting and processing measurement information in control systems leads to an increase in the monitoring time while simultaneously reducing the flow of information being processed. The purpose of the invention is to increase the speed of the device. The goal is achieved in that the device containing digital meters, a control unit connected to the first output of the first input of the arithmetic unit, the second output to the input of the display unit, the first input to the first output of the keyboard unit, the second input to the output of the synchronous unit and the second input of the arithmetic block, a switch, a memory block, a program block, a shift register, a command block, a decoder and an OR element connected with the first input with the output of the arithmetic unit, the second input with the output above about the shift register register, and the output with the third input of the control unit, the input of the first bit of the shift register and the input of the decoder connected by the output to the first input of the command block associated with the second input with the output of the synchronization unit, the third input with the second output of the keyboard block and program block control input-f, first output with switch input control, VTOP1D4 output with clock input of shift register, third output with control switch input of shift register connected by information inputs to the output block of memory connected by the first input with the output of the program block, second-. The third input is with the outputs of the shift register register and the information input of the program block, and the third input is with the output of the switch connected by the information inputs to the outputs of digital meters. Figure 1 shows the block diagram of the device; 2 shows timing diagrams for the operation of the device. The device consists of a computer 1, containing an arithmetic unit 2, a control unit 3, a keyboard unit 4, an information unit 5, a synchronization unit 6, an OR 7 element, a shift register 8, a memory unit 9, a program unit 10, a decoder 11, a command block 12, the switch 13, digital meters 14, the input 15 of the first bit of the shift register, the clock input 16 ,. the output 17 of the highest bit of the register, the control input 18, the information input 19. From the standard ECM, a dynamic shift register has been removed, limiting the time for performing arithmetic logic operations. The registers of the arithmetic logic unit 2 and the control unit 3 are combined into: a circular shift register through logic element SHSh 7. In this case, the duration of the information cycle Tm (measured from the tag code, see Fig. 2.1) is reduced by 3.3 times and processed the information circulating in the ring register is divided into 3 arrays (Fig.2.2). If an operation is performed on the numbers X and Y (XfY}, then the number X is entered into the 2nd array, Y into the 3-H1 array, the code of the performed operation F is entered into the 1st array. After the execution of the operation, the result of operation 2 is located in The 2nd array, and in the 1st array the End of operation code appears. The information exchange between ECM (ring register) and the memory block is performed using the register 8, the size of which is chosen equal to the word width of the memory block B In this case, the word length is equal to 8 bits. In this case, the operation code is represented in one word, and the number is is put in words by a brush. In the memory block 9, the measurement results and the control program stored in it from the program block 10 are stored. The number X (a sequence of six words) is entered into register 8 byte-by-byte (fig. 2.3) by signals The resolution is entered into the register at the input 18 of the register (figure 2.4). After the next word is written, the shift input 16 of the register 9 receives a shift signal - eight pulses after each signal the resolution is entered into the register (figure 3.5). At the output 17 of the higher bit of register 9, the number X will be represented by a successive 48-bit word, which, through the OR element, is entered into the circular register of the ECM in the 2nd array. To enter into the computer the code of the operation to be performed from the memory unit 9 to the register 8, the signal input to input 18 (Fig. 2.6) is entered into the next program word-operation code, which simultaneously with the shift shear input 16 of the shift pulses (Fig. 2.7) comes from the output of the 17th register through the element W of the century. circular register of computer (in the 1st array). At the same time, the computer performs the specified operation, after which the End of operation code appears in the 1st array. When the corresponding operation code is submitted, the number from the array is rewritten into the 3-array, and a new number can be written in the 2nd array. After that, operation codes F carried out over the numbers X and Y can be submitted. The information circulating in the ring register is fed to the input of the decoder 11, from which output to the input of the command unit 12 signals about the end of the operation. At the same time, the synchronization signals, which allow dividing the information i circulating in the ring, into arrays, enter numbers and operation codes into them, enter the output unit 12c of the ECMC synchronization unit 6. The control of the device (entry of the control program into the program block, entry of the measurement results into memory block 9, transfer to the automatic calculation mode) is performed using the EKVM keyboard block 4, for which its output is sent to block 12 of the commands. The device works as follows. After pressing the next key, the corresponding operation code (1 byte) is entered into the 1st register in the 1st register. The 3iTOT code is fed to the input L5 of the shift register, to the input 16 of which shift pulses are simultaneously applied. The operation code is entered into register 8, after which it is already parallel (byte-by-byte) entered into the next address of the program of block 10. The program block is a memory device in which the control program is stored, corresponding to the sequence of pressing an operator of an EKVM keyboard block. Before starting the calculations using the object control program, a sequential interrogation of signals with a digital meter with the help of a switch is carried out and the measurement results are recorded at the corresponding addresses of the memory block. After this, the program is copied from block 10 to memory block 9 and automatically calculated by the control program. With this construction of the device, the speed of input of measurement results in the ECM increases (there is no need to convert the code from the output of digital devices to the sequential operation of the relay). With 5 this number is entered in the computer for the duration of the 2nd array. In addition, the cycle time is reduced by a factor of 3.3, which leads to a corresponding decrease in the time for performing arithmetic operations. In the proposed device, an increase in the amount of RAM does not degrade its speed.
22 2масси$ 3массив 22 2 masses $ 3 massif
Представлен Submitted
2.J /У /У |/|2и1 Ы5|2.J / U / U | / | 2i1 Y5 |