SU1164886A1 - Number-to-pulse-width code converter - Google Patents

Number-to-pulse-width code converter Download PDF

Info

Publication number
SU1164886A1
SU1164886A1 SU843692703A SU3692703A SU1164886A1 SU 1164886 A1 SU1164886 A1 SU 1164886A1 SU 843692703 A SU843692703 A SU 843692703A SU 3692703 A SU3692703 A SU 3692703A SU 1164886 A1 SU1164886 A1 SU 1164886A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
output
inputs
elements
outputs
Prior art date
Application number
SU843692703A
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 SU843692703A priority Critical patent/SU1164886A1/en
Application granted granted Critical
Publication of SU1164886A1 publication Critical patent/SU1164886A1/en

Links

Landscapes

  • Pulse Circuits (AREA)
  • Analogue/Digital Conversion (AREA)

Abstract

1 .ПРЕОБРАЗОВАТЕЛЬ КОД- ШИМ, содержащий два элемента ИЛИ, четыре элемента И, первый регистр, информационные входы которого подключены к соответствующим первым кодовым шинам, вход записи - к выходу второго.элемента РШИ и входу блока задержки, а знаковый выход - к первым входам второго и четвертого элементов И и через инвертор - к первым входам первого и третьего элементов И, и управл емый генератор импульсов, первый вход которого и первый вход .первого элемента ШШ соединены с выходом блока начального сброса, второй вход -. с шиной Пуск и первым входом второго элемента ПЛИ, а первый выход - с вторыми входами первого и второго элементов И, выходы которых соответственно подключены к первому и второму входам реверсивного счетчика, третий вход которого соединен с выходом блока задержки и С-входом первого Г-триггера , Э-входкоторого подключен к шине разрешающего уровн , R-вход - к выходу первого элемента ШМ, а выход к вторым входам третьего и четвертого элементов И, выходы которых соответственно соединены с выходными ши-. HaMii, отличающийс  тем, что, с целью повышени  надежности и расширени  функциональных возможностей , в него, введен делитель частоты, первый и второй входы которого соединены соответственно с вторым выходом управл емого генератора импульсов и шиной Пуск, а выход - с вторым входом второго элемента ИЛИ, при этом третий и четвертый входы уп .равл емого генератора импульсов,подключены соответственно к выходу вто .рого элемента ИЛИ и третьему входу (Л реверсивного счетчика, входы которого соответственно соединены с разр дными выходами первого регистра, а выход подключен к второму входу первого элемента ИЛИ, причем п тые входы управл емого генератора импульсов соответственно соединены с вторыми ко9д довыми шинами. 2. Преобразователь по п. 1, о т 4 00 00 Од л и ч а ю-щ и и с   тем, что уп--разл емый генератор импульсов выполнен на эталонном гейераторе, счетчике импульсов, п том и шестом элементах И, втором регистре и втором D-триггере , R и С-входы которого подключены соответственно к первому и второму входам управл емого генератора импульсов. D-ВХОД - к шине разрешающего уровн , а выход - к первым входам п того и шестого элементов. И. выходы которых соответственно соединены с первым и вторым выходами управл емого генератора импульсов , третий и четвертый входы которо1 .COD-PWM CONVERTER containing two OR elements, four AND elements, the first register whose information inputs are connected to the corresponding first code buses, the recording input to the output of the second RSHI element and the input of the delay unit, and the sign output to the first inputs the second and fourth elements And through the inverter to the first inputs of the first and third elements And, and a controlled pulse generator, the first input of which and the first input of the first element SH are connected to the output of the initial reset unit, the second input is. with the Start bus and the first input of the second SLI element, and the first output - with the second inputs of the first and second elements AND, the outputs of which are respectively connected to the first and second inputs of the reversible counter, the third input of which is connected to the output of the delay unit and the C input of the first G- the trigger, the E-input of which is connected to the bus of the permitting level, the R-input to the output of the first CMM element, and the output to the second inputs of the third and fourth And elements, the outputs of which are respectively connected to the output wide-. HaMii, characterized in that, in order to increase reliability and expand functionality, a frequency divider is introduced in it, the first and second inputs of which are connected respectively to the second output of the controlled pulse generator and Start bus, and the output to the second input of the second element OR , while the third and fourth inputs of the fixed pulse generator are connected respectively to the output of the second OR element and the third input (L of the reversible counter, whose inputs are respectively connected with the discharge outputs of the first register, and the output is connected to the second input of the first element OR, and the fifth inputs of the controlled pulse generator are respectively connected to the second c-bus. 2. The converter according to claim 1, about 4 00 00 Odl and ch yu-y and with the fact that the variable pulse generator is made on a reference geyrator, pulse counter, the fifth and sixth AND elements, the second register and the second D flip-flop, the R and C inputs of which are connected respectively to the first and second control inputs pulse generator. D-INPUT - to the bus of the resolution level, and the output - to the first inputs of the fifth and sixth elements. I. the outputs of which are respectively connected with the first and second outputs of the controlled pulse generator, the third and fourth inputs of which

Description

го соответственно подключены к входу записи второго регистра и входу записи счетчика импульсов, а п тые входы соединены с соответствуюирми информационными входами второго, регистра,выходы которого подключеныGo, respectively, are connected to the input of the second register and the input of the pulse counter, and the fifth inputs are connected to the corresponding information inputs of the second register, the outputs of which are connected

к соответствуюи1им информационным входам счетчика импульсов, выход которого соединен с. вторым входом п того элемента И, а счетный вход с выходом эталонного генератора и вторым входом шестого элемента И.to the corresponding information inputs of the pulse counter, the output of which is connected to. the second input of the fifth element And, and the counting input with the output of the reference generator and the second input of the sixth element I.

Изобретение относитс  к автоматике и может быть использовано в цифровых системах управлени  позиционными электроприводами промышленных роботов, станков с числовым программным управлением и т.д. Известен преобразователь код ШИМ , содержащий генератор импульсов , первый вход которого соединен с шиной Пуск, а первый выход с первым входом счетчика, регистр наD-триггерах, выход знакового зар да которого подключен к входу элемента НЕ и к первому входу первого элемента И, выход, элемента НЕ соединен с первым входом второго элемента И, I-триггер, блок сравнени  и блок 2И-ИЛИ., причем первый вход г енератора импульсов соединен соответственно с вторым входом счет чина,, с С-входамиD-триггеров регистра и первым входом второго элемента И, блока 2И-Ш111, выход которого подключен к С-входу D-триггера , D-ВХОД которого соединен с пер- вым выходом блока сравнени , второй выход которого подключен к первому входу первого элемента И блока 2ИИЛИ , вторые входы которого соединены с вторым выходом генератора импульсов , второй вход последнего сое динен с выходом В-триггера и с втоpы и входами первого и второго элементов И, кодовые входы регистра подключены к кодовым шинам, выходы счетчика и регистра подключены к соответствующим входам блока сравнени  С .. Недостатки данного преобразовател  - отсутствие возможности регулировани  крутизны статической хара теристики, а такженеобходимость представлени  входной информации то ко в пр мом коде. Наиболее близким к изобретению по технической сущности  вл етс  преобразователь код - ШИМ, содержащий генератор , два элемента ШШ, четыре элемента И, первый регистр,информационные входы которого подключены к соответствующим первым кодовым шинам , вход записи - к выходу второго элемента и входу блока задержки, а знаковый выход - к первым входам второго и четвертого элементов И и через инвертор - к первым входам первого и третьего элементов И, и управл емый генератор импульсов, первый вход которого соединен с первым входом первого элемента ИЛИ и выходом блока начального сброса, второй вход - с шиной Пуск и первым входом второго элемента ИЛИ, а первый выход - с вторыми входами первого и второго элементов И, выходы которых соответственно подключены к первому и второму входам реверсивного счетчика, третий вход которого соединен с выхОдом блока задержки и С-входом nepiвого 2)-триггера, D-входкоторого подключен к шине разрешающего уровн , R-вход - к выходу первого элементаИЛИ , а выход - ко вторым входам третьего и четвертого элементов.И, выходы которых соответственно соединены с выходными шинами., при этом разр дные выходы первого регистра соответственно соединены с первыми входами блока сравнени , выход которого соединен с вторым входом первого элемента ИЛИ, а вторые входы - с соответствующими выходами реверсивного счетчика, третий вход которого подключен к входу сброса счетчика импульсов , счетный вход которого соединен с первым выходом управл емого генератора импульсов, а информационные входы - с соответствуюв{ими выходами вто3 рого регистра, вход записи которого соединен с гзыходом второго элемента Ш1И, а информационные входы - с соо ветствующими вторыми кодовыми шинами C2L В этом преобразователе крутизна статической характеристики оппеде- л етс  выражением К |Д2 ( и регулируетс  за счет изменени  Ag, что эквивалентно изменению периода следовани  управл ющих импуль сов Т Те(2 . - А вх ) Однако при этом ограничиваетс .диапазон регулировани  к, поскольку при уменьшении к нарушаетс  условие непрерывности тока двигател . Система с регулируемой частотой следовани  управл ющих импульсов обладает низкой надежностью из-за возможности возникновени  в ней электромеханического резонанса на субгармонической частоте ШИМ. Низка  надежность известного устройства обусловлена также наличием блока сравнени , сло ность которого увеличиваетс  с уве личением разр дности кода ошибки. Таким образом, недостатки извест ного преобразовател  заключаютс  в ограниченной области применени , обусловленной малым диапазоном изме нени  крутизны, и низкой надежности за счет наличи  возможности возникновени  электромеханического резонанса на субгармонической частоте ШИМ. Цель изобретени  - повышение надежности и расширение функциональньгх возможностей. Поставленна  цель достигаетс  тем, что в преобразователь код -,ШИ содержашр й два элемента Ш1И, четыре элемента И, первый регистр, инфо мационные входь которого подключены к соответствующим первым кодовым ши нам, вход записи - к выходу второгО элемента ИЛИ и входу блока задержки , а знаковый выход - к первым .входам второг о и четвертого элементов И и через инвертор - к первым входам первого и третьего элементов И, и управл емый генератор импу сов, первый вход которого и первый вход первого эЛ1 мента ШШ .соединены с выходом блока начального сброса, второй вход - с шиной Пуск и первым входом второго элемента И/И, а первый выход - с вторыми.входами первого и второго элементов И выходы которых соответственно под86 ключены к первому и второму входам реверсивного счетчика, третий вход которого соединен с выходом блока задержки и С-входом первр.го D-триггера , D-вход которого подключен к шине разрешающего уровн , R-вход к выходу первого элемента ИЛИ, а выход - к вторым входам третьего и четвертого элементов И, .выходы которых соответственно с.оединены с выходными шинами, дополнительно введен делитель частоты, первый и второй входы которого соединены -соответстг венно с вторым выходом управл емого, генератора импульсов и шиной Пуск , а выход - с вторым входом второго элемента ИЛИ, при этом .третий и четвертый входы управл емого генератора импульсов подключены соответственно к выходу второго элемента ИЛИ и третьему входу реверсивного счетчика , четвертые входы которого соответственно соединены с разр дными выходами первого, регистра, а выход подключен к второму входу первого элемента ИЛИ, причем п тые вхОды упг. равл емого генератора импульсов соответственно соединены с вторыми кодовыми шинами. Кроме того, управл емьй генератор импульсов выполнен на эталонном генераторе , счетчике импульсов, п том и шестом элементах И, Втором регистре и втором 3)-триггере, R и Свходы которого подключены соответственно к первому и второму входам управл емого генератора импульсов, D-ВХОД - к шине разрешающего уровн  , а выход - к первым входам п того и шестого элементов И, вьпсодыко|торых соответственно соединены с первым и вторым выходами управл емого генератора импульсов, третий и четг вертый входы которого соответственно подключены к входу записи второго регистра и входу записи счетчика импульсов , а п тые входы соединены с соответствующими информационными входами, второго регистра, выходы которого подключены к соответствующим информационным входам счетчика импульсов, выход которого соединен с вторым входом п того элемента и, а счетный вход - с выходом эталонного генератора и вторым входом шестого элемента И. . На фиг. представлена структурна  электрическа  схема преобразовател  код - НИМ} на фиг.2 - управл емый генератор импульсов, вариант . Преобразователь код г- ЩИМ содержит первый -регистр 1, реверсивный счетчик 2, первыйD-триггер 3, блок 4 начального сброса, первый и второй элементы ИЛИ 5 и 6, блок 7 задержки , первый 1 второй, третий и че вертый элементы И 8 - II, инвертор 12, управл емый генератор 13 импуль сов, делитель 14 частоты, первые 15 и вторые 16 кодовые шины , выходные шины 17, шину Пуск 18 и шину 19 разрешающего уровн . Первьй .вход первого элемента ИЛИ 5 соединен с первым входом управл емого генератора 13 и выходом блока 4 начального сброса, .а выход- cR-входом первого D-триггера-3, первые входь первого регистр.а 1 под ключены к соответствующим первым кодовым шинам 15, а второй вход - к выходу второго элемента ИЛИ 6, знаковый выход первого регистра 1 соединен с первыми входами второго и четвертого элементов .И 9, 11 и чере инвертор 12 - с первыми входами пер вого и третьего элементов И 8,.10, первый выход управл емого генератора 13 импульсов подключен череэ пер и второй элементы И 8, 9 соответственно к первому и второму входам реверсивного счетчика 2, третий вхо которого через блок 7 задержки соед нен с выходом второго элемента ШШ6 вторые входы управл емого генератора 13 импул-ьсов и второго элемента ИЛИ 6 подключены к шине Пуск 18, С-вход первого)-триггера 3 соединен через блок 7 задержки с выходом второго элемента ИЛИ 6, а D-вход подключен к шине 19 разрешающего уровн , выход первого D-триггера 3 соединен с вторыми вхо дами третьего и четвертого элементов И 10, 11, выходы которых подклю чены к соответствующим выходным шинам 17, первый и второй входы делител  14 соединены соответственно с вторым выходом управл емого генератора 13 импульсов и шиной Пуск 18 а выход - с первым входом второго элемента ИЛИ 6, третий и четвертый входы управл емого генератора 13 им пульсов подключены соответственно к выходу второго элемента ИШ 6 и выходу блока 7 задержки, разр дные выходы первого регистра 1 соедине866 ны с четвертыми (информационными) входами реверсивного счетчика.2, выход подключен к второму входу первого -элемента ИЛИ 5, .П тый вход управл емого генератора 13 импзльсов подключен к соответствующим кодовым шинам NJ. Управл емьш генератор 13 содержит эталонный генератор 20, второй .р-триггер 21, второй регистр 22, счетчик 23 импульсов, п тый и шестой элементы И 24, 25 и шину 26 разрешающего уровн , причемRи. С-входы второго ) -триггера подключены соответственно к первому и второму входам управл емого генератора 13 импульсов , а выход через п тый элемент И 24 - к первому выходу управл емого генератора 13 импульсов и через шестой элемент И 25 - к второму выходу управл емого генератора 13 импульсов. Выход эталонного генератора 20 соединен со счетным входом счетчика 23.и через шестой элемент И 25 с вторым выходом управл емого генератора 13 импульсов, информацинные входы второго регистра 22 подключены к соответствующим п тым входам управл емого .генератора 13 импульсов, а второй вход - к третьему входу управл емого генератора 13 импульсов, информационные входы счетчика 23 соединены с выходами второго регистра 22, а выход - с-вторым входом п того элемента И 24, четвертый вход управл емого генератора 13. импульсов подключен к входу записи счетчика 23, D-ВХОД второго D-триггера 2 соединен с шиной 26 разрешающего уровн , Делитель 14 выполнен на счетчике Импульсов, счетный вход которого подключен к первому входу делител , . а вход установки в ноль - ко второму входу делител . Выходом делител   вл етс  выход переноса счетчика . Устройство работает следующим образом. При включении напр жени  питани  блок. 4 начального сброса формирует короткий импульсj который через первый элемент. ИЛИ 5 устанавливает первыйD-триггер 3 в нулевое состо ние . Одновременно этот импульс поступает на первый вход управл ющего генератора 13 импульсов и устанавливает второй D-триггер 21 в нулевое состо ние. Таким образом, нулевой сигнал с выходаD-триггера 21 не р решает проход частоты эталонного генератора 20 через п тый и шестой элементы И 24, 25 на первьй и втор выходы управл емого генератора 13 импульсов. На входы первого регист ра 1 подаетс  модулируемый сигнал S представленный в дополнительном ко де. Знак - кодируетс  1, знак + кодируетс  О. На входы вт рого регистра 22 подаетс  код N, определ ющий частоту управл емого генератора 13 импульсов на первом f,,fc,/(). где частота эталонного генератора; 1/Т..., - частота на первом выходе управл емого генератора 13 импульсов; m - число разр дов второго счетчика 23. Крутизна статической рактеристики преобразовател  определ етс  выражением К - - : т 1EI где Т - период импульсов на выходе делител  14; - длительность выходного импульса . При подаче сигнала Пуск импул с соответствующей шины поступает н первьй вход (е-вход ) второгоD-тр гера 21 и по переднему фронту устанавливает его в состо ние 1, раз реша  тем самым прохождение часто ты ги с выхода счетчика 23 через элемент И 24 на первьй и частоты fо с выхода эталонного генерагора 20 через элемент И 25 соответственно на второй выходы управл емо генератора 13 импульсов. По переднему фронту импульса с выхода второго элемента ИЛИ 6 происходит запись информации в первьй и второй 22 регистры. Этот же импульс с задержкой Tj , определ емой блоком 7 задер ски,поступает на третий вход (вход записи ) реверсивного счетчика 2, на четвертый вход управл емого генератора 13 импуль-. сов (вход записи счетчика 23 и уст навливает первый D-триггер 3 в 1, Таким образом, в счетчике 23 зап сываетс  код N, а в реверсивном сч чике 2 - код Е . Число пар инверторов блока 7 задержки выбираетс  из услови , чтобы к моменту поступлени  импульса записи на входы реверсивного счетчика 2 и счетчика 23 произошла запись кодов . и N. в со ответствующие регистры. 6 Рассмотрим случай . Сигнал представлен в дополнительном коде. Посколькув.знаковом разр де первого регистра 1 записан О, то импульсы с первого выхода управл емого генератора 13. импульсов проход т через элемент И 8 на первый (вычитающий ) вход реверсивного счетчика 2 . В момент, когда все выходные разр ды реверсивного счетчика 2 станут равными нулю, на его выходе по вл етс  одиночный импульс, сдвинутый по фазе на величину Т |Е1Т,-,д относительно импульса на С-входе D-триггера 3, которьй через элемент ИЛИ 5 поступает на R-входD-триггера 3 и устанавливает последний в состо ние О..Очередной импульс с выхода делител  14 осуществл ет запись в первый 1 и второй регистры новой информации, и через врем , определ емое блоком 7 задержки, переписывает информацию в реверсивный счетчик 2 и счетчик 23, а также устанавливает первый D-триггер 3 в состо ние 1, Модулированные по длительности импульсы по вл ютс  на выходе третьего элемента И 10, после чего цикл работы повтор етс . Если код ошибки , записанный в первом регистре, отрицательный (в знаковом разр де 1, то импульсы с первого выхода генератора 13 импульсов через второй элемент И 9 будут поступать на второй (суммирующий ) вход реверсивного счётчика 2, а выходной сигнал преобразовател  снимаетс  с выхода четвертого элемента И 11. В остальном работа схемы аналогична. Крутизна статической характеристики преобразовател  определ етс  выражением К (2 - ), (здесь Т А Т - коэффициент делени  деВеличина К - показывает. лител  кака  скважность соответствует коду Е 00 ... 01. Откуда следует, что изменением кода Ng, записываемого во второй регистр, можно в широком диапазоне измен тькрутизну статической характеристики преобразовател  код - НИМ. При необходимости остановить работу модул тора замыкаетс  ключ в блоке 4 начальноIo сброса. При этом на его выходе формируетс  импульс, устанавливающий в О триггеры 3 и 21, а на Выходах преобразовател  получаютс  нулевые сигналы, которые сохра н ютс  сколь угодно долго. П тый и шестой элементы Н 24, 25 закрыты и на первьй и второй вьпсоды генератора импульсов частота не проходит. Повторный запуск преобразовател  во можен лишь ПС сигналу Пуск на шине 1 8 . . В предлагаемом устройстве при ча тотё эталонного генератора „ 10 мГц можно достичь изменени  крутизны статической характеристики в диапазоне 1:256 дискретностью 0,1% (если счетчик 23 имеет восемь разр дов ). В известном устройстве при таких параметрах можно получить диапазон изменени  крутизны 1:1,3 с неравномерной дискретностью 2.10 и менее, В то же врем  в технических задачах требуетс , как правило, бол шой диапазон перестройки, а также больша  дискретность и равномерность изменени  крутизны статической характеристики. Таким образом, технико-экономический эффект от использовани  изобретени  заключаетс  в том, что предложенное устройство позвол ет преобразовывать в широтно-импульсный модулированный сигнал числа, представленные в дополнительном коде, аThe invention relates to automation and can be used in digital control systems for positional electric drives of industrial robots, machine tools with numerical control, etc. The known converter is a PWM code containing a pulse generator, the first input of which is connected to the Start bus, and the first output to the first input of the counter, a register for D-triggers, the output of the sign charge of which is connected to the input of the element NOT and to the first input of the first element And, output, the element is NOT connected to the first input of the second element, AND, I-flip-flop, comparator unit and block 2I-OR., the first input of the generator of pulses is connected respectively to the second input of the count, C-inputs D-trigger register and the first input of the second element And, block 2 I-Ш111, the output of which is connected to the C-input of the D-flip-flop, D-INPUT of which is connected to the first output of the comparison unit, the second output of which is connected to the first input of the first element AND of the 2IILI unit, the second inputs of which are connected to the second output of the pulse generator the second input of the last is connected to the output of the B-flip-flop and with the second and the inputs of the first and second elements AND, the code inputs of the register are connected to the code buses, the outputs of the counter and the register are connected to the corresponding inputs of the comparison block C. The disadvantages of this converter are from the possibility of adjusting the steepness of the static characteristic, as well as the need to present the input information in the forward code. The closest to the invention to the technical nature is the converter code - PWM, comprising a generator, two WL elements, four AND elements, the first register, whose information inputs are connected to the corresponding first code buses, the write input to the output of the second element and the input of the delay unit and the sign output to the first inputs of the second and fourth elements I, and through the inverter to the first inputs of the first and third elements I, and a controlled pulse generator, the first input of which is connected to the first input of the first element OR and the output of the initial reset unit, the second input is with the Start bus and the first input of the second element OR, and the first output is with the second inputs of the first and second AND elements, the outputs of which are connected to the first and second inputs of the reversible counter, respectively, the third input of which is connected to the output of the delay unit and the C input of the nepi 2) trigger, the D input of which is connected to the resolution bus, the R input to the output of the first element OR, and the output to the second inputs of the third and fourth elements. And the outputs of which are respectively connected to you input buses., wherein the bit outputs of the first register are respectively connected to the first inputs of the comparison unit, the output of which is connected to the second input of the first OR element, and the second inputs to the corresponding outputs of the reversing counter, the third input of which is connected to the reset input of the pulse counter, counting the input of which is connected to the first output of the controlled pulse generator, and the information inputs to the corresponding outputs of the second register, whose recording input is connected to the output of the second element S1I, and nformatsionnye inputs - with wo sponding to the second code C2L tires This converter static characteristic steepness oppede- L by the expression K | D2 (and controlled by varying the Ag, which is equivalent to the repetition period of change of steering momenta Those T (2. - A I) However, this limits the range of regulation k, since decreasing k breaks the condition of the continuity of the motor current. The system with an adjustable frequency of control pulses has low reliability due to the possibility of electromechanical resonance in it at the subharmonic frequency of PWM. The reliability of the known device is also low due to the presence of a comparison unit, the complexity of which increases with increasing error code depth. Thus, the disadvantages of the known converter are limited scope due to the small range of slope variation and low reliability due to the possibility of electromechanical resonance at the subharmonic PWM frequency. The purpose of the invention is to increase reliability and expand functional capabilities. The goal is achieved by the fact that, in the converter, the code -, SHI contains two S1I elements, four AND elements, the first register, informational inputs of which are connected to the corresponding first code wiring, the recording input - to the output of the second OR element and the input of the delay unit, and the sign output goes to the first inputs of the second and fourth elements I and through the inverter to the first inputs of the first and third elements I and the controlled pulse generator, the first input of which and the first input of the first element of the W) are connected to the output of the initial ssr ca, the second input is with the Start bus and the first input of the second I / I element, and the first output is with the second inputs of the first and second elements And the outputs of which are connected to the first and second inputs of the reversible counter, respectively, the third input of which is connected to the output of the block delays and C-input of the first D-flip-flop, the D-input of which is connected to the resolution bus, the R-input to the output of the first OR element, and the output to the second inputs of the third and fourth And elements, the outputs of which are respectively p. with output tires, additionally enter The frequency divider, the first and second inputs of which are connected, is consistent with the second output of the controlled pulse generator and the Start bus, and the output is connected to the second input of the second OR element, while the third and fourth inputs of the controlled pulse generator are connected respectively to the output the second OR element and the third input of the reversible counter, the fourth inputs of which are respectively connected to the bit outputs of the first register, and the output is connected to the second input of the first OR element, and the fifth inputs are upg. equal pulse generator, respectively, are connected to the second code bus. In addition, the controlled pulse generator is made on a reference generator, a pulse counter, the fifth and sixth elements AND, the Second register and the second 3) trigger, R and Taps which are connected respectively to the first and second inputs of the controlled pulse generator, D-INPUT - to the bus of the permitting level, and the output to the first inputs of the fifth and sixth elements AND, which are respectively connected to the first and second outputs of the controlled pulse generator, the third and fourth inputs of which are respectively connected to the input of the first the second register and the write input of the pulse counter, and the fifth inputs are connected to the corresponding information inputs, the second register, the outputs of which are connected to the corresponding information inputs of the pulse counter, the output of which is connected to the second input of the fifth element, and the counting input to the reference output generator and the second input of the sixth element I.. FIG. a structural electrical converter circuit code - BAT} is shown in FIG. 2 — controlled pulse generator, option. Converter code g-SHIM contains the first register 1, the reversible counter 2, the first D-trigger 3, block 4 initial reset, the first and second elements OR 5 and 6, the block 7 delay, the first 1 second, third and fourth elements And 8 - II, inverter 12, controlled generator of 13 pulses, frequency divider 14, first 15 and second 16 code buses, output buses 17, Start bus 18 and bus 19 of the enable level. The first input of the first element OR 5 is connected to the first input of the controlled generator 13 and the output of the initial reset unit 4, and to the cR input of the first D-flip-flop 3, the first inputs of the first register and 1 are connected to the corresponding first code buses 15, and the second input to the output of the second element OR 6, the sign output of the first register 1 is connected to the first inputs of the second and fourth elements. AND 9, 11 and across the inverter 12 to the first inputs of the first and third elements AND 8, .10, the first output of the controlled oscillator 13 pulses is connected through a trans and the second The elements 8 and 9, respectively, to the first and second inputs of the reversible counter 2, the third input through which the delay unit 7 is connected to the output of the second element ШШ6, the second inputs of the controlled impulse generator 13 and the second element OR 6 are connected to the Start 18 bus, С the input of the first) trigger 3 is connected via a delay unit 7 to the output of the second element OR 6, and the D input is connected to the enable level bus 19, the output of the first D flip-flop 3 is connected to the second inputs of the third and fourth elements 10, 11, outputs that are connected to the corresponding output bus 17, the first and second inputs of the divider 14 are connected respectively to the second output of the controlled generator 13 pulses and bus Start 18 and the output to the first input of the second element OR 6, the third and fourth inputs of the controlled generator 13 pulses connected respectively to the output of the second element ISH 6 and the output of the delay unit 7, the bit outputs of the first register 1 are connected to the fourth (informational) inputs of the reversible counter.2, the output is connected to the second input of the first element OR 5, the third input of the controlled generator 13 impzl s connected to respective word lines NJ. The control generator 13 comprises a reference generator 20, a second .p-flip-flop 21, a second register 22, a pulse counter 23, fifth and sixth elements AND 24, 25, and a resolution bus 26, with Ri. The C inputs of the second) -trigger are connected respectively to the first and second inputs of the controlled generator 13 pulses, and the output through the fifth element I 24 to the first output of the controlled generator 13 pulses and through the sixth element I 25 to the second output of the controlled generator 13 pulses. The output of the reference generator 20 is connected to the counting input of the counter 23. And through the sixth element I 25 to the second output of the controlled generator 13 pulses, the information inputs of the second register 22 are connected to the corresponding fifth inputs of the controlled generator 13 pulses, and the second input to the third the input of the controlled generator 13 pulses, the information inputs of the counter 23 are connected to the outputs of the second register 22, and the output with the second input of the fifth element And 24, the fourth input of the controlled generator 13. pulses connected to the input of the account ika 23, D-input of the second D-flip-flop 2 is connected to a bus 26 allowing a level divider 14 is provided to a pulse counter, the counting input of which is connected to the first input of the divider,. and the installation input to zero - to the second input of the divider. The output of the divider is the transfer output of the counter. The device works as follows. When the power supply unit is turned on. 4 of the initial reset forms a short impulse j which through the first element. OR 5 sets the first D-trigger 3 to the zero state. At the same time, this pulse arrives at the first input of the control generator 13 of pulses and sets the second D-flip-flop 21 to the zero state. Thus, the zero signal from the output of the D-flip-flop 21 does not solve the passage of the frequency of the reference oscillator 20 through the fifth and sixth elements AND 24, 25 to the first and second outputs of the controlled oscillator 13 pulses. The inputs of the first register 1 are supplied with a modulated signal S presented in the additional code. The sign is encoded 1, the sign + is encoded O. To the inputs of the second register 22, an N code is applied, which determines the frequency of the controlled generator of 13 pulses on the first f ,, fc, / (). where the frequency of the reference generator; 1 / T ..., is the frequency at the first output of the controlled generator of 13 pulses; m is the number of bits of the second counter 23. The steepness of the static characteristic of the converter is determined by the expression K - -: t 1EI where T is the pulse period at the output of the divider 14; - the duration of the output pulse. When the Start impulse signal is given, the corresponding bus enters the first input (e-input) of the second D-trag 21 and sets it to state 1 on the leading edge, thereby resolving the passage of frequency from the output of counter 23 through AND 24 to the first and the frequency fo from the output of the reference generator 20 through the element 25, respectively, to the second outputs of the controlled generator of 13 pulses. On the leading edge of the pulse from the output of the second element OR 6, information is recorded in the first and second 22 registers. The same impulse with delay Tj, determined by block 7 with delay, is fed to the third input (record input) of the reversible counter 2, to the fourth input of the controlled generator 13 a pulse. ow (the entry entry of the counter 23 and sets the first D-flip-flop 3 to 1. Thus, the counter N is written in the counter 23, and the code E in the reversing counter 2. The number of inverter pairs 7 of the delay unit 7 is chosen from At the moment of writing the pulse to the inputs of the reversible counter 2 and counter 23, codes and N. were written to the corresponding registers. 6 Consider the case. The signal is presented in the additional code. Because the sign of the first register 1 is O, then the pulses from the first output controlled generator 13. pulses proh d through the element AND 8 to the first (subtractive) input of the reversible counter 2. At the moment when all the output bits of the reversible counter 2 become zero, a single pulse appears at its output, shifted in phase by the value T | E1T, - , d relative to the pulse at the C input of the D-flip-flop 3, which through the element OR 5 enters the R-input of the D-flip-flop 3 and sets the latter to the O state. A sequential pulse from the output of the divider 14 writes to the first 1 and second registers new information, and through the time determined by the delay unit 7, the census information into the reversible counter 2 and counter 23, and also sets the first D-flip-flop 3 to state 1, the duration modulated pulses appear at the output of the third element 10, after which the work cycle repeats. If the error code recorded in the first register is negative (in the sign bit 1, then the pulses from the first generator output 13 pulses through the second element 9 will go to the second (summing) input of the reversible counter 2, and the output signal of the converter will be removed from the fourth of element 11. The rest of the operation of the circuit is similar. The steepness of the static characteristic of the converter is determined by the expression K (2 -), (here T A T - the division ratio of the de K-value - indicates. The duty cycle corresponds to the code E 00 ... 01. Whence it follows that by changing the Ng code recorded in the second register, it is possible to change the static characteristic characteristic of the converter - BAT in a wide range. If necessary, stop the modulator, close the key in the initial reset unit 4. At the output, a pulse is generated at its output, setting in O triggers 3 and 21, and on the Outputs of the converter, zero signals are obtained, which are stored for an arbitrarily long time. The fifth and sixth elements H 24, 25 are closed and the frequency does not pass on the first and second pulse generators. Restarting the converter is possible only by the PS signal. Start on bus 1 8. . In the proposed device, when the reference oscillator frequency is 10 MHz, it is possible to achieve a change in the steepness of the static characteristic in the 1: 256 range with a resolution of 0.1% (if counter 23 has eight bits). In the known device, with such parameters, it is possible to obtain a range of variation of a steepness of 1: 1.3 with an uneven discreteness of 2.10 or less. At the same time, technical tasks require, as a rule, a large range of tuning, as well as greater discreteness and uniformity of variation of the steepness of the static characteristic . Thus, the technical and economic effect of the use of the invention lies in the fact that the proposed device allows to convert numbers, presented in an additional code, into a pulse-width modulated signal

7777

cpuz.1 86 также производить регулировку крутизны статической характеристики без изменени  частоты следовани  управл ющих импульсов. Применение этого преобразовател  особенно эффективно в цифровых системах управлени  степен ми подвижности манипул тора, работающих в режиме разделени  времени. При этом уменьшение массогабаритных и стоимостных показателей системы достигаетс  за счет использовани  одного микропроцессора и одного преобразовател  код - ШИМ на в,се степени подвижности , которые управл ютс  единой программой обслуживани . Единственным способом компенсировани  неидеаль- . ности приводов  вл етс  регулировка крутизны статической характеристики преобразовател . При этом каждому приводу будет соответствовать новое значение кода . Кроме того, с помощью таких преобразователей могут быть построены высококачественные цифровые адаптивные системы,в которых коэффициент усилени  целенаправленно измен етс  в процессе управлени . При этом полностью исключаетс  возможность возникновени  электромеханического резонанса на субгармонической частоте ШИМ, так как период следовани  импульсов ШИМ посто нен.cpuz.1 86 also make adjustment of the steepness of the static characteristic without changing the frequency of the control pulses. The use of this converter is especially effective in digital control systems of the degrees of mobility of the manipulator operating in the time division mode. At the same time, the reduction of the mass, size and cost parameters of the system is achieved by using one microprocessor and one code-PWM converter for up to seven degrees of mobility, which are controlled by a unified service program. The only way to compensate for imperfect-. The drive is the adjustment of the steepness of the static characteristic of the converter. In this case, each drive will correspond to the new code value. In addition, using such converters, high-quality digital adaptive systems can be built in which the gain is purposefully changed during the control process. In this case, the possibility of electromechanical resonance at the subharmonic frequency of the PWM is completely excluded, since the period of the following pulses of the PWM is constant.

фиг. 2FIG. 2

Claims (2)

1.ПРЕОБРАЗОВАТЕЛЬ КОД- ШИМ, содержащий два элемента ИЛИ. четыре элемента И, первый регистр, информационные входы которого подключены к соответствующим первым кодовым шинам, вход записи - к выходу второго.элемента ИЛИ и входу блока задержки, а знаковый выход - к первым входам второго и четвертого элементов И и через инвертор - к первым входам первого и третьего элементов И, и управляемый генератор импульсов, первый вход которого и первый вход первого элемента ИЛИ соединены с выходом блока начального сброса, второй вход -. с шиной Пуск И первым входом второго элемента ИЛИ, а первый выход - с вторыми входами первого и второго элементов И, выходы которых соответственно подключены к первому и второму входам реверсивного счетчика, третий вход которого соединен с выходом блока задержки и С-входом первого Р-триггера, D-вход - которого подключен к шине разрешающего уровня, R-вход - к выходу первого элемента ИЛИ, а выход к вторым входам третьего и четвертого элементов И, выходы которых соответственно соединены с выходными ши-, нами, отличающийся тем, что, с целью повышения надежности и расширения функциональных возможностей, в него, введен делитель частоты, первый и второй входы которого соединены соответственно с вторым выходом управляемого генератора импульсов и шиной Пуск, а выход - с вторым входом второго элемента ИЛИ, при этом третий и четвертый входы управляемого генератора импульсов.подключены соответственно к выходу второго элемента ИЛИ и третьему входу реверсивного счетчика, входы которого соответственно соединены с разрядными выходами первого регистра, а выход подключен к второму входу первого элемента ИЛИ, причем пятые входы управляемого генератора импульсов соот»· ветственно соединены с вторыми кодовыми шинами.1. A CODIM converter, containing two OR elements. there are four AND elements, the first register, the information inputs of which are connected to the corresponding first code buses, the recording input is to the output of the second OR element and the input of the delay unit, and the sign output is to the first inputs of the second and fourth AND elements and through the inverter to the first inputs the first and third AND elements, and a controlled pulse generator, the first input of which and the first input of the first OR element are connected to the output of the initial reset unit, the second input -. with the Start bus And the first input of the second OR element, and the first output with the second inputs of the first and second AND elements, the outputs of which are respectively connected to the first and second inputs of the reverse counter, the third input of which is connected to the output of the delay unit and the C-input of the first P- a trigger whose D-input is connected to the bus of the enable level, the R-input is to the output of the first OR element, and the output is to the second inputs of the third and fourth AND elements, the outputs of which are respectively connected to the output buses, by us, characterized in that, to increase I reliably and expand the functionality, a frequency divider is introduced into it, the first and second inputs of which are connected respectively to the second output of the controlled pulse generator and the Start bus, and the output is connected to the second input of the second OR element, while the third and fourth inputs of the controlled pulse generator .connected respectively to the output of the second OR element and the third input of the reverse counter, the inputs of which are respectively connected to the discharge outputs of the first register, and the output is connected to the second input of the first element OR, and the fifth inputs of the controlled pulse generator are respectively connected to the second code buses. 2. Преобразователь по π. 1, о т личающийся тем, что уп- равняемый генератор импульсов выполнен на эталонном генераторе, счетчике импульсов, пятом и шестом элементах И, втором регистре и втором Ц-триггере, R и С-входы которого подключены соответственно к первому и второму входам управляемого генератора импульсов. D-вход - к шине разрешающего уровня, а выход - к первым входам пятого и шестого элементов. И. выходы которых соответственно соединены с первым и вторым выходами управляемого генератора импульсов, третий и четвертый входы которо2. The converter according to π. 1, characterized in that the controllable pulse generator is made on a reference generator, pulse counter, fifth and sixth AND elements, a second register and a second C-trigger, whose R and C inputs are connected respectively to the first and second inputs of the controlled generator pulses. D-input - to the bus permission level, and the output - to the first inputs of the fifth and sixth elements. I. the outputs of which are respectively connected to the first and second outputs of the controlled pulse generator, the third and fourth inputs of which SU. 1164886SU. 1164886 1 164886 го соответственно подключены к входу записи второго регистра и входу записи счетчика импульсов, а пятые входы соединены с соответствующими информационными входами второго, регистра,выходы которого подключены к соответствующим информационным вхо дам счетчика импульсов, выход которого соединен с. вторым входом пятого элемента И, а счетный вход с выходом эталонного генератора и вторым входом шестого элемента И.1 164886, respectively, are connected to the recording input of the second register and the input of the pulse counter recording, and the fifth inputs are connected to the corresponding information inputs of the second register, the outputs of which are connected to the corresponding information inputs of the pulse counter, the output of which is connected to. the second input of the fifth element And, and the counting input with the output of the reference generator and the second input of the sixth element I.
SU843692703A 1984-01-19 1984-01-19 Number-to-pulse-width code converter SU1164886A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU843692703A SU1164886A1 (en) 1984-01-19 1984-01-19 Number-to-pulse-width code converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU843692703A SU1164886A1 (en) 1984-01-19 1984-01-19 Number-to-pulse-width code converter

Publications (1)

Publication Number Publication Date
SU1164886A1 true SU1164886A1 (en) 1985-06-30

Family

ID=21100533

Family Applications (1)

Application Number Title Priority Date Filing Date
SU843692703A SU1164886A1 (en) 1984-01-19 1984-01-19 Number-to-pulse-width code converter

Country Status (1)

Country Link
SU (1) SU1164886A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
1. Авторское свидетельство СССР. № 708508. кл. Н 03 К 13/20, 1980. 2.. Авторское свидетельство СССР № 1064458,кл. Н 03 К.13/20, 1983 (прототип). . ,. *

Similar Documents

Publication Publication Date Title
KR970704264A (en) Digital Pulse Width Modulator with Integrated Test and Control
SU1164886A1 (en) Number-to-pulse-width code converter
SU1064458A1 (en) Code/pdm converter
SU1474847A1 (en) Recirculating code-to-time-interval converter
RU2111608C1 (en) Digital modulator of induction motor frequency changer
SU1615744A2 (en) Digital linear interpolator
SU1259311A1 (en) Device for counting piece articles
SU1156070A1 (en) Device for multiplying frequency by code
SU1647903A2 (en) Code-to-pulse repetition period converter
SU1100621A1 (en) Function generator
SU1709530A1 (en) Code-to-frequency converter
SU1094022A1 (en) Digital control
SU1179273A1 (en) Programmed control device
JP3555726B2 (en) Pulse generator
SU1151990A1 (en) Multichannel selective measuring device
SU1667254A1 (en) Number-to-time converter
RU1793545C (en) Converter from code to pulse-width signal
SU424119A1 (en) DEVICE FOR CONTROLLING STEP ENGINES
RU2050688C1 (en) Digital generator of sine-shaped signals
SU450162A1 (en) Tunable phase-pulse multi-stable element
SU1336248A1 (en) Encoder
SU1221743A1 (en) Controlled pulse repetition frequency divider
SU1751845A1 (en) Pulse-width modulator
SU1034172A1 (en) Number/interpulse time interval converter
SU743038A1 (en) Shift register testing device