发明名称 1/8th and 1/16th micro-stepping motor drive software architecture
摘要 The invention is a method of controlling a microstepping motor. The method begins with the initialization of a logic circuit in accordance with the requirements of a profile/index bit generated by a microcontroller. An initial stage is established for the logic circuit and determining whether or not to run the motor in stand-alone or pulse controlled mode. The logic initial stage comprises the initialization of a set of one or more data registers; configuration of interrupts and input/output ports; and, the setting of timer prescales. The method next performs a logic sequence to a motor use profile, a system profile, and a program flow. After completion of the logic sequence, the method performs a step sequence to establish the timing pattern of electrical impulses to be directed to one or more integrated circuits. A predetermined acceleration table is established in a program memory having a set of delay constants, wherein the set of delay constants contain the timing sequences for each step in the motor use profile. The acceleration table is then accessed so as to implement acceleration. The logic circuit returns a delay constant from the acceleration table and places a set of data relative to the delay constant in one or more registers for use by the step sequencing routine. The sequencing step comprises the further step of delivering a timing sequence to the integrated circuit wherein the sequence is further comprised of a set of interrupt service routines, corresponding to a state of the motion profile. Each one of the interrupt service routines reloads a timer with a next delay constant and sends the next delay constant to the integrated circuit before updating the step count.
申请公布号 US2002133262(A1) 申请公布日期 2002.09.19
申请号 US20000752161 申请日期 2000.12.29
申请人 LI YANQING;PHAM LUU T. 发明人 LI YANQING;PHAM LUU T.
分类号 H02P8/22;(IPC1-7):G06F19/00;G05B21/02 主分类号 H02P8/22
代理机构 代理人
主权项
地址