SU1509832A1 - Module for program control of electric drive - Google Patents

Module for program control of electric drive Download PDF

Info

Publication number
SU1509832A1
SU1509832A1 SU874178081A SU4178081A SU1509832A1 SU 1509832 A1 SU1509832 A1 SU 1509832A1 SU 874178081 A SU874178081 A SU 874178081A SU 4178081 A SU4178081 A SU 4178081A SU 1509832 A1 SU1509832 A1 SU 1509832A1
Authority
SU
USSR - Soviet Union
Prior art keywords
output
input
counter
group
inputs
Prior art date
Application number
SU874178081A
Other languages
Russian (ru)
Inventor
Виталий Константинович Водопьянов
Валерий Николаевич Завьялов
Евгений Александрович Морщаков
Валерий Николаевич Цымбал
Василий Николаевич Яновский
Original Assignee
Предприятие П/Я Р-6668
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 Предприятие П/Я Р-6668 filed Critical Предприятие П/Я Р-6668
Priority to SU874178081A priority Critical patent/SU1509832A1/en
Application granted granted Critical
Publication of SU1509832A1 publication Critical patent/SU1509832A1/en

Links

Landscapes

  • Control Of Stepping Motors (AREA)

Abstract

Изобретение относитс  к автоматике и вычислительной технике и может быть использовано в системах программного управлени  электроприводом. Цель изобретени  - расширение функциональных возможностей за счет обеспечени  режима изменени  в реальном масштабе времени величины максимальной скорости движени  электропривода во врем  отработки заданного перемещени . Модуль дл  программного управлени  электроприводом содержит генератор 1 импульсов, управл емые делители 2,3 частоты, формирователи 9,18, триггер 13, элементы И 11, 12, 19-22, элементы НЕ 23, ИЛИ 14, блоки 8,17 сравнени , усреднитель 24, реверсивный счетчик 5 импульсов, счетчик перемещени  7 и разгона 6, коммутатор 10, регистры задани  4, максимальной 15 и минимальной 16 скорости. Регистры, счетчик перемещени  и формирователь 9 подключены к магистрали данных. Изобретение обеспечивает возможность неоднократного изменени  во врем  отработки заданного перемещени  величины максимальной скорости движени  электропривода с автоматическим определением участка разгона и торможени . 3 ил.The invention relates to automation and computer technology and can be used in software systems for controlling electric drives. The purpose of the invention is to expand the functionality by providing a real-time mode of change in the magnitude of the maximum speed of the electric drive during the processing of a given movement. The module for software control of the electric drive contains a generator of 1 pulses, controlled dividers of 2.3 frequencies, drivers 9.18, trigger 13, elements AND 11, 12, 19-22, elements NOT 23, OR 14, blocks 8.17 comparisons, averager 24, reversing counter 5 pulses, displacement counter 7 and acceleration 6, switch 10, registers of reference 4, maximum 15 and minimum speed 16. The registers, movement counter and driver 9 are connected to the data line. The invention provides the possibility of repeated changes during working out of a given movement of the maximum speed of the electric drive with automatic determination of the acceleration and deceleration area. 3 il.

Description

Изобретение относитс  к автоматике и вычислительной технике и может быть использовано в системах программного управлени  электроприводом , например в координатных столах , графопостроител х, автоматах с программным управлением, промышленных роботах, системах управлени  гибких производственных модулейThe invention relates to automation and computer technology and can be used in software systems for controlling electric drives, for example, in coordinate tables, plotters, automatic programmable machines, industrial robots, control systems for flexible production modules.

Цель изобретени  - расширение функциональных возможностей за счет обеспечени  режима изменени  в реальном масштабе времени величиныThe purpose of the invention is to expand the functionality by providing a real-time change mode of magnitude.

го управл емого делител  3 частоты, а также значени  управл ющих координатных сигналов + и - - дл  коммутатора 10 и признак .запуска модул  на выполнение разгона после занесени  данных в регистры модул , счетчик 7 перемещени  и первый формирователь 9.Controlled divider 3 frequencies, as well as the values of the control coordinate signals + and - - for switch 10 and the sign of starting the module to perform acceleration after entering data into the module registers, movement counter 7 and the first driver 9.

Реверсивный счетчик 5 импульсов служит дл  суммировани  импульсов разгона-торможени  при разгоне и вычитании при торможении, причем группа его выходов определ ет коэфA reversible pulse counter 5 is used to sum the acceleration and deceleration pulses during acceleration and subtraction during deceleration, and its output group determines the coefficient

максимальной скорости движени  элек- 15 Фициент делени  первого управл емотропривода во врем  отработки заданного перемещени .the maximum speed of movement of the elec- tive; 15, the dividing power of the first control of the electric drive during the working out of a specified movement.

На фиг,1 представлена структурна  схема устройства; на фиг,2 - график отработки заданного перемещени  без изменени  максимальной скорости движени  электропривода во врем  отработки перемещени ; на фиг.З - график отработки заданного перемещени  с изменени ми максимальной .скорости движени  электропривода во врем  отработки перемещени .Fig, 1 shows a block diagram of the device; Fig. 2 is a graph of testing a given movement without changing the maximum speed of movement of the electric drive during the processing of movement; Fig. 3 is a graph of the development of a given movement with changes in the maximum movement speed of the electric drive during the processing of movement.

Модуль (фиг,1) содерлсит генератор 1 импульсов, первьй 2 и второй 3 управл емые делители частоты, регистр А задани , реверсивный счетчик 5 импульсов, счетчик 6 разгона,счетчик 7 перемещени , первый блок 8 сравнени , первьш формирователь 9, коммутатор 10, первьш 11 и второй 12 элементы И, триггер 13, элемент РШИ 14, регистр 15 максимальной скорости , регистр 16 мршимальной скорости , второй блок 17 сравнени , второй формирователь 18, четвертый 19, третий 20, п тьш 21 и шестой 2.2 элементы И, элемент НЕ 23, усредни- . тель 24,The module (FIG. 1) contains a pulse generator 1, a first 2 and a second 3 controlled frequency dividers, a setting register A, a reversing pulse counter 5, an acceleration counter 6, a displacement counter 7, a first comparison unit 8, a first driver 9, a switch 10, first 11 and second 12 elements And, trigger 13, element of RShI 14, maximum speed register 15, register 16 speed, second comparison block 17, second driver 18, fourth 19, third 20, five or six and 2.2 six elements And, element NOT 23, averaged. Tel 24,

Генератор 1 импульсов вырабатывает посто нную частоту, причем его первый выход  вл етс  выходом опорной частоты, котора  преобразуетс  первым управл емым делителем 2 частоты в выходную частоту модул , а второй выход генератора 1 импульсов  в.- л етс  выходом частоты разгона-торможени , котора  преобразуетс  вторым управл емым делителем 3 частоты в частоту счета реверсивного счетчика 5 импульсов,The pulse generator 1 generates a constant frequency, its first output being the reference frequency output which is converted by the first controlled frequency divider 2 into the output frequency of the module, and the second output of the pulse generator 1 is outputted by the acceleration-deceleration frequency output the second controlled divider 3 frequencies into the frequency of the counting of the reversible counter 5 pulses,

Регистр 4 задани  предназначен дл  хранени  и вьщачи кода-величины ускорени  разгона-торможени , определ ющего коэффициент делени  второ0Register 4 of the task is intended for storing and storing the code of the acceleration-deceleration acceleration value, which determines the division ratio of the second

5five

го делител  2 частоты, а также подаетс  на вторую группу входов второго блока 17 сравнени .A second frequency divider 2 is also supplied to the second group of inputs of the second comparison unit 17.

Счетчик 6 разгона осуществл ет подсчет импульсов разгона при разгоне или при увеличении скорости - разгоне от движени  с некоторой посто нной скорости f /лакс , с которойAcceleration counter 6 counts acceleration pulses when accelerating or when speed increases — acceleration from moving from a certain constant speed f / lax, with which

велась отработка перемещени , до новой , причем Vj d , путем суммировани  импульсов и вычитает при торможении или уменьшении скорости - приторма сивании, когда скорость измен етс  до причемthe movement to the new, and Vj d, was carried out by summing the pulses and subtracting when braking or decreasing the speed — slowing down, when the speed changes to

0 ,,.c v,«,,.0 ,,. C v, “,,.

Счетчик 7 перемещени  вычитает каждый импульс выходной частоты из величины заданного перемещени , причем его нулевой выход свидетельству- 5 ет об окончании отработки заданного Перемеи1ени ,Movement counter 7 subtracts each output frequency pulse from the magnitude of the specified displacement, and its zero output indicates the completion of the testing of the specified Alternation,

Первый блок 8 сравнени  служит дл  определени  момента начала торможени  с текущей скорости до минимальной , а также фиксировани  всего периода торможени . Момент начала торможени  определ етс  равенством кодов на выходах счетчика 7 перемещени  и реверсивного счетчика б разгона .The first comparison unit 8 is used to determine the start of braking from the current speed to the minimum, as well as fixing the entire braking period. The moment of the start of deceleration is determined by the equality of the codes at the outputs of the displacement counter 7 and the reverse acceleration counter b.

Первый формирователь 9 предназначен дл  формировани  импульсов с заданными параметрами, например дли- тельностью.The first driver 9 is intended to form pulses with predetermined parameters, for example, duration.

Коммутатор 10 в зависимости от значений управл ющих входов выдает импульсы выходной частоты на один из координатных выходов + илиSwitch 10, depending on the values of the control inputs, pulses the output frequency to one of the coordinate outputs + or

Первый 11 и второй 12 элементы И разрешают счет реверсивного счетчика 5 импульсов, причем при разгоне или переходе к большей скорости движени  электропривода открыт дл  прохождени  импульсов на суммирующийThe first 11 and second 12 elements And allow the counting of the reversible counter of 5 pulses, and during acceleration or transition to a higher speed of movement, the electric drive is open for the passage of pulses to the summing

00

5five

00

5five

вход первый элемент И 11,а при тор можении или переходе к движению с более низкой скоростью открыт дл  прохождени  имлульсов на вычитающий вход второй элемент И 12.the input is the first element And 11, and when braking or moving to a lower speed movement is open for passing the impulses to the subtracting input the second element And 12.

Триггер 13 обеспечивает запуск модул  в работу путем выработки разрешающего потенциала, поступающего на третий 20 и четвертый 19 элементы И и позвол ющего импульсам с генератора 1 импульсов поступать на тактирующие входы первого 2 и второго 3 управл емых делителей частоты .The trigger 13 provides for the module to start up by generating a permitting potential arriving at the third 20 and fourth 19 AND elements and allowing pulses from the pulse generator 1 to flow to the clock inputs of the first 2 and second 3 controlled frequency dividers.

Элемент ИЛИ 14 обеспечивает объединение сигналов начала торможени  с вьсхода первого блока 8 сравнени  и сигнала с выхода Меньще второго блока 17 сравнени , свидетельствующего о необходимости уменьшить скорость электропривода до значени , поступившего в регистр 15 максимальной скорости. Регистр 15 максимальной скорости предназначен дл  хранени  значени  кода, соответствующего заданной величине максимальной скорости движени  электропривода . В процессе отработки заданного перемещени  значение максимальной скорости может мен тьс  произвольное число раз.The OR 14 element combines the signals for the start of deceleration from the output of the first comparison unit 8 and the output signal Less than the second comparison unit 17, indicating the need to reduce the speed of the electric drive to the value entered in the maximum speed register 15. The maximum speed register 15 is intended to store a code value corresponding to a predetermined maximum speed of the electric drive. In the process of testing a given movement, the value of the maximum speed may change an arbitrary number of times.

Регистр 16 минимальной скорости хранит значение кода, соответствующего минимальной скорости перемещени , а также передает это значение на группу информационных входов реверсивного счетчика 5 импульсов.The minimum speed register 16 stores the code value corresponding to the minimum movement speed, and also transmits this value to a group of information inputs of the reversible counter of 5 pulses.

Второй блок 17 сравнени  обеспечивает определение периода разгона до требуемой максимальной скорости периода подразгона от заданной ранее максимальной скорости до большего значени  максимальной скорости , которое занесено по магистрали данных в регистр 15 максималной скорости в процессе отработки заданного перемещени , а также определение периода подтормаживани  от заданной ранее максимальной скорост до меньшего значени  максимальной скорости, которое занесено в регист 15 максимальной скорости в процессе отработки заданного перемещени . Определение первых двух периодов осуществл етс  путем формировани  сигнала на выходе Больше, а третьего периода - на выходе Меньше второго блока 17 сравнени .The second comparison block 17 provides the determination of the acceleration period to the required maximum speed of the sub-run period from the previously set maximum speed to a higher value of the maximum speed recorded by the data highway in the maximum speed register 15 during the process of working the specified movement, as well as determining the braking period from the previously set maximum speed to a lower value of the maximum speed, which is entered in the register 15 of the maximum speed in the process of working out a given transfer beshcheni. The determination of the first two periods is carried out by generating a signal at the output More, and the third period at the output Less than the second comparison block 17.

5five

00

5five

00

5five

00

5five

00

5five

Второй формирователь 18 обеспечивает выработку короткого импульса при установке в единицу сигнала на третьем выходе регистра 4 задани . Этим импульсом обеспечиваютс  установка триггера 13 в единичное состо ние , а также перезапись значени  кода, соответствующего минимальной скорости в реверсивный счетчик 5 импульсов .The second driver 18 produces a short pulse when a unit is set at the third output of the register 4 of the task. This impulse ensures the installation of the trigger 13 in a single state, as well as overwriting the code value corresponding to the minimum speed in a reversible counter of 5 pulses.

П тый 21 и шестой 22 элементы И обеспечивают прохождение импульсов с выхода усреднител  24 на вычитаю- ший и суммирующий входы реверсивного счетчика 6 разгона, причем при разгоне или подразгоне импульсы проход т через шестой элемент И 22, а при торможении или подтормаживании - через п тый элемент И 21.Fifth 21 and sixth 22 elements And provide the passage of pulses from the output of the averager 24 to the subtracting and summing inputs of the reversing counter 6 acceleration, and during acceleration or subtraking, the pulses pass through the sixth element And 22, and during braking or slowing down - through the fifth element and 21.

Инвертор 23 обеспечивает блоки- рованиь прохождени  импульсов через первьй 11 и шестой 22 элементы И при осуществлении торможени . Inverter 23 blocks the passage of pulses through the first 11 and sixth 22 elements AND while braking.

Усреднитель 24 предназначен дл  выравнивани  периода следовани  импульсов , поступающих с выхода первого управл емого делител  2 частоты .The averager 24 is designed to equalize the period of the pulse following from the output of the first controlled divider 2 frequency.

Модуль работает следующим образом .The module works as follows.

Перед началом цикла отработки перемещени  триггер 13 сброшен и импульсы с генератора 1 импульсов не ( поступают на первый 2 и второй 3 управл емые делители.Before the beginning of the cycle for testing the movement, the trigger 13 is reset and the pulses from the generator 1 of the pulses do not (go to the first 2 and second 3 controlled dividers.

В начале цикла из магистрали данных в регистр 16 минимальной скорости заноситс  код величины минимальной скорости перемещени , в регистр 15 максимальной скорости - код величины максимальной скорости перемещени  , в первый формирователь 9 - код длительности формируемых импульсов , в счетчик 7 перемещени  - код величины требуемого перемещени , в регистр 4 задани  (фиг.2) - код величины ускорени  разгона-торможени , значени  управл ющих входов мультиплексора 10 в зависимости от требуемого направлени  перемещени , признак Работа, поступающий на третий выход регистра 4 задани  и  вл ющийс  пусковым сигналом модул .At the beginning of the cycle, the minimum speed rate code is entered into the minimum speed register from the data line, the maximum speed rate value code is entered into the maximum speed register 15, the first pulse generator 9 is the pulse duration code, and the movement counter 7 is the value code of the required motion, Register 4 of the task (Fig. 2) - code of the acceleration-deceleration acceleration value, the value of the control inputs of the multiplexer 10 depending on the required direction of movement, the sign of the Work coming and the third register specifying output 4 and is yuschiys starting modulation signal.

Поданный признак Работа запускает второй формирователь 18, которым формируетс  короткий импульс, разрешающий перезапись кода минимальной скорости из регистра 16 ми-The feature Job starts the second driver 18, which is used to form a short pulse allowing the minimum speed code to be overwritten from the register 16 mi-

1шмальной скорости в реверсивный счетчик 5 импульсов и устанавлива- Ю1Г1ий триггер 13 в единичное состо ние . С выхода триггера 13 разрешающий потенциал подаетс  на вторые входы третьего 20 и четвертого 19 элементов И и импульсы с генератора 1 импульсов, поступающие на первые входы третьего 20 и четвертого 19 элементов И, проход т на тактирующие входы первого 2 и.второго 3 управл емых делителей частоты. На вход первого управл емого делител  2 частоты подаетс  опорна  частота Fg1shmal speed in the reversible counter 5 pulses and set-U1G1iy trigger 13 in one state. From the output of the trigger 13, the resolving potential is fed to the second inputs of the third 20 and fourth 19 elements AND and the pulses from the pulse generator 1, which arrive at the first inputs of the third 20 and fourth 19 elements AND, pass to the clock inputs of the first 2 and second 3 controlled dividers frequencies. The reference frequency Fg is fed to the input of the first controlled splitter 2 frequency

(максимально возможна  частота на .выходе модул  дл управлени  электроприводом ). На вход второго управл емого делител  3 частоты поступает опорна  частота F, (максимально возможна  частота разгона электропривода ) . Частота импульсов на выходах управл емых делителей частоты определ етс  коэффициентом делени  - кодом, поступающим на их управл ющие входы. Частота импульсов на выходе второго управл емого делител  3 частоты определ етс  формулой(the maximum possible frequency at the output of the module for controlling the drive). To the input of the second controlled divider 3 frequencies comes the reference frequency F, (the maximum acceleration frequency of the drive is possible). The frequency of the pulses at the outputs of the controlled frequency dividers is determined by the division factor — the code arriving at their control inputs. The frequency of the pulses at the output of the second controlled splitter 3 frequency is determined by the formula

л f иl f and

2Кгде п - код, соответствующий заданному ускорению разгона торможени , поступающий из регистра 4 задани  на управл ющие входы второго делител  3 частоты; k - разр дность делител . Импульсы с посто нной частотой F, соответствующей заданному ускорению , поступают на первью входы первого 11 и второго 12 элементов И. Значение кода на разр дных выходах реверсивного счетчика 5 импуль- (сов поступает на управл ющие входы первого управл емого делител  2 частоты и на вторую группу входов второго блока 17 сравнени , на первую группу входов которого поступает код из регистра 15 максимальной скорости .2) where n is the code corresponding to the specified acceleration of acceleration deceleration, coming from the register 4 tasks to the control inputs of the second divider 3 frequency; k is the divider size. Pulses with a constant frequency F, corresponding to a given acceleration, are fed to the first inputs of the first 11 and second 12 elements I. The code value at the discharge outputs of the reversible counter 5 pulses (goes to the control inputs of the first controlled splitter 2 frequency and on the second a group of inputs of the second comparison block 17, on the first group of inputs of which a code is received from the register 15 of the maximum speed.

Если значение кода, поступившего с реверсивного счетчика 5 импульсов меньше значени  кода максимальной скорости, поступившего из регистра 15 максимальной скорости (именно эта ситуаци  имеет место при начале разгона), то второй блок 17 сравнени  вырабатывает единичныйIf the value of the code received from the reversible counter 5 pulses is less than the value of the maximum speed code received from the maximum speed register 15 (this is the situation that occurs when acceleration starts), then the second comparison block 17 produces a single

10ten

098328098328

сигнал на выходе Больше. Этот сигнал разрешает прохождение импульсов с выхода второго управл емого делител  3 частоты, на суммируклций вход реверсивного счетчика 5 импульсов через первый элемент И 11, а также разрешает прохождение импульсов с выхода усреднител  24 на суммирующий вход реверсивного счетчика 6 разгона через шестой элемент И 22. Импульсы проход т на суммирующие входы, если их прохождение не забло кировано подачей блокирующего потен« циала с выхода инвертора 23 на третьи входы первого 11 и шестого 22 элементов И..output signal More. This signal permits the passage of pulses from the output of the second controlled divider 3 frequency, on the summations the input of the reversible counter 5 pulses through the first element 11 and also permits the passage of pulses from the output of the average 24 to the summing input of the reversible counter 6 acceleration through the sixth element And 22. Pulses pass to the summing inputs, if their passage is not blocked by supplying the blocking potential from the output of the inverter 23 to the third inputs of the first 11 and sixth 22 I elements.

Перезапись в реверсивный счетчик 5 импульсов значени  кода минимальной скорости и поступление импульсов на тактируюпщй вход первого управл емого делител  2 частоты привод т к образованию на выходе последнего импульсов частотойOverwriting into the reversible counter 5 pulses the minimum speed code value and the arrival of pulses at the clock input of the first controlled splitter 2 frequency leads to the formation of the last pulse at the output frequency

1515

2020

F -F -

пропорциональной коду числа N на уп- равл ющих входах этого делител  частоты , поступающему из реверсивного счетчика 5 импульсов. На выходе усреднител  24 формируютс  импульсыproportional to the code of the number N on the control inputs of this frequency divider, coming from the reversible counter 5 pulses. At the output of the averager 24 pulses are formed

выхout

00

5five

00

5five

где Nutrp коэффициент усреднени .where Nutrp is the averaging coefficient.

Импульсы запускают первый формирователь 9, которьш формирует импульсы требуемой длительности , и через коммутатор 10 поступают на выход модул .The pulses trigger the first driver 9, which generates pulses of the required duration, and through the switch 10 enters the output of the module.

Поступающие на суммирующий вход импульсы с частотой F увеличивают код на выходах реверсивного счетчика 5 импульсов, а следовательно, и частоту F на выходе первого управл емого делител  2 частоты. Одновременно реверсивный счетчик 6 разгона осуществл ет подсчет (путем суммировани ) импульсов с выхода усреднител  24, вьщаваемых в период разгона .Pulses arriving at the summing input with a frequency F increase the code at the outputs of the reversible counter 5 pulses, and hence the frequency F at the output of the first controlled splitter 2 frequency. Simultaneously, the reversing counter 6 acceleration performs counting (by summation) of pulses from the output of the averager 24, performed during the acceleration period.

Увеличение кода в реверсивном счетчике 5 импульсов, а следовательно , и возрастание частоты F на вько- де первого управл емого делител  2 частоты, равно как и частоты на выходе модул , осуществл етс  до техThe increase in the code in the reversible counter of 5 pulses, and consequently, the increase in the frequency F at the end of the first controlled splitter 2 frequency, as well as the frequency at the output of the module, is carried out

пор, пока не совпадут значение кода на выходе реверсивного счетчика 5 импульсов и значение кода максимальной скорости,хранимое в регистре 15 максимальной скорости, В этом случае на выходе Больше второго блока 17 сравнени  формируетс  сигнал, блокирующий прохождение импульсов через первый 11 и шестой 22 элементы И, т.е. разгон электропривода закончен (фиг.2) и выполнен переход к движению с посто нной скоростью, определ емой кодом в регистре 15 максимальной скорости.until the value of the code at the output of the reversible counter of 5 pulses and the value of the maximum speed code stored in the maximum speed register 15, in this case, the output of the More than second comparison block 17 produces a signal that blocks the passage of pulses through the first 11 and sixth 22 elements AND i.e. The acceleration of the electric drive is completed (Fig. 2) and the transition to the motion is performed at a constant speed determined by the code in the maximum speed register 15.

Каждый из формируемых усреднителем 24 импульсов поступает на вычитающий вход счетчика 7 перемещени , в результате чего содержимое счетчика 7 перемещени  уменьшаетс  на единицу по каждому из сформированных импульсов. Движение, с посто нной скоростью продолжаетс  до тех пор, пока не сравн ютс  коды на выходах счетчика 7 перемещени  и реверсивного счетчика б разгона. В этом случае первый блок 8 сравнени  вырабатывает разрешающий потенциал, поступление которого на элемент ИЛИ 14 обеспечивает прохождение импульсов частотой с выхода первого управл емого делител  3 частоты через второй элемент И 12 на вычитающий вход реверсивного счетчика 5 импуль- сов, а также прохождение импульсов с выхода усреднител  24 .через п тый элемент И 21 на вычитающий вход реверсивного счетчика 6 разгона. Началась отработка торможени  электропривода до минимальной скорости. Код N на выходах реверсивного счетчи- .ка 6 импульсов уменьшаетс , следовательно , уменьшаетс  частота F на выходе первого управл емого делител  2 частоты, а значит, и частота на выходе модул . Код N уменьшаетс  до значени , равного значению, хран щемус  в регистре 16 минимальной скорости. Торможение осуществл етс  с таким же ускорением, как и разгон (т.е. 1торм раъг. (фиг.2). Торможение осуществл етс  до тех пор, пока не обнулитс  счетчик 7 1 перемещени  , сигнал с нулевого выхода которого осуществл ет сброс реверсивного счетчика 6 разгона, сброс триггера .13 и формирует сигнал Конец работы в магистраль данных об окончании отработ.ки перемещени .Each of the pulses generated by the averager 24 is fed to the subtracting input of the displacement counter 7, with the result that the contents of the displacement counter 7 are reduced by one for each of the generated pulses. The motion, with a constant speed, continues until the codes at the outputs of the movement counter 7 and the reverse acceleration counter b are matched. In this case, the first comparison unit 8 generates a resolving potential, the arrival of which at the OR 14 element ensures the passage of pulses with a frequency from the output of the first controlled divider 3 frequencies through the second element AND 12 to the subtracting input of the reversible counter 5 pulses, as well as the passage of pulses from the output the average 24. through the fifth element And 21 on the subtracting input of the reversing counter 6 acceleration. Began testing the braking of the drive to the minimum speed. The N code at the outputs of the reversible counter of the 6 pulses decreases, consequently, the frequency F at the output of the first controlled splitter 2 frequency decreases, and hence the frequency at the output of the module. The code N is reduced to a value equal to the value stored in the minimum speed register 16. The braking is carried out with the same acceleration as acceleration (i.e., 1 stor rag. (Fig. 2). The braking is performed until the displacement counter 7 1 is reset, the signal from the zero output of which resets the reversing counter 6 Acceleration, resetting the trigger .13 and generates a signal End of work in the data line about the end of the test run.

00

5five

00

5five

00

5five

00

Сброс триггера 13 приводит к блокировке прохождени  импу;тьсов частотой FP и F, с первого и второго выходов генератора 1 импульсов через третий 20 и четвертый 19 элементы И. На этом цикл разгон-движение с посто нной скоростью - торможением (фиг.2, крива  1) заканчиваетс .Resetting the flip-flop 13 leads to blocking the passage of the impu; the frequency FP and F, from the first and second outputs of the generator 1 pulses through the third 20 and fourth 19 elements I. At this, the acceleration-movement cycle with constant speed — deceleration (FIG. 2, curve 1) ends.

Модуль обеспечивает отработку перемещени  и без .выхода на максимальную скорость (фиг.2, крива  2). В этом случае разгон выполн етс  аналогично описанному, но когда значение кода Б счетчике 7 перемещени  становитс  равным или меньше значению числа импульсов разгона, наход щемус  в реверсивном счетчике 6 разгона, первый блок 8 сравнени  через инвертор 23 блокирует продолжение разгона, т.е. поступление импульсов на. суммирующие входы реверсивных счетчиков 3 и 6, и через элемент ИЛИ 14 запускает прохождение импульсов на вычитающие входы реверсивных счетчиков 5 и 6, т.е. переводит модуль в режим отработки торможени . Окончание цикла разгон - торможение (фиг.2, крива  2) производитс  аналогично окончанию цикла разгон - движение с посто нной скоростью - торможением.The module provides the testing of the movement and without exit to the maximum speed (Fig. 2, curve 2). In this case, the acceleration is performed as described above, but when the code B value of the movement counter 7 becomes equal to or less than the value of the number of acceleration pulses found in the reverse acceleration counter 6, the first comparison unit 8 through the inverter 23 blocks the continuation of the acceleration, i.e. the arrival of pulses on. the summing inputs of the reversible counters 3 and 6, and through the element OR 14 starts the passage of pulses to the subtractive inputs of the reversible counters 5 and 6, i.e. switches the module to the deceleration run mode. The end of the cycle acceleration - deceleration (Fig. 2, curve 2) is performed similarly to the end of the cycle; acceleration - movement at a constant speed - deceleration.

Если в процессе отработки переме- 1цени  требуетс  изменить значение мак- максимальной скорости (например, точки а , 8 , S , 2 , на фиг.З) , модуль обеспечивает автоматический под- разгон до новой скорости (MOtKCIf in the course of working out the moves, it is necessary to change the value of the max-maximum speed (for example, points a, 8, S, 2, in FIG. 3), the module provides automatic acceleration to the new speed (MOtKC

VMOKO где - предьщущее значение максимальной скорости, точка с( ) или подтормаживание до новой VMOKO where is the previous value of maximum speed, point with () or slowing down to new

5five

00

5five

скорости VV speeds

мех КСCOP fur

(V(V

X ТТ X TT

макс макс max max

точка В). Поступление новогр значени  максимальной скорости из магистрали данных в регистр 15 максимальной скорости в период торможени  цикла отработки перемещени  не вли ет на работу модул  и модуль выполн ет торможение электропривода по описанному ранее алгоритму. Если новое значение максимальной скорости поступает в период разгона, то модуль отрабатывает разгон до нового значени  максимальной скорости, перемещение с посто нной скоростью, торможение по описанным алгоритмам работы.point B). The arrival of the new maximum speed from the data line to the maximum speed register 15 during the deceleration period of the run-in cycle does not affect the operation of the module and the module performs electric drive braking according to the algorithm described earlier. If the new value of the maximum speed arrives at the acceleration period, then the module processes the acceleration to the new value of the maximum speed, moving at a constant speed, braking according to the described operation algorithms.

Если новое зна чение максимальной скорости заноситс  в регистр. 15 максимальной скорости в период отработки движени  с посто ннсЗй скоростью, то в зависимости от величины новой максимальной скорости модуль осуще- ствл т переход к новой скорости путем подразгона или подтормаживани , Движение с посто нной скоростью характеризуетс  тем, что в реверсивном счетчике 5 импульсов хранитс  код величины старой максимальной скорости, а в реверсивном счетчике 6 разгона - код числа импульсов, выданных модулем при выполнении разгона , заблокировано прохождение импульсов на суммирующие и вычитающие входы разрешени  суммировани  и вычитани  реверсивного счетчика 5 импульсов и реверсивного счетчика 6 разгона, так как на выходах Больше и Меньше второго блока 17 сравнени  и выходе первого блока 18 сравнени  присутствуют низкие логические уровни сигналов.If the new maximum speed is entered in the register. 15 maximum speed during the period of testing the movement with a constant speed, then, depending on the magnitude of the new maximum speed, the module makes a transition to a new speed by running or slowing down. The movement with a constant speed is characterized by the fact that in a reversible counter 5 pulses the code is stored the values of the old maximum speed, and in the reversing counter 6 acceleration - the code of the number of pulses issued by the module during acceleration, the passage of pulses to the summing and subtracting inputs is blocked The summation and subtraction of the reversible counter of 5 pulses and the reversible counter of acceleration 6, since the outputs are More and Less than the second comparison block 17 and the output of the first comparison block 18, have low logical signal levels.

Если повое значение максимальной скорости, занесенное в регистр 15 максимальной скорости, больше старого значени , т.е. .c . амакс I lMQ o точка а на фиг.4), то второй блок 17 сравнени  на выходе Больше формирует потенциал высокого уровн , который разрешает прохождение импульсов частоты Fj, с выхода второго управл емого делител  3 частоты через первый элемент И 11 на суммируюший вход реверсивного счетчика 5 импульсов, а также прохождение с выхода усреднител  24 через шестой элемент И 22 на суммирующий вход реверсивного счетчика 6 разгона. Значение кода в реверсивном счетчике 5 импульсов, а следовательно , и частота на выходе модул  увеличиваютс . Одновременно увеличиваетс  значение кода числа импульсов разгона в реверсивном счетчике 6 разгона. Увеличение кодов, а значит, и частоты на выходе модул  продолжаетс  до тех пор, пока код на выходе реверсивного счетчика 5 импульсов не станет равным коду, зане сенному в регистр 15 максимальной скорости, В этом случае на обоих выходах второго блока 17 сравнени  формируютс  низкие потенциалы, бло- кируюш 1е прохождение импульсов в реверсивные счетчики 5 и 6, и модуль начинает отрабатывать перемещениеIf the new maximum speed entered in the maximum speed register 15 is greater than the old value, i.e. .c. Amax I lMQ o point a in FIG. 4), then the second comparison block 17 at the output More forms a high level potential that permits the passage of frequency pulses Fj from the output of the second controlled frequency divider 3 through the first element 11 to the totalized input of the reversible counter 5 pulses, as well as passing from the output of the averager 24 through the sixth element I 22 to the summing input of the reversing counter 6 acceleration. The value of the code in the reversible counter 5 pulses, and consequently, the frequency at the output of the module increases. At the same time, the value of the code of the number of pulses of acceleration in the reverse counter 6 of acceleration is increased. The increase in the codes, and hence the frequency at the output of the module, continues until the code at the output of the reversing counter of 5 pulses becomes equal to the code entered in the maximum speed register 15, in this case low potentials are formed on both outputs of the second comparison block 17 blocking 1e the passage of pulses into reversible counters 5 and 6, and the module begins to work out the movement

с новой посто нной скоростью V ддоксwith new constant speed v ddoc

(F(F

1 «акс1 "ax

Если новое значение максимальной скорости, занесенное в регистр 15. максимальной скорости, меньше старо- го значени , т.е. УД„ V,,If the new value of the maximum speed entered in the register 15. the maximum speed is less than the old value, i.e. UD „V ,,

(соответственно Е,,макс « . « точка 5 на фиг.4), то второй блок 17 сравнени  на выходе Меньше формирует потен1Ц1ал высокого уровн , коiторый через элемент ИЛИ 14 разрешает прохождение импульсов с выхода второго управл емого делител  3 частоты через второй элемент И 12 на вычитающий вход реверсивного счетчика(respectively, E ,, max "." point 5 in Fig. 4), then the second comparison block 17 at the Outlet forms a high-level potential, which through the OR 14 element allows the passage of pulses from the output of the second controlled divider 3 frequencies through the second And element 12 to the subtracting input of the reversible counter

5 импульсов и прохождение импульсов с выхода усреднител  24 через п тый элемент И 21 на вычитаюищй вход реверсивного счетчика 6 разгона. Значение кода в реверсивном счетчике5 pulses and the passage of pulses from the output of the averager 24 through the fifth element I 21 to subtract the input of the reversing counter 6 acceleration. The value of the code in the reverse counter

5 импульсов, а следовательно, .и частота на выходе модул  начинают уменьшатьс  . Одновременно уменьшаетс  значение кода числа импульсов разгона в реверсивном счетчике 6 разгона , так как производитс  подтормалси- вание до более низкой скорости. Уменьшение кодов, а значит, к частоты на выходе модул  продолжаетс  до тех пор, пока код на выходе реверсивного счетчика 5 импульсов не ста- ;нет равным значению кода, занесенному в регистр 15 максимальной скоро- . сти, В этом случае на обоих выходах второго блока 17 сравнени  формируютс  низкие потенциалы, блокирующие прохождение импульсов в реверсивные счетчики 5 и 6, и модуль начинает отрабатывать перемещение с новой посто нной скоростью Vддo,|(, (F, g|(,). В точках Ь и г (фиг.1) модуль работает аналогично рассмотренным точкам а и & в части изменени  значени  максимальных скоростей.5 pulses, and therefore, and the frequency at the output of the module begin to decrease. At the same time, the value of the code for the number of acceleration pulses in the reversible counter 6 of acceleration is reduced, as it is slowed down to a lower speed. The reduction of the codes, which means that the frequency at the output of the module continues until the code at the output of the reversing counter 5 pulses is not equal to the code value entered in register 15 of the maximum speed. In this case, both potentials of the second comparison block 17 produce low potentials that block the passage of pulses to the reversible counters 5 and 6, and the module begins to work out the movement with a new constant speed V ddo, | (((F, g | (,). At points b and g (Fig. 1), the module operates similarly to the points a and мотрен considered in terms of changing the value of maximum speeds.

Таким образом введение новых элементов , блоков с их св з ми расшир ет функциональные возможности модул  дл  программного управлени  электроприводом за счет обеспечени  режима изменени  в реальном масштабе времениThus, the introduction of new elements, blocks with their connections expands the functionality of the module for software control of the drive by providing a mode of change in real time

величины максимальной скорости движени  электропривода во врем  отработки заданного перемещени , что обеспечивает также возможность работы модул  с интерполирующим устройством , путем увеличени  или уменьшени  скорости движени  электропривода во врем  отработки перемещени  по данным, передаваемым интерполирующим устройстпом по магистрали данных в регистр максимальной скорости.the magnitude of the maximum speed of movement of the actuator during the development of a given movement, which also allows the module to work with an interpolating device, by increasing or decreasing the speed of movement of the electric drive during the processing of movement of data transmitted by the interpolating device through the data highway to the maximum speed register.

Claims (1)

Формула изобретени Invention Formula Модуль дл  программного управлени  электроприводом, содержащий генератор импульсов, триггер, первый и второй управл емые делители частоты, регистр задани , первый и второй формирователи, первый, второй и третий элементы И, элемент ИЛИ, реверсивный счетчик импульсов, регистр минимальной скорости, счетчик перемещени , первый блок сравнени ,счет- Iчик разгона, коммутатор, тактовый вход которого подключен к выходу первого формировател , группа управл ющих входов коммутатора соединена с первой группой выходов регистра задани , втора  группа выходов которого соединена с группой управл ющих входов второго управл емого делител  частоты, третий выход регистра задани  соединен с входом второго формировател , а группа вхо- дов регистра задани  подключена к магистрали данных, при этом первый выход генератора импульсов подключен к первому входу третьего элемента И, второй вход которого соединен с выходом триггера, а выход - с тактовым входом первого управл емого делител  частоты, группа управл ющих выходов которого соединена с группой выходов реверсивного счетчика импульсов, группа информационных входов реверсивного счетчика импульсов подключена к группе выходов регистра минимальной скорости, а управл юЕцнй вход - к выходу второго формировател  и входу установки в 1 триггера, выходы первого и второго элементов И подключены к суммирующему.и вычитающему входу реверсивного счетчика импульсов соответственно, первые входы первого и второго элементов И объединены и подключены к выходу второго управл емого делител  частоты, второй вход второго элемента И соединен с выходом элемента ИЛИ, первый вход которого подключен к выходу первого блока сравнени , перва  группа входов первого блока сравнени  соединена с группой выходов счетчика перемещени , а втора . - сA module for software control of an electric drive, comprising a pulse generator, a trigger, first and second controlled frequency dividers, a job register, first and second drivers, first, second and third AND elements, an OR element, a reversing pulse counter, a minimum speed register, a displacement counter, the first unit of comparison, the overclocking counter, the switch, the clock input of which is connected to the output of the first driver, the group of control inputs of the switch is connected to the first group of outputs of the job register, the second group The output pins of which are connected to the group of control inputs of the second controlled frequency divider, the third output of the task register is connected to the input of the second driver, and the group of inputs of the task register is connected to the data highway, the first output of the pulse generator is connected to the first input of the third element I , the second input of which is connected to the trigger output, and the output to the clock input of the first controlled frequency divider, the group of control outputs of which is connected to a group of outputs of the reversible counter pulse c, the group of information inputs of the reversible pulse counter is connected to the group of outputs of the minimum speed register, and the control input is connected to the output of the second driver and the installation input to 1 trigger, the outputs of the first and second elements I are connected to the summing and subtracting input of the reverse pulse counter, respectively, the first inputs of the first and second elements AND are combined and connected to the output of the second controlled frequency divider, the second input of the second element AND is connected to the output of the element OR, the first input of which It is connected to the output of the first comparison unit, the first group of inputs of the first comparison unit is connected to the output group of the displacement counter, and the second. - with группой выходов счетчика разгона,при этом нулевой выход счетчика перемещени  подключен к входам установ- ки в О счетчика разгона триггера и к шине Конец работы, а группы информагщонных входов регистра минимальной скорости и счетчика перемещени  подключены к магистрали данных , отличающийс  тем, что, с целью расширени  функциональных возможностей за счет обеспечени  режима изменени  в реальном масштабе времени величины максимальнойa group of outputs of the acceleration counter, while the zero output of the displacement counter is connected to the inputs of the installation in O of the trigger acceleration counter and to the bus End of work, and the groups of information inputs for the minimum speed register and the displacement counter are connected to the data highway, extending functionality by providing real-time mode changes in the magnitude of the maximum скорости движени  электропривода во врем  отработки заданного перемещени , счетчик разгона выполнен в виде реверсивного, а также в него введены четвертый, п тый и шестой элементы И, элемент НЕ, усреднитель, второй блок сравнени  и регистр максимальной скорости, группа выходов которого соединена с первой группой входов второго блока сравнени , втора  группа входов второго блока сравнени  подключена к выхрдам реверсивного счетчика импульсов, выход Больше второго блока сравнени  соединен с вторым входом первого первым входом шестого элементов И, а выход Меньше - с вторым входом элемента ШШ, при этом выход первого управл емого делител  частоты подключен к входу усреднител , вьпсод которого соединен с тактовым входом первого формировател , вычитающим входом счетчика перемещени , первым входом п того и вторым входом .шестого элементов И, второй вход п того элемента И подключен к выходу элемента ИЛИ, вход элемента НЕ - к выходу первого блока сравнени , а выход элемента НЕ соединен с третьими входами- первого и шестого элементов И, выходы п того и шестого элементов И соединены с вычитающим и суммирующим входами счетчика разгона соответственно, второй выход генератора импульсов подключен к первому входу четвертого . элемента И, второй вход которого соединен с выходом триггера, а выход - с тактовым входом второго управл емого делител  частоты, группа управл ющих входов первого формгфов ател  и группа информационных входов регистра максимальной скорости подключены к магистрали данных.the speed of movement of the electric drive during the testing of a given movement, the acceleration counter is made in the form of a reverse, and the fourth, fifth and sixth elements AND, the element NOT, averager, the second comparison unit and the maximum speed register, whose output group is connected to the first group, are entered into it the inputs of the second comparison unit, the second group of inputs of the second comparison unit is connected to the output of the reversible pulse counter; the output More than the second comparison unit is connected to the second input by the first first input of the sixth And elements, and the output Less - with the second input of the SHS element, while the output of the first controlled frequency divider is connected to the input of the averager, whose output is connected to the clock input of the first driver, the subtracting input of the displacement counter, the first input of the fifth and the second input of the sixth element And, the second input of the fifth element AND is connected to the output of the element OR, the input of the element is NOT to the output of the first unit of comparison, and the output of the element is NOT connected to the third inputs of the first and sixth elements AND, the outputs of the fifth and sixth elements AND Inen with subtractive and summing inputs of the acceleration counter, respectively, the second output of the pulse generator is connected to the first input of the fourth. And, the second input of which is connected to the trigger output, and the output to the clock input of the second controlled frequency divider, the group of control inputs of the first formfl of the body and the group of information inputs of the maximum speed register are connected to the data highway. ntaffcntaffc // passA &lpassA & l jflote. P it pa Si. map. jflote. P it pa Si. map. фц&. ISfts &. IS Составитель А.Аникин Редактор С.Пекарь Техред Л.Сердюкова Корректор С.ЧерниCompiled by A. Anikin Editor S. Pekar Tehred L. Serdyukova Proofreader S. Cherni Заказ 5809/43Order 5809/43 Тираж 788Circulation 788 ВНИИПИ Государственного комитета по изобретени м и открыти м при ГКНТ СССР 113035, Москва, Ж-35, Раушска  наб., д, 4/5VNIIPI State Committee for Inventions and Discoveries at the State Committee on Science and Technology of the USSR 113035, Moscow, Zh-35, Raushsk nab., 4/5 5five imopn.imopn. &l& l Фиг.FIG. ПодписноеSubscription
SU874178081A 1987-01-07 1987-01-07 Module for program control of electric drive SU1509832A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU874178081A SU1509832A1 (en) 1987-01-07 1987-01-07 Module for program control of electric drive

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU874178081A SU1509832A1 (en) 1987-01-07 1987-01-07 Module for program control of electric drive

Publications (1)

Publication Number Publication Date
SU1509832A1 true SU1509832A1 (en) 1989-09-23

Family

ID=21279201

Family Applications (1)

Application Number Title Priority Date Filing Date
SU874178081A SU1509832A1 (en) 1987-01-07 1987-01-07 Module for program control of electric drive

Country Status (1)

Country Link
SU (1) SU1509832A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6720049B2 (en) 2002-06-07 2004-04-13 E. I. Du Pont De Nemours And Company Thin-walled polyurethane articles

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР № 834669, кл. С 05 В 19/t8, 1975. Авторское свидетельство СССР № 1084740, кл. G 05 В 19/18, 1982. Авторское свидетельство СССР № 1405028, кл. G 05 В 19/407, 1986. *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6720049B2 (en) 2002-06-07 2004-04-13 E. I. Du Pont De Nemours And Company Thin-walled polyurethane articles

Similar Documents

Publication Publication Date Title
SU722503A3 (en) Device for moving object control
US4053819A (en) Numerical control system for lathes
SU1509832A1 (en) Module for program control of electric drive
US3896361A (en) Method and apparatus for compensating an error in numerical control
US6024477A (en) Process and device for an accelerated execution of a program using a stored-program controller
SU1403018A1 (en) Program control module
SU1072002A1 (en) Positioning programmed control device with self-check
SU550622A1 (en) Device for positional program control
SU319927A1 (en) MULTICHANNEL ASTATIC REGULATOR
SU1213466A1 (en) Device for programmed control of positioning
SU1458858A1 (en) Linear digital interpolation system
SU439789A1 (en) Pulse-based software control system for metalworking machines
SU641397A1 (en) Electrohydraulic follow-up drive
SU1462246A1 (en) Programmed control device
SU1297011A1 (en) Device for automatic accelerating and braking of motor of numerically controlled machine tool
SU991374A1 (en) Function interpolator
SU1251039A1 (en) Device for controlling velocity of object
SU765174A1 (en) Numeric master control of mine hoist speed
SU1312529A1 (en) Device for setting program
SU903810A1 (en) Device for phase-pulse system program control
SU530316A1 (en) Device for numerical control
SU1327060A1 (en) Program-controlled module
SU1064458A1 (en) Code/pdm converter
SU572763A1 (en) Numeric program control apparatus
SU1386963A1 (en) Programmed numeric control system