CN203747710U - Stepping motor driving device controlled by rocking bar - Google Patents
Stepping motor driving device controlled by rocking bar Download PDFInfo
- Publication number
- CN203747710U CN203747710U CN201420016365.9U CN201420016365U CN203747710U CN 203747710 U CN203747710 U CN 203747710U CN 201420016365 U CN201420016365 U CN 201420016365U CN 203747710 U CN203747710 U CN 203747710U
- Authority
- CN
- China
- Prior art keywords
- rocking bar
- chip microcomputer
- stepping motor
- driving device
- controlled
- Prior art date
- Legal status (The legal status 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 status listed.)
- Expired - Fee Related
Links
Landscapes
- Control Of Stepping Motors (AREA)
Abstract
The utility model discloses a stepping motor driving device controlled by a rocking bar. The stepping motor driving device controlled by the rocking bar comprises a rocking bar potentiometer, a single-chip microcomputer, a driving circuit, a motor connected with the driving circuit and a power source circuit used for providing power for all the other parts, wherein the rocking bar potentiometer outputs a voltage simulation signal to the single-chip microcomputer as an input control end of the driving device, the single-chip microcomputer employs an ATMEGA16 single-chip microcomputer to acquire the simulation voltage signal which is converted through an AD converter into digital quantity, a pulse signal is generated and inputted to the driving circuit, the driving circuit comprises L297 and L298 chips, and positive and inverted rotation and rotation numbers of the stepping motor are controlled through driving phase sequence of the stepping motor generated through the input pulse signal. The stepping motor driving device has advantages of low cost, large driving capacity, fast motion and low loss, can operate stably and can realize control on complex machinery.
Description
Technical field
The utility model relates to single-chip microcomputer control technology field, particularly a kind of novel stepper motor driver device.
Background technology
In the epoch of increasingly developing in current electronic information industry, digitizing technique is embodying more and more important effect in the tide that leads New Times development in science and technology, and stepping motor is very important a kind of machine in digitizing technique.Stepping motor has the following advantages: torque is large, and inertia is little, and response frequency is high; While stopping, there is certain auto-lock function; Positioning precision is high, favorable repeatability, without accumulated error, control simple, can be used for open loop and control.Based on above advantage, stepping motor, as the important execution unit in automatic control system, has obtained application in many industrial control systems.
Under conventional situation, after motor and load are determined, the performance of whole system depends on control method completely.The work of stepping motor must be used special equipment---stepper motor driver.Driver, for each step-by-step impulse, according to certain rules to each phase winding energising (excitation) of motor, to produce necessary torque, drives rotor to rotate.Need in process of production stepping motor to make corresponding adjustment at aspects such as rotating, rotating speed, revolutions, need to shut down, input instruction, change program, start with and regulate from software.Both lost time like this, also reduced enterprises production efficiency.
Based on the problems referred to above, the utility model rocking bar control step motor is proposed, control step motor start and stop fast, rotating, accurately control electric machine rotation step number, make motor can be flexibly, reliability service, be more conducive to automation control, industrial production processing industry.The utility model can be applied aspect a lot: rocking bar, as simple input, can be realized the control to complicated machinery, little of common game paddle, and large direction controller to aircraft is all used rocking bar.Aspect scientific research, can utilize this device to control the walking of dolly, robot; In the living conditions, can be used for manufacturing the auxiliary equipment that is beneficial to walking; Aspect industrial production, can be used for controlling the operation of rolling mill, control the operation of lathe etc.
Summary of the invention
Problem to be solved in the utility model is to overcome above-mentioned defect, has included rocker regulation resistance in step motor control end, and a kind of novel stepper motor drive unit is provided.
For addressing the above problem, the utility model adopts following technical scheme: the driving device for step-by-step that a kind of rocking bar is controlled, is characterized in that: rocker regulation resistance output voltage analog signal is to single-chip microcomputer, as the input control end of system; By 9V DC power supply, be internal drive circuits power supply, after 7805 chip step-downs, obtaining 5V direct current is single-chip microcomputer power supply, and circuit design is simple, is easy to realize; Adopt ATMEGA16 monolithic to carry out the analog voltage signal of Gather and input, by AD converter, analog signal is converted to digital quantity; Drive circuit is constituted by L297 and L298, can produce the driving phase sequence of control step electric machine rotation.
As preferably, described rocker regulation resistance, maximum value 10K Ω, the highest use voltage 50V, actuating force 5.2 ± 2.6N, amount of movement 0.5 ± 0.4mm.
As preferably, described single-chip microcomputer is selected ATMEGA16, and the crystal oscillator that 8MHZ is contained in inside, builds hardware circuit without outside, and circuit is simple and easy, easy to use.9V DC power supply obtains 5V direct current and powers into single-chip microcomputer after 7805 change.
As preferably, select the drive circuit of L297+L298 combination, can produce and drive phase sequence by input pulse, control electric machine rotation.
Accompanying drawing explanation
Fig. 1 is rocker regulation resistance figure of the present utility model;
Fig. 2 is the selected single chip computer AT MEGA16 pinouts of the utility model;
Fig. 3 is stepping motor drive principle figure of the present utility model;
Fig. 4 is the driving device for step-by-step control block diagram that a kind of rocking bar of the present utility model is controlled;
Fig. 5 is Step-by-step Motor Device Driver flow chart of the present utility model.
Embodiment
As Fig. 1, be a kind of common rocker regulation resistance, it is characterized in that: similar slide rheostat, referred to herein as " voltage divider ", each voltage divider by the resistance of a curling guide rail form and one movably contact arm form.The electric current of power supply, from input, by curling resistance and contact arm, flows back to joystick port, along guide rail, moves contact arm, can increase or reduce to act on the resistance value of electric current of this circuit of flowing through.Rocker regulation resistance two ends are ground connection and 5V direct voltage respectively, and centre tap connects single-chip microcomputer PA0 pin, and when shaking rocking bar, with regard to the slide plate of quite mobile slide rheostat, corresponding output voltage also can change thereupon.
As Fig. 2, described ATMEGA16 single-chip microcomputer is totally 40 pins, it comprises 32 programmable I/O ports, be respectively PA0~PA7, PB0~PB7, PC0~PC7 and PD0~PD7, power port VCC, grounding ports GND, reverse monofier input XTAL1, reverse monofier output XTAL2, reset input pin RESET, AD converting analogue benchmark input pin AREF, and the power supply AVCC of AD converter, program is mainly used Chip Microcomputer A/D modular converter, timer module and corresponding I/O port.
As Fig. 3, described stepping motor drive principle figure of the present utility model, the high voltage that inside comprises 4 channel logic drive circuits, 2 H bridges, the large electric current bridge driver of enjoying a double blessing can drive 2 two-phase stepping motors simultaneously.Vs is supply voltage, and GND is earth terminal, the filtering capacitor that C is 100nF, and VSS logic supply voltage is connected with ground by filter capacitor C, and Vref is chopper reference voltage input, and SenseA, SenseB are that current monitoring end is respectively through resistance R
sA, R
sBbe connected with ground, ENA, ENB are the start and stop that Enable Pin is controlled motor, L297 controls output pin PD1 by scanning revolution clock signal is provided, and IN1 is connected and controls the rotating of motor with single-chip microcomputer pin PD0 pin, and OUTl, OUT2 and OUT3, OUT4 are that two-way output can connect respectively stepping motor.
As Fig. 4, the driving device for step-by-step control block diagram that described a kind of rocking bar is controlled, ATMEGA16 single-chip microcomputer PA0 pin is arranged to input end of analog signal mouth, receive the analog signal of rocker regulation resistance input, single-chip microcomputer is converted into digital signal by the analog signal of input, by PD1 pin output revolutions control signal, to drive circuit, drive circuit produces the phase sequence of controlling electric machine rotation, realizes rocking bar the rotation of stepping motor is controlled.
As Fig. 5, described Step-by-step Motor Device Driver flow chart, on the basis of AD conversion, timer module 0 produces the timer clock of 64 frequency divisions, the variation digital quantity being converted to by calling interrupt function scan A/D.In interrupting subfunction, the numerical value of more adjacent twice storage, if currency is greater than previous value, PD0 pin output high level, represents forward, and currency i deducts previous numerical value OReg and obtains poor K, K is motor revolution control signal divided by 10 business, by PD1 pin, exports; In like manner, if currency i is less than last sub-value OReg, PD0 pin output low level, represents reversion.After relatively finishing, currency i assignment, to register OReg, as the benchmark comparing next time, thereby is produced to circulation phase sequence at every turn.
Adopt such scheme, the success of hardware adjustable.The beneficial effect of the driving device for step-by-step that a kind of rocking bar of the utility model is controlled is: fast and reliable start and stop, realizing stepping motor rotating controls, accurately control and rotate revolution, circuit is simple and easy, volume is little, cost is low, driving force is large, action is fast, loss is low, meets stable job requirement.
The above, be only embodiment of the present utility model, but protection range of the present utility model is not limited to this, and any variation of expecting without creative work or replacement, within all should being encompassed in protection range of the present utility model.Therefore, protection range of the present utility model should be as the criterion with the protection range that claims were limited.
Claims (2)
1. the driving device for step-by-step that a rocking bar is controlled, it comprises rocker regulation resistance, single-chip microcomputer, drive circuit, the motor being connected with drive circuit and provides the power circuit of electric power for above-mentioned device, described rocker regulation resistance is input control end, described single-chip microcomputer adopts ATMEGA16 single-chip microcomputer, and described drive circuit consists of L297 and L298 chip portfolio.
2. the driving device for step-by-step that a kind of rocking bar according to claim 1 is controlled, is characterized in that: described ATMEGA16 single-chip microcomputer is mainly used AD modular converter, timer module and analog signal input pin (PA0), rotating level output pin (PD0), revolution control output pin (PD1).
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201420016365.9U CN203747710U (en) | 2014-01-10 | 2014-01-10 | Stepping motor driving device controlled by rocking bar |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201420016365.9U CN203747710U (en) | 2014-01-10 | 2014-01-10 | Stepping motor driving device controlled by rocking bar |
Publications (1)
Publication Number | Publication Date |
---|---|
CN203747710U true CN203747710U (en) | 2014-07-30 |
Family
ID=51347463
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201420016365.9U Expired - Fee Related CN203747710U (en) | 2014-01-10 | 2014-01-10 | Stepping motor driving device controlled by rocking bar |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN203747710U (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104917441A (en) * | 2015-06-19 | 2015-09-16 | 拓卡奔马机电科技有限公司 | Control method for controlling motor speed by using rocking bar potentiometer |
CN106125754A (en) * | 2016-08-30 | 2016-11-16 | 青岛大学 | A kind of many rotor wing unmanned aerial vehicles remote controller |
CN113589715A (en) * | 2021-07-09 | 2021-11-02 | 浙江兆晟科技股份有限公司 | Infrared thermal imaging telescope control system |
-
2014
- 2014-01-10 CN CN201420016365.9U patent/CN203747710U/en not_active Expired - Fee Related
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104917441A (en) * | 2015-06-19 | 2015-09-16 | 拓卡奔马机电科技有限公司 | Control method for controlling motor speed by using rocking bar potentiometer |
CN106125754A (en) * | 2016-08-30 | 2016-11-16 | 青岛大学 | A kind of many rotor wing unmanned aerial vehicles remote controller |
CN106125754B (en) * | 2016-08-30 | 2019-01-04 | 青岛大学 | A kind of multi-rotor unmanned aerial vehicle remote controler |
CN113589715A (en) * | 2021-07-09 | 2021-11-02 | 浙江兆晟科技股份有限公司 | Infrared thermal imaging telescope control system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN203747710U (en) | Stepping motor driving device controlled by rocking bar | |
CN102291073B (en) | Multi-axis stepper motor interpolation controller and multi-axis stepper motor motion control card | |
CN101729002A (en) | SOPC-based remote monitoring system of no-position sensor brushless DC motor | |
CN104898530A (en) | Embedded controller synchronous printing and dyeing control system based on DSP (Digital Signal Processor) and FPGA (Field Programmable Gate Array) | |
CN102291062A (en) | High-accuracy multi-motor control method based on FPGA (Field Programmable Gate Array) | |
CN101273519B (en) | Method of operating a brushless DC motor | |
CN104660098A (en) | Low-frequency PWM and single neuron self-adaption-based ultrasonic motor control system | |
CN104753415B (en) | Start-up and shut-down control method, system and the stepper motor of stepper motor | |
CN108809171A (en) | It is a kind of to determine frequency PWM full-bridge type motor micro-stepping subdivision drive control methods and circuit | |
CN101807879A (en) | Miniature multifunctional motor driving controller | |
CN102829742A (en) | Method for measuring absolute position of rotor in motor servo system | |
CN101931357B (en) | Motor drive device and electronic device that uses the same | |
CN104518716A (en) | Closed loop control system for miniature direct current motor and control method for system | |
CN108015776B (en) | Robot control system based on compactRIO | |
CN103001574A (en) | Full digital alternating-current servo driving system based on DSP (digital signal processor) | |
CN103744439B (en) | A kind of many motor anti-backlash drive control system | |
CN103699139B (en) | High-resolution scanning control system and subdivision driving control method for same | |
CN202172382U (en) | Multi-axis stepping motor interpolation controller and motion control card thereof | |
CN106933261B (en) | Position follow-up control system and control method based on stepping drive | |
CN103001553A (en) | Permanent-magnet synchronous motor full-digital alternating-current servo system based on DSP (digital signal processor) | |
CN115840402A (en) | Control time sequence optimization method of double-shaft low-voltage motor driver and related equipment | |
CN1564095A (en) | Multishaft motion control card based on RS-232 serial bus | |
CN205304660U (en) | Direct current motor servo based on FPGA | |
CN202856676U (en) | Stepper motor driver | |
Liu et al. | Research for speed controller of switched reluctance motor using F-PID control |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20140730 Termination date: 20150110 |
|
EXPY | Termination of patent right or utility model |