FIELD: electrical engineering.
SUBSTANCE: invention relates to electrical engineering and can be used to control step motors (SM) using a personal computer (PC) via USB. Method of perforated control of several step motors implements control mode with constant frequency and consists in the fact that for each control cycle a data packet is formed, which contains information on direction of rotation and number of steps of rotor of each step motor (SM), which it must perform at this control cycle. This data packet is transmitted to a virtual serial port of a personal computer. Port driver transmits data packet on USB channel after conversion in accordance with standard of data transmission interface through half-duplex multipoint serial communication channel to microcontroller (MC), where the received data packet is converted into three discrete signals to be sent to three inputs EN, DIR and STEP drivers of each SM. Drivers provide required commutation of their windings that causes simultaneous rotation of their shafts by corresponding number of steps in required directions. If advancement of step instruction is required by motors for several forward cycles, forming an array of data packets for a certain number of cycles, recording it in a virtual serial port and transmitting to the MC, where said array is successively developed by the SM at each control cycle.
EFFECT: providing virtually unlimited buildup of the number of controlled engines, increasing the distance between the PC and MC up to 1,200 meters, providing, if necessary, simultaneous control of the SM or time diversity of execution of commands of the SM for reducing requirements for instantaneous power of the power supply and reducing noise.
12 cl, 21 dwg
Authors
Dates
2019-10-29—Published
2018-12-26—Filed