A method for grating monitoring at a train quantitative loading station
By setting the confidence level and parallel calculation of multiple speeds in the train quantitative loading station, the calculation error problem of grating equipment in harsh environments is solved, the accuracy and safety of automatic loading are improved, and the risk of accidents is reduced.
Patent Information
- Application Number
- CN202211150249.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-21
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2042-09-21
AI Technical Summary
In harsh environments, existing grating equipment and algorithms are easily affected by dust and foreign objects, resulting in large calculation errors and misjudgments, affecting the quality of automatic loading, and may even cause serious accidents such as collisions between chutes and carriages.
By setting the confidence level and parallel calculation of multiple speeds, we select and judge the speed data calculated by multiple different ways to ensure the most accurate speed data, thereby overcoming the misjudgment of speed calculation errors and improving the accuracy and safety of automatic loading. sex.
It effectively reduces the accident rate, improves the quality of automatic loading and the safety of equipment, and ensures precise control of chutes and carriages.
Smart Images

Figure CN115535035B
Abstract
Description
Technical Field
[0001] The invention relates to a method for grating monitoring of a train quantitative loading station, an automatic monitoring method for mechanical transportation equipment, and a method for monitoring train operation at a train quantitative loading station for loading bulk materials. Background Art
[0002] Traditional train quantitative loading stations usually use manual judgment of the position of the carriage, manual lowering of the chute and opening of the gate for discharge. This loading method requires well-trained operators to operate the loading station to achieve full carriage loading with no or little overloading. This loading method requires operators to concentrate highly, so it is particularly prone to fatigue, resulting in loading errors or accidents. With the rapid development of mechatronics, nearly fully automated loading stations that completely replace manual work have emerged. This loading station accurately calculates the position of the carriage, and uses a series of algorithms to calculate the precise time points for the automatic lowering of the chute and the opening of the gate for discharge, as well as the time points for closing the gate and lifting the chute, so that the entire loading process is fully automated. The operator only observes without intervention, realizing full automation of loading. The key to fully automated loading is the precise positioning of the train when it passes through the loading station, so as to control the time of lowering and lifting the chute, as well as the time of opening and closing the discharge gate. The existing commonly used technology is to use laser grating groups installed on both sides of the railway of the loading station to accurately locate the dynamic and precise position of the train and its carriages. Since the automatic loading station is dusty during operation, scattered materials are easily accumulated in the gaps between carriages. In this harsh environment, existing grating equipment and algorithms are often affected by these factors and often have defects such as larger calculation errors and more misjudgments, which affect the quality of automatic loading and may even cause serious accidents such as collisions between chutes and carriages. Therefore, what kind of equipment and what kind of algorithm can be used to improve the anti-interference ability of the grating, improve the accuracy of the measurement data, and reduce misjudgments is a problem that needs to be solved. Summary of the invention
[0003] In order to overcome the problems of the prior art, the present invention proposes a method for grating monitoring of train quantitative loading stations. The method selects and distinguishes the speeds calculated by multiple different paths by setting confidence and parallel calculation of multiple speeds, so as to obtain the most accurate speed data, thereby overcoming the misjudgment caused by speed calculation, affecting the quality of automatic loading, and reducing the accident rate.
[0004] The object of the present invention is achieved by: a method for monitoring gratings at a quantitative loading station of a train, wherein the system used in the method comprises: a quantitative loading grating monitoring instrument that can be hung on a wall, a data processing system inside the instrument, and grating groups installed on both sides of the railway at the loading station, and the steps of the method are as follows:
[0005] Step 1, parameter setting: setting various application parameters of the quantitative loading grating monitor; setting the arrangement of the grating group as follows: the starting point where the train enters the grating group is the end point, and the end point of the grating group corresponding to the chute is the origin; setting the distance between the two optical signal sensors as the optical spacing D; setting the detection cycle;
[0006] Step 2: Grating data acquisition: collect the optical signals received by each grating receiving element of the grating group in a round-trip cycle, edit the grating data of each round in real time, form an original data queue, and output the data queue in real time;
[0007] Step 3, grating data filtering: filter the collected data, remove some stray data points, eliminate interference, and obtain a relatively ideal array buffer;
[0008] Step 4, data analysis: used to analyze and judge the array buffer, including:
[0009] Is it completely empty: If the light signal of the grating group is completely empty, it is judged that no train passes; if it is empty, it is considered that a complete calculation cycle has ended, all calculation results and calculation buffers are cleared, the animation GUI is cleared, and a new waiting state is entered to wait for the locomotive to enter;
[0010] Determine whether a vehicle enters: When the light signal of the grating group changes from the origin to the object segment and the state gradually increases, it is considered that a vehicle enters the grating group from the end point of the grating group. If an object enters from the empty space, mark it and enter a new calculation cycle.
[0011] Finding the boundary line: The boundary line identification condition is: the boundary of a space segment and a segment with an object, and the length of the space segment and the segment with an object must be greater than two light spacings to be considered a reliable boundary line, and the confidence level is 1;
[0012] All the boundaries with a confidence level of 1 will record key parameters through the data hash table and assign boundary numbers, boundary position coordinates (X), and the current time;
[0013] Finding complete gaps: The train passes through different states of the grating group, resulting in different numbers and degrees of completeness of gaps between the two carriages. The complete gaps are found through analysis and judgment, and the confidence level is set: the condition for a confidence level of 1 is that the gap between the two obscured objects is a complete gap, and the obscured lengths on both sides of the gap are greater than the two light distances. When this obscuration distance condition is met and the gap is still judged to be complete after more than three calculation cycles, the gap is marked as confidence level 1;
[0014] All gaps with a confidence level of 1 record key parameters through the data hash table, including the gap number, the coordinates on both sides of the gap, and the current time;
[0015] Finding a complete carriage: Condition: A complete section between two gaps may be a complete carriage. If the gaps on both sides are larger than the two light intervals and the distance is between 9 and 15 meters, it is confirmed to be a complete carriage and the confidence of the carriage mark is marked as 1;
[0016] The key parameters are recorded in the data hash table, which are the rear position coordinate X1, the front position coordinate X2, and the current time T.
[0017] Determine the front of the train: After determining that a vehicle has entered the light barrier group, wait for the length of the vehicle to be calculated; when the length of the first vehicle is calculated, it is considered that the front of the train has completely left and officially entered the first carriage;
[0018] Judging the rear of the vehicle: there is only one dividing line with a confidence level of 1, and the dividing line gradually moves from the endpoint to the origin;
[0019] The above analysis and judgment are carried out in parallel, and are all repeated rounds of optical signal comparison and judgment of multiple collection cycles;
[0020] Step 5, train speed calculation:
[0021] 1) Calculate the speed using a complete carriage:
[0022] Take out two adjacent carriages with a confidence level of 1 from the hash table, calculate the moving speed of the center of the carriage, and use it as the speed of the train;
[0023] 2) Calculate the speed using gap translation:
[0024] Take out two adjacent calculation cycles, the gap with the same number and confidence level of 1 from the hash table, calculate the moving speed of the center of the gap, and use it as the speed of the train.
[0025] 3) Calculate speed using dividing line:
[0026] Take out the gap between two adjacent calculation cycles with the same number and a confidence level of 1 from the hash table, calculate the moving speed of the dividing line, and use it as the speed of the train.
[0027] All three methods can calculate the speed. Carriage translation is preferred. If no result is obtained, gap translation is used to calculate the speed. If neither of the above two methods can calculate the speed, the dividing line is used for calculation.
[0028] Step 6, train car length and displacement calculation:
[0029] Calculate the length L of the carriage according to the front and rear coordinates of the carriage: L = (X1-X2) × D;
[0030] Train front rail distance calculation device: the distance l1 from the origin to the front edge of the train carriage: l1 = X2×D.
[0031] Train rear rail distance calculation device: The distance from the origin to the rear edge of the train carriage is l2: l2 = X1 × D, such as Figure 1 shown.
[0032] Step 7, collecting calculation results: used to collect the calculation results of the train running status of each collection cycle;
[0033] Step 8, train motion animation processing: for processing the train motion process through images to form an animation that can move in real time on the display screen;
[0034] Step 9, data output: used to convert the calculation result of the train running status into chute motion control data, and output the chute motion control data to the chute control PLC;
[0035] Step 10, log recording: used to record the detection data and calculation data of all grating groups in the train loading process in real time, so as to conduct a complete historical backtracking.
[0036] Furthermore, the detection period is 200 to 400 milliseconds.
[0037] The advantages and beneficial effects of the present invention are as follows: the present invention grasps two key points related to the precise control of the chute, namely the vehicle position and the displacement speed, and determines the precise coordinates of the length of the carriage and the front and rear end positions of the carriage by setting the confidence level, thereby eliminating interference from dust, foreign matter and the like, and adopts a parallel calculation scheme for multiple speeds, and selects and distinguishes the speeds calculated by multiple different paths, in order to obtain the most accurate speed data, thereby overcoming the misjudgment caused by speed calculation errors, affecting the quality of automatic loading, and minimizing the probability of accidents such as equipment collision. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.
[0039] Figure 1 is a system structure diagram used by the method described in Embodiment 1 of the present invention;
[0040] Figure 2 is a system principle block diagram used by the method described in Embodiment 1 of the present invention;
[0041] Figure 3 is a flow chart of the method described in Embodiment 1 of the present invention;
[0042] Figure 4This is a schematic diagram of the locomotive entering the grating group;
[0043] Figure 5 It is a schematic diagram of the first working condition of the carriage in the grating group;
[0044] Figure 6 It is a schematic diagram of the second working condition of the carriage in the grating group;
[0045] Figure 7 It is a schematic diagram of the third working condition of the carriage in the grating group;
[0046] Figure 8 It is a schematic diagram of the fourth working condition of the carriage in the grating group;
[0047] Fig. 9 It is a schematic diagram of the working condition when the last carriage leaves the grating group. DETAILED DESCRIPTION
[0048] Embodiment 1:
[0049] This embodiment is a method for monitoring the grating at a train quantitative loading station. The system used in the method includes: a quantitative loading grating monitoring instrument that can be hung on the wall, a data processing system inside the instrument, and a grating group installed on both sides of the railway at the loading station; Figure 1 shown.
[0050] Train quantitative loading station grating monitor, such as Figure 1 , 2 As shown, it comprises: a chassis 1 that can be hung on the wall, the chassis is provided with a human-machine interaction interface 101, the human-machine interaction interface is connected to a data processing system in the chassis, the processing system comprises: a data acquisition interface (see FIG. 1 ) connected to a plurality of grating groups 3 installed on both sides of the railway 2 of the loading station Figure 2 ), the data acquisition interface is connected with the data calculation subsystem, the result processing subsystem and the human-computer interaction interface in sequence; the arrangement of the grating groups is: Train 4 ( Figure 1 The starting point of the grating group is the end point 301, and the end point of the grating group corresponding to the chute 5 is the origin 302; the distance between the two optical signal sensors is the optical spacing D, such as Figure 1 shown. Figure 1 The figure shows a grating group consisting of six groups of gratings. Each group of gratings consists of a transmitting end (represented by a diamond-shaped rectangular frame in the middle) and a receiving end (represented by a rectangular frame with a horizontal line in the middle). The semicircle on the rectangular frame of the transmitting end or the receiving end represents the transmitting element or the receiving sensor. The transmitting element and the receiving sensor are staggered to avoid mutual interference.
[0051] The chassis is the main body of the entire monitoring instrument and the support frame of the entire system. The circuit board and the corresponding electronic components are installed in it. Since the main chip selected inside it focuses on low power consumption, the entire instrument can be powered by batteries or AC power. The human-computer interaction interface installed on the box can be a touch screen or a mouse, keyboard and display (KVM). Multiple input and output interfaces can be set around the box, such as: an interface for communicating with the grating group, a USB interface, etc.
[0052] Some concepts adopted in this embodiment:
[0053] (1) Acquisition cycle: The complete acquisition of 6 sets of grating states is a complete acquisition cycle, and one cycle is generally tens to hundreds of milliseconds.
[0054] (2) Calculation cycle: During each complete collection cycle, data calculation and status determination are performed. The calculation cycle is equal to the collection cycle.
[0055] (3) Origin: The head of the grating, that is, the first light signal sensor of the first group of gratings in the six groups of gratings is the origin. The origin is usually set near the chute, or aligned with the center of the chute or other positions of the chute.
[0056] (4) Front lashing distance: the distance from the origin to the front edge of the train carriage.
[0057] (5) Rear tying distance: the distance from the origin to the rear edge of the train car.
[0058] (6) Speed: The speed at which the train is traveling.
[0059] (7) Confidence: A reliable state is a confidence level of 1. Confidence levels less than 1 are not included in calculations and judgments. During the calculation process, all data with a confidence level less than 1 are discarded, and only data with a confidence level of 1 can be stored in the hash table. The confidence level is calculated by multiple rounds (generally three times) and the results are compared with each other. If the error is within the allowable range, the confidence level is considered to be 1. In this embodiment, confidence is a key factor in solving the reliability of grating detection. By determining the confidence level during the data calculation process, the data calculation is more accurate, which greatly enhances the reliability of the entire system.
[0060] (8) Optical spacing D: The distance D between two optical signal sensors, such as Figure 1 shown.
[0061] An application example of the grating monitor at a train quantitative loading station: At a loading station, there are 6 groups of gratings on site, each group of gratings consists of 86 pairs of light signal sensors that are turned on. When the light signal sensor is blocked by an object, the data of the point is 1, and when there is no object blocking it, the data of the point is 0. The effective measurement length of each grating is 2.64 meters, and the combined measurement length of 6 groups of gratings is 15.84 meters, which is longer than the length of most existing standard open-top train carriages, but less than the length of two open-top carriages.
[0062] The monitoring instrument used in the application example can collect the status of 6 groups of gratings. Because 6 devices are connected in series on a bus, it is necessary to patrol and obtain the data of the 6 groups of gratings, and then package them. For example, it takes 50ms to query a grating, and it takes 300ms to fully obtain the data of 6 groups of gratings.
[0063] The train travels inside the grating (along Figure 1 The direction of the hollow arrow, Figure 3-8 The movement direction of the train in the picture follows the direction of the arrow, that is, it moves from the left side of the paper to the right side). Through the changes in the optical signal sensor inside the grating, the specific position of the car can be determined, the speed of the train can be calculated, and the distance from the origin to the front edge of the train car, the distance from the origin to the rear edge of the train car, the speed of the train, whether it is the front of the train, and whether it is the rear of the train. These data and status need to be transmitted to the PLC that controls the lifting and lowering of the chute. Based on these data, the PLC realizes unmanned control of coal in the train loading process.
[0064] The gratings are arranged in order, ABCDEF (6 groups) are the communication addresses of each grating, arranged in sequence, and the grating instrument collects the data of each grating periodically and processes it. Through calculation, it determines the length of the train car and the position of the front edge of the train car relative to the grating origin. Based on this position, the control system can determine the position of the car where the quantitative warehouse unloads to the train car, and the position of the car where the chute is lowered to a certain fixed height on the car. It can also determine the position of the car where the unloading of the car is about to end and the chute is automatically raised to the initial state. The key control points required by the unmanned control system can be completed based on the parameters of the car detected by the grating.
[0065] The computing subsystem of the train quantitative loading station grating monitor includes:
[0066] Grating data acquisition device: used for real-time editing of grating data of each patrol, forming original data queue, and real-time output data queue.
[0067] Grating data filtering device: used to process some stray data points, eliminate interference, and obtain a relatively ideal array buffer.
[0068] Data analysis device: used to analyze and judge the array buffer, including: whether it is completely empty, whether a vehicle has entered, finding the dividing line, finding the complete gap, finding the complete car, judging the front of the car, and judging the rear of the car.
[0069] Train speed calculation device: used to calculate speed using three methods: calculating speed with a complete carriage, calculating speed using gap translation, and calculating speed using a dividing line. All three methods can calculate the speed, and carriage translation is preferred. If no result is obtained, gap translation is used to calculate the speed. If the speed is not calculated by the above two methods, the dividing line is used for calculation. The purpose of selecting the speed is to eliminate interference, use data from multiple positions in the carriage to calculate the speed, and have alternative solutions in case of problems, so as not to cause any data missing or errors, and repeatedly calculate during multiple rounds to eliminate any errors and errors, greatly improving the reliability of the system.
[0070] Train carriage length calculation device: used to calculate the length of the carriage according to the front and rear coordinates of the carriage: L: L = (X1-X2) × D.
[0071] Train front rail distance calculation device: used to calculate the distance l1 from the origin to the front edge of the train carriage (see Figure 1 ).
[0072] Train rear rail distance calculation device: used to calculate the distance l2 from the origin to the rear edge of the train carriage (see Figure 1 ).
[0073] The result processing subsystem of the grating monitoring instrument at the train quantitative loading station includes: a calculation result collection device, a train motion animation processing device, a data output device, a parameter setting module, and a log recording module.
[0074] The steps of the method described in this embodiment are as follows: Figure 3 As shown:
[0075] Step 1, parameter setting: set various application parameters of the quantitative loading grating monitor; set the arrangement of the grating group as follows: the starting point where the train enters the grating group is the endpoint, and the end point of the grating group corresponding to the chute is the origin; set the distance between the two optical signal sensors as the optical spacing D; set the detection cycle.
[0076] This step is performed when installing the grating monitor or during use. If the settings do not need to be changed in daily work, skip this step.
[0077] Step 2: Grating data acquisition: The optical signals received by each grating receiving element of the grating group are collected in a reciprocating patrol cycle. The grating data of each patrol is edited in real time to form an original data queue, and the data queue is output in real time.
[0078] The process of data collection by the grating group is to collect data from all receiving sensors of the grating group from the origin to the endpoint, which is regarded as a complete collection cycle, and then collect data again from the origin to the endpoint, and the collection is carried out over and over again in an endless cycle.
[0079] Step 3, grating data filtering: filter the collected data, remove some stray data points, eliminate interference, and obtain a relatively ideal array buffer.
[0080] If for some reason there are stray obstructions in the collected data, for example, the grating on site may be obstructed by scattered coal blocks, or some positions of the grating may be attached by coal powder, or foreign components in the middle of the train may interfere with the data. The filtering algorithm is to process these stray points and obtain a relatively ideal array buffer.
[0081] Step 4, data analysis: used to analyze and judge the array buffer, including:
[0082] Is it completely empty: If the light signal of the grating group is completely empty, it is judged that no train passes; if it is empty, it is considered that a complete calculation cycle has ended, all calculation results and calculation buffers are cleared, the animation GUI is cleared, and a new waiting state is entered, waiting for the locomotive to enter.
[0083] This is to judge whether there is a vehicle passing through the grating group. The "empty" state means that the laser emitted by a pair of corresponding grating emitting elements can be received by the corresponding receiving sensor, that is, the so-called conduction state. The "full empty" means that the receiving sensors of all gratings in the grating group can receive signals, and the signal emitted by no grating emitting element is blocked.
[0084] In order to save energy and protect the environment, after several cycles of detection, if all are empty, it can be considered that no train has entered the grating group. At this time, only the first group of gratings at the end of the grating group can be turned on, and the other gratings are in sleep state. When a train enters the grating group, the other grating groups will be awakened to achieve energy saving.
[0085] Determine whether a vehicle enters: the light signal of the grating group changes from the origin to the object segment, and the state gradually increases, that is, it is considered that a vehicle enters the grating group from the end point of the grating group. If an object enters from the empty space, it is marked and enters a new calculation cycle.
[0086] This process is the state formed when the locomotive enters the grating group, such as Figure 4 When the light signal at the grating endpoint changes again, from blocked to "empty", it means that the front of the vehicle has completely entered, and a new judgment is made.
[0087] Finding the boundary line: The boundary line identification conditions are: the junction of an empty segment and a segment with an object, and the length of the empty segment and the segment with an object must be greater than the distance between two light beams (2D is generally greater than 15CM), to be considered a reliable boundary line, with a confidence level of 1.
[0088] The dividing line refers to the boundary between the carriage and the non-carriage, the "empty segment" refers to the unobstructed segment in the grating group, and the "object segment" is the obstructed segment. Therefore, the dividing line is actually the dividing line between the obstructed and unobstructed segments in the grating group.
[0089] All boundaries with a confidence level of 1 will record key parameters through the data hash table and assign boundary numbers, boundary position coordinates (X), and the current time.
[0090] Whether it is an empty segment or a segment with objects, it must be repeatedly verified for several cycles. Although the train is running, the length of the train carriages and the distance between the carriages are fixed. Therefore, the position of the train changes in each detection cycle, but the gap between the carriages and the dividing line between the carriages and non-carriages do not change. This invariance in change can be verified through multiple detection cycles. If the dividing line and the gap between the carriages are determined after several cycles of verification (generally set to three detection cycles), its confidence can be set to 1 and the data can be stored in the hash table.
[0091] Finding complete gaps: The train passes through different states of the grating group, resulting in different numbers and degrees of completeness of gaps between the two carriages. The complete gaps are found through analysis and judgment, and the confidence level is set: The condition for a confidence level of 1 is that the gap between the two obscured objects is a complete gap, and the obscured length on both sides of the gap is greater than the two light distances (at least 15CM, the length can be set). When this obscuration distance condition is met and after more than three calculation cycles, it is still judged to be a complete gap, then this gap is marked as a confidence level of 1.
[0092] All gaps with a confidence level of 1 record key parameters through a data hash table, including the gap number, the coordinates on both sides of the gap, and the current time.
[0093] To find the gap, you can use the following methods: Figure 5 , Figure 6 , Figure 7 , Figure 8 For example: Figure 5 This is working condition 1, with two gaps of comparable length, a longer obstruction in the middle, and two small obstructions at both ends. Figure 6 is working condition 2, and Figure 5 Very similar, except that the length of the empty segment near the origin of the raster is equal to or less than the length of the previous empty segment. Figure 7 This is working condition 3, which has an empty segment in the middle and blocked segments in front and behind. Figure 8 This is working condition 4, there is a small empty segment near the end point of the grating group. This empty segment is shorter than the other blocked segment. There is a longer blocked segment in the middle, a blank segment at the back, and then another blocked segment.
[0094] From the above analysis, we can see that under different working conditions, the number of gaps between the two carriages is different, and the degree of completeness is different. Therefore, when the algorithm is used to find a complete gap, a confidence level is set. The condition for a confidence level of 1 is that the gap between the two obscured objects is a complete gap, and the obscured length on both sides of the gap is greater than 15CM (the length can be set). When this obstruction distance condition is met and the gap is still judged to be complete after more than three calculation cycles, the gap is marked as a confidence level of 1.
[0095] Finding a complete carriage: Condition: A complete section between two gaps may be a complete carriage. If the gaps on both sides are larger than the two light spacings (the 3D length is larger than 15CM), and the distance is between 9 and 15 meters, it is confirmed to be a complete carriage, and the confidence of the carriage mark is marked as 1.
[0096] The key parameters are recorded through the data hash table, which are the rear position coordinate X1, the front position coordinate X2, and the current time T of the carriage.
[0097] Determine the front of the train: After determining that a vehicle has entered the light barrier group, wait for the length of the vehicle to be calculated. When the length of the first vehicle is calculated, it is considered that the front of the train has completely left and officially entered the first carriage.
[0098] Judging the rear of the car: there is only one dividing line, the confidence level is 1, and the dividing line gradually moves from the endpoint to the origin, such as Fig. 9 shown.
[0099] The above-mentioned analyses and judgments are performed in parallel, and are all comparison and judgment of optical signals of multiple acquisition cycles that are repeatedly patrolled.
[0100] Step 5, train speed calculation:
[0101] 1) Calculate the speed using a complete carriage:
[0102] Take out two adjacent carriages with a confidence level of 1 from the hash table, calculate the moving speed of the center of the carriage, and use it as the speed of the train.
[0103] For example: The data for this calculation cycle is X3, X4, T1.
[0104] The data of the previous calculation cycle are X3', X4', T1'.
[0105] The translation distance of the center line of the carriage between two calculation cycles is d1 = (X3 + X4) / 2 - (X3' + X4') / 2
[0106] Speed v1 = d1 / (T1 - T1').
[0107] 2) Calculate the speed using gap translation:
[0108] Take out two adjacent calculation cycles, the gap with the same number and confidence level of 1 from the hash table, calculate the moving speed of the center of the gap, and use it as the speed of the train.
[0109] For example: The data for this calculation cycle is X5, X6, T2.
[0110] The data of the previous calculation cycle are X5', X6', T2'.
[0111] The distance of the centerline translation of the gap between two calculation cycles is d2 = (X5 + X6) / 2 - (X5' + X6') / 2
[0112] Speed v2 = d2 / (T2 - T2').
[0113] 3) Calculate speed using dividing line:
[0114] Take out the gap between two adjacent calculation cycles with the same number and a confidence level of 1 from the hash table, calculate the moving speed of the dividing line, and use it as the speed of the train.
[0115] For example: The boundary data of this calculation cycle is X7, T3.
[0116] The boundary data of the previous calculation cycle is X7', T3'.
[0117] The translation distance of the dividing line between two calculation cycles is d3 = X7-X7'
[0118] Speed v3 = d3 / (T3 - T3').
[0119] The above three methods can all calculate the speed. Carriage translation is used first to calculate the speed. If no result is obtained, gap translation is used to calculate the speed. If the above two methods do not calculate the speed, the dividing line is used for calculation.
[0120] Step 6, train car length and displacement calculation:
[0121] The length L of the carriage is calculated based on the front and rear coordinates of the carriage: L = (X1-X2) × D.
[0122] Train front rail distance calculation device: the distance l1 from the origin to the front edge of the train carriage: l1 = X2×D.
[0123] Train rear rail distance calculation device: The distance from the origin to the rear edge of the train carriage is l2: l2 = X1 × D, such as Figure 1 shown.
[0124] The calculation method of the train front rail distance calculation device and the train rear rail distance calculation device is: retrieve the front dividing line and dividing line data of the current car in the hash table, and after the complete car length has been obtained, start from the grating origin position and detect backward from the front dividing line position of the car to determine the rear dividing line position of the car, and calculate the distance from the front of the car to the grating origin, as well as the distance from the rear rail of the car to the origin through the dividing line position.
[0125] Step 7, collecting calculation results: used to collect the calculation results of the train running status of each collection cycle.
[0126] All data in each collection cycle that can reach a confidence level of 1 is recorded in the hash table for easy reference.
[0127] Step 8, train motion animation processing: used to process the train motion process through images to form an animation that can move in real time on the display screen.
[0128] Animation is used to reflect the movement status of the train in the grating in real time, and the movement animation of the process is displayed on the human-computer interaction interface and the current carriage movement data is displayed on the interface, so that the operator can not only observe the movement image of the train intuitively, but also understand the precise movement position through the data.
[0129] Step 9, data output: used to convert the calculation results of the train running status into chute motion control data, and output the chute motion control data to the chute control PLC.
[0130] The important role of the grating group data is to control the lifting and lowering of the chute, that is, to accurately calculate when the train car arrives at the loading point, the chute is lowered and the material is discharged, and then the car point corresponding to the end point of the discharge is accurately calculated to ensure uniform loading and full load.
[0131] Step 10, log recording: used to record the detection data and calculation data of all grating groups in the train loading process in real time, so as to conduct a complete historical backtracking.
[0132] Taking days as the time unit, record the number of loaded trains (number of trains) in one day, and summarize the specific loading data of each train to form a complete data package so that it can be called and searched at any time.
[0133] Embodiment 2:
[0134] This embodiment is an improvement of the above embodiment, and is a refinement of the detection period of the above embodiment. The detection period described in this embodiment is 200 to 400 milliseconds.
[0135] The detection period is determined by the detection period of each grating in the grating group. For example, the detection period of one grating may be 50 milliseconds, while the detection period of six groups of gratings may be 300 milliseconds.
[0136] Finally, it should be noted that the above is only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred arrangement scheme, a person skilled in the art should understand that the technical solution of the present invention (such as the form of the detection system, the form of the loading station, the sequence of steps, etc.) can be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present invention.
Claims
1. A method for grating monitoring at a train quantitative loading station, the system used in the method comprising: A quantitative loading grating monitor that can be hung on the wall, a data processing system inside the instrument, and a grating group installed on both sides of the railway at the loading station; characterized in that the steps of the method are as follows: Step 1, parameter setting: setting various application parameters of the quantitative loading grating monitor; setting the arrangement of the grating group as follows: the starting point where the train enters the grating group is the end point, and the end point of the grating group corresponding to the chute is the origin; setting the distance between the two optical signal sensors as the optical spacing D; setting the detection cycle; Step 2: Grating data acquisition: collect the optical signals received by each grating receiving element of the grating group in a round-trip cycle, edit the grating data of each round in real time, form an original data queue, and output the data queue in real time; Step 3, grating data filtering: filter the collected data, remove some stray data points, eliminate interference, and obtain a relatively ideal array buffer; Step 4, data analysis: used to analyze and judge the array buffer, including: Is it completely empty: If the light signal of the grating group is completely empty, it is judged that no train passes; if it is empty, it is considered that a complete calculation cycle has ended, all calculation results and calculation buffers are cleared, the animation GUI is cleared, and a new waiting state is entered to wait for the locomotive to enter; Determine whether a vehicle enters: When the light signal of the grating group changes from the origin to the object segment and the state gradually increases, it is considered that a vehicle enters the grating group from the end point of the grating group. If an object enters from the empty space, mark it and enter a new calculation cycle. Finding the boundary line: The boundary line identification condition is: the boundary of a space segment and a segment with an object, and the length of the space segment and the segment with an object must be greater than two light spacings to be considered a reliable boundary line, and the confidence level is 1; All the boundaries with a confidence level of 1 will record the key parameters through the data hash table and assign the boundary number, boundary position coordinates (X), and current time; Finding complete gaps: The train passes through different states of the grating group, resulting in different numbers and degrees of completeness of gaps between the two carriages. The complete gaps are found through analysis and judgment, and the confidence level is set: the condition for a confidence level of 1 is that the gap between the two obscured objects is a complete gap, and the obscured lengths on both sides of the gap are greater than the two light distances. When this obscuration distance condition is met and the gap is still judged to be complete after more than three calculation cycles, the gap is marked as confidence level 1; All gaps with a confidence level of 1 record key parameters through the data hash table, including the gap number, the coordinates on both sides of the gap, and the current time; Finding a complete carriage: Condition: A complete section between two gaps may be a complete carriage. If the gaps on both sides are larger than the two light intervals and the distance is between 9 and 15 meters, it is confirmed to be a complete carriage and the confidence of the carriage mark is marked as 1; The key parameters are recorded in the data hash table, which are the rear position coordinate X1, the front position coordinate X2, and the current time T. Determine the front of the train: After determining that a vehicle has entered the light barrier group, wait for the length of the vehicle to be calculated; when the length of the first vehicle is calculated, it is considered that the front of the train has completely left and officially entered the first carriage; Judging the rear of the vehicle: there is only one dividing line with a confidence level of 1, and the dividing line gradually moves from the endpoint to the origin; The above analysis and judgment are carried out in parallel, and are all repeated rounds of optical signal comparison and judgment of multiple collection cycles; Step 5, train speed calculation: 1) Calculate the speed using a complete carriage: Take out two adjacent carriages with a confidence level of 1 from the hash table, calculate the moving speed of the center of the carriage, and use it as the speed of the train; 2) Calculate the speed using the gap translation: Take out two adjacent calculation cycles, the gap with the same number and confidence level of 1 from the hash table, calculate the moving speed of the gap center, and use it as the speed of the train; 3) Calculate speed using dividing line: Take out the gaps between two adjacent calculation cycles with the same number and a confidence level of 1 from the hash table, and calculate the moving speed of the dividing line as the speed of the train; All three methods can calculate the speed. Carriage translation is preferred. If no result is obtained, gap translation is used to calculate the speed. If neither of the above two methods can calculate the speed, the dividing line is used for calculation. Step 6, train car length and displacement calculation: Calculate the length of the carriage L according to the front and rear coordinates of the carriage: L = (X1-X2) × D; Train front rail distance calculation device: distance from the origin to the front edge of the train carriage l 1: l 1 = X2 × D; Train rear rail distance calculation device: the distance from the origin to the rear edge of the train carriage l 2: l 2=X1×D; Step 7, collecting calculation results: used to collect the calculation results of the train running status of each collection cycle; Step 8, train motion animation processing: for processing the train motion process through images to form an animation that can move in real time on the display screen; Step 9, data output: used to convert the calculation result of the train running status into chute motion control data, and output the chute motion control data to the chute control PLC; Step 10, log recording: used to record the detection data and calculation data of all grating groups in the train loading process in real time, so as to conduct a complete historical backtracking.
2. The method according to claim 1, characterized in that The detection period is 200-400 milliseconds.
