A method and system for controlling the movement of transport racks
Through the combination of stepper motors and high-speed optocouplers, combined with photoelectric sensors, the movement of the shelves in the vending machine can be precisely controlled, solving the problem of low positioning accuracy of DC brush motors and achieving high-accuracy movement control of the shelves.
Patent Information
- Application Number
- CN201711451385.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2017-12-27
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2037-12-27
AI Technical Summary
The DC brush motor in the existing vending machine has low positioning accuracy and complicated control in the movement control of the transport shelf, resulting in low accuracy of the control process.
Using a stepper motor and a high-speed optical coupler, by obtaining the first step of the designated cargo lane, the stepper motor is driven to accelerate and rotate at a constant speed, and combined with the signal from the photoelectric sensor, it accurately controls the movement of the transport shelf to the designated position, improving control accuracy.
The accuracy and stability of the movement control of the transport rack are improved, the influence of inertia is reduced, and the reliability of the movement process is enhanced.
Smart Images

Figure CN107967752B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of automatic vending machines, and in particular to a transport rack movement control method and a transport rack movement control system. Background Art
[0002] At present, the vending machines with transport racks on the market need to control the movement of the transport racks to drive the goods to the designated location when shipping. Most of the motors that control the movement of the transport racks use DC brushed motors.
[0003] However, the DC brush motor needs to calculate the distance through the data measured by the encoder during the positioning process, and the encoder has low positioning accuracy and slow positioning. In addition, the algorithm for motion control of the DC brush motor based on the data collected by the encoder is complex and prone to errors, resulting in low accuracy in the control process of the DC brush motor to control the movement of the transport rack. Summary of the invention
[0004] Based on this, it is necessary to provide a method and system for controlling the movement of a transport rack to address the problem of low accuracy in the control process of the transport rack movement.
[0005] A method for controlling the movement of a transport rack comprises the following steps:
[0006] Obtain the first step number according to the designated aisle, wherein the designated aisle is the aisle where the goods are located, and the first step number is the number of steps that the stepper motor needs to rotate when the transport rack reaches the designated aisle from the first limit point, and the first limit point is a reference point for positioning the transport rack;
[0007] Drive the stepper motor to rotate and drive the transport rack to move to the first limit point;
[0008] When it is detected that the transport rack moves to the first limit point, the stepper motor is driven to rotate the first step.
[0009] The above-mentioned transport rack movement control method obtains the first step number according to the designated cargo aisle. When detecting that the transport rack moves to the first limit point, the stepper motor is driven to rotate the first step number. The stepper motor rotates the accurate first step number and drives the transport rack to move to the designated cargo aisle. The control process of the moving transport rack is highly accurate.
[0010] In one embodiment, the step of driving the stepper motor to rotate and drive the transport rack to move to the first limit point includes the following steps:
[0011] Drive the stepper motor to accelerate and reach a predetermined speed;
[0012] After the stepper motor reaches a predetermined speed, the stepper motor is driven to rotate at a constant speed at the predetermined speed, driving the transport rack to move to the first limit point.
[0013] In one embodiment, the step of driving the stepper motor to accelerate and reach a predetermined speed comprises the following steps:
[0014] A pulse width modulation signal with a gradually increasing frequency is input to a stepper motor control chip through a high-speed optical coupler, so that the stepper motor accelerates rotation, wherein the stepper motor control chip is used to drive the stepper motor to rotate;
[0015] The step of driving the stepper motor to rotate at a constant speed at a predetermined speed to drive the transport rack to move to the first limit point includes the following steps:
[0016] A pulse width modulation signal of a predetermined frequency is input into the stepper motor control chip through a high-speed optical coupler, so that the stepper motor rotates at a constant speed at a predetermined speed, driving the transport rack to move to the first limit point.
[0017] In one embodiment, the step of driving the stepper motor to rotate the first step comprises the following steps:
[0018] Obtain the second step number and the third step number according to the first step number, wherein the sum of the second step number and the third step number is equal to the first step number;
[0019] When the transport rack moves to the first limit point, the stepper motor is driven to rotate at a constant speed for a second number of steps at a predetermined speed;
[0020] After the stepper motor rotates the second number of steps, the stepper motor is driven to decelerate and rotate the third number of steps.
[0021] In one embodiment, the step of driving the stepper motor to rotate a second number of steps at a predetermined speed at a uniform speed comprises the following steps:
[0022] Inputting a pulse width modulation signal of a predetermined frequency into the stepper motor control chip through a high-speed optical coupler, so that the stepper motor rotates at a constant speed for a second number of steps at a predetermined speed;
[0023] The step of driving the stepper motor to decelerate and rotate a third number of steps comprises the following steps:
[0024] A pulse width modulation signal with a gradually decreasing frequency is input to the stepper motor control chip through a high-speed optical coupler, causing the stepper motor to decelerate and rotate for a third step.
[0025] In one embodiment, when it is detected that the transport rack moves to the first limit point, the step of driving the stepper motor to rotate the first step comprises the following steps:
[0026] When the transport rack passes through the first limit point, a first sensing signal generated by a first photoelectric sensor installed at the first limit point is received through a first optical coupler;
[0027] The stepping motor is driven to rotate the first step according to the first sensing signal.
[0028] In one embodiment, the following steps are also included:
[0029] When it is detected that the transport rack moves to the second limit point, the rotation of the stepper motor is stopped, wherein the second limit point is located at the limit position of the movable range of the transport rack.
[0030] In one embodiment, before the step of driving the stepper motor to rotate and drive the transport rack to move to the first limit point, the following steps are also included:
[0031] When the stepper motor starts to rotate, the number of steps of the stepper motor is counted;
[0032] After the transport rack moves to the first limit point, the counting is stopped to obtain the fourth step number;
[0033] When the fourth step number exceeds the first preset step number range, a fault alarm is issued.
[0034] In one embodiment, after the step of driving the stepping motor to rotate the first number of steps, the following steps are also included:
[0035] The stepper motor is driven to rotate in the reverse direction, and the number of steps of the stepper motor is counted when the stepper motor starts to rotate in the reverse direction;
[0036] After the transport rack moves to the first limit point, stop counting and obtain the fifth step number;
[0037] When the fifth step number exceeds the second preset step number range, a fault alarm is issued.
[0038] A transport rack mobile control system includes the following modules:
[0039] A step number acquisition module is used to acquire the first step number according to the designated aisle, wherein the designated aisle is the aisle where the goods are located, and the first step number is the number of steps that the stepper motor needs to rotate when the transport rack reaches the designated aisle from the first limit point, and the first limit point is a reference point for positioning the transport rack;
[0040] The first driving module is used to drive the stepping motor to rotate and drive the transport rack to move to the first limit point;
[0041] The second driving module is used to drive the stepping motor to rotate the first step when it is detected that the transport rack moves to the first limit point.
[0042] The above-mentioned transport rack movement control system obtains the first step number according to the designated cargo aisle, and when detecting that the transport rack has moved to the first limit point, drives the stepper motor to rotate the first step number. The stepper motor rotates the accurate first step number and drives the transport rack to move to the designated cargo aisle. The control process of the mobile transport rack has high accuracy.
[0043] A computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the above-mentioned method for controlling the movement of a transport rack is implemented.
[0044] A computer storage medium stores a computer program, which, when executed by a processor, implements the above-mentioned method for controlling the movement of a transport rack. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 A flowchart of a method for controlling the movement of a transport rack according to one embodiment;
[0046] Figure 2 This is a schematic diagram of the structure of a transport rack mobile control system according to one embodiment;
[0047] Figure 3 The figure is a flow chart of a method for controlling the movement of a transport rack according to a specific embodiment. DETAILED DESCRIPTION
[0048] To facilitate understanding of the present invention, the present invention will be described more fully below with reference to the relevant drawings.
[0049] See also Figure 1 , Figure 1 This is a flow chart of a method for controlling the movement of a transport rack according to one embodiment of the present invention. The method for controlling the movement of a transport rack according to this embodiment includes the following steps:
[0050] Step S110: Obtain the first step number according to the designated aisle, wherein the designated aisle is the aisle where the goods are located, the first step number is the number of steps that the stepper motor needs to rotate when the transport rack reaches the designated aisle from the first limit point, and the first limit point is a reference point for positioning the transport rack.
[0051] The designated cargo aisle is the cargo aisle where the goods are located. The first step number is the number of steps that the stepper motor needs to rotate when the transport rack reaches the designated cargo aisle from the first limit point. The first limit point is a reference point for positioning the transport rack.
[0052] In this step, according to the designated aisle that the transport rack needs to reach, the number of steps that the stepper motor needs to rotate when the transport rack reaches the designated aisle from the first limit point is obtained, that is, the first step number.
[0053] The first step number can be obtained from the lookup table according to the designated aisle. In addition, since the distance the transport rack moves is fixed for each step of the stepper motor, the first step number can also be calculated according to the distance between the first limit point and the designated aisle.
[0054] Step S120: driving the stepper motor to rotate and drive the transport rack to move to the first limit point.
[0055] In this step, the stepper motor is driven to rotate, and the stepper motor drives the transport rack to move while rotating, and the stepper motor continues to rotate until the transport rack moves to the first limit point.
[0056] Step S130: When it is detected that the transport rack moves to the first limit point, the stepping motor is driven to rotate the first step.
[0057] In this step, when it is detected that the transport rack moves to the first limit point, the stepper motor is driven to rotate the first step. At this time, the stepper motor rotates the first step, and the stepper motor drives the transport rack to move from the first limit point to the designated cargo channel.
[0058] The above-mentioned transport rack movement control method obtains the first step number according to the designated cargo aisle. When detecting that the transport rack moves to the first limit point, the stepper motor is driven to rotate the first step number. The stepper motor rotates the accurate first step number and drives the transport rack to move to the designated cargo aisle. The control process of the moving transport rack is highly accurate.
[0059] In one embodiment, the step of driving the stepper motor to rotate and drive the transport rack to move to the first limit point includes the following steps:
[0060] The stepper motor is driven to accelerate and reach a predetermined speed; after the stepper motor reaches the predetermined speed, the stepper motor is driven to rotate at a constant speed at the predetermined speed, so as to drive the transport rack to move to the first limit point.
[0061] The stepper motor is driven to accelerate and reach a predetermined speed, and the stepper motor also drives the transport rack to accelerate and move at a predetermined speed. After the rotation speed of the stepper motor reaches the predetermined speed, the stepper motor is driven to rotate at a constant speed at the predetermined speed, and the stepper motor drives the transport rack to move at a constant speed and move to the first limit point.
[0062] The above-mentioned transport rack movement control method controls the stepper motor to accelerate and rotate to a predetermined speed and maintain a constant speed after reaching the predetermined speed, drives the transport rack to accelerate and move to a predetermined speed and maintain a constant speed after reaching the predetermined speed to move to the first limit point, which can stably control the movement of the transport rack and reduce the influence of inertia on the transport rack.
[0063] In one embodiment, the step of driving the stepper motor to accelerate and reach a predetermined speed comprises the following steps:
[0064] A pulse width modulation signal with a gradually increasing frequency is input to a stepper motor control chip through a high-speed optical coupler, so that the stepper motor accelerates rotation, wherein the stepper motor control chip is used to drive the stepper motor to rotate;
[0065] The step of driving the stepper motor to rotate at a constant speed at a predetermined speed to drive the transport rack to move to the first limit point includes the following steps:
[0066] A pulse width modulation signal of a predetermined frequency is input into the stepper motor control chip through a high-speed optical coupler, so that the stepper motor rotates at a constant speed at a predetermined speed, driving the transport rack to move to the first limit point.
[0067] Since the rotation speed of the stepper motor is related to the frequency of the pulse width modulation signal input to the stepper motor control chip, when the frequency of the input pulse width modulation signal increases, the rotation speed of the stepper motor increases. Therefore, by inputting a pulse width modulation signal with a gradually increasing frequency to the stepper motor control chip, the stepper motor is accelerated.
[0068] By inputting a pulse width modulation signal of a predetermined frequency corresponding to a predetermined speed into the stepper motor control chip, the stepper motor rotates at a constant speed at the predetermined speed, and drives the transport rack to move at a constant speed to the first limit point at the predetermined speed.
[0069] In addition, the high-speed optical coupler belongs to the existing optical coupler device. The high-speed optical coupler has the characteristics of high conversion rate and low transmission delay. Therefore, the high-speed optical coupler has a good effect in transmitting pulse signals and improves the stability of pulse signals during transmission. Therefore, by inputting the pulse width modulation signal to the stepper motor control chip through the high-speed optical coupler, the stability of the input pulse width modulation signal can be improved, and the accuracy of the transport rack movement control process can be further improved.
[0070] The above-mentioned transport rack movement control method inputs a pulse width modulation signal of a certain frequency into the stepper motor control chip through a high-speed optical coupler to control the rotation speed of the stepper motor and the movement speed of the transport rack. At the same time, the high-speed optical coupler improves the stability of the pulse width modulation signal during the transmission process, thereby improving the accuracy of the transport rack movement control process.
[0071] In one embodiment, the step of driving the stepper motor to rotate the first step comprises the following steps:
[0072] The second and third steps are obtained according to the first step, wherein the sum of the second and third steps is equal to the first step; when the transport rack moves to the first limit point, the stepper motor is driven to rotate uniformly at a predetermined speed for the second step; after the stepper motor rotates the second step, the stepper motor is driven to decelerate and rotate the third step.
[0073] The sum of the second and third steps is equal to the first step, so after the stepper motor rotates the second and third steps, the stepper motor completes the first step. When the transport rack moves to the first limit point, the stepper motor is driven to rotate the second step at a predetermined speed, driving the transport rack to move at a uniform speed. After the stepper motor rotates the second step, the stepper motor is driven to decelerate and rotate the third step, driving the transport rack to decelerate and move to the designated aisle.
[0074] The above-mentioned method for controlling the movement of the transport rack controls the stepper motor to rotate at a uniform speed when the transport rack moves to the first limit point, and controls the stepper motor to decelerate before the transport rack reaches the designated cargo aisle, so that the transport rack first maintains a uniform speed when moving from the first limit point to the designated cargo aisle, and then decelerates to move to the designated cargo aisle. This can stably control the movement of the transport rack and reduce the impact of inertia on the transport rack.
[0075] In one embodiment, the step of driving the stepper motor to rotate a second number of steps at a predetermined speed at a uniform speed comprises the following steps:
[0076] Inputting a pulse width modulation signal of a predetermined frequency into the stepper motor control chip through a high-speed optical coupler, so that the stepper motor rotates at a constant speed for a second number of steps at a predetermined speed;
[0077] The step of driving the stepper motor to decelerate and rotate a third number of steps comprises the following steps:
[0078] A pulse width modulation signal with a gradually decreasing frequency is input to the stepper motor control chip through a high-speed optical coupler, causing the stepper motor to decelerate and rotate for a third step.
[0079] Since the rotation speed of the stepper motor is related to the frequency of the pulse width modulation signal input to the stepper motor control chip, when the frequency of the input pulse width modulation signal remains unchanged, the rotation speed of the stepper motor remains constant, and when the frequency of the input pulse width modulation signal decreases, the rotation speed of the stepper motor slows down. Therefore, by inputting a pulse width modulation signal of a predetermined frequency to the stepper motor control chip, the stepper motor rotates at a constant speed at a predetermined speed, driving the transport rack to move at a constant speed, and by inputting a pulse width modulation signal of a gradually decreasing frequency to the stepper motor control chip, the stepper motor rotates at a reduced speed, driving the transport rack to move at a reduced speed.
[0080] The above-mentioned transport rack movement control method inputs a pulse width modulation signal of a certain frequency into the stepper motor control chip through a high-speed optical coupler to control the rotation speed of the stepper motor and the movement speed of the transport rack. At the same time, the high-speed optical coupler improves the stability of the pulse width modulation signal during the transmission process, thereby improving the accuracy of the transport rack movement control process.
[0081] In one embodiment, when it is detected that the transport rack moves to the first limit point, the step of driving the stepper motor to rotate the first step comprises the following steps:
[0082] When the transport rack passes through the first limit point, a first sensing signal generated by a first photoelectric sensor installed at the first limit point is received through a first optical coupler; and the stepping motor is driven to rotate the first step according to the first sensing signal.
[0083] When the transport rack passes through the first limit point, the first photoelectric sensor installed at the first limit point generates a first sensing signal, which is received by the first optical coupler, and the stepper motor is driven to rotate the first step according to the first sensing signal.
[0084] In the above-mentioned method for controlling the movement of the transport rack, the first photoelectric sensor generates a first sensing signal when the transport rack passes through the first limit point, and the photoelectric sensor is used to detect that the transport rack has reached the first limit point, so the accuracy of positioning the transport rack at the first limit point is high. In addition, the first sensing signal is received by the first optical coupler, and the stability of the transmission of the first sensing signal is improved by the optical coupler, thereby improving the accuracy of the control process of the movement of the transport rack.
[0085] In one of the embodiments, the method further includes the following steps: when it is detected that the transport rack moves to a second limit point, the stepper motor stops rotating, wherein the second limit point is located at an extreme position of a movable range of the transport rack.
[0086] In order to prevent the transport rack from moving outside the movable range, the transport rack can be detected at a second limit point located at the extreme position of the movable range of the transport rack. When it is detected that the transport rack has moved to the second limit point, the stepper motor is stopped to prevent the transport rack from moving outside the movable range.
[0087] The above-mentioned transport rack movement control method stops the rotation of the stepper motor when detecting that the transport rack moves to the second limit point, thereby preventing the transport rack from moving outside the movable range, thereby reducing the occurrence of malfunctions in the transport rack movement control process.
[0088] In one embodiment, before the step of driving the stepper motor to rotate and drive the transport rack to move to the first limit point, the following steps are also included:
[0089] When the stepper motor starts to rotate, the number of steps of the stepper motor is counted; after the transport rack moves to the first limit point, the counting is stopped to obtain the fourth step number; when the fourth step number exceeds the first preset step number range, a fault alarm is issued.
[0090] In the process of moving from the transport rack to the first limit point, the stepper motor rotates a fourth step, and when the fourth step exceeds the first preset step range, a fault alarm is issued.
[0091] For example, in the process from when the transport rack starts to move to when the transport rack moves to the first limit point, if the number of steps of the stepper motor is greater than 120% of the standard number of steps, or less than 80% of the standard number of steps, a fault alarm is issued.
[0092] The above-mentioned transport rack movement control method can monitor the working status of the stepper motor and issue a fault alarm based on the monitored fault, thereby reminding the maintenance of the stepper motor by obtaining the fourth step number of the stepper motor and issuing a fault alarm when the fourth step number exceeds the first preset step number range.
[0093] In one embodiment, after the step of driving the stepping motor to rotate the first number of steps, the following steps are also included:
[0094] The stepper motor is driven to rotate in the reverse direction, and when the stepper motor starts to rotate in the reverse direction, the number of steps of the stepper motor is counted; the counting is stopped after the transport rack moves to the first limit point, and the fifth step number is obtained; when the fifth step number exceeds the second preset step number range, a fault alarm is issued.
[0095] The stepper motor is driven to rotate in the reverse direction to drive the transport rack to return to the first limit point. During the process of the transport rack moving from the designated cargo channel to the first limit point, the stepper motor rotates the fifth step. When the fifth step exceeds the second preset step range, a fault alarm is issued.
[0096] For example, when the transport rack moves from the designated cargo aisle to the first limit point, if the number of steps of the stepper motor is greater than 106% of the first step, or less than 94% of the first step, a fault alarm is issued.
[0097] The above-mentioned transport rack movement control method can monitor the working status of the stepper motor and issue a fault alarm based on the monitored fault, thereby reminding the maintenance of the stepper motor by obtaining the fifth step number of the stepper motor and issuing a fault alarm when the fifth step number exceeds the second preset step number range.
[0098] According to the above-mentioned transport rack movement control method, the present invention further provides a transport rack movement control system. The embodiment of the transport rack movement control system of the present invention is described in detail below.
[0099] See also Figure 2 , Figure 2 This is a schematic diagram of the structure of a transport rack mobile control system according to one embodiment of the present invention. The transport rack mobile control system in this embodiment includes the following modules:
[0100] The step number acquisition module 210 is used to obtain the first step number according to the designated aisle, wherein the designated aisle is the aisle where the goods are located, and the first step number is the number of steps that the stepper motor needs to rotate when the transport rack reaches the designated aisle from the first limit point, and the first limit point is the reference point for positioning the transport rack.
[0101] The step number acquisition module 210 can obtain the first step number from the lookup table according to the designated aisle. In addition, since the distance the transport rack moves is fixed for each step of the stepping motor, the first step number can also be calculated based on the distance between the first limit point and the designated aisle.
[0102] The first driving module 220 is used to drive the stepping motor to rotate and drive the transport rack to move to the first limit point.
[0103] The first driving module 220 drives the stepper motor to rotate. The stepper motor drives the transport rack to move while rotating. The stepper motor continues to rotate until the transport rack moves to the first limit point.
[0104] The second driving module 230 is used to drive the stepping motor to rotate the first step when it is detected that the transport rack moves to the first limit point.
[0105] When the second driving module 230 detects that the transport rack moves to the first limit point, it drives the stepper motor to rotate the first step. At this time, the stepper motor rotates the first step, and the stepper motor drives the transport rack to move from the first limit point to the designated cargo channel.
[0106] In the above-mentioned transport rack movement control system, the step acquisition module 210 obtains the first step number according to the designated cargo aisle. When the second drive module 230 detects that the transport rack has moved to the first limit point, it drives the stepper motor to rotate the first step number. The stepper motor rotates the accurate first step number and drives the transport rack to move to the designated cargo aisle. The control process of the mobile transport rack has high accuracy.
[0107] In one embodiment, the second driving module 230 is used to drive the stepper motor to accelerate and reach a predetermined speed. After the stepper motor reaches the predetermined speed, the stepper motor is driven to rotate at a constant speed at the predetermined speed to drive the transport rack to move to the first limit point.
[0108] In the above-mentioned transport rack movement control system, the second drive module 230 controls the stepper motor to accelerate and rotate to a predetermined speed and maintain a constant speed after reaching the predetermined speed, thereby driving the transport rack to accelerate and move to a predetermined speed and maintain a constant speed after reaching the predetermined speed to move to the first limit point, thereby stably controlling the movement of the transport rack and reducing the influence of inertia on the transport rack.
[0109] In one embodiment, the first driving module 220 is used to input a pulse width modulation signal with a gradually increasing frequency to the stepper motor control chip through a high-speed optical coupler, so that the stepper motor accelerates rotation, wherein the stepper motor control chip is used to drive the stepper motor to rotate, and a pulse width modulation signal of a predetermined frequency is input to the stepper motor control chip through the high-speed optical coupler, so that the stepper motor rotates at a constant speed at a predetermined speed, driving the transport shelf to move to the first limit point.
[0110] In the above-mentioned transport rack movement control system, the first driving module 220 inputs a pulse width modulation signal of a certain frequency to the stepper motor control chip through a high-speed optical coupler to control the rotation speed of the stepper motor and the movement speed of the transport rack. At the same time, the high-speed optical coupler improves the stability of the pulse width modulation signal during the transmission process, thereby improving the accuracy of the transport rack movement control process.
[0111] In one embodiment, the second driving module 230 is used to obtain the second step number and the third step number based on the first step number, wherein the sum of the second step number and the third step number is equal to the first step number, and when the transport shelf moves to the first limit point, the stepper motor is driven to rotate the second step number at a constant speed at a predetermined speed, and after the stepper motor rotates the second step number, the stepper motor is driven to decelerate and rotate the third step number.
[0112] In the above-mentioned transport rack movement control system, the second drive module 230 controls the stepper motor to rotate at a constant speed when the transport rack moves to the first limit point, and controls the stepper motor to decelerate before the transport rack reaches the designated cargo aisle, so that the transport rack first maintains a constant speed when moving from the first limit point to the designated cargo aisle, and then decelerates to move to the designated cargo aisle. This can stably control the movement of the transport rack and reduce the impact of inertia on the transport rack.
[0113] In one embodiment, the second driving module 230 is used to input a pulse width modulation signal of a predetermined frequency to the stepper motor control chip through a high-speed optical coupler, so that the stepper motor rotates at a constant speed for a second number of steps at a predetermined speed, and input a pulse width modulation signal of a gradually decreasing frequency to the stepper motor control chip through a high-speed optical coupler, so that the stepper motor decelerates and rotates for a third number of steps.
[0114] In the above-mentioned transport rack movement control system, the second driving module 230 inputs a pulse width modulation signal of a certain frequency to the stepper motor control chip through a high-speed optical coupler to control the rotation speed of the stepper motor and the movement speed of the transport rack. At the same time, the high-speed optical coupler improves the stability of the pulse width modulation signal during the transmission process, thereby improving the accuracy of the transport rack movement control process.
[0115] In one embodiment, the second driving module 230 is used to receive a first sensing signal generated by a first photoelectric sensor installed at the first limit point through a first optical coupler when the transport rack passes through the first limit point, and drive the stepper motor to rotate the first step according to the first sensing signal.
[0116] In the above-mentioned transport rack movement control system, the second driving module 230 generates a first sensing signal by the first photoelectric sensor when the transport rack passes through the first limit point, and detects the arrival of the transport rack at the first limit point through the photoelectric sensor, so as to accurately position the transport rack at the first limit point. In addition, the first sensing signal is received by the first optical coupler, and the stability of the transmission of the first sensing signal is improved by the optical coupler, thereby improving the accuracy of the transport rack movement control process.
[0117] In one embodiment, the second driving module 230 is further used to stop the rotation of the stepper motor when it is detected that the transport rack moves to a second limit point, wherein the second limit point is located at the limit position of the movable range of the transport rack.
[0118] In the above-mentioned transport rack movement control system, the second driving module 230 stops the rotation of the stepper motor when detecting that the transport rack moves to the second limit point, thereby preventing the transport rack from moving out of the movable range, thereby reducing the occurrence of malfunctions in the transport rack movement control process.
[0119] In one embodiment, the first driving module 220 is also used to count the number of steps of the stepper motor when the stepper motor starts to rotate, stop counting after the transport rack moves to the first limit point, obtain the fourth step number, and issue a fault alarm when the fourth step number exceeds the first preset step number range.
[0120] In the above-mentioned transport rack movement control system, the first driving module 220 can monitor the working status of the stepper motor and issue a fault alarm based on the monitored fault, thereby reminding the maintenance of the stepper motor by obtaining the fourth step number of the stepper motor and issuing a fault alarm when the fourth step number exceeds the first preset step number range.
[0121] In one embodiment, the second driving module 230 is also used to drive the stepper motor to rotate in the reverse direction, and count the number of steps of the stepper motor when the stepper motor starts to rotate in the reverse direction, stop counting after the transport rack moves to the first limit point, obtain the fifth step, and issue a fault alarm when the fifth step exceeds the second preset step range.
[0122] In the above-mentioned transport rack movement control system, the second drive module 230 can monitor the working status of the stepper motor and issue a fault alarm based on the monitored fault, thereby reminding the maintenance of the stepper motor by obtaining the fifth step number of the stepper motor and issuing a fault alarm when the fifth step number exceeds the second preset step number range.
[0123] See also Figure 3 , Figure 3 This is a flow chart of a method for controlling the movement of a transport rack according to a specific embodiment of the present invention.
[0124] Before going up to pick up the goods, the transport rack is located at the bottom of the mobile control device.
[0125] The method for controlling the movement of the transport rack in this embodiment includes the following steps:
[0126] The first step number saved in advance is obtained according to the designated aisle, wherein the first step number is the number of steps that the stepper motor needs to rotate when the transport shelf reaches the designated aisle from the first limit point.
[0127] Drive the stepper motor to rotate. Input a level signal to make the stepper motor rotate in the forward direction to the stepper motor control chip through the optical coupler, and input a pulse width modulation signal to the stepper motor control chip through the optical coupler to drive the stepper motor to rotate according to the number of pulses of the pulse width modulation signal, driving the transport rack to move upward. The input pulse width modulation signal is gradually increased from low frequency to high frequency to realize the motor acceleration process, so that the transport rack moves smoothly and steadily. After reaching the predetermined speed, a constant frequency pulse width modulation signal is input, the stepper motor stops accelerating, and the transport rack moves upward at a uniform speed.
[0128] Drive the stepper motor to rotate the first step. When the basket passes the first limit point, the first photoelectric sensor is blocked by the baffle on the transport rack, receives the first sensing signal output by the first sensor through the optical coupler, and starts counting the number of rotation steps of the stepper motor. When the counted number of rotation steps is close to the first number, the frequency of the input pulse width modulation signal begins to be reduced, driving the stepper motor to decelerate. When the counted number of rotation steps is equal to the first number, the stepper motor is driven to stop rotating, and the transport rack reaches the designated cargo lane.
[0129] After waiting for the goods to be shipped in the designated cargo channel, the stepper motor is driven to rotate in the reverse direction. The stepper motor rotates in the reverse direction, driving the transport rack downward and driving the transport rack to move to the bottom of the mobile control device.
[0130] In addition, during the upward movement of the transport rack, the number of steps from the bottom to the first limit point is allowed to have a 20% error, that is, when the number of steps is greater than 120% of the preset number of steps and the transport rack has not risen to the first limit point, the transport rack may be stuck, and a fault alarm is issued, or when the number of steps is less than 80% of the preset number of steps, the transport rack rises to the first limit point, and the transport rack may not be at the bottom of the mobile control device before picking up the goods, and a fault alarm is issued. During the downward movement of the transport rack, during the movement of the transport rack from the designated cargo lane to the first limit point, the number of steps rotated by the stepper motor is allowed to have a 6% error, that is, when the number of steps rotated by the stepper motor during the movement of the transport rack from the designated cargo lane to the first limit point is greater than 106% of the first number of steps, the transport rack has not descended to the first limit point, and the transport rack may be stuck, and a fault alarm is issued, or when the number of steps rotated by the stepper motor is less than 94% of the first number of steps, the transport rack moves to the first limit point, and the transport rack may be stuck and does not reach the designated cargo lane, and a fault alarm is issued.
[0131] In one embodiment, a computer device is also provided, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, any one of the methods for controlling the movement of a transport rack in the above embodiments is implemented.
[0132] When the processor of the computer device executes the program, it can obtain the first step number according to the designated aisle by implementing any one of the transport rack movement control methods in the above-mentioned embodiments. When it is detected that the transport rack moves to the first limit point, the stepper motor is driven to rotate the first step number. The stepper motor rotates the accurate first step number and drives the transport rack to move to the designated aisle. The control process of moving the transport rack is highly accurate.
[0133] In addition, a person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be implemented by instructing related hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium. For example, in the embodiment of the present invention, the program can be stored in a storage medium of a computer system and executed by at least one processor in the computer system to implement the processes including the embodiments of the above-mentioned rack movement control methods.
[0134] In one embodiment, a storage medium is further provided, on which a computer program is stored, wherein when the program is executed by a processor, any one of the above-mentioned rack movement control methods is implemented. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM).
[0135] The computer storage medium and the computer program stored therein can obtain the first step number according to the designated aisle by implementing the process of the embodiments of the transport rack movement control method as described above, and when detecting that the transport rack has moved to the first limit point, drive the stepper motor to rotate the first step number. The stepper motor rotates the accurate first step number and drives the transport rack to move to the designated aisle, and the control process of moving the transport rack is highly accurate.
[0136] The transport rack movement control system of the present invention corresponds one to one with the transport rack movement control method of the present invention. The technical features and beneficial effects described in the embodiment of the transport rack movement control method are applicable to the embodiment of the transport rack movement control system, which is hereby declared.
[0137] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0138] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0139] The above-mentioned embodiments only express several implementation methods of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.
Claims
1. A method for controlling the movement of a transport rack, characterized in that: The following steps are involved: Obtaining the first step number according to the designated cargo aisle, wherein the designated cargo aisle is the cargo aisle where the goods are located, and the first step number is the number of steps that the stepper motor needs to rotate when the transport rack reaches the designated cargo aisle from the first limit point, and the first limit point is a reference point for positioning the transport rack; Driving the stepper motor to rotate and drive the transport rack to move to the first limit point; When it is detected that the transport rack moves to the first limit point, driving the stepping motor to rotate the first step; The step of driving the stepper motor to rotate and drive the transport rack to move to the first limit point includes the following steps: Driving the stepper motor to accelerate and rotate to a predetermined speed; After the stepper motor reaches the predetermined speed, the stepper motor is driven to rotate at a constant speed at the predetermined speed, so as to drive the transport rack to move to the first limit point; The step of driving the stepping motor to rotate the first step comprises the following steps: Acquire a second number of steps and a third number of steps according to the first number of steps, wherein the sum of the second number of steps and the third number of steps is equal to the first number of steps; When the transport rack moves to the first limit point, driving the stepping motor to rotate the second number of steps at a uniform speed at the predetermined speed; After the stepper motor rotates the second number of steps, the stepper motor is driven to decelerate and rotate the third number of steps.
2. The method for controlling the movement of a transport rack according to claim 1, characterized in that: The step of driving the stepper motor to accelerate and rotate to a predetermined speed comprises the following steps: Inputting a pulse width modulation signal with a gradually increasing frequency into a stepper motor control chip through a high-speed optical coupler, so that the stepper motor accelerates rotation, wherein the stepper motor control chip is used to drive the stepper motor to rotate; The step of driving the stepper motor to rotate at a constant speed at the predetermined speed to drive the transport rack to move to the first limit point includes the following steps: A pulse width modulation signal of a predetermined frequency is input to the stepper motor control chip through the high-speed optical coupler, so that the stepper motor rotates at a constant speed at the predetermined speed, driving the transport rack to move to the first limit point.
3. The method for controlling the movement of a transport rack according to claim 1, characterized in that: The step of driving the stepping motor to rotate the second number of steps at a uniform speed at the predetermined speed comprises the following steps: Inputting a pulse width modulation signal of a predetermined frequency into the stepper motor control chip through a high-speed optical coupler, so that the stepper motor rotates at a uniform speed for a second number of steps at the predetermined speed; The step of driving the stepping motor to decelerate and rotate the third number of steps comprises the following steps: A pulse width modulation signal with a gradually decreasing frequency is input to the stepper motor control chip through the high-speed optical coupler, so that the stepper motor decelerates and rotates the third number of steps.
4. The method for controlling the movement of a transport rack according to claim 1, characterized in that: The step of driving the stepping motor to rotate the first step when detecting that the transport rack moves to the first limit point comprises the following steps: When the transport rack passes through the first limit point, a first sensing signal generated by a first photoelectric sensor installed at the first limit point is received through a first optical coupler; The stepping motor is driven to rotate a first step according to the first sensing signal.
5. The method for controlling the movement of a transport rack according to claim 1, characterized in that: The following steps are also included: When it is detected that the transport rack moves to a second limit point, the rotation of the stepper motor is stopped, wherein the second limit point is located at the limit position of the movable range of the transport rack.
6. The method for controlling the movement of a transport rack according to claim 1, characterized in that: Before the step of driving the stepper motor to rotate and drive the transport rack to move to the first limit point, the following steps are also included: When the stepper motor starts to rotate, the number of steps of the stepper motor is counted; After the transport rack moves to the first limit point, stop counting to obtain a fourth step number; When the fourth step number exceeds the first preset step number range, a fault alarm is issued.
7. The method for controlling the movement of a transport rack according to claim 1, characterized in that: After the step of driving the stepping motor to rotate the first step, the following steps are also included: driving the stepper motor to rotate in the reverse direction, and counting the number of steps of the stepper motor from the time when the stepper motor starts to rotate in the reverse direction; After the transport rack moves to the first limit point, stop counting to obtain a fifth step number; When the fifth step number exceeds the second preset step number range, a fault alarm is issued.
8. A transport rack mobile control system, characterized in that: Includes the following modules: A step number acquisition module, used to acquire a first step number according to a designated cargo aisle, wherein the designated cargo aisle is the cargo aisle where the goods are located, and the first step number is the number of steps that the stepper motor needs to rotate when the transport rack reaches the designated cargo aisle from a first limit point, and the first limit point is a reference point for positioning the transport rack; A first driving module, used for driving the stepping motor to rotate and drive the transport rack to move to the first limit point; A second driving module is used to drive the stepping motor to rotate the first step when detecting that the transport rack moves to the first limit point; The first driving module is used for: Driving the stepper motor to accelerate and rotate to a predetermined speed; After the stepper motor reaches the predetermined speed, the stepper motor is driven to rotate at a constant speed at the predetermined speed, so as to drive the transport rack to move to the first limit point; The second driving module is used for: Acquire a second number of steps and a third number of steps according to the first number of steps, wherein the sum of the second number of steps and the third number of steps is equal to the first number of steps; When the transport rack moves to the first limit point, driving the stepping motor to rotate the second number of steps at a uniform speed at the predetermined speed; After the stepper motor rotates the second number of steps, the stepper motor is driven to decelerate and rotate the third number of steps.
9. The transport rack movement control system according to claim 8, characterized in that: The first driving module is used to input a pulse width modulation signal with a gradually increasing frequency to the stepper motor control chip through a high-speed optical coupler, so that the stepper motor accelerates rotation, wherein the stepper motor control chip is used to drive the stepper motor to rotate.
10. The transport rack movement control system according to claim 8, characterized in that: The second driving module inputs a pulse width modulation signal of a predetermined frequency to the stepper motor control chip through a high-speed optical coupler, so that the stepper motor rotates uniformly at the predetermined speed for a second number of steps.
