Stage mechanical equipment motion modeling processing method based on matrix arrangement
By acquiring and processing the maximum and minimum motion trajectory data of stage machinery and equipment, and performing filtering and interpolation optimization, the problem of stuck caused by rapid changes in speed and acceleration during movement of the equipment is solved, extending the service life of the equipment and improving usage. Rate.
Patent Information
- Application Number
- CN202410753348.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-12
- Publication Date
- 2024-10-15
AI Technical Summary
The stage mechanical equipment arranged based on matrix rules changes too quickly during the movement trajectory, causing the equipment to freeze and jitter, and cannot perfectly perform the assigned trajectory tasks.
By obtaining the maximum and minimum motion trajectory data of the device, perform abnormal trajectory preprocessing and discrete second-order filtering to suppress noise, extract effective trajectory data, and perform point-by-point marking and interpolation optimization on the data based on the maximum difference to obtain the final Trajectory data collection.
It reduces the jamming phenomenon of the equipment during actual operation, extends the life cycle of the equipment, and improves the average usage rate of the equipment.
Smart Images

Figure CN118779783A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of stage mechanical equipment motion control, and in particular to a stage mechanical equipment motion modeling processing method based on matrix arrangement. Background Art
[0002] With the rapid development of science and technology, more and more cultural and tourism performances have cleverly integrated tradition and the future, culture and technology. With the stage technology empowered by advanced technology, a new performance mode with cultural depth, regional characteristics and a wide perspective of the times can be created, presenting a refreshing art feast to the audience. Stage machinery and equipment arranged based on matrix rules are indispensable performance props for advancing the plot. The good performance of the equipment can directly affect the viewing experience of the entire performance, while ensuring the personal safety of the performers and staff on site.
[0003] Generally speaking, stage mechanical equipment arranged based on matrix rules controls multiple devices to arrange each row or column according to certain rules, so that they move according to a specific trajectory position. When they move to the final movement position, they will form a modeling trend, so as to achieve the purpose of the current motion trajectory operation control. However, usually due to unreasonable trajectory data or other reasons during the operation of the equipment, the speed and acceleration of the trajectory change too quickly, causing the equipment to freeze and shake in actual operation, and ultimately causing the equipment to fail to perform the assigned trajectory tasks intact. Summary of the invention
[0004] The purpose of the present invention is to provide a method for processing the motion modeling of stage mechanical equipment based on matrix arrangement, so as to solve the above-mentioned problems existing in the prior art.
[0005] In order to achieve the above object, the technical solution adopted by the present invention is as follows:
[0006] A method for processing motion modeling of stage mechanical equipment based on matrix arrangement comprises the following steps:
[0007] S1. According to the performance modeling requirements, obtain the spatial trajectory data set of the equipment to run;
[0008] S2. Obtaining the maximum motion trajectory and the minimum motion trajectory of the device based on the maximum speed and the minimum speed at which the device can run, respectively, and obtaining the maximum difference of the motion trajectory of the device according to the maximum motion trajectory and the minimum motion trajectory of the device;
[0009] S3, based on the maximum motion trajectory, performing abnormal trajectory preprocessing on the trajectory point data values in the spatial trajectory data set to obtain a new trajectory data set;
[0010] S4, using discrete second-order filtering to suppress noise and eliminate interference on the new trajectory data set, and extracting a valid trajectory data set;
[0011] S5. Based on the acquired valid trajectory data set, a new difference data set is acquired; and the trajectory values in the new difference data set are marked point by point according to the maximum difference of the device motion trajectory;
[0012] S6. Determine whether each trajectory point has changed too much according to the marking result. If so, perform trajectory data interpolation optimization processing on all values of the trajectory point that has changed too much and is located in the downward direction, to obtain a final trajectory data set.
[0013] Preferably, the spatial trajectory data set to be run by the device is Data,
[0014] Data=R×M×N
[0015] Among them, R is the number of data groups in the spatial trajectory data set to be run by the device; the installation of the device on the stage is arranged according to the rule of M rows and N columns, and M and N are the number of rows of the device on the stage and the number of devices in each row, respectively.
[0016] Preferably, in step S2, the device samples the time at a time sampling period T s The maximum motion trajectory VALUE_TMAX and the minimum motion trajectory VALUE_TMIN are respectively,
[0017] VALUE_TMAX=v_MAX*T s
[0018] VALUE_TMIN=v_MIN*T s
[0019]
[0020] Among them, v_MAX and v_MIN are the maximum speed and minimum speed at which the device can run, respectively; It is the maximum difference of the device motion trajectory.
[0021] Preferably, the abnormal trajectory preprocessing is specifically as follows:
[0022]
[0023] Among them, Data_ PRE is a new trajectory data set; VALUE R×M×N It is the data value of any trajectory point in the data set Data.
[0024] Preferably, the calculation formula for discrete second-order filtering is,
[0025]
[0026] F UN =F FIL (ε1,ε2,γ,T s ) is defined as follows:
[0027]
[0028] S α =0.5*(sgn(α+ρ)-sgn(a-ρ))
[0029] a=(α0+β)S β +(1-S β )α2
[0030] S β =0.5*(sgn(β+ρ)-sgn(β-ρ))
[0031] α2=α0+sgn(β)(α1-ρ) / 2
[0032]
[0033] ρ=γ*T s
[0034] α0=T s *ε2
[0035] β=ε1+α0
[0036] Where γ is the filter tracking factor; μ0(k) is the input signal at time k; μ1(k) and μ2(k) are the tracking and differential output signals of the original input signal at time k; μ1(k-1) and μ2(k-1) are the tracking and differential output signals of the original input signal at time k-1; α, ρ, S α , S β , α2, a1, a0, β are the intermediate coefficients; ε1 and ε2 are the output signals.
[0037] Preferably, step S5 specifically comprises:
[0038] Data_ PDIFF =NeVALUE R×M×N -NeVALUE (R-1)×M×N
[0039]
[0040] Among them, Data_ PDIFF is the new difference data set; NeVALUE R×M×N and NeVALUE (R-1)×M×NThey are respectively valid trajectory data sets Data_ FIL The R group data and the R-1 group data in SEVALUE_ PDIFF is the new difference data set Data_ PDIFF The value of any point in ; The maximum difference of the device's motion trajectory; LAG_SEVALUE_ PDIFF The labeled trajectory data.
[0041] Preferably, in step S6, if the mark is 0, it means that the change value of the trajectory point conforms to the normal value; if the mark is not 0, it means that the change value of the trajectory point does not conform to the normal value; for all values of the adjacent upstream and downstream of the trajectory point whose change value does not conform to the normal value, adjacent trajectory data interpolation optimization processing is performed.
[0042] Preferably, for the upper and lower trajectory data that need to be interpolated and optimized in the current row, the coordinate points at a certain time t are (x1, y1, z1) and (x2, y2, z2), the specific trajectory data values are p0 and p1, and the time required for the device to move to (x1, y1, z1) and move to the point (x2, y2, z2) is t0 and t1 respectively; then the formula for interpolation optimization of the two trajectory data is,
[0043] p t =e0+e1(t-t0)+e2(t-t0) 2 +e3(t-t0) 3 +e4(t-t0) 4 +e5(t-t0) 5
[0044] set up
[0045] T=t1-t0,H=p1-p0
[0046] but
[0047] e0=p0
[0048]
[0049] e2=0.5*e0
[0050]
[0051] Among them, p t The new trajectory data is obtained after trajectory data interpolation optimization; and are the first-order derivatives of the positions at time t0 and time t1 respectively; and are the second-order derivatives of the positions at time t0 and time t1 respectively; e0, e1, e2, e3, e4, and e5 are the interpolation coefficients of each term of the polynomial respectively.
[0052] The beneficial effects of the present invention are: using the correlation of the original trajectory data, detecting the abnormal data therein, filtering the data after processing, so that the acceleration and speed can be smoothed. Finally, using the speed and acceleration range interval of the original data to filter and mark the data, interpolation optimization is performed on the marked parts, and the real equipment modeling data that can be finally used in the engineering is obtained, thereby reducing the jamming phenomenon of the equipment in actual operation, extending the equipment life cycle, and improving the average utilization rate of the equipment. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] Figure 1 is a flow chart of a method in an embodiment of the present invention. DETAILED DESCRIPTION
[0054] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings. It should be understood that the specific implementation methods described herein are only used to explain the present invention and are not used to limit the present invention.
[0055] like Figure 1 As shown, in this embodiment, a method for processing motion modeling of stage mechanical equipment based on matrix arrangement is provided, comprising the following steps:
[0056] 1. According to the performance modeling requirements, obtain the spatial trajectory data set for the equipment to run.
[0057] Assume that the mechanical equipment is installed on the stage in the order of M rows and N columns, where 1≤M≤Num M , 1≤N≤Num N , Num M With Num N The range is the total number of actual stage equipment arranged on site. For example, if a set of equipment trajectory data is given, there are 4 rows of equipment, and 15 equipment are placed in each row, then Num M =4, Num N =15, that is, 4×15, a total of 60 devices, the devices in the first row are named A1, A2...A 15 , the devices in the second row are named B1, B2, ... B 15 The devices in the third row are named C1, C2, ... 15 , the devices in the fourth row are named D1, D2...D 15 , then the set of data to obtain its matrix trajectory is M×N.
[0058] According to the performance modeling requirements, the spatial trajectory data set to be run by the device is obtained as Data, and the number of data groups is R. If the number of groups given is Num R , then the size of Data is,
[0059] Data=R×M×N
[0060] Where 1≤R≤Num R ; 1≤M≤NumM; 1≤N≤Num N .
[0061] 2. Based on the maximum speed and minimum speed at which the device can run, the maximum motion trajectory and the minimum motion trajectory of the device are obtained respectively, and the maximum difference of the device's motion trajectory is obtained according to the maximum motion trajectory and the minimum motion trajectory of the device.
[0062] According to the mechanical characteristics of the on-site installation, the maximum speed of the equipment is v_MAX and the minimum speed is v_MIN. s The maximum motion trajectory VALUE_TMAX and the minimum motion trajectory AVLUE_TMIN are respectively,
[0063] VALUE_TMAX=v_MAX*T s
[0064] VALUE_TMIN=v_MIN*T s
[0065]
[0066] Among them, v_MAX and v_MIN are the maximum speed and minimum speed at which the device can run, respectively; It is the maximum difference of the device motion trajectory.
[0067] 3. Based on the maximum motion trajectory, perform abnormal trajectory preprocessing on the trajectory point data values in the spatial trajectory data set to obtain a new trajectory data set.
[0068] Assume that in the data set Data, the data value of any trajectory point is VALUE R×M×N . Perform abnormal trajectory preprocessing on the trajectory data to obtain new trajectory data Data_ PRE , the basis for trajectory data preprocessing is,
[0069]
[0070] 4. Use discrete second-order filtering to suppress noise and eliminate interference on the new trajectory data set to extract the effective trajectory data set.
[0071] Get new preprocessed data Data_ PRE After that, the data is processed by discrete second-order filtering to suppress noise and eliminate interference, and the effective trajectory signal Data_ FIL The discrete second-order filtering algorithm is based on the following formula:
[0072]
[0073] F UN =F FIL (ε1,ε2,γ,T s ) is defined as follows:
[0074]
[0075] S α =0.5*(sgn(α+ρ)-sgn(α-ρ))
[0076] α=(α0+β)S β +(1-S β )α2
[0077] S β =0.5*(sgn(β+ρ)-sgn(β-ρ))
[0078] α2=α0+sgn(β)(α1-ρ) / 2
[0079]
[0080] ρ=γ*T s
[0081] α0=T s *ε2
[0082] β=ε1+α0
[0083] Where γ is the filter tracking factor; μ0(k) is the input signal at time k; μ1(k) and μ2(k) are the tracking and differential output signals of the original input signal at time k; μ1(k-1) and μ2(k-1) are the tracking and differential output signals of the original input signal at time k-1; α, ρ, S α , S β , α2, α1, α0, β are the intermediate coefficients; ε1 and ε2 are the output signals.
[0084] 5. Based on the acquired valid trajectory data set, a new difference data set is acquired; and the trajectory values in the new difference data set are marked point by point according to the maximum difference of the device motion trajectory.
[0085] According to the above steps, the new filtered signal Data_FIL , filter the data set. Assume Data_ FIL The value of the current row is NeVALUE R×M×N , get the new difference data set, namely Data_ PDIFF =NeVALUE R×M×N -NeVALUE (R-1)×M×N .Data_ PDIFF It is obtained by subtracting the previous group of data from the current group of data. In the formula, it is NeVALUE, which is the value of the Rth group of data. R×M×N Subtract the R-1 group data NeVALUE (R-1)×M×N get.
[0086] Assume that the new difference sequence Data_ PDIFF The value of any point in the PDIFF , then according to the maximum difference The trajectory values are marked point by point, namely:
[0087]
[0088] 6. Determine whether each trajectory point has changed too much based on the marking results. If so, perform trajectory data interpolation optimization processing on all values of the trajectory point that has changed too much and moves downward to obtain the final trajectory data set.
[0089] Dataset Data_ PDIFF In the example, each group of labeled data is recorded as LAG1_SEVALUE_ PDIFF ,LAG2_SEVALUE_ PDIFF ...LAGnum_SEVALUE_ PDIFF ; If the mark is 0, it means that the change value of the trajectory point is in line with the normal value. If the mark value is not 0, it means that the change value of the trajectory point is too large. If the change is too large, it will cause the acceleration of the device to be too large, thus causing the device to alarm. Therefore, we optimize the adjacent trajectory data of all values in the adjacent upstream and downstream places where there are marked values to ensure the consistency of data dimensions.
[0090] If the coordinates of the upper and lower trajectory data that need to be interpolated and optimized in the current row at a certain time t are (x1, y1, z1) and (x2, y2, z2), the specific trajectory data values are p0 and p1, and the time required for the device to move to (x1, y1, z1) and move to (x2, y2, z2) are t0 and t1 respectively; then the formula for interpolation optimization of the two trajectory data is,
[0091] p t =e0+e1(t-t0)+e2(t-t0)2 +e3(t-t0) 3 +e4(t-t0) 4 +e5(t-t0) 5
[0092] set up
[0093] T=t1-t0,H=p1-p0
[0094] but
[0095] e0=p0
[0096]
[0097] e2=0.5*e0
[0098]
[0099] After the trajectory data is interpolated and optimized, a new data set is formed as Data_ INTER , and then the optimized trajectory data set Data_ INTER The original trajectory data is used as the final trajectory data package of the stage mechanical equipment. t The new trajectory data is obtained after trajectory data interpolation optimization; and are the first-order derivatives of the positions at time t0 and time t1 respectively; and are the second-order derivatives of the positions at time t0 and time t1 respectively; e0, e1, e2, e3, e4, and e5 are the interpolation coefficients of each term of the polynomial respectively.
[0100] In this embodiment, the modeling processing method provided by the present invention uses the correlation of the original trajectory data to detect abnormal data therein, and then filters the data to smooth its acceleration and speed. Finally, the data is filtered using the range interval of the original data to obtain the real trajectory data that can be finally used in the project. The data processed by the method of this article will not need to be searched for trajectory data suitable for equipment operation many times. No matter what the given data is, it can be processed by this method and converted into new data suitable for the operation of stage mechanical equipment, thereby reducing the jamming and jittering phenomenon of the equipment in actual operation, extending the life cycle of the equipment, and improving the average utilization rate of the equipment.
[0101] By adopting the above technical solution disclosed in the present invention, the following beneficial effects are obtained:
[0102] The present invention provides a method for processing the motion modeling of stage mechanical equipment based on matrix arrangement. The method uses the correlation of the original trajectory data to detect abnormal data therein, and filters the data after processing to smooth the acceleration and speed. Finally, the speed and acceleration range of the original data are used to filter and mark the data, and the marked parts are interpolated and optimized to obtain the real equipment modeling data that can be used in the project, thereby reducing the jamming phenomenon of the equipment in actual operation, extending the equipment life cycle, and improving the average utilization rate of the equipment.
[0103] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be considered as the scope of protection of the present invention.
Claims
1. A method for processing the motion modeling of stage mechanical equipment based on matrix arrangement, Features: The following steps are included: S1. According to the performance modeling requirements, obtain the spatial trajectory data set of the equipment to run; S2. Obtaining the maximum motion trajectory and the minimum motion trajectory of the device based on the maximum speed and the minimum speed at which the device can run, respectively, and obtaining the maximum difference of the motion trajectory of the device according to the maximum motion trajectory and the minimum motion trajectory of the device; S3, based on the maximum motion trajectory, performing abnormal trajectory preprocessing on the trajectory point data values in the spatial trajectory data set to obtain a new trajectory data set; S4, using discrete second-order filtering to suppress noise and eliminate interference on the new trajectory data set, and extracting a valid trajectory data set; S5. Based on the acquired valid trajectory data set, a new difference data set is acquired; And according to the maximum difference of the device motion trajectory, the trajectory values in the new difference data set are marked point by point; S6. Determine whether each trajectory point has changed too much according to the marking result. If so, perform trajectory data interpolation optimization processing on all values of the trajectory point that has changed too much and is located in the downward direction, to obtain a final trajectory data set.
2. According to the method for processing the motion modeling of stage mechanical equipment based on matrix arrangement according to claim 1, Features: The spatial trajectory data set that the device is to run is Data. Data=R×M×N Among them, R is the number of data groups in the spatial trajectory data set to be run by the device; the installation of the device on the stage is arranged according to the rule of M rows and N columns, and M and N are the number of rows of the device on the stage and the number of devices in each row, respectively.
3. The method for processing stage mechanical equipment motion modeling based on matrix arrangement according to claim 2, Features: In step S2, the device performs a sampling period T s The maximum motion trajectory VALUE_TMAX and the minimum motion trajectory VALUE_TMIN are respectively, VALUE_TMAX=v_MAX*T s VALUE_TMIN=v_MIN*T s Among them, v_MAX and v_MIN are the maximum speed and minimum speed at which the device can run, respectively; It is the maximum difference of the device motion trajectory.
4. The method for processing the motion modeling of stage mechanical equipment based on matrix arrangement according to claim 3, Features: The abnormal trajectory preprocessing is as follows: Among them, Data_ PRE is a new trajectory data set; VALUE R×M×N It is the data value of any trajectory point in the data set Data.
5. According to the method for processing the motion modeling of stage mechanical equipment based on matrix arrangement according to claim 4, Features: The calculation formula for discrete second-order filtering is: F UN =F FIL (ε 1 , ε 2 ,γ,T s ) is defined as follows: S α =0.5*(sgn(α+ρ)-sgn(α-ρ)) a=(a 0 +b)S β +(1-S β )a 2 S β =0.5*(sgn(β+ρ)-sgn(β-ρ)) a 2 =a 0 +sgn(β)(α) 1 -p) / 2 p=γ*T s a 0 =T s *e 2 β=ε 1 +a 0 Among them, γ is the filter tracking factor; μ 0 (k) is the input signal at time k; μ 1 (k) and μ 2 (k) are the tracking and differential output signals of the original input signal at time k; μ 1 (k-1) and μ 2 (k-1) are the tracking and differential output signals of the original input signal at time k-1; α, ρ, S α , S β , α 2 , α 1 , α 0 , β is the intermediate coefficient; ε 1 and ε 2 is the output of the signal.
6. The method for processing the motion modeling of stage mechanical equipment based on matrix arrangement according to claim 5, Features: Step S5 specifically includes: Data_ PDIFF =NeVALUE R×M×N -NeVALUE (R-1)×M×N Among them, Data_ PDIFF is the new difference data set; NeVALUE R×M×N and NeVALUE (R-1)×M×N They are respectively valid trajectory data sets Data_ FIL The R group data and the R-1 group data in SEVALUE_ PDIFF is the new difference data set Data_ PDIFF The value of any point in ; The maximum difference of the device's motion trajectory; LAG_SEVALUE- PDIFF The labeled trajectory data.
7. The method for processing stage mechanical equipment motion modeling based on matrix arrangement according to claim 6, Features: In step S6, if the mark is 0, it means that the change value of the trajectory point conforms to the normal value; if the mark is not 0, it means that the change value of the trajectory point does not conform to the normal value; for all values of the adjacent upstream and downstream of the trajectory point whose change value does not conform to the normal value, adjacent trajectory data interpolation optimization processing is performed.
8. The method for processing the motion modeling of stage mechanical equipment based on matrix arrangement according to claim 7, Features: For the current row, the coordinates of the upper and lower trajectory data that need to be interpolated and optimized at a certain time t are (x 1 ,y 1 , z 1 ) and (x 2 ,y 2 , z 2 ), the specific trajectory data values are p 0 and p 1 , the device moves to (x 1 ,y 1 , z 1 ) and move to point (x 2 ,y 2 , z 2 ) The time required is t 0 and t 1 ; Then the formula for interpolation optimization of two trajectory data is, p t =e 0 +e 1 (t-t 0 )+e 2 (t-t 0 ) 2 +e 3 (t-t 0 ) 3 +e 4 (t-t 0 ) 4 +e 5 (t-t 0 ) 5 set up T=t 1 -t 0 ,H=p 1 -p 0 but And 0 =p 0 And 2 =0.5*e 0 Among them, p t The new trajectory data is obtained after trajectory data interpolation optimization; and t 0 Time and t 1 The first derivative of the position at a given moment; and t 0 Time and t 1 The second derivative of the position at the moment; e 0 、e 1 、e 2 、e 3 、e 4 、e 5 are the interpolation coefficients of each polynomial term.
Citation Information
Patent Citations
Intersection vehicle two-dimensional trajectory reconstruction method
CN115238801A
Trajectory anomaly detection method
CN115630265A
Method for detecting and eliminating abnormal value of air route data and navigation monitoring system
CN116597691A
Movement locus molding device, abnormality diagnostic system, movement locus molding method and program
JP2019021036A
Method, system, and computer program product for improved trajectory planning and execution
US20040098160A1
