grbl 5轴Linux移植

3 篇文章 1 订阅
#############################################################################
# Makefile for building: grbl5axis
# Project:  grbl5axis.pro
#############################################################################

MAKEFILE      = Makefile

CC            = arm-linux-gnueabihf-gcc
CXX           = arm-linux-gnueabihf-g++
DEFINES       = -DARM 
CFLAGS        = -pipe -I/zzzzzzzzzzzzzzzzz/usr/include/dbus-1.0 -I/zzzzzzzzzzzzzzzzz/usr/lib/dbus-1.0/include -I/zzzzzzzzzzzzzzzzz/usr/include/glib-2.0 -I/zzzzzzzzzzzzzzzzz/usr/lib/glib-2.0/include -g -Wall -W -fPIC $(DEFINES)
CXXFLAGS      = -pipe -g -Wall -W -fPIC $(DEFINES)
INCPATH       = -I./grbl
DEL_FILE      = rm -f
LINK          = arm-linux-gnueabihf-g++
LFLAGS        =  --sysroot=/zzzzzzzzzzzzzzzzz/usr/arm-buildroot-linux-gnueabihf/sysroot  -L/zzzzzzzzzzzzzzzzz/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/lib -L/zzzzzzzzzzzzzzzzz/usr/arm-buildroot-linux-gnueabihf/sysroot/lib
LIBS          = -lpthread -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0 
AR            = arm-linux-gnueabihf-ar cqs
SED           = sed
STRIP         = arm-linux-gnueabihf-strip

OBJECTS_DIR   = ./

SOURCES = grbl/coolant_control.c \
		grbl/eeprom.c \
		grbl/gcode.c \
		grbl/jog.c \
		grbl/limits.c \
		grbl/main.c \
		grbl/motion_control.c \
		grbl/nuts_bolts.c \
		grbl/planner.c \
		grbl/print.c \
		grbl/probe.c \
		grbl/protocol.c \
		grbl/report.c \
		grbl/serial.c \
		grbl/settings.c \
		grbl/sleep.c \
		grbl/spindle_control.c \
		grbl/stepper.c \
		grbl/system.c \
		grbl/xxxxxxxxxxx.c \
		grbl/dbuscomm.c \
		grbl/shmfifo.c 
		
OBJECTS       = coolant_control.o \
		eeprom.o \
		gcode.o \
		jog.o \
		limits.o \
		main.o \
		motion_control.o \
		nuts_bolts.o \
		planner.o \
		print.o \
		probe.o \
		protocol.o \
		report.o \
		serial.o \
		settings.o \
		sleep.o \
		spindle_control.o \
		stepper.o \
		system.o \
		xxxxxxxxxxx.o \
		dbuscomm.o \
		shmfifo.o

TARGET        = grbl5axis


first: all

$(TARGET):  $(OBJECTS)  
	$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)

all: Makefile $(TARGET)

dist: distdir FORCE
	(cd `dirname $(DISTDIR)` && $(TAR) $(DISTNAME).tar $(DISTNAME) && $(COMPRESS) $(DISTNAME).tar) && $(MOVE) `dirname $(DISTDIR)`/$(DISTNAME).tar.gz . && $(DEL_FILE) -r $(DISTDIR)

clean: compiler_clean 
	-$(DEL_FILE) $(OBJECTS)


distclean: clean 
	-$(DEL_FILE) $(TARGET) 
	


####### Sub-libraries
####### Compile
compiler_clean:
coolant_control.o: grbl/coolant_control.c grbl/grbl.h \
		grbl/config.h \
		grbl/nuts_bolts.h \
		grbl/settings.h \
		grbl/system.h \
		grbl/defaults.h \
		grbl/cpu_map.h \
		grbl/planner.h \
		grbl/coolant_control.h \
		grbl/eeprom.h \
		grbl/gcode.h \
		grbl/limits.h \
		grbl/motion_control.h \
		grbl/print.h \
		grbl/probe.h \
		grbl/protocol.h \
		grbl/report.h \
		grbl/serial.h \
		grbl/spindle_control.h \
		grbl/stepper.h \
		grbl/jog.h \
		grbl/sleep.h \
		grbl/xxxxxxxxxxx.h \
		grbl/sharedata.h \
		grbl/dbuscomm.h \
		grbl/shmfifo.h
	$(CC) -c $(CFLAGS) $(INCPATH) -o coolant_control.o grbl/coolant_control.c

eeprom.o: grbl/eeprom.c grbl/grbl.h \
		grbl/config.h \
		grbl/nuts_bolts.h \
		grbl/settings.h \
		grbl/system.h \
		grbl/defaults.h \
		grbl/cpu_map.h \
		grbl/planner.h \
		grbl/coolant_control.h \
		grbl/eeprom.h \
		grbl/gcode.h \
		grbl/limits.h \
		grbl/motion_control.h \
		grbl/print.h \
		grbl/probe.h \
		grbl/protocol.h \
		grbl/report.h \
		grbl/serial.h \
		grbl/spindle_control.h \
		grbl/stepper.h \
		grbl/jog.h \
		grbl/sleep.h \
		grbl/xxxxxxxxxxx.h \
		grbl/sharedata.h \
		grbl/dbuscomm.h \
		grbl/shmfifo.h
	$(CC) -c $(CFLAGS) $(INCPATH) -o eeprom.o grbl/eeprom.c

gcode.o: grbl/gcode.c grbl/grbl.h \
		grbl/config.h \
		grbl/nuts_bolts.h \
		grbl/settings.h \
		grbl/system.h \
		grbl/defaults.h \
		grbl/cpu_map.h \
		grbl/planner.h \
		grbl/coolant_control.h \
		grbl/eeprom.h \
		grbl/gcode.h \
		grbl/limits.h \
		grbl/motion_control.h \
		grbl/print.h \
		grbl/probe.h \
		grbl/protocol.h \
		grbl/report.h \
		grbl/serial.h \
		grbl/spindle_control.h \
		grbl/stepper.h \
		grbl/jog.h \
		grbl/sleep.h \
		grbl/xxxxxxxxxxx.h \
		grbl/sharedata.h \
		grbl/dbuscomm.h \
		grbl/shmfifo.h
	$(CC) -c $(CFLAGS) $(INCPATH) -o gcode.o grbl/gcode.c

jog.o: grbl/jog.c grbl/grbl.h \
		grbl/config.h \
		grbl/nuts_bolts.h \
		grbl/settings.h \
		grbl/system.h \
		grbl/defaults.h \
		grbl/cpu_map.h \
		grbl/planner.h \
		grbl/coolant_control.h \
		grbl/eeprom.h \
		grbl/gcode.h \
		grbl/limits.h \
		grbl/motion_control.h \
		grbl/print.h \
		grbl/probe.h \
		grbl/protocol.h \
		grbl/report.h \
		grbl/serial.h \
		grbl/spindle_control.h \
		grbl/stepper.h \
		grbl/jog.h \
		grbl/sleep.h \
		grbl/xxxxxxxxxxx.h \
		grbl/sharedata.h \
		grbl/dbuscomm.h \
		grbl/shmfifo.h
	$(CC) -c $(CFLAGS) $(INCPATH) -o jog.o grbl/jog.c

limits.o: grbl/limits.c grbl/grbl.h \
		grbl/config.h \
		grbl/nuts_bolts.h \
		grbl/settings.h \
		grbl/system.h \
		grbl/defaults.h \
		grbl/cpu_map.h \
		grbl/planner.h \
		grbl/coolant_control.h \
		grbl/eeprom.h \
		grbl/gcode.h \
		grbl/limits.h \
		grbl/motion_control.h \
		grbl/print.h \
		grbl/probe.h \
		grbl/protocol.h \
		grbl/report.h \
		grbl/serial.h \
		grbl/spindle_control.h \
		grbl/stepper.h \
		grbl/jog.h \
		grbl/sleep.h \
		grbl/xxxxxxxxxxx.h \
		grbl/sharedata.h \
		grbl/dbuscomm.h \
		grbl/shmfifo.h
	$(CC) -c $(CFLAGS) $(INCPATH) -o limits.o grbl/limits.c

main.o: grbl/main.c grbl/grbl.h \
		grbl/config.h \
		grbl/nuts_bolts.h \
		grbl/settings.h \
		grbl/system.h \
		grbl/defaults.h \
		grbl/cpu_map.h \
		grbl/planner.h \
		grbl/coolant_control.h \
		grbl/eeprom.h \
		grbl/gcode.h \
		grbl/limits.h \
		grbl/motion_control.h \
		grbl/print.h \
		grbl/probe.h \
		grbl/protocol.h \
		grbl/report.h \
		grbl/serial.h \
		grbl/spindle_control.h \
		grbl/stepper.h \
		grbl/jog.h \
		grbl/sleep.h \
		grbl/xxxxxxxxxxx.h \
		grbl/sharedata.h \
		grbl/dbuscomm.h \
		grbl/shmfifo.h
	$(CC) -c $(CFLAGS) $(INCPATH) -o main.o grbl/main.c

motion_control.o: grbl/motion_control.c grbl/grbl.h \
		grbl/config.h \
		grbl/nuts_bolts.h \
		grbl/settings.h \
		grbl/system.h \
		grbl/defaults.h \
		grbl/cpu_map.h \
		grbl/planner.h \
		grbl/coolant_control.h \
		grbl/eeprom.h \
		grbl/gcode.h \
		grbl/limits.h \
		grbl/motion_control.h \
		grbl/print.h \
		grbl/probe.h \
		grbl/protocol.h \
		grbl/report.h \
		grbl/serial.h \
		grbl/spindle_control.h \
		grbl/stepper.h \
		grbl/jog.h \
		grbl/sleep.h \
		grbl/xxxxxxxxxxx.h \
		grbl/sharedata.h \
		grbl/dbuscomm.h \
		grbl/shmfifo.h
	$(CC) -c $(CFLAGS) $(INCPATH) -o motion_control.o grbl/motion_control.c

nuts_bolts.o: grbl/nuts_bolts.c grbl/grbl.h \
		grbl/config.h \
		grbl/nuts_bolts.h \
		grbl/settings.h \
		grbl/system.h \
		grbl/defaults.h \
		grbl/cpu_map.h \
		grbl/planner.h \
		grbl/coolant_control.h \
		grbl/eeprom.h \
		grbl/gcode.h \
		grbl/limits.h \
		grbl/motion_control.h \
		grbl/print.h \
		grbl/probe.h \
		grbl/protocol.h \
		grbl/report.h \
		grbl/serial.h \
		grbl/spindle_control.h \
		grbl/stepper.h \
		grbl/jog.h \
		grbl/sleep.h \
		grbl/xxxxxxxxxxx.h \
		grbl/sharedata.h \
		grbl/dbuscomm.h \
		grbl/shmfifo.h
	$(CC) -c $(CFLAGS) $(INCPATH) -o nuts_bolts.o grbl/nuts_bolts.c

planner.o: grbl/planner.c grbl/grbl.h \
		grbl/config.h \
		grbl/nuts_bolts.h \
		grbl/settings.h \
		grbl/system.h \
		grbl/defaults.h \
		grbl/cpu_map.h \
		grbl/planner.h \
		grbl/coolant_control.h \
		grbl/eeprom.h \
		grbl/gcode.h \
		grbl/limits.h \
		grbl/motion_control.h \
		grbl/print.h \
		grbl/probe.h \
		grbl/protocol.h \
		grbl/report.h \
		grbl/serial.h \
		grbl/spindle_control.h \
		grbl/stepper.h \
		grbl/jog.h \
		grbl/sleep.h \
		grbl/xxxxxxxxxxx.h \
		grbl/sharedata.h \
		grbl/dbuscomm.h \
		grbl/shmfifo.h
	$(CC) -c $(CFLAGS) $(INCPATH) -o planner.o grbl/planner.c

print.o: grbl/print.c grbl/grbl.h \
		grbl/config.h \
		grbl/nuts_bolts.h \
		grbl/settings.h \
		grbl/system.h \
		grbl/defaults.h \
		grbl/cpu_map.h \
		grbl/planner.h \
		grbl/coolant_control.h \
		grbl/eeprom.h \
		grbl/gcode.h \
		grbl/limits.h \
		grbl/motion_control.h \
		grbl/print.h \
		grbl/probe.h \
		grbl/protocol.h \
		grbl/report.h \
		grbl/serial.h \
		grbl/spindle_control.h \
		grbl/stepper.h \
		grbl/jog.h \
		grbl/sleep.h \
		grbl/xxxxxxxxxxx.h \
		grbl/sharedata.h \
		grbl/dbuscomm.h \
		grbl/shmfifo.h
	$(CC) -c $(CFLAGS) $(INCPATH) -o print.o grbl/print.c

probe.o: grbl/probe.c grbl/grbl.h \
		grbl/config.h \
		grbl/nuts_bolts.h \
		grbl/settings.h \
		grbl/system.h \
		grbl/defaults.h \
		grbl/cpu_map.h \
		grbl/planner.h \
		grbl/coolant_control.h \
		grbl/eeprom.h \
		grbl/gcode.h \
		grbl/limits.h \
		grbl/motion_control.h \
		grbl/print.h \
		grbl/probe.h \
		grbl/protocol.h \
		grbl/report.h \
		grbl/serial.h \
		grbl/spindle_control.h \
		grbl/stepper.h \
		grbl/jog.h \
		grbl/sleep.h \
		grbl/xxxxxxxxxxx.h \
		grbl/sharedata.h \
		grbl/dbuscomm.h \
		grbl/shmfifo.h
	$(CC) -c $(CFLAGS) $(INCPATH) -o probe.o grbl/probe.c

protocol.o: grbl/protocol.c grbl/grbl.h \
		grbl/config.h \
		grbl/nuts_bolts.h \
		grbl/settings.h \
		grbl/system.h \
		grbl/defaults.h \
		grbl/cpu_map.h \
		grbl/planner.h \
		grbl/coolant_control.h \
		grbl/eeprom.h \
		grbl/gcode.h \
		grbl/limits.h \
		grbl/motion_control.h \
		grbl/print.h \
		grbl/probe.h \
		grbl/protocol.h \
		grbl/report.h \
		grbl/serial.h \
		grbl/spindle_control.h \
		grbl/stepper.h \
		grbl/jog.h \
		grbl/sleep.h \
		grbl/xxxxxxxxxxx.h \
		grbl/sharedata.h \
		grbl/dbuscomm.h \
		grbl/shmfifo.h
	$(CC) -c $(CFLAGS) $(INCPATH) -o protocol.o grbl/protocol.c

report.o: grbl/report.c grbl/grbl.h \
		grbl/config.h \
		grbl/nuts_bolts.h \
		grbl/settings.h \
		grbl/system.h \
		grbl/defaults.h \
		grbl/cpu_map.h \
		grbl/planner.h \
		grbl/coolant_control.h \
		grbl/eeprom.h \
		grbl/gcode.h \
		grbl/limits.h \
		grbl/motion_control.h \
		grbl/print.h \
		grbl/probe.h \
		grbl/protocol.h \
		grbl/report.h \
		grbl/serial.h \
		grbl/spindle_control.h \
		grbl/stepper.h \
		grbl/jog.h \
		grbl/sleep.h \
		grbl/xxxxxxxxxxx.h \
		grbl/sharedata.h \
		grbl/dbuscomm.h \
		grbl/shmfifo.h
	$(CC) -c $(CFLAGS) $(INCPATH) -o report.o grbl/report.c

serial.o: grbl/serial.c grbl/grbl.h \
		grbl/config.h \
		grbl/nuts_bolts.h \
		grbl/settings.h \
		grbl/system.h \
		grbl/defaults.h \
		grbl/cpu_map.h \
		grbl/planner.h \
		grbl/coolant_control.h \
		grbl/eeprom.h \
		grbl/gcode.h \
		grbl/limits.h \
		grbl/motion_control.h \
		grbl/print.h \
		grbl/probe.h \
		grbl/protocol.h \
		grbl/report.h \
		grbl/serial.h \
		grbl/spindle_control.h \
		grbl/stepper.h \
		grbl/jog.h \
		grbl/sleep.h \
		grbl/xxxxxxxxxxx.h \
		grbl/sharedata.h \
		grbl/dbuscomm.h \
		grbl/shmfifo.h
	$(CC) -c $(CFLAGS) $(INCPATH) -o serial.o grbl/serial.c

settings.o: grbl/settings.c grbl/grbl.h \
		grbl/config.h \
		grbl/nuts_bolts.h \
		grbl/settings.h \
		grbl/system.h \
		grbl/defaults.h \
		grbl/cpu_map.h \
		grbl/planner.h \
		grbl/coolant_control.h \
		grbl/eeprom.h \
		grbl/gcode.h \
		grbl/limits.h \
		grbl/motion_control.h \
		grbl/print.h \
		grbl/probe.h \
		grbl/protocol.h \
		grbl/report.h \
		grbl/serial.h \
		grbl/spindle_control.h \
		grbl/stepper.h \
		grbl/jog.h \
		grbl/sleep.h \
		grbl/xxxxxxxxxxx.h \
		grbl/sharedata.h \
		grbl/dbuscomm.h \
		grbl/shmfifo.h
	$(CC) -c $(CFLAGS) $(INCPATH) -o settings.o grbl/settings.c

sleep.o: grbl/sleep.c grbl/grbl.h \
		grbl/config.h \
		grbl/nuts_bolts.h \
		grbl/settings.h \
		grbl/system.h \
		grbl/defaults.h \
		grbl/cpu_map.h \
		grbl/planner.h \
		grbl/coolant_control.h \
		grbl/eeprom.h \
		grbl/gcode.h \
		grbl/limits.h \
		grbl/motion_control.h \
		grbl/print.h \
		grbl/probe.h \
		grbl/protocol.h \
		grbl/report.h \
		grbl/serial.h \
		grbl/spindle_control.h \
		grbl/stepper.h \
		grbl/jog.h \
		grbl/sleep.h \
		grbl/xxxxxxxxxxx.h \
		grbl/sharedata.h \
		grbl/dbuscomm.h \
		grbl/shmfifo.h
	$(CC) -c $(CFLAGS) $(INCPATH) -o sleep.o grbl/sleep.c

spindle_control.o: grbl/spindle_control.c grbl/grbl.h \
		grbl/config.h \
		grbl/nuts_bolts.h \
		grbl/settings.h \
		grbl/system.h \
		grbl/defaults.h \
		grbl/cpu_map.h \
		grbl/planner.h \
		grbl/coolant_control.h \
		grbl/eeprom.h \
		grbl/gcode.h \
		grbl/limits.h \
		grbl/motion_control.h \
		grbl/print.h \
		grbl/probe.h \
		grbl/protocol.h \
		grbl/report.h \
		grbl/serial.h \
		grbl/spindle_control.h \
		grbl/stepper.h \
		grbl/jog.h \
		grbl/sleep.h \
		grbl/xxxxxxxxxxx.h \
		grbl/sharedata.h \
		grbl/dbuscomm.h \
		grbl/shmfifo.h
	$(CC) -c $(CFLAGS) $(INCPATH) -o spindle_control.o grbl/spindle_control.c

stepper.o: grbl/stepper.c grbl/grbl.h \
		grbl/config.h \
		grbl/nuts_bolts.h \
		grbl/settings.h \
		grbl/system.h \
		grbl/defaults.h \
		grbl/cpu_map.h \
		grbl/planner.h \
		grbl/coolant_control.h \
		grbl/eeprom.h \
		grbl/gcode.h \
		grbl/limits.h \
		grbl/motion_control.h \
		grbl/print.h \
		grbl/probe.h \
		grbl/protocol.h \
		grbl/report.h \
		grbl/serial.h \
		grbl/spindle_control.h \
		grbl/stepper.h \
		grbl/jog.h \
		grbl/sleep.h \
		grbl/xxxxxxxxxxx.h \
		grbl/sharedata.h \
		grbl/dbuscomm.h \
		grbl/shmfifo.h
	$(CC) -c $(CFLAGS) $(INCPATH) -o stepper.o grbl/stepper.c

system.o: grbl/system.c grbl/grbl.h \
		grbl/config.h \
		grbl/nuts_bolts.h \
		grbl/settings.h \
		grbl/system.h \
		grbl/defaults.h \
		grbl/cpu_map.h \
		grbl/planner.h \
		grbl/coolant_control.h \
		grbl/eeprom.h \
		grbl/gcode.h \
		grbl/limits.h \
		grbl/motion_control.h \
		grbl/print.h \
		grbl/probe.h \
		grbl/protocol.h \
		grbl/report.h \
		grbl/serial.h \
		grbl/spindle_control.h \
		grbl/stepper.h \
		grbl/jog.h \
		grbl/sleep.h \
		grbl/xxxxxxxxxxx.h \
		grbl/sharedata.h \
		grbl/dbuscomm.h \
		grbl/shmfifo.h
	$(CC) -c $(CFLAGS) $(INCPATH) -o system.o grbl/system.c

xxxxxxxxxxx.o: grbl/xxxxxxxxxxx.c grbl/grbl.h \
		grbl/config.h \
		grbl/nuts_bolts.h \
		grbl/settings.h \
		grbl/system.h \
		grbl/defaults.h \
		grbl/cpu_map.h \
		grbl/planner.h \
		grbl/coolant_control.h \
		grbl/eeprom.h \
		grbl/gcode.h \
		grbl/limits.h \
		grbl/motion_control.h \
		grbl/print.h \
		grbl/probe.h \
		grbl/protocol.h \
		grbl/report.h \
		grbl/serial.h \
		grbl/spindle_control.h \
		grbl/stepper.h \
		grbl/jog.h \
		grbl/sleep.h \
		grbl/xxxxxxxxxxx.h \
		grbl/sharedata.h \
		grbl/dbuscomm.h \
		grbl/shmfifo.h
	$(CC) -c $(CFLAGS) $(INCPATH) -o xxxxxxxxxxx.o grbl/xxxxxxxxxxx.c

dbuscomm.o: grbl/dbuscomm.c grbl/grbl.h \
		grbl/config.h \
		grbl/nuts_bolts.h \
		grbl/settings.h \
		grbl/system.h \
		grbl/defaults.h \
		grbl/cpu_map.h \
		grbl/planner.h \
		grbl/coolant_control.h \
		grbl/eeprom.h \
		grbl/gcode.h \
		grbl/limits.h \
		grbl/motion_control.h \
		grbl/print.h \
		grbl/probe.h \
		grbl/protocol.h \
		grbl/report.h \
		grbl/serial.h \
		grbl/spindle_control.h \
		grbl/stepper.h \
		grbl/jog.h \
		grbl/sleep.h \
		grbl/xxxxxxxxxxx.h \
		grbl/sharedata.h \
		grbl/dbuscomm.h \
		grbl/shmfifo.h
	$(CC) -c $(CFLAGS) $(INCPATH) -o dbuscomm.o grbl/dbuscomm.c

shmfifo.o: grbl/shmfifo.c grbl/shmfifo.h
	$(CC) -c $(CFLAGS) $(INCPATH) -o shmfifo.o grbl/shmfifo.c
	
check: first

benchmark: first



 

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
雕刻机5步进电机驱动器介绍: 1、同时接5块步进电机驱动板器,控制5个步进电机运转,每个通道连接驱动器可以有两种接口供选择,并且能够实现双X双Y双Z连接。 2、支持mach3以及维宏卡软件方便您选择使用mach3软件或者维宏卡软件对驱动器进行控制 3、带手控接口,可以使用手控对步进电机进行控制 4、带四路限位开关接口,可对实现限位功能,设备运转安全保证。 5、带继电器控制,可控制雕刻机主电机。 插拔接头和驱动器的连接图 1、步进电机的基本参数: (1)电机固有步距角: 它表示控制系统每发一个步进脉冲信号,电机所转动的角度。电机出厂时给出了一个步距角的值,如86BYG250A型电机给出的值为0.9°/1.8°(表示半步工作时为0.9°、整步工作时为1.8°),这个步距角可以称之为‘电机固有步距角’,它不一定是电机工作时的实际步距角,实际步距角和驱动器有关。 (2)步进电机的相数: 是指电机内部的线圈组数,目前常用的有二相、三相、四相、五相步进电机。电机相数不同,其步距角也不同,一般二相电机的步距角为0.9°/1.8°、三相的为0.75°/1.5°、五相的为0.36°/0.72° 。步进电机增加相数能提高性能,但步进电机的结构和驱动电源都会更复杂,成本也会增加。 (3)保持转矩(HOLDING TORQUE): 也叫最大静转矩,是在额定静态电流下施加在已通电的步进电机转上而不产生连续旋转的最大转矩。它是步进电机最重要的参数之一,通常步进电机在低速时的力矩接近保持转矩。由于步进电机的输出力矩随速度的增大而不断衰减,输出功率也随速度的增大而变化,所以保持转矩就成为了衡量步进电机最重要的参数之一。比如,当人们说2N.m的步进电机,在没有特殊说明的情况下是指保持转矩为2N.m的步进电机。 (4)步距精度: 可以用定位误差来表示,也可以用步距角误差来表示。 (5)矩角特性: 步进电机的转子离开平衡位置后所具有的恢复转矩,随着转角的偏移而变化。步进电机静转矩与失调角的关系称为矩角特性。 (6)静态温升: 指电机静止不动时,按规定的运行方式中最多的相数通以额定静态电流,达到稳定的热平衡状态时的温升。 (7)动态温升: 电机在某一频率下空载运行,按规定的运行时间进行工作,运行时间结束后电机所达到的温升叫动态温升。 (8)转矩特性: 它表示电机转矩和单相通电时励磁电流的关系。 (9)启动矩频特性: 启动频率与负载转矩的关系称为启动矩频特性。 (10)运行矩频特性/惯频特性:略 (11)升降频时间: 指电机从启动频率升到最高运行频率或从最高运行频率降到启动频率所需的时间。 (12)DETENT TORQUE: 是指步进电机没有通电的情况下,定子锁住转子的力矩。DETENT TORQUE 在国内没有统一的翻译方式,容易产生误解;反应式步进电机的转子不是永磁材料,所以它没有DETENT TORQUE。 2、系统概述: 步进电机是一种将电脉冲转化为角位移的执行元件。当步进电机驱动器接收到一个脉冲信号(来自控制器),它就驱动步进电机按设定的方向转动一个固定的角度(称为“步距角”),它的旋转是以固定的角度一步一步运行的。 3、系统控制: 步进电机不能直接接到直流或交流电源上工作,必须使用专用的驱动电源(步进电机驱动器)。控制器(脉冲信号发生器)可以通过控制脉冲的个数来控制角位移量,从而达到准确定位的目的;同时可以通过控制脉冲频率来控制电机转动的速度和加速度,从而达到调速的目的。 4、用途: 步进电机是一种控制用的特种电机,作为执行元件,是机电一体化的关键产品之一,随着微电子和计算机技术的发展(步进电机驱动器性能提高),步进电机的需求量与日俱增。步进电机在运行中精度没有积累误差的特点,使其广泛应用于各种自动化控制系统,特别是开环控制系统。 5、步进电机按结构分类: 步进电机也叫脉冲电机,包括反应式步进电机(VR)、永磁式步进电机(PM)、混合式步进电机(HB)等。 (1)反应式步进电机: 也叫感应式、磁滞式或磁阻式步进电机。其定子和转子均由软磁材料制成,定子上均匀分布的大磁极上装有多相励磁绕组,定、转子周边均匀分布小齿和槽,通电后利用磁导的变化产生转矩。一般为三、四、五、六相;可实现大转矩输出(消耗功率较大,电流最高可达20A,驱动电压较高);步距角小(最小可做到六分之一度);断电时无定位转矩;电机内阻尼较小,单步运行(指脉冲频率很低时)震荡时间较长;启动和运行频率较高。 (2)永磁式步进电机: 通常电机转子由永磁材料制成,软磁材料制成的定子上有多相励磁绕组,定、转子周边没有小齿和槽,通电后利用永磁体与定子电流磁场相互作用产生转矩。一般为两相或四相;输出转矩小(消耗功率较小,

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值