SU265564A1 - DEVICE FOR MULTIPLE MULTIPLICATION CODE ON DIFFERENT COEFFICIENTS - Google Patents

DEVICE FOR MULTIPLE MULTIPLICATION CODE ON DIFFERENT COEFFICIENTS

Info

Publication number
SU265564A1
SU265564A1 SU1243246A SU1243246A SU265564A1 SU 265564 A1 SU265564 A1 SU 265564A1 SU 1243246 A SU1243246 A SU 1243246A SU 1243246 A SU1243246 A SU 1243246A SU 265564 A1 SU265564 A1 SU 265564A1
Authority
SU
USSR - Soviet Union
Prior art keywords
counter
binary
coefficients
decimal
trigger
Prior art date
Application number
SU1243246A
Other languages
Russian (ru)
Inventor
Н. Каиков Н.
Original Assignee
Научно исследовательский , проектный институт Неф мат
Publication of SU265564A1 publication Critical patent/SU265564A1/en

Links

Description

Изобретение относитс  к области вычислительной техники и телемеханики.The invention relates to the field of computing and telemechanics.

Текуща  информаци  о состо нии участков газонефтепромыслов, газонефтепроводов и других промын1ленных объектов собираетс  системами телемеханики и передаетс  в устройства обработки дл  проведени  необходимых вычислений и приведени  полученных результатов к виду, удобному дл  воспри ти  человеком.The current information on the state of the areas of gas and oil fields, gas and oil pipelines and other industrial objects is collected by telemechanics systems and transmitted to processing devices to carry out the necessary calculations and bring the results to a human-readable form.

Известно устройство дл  умнолсени  кода на посто нные коэффициенты, содержащее двоично-дес тичный счетчик, подключенный к щннам кода, к узлу ввода слагаемых и через ключ - к узлу ввода коэффициентов, св занному по входам с двоичным счетчиком, а по выходам с узлом выбора и группировки коэффициентов , триггер операций, подключенный к счетчику действий, св занному с узлом выбора и группировки коэффициентов, и с генератором импульсов, к двоично-дес тичному и двоичному счетчикам, с которыми также св зан генератор импульсов, и узел управлени .A device for multiplying a code into constant coefficients is known, comprising a binary-decimal counter connected to the code terminals, to the input unit of the addends, and via a key to the coefficient input unit connected to the binary counter inputs, and to the output node and groupings of coefficients, trigger operations, connected to the action counter associated with the node of choice and grouping of coefficients, and with the pulse generator, to the binary-decimal and binary counters, which are also associated with the pulse generator, and the control node .

Предложенное устройство отличаетс  тем, что в него введен триггер сдвига, подключенный по входам через ключ к выходам двоичного и двоично-дес тичного счетчиков, к триггеру операций и узлу управлени , а по выходам к двоично-дес тичному счетчику, а также тем, что устройство содержит счетчик положени  зап той, соединенный по входам с триггерами операций и сдвига и узлом ввода коэффициентов, а по выходу - с узлом ввода слагаемых и с выходными шинами.The proposed device is characterized in that a shift trigger is inserted in it, connected via inputs through a key to outputs of a binary and binary-decimal counter, to a trigger of operations and a control node, and via outputs to a binary-decimal counter, as well as with a device contains a position counter comma connected to the inputs with the operation and shift triggers and the coefficient input node, and the output with the input unit of the addends and the output buses.

Это позвол ет повысить точность устройства и учитывать величину пор дка результата вычислений .This makes it possible to increase the accuracy of the device and take into account the magnitude of the order of the result of the calculations.

Схема предложенного устройства показана на чертеже.The scheme of the proposed device is shown in the drawing.

Устройство состоит из двоично-дес тичного счетчика У, двоичного счетчика 2, узла 3 ввода коэффициентов 3, генератора 4 импульсов с триггером, управл ющим его выходом, триггера операций 5, ключей 6 и 7 разрешени  импульсов, вспомогательного узла управлени  8, ключа 9, разрешающего запись двоично-дес тичного кода в счетчик /, счетчика действи  10, узла // ввода слагаемых, ключа 12 управлени  триггером сдвига, триггера сдвига 13, счетчика положени  зап той 14 и узла 15 выбора и группировки коэффициентов но величине мантиссы и пор дка.The device consists of a binary-decimal counter U, a binary counter 2, a node 3 of inputting the coefficients 3, a generator of 4 pulses with a trigger, its control output, a trigger of operations 5, keys 6 and 7 of the resolution of pulses, an auxiliary control node 8, a key 9, allowing the binary-decimal code to be written to the counter /, the action counter 10, the node // the input of the terms, the shift trigger control key 12, the shift trigger 13, the position counter comma 14 and the coefficient selector 15, and the ordering of the coefficients.

Св зь с другими устройствами осуществл етс  по щинам, которые обозначены: л: - группа информационных щин, по которым поступает код; Ki, /Са, Кп - группы шин коэффициентов; X - щины входного кода; Y - группа шин, по которым выходит результат обработки; b - группа признаков места зап тойThe connection with other devices is carried out to the groups, which are designated: l: - a group of informational groups, through which the code enters; Ki, / Sa, Kn - groups of ratios; X - input code length; Y is a group of tires for which the result of processing is obtained; b - group of signs of a place

результата; с - пусковой импульс; d - сигнал готовности.result; c - starting impulse; d - ready signal.

Обработка кодов ведетс  число-импульсным методом. Принцип умножени  числа импульсов на посто нный коэффициент состоит в том, что, если на вход двоичного счетчика 2 подать N импульсов, то на первогоThe processing of codes is carried out by the pulse number method. The principle of multiplying the number of pulses by a constant factor is that, if N pulses are fed to the input of binary counter 2, then the first

- импульсов,- impulses

разр да счетчика получитс counter

импульсов. Вына выходе /с-го разр даpulses. Vyg out / s-th bit

2 "

ходы разр дов можно объедин ть в различных сочетани х и получать, таким образом, одинthe bit moves can be combined in various combinations and thus one can be obtained

из возмол ных коэффициентов от 1 доof possible coefficients from 1 to

J 2J 2

ступен ми поsteps along

Выходные импульсы триггеров счетчика снимаютс  в момент перехода триггеров из «О в «1, что исключает временное наложение нескольких импульсов с разных выходов счетчика.The output pulses of the trigger triggers are removed at the moment when the triggers change from "O to" 1, which eliminates the temporary imposition of several pulses from different outputs of the counter.

Управление выходами двоичного счетчика 2 осуществл етс  в узле 5 признаками коэффициентов по группам шин /Ci, K,z - KnВ каждой группе шин всегда присутствует сигнал на одной из шии, соответствующей используемому в данной формуле коэффициенту .The output of binary counter 2 is controlled in node 5 by signs of coefficients for bus groups / Ci, K, z - Kn. In each bus group there is always a signal on one of the lines corresponding to the coefficient used in this formula.

Процесс умножени  двоично-дес тичных кодов на посто нные коэффициенты происходит следующим образом.The process of multiplying binary-decimal codes by constant coefficients occurs as follows.

После по влени  информационных сигналов на щинах группы X и признака нужного коэффициента на одной из щин группы Xi - К„ с поступлением пускового импульса С в узле управлени  5 последовательно формируетс  импульс сброса схемы в исходное состо ние, импульс записи кода в двоично-дес тичный счетчик через ключ 9 и импульс включени  генератора.After the appearance of information signals in the X group and the sign of the desired coefficient on one of the Xi – K groups, with the arrival of the starting pulse C, control reset 5 sequentially generates a reset pulse for the circuit to its initial state, a pulse writing the code into the binary-ten counter through the key 9 and the pulse turn on the generator.

Импульсом сброса двоично-дес тичный счетчик сбрасываетс  в «О, а двоичный счетчик - на число, равное разности емкостей двоичного и двоично-дес тичного счетчиков (в случае трехдекадного дес тичного счетчика и дес тиразр дного двоичного счетчика это число равно 24).With the reset pulse, the binary-decimal counter is reset to "O", and the binary counter to a number equal to the difference between the capacities of the binary and binary-ten counters (in the case of a three-decade decimal counter and a ten-bit binary counter, this number is 24).

Таким образом, к моменту включени  генератора 4 в счетчике 1 записан прин тый код, а в счетчике 2 - число, равное разности емкостей счетчиков.Thus, by the time the generator 4 was turned on, the received code was recorded in the counter 1, and in the counter 2 a number equal to the difference in the capacities of the counters.

Умножение соверщаетс  в две операции. В первой операции на входы счетчиков / и 2 поступают импульсы генератора 4 до момента переполнени  счетчика 1.Multiplication is performed in two operations. In the first operation, the inputs of the counters / and 2 receive impulses of the generator 4 until the moment of overflow of the counter 1.

Импульс переполнени  переводит триггер операций 5 в положение 1 (втора  операци ). К началу второй операции счетчик / находитс  в «О, а в счетчике 2 записан дополнительный код прин того числа.The overflow impulse sets the trigger of operation 5 to position 1 (second operation). By the beginning of the second operation, the counter / is in “O, and in counter 2 an additional code of the received number is recorded.

да коэффициентов, работа которого описана выше. На вход счетчика 2 по-прежнему поступают импульсы с генератора 4. Втора  операци  длитс  до момента переполнени  счетчика 2. За врем  второй операции на вход этого счетчика поступает число импульсов, соответствующее прин тому коду, а на вход двоично-дес тичного счетчика 1 - это число, умноженное на выбранный коэффициент. По окончании второй операции на выходах У счетчика 1 присутствует результат первого умножени .yes coefficients, whose work is described above. The input of counter 2 still receives pulses from generator 4. The second operation lasts until the counter overflows 2. During the second operation, the number of pulses corresponding to the received code arrives at the input of this counter, and the input of binary decimal counter 1 is the number multiplied by the selected coefficient. At the end of the second operation at the outputs Counter 1 has the result of the first multiplication.

Процесс умножени  кода на посто нный коэффициент, состо щий из двух операций,The process of multiplying a code by a constant coefficient consisting of two operations,

можно продолжать непрерывно, не выключа  генератора, если ввести счетчик действи  10, выходы которого через дешифратор можно использовать дл  выбора очередного коэффициента (/Ci, /(2, ..., /С„), выбора нужного слагаемого (узел 11) и отключени  в нужный момент генератора 4, а на вход которого поступает имиульс окончани  второй операции текушего действи .You can continue continuously without turning off the generator, if you enter the action counter 10, the outputs of which through the decoder can be used to select the next coefficient (/ Ci, / (2, ..., / С „), select the desired term (node 11) and turn off at the right time of the generator 4, and the input of which receives the imimage of the end of the second operation of the current action.

При многократном умножении точность умножени  должна быть посто нной в процессе всей обработки.With multiple multiplication, the multiplication precision must be constant throughout the entire processing.

Точность умножени  на коэффициент зависит от числа разр дов счетчика /. Чем больще емкость счетчика, тем большее число импульсов может быть подано на вход узла 3 ввода коэффициентов во второй операции и с тем большей точностью можно получить и записать результат.The accuracy of multiplying by a coefficient depends on the number of counter bits /. The larger the capacitance of the counter, the greater the number of pulses that can be applied to the input of the coefficient input unit 3 in the second operation and with the greater accuracy you can receive and record the result.

При использовании трехдекадного счетчикаWhen using a three-decade counter

1 средневеро тна  точность умножени  равна 0,50/0 и колеблетс  в пределах 0,1-Го/о в зависимости от вводимого коэффициента и прин того кода X. Узел 3 вводит в обработку коэффициенты,1, the mean multiplication accuracy is equal to 0.50 / 0 and ranges from 0.1 to Go / o, depending on the input coefficient and the received X code. Node 3 enters into processing factors,

величина которых лежит в пределах I-0,1, каким бы большим или малым не был действительно заданный коэффициент (величина результата учитываетс  счетчиком 14 положени  зап той).the value of which lies in the range of I-0.1, no matter how large or small the actually specified coefficient is (the value of the result is taken into account by the position counter 14 of the comma).

Поскольку вводимые коэффициенты всегда меньше единицы, то после каждого умножени  число в счетчике 1 к моменту окончани  очередного умножени  будет меньше числа, которое было в начале умножени . А так какSince the input coefficients are always less than unity, after each multiplication the number in counter 1 by the time of the end of the next multiplication will be less than the number that was at the beginning of the multiplication. And since

результат умножени   вл етс  исходным дл  последующего умножени , точность этого умножени  значительно ниже. Даже после одного умножени  точность последующей обработки может упасть ниже допустимой.the result of the multiplication is the initial one for the subsequent multiplication, the accuracy of this multiplication is much lower. Even after one multiplication, the post-processing accuracy may fall below acceptable.

Дл  устранени  этого  влени  в схему введен триггер сдвига 13, который переводитс  в состо ние «1 (сдвиг) импульсом окончани  очередного умнол ени , в случае, если к этому моменту число в счетчике 1 стало малым настолько, что старща  декада счетчика / находитс  в нуле. Запись единицы в триггер 13 происходит через ключ 12, на который в виде разрешени  поступает признак нул  вTo eliminate this phenomenon, a shift trigger 13 is inserted in the circuit, which is transferred to the state "1 (shift)" by the end of the next multiplication pulse, if by this time the number in counter 1 has become small so that the countdown decade is zero . The writing of the unit to the trigger 13 occurs through the key 12, to which the sign zero arrives in the form of a resolution

Триггер 13 в состо нии «1 с помощью р да ключей производит переключение места декад таким образом, что функции старшей декады счетчик / начинает выполн ть следующа  за ней декада, а старща  декада выполн ет функции младщей декады.The trigger 13 in the state "1" switches the place of the decade with the help of a series of keys in such a way that the counter / starts the next decade, and the older decade performs the functions of the younger decade.

Сдвиг производитс  только на врем  первой операции. Импульс окончани  первой операции с триггера операций 5 возвращает триггер сдвига 13, а следовательно, и счетчик / в исходное состо ние.The shift is made only for the time of the first operation. The impulse to end the first operation from the trigger of operation 5 returns the shift trigger 13, and hence the counter / to the initial state.

В результате сдвига число в счетчике к началу первой операции искусственно увеличиваетс  в дес ть раз, что позвол ет произвести очередное умножение с хорошей точностью.As a result of the shift, the number in the counter to the beginning of the first operation is artificially increased tenfold, which allows the next multiplication to be performed with good accuracy.

Сдвиг может повторитьс  снова после нескольких последующих умножений, когда промежуточный результат снова упадет до известного предела.The shift can be repeated again after several subsequent multiplications, when the intermediate result again falls to a known limit.

При сдвиге непрерывность процесса обработки не нарушаетс .In shear, the continuity of the treatment process is not disturbed.

Выход триггера сдвига подключен к счетчику положени  зан той 14.The output of the shift trigger is connected to the position counter 14.

Поскольку каждый сдвиг увеличивает результат в дес ть раз, то при учете действительной величины результата при каждом сдвиге зап та  в выражении результата должна быть сдвинута влево. Это осуществл етс  импульсом с триггера сдвига 13.Since each shift increases the result by a factor of ten, when taking into account the actual value of the result, each shift of the zap in the expression of the result must be shifted to the left. This is accomplished by a pulse from shift trigger 13.

Может возникнуть необходимость умножени  иа коэффициенты различной величины, как превышающие единицу иа место пор дков , так и меньше ее.It may be necessary to multiply the coefficients of various sizes, both exceeding one and the place of orders, or less.

Действительна  величина коэффициентов также учитываетс  счетчиком положени  зап той 14.The actual value of the coefficients is also taken into account by a comma 14.

В узле 15 коэффициенты группируютс  по величине и знаку пор дков, и признаки пор дков подвод тс  ко входу счетчика положени  зап той 14.At node 15, the coefficients are grouped by magnitude and sign of the orders, and the signs of the orders are supplied to the input of the comma-14 position counter.

При каждом очередном умножении в момент начала второй операции признаки пор дка опращиваютс , и в счетчик 14 вводитс  нужное число импульсов.At each successive multiplication at the moment of the beginning of the second operation, the order signs are returned, and the necessary number of pulses are entered into the counter 14.

Так, при коэффициенте «144 вводитс  реально коэффициент 0,14, и зан тую результата нужно сдвинуть на три разр да вправо. Дл  этого в счетчике 14 добавл етс  три единицы (в первый и второй триггеры счетчика поступают два импульса, смещенные во времени ). Аналогично учитываетс  пор док коэффицнентов меньще единицы. Дл  них зап та  сдвигаетс  влево. Знак пор дка формируетс  также в узле 15. Этот сигнал управл етс  реверсом счетчика 14.Thus, with the coefficient "144", the coefficient 0.14 is actually introduced, and the occupied result needs to be shifted by three digits to the right. To do this, three units are added to the counter 14 (the first and second triggers of the counter receive two pulses shifted in time). Similarly, the order of coefficients less than one is taken into account. For these, the zap is shifted to the left. A sign of the order is also generated at node 15. This signal is controlled by the reverse of counter 14.

Сигналы с выхода счетчика М положени The signals from the output of the counter M position

зап той через дешифратор поступают на выход устройства, а также управл ют работой узла 11 ввода слагаемых. Последний представл ет собой дешифратор, на выходах которого формируетс  число в двоично-дес тичном коде по признаку действи  и признаку места зап той. Это число записываетс  в двоично-дес тичный счетчик 1 по импульсу начала второй операции, когда счетчик / находитс  в нуле.the com- mantor through the decoder arrives at the output of the device, and also controls the operation of the component 11 for inputting the terms. The latter is a decoder, the outputs of which generate a number in binary-decimal code based on the sign of the action and the sign of the comma. This number is written to the binary-decimal counter 1 by the start of the second operation pulse, when the counter / is at zero.

Предмет изобретени Subject invention

Claims (2)

1.Устройство дл  многократного умножени  кода на различные посто нные коэффициенты , содержащее двоично-дес тичный1. A device for repeatedly multiplying a code with different constant coefficients containing a binary-decimal счетчик, подключенный к шинам кода, к узлу ввода слагаемых и через ключ к узлу ввода коэффициентов, св занному по входам с двоичным счетчиком, а по выходам с узлом выбора и группировки коэффициентов, триггер операций, подключенный к счетчику действий , св занному с узлом выбора и группировки коэффициентов, и с генератором импульсов , к двоично-дес тичному и двоичному счетчикам, с которыми также св зан геператор импульсов, и узел управлени , отличающеес  тем, что, с целью повынюии  точности, в устройство введен триггер сдвига, подключенный по входам через ключ к выхода двоичного и двоично-дес тичного счетчиков, кthe counter connected to the code buses, to the input unit of the addends and through the key to the coefficient input unit connected to the binary counter inputs, and to the outputs from the selection node and the grouping of coefficients, the trigger of operations connected to the action counter connected to the selection node and groupings of coefficients, and with a pulse generator, to binary-decimal and binary counters, to which the pulse generator is also connected, and a control node, characterized in that, in order to improve the accuracy, a shift trigger is inserted into the device, connected through the inputs through the key to the output of the binary and binary-decimal counters, to триггеру операций и узлу управлени , а по выходам к двоично-дес тичному счетчику.to the trigger of operations and the control node, and on the outputs to the binary-decimal counter. 2.Устройство по п. 1, отличающеес  тем, что, с целью учета величины пор дка результата вычислений, устройство содержит счетчик2. The device according to claim 1, characterized in that, in order to take into account the magnitude of the order of the result of the calculations, the device contains a counter положени  зап той, соединенный по входам с триггерами операций и сдвига и узлол: ввода коэффициентов, а по выходу с узлом ввода слагаемых и с выходными шинами.the position of the comma, connected at the inputs with the operation and shift triggers and the knotter: input coefficients, and at the output with the input unit of the addends and with the output buses.
SU1243246A DEVICE FOR MULTIPLE MULTIPLICATION CODE ON DIFFERENT COEFFICIENTS SU265564A1 (en)

Publications (1)

Publication Number Publication Date
SU265564A1 true SU265564A1 (en)

Family

ID=

Similar Documents

Publication Publication Date Title
JPH0661792A (en) Digital filter
US4135249A (en) Signed double precision multiplication logic
SU265564A1 (en) DEVICE FOR MULTIPLE MULTIPLICATION CODE ON DIFFERENT COEFFICIENTS
SU1432510A1 (en) Computing apparatus
SU798902A1 (en) Integro-differential computer
RU2713868C1 (en) Apparatus for solving task of selecting technical means of complex system
SU807320A1 (en) Probability correlometer
SU941990A1 (en) Converter of binary numbers to binary-coded decimals
RU2273951C1 (en) Reverse pulse counter
SU942037A1 (en) Correlation meter of probability type
SU1612295A1 (en) Multiplication device
SU1735845A1 (en) Hyperbolic function y=s@@ and y=c@@ evaluator
SU783791A1 (en) Polynominal multiplying device
SU1168928A1 (en) Device for multiplying numbers by constant coefficient
SU1709302A1 (en) Device for performing operations on finite field members
US3674997A (en) Right shifting system with data stored in polish stack form
SU1171784A1 (en) Multiplier
SU1583939A1 (en) Device for multiplying polinominals
SU752323A1 (en) Binary-decimal- to- binary fraction converter
SU598070A1 (en) Function computing arrangement
RU2022339C1 (en) Multiplier
SU938286A1 (en) Matrix computation device
SU1517026A1 (en) Dividing device
SU1078425A1 (en) Device for ordered generating of all possible arrangements
SU911522A1 (en) Digital function generator