SU1087989A1 - Function generator for unit-counting code - Google Patents
Function generator for unit-counting code Download PDFInfo
- Publication number
- SU1087989A1 SU1087989A1 SU833540180A SU3540180A SU1087989A1 SU 1087989 A1 SU1087989 A1 SU 1087989A1 SU 833540180 A SU833540180 A SU 833540180A SU 3540180 A SU3540180 A SU 3540180A SU 1087989 A1 SU1087989 A1 SU 1087989A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- pulse
- decoder
- counter
- output
- Prior art date
Links
Landscapes
- Analogue/Digital Conversion (AREA)
Abstract
ФУНКЦИОНАЛЬНШ ПРЕОБРАЗОВАТЕЛЬ ЧИСЛО-ИМПУЛЬСНОГО КОДА, содержащий два элемента задержки, два элемента И, элемент ИЛИ, счетчик, дешифратор добавлени импульса и дешифратор пропуска импульса, выход которого через первый элемент задержки соединен с первым входом первого элемента И, второй вход которого соединен с входом преобразовател и через второй элемент задержки с первым входом второго элемента И, второй вход которого соединен с выходом дешифратора добавлени импульса, вход котового соединен с выходом счетчика и входом дешифратора пропуска импульса, выходы элементов И соединены с соответствующими входами элемента ИЛИ, отличающийс тем, что, с целью упрощени преобразовател , выход элемента ИЛИ соединен с входом счетчика. gFUNCTIONAL NUMBER-PULSE CODE CONVERTER, containing two delay elements, two AND elements, OR element, counter, pulse addition decoder and pulse skip decoder, the output of which through the first delay element is connected to the first input of the first element And, the second input of which is connected to the converter input and through the second delay element with the first input of the second element I, the second input of which is connected to the output of the pulse addition decoder, the input of which is connected to the output of the counter and the input of the decoder torus pulse skip, elements and outputs connected to respective inputs of OR element, characterized in that, in order to simplify the transducer output OR element connected to the counter input. g
Description
00 00
СОWITH
СХ5 СОСХ5 СО
I I
Изобретение относитс к вычислительной технике и может быть исполь зовано в цифровых, аналого-цифровых и цифроаналоговых вычислительных и измерительных устройствах и система дл воспроизведени функций, близки к линейной в широком диапазоне згща ни аргумента, в частности, дл кор рекции нелинейностей датчиков и измерительных цепей. Известно устройство, содержащее счетчик, сумматор и блок пам ти, обеспечивающее управление переключе нием по ординате С23. Недостатком известного устройств вл етс повышенный объем пам ти. Наиболее близким по технической сущности к предлагаемому вл етс устройство, содержащее регистр, сдви га, группу ключевых схем, два элемента И, два элемента ИЛИ, два элемента задержки, дешифратор добавлени и дешифратор пропуска импульсов и два счетчика. При этом выходы первого и второго разр дов регистра сдвига через первый элемент ИЛИ соединены с первым входом первой ключевой схемы, а выходы третьего и последующих разр дов - с первыми входами соответственно второй и последующих ключевых схем, звыходы ключевых схем соединены соотетствен но со счетными входами старнего и последующих в пор дке убывани разр дов из группы младших разр ,цов Первого счетчика, выход переполнени которого соединен с тактирующим входом регистра сдвига, выходы всех раз р дов второго счетчика соединены со входами дешифраторов добавлени и пропуска импульсов, выход дешифратора пропуска -импульсов через первый элемент- задержки соединен с первым входом первого элемента И, выход ко .торого соединен с первым входом второго элемента ИЛИ, второй вход которого соединен с выходом второго элемента- И, первый .вход которого соединен с выходом дешифратора добавлени импульсов, а второй вход - с выходом второго элемента задержки; вход которого соединен со вторым входом первого элемента И, счетным входом второго счетчика и вл етс входом преобразовател С23. Недостатком известного устройства вл етс повышенна слои ность конструкции . Целью изобретени вл етс упрощение преобразоват ел . Поставленна цель достигаетс тем, что в функциональном преобразователе число-импульсного кода, содержащем два элемента задержки, два элемента И, элемент ИЛИ, счетчик, дешифратор добавлени импульса и Дешифратор пропуска импульса, выход которогочерез первый элемент задержки соединен с первым входом первого элемента И, второй вход которого соединен с входом преобразовател и через второй элемент задержки - с первым входом второго элемента И, второй вход которого соединен с выходом дешифратора добавлени импульса, вход которого соединен с выходом счетчика и входом дешифратора пропуска импульса, выходы элементов И соединены с соответствующими входами элемента ИЛИ, выход элемента ИЛИ соединен с входом счетчика. На чертеже представлена блок-схема функционального преобразовател . Функциональный преобразователь число-импульсного кОда содержит счетчик 1, дешифраторы 2 и 3 добавлени и пропуска импульса, элементы 4 и 5 задержки, элементы б и 7 1, элемент 8 ИЛИ, вход преобразовател 9. Дешифраторы 2 и 3 пропуска и добавлени импульса представл ют собой стандартные неполные дешифрато жл, т.е. количество выходов m у которых удовлетвор ет соотношению m 2 , где п- количество входов. В данном случае имеет место , т.е. при одних значени х кода на входе дешифратора возникает активный сигнал на выходе, при других - пассивный. Упрощение предлагаемого преобразовател в сравнении с известным достигаетс за счет исключени регистра сдвига, группы ключевых схем, :счетчика и элемента ИЛИ, а основным отличием алгоритма работы вл етс I изменение принципа управлени выбором точек коррекции - вместо управлени по абсциссе используетс управление по ординате. Алгоритм работы предлагаемого преобразовател основан на воспроизведении линейной,функции аргумента с непрерывным след щим введением в него в темпе поступлени входных импульсов корректирующих единичных поправок необходимого знака таким образом, чтобы выходна функци соответствовала требуемой с погрешностью , не превышающей в любой точке диапазона половины выбранной погрешности дискретности Д&- результата . Функциональный преобразователь работает следующим образом. В исходном положении счетчик 1 устанавливаетс в нулевое состо ние. Число-импульсный код аргумента поаетс на вход 9 и далее через элементы И 6 и ИЛИ 8 поступает на счетный вход счетчика 1, так как пока не сработает ни один из дешифраторов 2 и 3 элемент И 6 открыт, а элеент И 7 закрыт. Когда в счетчике 1 устанавливаетс значение кода. соответствук цее первой точке коррекции на восход щем участке кривой отклонени , срабатывает дешифратор 2 и открываетс элемент И 7. Входной импульс, установивший в счетчике данный код и задержанный элементом 7, добавл ет единицу к содержимому счетчика. Чтобы обеспечить необходимое временное разрешение, врем задержки элемента 7 должно превышать длительность входных импульсов Дополнительный импульс устанавливает в счетчике код, при котором разрешаю щий сигнал с выхода дешифратора 2 снимаетс . При выборе кодов управлени дешифратором добавлени импульса , соответствующих посл едующим точкам коррекции, необходимо учитывать , что код счетчика после каждой коррекции возрастает в сравнении с кодом аргумента на единицу, т.е. превышает данный код на число пройденных точек коррекции. Прн отработ ке нисход щего участка кривой откло нени вс кий раз, когда в счетчике 1 устанавливаетс код, соответствую щий очередной точке коррекции (данный код должен отличатьс от кода аргумента на число ранее добавленных и еще не скомпенсированных импульсов ) , срабатывает дешифратор 3 пропуска импульса. Через врем , определ емое элементом 4 задержки, которое также должно несколько превышать длительность входных импульсов , элемент И 6 закрываетс на врем длительности выходного импульса дешифратора 3, котора должна незначительно превышать период следовани импульсов аргумента, благодар чему следующий импульс аргумента на счетчик не пройдет. В общем случае воспроизводима функци может отклонитьс от линейной к концу диапазона в любую сторону . Другое условие, которому должны удовлетвор ть воспроизводимые данным преобразователем функции, заключаетс в том, чтобы не требовалось (реализации двух и более добавлений 1или пропусков импульсов, следующих непосредстввенно друг за другом. Причина такого ограничени Очевидна, так как при данном способе воспроизведени функций линейный код аргумента не воспроизводитс , то отличить подобного рода шаги от одинарных невозможно. Другими словами, с помощью предлагаемого преобразовател можно воспроизводить монотонные функции f(x), перва производна которых во всем диапазоне удовлетвор ет условию 0,5if(x)i2.The invention relates to computing and can be used in digital, analog-digital and digital-analog computing and measuring devices and a system for reproducing functions that are close to linear in a wide range of arguments, in particular, for correcting nonlinearities of sensors and measuring circuits. A device comprising a counter, an adder, and a memory block is known that provides switching control on the C23 ordinate. A disadvantage of the known devices is the increased memory capacity. The closest in technical essence to the present invention is a device comprising a register, a shift, a group of key circuits, two AND elements, two OR elements, two delay elements, an add decoder and a pulse skip decoder, and two counters. In this case, the outputs of the first and second bits of the shift register through the first element OR are connected to the first input of the first key circuit, and the outputs of the third and subsequent bits to the first inputs of the second and subsequent key circuits, respectively, the key outputs of the old circuits and subsequent in order of decreasing bits from the group of younger bits of the First counter, the overflow output of which is connected to the clocking input of the shift register, the outputs of all the bits of the second counter are connected to the input By adding and skipping pulse decoders, the decoder output of the pulse passes through the first delay element is connected to the first input of the first AND element, the output of the second is connected to the first input of the second OR element, the second input of which is connected to the output of the second AND element, first. the input of which is connected to the output of the pulse addition decoder, and the second input is connected to the output of the second delay element; the input of which is connected to the second input of the first element AND, the counting input of the second counter, and is the input of the converter C23. A disadvantage of the known device is the increased stratification of the structure. The aim of the invention is to simplify the conversion. The goal is achieved by the fact that in the functional converter of the number-pulse code containing two delay elements, two elements AND, element OR, a counter, a pulse addition decoder and a decoder of the pulse skip, the output of which through the first delay element is connected to the first input of the first element And, the second the input of which is connected to the input of the converter and through the second delay element to the first input of the second element I, the second input of which is connected to the output of the pulse addition decoder whose input connects ene yield meter and the input of the decoder passing pulses, the outputs of AND gates are connected to respective inputs of the OR gate, an output of OR connected to the counter input. The drawing shows the block diagram of the functional Converter. The number-pulse COD functional converter contains counter 1, decoders 2 and 3 of the pulse addition and skip, delay elements 4 and 5, elements b and 7 1, element 8 OR, the input of the converter 9. The decoders 2 and 3 of pulse skip and pulse addition are standard incomplete decrypt the number of outputs m for which satisfies the ratio m 2, where n is the number of inputs. In this case takes place, i.e. at some code values, an active signal is output at the input of the decoder, at others, a passive signal. Simplification of the proposed converter in comparison with the known one is achieved by eliminating the shift register, a group of key schemes: the counter and the OR element, and the main difference of the operation algorithm is the first change in the principle of control of the choice of correction points — instead of control on the abscissa, the ordinate control is used. The algorithm of the proposed converter is based on reproducing the linear, argument function with continuous input into it at the arrival rate of the input pulses of the corrective unit corrections of the required sign so that the output function matches the required one with an error not exceeding at any point the range of half the selected discreteness error D & - result. Functional Converter works as follows. In the initial position, the counter 1 is set to the zero state. The number-pulse code of the argument is input 9 and then through the elements of AND 6 and OR 8 is fed to the counting input of counter 1, as long as none of the decoders 2 and 3 of AND 6 is open, and the element 7 is closed. When counter value 1 is set in the code. Corresponding to the first correction point in the upstream part of the deviation curve, the decoder 2 is triggered and element 7 is opened. The input pulse, which has set this code in the counter and delayed by element 7, adds one to the contents of the counter. To provide the necessary temporal resolution, the delay time of the element 7 must exceed the duration of the input pulses. An additional pulse sets in the counter a code at which the enabling signal from the output of the decoder 2 is removed. When choosing the decoder control codes for adding a pulse corresponding to the subsequent correction points, it is necessary to take into account that the counter code after each correction increases in comparison with the argument code by one, i.e. exceeds the given code by the number of correction points passed. The PDU runs the downstream part of the deviation curve whenever counter 1 sets the code corresponding to the next correction point (this code must differ from the argument code by the number of previously added and not yet compensated pulses), the decoder 3 skip impulses are triggered. After a time determined by the delay element 4, which must also slightly exceed the duration of the input pulses, the element 6 closes for the duration of the output pulse of the decoder 3, which must slightly exceed the pulse period of the argument, whereby the next argument pulse to the counter does not pass. In general, the reproducible function may deviate from linear to the end of the range in either direction. Another condition that the functions reproduced by this converter must satisfy is that it is not required (implementations of two or more additions of 1 or gaps of pulses directly following each other. The reason for this restriction is obvious, since with this method of reproducing functions the linear code of the argument cannot be distinguished, it is impossible to distinguish such steps from single steps. In other words, using the proposed converter, monotonic functions f (x) can be reproduced, the first the derivative of which in the whole range satisfies the condition 0.5if (x) i2.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU833540180A SU1087989A1 (en) | 1983-01-14 | 1983-01-14 | Function generator for unit-counting code |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU833540180A SU1087989A1 (en) | 1983-01-14 | 1983-01-14 | Function generator for unit-counting code |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1087989A1 true SU1087989A1 (en) | 1984-04-23 |
Family
ID=21045482
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU833540180A SU1087989A1 (en) | 1983-01-14 | 1983-01-14 | Function generator for unit-counting code |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1087989A1 (en) |
-
1983
- 1983-01-14 SU SU833540180A patent/SU1087989A1/en active
Non-Patent Citations (1)
Title |
---|
1, Авторское свидетельство СССР 980083, кл.б 06F 1/02, 1980. 2. Авторское свидетельство СССР 955044, кл.G 06 F 7/556, 1981 (прототип).: * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
SU1087989A1 (en) | Function generator for unit-counting code | |
JPH0578104B2 (en) | ||
SU439807A1 (en) | Device for multiplying numbers represented by pulse phase codes | |
SU1349008A2 (en) | Converter of binary code to binary-decimal code of angular units | |
SU1157355A1 (en) | Device for measuring total flow of liquids and gases | |
SU756632A1 (en) | Binary code-to-time interval converter | |
SU1716527A1 (en) | Device for information input | |
SU1290536A1 (en) | Device for converting number from residual class system to position code | |
SU1043675A1 (en) | Frequency-pulse signal initial difference determination device | |
SU691853A1 (en) | Digital frequency multiplier | |
SU1736000A1 (en) | Code-to-time interval converter | |
SU1247773A1 (en) | Device for measuring frequency | |
SU1661998A1 (en) | Servo analog-to-digital converter | |
SU1197092A1 (en) | Adaptive quantizer | |
SU798814A1 (en) | Device for comparing numbers | |
SU653743A1 (en) | Decoder | |
SU444130A1 (en) | Harmonic Error Coding Device | |
SU1280620A1 (en) | Stochastic pulse distributor | |
SU738158A1 (en) | Digital code-to-pulse repetition frequency converter | |
SU1742783A1 (en) | Digital meter of time interval ratio | |
SU528695A1 (en) | Pulse frequency multiplier | |
SU1594690A2 (en) | Follow-up a-d converter | |
SU754668A1 (en) | Voltage-code converter | |
RU1781669C (en) | Device for correction of time scale | |
SU1376083A1 (en) | Random event flow generator |