SU1200248A1 - Programmed control device for step motor - Google Patents

Programmed control device for step motor Download PDF

Info

Publication number
SU1200248A1
SU1200248A1 SU843750606A SU3750606A SU1200248A1 SU 1200248 A1 SU1200248 A1 SU 1200248A1 SU 843750606 A SU843750606 A SU 843750606A SU 3750606 A SU3750606 A SU 3750606A SU 1200248 A1 SU1200248 A1 SU 1200248A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
output
block
counter
unit
Prior art date
Application number
SU843750606A
Other languages
Russian (ru)
Inventor
Юрий Григорьевич Бондаренко
Владимир Петрович Коломиец
Юрий Иванович Тищенко
Original Assignee
Предприятие П/Я Г-4220
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 Предприятие П/Я Г-4220 filed Critical Предприятие П/Я Г-4220
Priority to SU843750606A priority Critical patent/SU1200248A1/en
Application granted granted Critical
Publication of SU1200248A1 publication Critical patent/SU1200248A1/en

Links

Landscapes

  • Control Of Stepping Motors (AREA)

Abstract

УСТРОЙСТВО ДЛЯ ПРОГРАММНОГО УПРАВЛЕНИЯ ШАГОВЫМ ДВИГАТЕЛЕМ, содержащее блок задани  программы, шаговый двигатель, формирователь синхроимпульса , выход которого соединен с первым входом вычитающего счетчика, первым выходом соединенного с первым входом элемента И, второй вход которого подключен к выходу генератора импульсов и к первому входу формировател  синхроимпульса, а выход - к второму входу вычитающего счетчика и к первому входу коммутатора, о т л ичающеес  тем, что, с целью повышени  надежности устройства в ра-. боте, в него введены элементы ИЛИ, последовательно соединенные блок пам ти, первьй элемент И-НЕ, арифметический блок и формирователь стробимпульса , а также последовательно соединенные блок датчиков тока, суммирующий счетчик и второй элемент И-НЕ, выход которого подключен к второму входу арифметического блока, вторым выходом соединенного с, входом блока задани  программы, причем первые выходы блока задани  программы и арифметического блока через первый элемент ИЖ подключены к первому входу блока пам ти, второй выход блока задани  программы и третий выход арифметического, блока через второй элемент ИЛИ - к второму входу блока пам ти, а третий выход блока задани  программы и выход формировател  строб-СЛ импульса через третий элемент ИЛИ к третьему входу блока пам ти, второй выход которого соединен с вторым входом коммутатора, выход которого через блок датчиков тока подключен к входу шагового двигател , первый выход блока пам ти соединен с третьим ьо входом вычитающего счетчика,, второй выход которого подключен к вторым входам элементов И-НЕ, а выход тре1с тьего элемента ИЛИ соединен с вторым 4 входом формировател  синхроимпульса, 00 вьгход которого подключен к второму входу суммирующего счетчика.A DEVICE FOR SOFTWARE CONTROL of a STEP ENGINE, containing a program setting block, a stepping motor, a clock generator, the output of which is connected to the first input of a deducting counter, a first output connected to the first input of the And element, the second input of which is connected to the output of the pulse generator and to the first input of the synchro pulse generator and the first input of the synchro pulse generator. and the output is to the second input of the subtracting counter and to the first input of the switch, which is so that, in order to increase the reliability of the device in pa-. the OR, elements connected in series, a memory block, the first NAND element, an arithmetic unit and a strobe pulse former, as well as a series of current sensor blocks, a summing counter and a second NAND element, whose output is connected to the second input of the arithmetic block, the second output connected to, the input of the program setting block, the first outputs of the program setting block and the arithmetic block through the first IZH element connected to the first input of the memory block, the second output of the set block programs and the third output of the arithmetic unit through the second element OR to the second input of the memory unit, and the third output of the program setting block and the output of the strobe-SL generator of the pulse through the third OR element to the third input of the memory unit, the second output of which is connected to the second input switch, the output of which is connected to the input of the stepper motor through the current sensor unit, the first output of the memory unit is connected to the third input of the deducting counter, the second output of which is connected to the second inputs of the NAND elements and the output is its element OR is connected to the second 4 input of the sync pulse generator, whose 00 input is connected to the second input of the summing counter.

Description

. I  . I

Изобретение относитс  кавтоматике и вычиспителыГой технике и предназначено дл  использовани  в системах управлени  на базе цифровых вычислительных машин (ЦВМ).The invention relates to automatics and computing devices and is intended for use in control systems based on digital computers.

Цель изобретени  - повышение надежности работы устройства.The purpose of the invention is to increase the reliability of the device.

На чертеже приведена функциональна  схема устройства дл  программного управлени  шаговым двигателем,The drawing shows a functional diagram of the device for software control of a stepper motor,

Устройство содержит блок 1 задани  программы, элементы ИЛИ 2-4, блок 5 пам ти, формирователь 6 синхроимпульса , генератор 7 импульсов, вычитающий счетчик 8, элемент И 9, .коммутатор 10, блок 11 датчиков тока, шаговый двигатель(ВД) 12, суммирующий счетчик 13, арифметический блок 1.4, формирователь 15 стробимпульса , злементы И-НЕ 16 и 17.The device contains a program setting block 1, elements OR 2-4, memory block 5, clock generator 6, pulse generator 7, subtracting counter 8, AND 9 element, switch 10, current sensor block 11, stepper motor (VD) 12, a summing counter 13, an arithmetic unit 1.4, a pulse generator 15, and NANDA 16 and 17.

Устройство работает следующим .образом .The device works as follows.

В первьй момент времени устройство обнулено и с первого выхода арифметического блока 14 код поступает на информационн гй вход блока 5 пам ти, С второго выхода блока 1 задани  программы код, определ ющий направление вращени  ШЦ.12, через элемент ИЛИ 3 поступает на второй вход блока 5 пам ти. По приходу стробирующего импульса с третьего выхода блока 1 задан |  программы через элемент ИЛИ. 4 на третий вход блока 5 пам ти происходит запись кода в блок 5 пам ти. Этот же. стробйрукнций импульс поступает на формирователь 6 .синхроимпульса и разрешает вьщеление синхроимпульса из последовательности импульсов, вырабатываемых генератором, 7 импульсов. Синхроимпульс обеспечивает перезапись кода из блока 5 пам ти в вычитающий счетчик 8 и обнул ет счетчик 13, На первом выходе счетчика 8 образуетс  высокий потенциал, который открывает элемент И 9, На втором выхоле вычитающего счетчика 8 образуетс  низкий потенциал, который закрывает элементы И-НЕ 16 и 17. Через открытый элемент И 9 на счетный вход вычитающего счетчика 8 и на первый вход коммутатора 10 поступает пакет импульсов от генератора 7 импульсов. В коммутаторе 10 происходит преобразование пакета импульсов в п-канапьную последовательность импульсов, а также усиление этих импульсов по мощности . С выхода коммутатора п-ка00248 2At the first moment of time, the device is reset to zero, and from the first output of the arithmetic unit 14, the code goes to the information input of the memory block 5, From the second output of the program setting block 1, the code that determines the direction of rotation of the ShTs.12 goes through the OR 3 element to the second input of the block 5 memories. Upon the arrival of the strobe pulse from the third output of block 1, | programs through the element OR. 4, a code is written to the memory block 5 at the third input of the memory block 5. The same. A strobruktion pulse arrives at the 6th sync pulse shaper and allows the sync pulse to be distributed from a sequence of pulses produced by the generator, 7 pulses. The sync pulse overwrites the code from memory block 5 into subtractive counter 8 and zeroes counter 13, At the first output of counter 8, a high potential is formed, which opens And 9, At the second exit of the subtractive counter 8, a low potential is formed, which closes AND-NOT elements 16 and 17. Through the open element And 9 to the counting input of the subtracting counter 8 and to the first input of the switch 10 receives a packet of pulses from the generator 7 pulses. In the switch 10, the pulse packet is converted into an n-canon pulse train, and the pulses are also amplified in power. From the switch output p-ka00248 2

-нальна  последовательность импульсов через блок 11 датчиков тока поступает на п-фазный ШД 12, С второго выхода блока 5 пам ти на второй вход - коммутатора 10 поступает логический сигнал, в зависимости от уровн  которого в -коммутаторе 10 вырабатываетс  -либо пр ма ,, либо обратна  последовательность импульсов, котора  определ ет направление вращени ,  - the sequence of pulses through the current sensors block 11 goes to the n-phase SM 12, the second output of the memory block 5 to the second input of the switch 10 receives a logical signal, depending on the level of which in the switch 10 is generated, or right, or a reverse pulse sequence that determines the direction of rotation,

10 ШД 12.10 Step 12.

На выходе блока 11 датчиков тока формируетс  одноканальна  последовательность импульсов, каждый импульс которой формируетс  лишь в At the output of block 11 of current sensors, a single-channel sequence of pulses is formed, each pulse of which is formed only in

15 случае прохождени  тока через любую обмотку ШД 12. Эта последовательность импульсов, .количество которых соответствует количеству шагов, отработанных ШД 12, поступает на счетный 15 if the current passes through any winding of the SM 12. This sequence of pulses, the number of which corresponds to the number of steps worked by the SM 11, goes to the counting

20 вход суммирующего счетчика 13, где происходит их суммирование. .20 input summing counter 13, where they are summed up. .

После считывани  числа, записанного в вычитающем счетчике 8, на его первом выходе устанавливаетс  низкий After reading the number written in subtractive counter 8, its first output is set to low.

25 потенциал, закрывающий элемент И 9 и запрещающий прохождение ийпульсов с генератора 7 импульсов. На втором выходе счетчика 8 устанавливаетс  высокий потенциал, открывающий 25 potential, the closing element And 9 and prohibiting the passage of impulses from the generator 7 pulses. At the second output of the counter 8, a high potential is established, opening

30 элементы И-НЕ. 16 и 17, разреша  работу арифметическо гр блока.30 elements AND NOT. 16 and 17, allowing the operation of the arithmetic c block.

Число,- записанное в суммирующем счетчике 13, поступает на первый вход арифметического блока 14. На 5 второй вход арифметического блока 14 поступает число, .записанное в блоке 5 пам ти. В арифметическом блоке-14 происходит ;поразр дное сравнение двух чисел. Если числа равны, на первом The number, recorded in summing counter 13, arrives at the first input of the arithmetic unit 14. At 5, the second input of the arithmetic unit 14 receives the number recorded in memory block 5. In the arithmetic unit-14 occurs; bitwise comparison of two numbers. If the numbers are equal, on the first

40 выходе арифметического блока формируетс  сигнал, который поступает на вход блока 1 задани  программы. Этот.. сигнал разрешает блоку 1- задани  программы выдачу следующей команды.The output of the arithmetic unit 40 generates a signal that is fed to the input of the unit 1 of the program task. This .. signal permits the unit 1-set the program to issue the following command.

4545

Если числа не. равры, то разрешени  на вьздачу новой команды блоку 1. задани  программы невыдаетс . В этом случае на втором выходе арифметическог го блока 14 образуетс  разность меж50 ду двум  числами, котора  через элемент ИЛИ 2 поступает на информацион ньй вход блока 5 и на вход формировател  15 строб-импульса. С третьего выхода арифметического блока 14 выдаетс  сигнал разности, который через элемент ИЛИ 3 подаетс  на второй вход -.блока 5 пам ти. Формирователь 15 строб-импульса формирует импульс, который запускает схему аналогично стробирующему импульсу, поступающему с блока 1 задани  программы.If the numbers are not. However, no permission is given for the installation of a new team to block 1. The task of the program is not issued. In this case, at the second output of the arithmetic unit 14, a difference between 50 two numbers is formed, which through the element OR 2 enters the information input of the unit 5 and the input of the gate generator 15. From the third output of the arithmetic unit 14, a difference signal is output, which through the element OR 3 is fed to the second input-block 5 of the memory. The strobe pulse shaper 15 generates a pulse that triggers the circuit in a manner similar to a gating pulse coming from block 1 of the program's task.

Таким образом, устройство будет отрабатывать первую команду, посту- пающую с блока 1 задани  программы до тех пор, пока арифметический блокThus, the device will work out the first command, coming from block 1 of the program's task, until the arithmetic unit

14 не вьщаст разрешени  на дццачу . новой команды. .14 do not provide permission for dtsachu. new team. .

Изобретение позвол ет повысить надежность устройства путем введени  контрол  прохождени  через обмотки ШД импульсов управлени .The invention makes it possible to increase the reliability of the device by introducing control of the passage of control pulses through the windings of the SM.

Claims (1)

УСТРОЙСТВО ДЛЯ ПРОГРАММНОГО УПРАВЛЕНИЯ ШАГОВЫМ ДВИГАТЕЛЕМ, содержащее блок задания программы, шаговый двигатель, формирователь синхроимпульса, выход которого соединен с первым входом вычитающего счетчика, первым выходом соединенного с первым входом элемента И, второй вход которого подключен к выходу генератора импульсов и к первому 'входу формирователя синхроимпульса, а выход - к второму входу вычитающего счетчика и к первому входу коммутатора, о т л ичающееся тем, что, с целью повышения надежности устройства в работе, в него введены элементы ИЛИ, последовательно соединенные блок памяти, первый элемент И-НЕ, арифметический блок и формирователь стробимпульса, а также последовательно соединенные блок датчиков тока, суммирующий счетчик и второй элемент И-НЕ, выход которого подключен к второму входу арифметического блока, вторым выходом соединенного с. входом блока задания программы, причем первые выходы блока задания программы · и арифметического блока через первый элемент ИЛИ подключены к первому входу блока памяти, второй выход блока задания программы и третий выход арифметического, блока через второй элемент ИЛИ - к второму входу блока памяти, а третий выход блока задания q программы и выход формирователя строб-® импульса через третий элемент ИЛИ к третьему входу блока памяти, второй выход которого соединен с вторым входом коммутатора, выход которого через блок датчиков тока подключен к входу шагового двигателя, первый выход блока памяти соединен с третьим входом вычитающего· счетчика,, второй выход которого подключен к вторым входам элементов И-НЕ, а выход третьего элемента ИЛИ соединен с вторым входом формирователя синхроимпульса, выход которого подключен к второму входу суммирующего счетчика.DEVICE FOR PROGRAM CONTROL OF A STEP ENGINE, containing a program setting unit, a stepper motor, a sync pulse shaper, the output of which is connected to the first input of the subtracting counter, the first output connected to the first input of the And element, the second input of which is connected to the output of the pulse generator and to the first 'input of the shaper clock, and the output is to the second input of the subtracting counter and to the first input of the switch, which consists in the fact that, in order to increase the reliability of the device in operation, ele OR copies, a memory block connected in series, a first AND-NOT element, an arithmetic block and a strobe generator, as well as a series of current sensor blocks, a totalizing counter and a second AND-NOT element, the output of which is connected to the second input of the arithmetic block, the second output connected to . the input of the program unit, and the first outputs of the program unit · and the arithmetic unit through the first OR element are connected to the first input of the memory unit, the second output of the program unit and the third output of the arithmetic unit through the second OR element to the second input of the memory unit, and the third the output of the program task block q and the output of the strobe-® pulse generator through the third OR element to the third input of the memory block, the second output of which is connected to the second input of the switch, the output of which is connected through the current sensor block is connected to the input of the stepper motor, the first output of the memory block is connected to the third input of the subtracting counter, the second output of which is connected to the second inputs of the NAND elements, and the output of the third OR element is connected to the second input of the clock generator, the output of which is connected to the second input of the summing counter.
SU843750606A 1984-06-07 1984-06-07 Programmed control device for step motor SU1200248A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU843750606A SU1200248A1 (en) 1984-06-07 1984-06-07 Programmed control device for step motor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU843750606A SU1200248A1 (en) 1984-06-07 1984-06-07 Programmed control device for step motor

Publications (1)

Publication Number Publication Date
SU1200248A1 true SU1200248A1 (en) 1985-12-23

Family

ID=21122821

Family Applications (1)

Application Number Title Priority Date Filing Date
SU843750606A SU1200248A1 (en) 1984-06-07 1984-06-07 Programmed control device for step motor

Country Status (1)

Country Link
SU (1) SU1200248A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР № 734619, кл, G 05 В 19/40, 1980. Авторское свидетельство СССР № 628464, кл. G 05 В 19/40, 1978. *

Similar Documents

Publication Publication Date Title
SU1200248A1 (en) Programmed control device for step motor
US4323970A (en) Method and circuit arrangement for generating setting signals for signal generators of a traffic signal system, particularly a street traffic signal system
SU1605214A1 (en) Device for monitoring process variables
RU2050583C1 (en) Device for sorting number sequences
SU408279A1 (en) FEEDBACK SENSOR FOR CONTROL DEVICES WITH STEP-UP MOTORS
SU739526A1 (en) Device for comparing two numbers
SU485392A1 (en) Digital Time Discriminator
SU1541587A2 (en) Timer
SU1226455A1 (en) Microprogram control device
SU1341653A1 (en) Parameters checking device
SU1410048A1 (en) Computing system interface
SU1160245A1 (en) Liquid level discrete transmitter
SU860110A1 (en) Device for checking executive mechanism displacements
SU1001422A1 (en) Device for control of multiphase stepping motor
SU1256181A1 (en) Pulse repetition frequency multiplier
SU1163320A1 (en) Information input device
SU930628A1 (en) Pulse discriminator
SU590825A1 (en) Coder
SU1524027A1 (en) Digital frequency regulator
SU928341A1 (en) Device for determination of maximum number out of number row
RU2006926C1 (en) Device for analog data input in digital computer
SU708348A1 (en) Arrangement for computing the difference of two numbers
SU1091113A2 (en) Time-interval counter
SU1659997A1 (en) Comparison number device
SU898390A2 (en) Tolerance control device