SU1405028A1 - Program control module - Google Patents

Program control module Download PDF

Info

Publication number
SU1405028A1
SU1405028A1 SU864100256A SU4100256A SU1405028A1 SU 1405028 A1 SU1405028 A1 SU 1405028A1 SU 864100256 A SU864100256 A SU 864100256A SU 4100256 A SU4100256 A SU 4100256A SU 1405028 A1 SU1405028 A1 SU 1405028A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
counter
output
acceleration
pulse
Prior art date
Application number
SU864100256A
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 SU864100256A priority Critical patent/SU1405028A1/en
Application granted granted Critical
Publication of SU1405028A1 publication Critical patent/SU1405028A1/en

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Numerical Control (AREA)
  • Control Of Stepping Motors (AREA)
  • Control Of Velocity Or Acceleration (AREA)

Abstract

Изобретение относитс  к области автоматики и вычислительной техники и может быть использовано в магист- рально-МОдульных системах программного управлени  электроприводом. Целью изобретени   вл етс  расширение функциональных возможностей за счет программировани  минимальной скорости перемещени . В состав программно-управл емого модул  вход т генератор 1 импульсов, первый и второй управл емые делители 2 и 3 частоты, регистр 4задани , реверсивный счетчик 5, суммирующий счетчик 6 разгона, вычитающий счетчик 7 перемещени , блок 8 совпадени , первый формирователь 9, мультиплексор 10, первый и второй элементы И 11 и 12, RS-триггер 13, элемент ИЛИ 14, вычитающий счетчик 15 максимальной скорости, второй формирователь 17, первый и второй D-триг- геры 18 и 19, третий элемент И 20. Преимущество изобретени  состоит в расширении функциональных возможностей и повышении производительности управл емых автоматов за счет оптимизации динамических характеристик. 5ил. слThe invention relates to the field of automation and computer technology and can be used in the trunk-modular systems of programmed control of the electric drive. The aim of the invention is to enhance the functionality by programming the minimum movement speed. The software-controlled module includes a pulse generator 1, the first and second controlled dividers 2 and 3 frequencies, the 4th target register, the reversing counter 5, the summing up acceleration counter 6, the subtracting displacement counter 7, the coincidence unit 8, the first driver 9, the multiplexer 10, the first and second elements AND 11 and 12, the RS trigger 13, the element OR 14, the subtracting counter 15, the maximum speed, the second driver 17, the first and second D-triggers 18 and 19, the third element AND 20. The advantage of the invention is in extending the functionality and increasing productivity machines actuated by optimizing the dynamic performance. 5 cl

Description

4four

оabout

СПSP

о кэabout ca

СХ)CX)

14 14

Изобретение относитс  к автоматике и вычислительной технике и может быть использовано в магистрально-мо- дульных системах программного управлени  электроприводом, например в графопостроител х, координатных столах , автоматах с программным управлением или промышленных роботах.The invention relates to automation and computer technology and can be used in trunk-modular software systems for controlling electric drives, such as plotters, coordinate tables, program-controlled automata, or industrial robots.

Цель изобретени  - расширение функ-jQ котора  преобразуетс  первым управциональных возможностей за счет программировани  минимальной скорости перемещени  .The purpose of the invention is to expand the function-jQ which is transformed first by the control capabilities by programming the minimum speed of movement.

На фиг. 1 представлена структурнол емым делителем 2 частоты в выходн частоту, а его второй выход  вл етс выходом частоты разгона-торможени , котора  преобразуетс  вторым управлFIG. Figure 1 shows the structurally variable frequency divider 2 at the output frequency, and its second output is the output of the acceleration-deceleration frequency, which is converted by the second control

л емым делителем 2 частоты в выходн частоту, а его второй выход  вл етс выходом частоты разгона-торможени , котора  преобразуетс  вторым управлthe splitter frequency 2 is output to the output frequency, and its second output is the output of the acceleration-deceleration frequency, which is converted by the second control

функциональна  схема модул ; на фиг.2-55 емым делителем 3 частоты в частотуfunctional diagram of the module; 2–55 emitted divider 3 frequencies into frequency

2020

2525

30thirty

3535

структура регистра задани ; на фиг.3- структурна  схема мультиплексора; на фиг, 4 - график отработки заданного перемещени ; на фиг. 5-возможные направлени  перемещений в зависимости от значений управл емых входом мультиплексора .job register structure; figure 3 is a structural diagram of the multiplexer; Fig. 4 is a schedule for testing a given movement; in fig. 5-possible directions of movement depending on the values controlled by the input of the multiplexer.

Модуль (фиг. 1) содержит генер-атор i, первый и второй управл емые делители 2 и 3 частоты, регистр 4 задани , реверсивный счетчик 5 импульсов, суммирующий счетчик 6 разгона, вычитающий счетчик 7 перемещени , блок 8 совпадени , первый формирователь 9 мультиплексор 10, первый и второй элементы И 11 и 12, RS-триггер 13, элемент ИЛИ 14, вычитающий счетчик 15 максимальной скорости, регистр 16 минимальной скорости, второй формирователь 17, первый и второй D-триг- геры 18 и 19, а также третий элемент И 20.The module (Fig. 1) contains generator-ator i, first and second controlled dividers 2 and 3 frequencies, register 4 tasks, reversing pulse counter 5, summing counter 6 acceleration, subtracting displacement counter 7, block 8 matches, first shaper 9 multiplexer 10, the first and second elements And 11 and 12, RS-trigger 13, element OR 14, subtracting the counter 15 maximum speed, the register 16 minimum speed, the second driver 17, the first and second D-triggers 18 and 19, as well as the third element and 20.

В качестве управл емых делителей 2 и 3 частоты .может быть применена , например, микросхема 155ИЕ8 бКО.348:006 ТУП, у которой коэффициент делени  зависит от кода на управл ющих входах.As controlled dividers 2 and 3 frequencies, for example, a chip 155IE8 bKO.348: 006 TUP, for which the division factor depends on the code on the control inputs, can be used.

В модуле Разгон-2 может быть также применена микросхема, например Программируемый таймер КР 580 ВИ53, причем на одной такой микросхеме можно одновременно реализовать вычитающий счетчик 15, максимальной скорости, вычитающий счетчик 7 перемещени  и первый формирователь 9. При этом дополнительно расшир ютс  функциональные возможности модул  Разгон-2, так как указанна  микросхема позвол ет хранить первоначально занесенные коды. Следовательно, отпадает необхо-55 димость задани  величины максимальной скорости и величины перемещени  в на- чале каждого цикла перемещени , на40In the Acceleration-2 module, a microcircuit can also be applied, for example, a Programmable Timer KP 580 VI53, and on one such microcircuit a subtracting counter 15, maximum speed, subtractive displacement counter 7 and the first driver 9 can be simultaneously implemented. Acceleration-2, since the specified microcircuit allows you to store the original codes. Consequently, there is no need for setting the maximum speed and the amount of movement at the beginning of each movement cycle, by 40 degrees.

4545

5050

счета реверсивного счетчика 5 импул сов, котора  характеризует величину ускорени  разгона-торможени . Регис 4 задани  принимает с магистрали да ных и хранит код величины ускорени  разгона-торможени , определ ющий ко эффициент делени  второго управл ем го делител  3 частоты, а также знач ни  управл ющих сигналов х, -х, у, дл  мультиплексора 10 и признак ра бота, определ ющий состо ние шины Разрешение разгона. Реверсивный счетчик 5 импульсов суммирует импульсы частоты разгона-торможени  при разгоне и вычитает при торможении , его разр дные выходы определ ю коэффициент делени  первого управл  емого делител  2 частоты.counting the counter counter 5 impulses, which characterizes the magnitude of the acceleration-deceleration. Regis 4 assignments accept data from the trunk and stores the acceleration-deceleration magnitude code that determines the division ratio of the second control divider 3 frequencies, as well as the values of the control signals x, -x, y, for multiplexer 10 and the sign a bot that determines the state of the bus. Acceleration resolution. A reversible counter of 5 pulses summarizes the pulses of the acceleration-deceleration frequency during acceleration and subtracts during deceleration, its bit outputs determine the division ratio of the first controlled divider 2 frequencies.

Суммирующий счетчик 6 разгона ве дет подсчет импульсов разгона, а вы читающий счетчик 7 перемещени  вычи тает каждый импульс выходной частот из величины заданного перемещени , причем его нулевой выход свидетельствует об окончании отработки задан ного перемещени . Блок 8 совпадени  определ ет момент начала торможени  путем сравнивани  текущего кода выч тающего счетчика 7 перемещени  с чи лом импульсов разгона суммирующего счетчика 6 разгона, а первый формир ватель 9 формирует выходные импульс с заданными параметрами, например длительностью.The summing counter 6 accelerates the counting of acceleration pulses, and the read movement counter 7 subtracts each output frequency pulse from the value of the specified displacement, and its zero output indicates the end of the working of the specified displacement. The coincidence unit 8 determines the start time of the deceleration by comparing the current code of the subtracting displacement counter 7 with the number of acceleration pulses of the acceleration totalizer 6, and the first shaping unit 9 generates an output pulse with the specified parameters, for example, duration.

Мультиплексор 10 в зависимости о значений управл ющих входов вьщает импульсы выходной частоты на один и выходов X, -X, у, -у или на одну из пар выходов (+х. +у), (х, -у), (-х, -у), (-Х, у). Первый и второй элеме ты И 11 и 12 разрешают счет реверси ного счетчика 5 импульсов соответст венно пр разгоне или торможении. RS-триггер 13 управл ет разрешениемThe multiplexer 10, depending on the values of the control inputs, pulses the output frequency to one and the outputs X, -X, y, -y, or one of the output pairs (+ x. + Y), (x, -y), (-x , -y), (-X, y). The first and second elements And 11 and 12 allow the counting of the reverse counter of 5 pulses, respectively, during acceleration or deceleration. RS trigger 13 controls resolution

пример, значение величин максимальной и минимальной скоростей перемещени  может быть задано один раз в начале работы, что повышает быстродействие модул  Разгон-2.For example, the values of the maximum and minimum travel speeds can be set once at the beginning of work, which improves the performance of the Acceleration-2 module.

Генератор 1 вырабатывает посто нную частоту, причем его первый выход  вл етс  выходом опорной частоты.Oscillator 1 produces a constant frequency, with its first output being the reference frequency output.

л емым делителем 2 частоты в выходную частоту, а его второй выход  вл етс  выходом частоты разгона-торможени , котора  преобразуетс  вторым управл емым делителем 3 частоты в частотуThe splitter frequency 2 is output to the output frequency, and its second output is the output of the acceleration-deceleration frequency, which is converted by the second controlled splitter 3 to the frequency

00

5five

00

5five

5 five

00

5five

00

счета реверсивного счетчика 5 импульсов , котора  характеризует величину ускорени  разгона-торможени . Регистр 4 задани  принимает с магистрали данных и хранит код величины ускорени  разгона-торможени , определ ющий коэффициент делени  второго управл емого делител  3 частоты, а также значени  управл ющих сигналов х, -х, у, -у дл  мультиплексора 10 и признак работа , определ ющий состо ние шины Разрешение разгона. Реверсивный счетчик 5 импульсов суммирует импульсы частоты разгона-торможени  при разгоне и вычитает при торможении , его разр дные выходы определ ют коэффициент делени  первого управл емого делител  2 частоты.counting the counter counter 5 pulses, which characterizes the magnitude of the acceleration-deceleration. Register 4 accepts tasks from the data highway and stores the acceleration-deceleration magnitude code that determines the division ratio of the second controllable divider 3 frequencies, as well as the values of the control signals x, -x, y, -y for multiplexer 10 and the indication of operation, bus status Enable acceleration. The reversible pulse counter 5 adds up the acceleration-deceleration frequency pulses during acceleration and subtracts during deceleration, its discharge outputs determine the division ratio of the first controlled divider 2 frequencies.

Суммирующий счетчик 6 разгона ведет подсчет импульсов разгона, а вычитающий счетчик 7 перемещени  вычитает каждый импульс выходной частоты из величины заданного перемещени , причем его нулевой выход свидетельствует об окончании отработки заданного перемещени . Блок 8 совпадени  определ ет момент начала торможени  путем сравнивани  текущего кода вычитающего счетчика 7 перемещени  с числом импульсов разгона суммирующего счетчика 6 разгона, а первый формирователь 9 формирует выходные импульсы с заданными параметрами, например длительностью.The totalizing acceleration counter 6 counts the acceleration pulses, and the subtractive displacement counter 7 subtracts each output frequency pulse from the value of the specified displacement, and its zero output indicates the end of the testing of the specified displacement. The coincidence unit 8 determines the start time of deceleration by comparing the current code of the subtractive movement counter 7 with the number of acceleration pulses of the acceleration summing counter 6, and the first driver 9 generates output pulses with predetermined parameters, such as duration.

Мультиплексор 10 в зависимости от значений управл ющих входов вьщает импульсы выходной частоты на один из выходов X, -X, у, -у или на одну из пар выходов (+х. +у), (х, -у), (-х, -у), (-Х, у). Первый и второй элементы И 11 и 12 разрешают счет реверсивного счетчика 5 импульсов соответственно пр разгоне или торможении. RS-триггер 13 управл ет разрешениемThe multiplexer 10, depending on the values of the control inputs, pulses the output frequency to one of the outputs X, -X, y, -y, or to one of the output pairs (+ x. + Y), (x, -y), (-x , -y), (-X, y). The first and second elements And 11 and 12 allow the counting of the reversible counter 5 pulses, respectively, overclocking or braking, respectively. RS trigger 13 controls resolution

торможени , а элемент ИЛИ 14 сбрасы- вает первый D-триггер 18, управл ющий разрешением разгона, тем самым запреща  разгон. Вычитающий счетчик 15 максимальной скорости вычитает каждый импульс частоты разгона-торможени  из кода, соответствующего максимальной величине скорости, и его нулевой выход свидетельствует о достижении максимальной величины скорости .braking, and the element OR 14 resets the first D-flip-flop 18, which controls the resolution of the acceleration, thereby prohibiting acceleration. The subtracting counter 15 of the maximum speed subtracts each pulse of the acceleration-deceleration frequency from the code corresponding to the maximum speed, and its zero output indicates that the maximum speed has been reached.

Регистр 16 минимальной скорости Хранит значение кода, соответствующее минимальной скорости перемещени , а также передает это значение на реверсивный счетчик 5 импульсов. Второй D-триггер 19 управл ет разрешением перемещени , т.е. разрешением прохождени  через третий элемент И 20 им г пульсов опорной частоты на тактовьй вход первого управл емого делител  2 частоты при выдаче признака отработки заданного перемещени  вторым формирователем 17.Register 16 of the minimum speed Stores the code value corresponding to the minimum speed of movement, and also transmits this value to a reversible counter 5 pulses. The second D flip-flop 19 controls the motion resolution, i.e. allowing the passage through the third element AND 20 of them g pulses of the reference frequency to the clock input of the first controlled splitter 2 frequency when issuing the sign of working out a given movement by the second driver 17.

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

Перед началом работы модуль (фиг.1) устанавливаетс  в исходное состо ниеBefore starting, the module (Fig. 1) is reset.

вход реверсивного счетчика 5, суммирующий вход реверсивного счетчика 5 и на вход первого управл емого дели- . тел  2 частоты.the input of the reversible counter 5, the summing input of the reversible counter 5 and the input of the first controlled divi- sion. tel 2 frequencies.

На тактовые входы первого и второго управл емых делителей 2 и 3 частоты подаетс  соответственно опорна  частота F через третий элемент И 19To the clock inputs of the first and second controlled dividers 2 and 3 frequencies, respectively, the reference frequency F is fed through the third element AND 19

10 (максимально допустима  частота на выходе модул ) и частота разгона- торможени  F, (максимально допустима  частота разгона модул ).10 (maximum permissible frequency at the output of the module) and frequency of acceleration and deceleration F, (maximum permissible frequency of acceleration of the module).

Выходные частоты Г,, и F,  вл ютс Output frequencies G ,, and F, are

15 независимыми, поскольку обеспечивают независимые параметры: F - скорость перемещени  электропривода, F, - величину ускорени  при разгоне-торможении . При этом частота F выбираетс 15 are independent, because they provide independent parameters: F is the speed of movement of the electric drive, F, is the acceleration value during acceleration and deceleration. In this case, the frequency F is selected

20 по максимально допустимой скорости перемещени  электропривода и равна максимально допустимой частоте на координатных выходах модул , а F, - по максимально допустимой величине20 at the maximum permissible speed of movement of the electric drive and equal to the maximum permissible frequency at the coordinate outputs of the module, and F, at the maximum permissible value

25 ускорени  разгона-торможени .25 acceleration acceleration braking.

Частота импульсов на выходах управл емых делителей частоты определ етс  коэффициентом делени  - кодом, поступающим на их управл ющие входы.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.

(например, командами Z и С при выпол- зо Частота импульсов F на выходе второнении модул  в стандарте КАМАК).(for example, with the Z and C commands when done, the pulse frequency F at the output of the second modulation in the CAMAC standard).

В начале цикла из магистрали данных заполн етс  .регистр 4 задани  (фиг. 2), куда занос тс  код величины ускорени  разгона-торможени , значени  управл ю1цих входом мультиплексора 10 (фиг. З) в зависимости от требуемого направлени  перемещени  и признак Работа,  вл ющийс  пуском модул , а также заноситс  код величины требуемого перемещени  в вычитающий счетчик 7 перемещени , код величины максимальной скорости перемещени  в вычитающий- счетчик 15 максимальной скорости и код величины -максимальной скорости перемещени  в регистр 16 минимальной скорости.At the beginning of the cycle, the register 4 tasks (Fig. 2) is filled in from the data highway, where the acceleration-deceleration acceleration value code is entered, the value of the control of the input of the multiplexer 10 (Fig. 3), depending on the required direction of movement and the characteristic Work, The starting module, as well as the code of the magnitude of the required movement in the subtractive movement counter 7, the code of the maximum movement speed in the subtracting counter 15 of the maximum speed and the code of the maximum movement speed in the register 16 of the minimum speed.

Занесение информации в регистр 4 задани  должно производитьс  после занесени  информации в счетчики 7 и 15. и регистр 16, так как с по влени-м ем 1 в разр де Работа происходит пуск модул .The information in the register 4 of the task must be entered after the information is entered into the counters 7 and 15. and the register 16, since with the occurrence of 1 in the category of operation the module starts.

в первоначальньй момент, до установлени  в 1. признака Работа в регистре 4 задани , выходы триггеров 13) 18 и 19 установлены в О и, таким образом, запрещают передачу имп пульсов соответственно на вьгчифак цийat the initial moment, before setting to 1. sign Work in the register 4 tasks, outputs of the triggers 13) 18 and 19 are set to O and, thus, prohibit the transmission of impulses, respectively, to triggering

го управл емого делител  3 частоты п - F,go controlled divider 3 frequencies n - F,

2 2

2k

35 где п - код, соответствующий заданному ускорению разгона-торможени , поступающий из регистра 4 задани  на управл ющие входы делител  3 частоты .35 where n is the code corresponding to the specified acceleration-deceleration acceleration, coming from the register 4 tasks to the control inputs of the divider 3 frequencies.

4040

4545

5050

5555

Импульсы с посто нной частотой F , соответствующей заданному ускорению, поступают на первые входы элементов И II и 12. При установлении признака Работа регистра 4 задани  в 1 второй формирователь 17 формирует короткий импульс, который перезаписывает значение минимальной скорости перемещени  из регистра 16 минимальной скорости в реверсивный счетчик 5. По заднему фронту этого импульса происходит установка триггеров 18 и 19 в 1. Эти триггеры открывают соответственно первый элемент И 11 и третий элемент И 20. Частота, соответствующа  коду величины ускорени  разгона-торможени , т.е. коэффициенту делени  второго управл емого делител  3 частоты, подаетс  на суммирующийPulses with a constant frequency F, corresponding to a given acceleration, arrive at the first inputs of elements II and 12. When the symptom is established, the register of task 4 in 1 the second driver 17 generates a short pulse that overwrites the value of the minimum speed of movement from the register 16 of the minimum speed to reversing counter 5. On the trailing edge of this pulse, the triggers 18 and 19 are set to 1. These triggers open the first element 11 and the third element 20, respectively. The frequency corresponding to the code of the value acceleration braking speed, i.e. the division ratio of the second controlled splitter 3 frequencies, is applied to the summing

вход реверсивного счетчика 5, суммирующий вход реверсивного счетчика 5 и на вход первого управл емого дели- тел  2 частоты.the input of the reversible counter 5, the summing input of the reversible counter 5 and the frequency 2 at the input of the first controlled divider.

На тактовые входы первого и второго управл емых делителей 2 и 3 частоты подаетс  соответственно опорна  частота F через третий элемент И 19To the clock inputs of the first and second controlled dividers 2 and 3 frequencies, respectively, the reference frequency F is fed through the third element AND 19

(максимально допустима  частота на выходе модул ) и частота разгона- торможени  F, (максимально допустима  частота разгона модул ).(the maximum permissible frequency at the output of the module) and the frequency of acceleration and deceleration F, (the maximum permissible frequency of acceleration of the module).

Выходные частоты Г,, и F,  вл ютс Output frequencies G ,, and F, are

независимыми, поскольку обеспечивают независимые параметры: F - скорость перемещени  электропривода, F, - величину ускорени  при разгоне-торможении . При этом частота F выбираетс independent, because they provide independent parameters: F is the speed of movement of the drive, F, is the acceleration value during acceleration and deceleration. In this case, the frequency F is selected

по максимально допустимой скорости перемещени  электропривода и равна максимально допустимой частоте на координатных выходах модул , а F, - по максимально допустимой величинеat the maximum allowable speed of movement of the drive and equal to the maximum allowable frequency at the coordinate outputs of the module, and F, at the maximum allowable value

ускорени  разгона-торможени .accelerate acceleration braking.

Частота импульсов на выходах управл емых делителей частоты опреде етс  коэффициентом делени  - кодом, поступающим на их управл ющие входы.The frequency of the pulses at the outputs of the controlled frequency dividers is determined by the division factor — the code received at their control inputs.

астота импульсов F на выходе второго управл емого делител  3 частоты п - F,the frequency of the pulses F at the output of the second controlled divider 3 frequency n - F,

2 2

2k

35 где п - код, соответствующий заданному ускорению разгона-торможени , поступающий из регистра 4 задани  на управл ющие входы делител  3 частоты .35 where n is the code corresponding to the specified acceleration-deceleration acceleration, coming from the register 4 tasks to the control inputs of the divider 3 frequencies.

4040

4545

5050

5555

Импульсы с посто нной частотой F , соответствующей заданному ускорению, поступают на первые входы элементов И II и 12. При установлении признака Работа регистра 4 задани  в 1 второй формирователь 17 формирует короткий импульс, который перезаписывает значение минимальной скорости перемещени  из регистра 16 минимальной скорости в реверсивный счетчик 5. По заднему фронту этого импульса происходит установка триггеров 18 и 19 в 1. Эти триггеры открывают соответственно первый элемент И 11 и третий элемент И 20. Частота, соответствующа  коду величины ускорени  разгона-торможени , т.е. коэффициенту делени  второго управл емого делител  3 частоты, подаетс  на суммирующийPulses with a constant frequency F, corresponding to a given acceleration, arrive at the first inputs of elements II and 12. When the symptom is established, the register of task 4 in 1 the second driver 17 generates a short pulse that overwrites the value of the minimum speed of movement from the register 16 of the minimum speed to reversing counter 5. On the trailing edge of this pulse, the triggers 18 and 19 are set to 1. These triggers open the first element 11 and the third element 20, respectively. The frequency corresponding to the code of the value acceleration braking speed, i.e. the division ratio of the second controlled splitter 3 frequencies, is applied to the summing

вход реверсивного счетчика 5 импульсов . Импульсы на суммирующий вход реверсивного счетчика 5 поступают до гех пор, пока из элемента ИЛИ 14 не поступит сигнал сброса разрешени  разгона, т.е. сброса триггера 18. Триггер 18 также разрешает счет суммирующему счетчику 6 разгона и вычи- ающему счетчику 15 максимальной :корости. Таким образом, в суммирую- ;цем счетчике 6 разгона хранитс  ин- юрмаци  о количестве импульсовj по- ;тупивших на выход модул  за врем  эазгона.5 counts reversible counter input. The pulses to the summing input of the reversible counter 5 are received until long until the reset signal of the acceleration resolution is received from the element OR 14, i.e. reset the trigger 18. The trigger 18 also allows the counting summing counter 6 acceleration and subtracting counter 15 maximum: speed. Thus, the totalizer of the acceleration counter 6 stores an information about the number of pulses j that the module outputted during the aezgon time.

Одновременно с заполнением ревер- (ивного счетчика 5 происходит вычи- ание с этой же частотой вычитающего ;четчика 15 максимальной скорости, аSimultaneously with the filling of the rever- sion (counter 5, the subtractor; the maximum speed is calculated; and

разгона, злемент И 11 закрываетс  и заполнение реверсивного счетчика 5 импульсов прекращаетс . Далее, если запрет разгона был вызван достижением максимальной скорости, о чем свидетельствует импульс на нулевом выходе вычитающего счетчика 15 максимальной скорости, содержащего в данньш моментacceleration, the element I 11 is closed and the filling of the reversible counter 5 pulses is stopped. Further, if the acceleration prohibition was caused by the achievement of the maximum speed, as evidenced by the pulse at the zero output of the subtracting counter 15, the maximum speed containing at this moment

код О, перемещение осуществл етс  с посто нной скоростью .c ДО по влени  сигнала на выходе 8 совпадени . Максимальной скорости перемещени  соответствует максимальное значение кода реверсивном счетчике 5 импульсов,.причем во врем  разгона до максимальной скорости код на выходе счетчика 5 измен етс  от N до N по линейному закону. Еслиcode O, the movement is carried out at a constant speed .c before the occurrence of the signal at output 8 of the match. The maximum speed of the movement corresponds to the maximum code value of the reversible counter of 5 pulses. Moreover, during acceleration to the maximum speed, the code at the output of counter 5 varies from N to N linearly. If a

также происходит заполнение суммирую- 2Q запрет разгона вызван отработкой поцего счетчика о разгона и вычитание :четчика 7 перемещени  выходной час- готой Fgjjij первого управл емого де- Лител  2 частоты, на управл ющие вхо- Жы которого поступает текущий код исла N реверсивного счетчика 5 импульсов . Следовательно, частота измен етс  пропордионально числу N:Filling of the acceleration is also caused by the summing up of the counter for acceleration and subtraction: of the 7 displacement of the output controlled frequency Fgjjij of the first controlled divider 2 frequencies, on the control inputs of which the current code of the Islamic N reversing counter of 5 pulses is fed . Consequently, the frequency varies in proportion to the number N:

N FN F

выхout

1|1ри этом траектории разгона и тор- 1|1ожени  максимально приближены к ес- ественным траектори м разгона и торможени  электроприводов, обеспечи на  тем самым оптимальность управле1 ИЯ .1 | 1In this, the acceleration and torpedo- • tion paths are as close as possible to the natural acceleration and deceleration trajectories of the electric drives, thereby ensuring optimal control of the FL.

I Импульсы выходной частоты Рц, формируютс  первым формирователем 9 мпульсов, с выхода которого с заданной длительностью, например 0,5 мкс, Поступают на вход мультиплексора 10 (фиг. З) . Сформированные импульсы йыкодной частоты коммутируютс  в Мультиплексоре 10 в соответствии со з начени ми управл ющих входов, определ емых регистром 4 задани  (фиг.2) Г(ри этом перемещение задаетс  по од- к|ому из восьми возможных направлений (фиг. 5) .I Pulses of the output frequency Rc, are formed by the first shaper of 9 MPs, from the output of which with a given duration, for example 0.5 μs, are fed to the input of the multiplexer 10 (Fig. 3). The generated frequency pulses are switched in the Multiplexer 10 in accordance with the beginnings of the control inputs defined by the register 4 tasks (Fig. 2) T (here the displacement is specified in one of eight possible directions (Fig. 5).

При достижений максимальной ско- ptOCTH V ,. (задано перемещение 1 (|фиг, 4) или при сравнении кодов счечиков 6 и 7 - перемещение 1, , что С видетел ствует об отработке на разгоне половины заданной величины пе- р|емещени , а втора  половина должна 6feiTb отработана с торможением, сбра- сМваетс  s О триггер 18 разрешени When the maximum speed is reached (displacement 1 is specified (| FIG. 4) or when comparing the codes of the scores 6 and 7, displacement 1, that C sees to work on accelerating half of the specified transmittance, and the second half should be 6feiTb worked through braking, collecting - Removed s trigger trigger 18

00

ловины заданного перемещени  на разгоне , то сигнал Больше или равно с выхода блока 8 совпадени  запрещает разгон путем сброса триггера 18 5 разрешени  разгона через элемент ИЛИ 14 и устанавливает триггер 13 разре- длени  торможени  в единичное состо ние , который чере.з элемент И 12 разрешает вычитание реверсивного счетчика 5 импульсов и перемещение про- исходит с торможением. При этом импульсы с частотой F через элемент И 12 поступают на вычитающий вход реверсивного счетчика 5 импульсов, код которого N линейно уменьшаетс , уменьща  пропорционально частоту Р,, . Если количество импульсов заданного перемещени  в счетчике 7 перемещени  (при заданном перемещении Л1,, фиг.4) четное, то блок 8 совпадени  выдает сигнал при равенстве кодов счетчика 6 разгона и счетчика 7 перемещени , если количество импульсов нечетное, то блок 8 совпадени  выдает сигнал, когда код в счетчике 6 разгона на 1 больше кода в счетчике 7 перемещени  .of a given displacement on acceleration, the signal is greater than or equal to the output of block 8, the coincidence prohibits acceleration by resetting the trigger 18 5 of the resolution of acceleration through the OR element 14 and sets the trigger 13 of the deceleration resolution to the unit state which allows subtraction of the reversible counter of 5 pulses and the displacement occurs with braking. In this case, pulses with a frequency F through the element I 12 are fed to the subtracting input of the reversible counter of 5 pulses, the code of which N decreases linearly, decreasing in proportion to the frequency P ,,. If the number of pulses of a given movement in the movement counter 7 (for a given movement L1, FIG. 4) is even, then the coincidence unit 8 generates a signal when the acceleration counter 6 and the movement counter 7 are equal, if the number of pulses is odd, the coincidence unit 8 outputs a signal when the code in the counter 6 acceleration is 1 more than the code in the counter 7 movement.

5five

00

5five

При обработке заданного перемещени  с достижением максимальной скорости блок 8 совпадени  вьщает сигнал, свидетельствующий, что оставшиес  импульсы заданного перемещени  (хран щиес  в счетчике 7) должны быть отработаны с торможением. При этом обеспечиваетс  отработка равного числа импульсов на разгоне и торможении, поскольку в счетчике 6 зафиксировано число имНульсов, отработанных в режиме разгона (до достижени  максимальной скорости).When processing a given movement with the maximum speed reached, the block 8 coincides with a signal indicating that the remaining pulses of the specified movement (stored in the counter 7) must be processed with deceleration. At the same time, an equal number of pulses during acceleration and deceleration is tested, since counter 6 records the number of impulses processed in the acceleration mode (until the maximum speed is reached).

Торможение прекращаетс  при окончании отработки модулем заданного перемещени , о чем свидетельствует им- пульс на нулевом выходе вычитающего счетчика 7 перемещени , содержащего в данный момент код О. Этот импульс сбрасывает также суммирующий счетчик 6 разгона, триггер 13 размещени  торможени  и триггер 9 размещени  перемещени  в О, запреща  торможение и -блокиру  через элемент И 20 подачуThe braking stops when the module completes a specified movement, as evidenced by the impulse at the zero output of the subtractive displacement counter 7, which currently contains O code. This impulse also resets the totalizing acceleration counter 6, the braking placement trigger 13 to O , prohibits braking and -blocking through the element AND 20 flow

2020

импульсов частоты F на первый управ- g ние модул  примерно на 25% вследствие возможности программировани  величины максимальной скорости перемещени ; повьшение производительности управл емых автоматов примерно на 20% за счет возможности оптимизации динамических характеристик, в том числе величины минимальной скорости перемещени .pulses of frequency F for the first control of the module by approximately 25% due to the possibility of programming the value of the maximum speed of movement; an increase in the productivity of controlled automata by about 20% due to the possibility of optimizing the dynamic characteristics, including the magnitude of the minimum speed of movement.

Перечисленные преимущества обес- 25 печивают повышение эффективности ма- гистрально-модульных систем программного управлени  электроприводом, например, в графопостроител х, координатных столах, станках с программным управлением или промышленных роботах , а также функционировани  оборудовани  с программным управлением и вычислительной техники в целом.These advantages provide an increase in the efficiency of the mainstream modular software systems of electric drive control, for example, in graph plotters, coordinate tables, software-controlled machines or industrial robots, as well as the functioning of software with computer control and computing equipment in general.

л емьш делитель 2 частоты, тем самым и частоты на выходах модул . Этот импульс  вл етс  сигналом запроса , подтверждающего готовность модул  к отработке следующего цикла, и поступает в магистраль данных. Так заканчиваетс  цикл отработки модулем заданного, перемещени  .It is a divider of 2 frequencies, thus the frequencies at the outputs of the module. This pulse is a request signal confirming that the module is ready to complete the next cycle and enters the data line. Thus ends the cycle of testing by the module of a given displacement.

В результате, модуль находитс  в следующем состо нии: суммирующий счетчик б разгона и вычитающий счетчик 15 максимальной скорости сброшены в О, триггеры 13, 18 и 19, разрешающие режимы работы модул , - О. Состо ние реверсивного счетчика 5 безразлично, так как в начале каждого цикла происходит перезапись содержимого регистра 16 минимальной скорости в этот счетчик.As a result, the module is in the following state: the summing up counter b of overclocking and the subtracting counter 15 of the maximum speed are reset to O, the triggers 13, 18 and 19 permitting the operating modes of the module are O. The state of the reversible counter 5 is indifferent, since at the beginning Each cycle overwrites the contents of the minimum speed register 16 into this counter.

Таким образом, модуль готовит к приему нового задани  на перемещение. Задава  в регистр 16 минимальной скорости различные коды скорости, можно мен ть скорость, с которой начинает .с  отработка двигателем заданной величины перемещени , т.е. можно производить оптимизацию динамических ха- ректеристик управл емых электромеха-нических приводов.Thus, the module prepares to receive a new motion task. By assigning various speed codes to the minimum speed register 16, it is possible to change the speed at which the engine begins to work out a specified displacement amount, i.e. It is possible to optimize the dynamic characteristics of controlled electromechanical drives.

Из приведенного описани  работы .модул  следует, что по сравнению с известными модулем предлагаемый реализует принципиально новый способ организации перемещени  электропривода с разгоном и торможением, в котором нар ду с возможностью про-- граммного управлени  величинами ускорени  разгона-торможени , максимальной и минимальной скоростей перемещени , автоматически определ етс  момент начала торможени  на основе контрол  унитарного кода, который формируетс  с выходной частотой модул , причем последний импульс задан30From the description of the work of the module, it follows that, compared with the known module, the proposed implementation implements a fundamentally new way of organizing the movement of the electric drive with acceleration and deceleration, in which, along with the possibility of programmatically controlling the values of acceleration and deceleration, maximum and minimum movement speeds, the moment of the start of deceleration is automatically determined on the basis of the control of the unitary code, which is formed with the output frequency of the module, with the last pulse given 30

3535

4040

4545

5050

5555

Claims (1)

Формула изобретени Invention Formula Программно-управл емый модуль, содержащий генератор импульсов первый и второй элементы И, RS-триггер, ма-. гистраль данных, элемент ИЛИ, первый управл емый делитель частоты, управл ющие входы которого соединены с разр дными выходами реверсивного счетчика импульсов, второй управл е- мьш делитель частоты, управл ющие входы которого соединены с первыми управл ющими выходами регистра задани , вторые управл ющие вькоды которого соединены с управл ющими входами мультиплексора, тактовый вход которого- соединен с выходом первого формировател  импульсов, первые и вторые информационные входы блока совпадени  соединены соответственно с информационными выходами суммирующего счетчика, импульсов разгона и вычитающего счетчика импульсов пере мещени , выход нул  вычитающего счетчика импульсов перемещени  соединенA software-controlled module containing a pulse generator, the first and second elements And, RS-trigger, ma-. data hub, an OR element, the first controlled frequency divider, the control inputs of which are connected to the bit outputs of the reversible pulse counter, the second control frequency splitter, the control inputs of which are connected to the first control outputs of the register of the reference, the second control signals which are connected to the control inputs of the multiplexer, the clock input of which is connected to the output of the first pulse shaper, the first and second information inputs of the match block are connected respectively to the information ion outputs of a summing counter, acceleration pulses, and a subtracting pulse counter for movement, the zero output of the subtractive motion pulse counter is connected 14050281405028 ного перемещени   вл етс  также последним импульсом торможени ,movement is also the last braking impulse Известный программно-управл емый модуль характеризуетс  невозможностью программировани  величины минимальной скорости перемещени , чем и .объ сн етс  его функциональна  ограниченность .The well-known software-controlled module is characterized by the impossibility of programming the minimum movement speed, which explains its functional limitations. Согласно приведенному анализу и расчету получены ориентировочные данные по достигаемому эффекту при использовании программно-управл емого модул -: функциональное расшнреAccording to the above analysis and calculation, approximate data on the achieved effect were obtained when using a software-controlled module -: functional expansion Формула изобретени Invention Formula Программно-управл емый модуль, содержащий генератор импульсов первый и второй элементы И, RS-триггер, ма-. гистраль данных, элемент ИЛИ, первый управл емый делитель частоты, управл ющие входы которого соединены с разр дными выходами реверсивного счетчика импульсов, второй управл е- мьш делитель частоты, управл ющие входы которого соединены с первыми управл ющими выходами регистра задани , вторые управл ющие вькоды которого соединены с управл ющими входами мультиплексора, тактовый вход которого- соединен с выходом первого формировател  импульсов, первые и вторые информационные входы блока совпадени  соединены соответственно с информационными выходами суммирующего счетчика, импульсов разгона и вычитающего счетчика импульсов пере мещени , выход нул  вычитающего счетчика импульсов перемещени  соединенA software-controlled module containing a pulse generator, the first and second elements And, RS-trigger, ma-. data hub, an OR element, the first controlled frequency divider, the control inputs of which are connected to the bit outputs of the reversible pulse counter, the second control frequency splitter, the control inputs of which are connected to the first reference register control outputs, the second control signals which are connected to the control inputs of the multiplexer, the clock input of which is connected to the output of the first pulse shaper, the first and second information inputs of the match block are connected respectively to the information ion outputs of a summing counter, acceleration pulses, and a subtracting pulse counter for movement, the zero output of the subtractive motion pulse counter is connected с шиной Конец работы, магистраль данных соединена с информационными входами регистра задани , информационными входами вычитающего счетчика импульсов максимальной скорости и с шиной Конец работы, второй выход генератора импульсов соединен со счетным входом второго управл емого делител  частоты, выход которого соединен с первым входом первого элемента И и первым входом второго элемента И, второй вход которого соединен с пр мым выходом RS-триггера, R-вход которого соединен с шиной Конец работы , а S-вход - с первым входом элемента ИЛИ и с выходом блока совпадени , второй вход элемента ИЛИ соединен с выходом вычитающего счетчика импульсов максимальной скорости, сум- .мирующий и вычитающий входы реверсивного счетчика импульсов соединены с выходами соответственно первого и второго элементов И, о т л и ч а ю- щ и и с   тем, что, с целью расширени  функциональных возможностей за счет программировани  минимальной скорости перемещени , в него введены регистр минимальной скорости, второй формирователь импульсов, первый и второй D-триггеры, третий элемент И, выход которого соединен с входом первого управл емого делител  частоты, первый и второй входы третьего элемента И соединены соответственно сwith bus End of operation, data line is connected to information inputs of the register of the task, information inputs of the subtracting pulse counter of maximum speed and with bus End of work, the second output of the pulse generator is connected to the counting input of the second controlled frequency divider, the output of which is connected to the first input of the first And element and the first input of the second element I, the second input of which is connected to the direct output of the RS flip-flop, the R input of which is connected to the bus End of work, and the S input to the first input of the element OR and you by the coincidence block, the second input of the OR element is connected to the output of the subtracting pulse counter of maximum speed, the summing and subtracting inputs of the reversible counter of pulses are connected to the outputs of the first and second elements, respectively, that, in order to extend the functionality by programming the minimum movement speed, a minimum speed register, a second pulse shaper, the first and second D-flip-flops, a third AND element, whose output is connected to the input of the first controlled frequency divider, the first and second inputs of the third element And are connected respectively to От магистрали.From the highway. Л L Ч ч Ч, H h h ,п  ,P му ьтиплехсору modle bleu Велич. цскор. Great cskor Фиг.22 5five первым выходом генератора импульсов и с пр мым выходом первого D-тригге- ра, С-вход которого соединен с С-вхо- дом второго D-триггера, с управл ющим входом реверсивного счетчика импульсов и с выходом второго формировател  импульсов, вход которого соединен с третьим выходом регистра задани , R-вход первого D-триггера соединен с шиной Конец работы, R-вход второго D-триггера - с выходом элемента ИЛИ, информационные входы первого и второго D-триггеров посто нно соединены с шиной логической единицы, пр мой выход второго D-триггера соединен с входом разрешени  счета вычитающего счетчика импульсов максимальной скорости, с вторым входом первого элемента И и с входом разрешени  счета суммирующего счетчика импульсов разгона, счетный вход которого соединен со счетным входом вычитающего счетчика импульсов перемещени  и сthe first output of the pulse generator and with the direct output of the first D-trigger, the C input of which is connected to the C input of the second D trigger, with the control input of the reversible pulse counter and the output of the second pulse driver, the input of which is connected to the third output of the job register, the R input of the first D-flip-flop is connected to the bus. End of operation, the R-input of the second D-flip-flop - with the output of the OR element, the information inputs of the first and second D-flip-flops are permanently connected to the bus of the logical unit, direct output The second D-flip-flop is connected to the input ohm resolution resolution of the subtracting pulse counter of the maximum speed, with the second input of the first element I and with the input resolution of the counting counter of the acceleration pulse counter, the counting input of which is connected to the counting input of the subtracting pulse pulse counter and with 5 выходом первого формировател  импульсов , вход сброса суммирующего счетчика импуль сов разгона соединен с шиной Конец работы, разр дные выходы регистра минимальной скорости соединеQ ны с информационными входами реверг- сивного счетчика импульсов, информационные входы регистра задани  - с магистралью данных, а выходы мультиплексора - соответствующими выходами программно-управл емого модул .5 by the output of the first pulse generator, the reset input of the summing pulse counter for acceleration is connected to the bus. the outputs of the software-controlled module. 00 II П чII P h .f.f пак С pack C FF максMax ./2 макс./2 max инin ЖF // // II . i. i II -TO I I JJ Ij Ij 1one II лl торм j Atj Thor j Atj Фи&.Fi &. ){,if) {, if -e -X,-if-X, -if . У. Have лl .х,.x Фа г 5Fa g 5
SU864100256A 1986-08-04 1986-08-04 Program control module SU1405028A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU864100256A SU1405028A1 (en) 1986-08-04 1986-08-04 Program control module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU864100256A SU1405028A1 (en) 1986-08-04 1986-08-04 Program control module

Publications (1)

Publication Number Publication Date
SU1405028A1 true SU1405028A1 (en) 1988-06-23

Family

ID=21250024

Family Applications (1)

Application Number Title Priority Date Filing Date
SU864100256A SU1405028A1 (en) 1986-08-04 1986-08-04 Program control module

Country Status (1)

Country Link
SU (1) SU1405028A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР № 1177795, кл. G 05 В 19/18, 1984. Авторское свидетельство СССР № 1327066, кл. G 05 В 19/18, 1986. *

Similar Documents

Publication Publication Date Title
US4740915A (en) Method of controlling a microprocessor to monitor input signals at irregular mutually intersecting intervals
SU1405028A1 (en) Program control module
US3887796A (en) Digital incremental control system
SU1403018A1 (en) Program control module
SU1327066A1 (en) Program-controlled module
SU694832A2 (en) Programmed control device
SU1386964A1 (en) Device for accelerating and braking electric drive
SU991374A1 (en) Function interpolator
SU1374182A1 (en) Device for accelerating and braking electric drive
SU1647516A1 (en) Device for stepped motor control
SU1072002A1 (en) Positioning programmed control device with self-check
SU744464A1 (en) Programme control apparatus
SU1481714A2 (en) Multichannel program-controlled stepping motor controller
SU1509832A1 (en) Module for program control of electric drive
SU1335931A1 (en) Device for programmed control of floor polishing machine
SU1327062A1 (en) Apparatus for setting program
SU543922A1 (en) Linear interpolator
SU526066A2 (en) Frequency multiplier
SU1317399A1 (en) Programmed control device
SU1730629A1 (en) Device for control of mating between processor and subscribers
SU1080120A1 (en) Programmed control device
SU1327063A1 (en) System for programmed control
SU938264A1 (en) Two-coordinate program control system
SU955024A1 (en) Device for calculating random changing function
SU1297011A1 (en) Device for automatic accelerating and braking of motor of numerically controlled machine tool