Stepping motor control system design scheme, 3) The system software programming
Home » Blog » Stepping motor control system design scheme, 3) The system software programming

Stepping motor control system design scheme, 3) The system software programming

Views: 0     Author: Site Editor     Publish Time: 2020-12-09      Origin: Site

Inquire

facebook sharing button
twitter sharing button
line sharing button
wechat sharing button
linkedin sharing button
pinterest sharing button
whatsapp sharing button
kakao sharing button
snapchat sharing button
telegram sharing button
sharethis sharing button

The software of this system planning, plans to open in two ways: 1, the planning, PWM pulse 2, stepper motor control method of planning. 1, PWM pulse sequence of PWM is the use of micro disposer digital output to imitate circuit controlled by a very useful skill, widely used in from measurement, communication to power control and change in many areas. This system chooses DSP pulse sequence, DSP28335 16 ePWM, a total of 12 road to frequency and duty ratio control. PWM signal frequency by the cycles of time base register TBPDR and time-base counter count form of resolution. Initialization program for counting additive form of forms of count. Under the additive count form, time base counter from zero beginning to add, until you reach the cycle register values (TBPDR)And time base counter is reset to zero, start to add again. PWM signal cycle and the frequency calculation is as follows: ePWM clocks TBCLK = SYSCLKOUT/(HSPCLKDIV× CLKDIV):(1)Tpwm=(TBPRD + 1)*Ttbclk:(2)Fpwm=1/(Tpwm)(3)2, the stepper motor control this system planning the manual and two control methods, first used in manual form to the initiative and control demand is not high, after completion of key step motor moving, deceleration, is turn and stop. Active form used in the active degree, high control precision demand of working condition. For laboratory project, the system chooses the control method of primary to active form. After upper machine electric start testing laboratory equipment,Flow sensor)Output signal, after the set two thresholds and advance A and B (B>A)When signal strength is zero, comparing the propulsion motor sensor high-speed circular scanning the scene until the signal strength is greater than the threshold, A discriminant for coarse adjustment system successfully. Later during the system into the fine-tuning, stepper motor form into a low speed, low speed sensor move until when signal strength is greater than perhaps B is equal to the strength of system control motor to stop running. Planning in this system for different conditions of two signal threshold according to the cycle register provides a set of program planning for, because of the laboratory system for precision demand is higher, so the cycle register set the value of the initial value is larger then the Fpwm is lesser, motor speed is relatively low. In this system chooses EPWM2B port output PWM pulse, the GPIO1 manipulation of the rolling direction, GPIO2 start-stop control motor.
the main products: stepper motor, brushless motor, servo motor, stepping motor drive, brake motor, linear motor and other kinds of models of the stepper motor, welcome to inquire. Telephone:


HOPRIO group a professional manufacturer of controller and motors, was established in 2000. Group headquarters in Changzhou City, Jiangsu Province.

Quick Links

Contact Us

WhatsApp: +8618921090987 
Tel: +86-18921090987 
Add: No.19 Mahang South Road, Wujin High-tech District, Changzhou City, Jiangsu Province, China 213167
Leave a Message
CONTACT US
Copyright © 2024 ChangZhou Hoprio E-Commerce Co., Ltd. All Rights Reserved. Sitemap | Privacy Policy