CN216013596U - Programmable stepping motor loop tester - Google Patents

Programmable stepping motor loop tester Download PDF

Info

Publication number
CN216013596U
CN216013596U CN202122183676.7U CN202122183676U CN216013596U CN 216013596 U CN216013596 U CN 216013596U CN 202122183676 U CN202122183676 U CN 202122183676U CN 216013596 U CN216013596 U CN 216013596U
Authority
CN
China
Prior art keywords
motor
module
voltage
tester
main controller
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.)
Active
Application number
CN202122183676.7U
Other languages
Chinese (zh)
Inventor
余蕾斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Hanchuang Robot Technology Co ltd
Original Assignee
Shanghai Hanchuang Robot Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shanghai Hanchuang Robot Technology Co ltd filed Critical Shanghai Hanchuang Robot Technology Co ltd
Priority to CN202122183676.7U priority Critical patent/CN216013596U/en
Application granted granted Critical
Publication of CN216013596U publication Critical patent/CN216013596U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Control Of Stepping Motors (AREA)

Abstract

The utility model discloses a step motor return circuit tester able to programme, including the tester body, the tester body includes main control unit, motor drive, LCD, button operating panel, voltage regulator, wherein, main control unit embeds has the reading module that is used for data reading, is used for data storage's storage module, is used for the control module of control assembly function, is used for the calculation module that data algorithm calculated and is used for detecting motor return circuit voltage, the detection module of step subdivision and pulse frequency PPS parameter, main control unit still is connected with return circuit power supply, motor drive is connected with step motor. The loop tester can compile action texts according to the actual rotation requirements of the motor, and automatically converts the action texts into motor control instructions, so that the motor motion performance is tested, the professional technical requirements of motor testers are reduced, and the production detection efficiency is improved.

Description

Programmable stepping motor loop tester
Technical Field
The utility model relates to a motor test technical field, especially a step motor return circuit tester able to programme.
Background
The stepping motor has the characteristics of small volume and large torque, is widely applied to electronic products of instruments and meters, and along with the rapid development of the Internet of things and the consumer electronics industry, the demand of the stepping motor in scene applications such as camera focusing and posture adjustment is increasingly expanded. Because different electronic products have different voltage, rotating speed, noise and control requirements, and the stepper motor product has high requirements on production quality, the quality detection of the stepper motor in the production process is very important, and the performance test of the motor is required. In addition, because the application scenarios of the stepping motor are wide, the feasibility test of the application performance of the stepping motor is required in the production test link, including the loop voltage, the rotating speed, the starting and stopping speed and the acceleration performance of the motor, so that the equipment is required to be capable of simulating various motion control conditions to control the rotary motion of the stepping motor, and is convenient to use and simple to operate.
The patent "stepping motor test system and method" (patent number CN101344577B) is a stepping motor loop detection device, which has a test function of controlling the operation and stop of a stepping motor, no acceleration and deceleration time parameter, and no programmable motion control function. The patent "a stepping motor detection method, device and system" (patent number CN110187274A) is a method for detecting the running condition of a stepping motor by detecting phase voltage, and does not relate to the programmable loop detector utility model mentioned in the patent. A patent "a device and a method for detecting a motion state of a stepping motor" (patent No. CN107340472B) discloses a device and a method for detecting a motion state of a stepping motor, and specifically detects a counter electromotive force of the stepping motor to detect a motor operation condition.
In summary, no stepping motor loop detection device with programmable motion control function is available at present.
SUMMERY OF THE UTILITY MODEL
The utility model aims at solving the problem, a step motor return circuit tester able to programme has been designed.
The technical solution of the present invention is to provide a programmable stepping motor loop tester, which comprises a tester body, wherein the tester body comprises a main controller for storing downloaded motion files, a motor driver for driving the motor to move, a liquid crystal display for displaying current motor loop voltage, step subdivision, pulse frequency PPS parameter and current control program sequence number, a key operation panel for inputting the pulse frequency and step subdivision of the motor, a communication board for information communication and a voltage regulator for regulating voltage, wherein the main controller is internally provided with a reading module for reading data, a storage module for storing data, a control module for controlling the operation of the components, a calculation module for calculating data algorithm and a voltage regulator for detecting the motor loop voltage, the detection module of step subdivision and pulse frequency PPS parameter, main control unit still is connected with return circuit power supply, motor driver is connected with step motor.
As a further explanation of the present invention, the liquid crystal display, the key operation panel, and the voltage regulator are respectively electrically connected to the main controller.
As a further explanation of the present invention, the communication board is connected to the external computer and connected to the main controller, and the main controller is electrically connected to the motor driver.
As a further explanation of the present invention, the key operation panel is a set of self-recovery keys, and the key operation panel includes an action execution opening and stopping button, a step subdivision input button, and a pulse frequency input button.
As the utility model discloses a further explanation, main control unit passes through detection module on-line measuring current voltage value and adopts PID algorithm to calculate back output voltage control PWM ripples by the calculation module according to the voltage value of setting for, return circuit power supply exports supply voltage according to received PWM ripples.
The stepping motor loop tester has the advantages that aiming at the problem that a stepping motor loop tester with a programmable function is lacked in the prior art, a set of text editing mode adopting action commands arranged in rows is provided, the programmable requirement of the movement command of the stepping motor is met, the loop tester can compile action texts according to the actual rotation requirement of the motor and automatically convert the action texts into motor control commands, so that the movement performance of the motor is tested, the loop voltage, the rotation speed, the starting and stopping speed and the acceleration performance of the motor are included, the professional technical requirement of motor testers is lowered, the management difficulty of the personnel of motor production enterprises is lowered, and the production detection efficiency is improved.
Drawings
Fig. 1 is a schematic structural diagram of the present invention;
FIG. 2 is a block diagram of the main controller;
FIG. 3 is a block diagram of the execution flow of the file action line of the present invention;
in the figure, 1, a computer terminal; 2. a communication board; 3. a liquid crystal display; 4. a main controller; 41. a storage module; 42. a reading module; 43. a calculation module; 44. a control module; 45. a detection module; 5. a voltage regulator; 6. a key operation panel; 7. a loop power supply; 8. a motor driver; 9. a stepper motor.
Detailed Description
Because the stepping motor is widely applied to consumer electronic products, the requirement on the quality of the products is strict, and the production quality detection of the stepping motor at present mainly utilizes various universal devices for testing, the testing efficiency and the accuracy rate need to be further improved. Secondly, because different electronic products adopt different voltages and have different requirements on the rotating speed, noise and control of the stepping motor, therefore, a programmable motor loop test instrument is needed, which can write out the corresponding motor action command according to the practical application requirement, thereby testing the motion performance of the motor, and the tester faces not only the motor developer but also the operator of the production line, so the use is convenient and the operation is simple, but the motion action kind of motor is many in the practical application, can't predetermine in advance, consequently, still needs a new method to test step motor, and best motor circuit test instrument can program the motor action through the file writing mode of one set of standardization, realizes motor control program's programmable function, for this reason the utility model provides a step motor circuit tester able to programme.
The following description specifically describes the present invention with reference to the accompanying drawings, and the programmable stepper motor loop tester mainly includes a tester body, as shown in fig. 1, the tester body is composed of several modules, which are respectively a main controller 4, a motor driver 8, a liquid crystal display 3, a key operation panel 6, a communication board 2, a voltage regulator 5 and a loop power supply 7, wherein the liquid crystal display 3, the key operation panel 6, the voltage regulator 5 are electrically connected with the main controller 4, the main controller 4 is electrically connected with the motor driver 8, the motor driver 8 is connected with a stepper motor 9, the communication board 2 is externally connected with a computer terminal 1 and is connected with the main controller 4, as shown in fig. 2, a reading module 42 for reading data, a storage module 41 for storing data, a control module 44 for controlling the operation of a component, a data reading module 42 for reading data, a storage module 41 for storing data, a control module 44 for controlling the operation of a component, a power supply module for supplying power to the power supply, and a power supply for supplying power to the power supply, The calculation module 43 used for calculating the data algorithm and the detection module 45 used for detecting the loop voltage, the step subdivision and the pulse frequency PPS parameters of the motor, when the device works specifically, the device is connected with the main controller 4 and the USB port of the computer end 1 through the communication board 2 to receive action file data downloaded by the computer, then the main controller 4 downloads the action file transmitted by the communication board 2 and stores the action file in the storage module 41, the reading module 42 can automatically read the action text data stored in the storage module 41 according to the requirement, the calculation module 43 can calculate the action control parameters according to the action text data and send the parameters to the control module 44, the control module 44 outputs control pulses and the movement direction, and the motor driver 8 is controlled to drive the motor to move; the liquid crystal display 3 is used for displaying various parameters including current motor loop voltage, step subdivision, pulse frequency PPS parameters and current control program serial numbers; the key operation panel 6 is a group of self-recovery keys, is used for inputting the pulse frequency and the step pitch subdivision of a control motor, selects a control program serial number, and comprises an action execution start button and an action execution stop button; the voltage regulator 5 changes the target value of the motor loop voltage to the main controller 4 in a knob mode, and the specific implementation mode is as follows: the main controller detects the current voltage value on line through the detection module 45, outputs voltage control PWM waves after being calculated by the calculation module 43 by adopting a PID algorithm according to the set voltage value, and the loop power supply outputs power supply voltage according to the received PWM waves.
The file compiled by the computer end 1 is downloaded to the memory of the testing instrument through the USB and can be permanently stored, and the next time the file is used, the program can be directly called to carry out motor testing; the testing instrument can compile action files according to actual requirements to realize various motor motion control tests in the production and application development of the stepping motor 9, can calculate the speed value of motor motion control in the whole time period and convert action text data into motor motion control instructions, and the specific testing method using the instrument comprises the following steps:
s1, compiling the motion control parameters of the stepping motor 9 into a file of the computer terminal 1, wherein the parameters contained in the file comprise motor loop voltage, control step subdivision, file action and the cycle number of the file action;
s2, the main controller 4 is connected with the interface of the computer end 1 through the communication board 2, the action file is downloaded and stored in the storage module 41, the detection module 45 in the main controller 4 detects the current voltage value on line and outputs voltage control PWM wave after being calculated by the calculation module 43 by adopting PID algorithm according to the set voltage value, the loop power supply 7 outputs power supply voltage, loop voltage, step subdivision and pulse frequency PPS parameter according to the received PWM wave, and the current control program sequence number is displayed on the liquid crystal display 3;
s3, calculating action control parameters by the calculating module 43 in the main controller 4, calculating to obtain the motion speed value of the stepping motor 9, converting to obtain the stepping pulse frequency, outputting control pulse and motion direction to the motor driver 8 by the control module 44 in the main controller 4, and controlling the motor driver 8 to drive the stepping motor 9 to move.
The key of the programmable motor loop tester for converting the action text data into the motor motion control instruction is to calculate the speed value of the motor motion control in the whole time period, and the motor motion control in practical application comprises two types of speed control and position control.
The change and transition of the movement speed in the speed control mode are embodied in 3 movement parameters, namely speed (including direction), acceleration and time, wherein the acceleration can be calculated by using the speed difference and the acceleration time, so that the total movement time, the movement speed (including direction) and the acceleration time can be used for replacing the change and transition. The position change and transition in the position control mode are represented by 4 motion parameters, namely, rotation position (including direction), speed, acceleration and time, wherein the acceleration can be calculated by using a speed difference and an acceleration time, and the speed can be calculated by using a position difference and a motion time, so that the total motion time, the rotation position (including direction) and the acceleration time can be used instead. The following describes a specific implementation according to a position control mode and a speed control mode:
1. the operation of the position control mode is described in this embodiment as follows:
2 8 3.66 10
3000 50 100 90 1
2000 0 100 0 1
3000 0 100 1000 1
1000 0 0 0 1
3000 1000 100 0 2
2500 0 100 0 2
2000 0 100 0 2
1000 0 0 0 2
the first number 2 in the first row represents the position control mode (the speed control mode is number 1), the second number 8 represents the step size value, the third decimal number 3.66 represents the motor circuit voltage value 3.66V, and the fourth number represents the number of times of execution of the motion cycle from the third row to the tenth row is 10.
Starting with the second row, there is a sequence of actions, each row containing 5 values. In the second row, the first numerical value represents the execution time of 3000ms, the second numerical value represents the acceleration/deceleration time of 50ms, the third numerical value represents the total step number of the motor movement of 100 (position control mode), the fourth numerical value represents the acceleration/deceleration time of 90ms, and the fifth numerical value represents the motor movement direction of the current row (1 and 2 represent clockwise and counterclockwise directions, respectively).
The motion text is converted into a motor motion control program, and related motion parameters including acceleration and deceleration and a zone velocity value need to be calculated so as to be used for controlling the motion of the motor.
The number of the moving steps of the line meets the following formula:
Figure BDA0003255714880000061
T=t0+t1+t2 (2)
wherein, T is the total execution time of the action, T0 is the front acceleration and deceleration time, T1 bit middle constant speed section time, T2 is the rear acceleration and deceleration time, a0 is the front acceleration and deceleration value, v1 is the middle constant speed section speed value, a2 is the rear acceleration and deceleration value, and the front acceleration and deceleration time and the rear acceleration and deceleration time can both be zero. If the fifth row operation has no speed output, the operation is stopped and waits for 1000 ms.
Therefore, the speed values for the t0 time period and the t2 time period are formulated as:
v0=v1-a0·t 0≤t≤t1 (3)
v2=v1+a2·t 0≤t≤t2 (4)
2. the operation of the speed control mode is described in this embodiment as follows:
1 8 3.66 10
3000 50 100 90 1
2000 0 100 0 1
3000 0 100 1000 1
1000 0 0 0 1
3000 1000 100 0 2
2500 0 100 0 2
2000 0 100 0 2
1000 0 0 0 2
the first number 1 in the first row represents the speed control mode (position control mode is number 2), the second number 8 represents the step size value, the third decimal number 3.66 represents the motor circuit voltage value 3.66V, and the fourth number represents the number of times of execution of the motion cycle from the third row to the tenth row is 10.
Starting with the second row, there is a sequence of actions, each row containing 5 values. In the second row, the first numerical value represents the execution time of 3000ms, the second numerical value represents the acceleration/deceleration time of 50ms, the third numerical value represents the motor movement speed of 100PPS (speed control mode) of the current row, the fourth numerical value represents the acceleration/deceleration time of 90ms, and the fifth numerical value represents the motor movement direction of the current row (1 and 2 represent clockwise and counterclockwise directions, respectively).
The motion text is converted into a motor motion control program, and related motion parameters including acceleration and deceleration and a zone velocity value need to be calculated so as to be used for controlling the motion of the motor.
The movement speed of this line satisfies the following formula:
v0=v1-a0·t0 (5)
v2=v1+a2·t2 (6)
T=t0+t1+t2 (7)
wherein, T is the total execution time of the action, T0 is the front acceleration and deceleration time, T1 bit middle constant speed section time, T2 is the rear acceleration and deceleration time, a0 is the front acceleration and deceleration value, v1 is the middle constant speed section speed value, a2 is the rear acceleration and deceleration value, and the front acceleration and deceleration time and the rear acceleration and deceleration time can both be zero. If the fifth row operation has no speed output, the operation is stopped and waits for 1000 ms.
The motor motion control is realized by writing files on a computer, specifically, motor motion control parameters are written in the files at the computer end, and the parameters contained in the files comprise motor loop voltage, control step subdivision and the cycle number of file actions. The actions in the file are arranged in sequence in action rows, and each action comprises the total movement time T, the front acceleration and deceleration time T0, the speed PPS or the number P of the rotation positions, the rear acceleration and deceleration time T2 and the movement direction of the row. T is more than or equal to T0+ T2, a speed PPS parameter is adopted in the speed control mode, a rotating position number P parameter is adopted in the position control mode, the execution mode of the file action line is shown in figure 3, and the execution action can be stopped only after all actions are executed.
The programmable stepping motor loop tester and the method can be expanded on other types of motor loop testers, and through the programmable mode, a stepping motor manufacturer can write a stepping motor action command conveniently through an intuitive file definition mode, so that the performance and the characteristics of the stepping motor are tested, the investment in the motor loop test process is greatly saved, the personnel management difficulty of a motor production enterprise is reduced, and the production detection efficiency is improved.
Above-mentioned technical scheme has only embodied the utility model discloses technical scheme's preferred technical scheme, some changes that this technical field's technical personnel probably made to some parts wherein have all embodied the utility model discloses a principle belongs to within the protection scope of the utility model.

Claims (5)

1. A programmable stepping motor loop tester comprises a tester body and is characterized in that the tester body comprises a main controller (4) for storing downloaded action files and calculating action control parameters, a motor driver (8) for driving a motor to move, a liquid crystal display (3) for displaying current motor loop voltage, step subdivision and pulse frequency PPS parameters and current control program serial numbers, a key operation panel (6) for inputting the pulse frequency and step subdivision of the motor, a communication board (2) for information communication and a voltage regulator (5) for voltage regulation, wherein a reading module (42) for data reading, a storage module (41) for data storage, a control module (44) for controlling the operation of components, a calculation module (43) for data algorithm calculation and a voltage regulator (5) for detecting the motor loop voltage are arranged in the main controller, step subdivision and pulse frequency PPS parameter's detection module (45), main control unit (4) still are connected with return circuit power supply (7), motor driver (8) are connected with step motor (9).
2. The programmable stepping motor loop tester of claim 1, wherein the liquid crystal display (3), the key operation panel (6) and the voltage regulator (5) are electrically connected with the main controller (4) respectively.
3. The programmable stepping motor loop tester of claim 1, wherein the communication board (2) is externally connected with a computer terminal (1) and is connected with the main controller (4), and the main controller (4) is electrically connected with the motor driver (8).
4. The programmable stepper motor loop tester as claimed in claim 1, wherein the key operation panel (6) is a set of self-recovery keys, and the key operation panel (6) comprises an action execution start and stop button, a step subdivision input button, and a pulse frequency input button.
5. The programmable stepping motor loop tester as claimed in claim 1, wherein the main controller (4) detects the current voltage value on line through the detection module (45) and outputs a voltage control PWM wave after being calculated by the calculation module (43) by adopting a PID algorithm according to the set voltage value, and the loop power supply (7) outputs a power supply voltage according to the received PWM wave.
CN202122183676.7U 2021-09-10 2021-09-10 Programmable stepping motor loop tester Active CN216013596U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202122183676.7U CN216013596U (en) 2021-09-10 2021-09-10 Programmable stepping motor loop tester

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202122183676.7U CN216013596U (en) 2021-09-10 2021-09-10 Programmable stepping motor loop tester

Publications (1)

Publication Number Publication Date
CN216013596U true CN216013596U (en) 2022-03-11

Family

ID=80531207

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202122183676.7U Active CN216013596U (en) 2021-09-10 2021-09-10 Programmable stepping motor loop tester

Country Status (1)

Country Link
CN (1) CN216013596U (en)

Similar Documents

Publication Publication Date Title
US11548024B2 (en) Motion control system of spraying machine based on FPGA and motion control method thereof
US10632615B2 (en) Servo driving method, apparatus, and robot thereof
EP0129017A2 (en) Method and apparatus for modeling systems of complex circuits
CN101493684A (en) Servo dynamic tester and test method thereof
CN101140468A (en) Emulation test method of aerospace optical remote sensing machine focusing control circuit
CN216013596U (en) Programmable stepping motor loop tester
CN103368569A (en) Semiconductor integrated circuit
CN103532550A (en) Current frequency converter test method based on virtual instrument
Shaker et al. Design and implementation of fuzzy logic system for DC motor speed control
CN105446166B (en) Machine tool of numerical control system environmental simulation instrument
CN113740730A (en) Programmable stepping motor loop tester and testing method
CN216287519U (en) Drive chip test circuit and system
CN110045681B (en) External compensation method for numerical control machine tool position-related errors based on position prediction
CN109150037B (en) Miniature two-phase stepping motor driving device
US8011021B2 (en) Correlation of data of a control and/or data transmission system and of a system model representing it
CN107340403B (en) Method and device for controlling rotation speed of electric calibration turntable and measuring tool face angle
Ruifeng et al. Stepper Motor Control Based on AT89S51 Microcontroller
CN108181834B (en) Semi-physical simulation method and system based on PSCAD/EMTDC
CN102799192A (en) Nonlinear disturbance simulation and detection control system for astronomical telescope
CN103676893A (en) Testing machine measurement and control system
CN212305520U (en) Camera reliability testing device
Xuewu et al. Design and implementation of data acquisition system based on Agilent 3458A
CN102739163B (en) Modulator control and feedback system used in infrared radiation spectrum measurement
Czebe et al. Usage of single-chip computers for data collection and control
Jian et al. Semi-physical Simulation Operation Monitoring System of Synchronous Generator Based on DSP and LabVIEW

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant