Stereoscopic car park simulation operation control method and system

By dynamically adjusting the pulse signal transmission speed and calculating the movement distance error, the three-dimensional garage simulation operation control method solves the interference problem caused by vehicle positioning error in the existing technology, and improves the safety of the three-dimensional garage and the service life of the vehicle.

CN115145170BActive Publication Date: 2024-10-01HEFEI & EXHIBITION TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210752073.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-29
Publication Date
2024-10-01
Estimated Expiration
2042-06-29

AI Technical Summary

Technical Problem

The existing three-dimensional garage device is prone to interference between the vehicle and structural parts due to positioning errors when the vehicle moves to the target position, causing damage to the vehicle, and does not consider mechanical transmission losses, affecting safety.

Method used

The three-dimensional garage simulation operation control method is used to dynamically adjust the pulse signal transmission speed by obtaining the difference between the current position and the target position, calculate and correct the movement distance error, and ensure that the vehicle reaches the target position accurately, including setting the acceleration, uniform speed and deceleration stages. Movement distance and number of pulses, using encoder feedback to adjust movement accuracy.

Benefits of technology

It effectively avoids the interference between the vehicle and the structural parts, improves the safety of use of the three-dimensional garage, ensures that the positioning error of the vehicle during movement is within the threshold range, and extends the service life of the vehicle.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115145170B_ABST
    Figure CN115145170B_ABST
Patent Text Reader

Abstract

The present invention discloses a method and system for controlling a simulated operation of a stereoscopic car park, comprising: obtaining the current position of a horizontal moving module; setting the maximum value of the acceleration area time and the pulse sending speed in a pulse acceleration sending stage, calculating the movement distance of the horizontal moving module in the acceleration sending stage, the movement distance of the horizontal moving module in the deceleration sending stage, and the movement distance of the horizontal moving module in the uniform speed sending stage, and counting the number of pulse sending in the acceleration sending stage; maintaining the sending speed of the pulse in the uniform speed sending stage to be, in each area time, calculating the local actual movement distance l and the local ideal movement distance; calculating the displacement error between the local actual movement distance and the local ideal movement distance in the uniform speed sending stage, and dynamically adjusting the sending speed according to the displacement error; controlling the stereoscopic car park by the operation control method avoids the defect of vehicle damage and improves the use safety of the stereoscopic car park.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of stereo garage simulation control, and in particular to a stereo garage simulation operation control method and system. Background Art

[0002] At present, the science and technology museum industry temporarily simulates the equipment of multi-story parking garages. The control method of multi-story parking garages that exist outside the science and technology museum industry is to detect and position the equipment through sensors, and feedback the signal to the control system. The wear and tear in the mechanical transmission and the error of the vehicle moving to the target position are not considered. If the error of the vehicle's movement positioning exceeds the threshold during the process of driving the vehicle to the target position in the multi-story parking garage, it is easy to cause interference between the vehicle and the internal structure of the multi-story parking garage, thereby causing damage to the vehicle. Summary of the invention

[0003] Based on the technical problems existing in the background technology, the present invention proposes a simulated operation control method and system for a stereoscopic garage, which avoids the defect of vehicle damage and improves the safety of the stereoscopic garage.

[0004] The simulated operation control method of the stereo garage proposed in the present invention is used to control the horizontal moving module to move to a target position, and the car is arranged on the horizontal moving module, and comprises:

[0005] Get the current position of the horizontal moving module, and calculate the number of pulse signals N1 that need to be sent to the motor of the horizontal module under ideal conditions between the current position and the target position;

[0006] Set the acceleration zone time tacc and the maximum value MaxSpeed ​​of the pulse sending speed in the pulse acceleration sending stage, and calculate the movement distance L of the horizontal moving module in the acceleration sending stage acc , the movement distance L of the horizontal moving module during the deceleration and sending phase dec , the movement distance L of the horizontal moving module during the uniform speed sending stage un , and count the number of pulses sent during the acceleration sending phase N acc ;

[0007] In the uniform speed transmission stage, the pulse transmission speed is maintained at MaxSpeed. In each area time t, the local actual movement distance l and the local ideal movement distance L are calculated. lx ;

[0008] The local actual movement distance l and the local ideal movement distance L are calculated in the uniform speed sending stage. lx The displacement error E between them is used to dynamically adjust the sending speed MaxSpeed ​​according to the displacement error E;

[0009] Record the number of pulses N during the pulse uniform transmission phase un , calculate the total number of pulses N sent during the horizontal module movement* , correct the number of pulse signals N1 that need to be sent to the motor of the horizontal module under the ideal state, so as to perform pulse control through the motor of the horizontal module and realize the movement of the horizontal moving module to the target position.

[0010] Furthermore, when calculating the movement distance L of the horizontal moving module during the acceleration sending phase, acc , The movement distance L of the horizontal moving module during the deceleration and sending phase dec , the movement distance LY of the horizontal moving module in the uniform speed sending stage specifically includes:

[0011] At time t acc Within the time period, the pulse sending speed is increased from 0 to MaxSpeed, and the pulse sending speed speed in the area time t is calculated. <t<t acc ;

[0012] t acc The interval is divided into M divided areas according to the area time t. Within the area time t, the rotation angle change of the encoder R on the driven wheel is read, and the actual movement distance L of the horizontal moving module within the area time t is calculated.

[0013] The actual movement distances in the M regions are accumulated in sequence to obtain the movement distance L acc ;

[0014] The total horizontal movement distance LM and the movement distance L of the horizontal moving module are calculated based on the current position and the target position. dec Equal to the movement distance L acc , the movement distance LY is equal to LM minus the movement distance L dec and movement distance L acc .

[0015] Furthermore, the pulse sending speed speed at the regional time t is calculated as follows:

[0016]

[0017] Among them, 0 <t<t acc .

[0018] The calculation formula for the actual movement distance L of the horizontal moving module within the area time t is as follows:

[0019]

[0020] Where r is the radius of the encoder; the value of t satisfies that the encoder rotates no more than one circle within the area time t.

[0021] Furthermore, in the uniform speed sending stage, the pulse sending speed is maintained at MaxSpeed, and in each area time t, the local actual movement distance l and the local ideal movement distance L are calculated. lx middle:

[0022] The local actual movement distance l is obtained by the calculation formula of the actual movement distance L;

[0023] The movement distance L un Divide the area time into set segments according to t, and take the length of each set segment as the local ideal motion distance L lx .

[0024] Furthermore, in the uniform speed sending stage, the local actual movement distance l and the local ideal movement distance L are calculated. lx The displacement error E between them is used to dynamically adjust the sending speed MaxSpeed ​​according to the displacement error E;

[0025] The calculation formula of displacement error E is as follows:

[0026]

[0027] The formula for calculating the sending speed after dynamic adjustment by displacement error E is as follows:

[0028]

[0029] Among them, α is the lowest trigger threshold for calibration, β is the highest trigger threshold for calibration, and θ is the maximum compensation value.

[0030] Furthermore, in calculating the number N1 of pulse signals that need to be sent to the motor of the horizontal module under an ideal state between the current position and the target position, specifically includes:

[0031] Calculate the difference between the current position and the target position to obtain the total distance LM that the horizontal moving module moves on the horizontal axis;

[0032] According to the total distance LM, the total number of pulse signals N1 that need to be sent to the horizontal module under ideal conditions is set.

[0033] The simulated operation control method of a stereo garage is used to control a vertical moving module to move to a target position, and the car is arranged on the vertical moving module, and includes:

[0034] Obtain the current position of the vertical moving module, and calculate the number of pulse signals N1 that need to be sent to the motor of the vertical module under ideal conditions between the current position and the target position;

[0035] Set the acceleration zone time tacc and the maximum value MaxSpeed ​​of the pulse sending speed in the pulse acceleration sending stage, and calculate the movement distance L of the vertical moving module in the acceleration sending stage acc , the movement distance L of the vertical moving module during the deceleration and sending phase dec , the movement distance LY of the vertical moving module during the uniform speed sending stage;

[0036] In the uniform speed transmission stage, the pulse transmission speed is maintained at MaxSpeed. In each area time t, the local actual movement distance l and the local ideal movement distance L are calculated. lx ;

[0037] The local actual movement distance l and the local ideal movement distance L are calculated in the uniform speed sending stage. lx The displacement error E between them is used to dynamically adjust the sending speed MaxSpeed ​​according to the displacement error E;

[0038] Record the number of pulses N2 during the pulse uniform transmission stage, and calculate the total distance N of the pulse transmission during the vertical module movement. * , so as to realize the vertical movement module to move to the target position by pulse control of the motor of the vertical module.

[0039] The stereo garage simulation operation control system is used to control the horizontal moving module to move to the target position. The car is set on the horizontal moving module and includes a horizontal pulse calculation module, a horizontal distance calculation module, a horizontal local distance calculation module, a horizontal error adjustment module and a horizontal pulse statistics module;

[0040] The horizontal pulse calculation module is used to obtain the current position of the horizontal moving module and calculate the number of pulse signals N1 that need to be sent to the motor of the horizontal module under ideal conditions between the current position and the target position;

[0041] The horizontal distance calculation module is used to set the acceleration area time tacc and the maximum value MaxSpeed ​​of the pulse sending speed in the pulse acceleration sending stage, and calculate the movement distance L of the horizontal moving module in the acceleration sending stage. acc , the movement distance L of the horizontal moving module during the deceleration and sending phase dec , the movement distance LY of the horizontal moving module during the uniform speed sending stage;

[0042] The horizontal local distance calculation module is used to maintain the pulse sending speed at MaxSpeed ​​during the uniform sending stage. In each area time t, the local actual movement distance l and the local ideal movement distance L are calculated. lx ;

[0043] The horizontal pulse statistics module is used for the error adjustment module to calculate the local actual movement distance l and the local ideal movement distance L in the uniform speed sending stage.lx The displacement error E between them is used to dynamically adjust the sending speed MaxSpeed ​​according to the displacement error E;

[0044] The horizontal pulse statistics module is used to record the number of pulses N2 during the pulse uniform transmission stage and calculate the total distance N of the pulse transmission during the horizontal module movement. * , through the pulse control of the motor of the horizontal module, the horizontal moving module can be moved to the target position.

[0045] The stereo garage simulation operation control system is used to control the vertical moving module to move to the target position. The vehicle is set on the vertical moving module and includes a vertical pulse calculation module, a vertical distance calculation module, a vertical local distance calculation module, a vertical error adjustment module and a vertical pulse statistics module;

[0046] The vertical pulse calculation module is used for the horizontal pulse calculation module to obtain the current position of the horizontal moving module and calculate the number of pulse signals N1 that need to be sent to the motor of the horizontal module under ideal conditions between the current position and the target position;

[0047] The vertical distance calculation module is used to set the acceleration area time tacc and the maximum value MaxSpeed ​​of the pulse sending speed in the pulse acceleration sending stage, and calculate the movement distance L of the horizontal moving module in the acceleration sending stage. acc , the movement distance L of the horizontal moving module during the deceleration and sending phase dec , the movement distance LY of the horizontal moving module during the uniform speed sending stage;

[0048] The vertical local distance calculation module is used for the horizontal local distance calculation module. The pulse sending speed is maintained at MaxSpeed ​​during the uniform sending stage. In each area time t, the local actual movement distance l and the local ideal movement distance L are calculated. lx ;

[0049] The vertical error adjustment module is used for the horizontal pulse statistics module, the error adjustment module is used for the uniform speed sending stage to calculate the local actual movement distance l and the local ideal movement distance L lx The displacement error E between them is used to dynamically adjust the sending speed MaxSpeed ​​according to the displacement error E;

[0050] The vertical pulse statistics module is used to record the number of pulses N2 in the pulse uniform transmission stage, and calculate the total distance N of the pulse transmission during the horizontal module movement. * , through the pulse control of the motor of the horizontal module, the horizontal moving module can be moved to the target position.

[0051] A computer-readable storage medium stores a plurality of classification programs, wherein the plurality of classification programs are used to be called by a processor and execute the above control method.

[0052] The advantages of the stereo garage simulation operation control method and system provided by the present invention are: the stereo garage simulation operation control method and system provided in the structure of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] Figure 1 It is a structural schematic diagram of the present invention; DETAILED DESCRIPTION

[0054] Below, the technical solution of the present invention is described in detail through specific embodiments. Many specific details are set forth in the following description to facilitate a full understanding of the present invention. However, the present invention can be implemented in many other ways different from those described herein, and those skilled in the art can make similar improvements without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific implementation disclosed below.

[0055] When a vehicle moves in a stereo garage, a target position is set. According to the sensors set at each set position in the stereo garage, the current position of the vehicle can be obtained in real time. According to the difference between the target position and the current position, the moving distance of the vehicle can be obtained. The moving distance includes horizontal movement and vertical movement. The horizontal movement is realized by a horizontal moving module, and the vertical movement is realized by a vertical moving module. Both the horizontal moving module and the vertical moving module realize the module movement by rotating a gear assembly driven by a motor, wherein the gear assembly includes a driving wheel and a driven wheel meshing with the driving wheel. The driving wheel is sleeved at the output end of the motor and is driven by a gear assembly meshing with the driving wheel. The motor drives the rotation, and the driven wheel rotates with the driving wheel according to the meshing transmission. The working principles and processes of the horizontal moving module and the vertical moving module are consistent. This embodiment takes the horizontal moving module as an example for overall description. The motor is driven to rotate by sending a pulse signal to the motor in the horizontal moving module. At the same time, the actual movement distance of the horizontal moving module can be calculated by obtaining the rotation angle change feedback by the encoder on the driven wheel, and then the motion error of the horizontal moving module can be dynamically adjusted by adjusting the speed through displacement error feedback. Combined with the error adjustment of the vertical moving module, the vehicle is finally transported to the target position.

[0056] like Figure 1 As shown, the stereo car park simulation operation control method proposed by the present invention is used to control the horizontal moving module to move to a target position, and the car is set on the horizontal moving module, including:

[0057] S100: Acquire the current position of the horizontal moving module, and calculate the number N1 of pulse signals that need to be sent to the motor of the horizontal module under an ideal state between the current position and the target position;

[0058] Calculate the difference between the current position and the target position to get the total distance L that the horizontal moving module moves on the horizontal axis M ; According to the total distance L M Set the number of pulse signals N1 that need to be sent to the horizontal module under ideal conditions.

[0059] The target position is the position the car needs to move to, which can be manually set through an external control display, or can be pre-set position information, and the current position is the position information fed back by the sensor.

[0060] S200: Setting the acceleration zone time t in the pulse acceleration sending phase acc and the maximum value of the pulse sending speed MaxSpeed, calculate the movement distance L of the horizontal moving module during the acceleration sending phase acc , the movement distance L of the horizontal moving module during the deceleration and sending phase dec , the movement distance L of the horizontal moving module during the uniform speed sending stage un ; Specifically including S201 to S204:

[0061] S201: Increase the sending pulse speed from 0 to t acc , calculate the pulse sending speed speed in the area time t,0 <t<t acc ;

[0062] Set MaxSpeed ​​and t acc , starts sending pulse signals to the servo motor, that is, at time t acc Within the time zone, the speed of sending pulses is increased from 0 to MaxSpeed. The speed of sending pulses in the area time t can be calculated by the following formula:

[0063]

[0064] Among them, 0 <t<t acc In this embodiment, t acc =0.5,MaxSpeed=150000;

[0065] S202: To t acc The interval is divided into M divided areas according to the area time t. Within the area time t, the rotation angle change of the encoder R on the driven wheel is read, and the actual movement distance L of the horizontal moving module within the area time t is calculated.

[0066] t accDivide into time periods with equal intervals, one time period corresponds to one area time t, and each area time t moves at the speed calculated by the above speed formula. In each area time t, the rotation angle change a degree of the encoder fed back by the encoder R on the driven wheel is used to calculate the actual movement distance L by the following formula:

[0067]

[0068] Wherein, r is the radius of the encoder; the value of the regional time t in this embodiment needs to satisfy that the encoder will not rotate more than one circle within the regional time t. In this method, the optimal value of t is 0.02s.

[0069] It should be noted that in the above speed formula calculation process, the time corresponding to the first area time (0 to t) is t, the time corresponding to the second area time (t to 2t) is 2t, and so on, until the time correspondence of all area times is completed. In the pulse acceleration stage (0 to t acc ), as time goes by, the speed increases until it reaches the maximum value MaxSpeed ​​of the pulse sending speed.

[0070] S203: The actual movement distances in the M regions are accumulated sequentially to obtain the movement distance L acc ;

[0071] The actual movement distance L in each area time t can be calculated through step S202, and the movement distance L of the horizontal moving module in the pulse acceleration sending stage can be obtained by superimposing M actual movement distances L (there are certain differences in the actual movement distances in each area time, which is a general term here). acc .

[0072] S204: Calculate the total distance L of the horizontal movement of the horizontal moving module according to the current position and the target position M , movement distance L dec Equal to the movement distance L acc , movement distance L un Equal to L M Subtract the movement distance L dec and movement distance L acc , and count the number of pulses sent during the acceleration sending phase N acc .

[0073] L M According to the direct difference between the target position and the current position coordinates, the speed change curve of the deceleration sending stage is exactly opposite to the speed change curve of the acceleration sending stage, so the expected movement distance L in the deceleration sending stage is dec =L acc , uniform motion distance L un=LM–2×L acc , count the total number of pulses sent during the entire acceleration sending phase N acc The total number of pulses sent during the entire deceleration sending phase is N dec =N acc .

[0074] Through steps S201 to S204, the horizontal moving module is continuously moved in the pulse acceleration sending stage. During this movement, the actual movement distance L of the horizontal moving module in the entire pulse acceleration sending stage can be calculated according to the rotation angle change feedback by the encoder. acc , and then get the movement distance L of the horizontal moving module in the deceleration sending stage dec , and the movement distance L of the horizontal moving module during the uniform speed sending phase un , which provides the parameter of actual moving distance for pulse control in the uniform speed sending stage.

[0075] S300: The pulse transmission speed is maintained at MaxSpeed ​​during the uniform transmission phase. In each area time t, the local actual movement distance l and the local ideal movement distance L are calculated. lx ; Specifically include:

[0076] S301: The local actual movement distance l is obtained by the calculation formula of the actual movement distance L;

[0077] The local actual movement distance l in the uniform speed sending stage is also the rotation angle change a degree of the encoder R fed back by the encoder R on the driven wheel. It is the actual movement of the horizontal moving module. The actual movement distance L is calculated by the following formula:

[0078]

[0079] Wherein, r is the radius of the encoder; the value of the regional time t in this embodiment needs to satisfy that the encoder will not rotate more than one circle within the regional time t. In this method, the optimal value of t is 0.02s.

[0080] S302: Set the movement distance L un Divide the area time into set segments according to t, and take the length of each set segment as the local ideal motion distance L lx .

[0081] The regional time t and speed MaxSpeed ​​can be used to calculate the displacement within each regional time t, and the displacement is used as the local ideal motion distance L lx , the local ideal motion distance L corresponding to each area time t lx The accumulated value is equal to the moving distance L unThe definition of the regional time t in the uniform speed sending stage and the accelerated sending stage is the same, and the explanation of the regional time t will not be repeated here.

[0082] Through steps S301 to S302, the local actual movement distance l and the local ideal movement distance L can be calculated. lx , for step S400 to perform dynamic error correction.

[0083] S400: Calculate the local actual movement distance l and the local ideal movement distance L in the uniform speed sending stage lx The displacement error E between them is used to dynamically adjust the sending speed MaxSpeed ​​according to the displacement error E;

[0084] The horizontal moving module has a certain movement deviation in the actual uniform motion process, and it is impossible to move completely at the ideal uniform speed. Therefore, within the time t in this area, the local actual movement distance l and the local ideal movement distance L of the horizontal moving module are calculated. lx The displacement error E is used to adjust the speed at which the horizontal moving module should move in the next area time t, so that the horizontal moving module can be closer to the local ideal movement distance L lx Do some exercise.

[0085] The calculation formula of displacement error E is as follows:

[0086]

[0087] The formula for calculating the sending speed after dynamic adjustment by displacement error E is as follows:

[0088]

[0089] Wherein, α is the lowest trigger threshold for calibration, β is the highest trigger threshold for calibration, the error exceeding β is regarded as β, and θ is the maximum compensation value. In this embodiment, a preferred value is α=0.0005, β=0.005, θ=1000.

[0090] S500: Record the number of pulses N during the pulse uniform speed transmission phase un , calculate the total number of pulses N sent during the horizontal module movement * , correct the number of pulse signals N1 that need to be sent to the motor of the horizontal module under the ideal state, so as to realize the horizontal movement module to move to the target position through the pulse control of the motor of the horizontal module, N * =2N acc +N un .

[0091] Repeat steps S400 to S500 until the platform moves to L acc +L unThen the deceleration sending phase begins. No calibration is performed in the deceleration phase, and the parameters obtained in the acceleration sending phase are directly used. After reaching the target position, the total number of pulses required to update the motion is N * , for next exercise.

[0092] When the horizontal displacement of the horizontal moving module is controlled through steps S100 to S500, the vertical moving module is also operated synchronously through the same scheme, so that the vehicle can be accurately moved to the target position. In the process of the three-dimensional car park driving the vehicle to move to the target position, the error of the vehicle movement positioning is always within the threshold range, avoiding the interference between the vehicle and the internal structural parts of the three-dimensional car park, thereby avoiding the defect of damage to the vehicle, and improving the safety of the three-dimensional car park.

[0093] The above operation control method can be implemented by the following device: the vehicle is set on a cross coordinate platform, a horizontal moving module and a vertical moving module are set below the cross coordinate platform, the horizontal moving module is slidably set on the vertical moving module, and the cross coordinate platform is slidably set on the horizontal moving module. The horizontal moving module and the vertical moving module operate independently of each other, so the independent operation of the two modules is achieved by controlling the motors on the two moving modules respectively, and then finally driving the cross coordinate platform to move to the target position; through the operation control method in this embodiment, the cross coordinate platform can accurately move to the target position.

[0094] A person of ordinary skill in the art can understand that all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiment; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk, etc., various media that can store program codes.

[0095] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.

Claims

1. Simulation operation control method of stereo garage, It is characterized in that Used to control the horizontal moving module to move to the target position. The car is set on the horizontal moving module and includes: S100: Acquire the current position of the horizontal moving module, and calculate the number N1 of pulse signals that need to be sent to the motor of the horizontal module under an ideal state between the current position and the target position; S200: Setting the acceleration zone time t in the pulse acceleration sending phase acc and the maximum value of the pulse transmission speed MaxSpeed , calculate the movement distance of the horizontal moving module during the acceleration sending phase L acc , Movement distance of the horizontal moving module during the deceleration and sending phase L dec , The movement distance of the horizontal moving module during the uniform speed sending phase L un , and count the number of pulses sent during the acceleration sending phase N acc , specifically including S201 to S204: S201: In time t acc Increase the sending pulse rate from 0 to MaxSpeed , calculate the pulse sending speed in the area time t speed , 0 < t < t acc ; Where 0 < t < t acc ; S202: Yes t acc By region time t The interval is divided into M divided areas. t Read the rotation angle change of the encoder R on the driven wheel and calculate the horizontal moving module in the area time t Actual running distance within L ; in, r is the radius of the encoder; t The value of satisfies: The encoder is in the area time t Internal rotation does not exceed one revolution; S203: The actual movement distances in the M regions are accumulated sequentially to obtain the movement distance L acc ; S204: Calculate the total horizontal movement distance of the horizontal moving module according to the current position and the target position L M , movement distance L dec Equal to the movement distance L acc , movement distance L un equal L M Subtract the movement distance L dec and movement distance L acc ; S300: The sending speed of the pulse is maintained at a constant speed. MaxSpeed , in each area time t The actual local movement distance is calculated l Distance L from local ideal motion lx ; S400: Calculate the local actual movement distance during the uniform speed sending phase l Distance from local ideal motion L lx The displacement error E between the two is used to dynamically adjust the sending speed. MaxSpeed ; S500: Record the number of pulses during the pulse uniform transmission phase N un , calculate the total number of pulses N sent during the horizontal module movement * , correct the number of pulse signals N1 that need to be sent to the motor of the horizontal module under the ideal state, so as to perform pulse control through the motor of the horizontal module and realize the movement of the horizontal moving module to the target position.

2. The method for controlling the simulated operation of a stereo garage according to claim 1, It is characterized in that In the uniform speed sending stage, the pulse sending speed is maintained at MaxSpeed , in each area time t The actual local movement distance is calculated l Distance from local ideal motion L lx middle: Local actual movement distance l Actual movement distance L The calculation formula is obtained; The movement distance L un Divide the area time into set segments according to t, and take the length of each set segment as the local ideal motion distance L lx .

3. The method for controlling the simulated operation of a stereo garage according to claim 1, It is characterized in that Calculate the local actual movement distance during the uniform speed sending phase l Distance from local ideal motion L lx The displacement error E between the two is used to dynamically adjust the sending speed. MaxSpeed middle; The calculation formula of displacement error E is as follows: The formula for calculating the sending speed after dynamic adjustment by displacement error E is as follows: in, α The minimum trigger threshold for calibration, β The highest trigger threshold for calibration, θ is the maximum compensation value.

4. The method for controlling the simulated operation of a stereo garage according to claim 1, It is characterized in that In calculating the number of pulse signals N1 that need to be sent to the motor of the horizontal module under ideal conditions between the current position and the target position, specifically includes: Calculate the difference between the current position and the target position to get the total distance the horizontal moving module moves on the horizontal axis L M ; According to the total distance L M Set the number of pulse signals N1 that need to be sent to the horizontal module under ideal conditions. 5.Simulation operation control method of stereo garage, It is characterized in that Used to control the vertical moving module to move to the target position, the vehicle is set on the vertical moving module, including: S001: Obtain the current position of the horizontal moving module, and calculate the number of pulse signals N1 that need to be sent to the motor of the horizontal module under ideal conditions between the current position and the target position; S002: Set the acceleration zone time t in the pulse acceleration sending phase acc and the maximum value of the pulse transmission speed MaxSpeed , calculate the movement distance of the horizontal moving module during the acceleration sending phase L acc , Movement distance of the horizontal moving module during the deceleration and sending phase L dec , The movement distance of the horizontal moving module during the uniform speed sending phase L un , and count the number of pulses sent during the acceleration sending phase N acc ; Specifically including S021 to S024: S021: In Time t acc Increase the sending pulse rate from 0 to MaxSpeed , calculate the pulse sending speed in the area time t speed , 0 < t < t acc ; Where 0 < t < t acc ; S022: Yes t acc By region time t The interval is divided into M divided areas. t Read the rotation angle change of the encoder R on the driven wheel and calculate the horizontal moving module in the area time t Actual running distance within L ; in, r is the radius of the encoder; t The value of satisfies: The encoder is in the area time t Internal rotation does not exceed one revolution; S023: The actual movement distances in the M regions are accumulated sequentially to obtain the movement distance L acc ; S024: Calculate the total distance of horizontal movement of the horizontal moving module based on the current position and the target position L M , movement distance L dec Equal to the movement distance L acc , movement distance L un equal L M Subtract the movement distance L dec and movement distance L acc ; S003: The sending speed of the pulse is maintained at a constant speed. MaxSpeed , in each area time t The actual local movement distance is calculated l Distance L from local ideal motion lx ; S004: Calculate the local actual movement distance during the uniform speed sending phase l Distance from local ideal motion L lx The displacement error E between the two is used to dynamically adjust the sending speed. MaxSpeed ; S005: Record the number of pulses during the pulse uniform transmission phase N un , calculate the total number of pulses N sent during the horizontal module movement * , correct the number of pulse signals N1 that need to be sent to the motor of the horizontal module under the ideal state, so as to perform pulse control through the motor of the horizontal module and realize the movement of the horizontal moving module to the target position.

6. Stereo garage simulation operation control system, It is characterized in that Used to control the horizontal moving module to move to the target position, the vehicle is set on the horizontal moving module, including a horizontal pulse calculation module, a horizontal distance calculation module, a horizontal local distance calculation module, a horizontal error adjustment module and a horizontal pulse statistics module; The horizontal pulse calculation module is used to obtain the current position of the horizontal moving module and calculate the number of pulse signals N1 that need to be sent to the motor of the horizontal module under ideal conditions between the current position and the target position; The horizontal distance calculation module is used to set the acceleration area time t in the pulse acceleration sending stage acc and the maximum value of the pulse transmission speed MaxSpeed , calculate the movement distance of the horizontal moving module during the acceleration sending phase L acc , Movement distance of the horizontal moving module during the deceleration and sending phase L dec , The movement distance of the horizontal moving module during the uniform speed sending phase L un , and count the number of pulses sent during the acceleration sending phase N acc ; The horizontal local distance calculation module is used to maintain the pulse sending speed during the uniform sending stage. MaxSpeed , in each area time t The actual local movement distance is calculated l Distance L from local ideal motion lx ; The horizontal pulse statistics module is used for error adjustment module to calculate the local actual movement distance in the uniform speed sending stage l Distance from local ideal motion L lx The displacement error E between the two is used to dynamically adjust the sending speed. MaxSpeed ; The horizontal pulse statistics module is used to record the number of pulses in the pulse uniform transmission stage N un , calculate the total distance N of pulses sent during the horizontal module movement * , so as to realize the movement of the horizontal moving module to the target position by pulse control through the motor of the horizontal module; The horizontal distance calculation module is specifically used for: (a1) At time t acc Increase the sending pulse rate from 0 to MaxSpeed , calculate the pulse sending speed in the area time t speed , 0 < t < t acc ; Where 0 < t < t acc ; (a2) Yes t acc By region time t The interval is divided into M divided areas. t Read the rotation angle change of the encoder R on the driven wheel and calculate the horizontal moving module in the area time t Actual running distance within L ; in, r is the radius of the encoder; t The value of satisfies: The encoder is in the area time t Internal rotation does not exceed one revolution; (a3) The actual movement distances in the M regions are accumulated sequentially to obtain the movement distance L acc ; (a4) Calculate the total horizontal movement distance of the horizontal moving module based on the current position and the target position L M , movement distance L dec Equal to the movement distance L acc , movement distance L un equal L M Subtract the movement distance L dec and movement distance L acc .

7. Stereo garage simulation operation control system, It is characterized in that Used to control the vertical moving module to move to the target position, the vehicle is set on the vertical moving module, including a vertical pulse calculation module, a vertical distance calculation module, a vertical local distance calculation module, a vertical error adjustment module and a vertical pulse statistics module; The vertical pulse calculation module is used for the horizontal pulse calculation module to obtain the current position of the horizontal moving module and calculate the number of pulse signals N1 that need to be sent to the motor of the horizontal module under ideal conditions between the current position and the target position; The vertical distance calculation module is used to calculate the horizontal distance. The module is used to set the acceleration area time in the pulse acceleration sending stage. t acc and the maximum value of the pulse transmission speed MaxSpeed , calculate the movement distance of the horizontal moving module during the acceleration sending phase L acc , Movement distance of the horizontal moving module during the deceleration and sending phase L dec , The movement distance of the horizontal moving module during the uniform speed sending phase L un ; The vertical local distance calculation module is used for the horizontal local distance calculation module to maintain the pulse sending speed in the uniform speed sending stage. MaxSpeed , in each area time t The actual local movement distance is calculated l Distance from local ideal motion L lx ; The vertical error adjustment module is used for the horizontal pulse statistics module, the error adjustment module is used for calculating the local actual movement distance in the uniform speed sending stage. l Distance from local ideal motion L lx The displacement error E between the two is used to dynamically adjust the sending speed. MaxSpeed ; The vertical pulse statistics module is used to record the number of pulses in the pulse uniform transmission stage. N un , calculate the total distance N of pulses sent during the horizontal module movement * , so as to realize the movement of the horizontal moving module to the target position by pulse control through the motor of the horizontal module; The vertical distance calculation module is specifically used for: (b1) At time t acc Increase the sending pulse rate from 0 to MaxSpeed , calculate the pulse sending speed in the area time t speed , 0 < t < t acc ; Where 0 < t < t acc ; (b2) Yes t acc By region time t The interval is divided into M divided areas. t Read the rotation angle change of the encoder R on the driven wheel and calculate the horizontal moving module in the area time t Actual running distance within L ; in, r is the radius of the encoder; t The value of satisfies: The encoder is in the area time t Internal rotation does not exceed one revolution; (b3) The actual movement distances in the M regions are accumulated sequentially to obtain the movement distance L acc ; (b4) Calculate the total horizontal movement distance of the horizontal moving module based on the current position and the target position L M , movement distance L dec Equal to the movement distance L acc , movement distance L un equal L M Subtract the movement distance L dec and movement distance L acc .

8. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a plurality of classification programs, and the plurality of classification programs are used to be called by a processor and execute the control method according to any one of claims 1 to 4 or the control method according to claim 5.