CS267955B1 - Equipment for stepper motor controllers - Google Patents

Equipment for stepper motor controllers Download PDF

Info

Publication number
CS267955B1
CS267955B1 CS882955A CS295588A CS267955B1 CS 267955 B1 CS267955 B1 CS 267955B1 CS 882955 A CS882955 A CS 882955A CS 295588 A CS295588 A CS 295588A CS 267955 B1 CS267955 B1 CS 267955B1
Authority
CS
Czechoslovakia
Prior art keywords
input
expander
chip microcomputer
output
circuit
Prior art date
Application number
CS882955A
Other languages
Czech (cs)
Other versions
CS295588A1 (en
Inventor
Ludvik Ing Csc Spiral
Jiri Ing Kunes
Original Assignee
Spiral Ludvik
Jiri Ing Kunes
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 Spiral Ludvik, Jiri Ing Kunes filed Critical Spiral Ludvik
Priority to CS882955A priority Critical patent/CS267955B1/en
Publication of CS295588A1 publication Critical patent/CS295588A1/en
Publication of CS267955B1 publication Critical patent/CS267955B1/en

Links

Landscapes

  • Control Of Stepping Motors (AREA)

Abstract

Je řešeno zařízeni pro řízeni krokového motoru využívající jednočipového mikropočítače a nčkolika podpůrných obvodů. Jednočipový mikropočítač je propojen Jednak s obvodem pro zadávání činnosti, 3 obvodom pro zadání programu a obvodem pro zadávání počtu kroků, ryohlosti motoru a smčru otáčení, jednali se zobrazovací jednotkou a obvodom signalizace chybného programováni a chybné manipulace se zařízoním, a jodnak s obvodem pro zadáváni druhu provozu. Toto propojení dovoluje realizovat tři režimy činnosti mikropočítače, a to rožim programování, rožim ručního řízoní krokového motoru a režim programového řízeni krokového motoru. Dále jo mikropočítač spojon s převodníkem čislo/frokvonco, ktorý zajišlujo generováni řídících pulsů, jejichž frekvonoo odpovídá požadovaná rychlosti motoru. Mikropočítač jo rovněž propojen s pamčími RAM a EPROM sloužioioh pro uloženi dat a programu činnosti raikropočítačo.A device for controlling a stepper motor using a single-chip microcomputer and several supporting circuits is provided. The single-chip microcomputer is connected to a circuit for inputting an activity, a circuit for inputting a program and a circuit for inputting the number of steps, the motor speed and the direction of rotation, a display unit and a circuit for signaling incorrect programming and incorrect manipulation of the device, and a circuit for inputting the mode of operation. This connection allows three modes of operation of the microcomputer to be implemented, namely the programming mode, the manual control mode of the stepper motor and the program control mode of the stepper motor. Furthermore, the microcomputer is connected to a number/frequency converter, which ensures the generation of control pulses, the frequency of which corresponds to the required motor speed. The microcomputer is also connected to RAM and EPROM memories used for storing data and the program of the microcomputer's operation.

Description

Vynález so týká zařízení pro programová řízení krokového motoru, přičemž výstupem přístroje jsou řídící pulsy, které jo možno přivést na zesilovače jednotlivých vinutí krokového motoru. Přístroj zajištuje generování řídících pulsů o frekvenci zadané požadovanou rychlostí motoru v jednotlivých úsecích programu, počtem zadaných kroků jirogramu a Jeho směru otáčení.The invention relates to a device for program control of a stepper motor, the output of the device being control pulses which can be applied to the amplifiers of the individual windings of the stepper motor. The device generates control pulses with the frequency specified by the required motor speed in individual sections of the program, the number of entered jirogram steps and its direction of rotation.

Dosud známá zapojení volně programovatelných systémů pro programové řízení krokových motorů této třídy jsou realizována zo stavebnic mikropočítačů. Hlavní nevýhodou těchto řošoní jo složité zapojení, velká oona jednotlivých dosok, nevyužití všech součástek desek, nižší spolehlivost, velké rozměry a hmotnost.Previously known connections of freely programmable systems for program control of stepper motors of this class are realized from microcomputer kits. The main disadvantage of these rhymes is the complex connection, large number of individual boards, non-use of all board components, lower reliability, large dimensions and weight.

Výše uvedené nedostatky odstraňuje zařízení pro programové řízení krokového motoru, s jednočipovým mikropočítačem s prunčtí podlo vynálozu. Joho podstatou je, žo první vstupně-výstupní brána jednočipového mikropočítače je propojena jednaje s datovými výstupy paměti RAM, jednak s datovými výstupy pamčti EPROM či PROM a Jednak se vstupy budiče sběrnic. Výstup budiče sbčrnic je propojen s adresními vývody paměti RAM a s adresními vývody paměti EPROM, Vývody signálů pro čtení a zápis jednočipového mikropočítače Jsou spojeny s vývody paměti RAM a vývod jednočipového mikropočítače je propojen s vývodem budiče sběrnic. Jednočipový mikropočítač je dále spojen s pamětí EPROM, která je adresními vývody spojena s první polovinou třetí vstupně-výstupní brány, dále se vstupem prvního expanderu, se vstupem druhého expanderu a so vstupem třetího expanderu. Výběrový vstup prvního, druhého a třetího expanderu Je propojen s jedním bitem druhé poloviny třetí vstupně-výstupní brány a s dalším bitem této brány. Na výstupy prvního expanderu jo připojen obvod zadávání druhu provozu, obvod zadávání činnosti a zesilovače jednotlivých vinutí krokového motoru. Výstupy třetího expanderu jsou spojeny so zobrazovací jednotkou. První výstup druhého expanderu je spojen se zadávacím obvodem pro programování, ostatní výstupy jsou propojeny se zadávacím obvodem počtu kroků, rychlosti a smyslu otáčení. Na jednočipový mikropočítač jo též napojen obvod indikace chybného zadávání programu a chybné manipulace. Druhá vstupně-výstupní brána mikropočítače je propojena s číslicovým vstupem převodníku číslo/frekvence, jehož frekvenční výstup je propojen s výstupem vstupu externí žádosti o přox-ušení mikropočítače. Vývod spouštění převodníku číslo/frokvence je propojen s jedním bitem třetí vstupně-výstupní brány mikropočítače.The above-mentioned drawbacks are eliminated by a device for program control of a stepper motor, with a single-chip microcomputer with a pruning basis according to the invention. Its essence is that the first I / O gate of a single-chip microcomputer is connected to the data outputs of the RAM memory, on the one hand to the data outputs of the EPROM or PROM memory and to the other to the inputs of the bus driver. The output of the bus driver is connected to the address terminals of the RAM memory and to the address terminals of the EPROM memory. Signal terminals for reading and writing a single-chip microcomputer. The single-chip microcomputer is further connected to the EPROM memory, which is connected via address terminals to the first half of the third I / O gate, to the input of the first expander, to the input of the second expander and to the input of the third expander. The select input of the first, second and third expanders is connected to one bit of the second half of the third I / O gate and to another bit of this gate. The output type input circuit, the operation input circuit and the amplifiers of the individual windings of the stepper motor are connected to the outputs of the first expander. The outputs of the third expander are connected to the display unit. The first output of the second expander is connected to the input circuit for programming, the other outputs are connected to the input circuit for the number of steps, speed and direction of rotation. The circuit for indicating incorrect program entry and incorrect manipulation is also connected to the single-chip microcomputer. The second input-output gate of the microcomputer is connected to the digital input of the number / frequency converter, the frequency output of which is connected to the output of the input of the external request for overcompression of the microcomputer. The start terminal of the number / frequency converter is connected to one bit of the third I / O gate of the microcomputer.

Předložené zapojení oproti zapojení se stavebnicovým mikropočítačem má přednost v tom, že dosahuje stejné funkce s minimálním počtem součástek, že je ekonomicky výhodné a že má malé rozměry a hmotnost. Dálo dovoluje jednoduchým a rychlým způsobem zadávat program řízení, testovat charakteristické hodnoty programu, automatickou kontrolu zadávaných údajů a funkce se signalizací případných chyb, například při překročení povoleného počtu kroků, překročení povolené skokové změny frekvence krokování, povolené naprogramování maximální rychlosti otáček krokového motoru a počtu úseků. Zabezpečuje automatické hradlování výstupu při chybné manipulaci s přístrojem, případně při indikaci poruchy přístroje. Umožňuje dálkové řízení přístroje a galvanickým oddělením výstupních signálů a signálů dálkového ovládání zvyšuje odolnost proti elektrickému rušení a případným přepětím sítě. Výhodou je též použitelnost pro Jakýkoliv typ krokového motoru změnou odpovídajícího programu činnosti mikropočítače.The present circuitry has the advantage over circuitry of a modular microcomputer in that it achieves the same function with a minimum number of components, is economically advantageous, and is small in size and weight. Furthermore, it allows you to enter the control program in a simple and fast way, test the characteristic values of the program, automatic control of input data and functions with signaling of possible errors, for example when exceeding the allowed number of steps, exceeding allowed step change of step frequency . Provides automatic gating of the output in case of incorrect handling of the device, or in case of indication of a device fault. It enables remote control of the device and increases the resistance to electrical interference and possible mains overvoltage by galvanic separation of output signals and remote control signals. The advantage is also the applicability for any type of stepper motor by changing the corresponding program of operation of the microcomputer.

Předložené zapojení oproti zapojení s obvody malé a střední integrace není srovnatelné, neboi zapojení s obvody malé a střední integrace nedovoluje programově měnit činnost krokového motoru a nedovoluje realizovat výše uvedené funkce kontroly programování a správné manipulace s přístrojem,The presented connection is not comparable compared to the connection with small and medium integration circuits, because the connection with small and medium integration circuits does not allow to programmatically change the operation of the stepper motor and does not allow to implement the above functions of control programming and correct handling of the device,

Dlokové schéma na přiloženém výkrese představuje příklad zapojení zařízení pro programové řízení krokových motorů podle vynálezu.The floor diagram in the accompanying drawing represents an example of the connection of a device for program control of stepper motors according to the invention.

První vstupně-výstupní brána 101 jednočipového mikropočítače 10 je propojena s datovými výstupy 251 paměti RAM 25 a rovněž s datovými výstupy 201 paměti 20 EPROM a soThe first I / O gate 101 of the single-chip microcomputer 10 is connected to the data outputs 251 of the RAM 25 as well as to the data outputs 201 of the EPROM 20 and so

CS 26? 955 Bl vstupy 301 budiče 3° sbSmic. Výstup 302 budiče ΊΟ sběmic je propojen s udrosnítni vývody 252 paměti 25 RAM a adrosnírai vývody 202 pamčti EPROM 20, Dálo Jo tato část zapojení tvořena propojením vývodu 102 pro zápis a vývodu 103 pro čtení jednočipového mikropočítače 10 s vývody 253 a 254 pamčti RAM 25 . říídícím signáloi:: pro zápis adresy do vnější vyrovnávací pamčti adresy vývodu 115 Jednočipového mikropočítače 10 Jo propojen vývod 303 budičo 3° sběrnic a řídícím signálem povolujícím přonos dat z oxtomí pamčti na vývodu 1 14 Jednočipového mikropočítače 10 Jo propojen vývod 2 04 pamčti 2_0 EPROM, ktorá je dále propojena dalšími adresními vývody 203 s první polovinou 112 třetí vstupnč-výstupni brány Jednočipového mikropočítače 10, ktorá Jo dálo propojona se vstupem 601 druhého oxptuidoru 60, dálo se vstupem 801 třetího oxpandoru SO a so vstupem 401 prvního oxpondoru 40. Další potřebný signál pro řízoní přenosu dat so pronáší propojen i' m vývodu 107 Jednočipového mikropočítače 10 s vývodou 6 02 druhého expanderu ÓO, s vývodem 802 třetího oxpandoru 80 a vývodu 402 prvního expanders 40. Signál výběrový vstup 403 prvního oxpandoru 40, signál výběrový vstup 603 druhého oxpandoru óO a signál výběrový vstup 803 třetího oxpandoru 80 jo propojen s jedním bitem 111 třetí vstupně-výstupná brány a s datovým bitem 110 třetí vstupnč-výstupní brány jednočipového mikropočítače 10. První výstup 404 prvního oxpandoru 40 Jo spojen s obvodům SO pro zadávání druhu provozu 50> druhý a třetí výstup 405 prvního expanderu 40 je propojen s obvodem 4g pro zadávání činnosti a čtvrtý výstup 4O6 prvního expanderu 40 jo zaveden do zesilovačů Jednotlivých vinutí krokového motoru 55« Výstupy 804 třetího oxpandoru 80 jsou zavoděny do zobrazovací Jednotky 85 a první výstup 604 druhého oxpandoru 60 jo zavoděn do zadávacího obvodu 65 pro programování a druhý výstup 605 druhého oxptinderu 60 Je zaveden do zadávacího obvodu 70 počtu kroků, rychlosti a směru otáčení motoru, úseku skokové nobo plynulé změny rychlosti. Signál vývodu 109 jodnočipového mikropočítače 10 Jo přivedon na obvod 75 indikaoo chybného zadávání programu a chybné manipulace.CS 26? 955 Bl inputs 301 drivers 3 ° sbSmic. The output 302 of the bus driver is connected to the end terminals 252 of the RAM 25 memory and the end terminals 202 of the EPROM 20 memory. control signal :: for writing the address to the external address buffer of terminal 115 of the single-chip microcomputer 10 Jo connected to terminal 303 of the 3 ° bus driver and the control signal allowing data transfer from the octagon memory to terminal 1 14 of the single-chip microcomputer 10 Jo connected to terminal 2 04 of EPROM memory which is further connected by further address pins 203 to the first half 112 of the third I / O gate of the single-chip microcomputer 10, which is connected to the input 601 of the second oxpididor 60, to the input 801 of the third oxpandor SO and to the input 401 of the first oxpentor 40. Further signal required to control the data transmission, the terminal 107 of the single-chip microcomputer 10 is connected to the terminal 60 of the second expander O10, to the terminal 802 of the third oxpandor 80 and the terminal 402 of the first expander 40. Signal selection input 403 of the first oxpandor 40, signal selection input 603 of the second oxpandor ó0 and signal selection input 803 of the third oxpandor 80 jo connected to one bit 111 of the third input-output gate and with the data bit 110 of the third input-output gate of the single-chip microcomputer 10. The first output 404 of the first oxpandor 40 Jo connected to the operating mode input circuits 50> the second and third outputs 405 of the first expander 40 are connected to the operation input circuit 4g and the fourth output 406. The outputs 804 of the third oxpander 80 are fed to the display unit 85 and the first output 604 of the second oxpander 60 is fed to the input circuit 65 for programming and the second output 605 of the second oxpander 60 is fed to the input circuit 70 of the number of steps, the speed and the direction of rotation of the motor, the step section or the smooth change of speed. The signal of the terminal 109 of the iodine-chip microcomputer 10 Jo is fed to the circuit 75 to indicate incorrect program entry and incorrect manipulation.

Dálo jo druliá vstupnč-výstupní brána 106 jednočipového mikropočítače 10 propojona s číslicovým vstupem gO1 převodníku 9θ číslo/frekvence, jehož frekvenční výstup 90jo spojon s vývodem 105 signálu vstupu externí žádosti o přerušení běhu programu jednočipového mikropočítače 10 a vývod 9°3 spouštění převodníku 90 číslo/frekvence Jo propojen s jodním bitem 108 třetí vstupnč-výstupní brány jednočipového mikropočítače 12'The I / O gateway 106 of the single-chip microcomputer 10 is interconnected with the digital input gO1 of the 9θ number / frequency converter, the frequency output 90jo of which is connected to the external signal interruption request input terminal 105 of the single-chip microcomputer 10 and the 9 ° 3 start of the converter 90 number / frequency Jo connected to the iodine bit 108 of the third I / O gate of the single-chip microcomputer 12 '

Po připojení přístroje na sil se automaticky nastaví režim programování. Na otočném přepínači zadávacího obvodu 65 pro programování mají jednotlivé polohy tonto význam: 0 - zadávání úsekuAfter connecting the device to the force, the programming mode is set automatically. On the rotary switch of the input circuit 65 for programming, the individual positions tonto have the meaning: 0 - section entry

- zadávání počtu kroků- entering the number of steps

- zadávání rychlosti otáčení motoru- entering the engine speed

- zadání skokové nebo plynulé zmčny rychlosti- enter a step or smooth speed change

- zadání směru otáčení- enter the direction of rotation

- Icontrola naprogramovaného úseku- Icon check of the programmed section

- kontrola naprogramovaného počtu kroků 7 - kontrola naprogramované rychlosti- check the programmed number of steps 7 - check the programmed speed

- kontrola naprogramované zmčny rychlosti .- check the programmed speed change.

- kontrola naprogramovaného směru otáčení- check the programmed direction of rotation

V jednotlivých úsecích se zadává počet kroků a koncová požadovaná rychlost krokového motoru 55» Pokud se pohybuje krokový motor 55 vo spodní části start - stop charakteristiky, je možno měnit rychlost skokově, v oblasti nad start — stop oliaraktoristikou plynulo.The number of steps and the final required speed of the stepper motor 55 are entered in the individual sections.

Programování probíhá tak, že se postupně zadávají údaje od 0 do 4 tím způsobem, že na přepínači zadávaoího obvodu 65 pro programování se nastaví číslo odpovídající tomu, co se bude programovat, na zadávaoím obvodu 70 počtu kroků rychlosti a smysluThe programming takes place in such a way that the data from 0 to 4 are entered successively in such a way that a number corresponding to what is to be programmed is set on the switch of the input circuit 65 for programming, on the input circuit 70 the number of speed and sense steps.

CS 267 955 B1 3 otáčoní so nastaví požadovaný údaj, například požadovaný počet kroků a stlačením tlačítka prog obvodu 45 pro zadávání činnosti se naprogramový údaj uloží do paměti RAM 25, Podprogram programování udržuje jednočipový mikropočítač 10 v čekací smyčce dokud nepřijde signál o stlačení tlačítka pros obvodu 4$ pro zadávání činnosti přes první expander 40 sběrnicí propojující vstupy 401 až 1 12. Pole jednočipový mlkropočítač 10 signálem výběrového vstupu 403 uzavře první expandor 40, na další stlačení tlačítka prog již nereaguje, oživí druhý expander 60 signálem výběrového vstupu 603 a převode odečtení hodnoty nastavení na zadávacím obvodu 65 pro programování. Palo, zruší signál výbčrovóho vstupu 6Ο3, aktivuje signál vývodu 602 druhúho oxpandoru 60 a odočto přes néj ádaj na zadávacím obvodu 70 počtu kroků, rychlosti a smyslu otáčení. Odečtené údaje uloží do paměti RAM 25, Adresa pro v paměti RAM 2g 30 určujo přes zesilovač 30 sběrnice adresními vývody 2g2, Současné naprograaovaníi hodnota Jo zobrazena přes expander třotí 80 do zobrazovací jednotky 85. Pole podprogram uvede jednočipový mikropočítač 10 do čtecí smyčky a aktivuje signálem výběrového vstupu 40J první expander 4o a očekává další signál tlačítka prog. Takto lze postupně zadat colý program. Pokud jo třeba provést opravu v programu, stačí nastavit číslo úseku a požadovanou hodnotu na přepínači zadávacího obvodu 65 pro programování a data na zadávacím obvodu 70 počtu kroků, rychlosti a smyslu otáčoní. Stlačením tlačítka prog dojde k vymazání starých a uložení nových údajů do paměti RAM 25.CS 267 955 B1 3 rotates to set the required value, for example the required number of steps and by pressing the prog button of the circuit 45 to enter the activity, the program data is stored in RAM 25. The programming subroutine keeps the single-chip microcomputer 10 in a waiting loop until 4 $ to enter the operation via the first expander 40 by a bus connecting inputs 401 to 1 12. The array single-chip microcomputer 10 closes the first expander 40 with the select input signal 403, no longer responds to further pressing the prog button, animates the second expander 60 with select input 603 and converts readings settings on input circuit 65 for programming. Palo, cancels the signal of selection input 6-3, activates the signal of terminal 602 of second oxpandor 60 and reads the number of steps, speed and direction of rotation through it on the input circuit 70. The read data is stored in the RAM memory 25, the address for in the RAM memory 2g 30 is determined via the bus amplifier 30 by the address terminals 2g2. selection input 40J first expander 4o and expects another signal of the button prog. In this way, the entire program can be entered one after the other. If a correction needs to be made in the program, it is sufficient to set the section number and the desired value on the switch of the input circuit 65 for programming and the data on the input circuit 70 of the number of steps, speed and direction of rotation. Pressing the prog button deletes the old data and saves the new data in the RAM memory 25.

Při programování provádí jednočipový mikropočítač 10 kontrolu naprogramovaných dat a přípustnými daty uloženými v paměti 20 EPROM. Pokud zadávaná data překračují data uložená v paměti 20 EPROM, jednočipový nikropočítač 10 provede vyhodnocení a aktivuje signálem vývodu 109 obvod 75 indikace chybného zadání programu a ohybnú manipulace. Špatně naprogramovaný ádaj Je třeba opravit a znovu uložit do paměri RAM 2g.During programming, the single-chip microcomputer 10 checks the programmed data and the allowable data stored in the EPROM 20. If the input data exceeds the data stored in the EPROM 20, the single-chip microcomputer 10 performs an evaluation and activates, by the signal of the terminal 109, a program entry indication circuit 75 and flexible manipulation. Incorrectly programmed data Must be corrected and re-stored in 2g RAM.

Při otočení přepínače zadávacího obvodu 65 pro programování do polohy 5 až 9 dochází k zobrazování zvolených hodnot na zobrazovací Jednotce 85 okamžitě χιό nastavení čísla áseku a kontrolované hodnoty.When the switch of the programming input circuit 65 is turned to the position 5 to 9, the selected values are displayed on the display unit 85 immediately after setting the strip number and the checked value.

Po naprogramování celého programu, kdy v nevyužitých úsecích musí být naprogramováno počet kroků nula, jo možno přejít na režim programového řízení krokového motoru 55. Je třeba zvolit otočným přepínačem obvodu 50 pro zadávání druhu provozu jeden z těchto druhů provozu: O - ruční řízení 1 - plynulý běh do konce programu 2 - plynulý běh ve smyčce 3 - běh po úsecích do konce programu s čekáním na odstartování 4 - běh po úsecích ve smyčce Pak následuje stlačení tlačítka Aut obvodu 4g pro zadávání činnosti. Jednočipový mikropočítač 10 dostane přes aktivovaný první expander 40 signál po sběrnici 401 - 102 a podle instrukcí v podprogramu řízení uloženou v paměti EPROM 20 začne vykonávat následující činnost. Z paměti RAM 25 odečte všechny naprogramované údaje prvého úseku. Provede výpočet přírůstku frekvence na krok v případě, že je požadovaná plynulá změna rychlosti krokového motoru 55 a sběrnici 106 - 101 zavede na vstup převodníku 90 číslo/frekvence údaj o požadované frekvenci. Převodník 90 číslo/frekvence začne generovat pulsy odpovídající požadované rychlosti otáčení krokového motoru 55, pokud je spuštěn signálem jednočipového mikropočítače 10 vývod 907 - 108. Výstup £03 převodníku 9° číslo/frolevenoe jo veden na vstup 105 externí žádosti o přerušení. Po přechodu signálu se poruší vykonávaná činnost jednočipového mikropočítače 10, puls so načte a podle programu v paměti 20 EPROM se určí, na které vinutí krokového motoru 55 se má přivést řídíoí puls. Pak so oživí první expandor 40, po sběmioi 112 - 401 se předá informace na příslušný spínač vinutí krokového motoru 55, Jednočipový mikropočítač 10 odočte z paměti 25 RAM pro následující úsek, provede potřebné výpočty a po načtení požadovaného počtu kroků řízeného úseku přejde na řízení dalšího úseku podle těchto Údajů.After programming the entire program, when the number of steps must be programmed to be zero in the unused sections, it is possible to switch to the program control mode of the stepper motor 55. The rotary switch of the circuit 50 for entering the operating mode must select one of the following operating modes: smooth run until the end of the program 2 - smooth run in the loop 3 - run in sections until the end of the program waiting for start 4 - run in sections in the loop Then press the Aut button of the circuit 4g to enter the activity. The single-chip microcomputer 10 receives a signal via the activated first expander 40 via the bus 401-102 and starts performing the following operation according to the instructions in the control subroutine stored in the EPROM 20. It reads all the programmed data of the first section from the RAM memory 25. It calculates the frequency increment per step in the event that a step change of stepper motor speed 55 is desired and feeds the desired frequency to the number / frequency converter 90 of the bus 106-101. The number / frequency converter 90 starts generating pulses corresponding to the desired rotational speed of the stepper motor 55 when the signal 907-108 is triggered by the signal of the single-chip microcomputer 10. After the signal has passed, the operation of the single-chip microcomputer 10 is interrupted, the pulse is read and according to the program in the EPROM memory 20 it is determined to which winding of the stepping motor 55 the control pulse is to be applied. The first expander 40 is then activated, after collecting 112 - 401 the information is passed to the respective stepper motor winding switch 55. The single-chip microcomputer 10 reads from the RAM 25 for the next section, performs the necessary calculations and after reading the required number of controlled section steps. section according to these Data.

cs 267 955 D1 fycs 267 955 D1 fy

Ma ruční řízení lze přejít jednak bčliom programování, po ukončená programu podlo zvoleného druhu provozu nebo po stlačení tlačítka stop obvodu 65 pro zadávání činnosti. Tehdy se vykonávání programu podlo zvoleného druhu provozu olcomžitč zastaví a jednočipový mikropočítač 10 přijde do čokací smyčky, s pamatováním hodnot poslo<lnč zpracovaného úsoku. Po stlačení tlačítka AUT přístroj pokračujo v přerušení činnosti. Stlačí-li se tlačítko RučŤ nebo ''Ruč4· dojde k natáčená krokového motoru 55 jednám nebo druhým směrem podle předem zvolené rychlosti uložená v paměti EPROM 20, Jednočipový mikropočítač 10 opět dodá informaci v požadované rychlosti sběrnicí 10ó - 9θ1 na vstup převodníku gO číslo/frekvonco. Převodník 90 číslo/frokvcnce začno generovat pulsy odpovídající požadované rychlosti krokového motoru 55, pokud je stlačeno některé tlačítko Ručf,4. Tyto pulsy jsou zpracovávány stojným způsobem jako v rož. AUT pouze s tím rozdílem, žo pulsy nejsou načítávány, ale pouzo jejich počet jo zobrazován přes třetí expandor 80 v zobrazovací jednotce 85.The manual control can be switched either by programming, after the end of the program according to the selected type of operation or after pressing the stop button of the circuit 65 for entering the activity. Then the execution of the program according to the selected type of operation is stopped and the single-chip microcomputer 10 enters the shock loop, remembering the values of the last processed section. After pressing the AUT button, the device continues to interrupt its operation. If the Hand or Hand button is pressed, the stepper motor 55 is rotated one or the other according to the preselected speed stored in the EPROM 20, the single-chip microcomputer 10 again supplies information at the desired speed via the bus 10-9θ1 to the converter input g0 number / freeze. The number / frequency converter 90 will start generating pulses corresponding to the desired speed of the stepper motor 55 if any of the keys 4, 4 is pressed. These pulses are processed in a standing manner as in a rosette. AUT only with the difference that the pulses are not read, but only their number is displayed via the third expander 80 in the display unit 85.

Přístroj může být využíván při programovém řízená krokového motoru všude tam, kde program neobsahuje více než 31 úseků a v jodnom úsoku se nepožaduje více nož 1 000 kroků krokového motoru. Lze jej využít v pohonech obráběcích strojů, manipulačních zařízená, v pohonech mčřácáoh a zapisovacách přástrojů, v lékařská toclinioo i pro astronomické účely.The device can be used in program-controlled stepper motors wherever the program does not contain more than 31 sections and no knife of 1,000 steps of the stepper motor is required in an iodine section. It can be used in machine tool drives, handling equipment, in drive drives and recorders, in medical toclinioo and for astronomical purposes.

Přástroj zajišluje jednoduché programování a volbu těchto druhů provozu: - plynulý běh do konce programu - plynulý běh ve smyčce - běh po úsooích do konce programu - běh po úsecích ve smyčce.The device provides simple programming and selection of the following types of operation: - smooth running until the end of the program - smooth running in a loop - running in sections until the end of the program - running in sections in a loop.

Touto volbou lze zajistit všestranné použití přístroje pro různé pracovní režimy krokového motoru. Nízká cena a malé rozměry přístroje zaručují širokou použitelnost a univerzálnost přístroje spočívá v jednoduché úpravě programového vybavení při změně typu krokového motoru.This option ensures versatile use of the device for different operating modes of the stepper motor. The low price and small dimensions of the device guarantee wide applicability and the versatility of the device lies in the simple modification of the software when changing the type of stepper motor.

Claims (1)

PŘEDMĚT VYNÁLEZUOBJECT OF THE INVENTION Zařízení pro programové řízení krokového motoru s jednočipovým mikropočítačcrj s pamětí, vyznačující se tím, že první vstupnč-výstupní brána (101) jednočipového mikropočítače (1O) je propojena jednak s datovými výstupy (251) paměti RAM (25), jednali s datovými výstupy (201) paměti (20) EPROM nebo PROM, jednali se vstupy (301) budiče (30) sběmic, jehož výstup (302) je propojen s adresními vývody (252) paměti (25) RAM a s adresními vývody (202) paměti EPROM (20), dálo vývody (102) a (103) signálu pro čtení a zápis jednočipového mikropočítače (10) jsou spojeny s vývody (253) a (254) paměti RAM (25) a vývod (115) jednočipového mikropočítače (1O) je propojen s vývodem (303) budičo (30) sběmic a vývod (114) jednočipového mikropočítače (1O) je propojen s vývodem (204) paměti (20) EPROM, která je dále dalšími adresními vývody (203) propojena s první polovinou (1 12) třetí vstupnč-výstupní brány jednočipového mikropočítače (10) a dále je propojena se vstupem (601 ) druhého expanderu (60), dále se vstupem (80Γ) třetího expanderu (80) a se vstupem (401 ) prvního expanderu (40), vývod (1Ο7) jednočipového mikropočítačo (10) Je spojen s vývodem (602) druhého expanderu (60), dálo jednali s vývodem (802) třetího expanderu (80) a vývodem (402) prvního expanderu (40), výběrový vstup (403) prvního expanderu (40), dále výběrový vstup (603) druhého expanderu (60) a výběrový vstup (803) třetího expanderu (80) je propojen s jedním bitem (111) druhé poloviny třetí vstupně-výstupní brány a dalším bitem (110) této brány jednočipového mikropočítače (10), první výstup (404) prvního expanderu (4o) Je spojen s obvodem (50) zadávání druhu provozu druhý a třetí výstup (405) prvního expanderu (40) je propojen s obvodem (45) zadávání činnosti a čtvrtý výstup (406) prvního expanderu (40) jo zaveden do zesilovačů jednotlivých vinutí krokového motoru (55), výstupy (804) třetího expanderu (80) jsou spojeny se zobrazovací jednotkou (85), první výstup (6θ4) druhého expanderu (60) je zaveden do zadávacího obvodu (65) pro programování a ostatní výstupy (605) druhého expanderu (60) jsou propojeny sc zadávacím obvodem (70) počtu kroků, rychlosti a smyslu otáčení, signál vstup-výstup (109) jednočipového mikropočítače (10) je připojen na obvod (75) indikace chybného zadávání programu a chybné manipulace, druhá vstupně-výstupní brána (106) jednočipového mikropočítače (10) je propojena s číslicovým vstupem (901) převodníku (90) číslo/frekvenoe a frekvenční výstup (902) převodníku (90) číslo/frekvenoe je propojen s výstupem (105) vstupu externí žádosti o přerušení běhu jednočipového mikropočítače (1O) a vývod (903) spouštění převodníku (90) číslo/frekvence je propojen s jedním bitem (108) třetí vstupně-výstupní brány jednočipového mikropočítače (10).Device for program control of a stepper motor with a single-chip microcomputer with memory, characterized in that the first input-output gate (101) of the single-chip microcomputer (10) is connected to the data outputs (251) of the RAM (25). 201) of the EPROM or PROM memory (20), the inputs (301) of the bus driver (30), the output (302) of which is connected to the address terminals (252) of the RAM memory (25) and to the address terminals (202) of the EPROM memory (20). ), the signal terminals (102) and (103) for reading and writing the single-chip microcomputer (10) are connected to the terminals (253) and (254) of the RAM (25), and the terminal (115) of the single-chip microcomputer (10) is connected to the terminal (303) of the bus driver (30) and the terminal (114) of the single-chip microcomputer (10) is connected to the terminal (204) of the EPROM memory (20), which is further connected to the first half (112) of the third the input-output gate of the single-chip microcomputer (10) and is further connected to the input (601) of the second expander (60), further with the input (80Γ) of the third expander (80) and with the input (401) of the first expander (40), the outlet (1-7) of the single-chip microcomputer (10) is connected to the outlet (602) of the second expander (60). ) of the third expander (80) and the outlet (402) of the first expander (40), the selective input (403) of the first expander (40), the selective input (603) of the second expander (60) and the selective input (803) of the third expander (80) is connected to one bit (111) of the second half of the third I / O gate and another bit (110) of this gate of the single-chip microcomputer (10), the first output (404) of the first expander (4o) is connected to the second operating mode input circuit (50) and a third output (405) of the first expander (40) is connected to the operation input circuit (45) and a fourth output (406) of the first expander (40) is fed to the amplifiers of the individual windings of the stepper motor (55), the outputs (804) of the third expander ( 80) are connected to the display unit (85), the first output (6θ4) of the second expander (60) is introduced into the input of the programming circuit (65) and the other outputs (605) of the second expander (60) are connected to the input circuit (70) of the number of steps, speed and direction of rotation, the input-output signal (109) of the single-chip microcomputer (10) is connected to the circuit ( 75) indication of incorrect program entry and incorrect manipulation, the second input-output gate (106) of the single-chip microcomputer (10) is connected to the digital input (901) of the number / frequency converter (90) and the frequency output (902) of the number / converter the frequency is connected to the output (105) of the external request interrupt request of the single-chip microcomputer (10) and the output (903) trigger of the number / frequency converter (90) is connected to one bit (108) of the third input-output gate of the single-chip microcomputer (10) .
CS882955A 1988-05-02 1988-05-02 Equipment for stepper motor controllers CS267955B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CS882955A CS267955B1 (en) 1988-05-02 1988-05-02 Equipment for stepper motor controllers

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CS882955A CS267955B1 (en) 1988-05-02 1988-05-02 Equipment for stepper motor controllers

Publications (2)

Publication Number Publication Date
CS295588A1 CS295588A1 (en) 1989-07-12
CS267955B1 true CS267955B1 (en) 1990-02-12

Family

ID=5368219

Family Applications (1)

Application Number Title Priority Date Filing Date
CS882955A CS267955B1 (en) 1988-05-02 1988-05-02 Equipment for stepper motor controllers

Country Status (1)

Country Link
CS (1) CS267955B1 (en)

Also Published As

Publication number Publication date
CS295588A1 (en) 1989-07-12

Similar Documents

Publication Publication Date Title
US4165534A (en) Digital control system with Boolean processor
US4415965A (en) Programmable sequence controller
US5771474A (en) Method for testing electronic control devices
JPH0673083B2 (en) Reconfigurable counter and method of configuring the same
CA1111951A (en) Programmable controller with limit detection
US4172289A (en) Programmable controller with programmable I/O scan rate
US4962397A (en) Data input/output device for a camera
EP0703516A2 (en) Programmable electronic device for the control of irrigation systems
CS267955B1 (en) Equipment for stepper motor controllers
CA1103364A (en) Programmable controller with integral microprocessor
GB1526113A (en) Numerical control system
JPH08278804A (en) Diagnostic system for sequence program
JPS60189544A (en) Program testing for data processor and connection system therefor
SU1381593A1 (en) Device for writing data to prom
JPH04123105A (en) Motor control system
JPS603205B2 (en) sequence controller
JPH0413840Y2 (en)
SU1492366A1 (en) Operatorъs training device
JPS63224696A (en) Controller for motor
KR840001219B1 (en) Programmable Sequential Controller
JP2610912B2 (en) Input/Output Control System
JP2531139B2 (en) Remote diagnostic device
KR900008537B1 (en) The controller and its method of high level language program and off-line program
JP2865200B2 (en) Motor control device
SU830565A1 (en) Programming device for fixed storage units