Изобретение относитс к области автоматики и вычислительной техники и может быть использовано в контурных электромеханических системах программного управлени . Известно устройство дл автомати ческого разгона и замедлени в системах программного управлени станк ми, содержащее задающий генератор, преобразователь частота-код, делитель частоты, умножитель частЪты и коммутатор, позвол ющее получить линейную характерист11ку разгона и торможени l. Недостатком устройства вл етс HestJCOKoe быстродействие. Наиболее близким техническим решением к предлагаемому вл етс уст ройство дл программного управлени содержащее задающий генератор, выход которого подключен к первому входу управл емого делител частоты ко второму входу которого подключен выход реверсивного счетчика, входы которого подключены к выходам венти лей 2. Недостатком данного устройства л етс посто нный темп разгона-тор можени при переменной нагрузке и, как следствие, невысока точность. Цель изобретени - повышение точности устройства. Поставленна цель достигаетс тем, что в устройство введены два блока сравнени , причем выходы первого блока сравнени соединены с первыми входами вентилей, а вход - с выходом реверсивного счетчика, выходы второго блока сравнени соединены со вторыми входами вентилей, третьи входы которых подключены к выходу управл емого делител частоты. На чертеже представлена функциональна схема устройства, содержащего задающий генератор 1,управл -емый делитель частоты 2, реверсивный счетчик 3, вентили 4 и 5, первый 6 и второй 7 блоки сравнени , выход 8 и входы 9 и 10 устройства. Устройство работает следующим образом . Частота следовани выходных импульсов на выходе 8 регулируетс в зависимости от динамических характеристик след щей системы. Это обеспечиваетс тем, что на вход 9 устройства поступает сигнал, соответствую1ДИЙ величине ошибки рассогласовани „ На вход.10 устройства подаетс сигнал , соответствующий величине вы- .The invention relates to the field of automation and computer technology and can be used in contour electromechanical software control systems. A device for automatic acceleration and deceleration in software systems for controlling machine tools is known, comprising a master oscillator, a frequency-code converter, a frequency divider, a part multiplier and a switch allowing to obtain a linear acceleration and deceleration characteristic l. The disadvantage of the device is the HestJCOKoe speed. The closest technical solution to the proposed is a device for software control containing a master oscillator, the output of which is connected to the first input of the controlled frequency divider to the second input of which the output of the reversible counter is connected, the inputs of which are connected to the outputs of the valve 2. The disadvantage of this device is The constant acceleration rate of the canor at variable load and, as a result, low accuracy. The purpose of the invention is to improve the accuracy of the device. The goal is achieved by the fact that two comparison units are introduced into the device, the outputs of the first comparison unit are connected to the first inputs of the valves, and the input is connected to the output of the reversible counter, the outputs of the second comparison unit are connected to the second inputs of the valves, the third inputs of which are connected to the output of the controlled frequency divider. The drawing shows a functional diagram of a device comprising a master oscillator 1, a controlled frequency divider 2, a reversible counter 3, valves 4 and 5, the first 6 and second 7 comparison blocks, output 8 and inputs 9 and 10 of the device. The device works as follows. The frequency of the output pulses at the output 8 is adjusted depending on the dynamic characteristics of the tracking system. This is ensured by the fact that the input 9 of the device receives a signal corresponding to the value of the error of the error "The signal corresponding to the value of you is given to the input 10 of the device.