CN101344577B - Step motor test system and method - Google Patents
Step motor test system and method Download PDFInfo
- Publication number
- CN101344577B CN101344577B CN2007102010760A CN200710201076A CN101344577B CN 101344577 B CN101344577 B CN 101344577B CN 2007102010760 A CN2007102010760 A CN 2007102010760A CN 200710201076 A CN200710201076 A CN 200710201076A CN 101344577 B CN101344577 B CN 101344577B
- Authority
- CN
- China
- Prior art keywords
- step motor
- rotation
- test
- test duration
- parameter
- 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
Images
Landscapes
- Control Of Stepping Motors (AREA)
Abstract
The invention provides a step motor test method adopting an input device, a control device, an input-output controller and a step motor driver which are sequentially connected to test whether the step motor can be qualified; wherein, a waveform generator is connected between the control device and the step motor driver. The method includes the following steps: parameters containing the running direction and test time of the step motor which are needed to be tested for the step motor are set through the input device; the input-output controller is controlled by the control device to send out control instructions and the wave generator is also controlled by the control device to send out impulse signals so as to drive the step motor to run according to the set running direction; the control device judges whether the step motor runs normally in the test time. The invention also provides a step motor test system. Adopting the test system and method can quickly and accurately complete the test to the step motor.
Description
Technical field
The present invention relates to a kind of step motor test system and method.
Background technology
Improving and the assurance product quality, is the important content in the business activity.In order to improve and to guarantee product quality, enterprise must implement test to obtain the quality information of product and manufacture process thereof to product, according to these information the manufacture process of product is implemented control---revise and the compensation activity, make waster and reprocessed products rate drop to minimum level, finally guarantee the stability and the output consistency of product thereof of product quality forming process.
As everyone knows, the characteristics that step motor has is simple in structure, reliability is high and cost is low, can directly digital pulse signal be transformed into angular displacement, and can control the angular displacement of motor by the number of gating pulse, reaching pinpoint purpose, thus step motor by more and more widely be applied to product technical field such as numerically-controlled machine, printer, plotting apparatus.
At present, enterprise need determine test result by the mode of artificial judgment when the step motor permanance is tested, and promptly whether step motor is qualified.So not only time-consuming but also expensive, production cost increases.
Summary of the invention
In view of above content, be necessary to provide a kind of step motor test system, it can be tested the permanance of step motor automatically and accurately.
In view of above content, also be necessary to provide a kind of step motor method of testing, it can be tested the permanance of step motor automatically and accurately.
A kind of step motor test system, this system comprises input media, opertaing device, input/output control unit and the stepper motor drives that connects successively, between opertaing device and stepper motor drives, also be connected with waveform generator, described opertaing device comprises: module is set, be used for being provided with by input media the parameter of the required test of step motor, described test parameter comprises the rotation direction and the test duration of step motor; Processing module, be used for when step motor begins to test, the control waveform generator sends pulse signal to stepper motor drives and rotates to drive step motor, and control input/output control unit stepper motor drives is sent instruction, rotate according to set rotation direction with the control step motor; Judge module is used for whether occurring judging unusually according to the rotation of step motor in the test duration whether step motor is qualified.
A kind of step motor method of testing, utilize the input media, opertaing device, input/output control unit, waveform generator, the stepper motor drives test step motor that connect successively whether qualified, wherein between opertaing device and stepper motor drives, also be connected with waveform generator, this method comprises the steps: to be provided with by input media the parameter of the required test of step motor, and described parameter comprises the rotation direction and the test duration of step motor; Opertaing device control input/output control unit sends steering order and the control waveform generator sends pulse signal, rotates according to the rotation direction that is provided with to drive step motor; Opertaing device judges whether the rotation of step motor occurs unusually in the test duration.Described step motor method of testing can be implemented test to the permanance of step motor accurately.
Description of drawings
Fig. 1 is the hardware structure figure of step motor test system preferred embodiment of the present invention.
Fig. 2 is the functional block diagram of the opertaing device in the step motor test system preferred embodiment of the present invention.
Fig. 3 is the operation process chart of step motor method of testing of the present invention preferred embodiment.
Embodiment
Consulting shown in Figure 1ly, is the hardware structure figure of a kind of step motor tester table of the present invention preferred embodiment.This board comprises input media 3, opertaing device 2, input/output control unit 4, stepper motor drives 6, the step motor 7 that connects successively, also be connected with waveform generator 5 between opertaing device 2 and stepper motor drives 6, opertaing device 2 also is connected with display device 1.
This display device 1 is used for the set parameter of display input device 3, and the information in the operational process.Information in the described operational process comprises remaining runtime (that is: from the time that finishes operation) and rotary state (comprising forward rotation state, halted state, backward rotation state).Comprise described excess time: test excess time, forward rotation excess time, backward rotation excess time, suspend excess time.Particularly, show in the mode of countdown excess time.
This opertaing device 2 links to each other with input/output control unit 4, input/output control unit 4 is sent the steering order of rotation mode, rotation direction; This opertaing device 2 also links to each other with waveform generator 5, makes waveform generator 5 produce pulse signal, and stepper motor drives 6 received pulse signals drive step motor 7 and rotate.Used in this embodiment opertaing device 2 is single-chip microcomputers, and opertaing device 2 can also be the data processing equipment of other any appropriate.
This input media 3 is used for the parameter of opertaing device 2 is provided with.Described parameter comprises velocity of rotation, test duration, the rotation direction of step motor, the rotation mode of step motor.Described step motor rotation mode comprises: step rotation entirely, the rotation of half step, the rotation of 1/4th steps, 1/8th steps rotate.Described rotation direction comprises: forward rotation (can be also can be counterclockwise to rotate clockwise) and backward rotation (rotation opposite with the forward rotation direction).The described test duration comprises: the forward rotation test duration (used time during the step motor forward rotation), the backward rotation test duration (used time during the step motor backward rotation), time out (the step motor forward rotation begins the interval time before the backward rotation after stopping) and test duration (for beginning to the time that finishes of test step motor) from test.The positive integer that the described test duration equals forward rotation test duration, backward rotation test duration and time out sum doubly, particularly, test duration is T, the forward rotation test duration is T1, and the backward rotation test duration is T2, and time out is T3, three's sum (that is: T1+T2+T3) is an one-period, T=N* (T1+T2+T3) then, wherein N represents periodicity, and N is set by actual conditions; After N, T1, T2, T3 set, the test duration generated automatically according to top formula (that is: T=N* (T1+T2+T3)).
The steering order that this input/output control unit 4 is sent opertaing device 2 sends stepper motor drives 6 to.Described steering order comprises: rotation direction, rotation mode.
This waveform generator 5 is used to produce pulse signal, and the pulse signal that stepper motor drives 6 receives waveform generator 5 drives step motor 7 and rotates.The angle that the corresponding step motor of described pulse signal rotates, particularly, waveform generator whenever sends a pulse signal step motor and rotates a fixing angle.Therefore by being provided with of 3 pairs of waveform generator 5 pulsed frequencies of input media can the control step motor velocity of rotation.
Consulting shown in Figure 2ly, is the functional block diagram of opertaing device 2 in the step motor test system preferred embodiment of the present invention.Described opertaing device 2 comprises module 100, judge module 101, processing module 102, display module 104 and memory module 106 is set.
The setting that module 100 is used to carry out the step motor test parameter is set.Parameter comprises: step motor velocity of rotation, rotation mode, rotation direction and test duration.
Described rotation mode comprises: rotation mode, 1/4th step rotation modes and 1/8th step rotation modes are rotated, partly gone on foot to the full step.
Described rotation direction comprises: forward rotation (can be also can be counterclockwise to rotate clockwise) and backward rotation (rotating with the direction that forward rotation is oppositely just in time opposite).
The described test duration is meant the forward rotation test duration (used time during the step motor forward rotation), the summation of backward rotation test duration (used time during the step motor backward rotation) and time out (the step motor forward rotation begins the interval time between the backward rotation after stopping).The positive integer that the described test duration equals forward rotation test duration, backward rotation test duration and time out sum doubly, particularly, test duration is T, the forward rotation test duration is T1, and the backward rotation test duration is T2, and time out is T3, three's sum (that is: T1+T2+T3) is an one-period, T=N* (T1+T2+T3) then, wherein N represents periodicity, and N is set by actual conditions; After N, T1, T2, T3 set, the test duration generated automatically according to above-mentioned formula (that is: T=N* (T1+T2+T3)).
Whether whether the set time finished during judge module 101 was used to judge rotation, and interrupt turning round in the time that is provided with judging whether step motor to be measured is qualified according to step motor.The described time comprises: forward rotation time, backward rotation time, time out, test duration.Particularly: with the forward rotation is example, during forward rotation, judge module 101 judges whether the forward rotation time finishes, finish as the forward rotation test duration, the control that processing module 102 finishes waveform generator 5, make it stop stepper motor drives 6 is produced pulse signal, thereby stop step motor 7 is driven, step motor 7 enters halted state; As also end of time, and step motor 7 stops operating, and then display device 1 prompting step motor 7 is defective.
Consulting shown in Figure 3ly, is the operation process chart of step motor method of testing of the present invention preferred embodiment.
At first, step S10 is provided with module 100 and carries out the setting of test parameter.Display module 104 shows the parameter that is provided with by display device.Memory module 106 is preserved the parameter that is provided with, and the default parameters of the parameter of preserving as test next time.106 of memory modules keep the up-to-date parameter that once is provided with.Described parameter comprises: step motor test duration, velocity of rotation, rotation direction and step motor rotation mode.
The described test duration comprises: forward rotation test duration (used time during the step motor forward rotation), the summation of backward rotation test duration (used time during the step motor backward rotation) and time out (the step motor forward rotation begins the interval time between the backward rotation after stopping).The positive integer that the described test duration equals forward rotation test duration, backward rotation test duration and time out sum doubly.
Described rotation direction comprises: forward rotation and backward rotation.
Described step motor rotation mode comprises: go on foot full rotation mode, partly go on foot rotation mode, 1/4th the step rotation modes, 1/8th the step rotation modes.
Step S11,102 pairs of input/output control unit 4 of processing module are sent the steering order of forward rotation, this control command sends stepper motor drives 6 to, control waveform generator 5 makes it produce pulse signal simultaneously, and this pulse signal sends stepper motor drives 6 to makes it drive the step motor forward rotation.
Step S12, judge module 101 judges whether to occur test unusually during the forward rotation.Described test refers to that unusually step motor did not stop operating before the forward rotation time there is not end.
Step S13, if it is unusual test not occur, then the forward rotation test duration finishes, the control that processing module 102 finishes waveform generator 5, make it stop stepper motor drives 6 is produced pulse signal, thereby stop step motor 7 is driven, step motor 7 enters halted state.
Step S14, when time out finishes, 102 pairs of input/output control unit 4 of processing module are sent counter-rotational steering order, this control command sends stepper motor drives 6 to, control waveform generator 5 makes it produce pulse signal simultaneously, and this pulse signal sends stepper motor drives 6 to makes it drive the step motor backward rotation.
Step S15, judge module 101 judges whether to occur test unusually during the backward rotation.Described test refers to that unusually step motor did not stop operating before the backward rotation test duration there is not end.
Step S16, if it is unusual test not occur, then the backward rotation test duration finishes, then judge module 101 judges whether the step motor test duration finishes.
Step S17, if the test duration does not also finish, then the backward rotation test duration finishes, the control that processing module 102 finishes waveform generator 5, make it stop stepper motor drives 6 is produced pulse signal, thereby stop step motor 7 is driven, step motor 7 enters halted state.
In step S12, unusual if test occurs, then direct process ends, display device 1 prompting step motor is defective.Described test refers to that unusually step motor did not stop operating before the forward rotation test duration there is not end.
In step S15, unusual if test occurs, then direct process ends, display device 1 prompting step motor is defective.Described test refers to that unusually step motor did not stop operating before the backward rotation time there is not end.
In step S16, if the test duration finishes, then finish test, display device 1 prompting step motor is qualified.
In step S17, when time out finishes, then get back to step S11.
In the present embodiment, the test stepping motor mode of user's selection is forward rotation, time-out and backward rotation.In other embodiments, the method for the test step motor that the user selects also can be rotated according to a direction, promptly is forward rotation or backward rotation.
Present embodiment has mainly been finished the test to step motor, and after each test was finished, the parameter of test was retained in the opertaing device 2, and next test beginning is not provided with the parameter of once testing before the acquiescence if carry out parameter.
Claims (9)
1. step motor test system, this system comprises input media, opertaing device, input/output control unit and the stepper motor drives that connects successively, also be connected with waveform generator between opertaing device and stepper motor drives, it is characterized in that, described opertaing device comprises:
Module is set, is used for being provided with by input media the parameter of the required test of step motor, described test parameter comprises the rotation direction and the test duration of step motor;
Processing module, be used for when step motor begins to test, the control waveform generator sends pulse signal to stepper motor drives and rotates to drive step motor, and control input/output control unit stepper motor drives is sent instruction, rotate according to set rotation direction with the control step motor;
Judge module is used for whether occurring judging unusually according to the rotation of step motor in the test duration whether step motor is qualified.
2. step motor test system as claimed in claim 1, it is characterized in that, described rotation direction comprises forward rotation and backward rotation, and the described test duration is meant that step motor forward rotation test duration, backward rotation test duration and step motor forward rotation begin the summation of counter-rotational interval time afterwards.
3. step motor test system as claimed in claim 2 is characterized in that, the rotation of described step motor step motor occurs being meant unusually when forward rotation test duration or backward rotation test duration also do not finish, and step motor stops operating.
4. step motor test system as claimed in claim 1 is characterized in that, described test parameter also comprises: velocity of rotation and rotation mode; Described rotation mode comprise full step rotation mode, partly go on foot rotation mode, 1/4th the step rotation modes and 1/8th the step rotation modes.
5. step motor test system as claimed in claim 1, it is characterized in that, described opertaing device also comprises memory module and display module, described memory module is used to store the test parameter of setting, the information of residue test duration when described display module is used to show the test parameter of setting and test.
6. step motor method of testing, utilize the input media, opertaing device, input/output control unit and the stepper motor drives test step motor that connect successively whether qualified, wherein between opertaing device and stepper motor drives, also be connected with waveform generator, it is characterized in that this method comprises the steps:
By input media the parameter of the required test of step motor is set, described parameter comprises: the rotation direction of step motor and test duration;
Opertaing device control input/output control unit sends steering order and the control waveform generator sends pulse signal, rotates according to the rotation direction that is provided with to drive step motor;
Opertaing device judges whether the rotation of step motor occurs unusually in the test duration.
7. step motor method of testing as claimed in claim 6, it is characterized in that, described rotation direction comprises forward rotation and backward rotation, and the described test duration is meant that step motor forward rotation test duration, backward rotation test duration and step motor forward rotation begin the summation of counter-rotational interval time afterwards.
8. step motor method of testing as claimed in claim 7 is characterized in that, the rotation of described step motor occurs being meant unusually that at step motor step motor stops operating when forward rotation test duration or backward rotation test duration also do not finish.
9. step motor method of testing as claimed in claim 6, it is characterized in that, described test parameter also comprises velocity of rotation and rotation mode, described rotation mode comprise full step rotation mode, partly go on foot rotation mode, 1/4th the step rotation modes and 1/8th the step rotation modes.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007102010760A CN101344577B (en) | 2007-07-13 | 2007-07-13 | Step motor test system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007102010760A CN101344577B (en) | 2007-07-13 | 2007-07-13 | Step motor test system and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101344577A CN101344577A (en) | 2009-01-14 |
CN101344577B true CN101344577B (en) | 2011-08-24 |
Family
ID=40246612
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2007102010760A Expired - Fee Related CN101344577B (en) | 2007-07-13 | 2007-07-13 | Step motor test system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101344577B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102175448B (en) * | 2011-03-15 | 2012-09-05 | 中国科学院光电技术研究所 | Method and device for detecting performance of force type driver in active thin primary mirror system |
CN103424695B (en) * | 2012-05-16 | 2016-08-31 | 珠海格力电器股份有限公司 | Air conditioner stepping motor monitor and monitoring method |
CN105510827B (en) * | 2015-12-04 | 2018-12-18 | 珠海格力电器股份有限公司 | Method and device for monitoring working state of stepping motor and air conditioner controller |
CN105866683B (en) * | 2016-04-01 | 2019-10-18 | 深圳北航天汇创业孵化器有限公司 | A kind of test macro of closed loop stepper motor and its driver |
CN108535646B (en) * | 2017-03-02 | 2021-09-21 | 佛山市顺德区美的电热电器制造有限公司 | Electric cooking equipment and motor self-checking method and device thereof |
CN118670240B (en) * | 2024-08-20 | 2024-10-18 | 中国计量大学 | Displacement measuring device and method for accumulation type nano stepper |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1184257A (en) * | 1996-11-30 | 1998-06-10 | 三星电子株式会社 | Apparatus and method for testing stator |
US6577137B1 (en) * | 2000-05-05 | 2003-06-10 | James Allan Fisher | Reverse inertial load test |
-
2007
- 2007-07-13 CN CN2007102010760A patent/CN101344577B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1184257A (en) * | 1996-11-30 | 1998-06-10 | 三星电子株式会社 | Apparatus and method for testing stator |
US6577137B1 (en) * | 2000-05-05 | 2003-06-10 | James Allan Fisher | Reverse inertial load test |
Non-Patent Citations (2)
Title |
---|
JP特开2001-289923A 2001.10.19 |
林成武,张凤阁.8XC196MC_MD单片机波形发生器的应用技术研究.《微处理机》.1998,(第2期),45-47. * |
Also Published As
Publication number | Publication date |
---|---|
CN101344577A (en) | 2009-01-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101344577B (en) | Step motor test system and method | |
TWI273259B (en) | Built-in test architecture | |
CN109687782A (en) | A kind of control device and control system of stepper motor | |
US20180129176A1 (en) | Real-tiem simulation system | |
CN101726710A (en) | Power supply testing control device, testing system and testing method thereof | |
CN102817824A (en) | Fan testing method and system | |
CN110319044A (en) | Fan test method | |
CN112462248B (en) | Test signal output system and application method thereof | |
JPS62233083A (en) | Driving device | |
CN212965851U (en) | Motor drive's test system | |
CN106020172A (en) | Rudder servo real-time sine scan driving method based on FPGA platform | |
CN204613245U (en) | Fluted disc speed measuring comprehensive calibrator | |
CN110829912A (en) | Stepping motor controller | |
US20080197871A1 (en) | Sequential semiconductor device tester | |
KR20080105512A (en) | Test system and test method for semiconductor device | |
CN201600596U (en) | Automatic delivery testing device for servo drivers | |
CN111562798A (en) | Device capable of generating fixed-angle pulse at specified position and working method thereof | |
CN211405903U (en) | Stepping motor controller | |
CN102075261A (en) | Method and system for automatically testing millimeter-wave front end | |
CN221378124U (en) | Detection device and system of main pump frequency converter | |
CN220730684U (en) | Test system based on eddy current sensor simulator | |
JP2002365206A (en) | Method and apparatus for test of viscoelastic material | |
JP2004180417A (en) | Simultaneous control method for two or more motors, control system for two or more motors, pulse generating circuit for control of two or more motors, and pulse generating ic for control of two or more motors | |
JP2733569B2 (en) | Serial synchronous communication system | |
CN116184187A (en) | Control system of motor and motor assembly |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
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: 20110824 Termination date: 20140713 |
|
EXPY | Termination of patent right or utility model |