SU1647516A1 - Device for stepped motor control - Google Patents

Device for stepped motor control Download PDF

Info

Publication number
SU1647516A1
SU1647516A1 SU884603586A SU4603586A SU1647516A1 SU 1647516 A1 SU1647516 A1 SU 1647516A1 SU 884603586 A SU884603586 A SU 884603586A SU 4603586 A SU4603586 A SU 4603586A SU 1647516 A1 SU1647516 A1 SU 1647516A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
output
flip
flop
pulse
Prior art date
Application number
SU884603586A
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 SU884603586A priority Critical patent/SU1647516A1/en
Application granted granted Critical
Publication of SU1647516A1 publication Critical patent/SU1647516A1/en

Links

Landscapes

  • Control Of Stepping Motors (AREA)
  • Control Of Position Or Direction (AREA)

Abstract

Изобретение относитс  к автоматике и вычислительной технике и предназначено дл  использовани  в системах программного управлени . Цель - упрощение устройства„ Устройство дл  управлени  шаговым двигателем содержит блок 1 задани  перемещени , счетчик 2 импульсов, второй D-триггер З, первый D-триггер 4, элемент И-НЕ 5, генератор 6 импульсов, элемент И 7, мультиплексор 8, формирователь 9 импульсов,The invention relates to automation and computing and is intended for use in software control systems. The purpose is to simplify the device. The device for controlling a stepper motor comprises a movement setting unit 1, a pulse counter 2, a second D-flip-flop 3, a first D-flip-flop 4, an AND-HE element 5, a 6-pulse generator, an AND 7 element, a multiplexer 8, a driver 9 pulses

Description

Изобретение относитс  к автомати20The invention relates to automatic20

2525

ке и вычислительной технике и предназначено дл  использовани  в системах программного управлени ke and computing technology and is intended for use in software control systems

Цель изобретени  - упрощение устройстваThe purpose of the invention is to simplify the device.

На фиг. 1 представлена схема устройства дл  управлени  шаговым двигателем; на фиг, 2 - временна  диаграмма работыоFIG. 1 shows a diagram of a device for controlling a stepper motor; FIG. 2 is a time diagram of operation.

Устройство содержит блок 1 задани  перемещени , счетчик 2 импульсов, 30 второй 3 и первый 4 D-триггеры, элемент И-НЕ 5, генератор 6 импульсов, элемент И 7, мультиплексор 8, формирователь 9 импульсов, коммутатор 10, шаговый двигатель 11, датчик 12 ис- 35 ходного положени „The device contains a movement setting unit 1, a pulse counter 2, 30 second 3 and first 4 D-flip-flops, an AND-NE element 5, a pulse generator 6, an AND 7 element, a multiplexer 8, a pulse shaper 9, a switch 10, a stepper motor 11, a sensor 12 starting position 35

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

Число импульсов в пачке устанавливаетс  параллельным кодом в блоке 1 40 задани  перемещени  и записываетс  в счетчик 2 импульсов (активным уровнем Логс0) сигналом по входу Сброс при включении питани  или изменении кода Сигнал поступает че- 5 рез элемент И 7 на вход записи параллельной загрузки счетчика 2 импульсов Управл ющее устройство по входу + вырабатывает информацию о знаке направлени  вращени  шагового 50 двигател  и формирует сигнал Выполнение , который поступает на управл ющий вход мультиплексора 8 и тактируемый фронтом импульса синхровход -триггеров 4 и 3 с Так как D-входы 55 подсоединены к шине с уровнем сигнала , равным логической единице (), D-триггеры З и 4 устанав0The number of pulses in a pack is set by a parallel code in block 1 40 of the movement task and is written to the counter of 2 pulses (active level Logs0) by the input signal. Reset when powering on or changing the code. The signal is fed through element 7 to the input of the parallel loading record of counter 2. pulse control device at the input + generates information about the sign of the direction of rotation of the stepper motor 50 and generates a signal Execution, which is fed to the control input of the multiplexer 8 and clocked by the front of the pulse with nhrovhod -triggerov 4 and 3 Since D-inputs connected to a bus 55 with a signal level equal to the logical unit (), D-flip-flops 4 and Z ustanav0

5five

0 5 0 5

0 5 0 5 0 5 0 5

ливаютс  в единичное состо ниеf Сигнал с выхода D-триггера 4 открывает элемент И-НЕ 5 и частота генератора 6 импульсов поступает на вычитающий вход счетчика 2 и коммутатор 10 (коммутатор типа ТЗУШ-1)СThe signal from the output of D-flip-flop 4 opens the element AND-NOT 5 and the frequency of the generator 6 pulses is fed to the subtracting input of counter 2 and the switch 10 (switch type TZUSH-1) C

Мультиплексор 8 под воздействием сигнала Выполнение (уровень Лог,.11) коммутирует на R-вход D- триггера 4 сигнал с выхода формировател  9 импульсов. Формирователь 9 импульсов формирует короткий импульс при срабатывании датчика 12 исходного положени  о При отсутствии сигнала Выполнение (уровень Лог, 0) мультиплексор коммутирует на R-вход триггера 4 сигнал окончани  счета с выхода счетчика 2Ь Таким образом, при наличии сигнала Выполнение сброс триггера 4 (окончание формировани  импульсов) происходит только после срабатывани  датчика 12, а при отсутствии - сигналом ее счетчика 2The multiplexer 8 under the influence of the signal Execution (Log level, .11) switches to the R-input of the D-flip-flop 4 a signal from the output of the driver 9 pulses. The pulse shaper 9 generates a short pulse when the sensor 12 of the initial position triggers. If there is no signal Execution (Log level, 0), the multiplexer switches the R-input of the trigger 4 to the counting signal from the output of the counter 2b. Thus, if there is a signal, it performs reset of the trigger 4 (ending the formation of pulses) occurs only after the sensor 12 triggers, and in the absence of a signal, its counter 2

Внешнее устройство формирует сигнал Выполнение так, что при выходе исполнительного органа в точку позиционировани , остановка шагового двигател  происходит по сигналу со счетчика 2, а при выходе в исходное состо ние - по сигналу с датчика 12 Коммутатор 10 преобразует импульсы в последовательность токов в обмотках шагового двигател  11с Сигнал с выхода D-триггера З поступает на выход Готовность, информиру  внешнее устройство о начале формировани  первой пачки импульсов, которое формирует импульс по входу Запись и сбрасывает триггер 3„ После считывани  числа на выходе счетчика 2 импульсовAn external device generates a signal. The execution in such a way that when the actuator leaves the positioning point, the stepping motor stops at a signal from counter 2, and when it returns to its initial state - at a signal from sensor 12 Switch 10 converts the pulses into a sequence of currents in the stepper motor windings 11c. The signal from the D-flip-flop output H is sent to the Ready exit, informing the external device about the beginning of the formation of the first burst of pulses, which generates a pulse at the input Record and resets the trigger 3 Do not read the number at the output of the counter 2 pulses

516516

формируетс  сигнал, который поступает на вход элемента И и производит перезапись кода в счетчик. Сигнал со счетчика также поступает на S-вход D-триггера З и формирует сигнал Готовностьa signal is generated which enters the input of the AND element and rewrites the code in the counter. The signal from the counter also goes to the S-input of the D-flip-flop Z and forms the Ready signal

Сигнал Запись снова сбрасывает триггер 3 и цикл повтор етс  до тех пор, пока общее количество импульсов по входу Готовность станет равным необходимому количеству пачек в серии импульсов. После этого внешнее управл ющее устройство снимает сигнал Выполнение, тем самым мультиплексор 8 коммутирует на R-вход триггера 4 сигнал с выхода счетчика 2 импульсов. После считывани  числа сигнал с его выхода сбрасывает D-триггер 4. Формирование серии импульсов на этом.за- канчиваетс  и вращение шаговых двигателей прекращаетс .The Record signal resets Trigger 3 again and the cycle repeats until the total number of pulses at the input Readiness becomes equal to the required number of packs in a series of pulses. After that, the external control device removes the Execution signal, thereby the multiplexer 8 switches the signal from the output of the 2-pulse counter to the R-input of trigger 4. After reading the number, the signal from its output resets the D-flip-flop 4. The formation of a series of pulses on this is terminated and the rotation of the stepper motors is stopped.

Подсчет необходимого количества пачек импульсов производитс  вычислительным управл ющим устройством путем подсчета количества активных уровней сигнала по шине Готовность „ Дл  удобства управлени  можно разбить все поле действи  исполнительного механизма на координатную сетку с ша- гом, кратным перемещению механизма при отработке шаговым двигателем одной пачки импульсов. Б программе управлени  вычислительного устройства достаточно указать координаты точек позиционировани  исполнительного механизма . Последовательность таких координат определ ет последовательность и геометрию перемещений.Дл  выхода механизма в требуемую точку вычислительное управл ющее устройство считывает координаты, Формирует управл ющие сигналы в необходимой последовательности .Calculation of the required number of bursts of pulses is made by a computational control device by counting the number of active signal levels on the bus Ready. For ease of control, the entire field of action of the actuator can be divided into a grid with a step multiplying the movement of the mechanism when the stepper motor develops one batch of pulses. In the control program of the computing device, it is sufficient to indicate the coordinates of the positioning points of the actuator. The sequence of such coordinates determines the sequence and geometry of displacements. For the output of the mechanism to the desired point, the computational control device reads the coordinates, Generates control signals in the required sequence.

При установке исполнительного ор- гана в исходное состо ние формируютс  сигналы + и Выполнение и анализируетс  сигнал с выхода датчика исходного полохсени . Мультиплексор 8 коммутирует на вход D-триггера 4 сигнал с выхода формировател  9 импульсов . При срабатывании датчика 12 исходного положени  формирователь 9 импульсов выдает узкий импульс и сбрасывает D-триггер„ Внешнее управл ю- щее устройство снимает сигнал Выполнение и сбрасывает D-триггер З.When the actuator is installed in the initial state, the signals + are generated and the Execution and the signal from the sensor output of the initial half-array is analyzed. The multiplexer 8 commutes to the input of the D-flip-flop 4 a signal from the output of the driver 9 pulses. When the initial position sensor 12 is triggered, the pulse shaper 9 emits a narrow pulse and resets the D-flip-flop. The external control device removes the Run signal and resets the D-flip-flop Z.

Преимущество изобретени  заключаетс  в использовании минимального ко16The advantage of the invention is the use of a minimum of 16

личества св зей с внешним вычислительным устройством, что существенно при использовании в качестве такового контроллеров, не имеющих внешних шин адреса и данных и работающих только с унитарными сигналами (например контроллеры программируемые ГСП Микро ДАТ МБ 5700), а также отпадает необходимость использовани  счетчика большой разр дности,,communication with an external computing device, which is significant when using controllers that do not have external buses for address and data and work only with unitary signals (for example, programmable GPS controllers Micro DAT MB 5700), and also eliminates the need for a large counter ,,

В устройстве сигнал с датчика обрабатываетс  аппаратной частью и производитс  остановка перемещени , после этого выполн етс  программа обработки сигнала в программном управл ющем устройстве (принимаетс  решение о дальнейших действи х: формирование технологической команды, начало нового цикла и т.д)0 Это позвол ет повысить точность позиционировани  за .счет уменьшени  времени реакции устройства на сигнал датчика Если врем  задержки сигнала аппаратной частью в среднем не превышает задержку 3.„ 5 элементов серии ТТЛ (дл  К 155-5 К 22 не 110 не), то дл  программной обработки этот тервал значительно больше0 Например, при использовании в узле управлени  микропроцессора типа К580ВМ80 врем  выполнени  п ти-восьми простейших операций типа регистр - регистр, необходимых дл  обработки сигнала, составл ет мкс 16 мкс.In the device, the signal from the sensor is processed by the hardware and motion is stopped, then the signal processing program in the software control device is executed (a decision is made on further actions: forming a technological command, beginning a new cycle, etc.) 0 This allows increasing positioning accuracy by reducing the response time of the device to the sensor signal If the hardware delay time on the hardware does not exceed an average delay of 3. „5 elements of the TTL series (for K 155-5 K 22 not 110 This interval is significantly longer for software processing. For example, when using a K580BM80 microprocessor control node, the execution time of five to eight simplest operations such as a register — the register required for signal processing is 16 µs.

Кроме этого, использование нескольких таких устройств обеспечивает одновременное управление несколькими шаговыми двига гел ми одним цифровым вычислительным устройством.In addition, the use of several such devices provides simultaneous control of several stepper motors with one digital computing device.

Claims (1)

Формула изобретени Invention Formula Устройство дл  управлени  шаговым двигателем, содержащее генератор импульсов , соединенный выходом с первым входом элемента И-НЕ, подключенного выходом к вычитающему входу счетчика импульсов и к информационному входу коммутатора, второй вход элемента И-НЕ подключен к выходу первого D-триггера, соединенного с выходом Выполнение устройства дл  управлени  шаговым двигателем, R-вхо второго D-триггера соединен с входом Запись устройства дл  управлени  шаговым двигателем, вход Готовность которого подключен к выходу второго D-триггера, отличающеес A device for controlling a stepper motor, comprising a pulse generator connected by an output to a first input of an NAND element connected by an output to a subtractive input of a pulse counter and to an information input of a switch, the second input of an NID element connected to the output of a first D-flip-flop connected to an output The execution of the device for controlling the stepper motor, the R-in of the second D-flip-flop is connected to the input. Record of the device for controlling the stepping-motor, the Ready input of which is connected to the output of the second D-flip-flop, is different yuschees тем, что, сг целью упрощени  устрой- ства, в него дополнительно введены блок задани  перемещени , датчик исходного положени , формирователь им- пульсов, элемент И и мультиплексор; управл ющий вход которого соединен с входом Выполнение устройства дл  управлени  шаговым двигателем   с С-входами первого и второго D-тригге- ров, первый информационный вход - с выходом последнего разр да счетчика импульсов, с первым входом элементаin order to simplify the device, in addition to it, a motion task unit, an initial position sensor, a pulse shaper, an AND element and a multiplexer are introduced; the control input of which is connected to the input Execution of a device for controlling a stepper motor with C inputs of the first and second D-trigger, the first information input with the output of the last digit of the pulse counter, with the first input of the element i i JQ Jq 64751686475168 i И и с S-входом второго D-триггера, а второй информационный вход - с выходом формировател  импульсов, вход которого соединен с выходом датчика исходного положени , вход записи счетчика импульсов соединен с выходом элемента И, второй вход которого подключен к входу Сброс устройства дл  управлени  шаговым двигателем, выходы блока задани  перемещени  поразр дно соединены с группой информационных входов счетчика импульсовi And with the S-input of the second D-flip-flop, and the second information input with the output of the pulse former, the input of which is connected to the output of the initial position sensor, the write input of the pulse counter is connected to the output of the And element, the second input of which is connected to the Reset input of the device for control of the stepper motor, the output blocks of the task for moving the bit are connected to a group of information inputs of the pulse counter Редактор И„ШуллаEditor And „Shulla Составитель И„Швец Техред Л.СердюковаCompiled by And „Shvets Tehred L. Serdyukova Фиг. 2FIG. 2 Корректор С.ШекмарProofreader S. Shekmar
SU884603586A 1988-11-09 1988-11-09 Device for stepped motor control SU1647516A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU884603586A SU1647516A1 (en) 1988-11-09 1988-11-09 Device for stepped motor control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU884603586A SU1647516A1 (en) 1988-11-09 1988-11-09 Device for stepped motor control

Publications (1)

Publication Number Publication Date
SU1647516A1 true SU1647516A1 (en) 1991-05-07

Family

ID=21408586

Family Applications (1)

Application Number Title Priority Date Filing Date
SU884603586A SU1647516A1 (en) 1988-11-09 1988-11-09 Device for stepped motor control

Country Status (1)

Country Link
SU (1) SU1647516A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР № 807233, кл„ G 05 В 19/40, 1980„ Авторское свидетельство СССР К 993212, кл„ О 05 В 19/40, 1981. l *

Similar Documents

Publication Publication Date Title
KR0119875Y1 (en) Circuit for slowing portion of microprecessor operating cycle in all successive operating cycles rogardless of whether a shoow device is accessed in the portion of any operating cycle
SU1647516A1 (en) Device for stepped motor control
US4144447A (en) Interval timer
JP2773546B2 (en) Pulse generation circuit
EP1164483B1 (en) System and method for reducing jitter in a signal
JP2808548B2 (en) Processor operation state transition control device from current state to subsequent state
RU1805450C (en) Multichannel device for numeric control of stepping motors
SU1481714A2 (en) Multichannel program-controlled stepping motor controller
SU1012207A1 (en) Stepping motor program control device
SU1198461A1 (en) Programmed control device
SU1411726A1 (en) Information input device
SU1660150A1 (en) Pulse duration driver
SU1320794A1 (en) Multichannel device for programmed control of stepping motors
SU1405028A1 (en) Program control module
SU502372A1 (en) Software driver
SU1569804A1 (en) Program control device
SU1571571A1 (en) Device for information input
SU1651289A1 (en) Device for control of pulse sequence
SU1372330A1 (en) Device for connecting microprocessor with external devices
SU1509888A1 (en) Apparatus for priority distribution of tasks
SU909793A1 (en) Multichannel device for control of converter
SU1238035A1 (en) Programmed control device
SU694832A2 (en) Programmed control device
SU624230A1 (en) Arrangement for control of operation sequence
SU1486992A1 (en) Multichannel interpolating device for program control of stepping motors