Steel rail length measuring method, steel rail information management system and storage medium
Through the combination of induction components and laser sensors, the rail length is automatically calculated, which solves the problems of low manual measurement accuracy and efficiency, and realizes high-precision and automated rail length measurement, ensuring production safety.
Patent Information
- Application Number
- CN202411385835.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-30
- Publication Date
- 2024-12-27
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing rail length measurement mainly relies on manual methods, resulting in low measurement accuracy and low efficiency. Especially when measuring the overall length of the long rail after welding, there are large errors and operational complexity.
Two induction components are used to determine whether the laser is blocked by the rail through the induction signal, determine the direction of movement, and record the movement time and speed to calculate the length of the rail, and combine the laser sensor to move synchronously to achieve automated measurement.
It improves the accuracy and efficiency of rail length measurement, realizes high-precision and automated rail length measurement, reduces manual operation, and ensures production safety.
Smart Images

Figure CN119197335A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of rail information processing, and in particular to a rail length measuring method, a rail information management system and a storage medium. Background Art
[0002] After completing the rail welding, the rail welding base needs to measure the length of the rail and spray the length data on the rail to facilitate subsequent railway rail replacement operations.
[0003] Currently, rail welding bases mainly rely on manual methods to measure long rails. However, since a complete rail is welded from multiple short rails, the short rails need to be cut or repaired during the welding process, which will cause a large error between the overall length of the complete rail and the sum of the lengths of the multiple short rails. In addition, the rail is longer after welding, and the overall length of the rail can reach 500 meters. The accuracy of manual measurement alone is very low.
[0004] In addition, during the manual measurement process, it is necessary to mark the scale in advance, stop one end of the rail accurately at the origin of the scale, and record the scale scale that the other end of the rail is facing by manual measurement to obtain the length of the complete rail. However, the rails are usually started and stopped by a roller track. If a 500-meter-long, approximately 30-ton rail is to be accurately parked at the origin of the scale through a roller track, the control personnel need to make multiple adjustments to barely align the end of the rail with the origin of the scale, resulting in very low efficiency in the length measurement process. Summary of the invention
[0005] The embodiment of the present invention provides a rail length measurement method, a rail information management system and a storage medium to solve the problems existing in the related art. The technical solution is as follows:
[0006] In a first aspect, an embodiment of the present invention provides a rail length measurement method, comprising:
[0007] Acquire multiple sensing signals, where the sensing signals are generated by two sensing components located at two ends of the rail to be measured, and there is a fixed distance between the two sensing components before measurement;
[0008] Identify the signal type of each sensing signal, determine the moving direction of the two sensing components according to the signal type of each sensing signal, and control each sensing component to move along its corresponding moving direction during measurement;
[0009] Obtain the preset moving speed, and record the moving time of each sensing component when the signal changes during the movement process, and calculate the length of the rail to be measured based on the moving time, moving speed and fixed distance.
[0010] In one embodiment, identifying the signal type of each sensing signal includes:
[0011] In the case where the sensing signal is a first signal, determining that the sensing component corresponding to the first signal is the first sensing component; the first signal is generated when the sensing component detects the presence of an obstruction;
[0012] In the case where the sensing signal is the second signal, the sensing component corresponding to the second signal is determined to be the second sensing component; the second signal is generated when the sensing component detects that there is no obstruction.
[0013] In one embodiment, determining the moving directions of the two sensing components according to the signal type of each sensing signal includes:
[0014] Controlling the first sensing component to move axially along a first direction according to the first signal, where the first direction is a direction away from the midpoint of the rail to be measured;
[0015] The second sensing component is controlled to move axially along a second direction according to the second signal, and the second direction is a direction close to the midpoint position of the rail to be measured.
[0016] In one embodiment, calculating the length of the rail to be measured according to the moving duration, the moving speed, and the fixed distance includes:
[0017] Calculating the moving distance of the first sensing component according to the moving time of the first sensing component and a preset moving speed to obtain a first moving distance;
[0018] Calculate the moving distance of the second sensing component according to the moving time and moving speed of the second sensing component to obtain a second moving distance;
[0019] The length of the rail to be measured is calculated according to the first moving distance, the second moving distance and the fixed distance.
[0020] In one embodiment, the sensing component is composed of two first laser sensors, the two first laser sensors move synchronously and there is a fixed distance between the two first laser sensors.
[0021] In one embodiment, it further includes:
[0022] Acquire detection signals of two second laser sensors, where the two second laser sensors are located between the two sensing components;
[0023] When the detection signals of the two second laser sensors are both first signals, a plurality of sensing signals are acquired.
[0024] In a second aspect, an embodiment of the present invention provides a rail information management system, comprising:
[0025] A rail measuring module, executing the rail length measuring method as described above;
[0026] The spray control module is connected to the rail measuring module and is used to receive the length information of the rail to be measured output by the rail measuring module and perform the spray operation. The spray operation is to spray the specified information to the specified position of the rail to be measured, and the specified information includes length information, rail type, and working edge.
[0027] In one embodiment, it further includes:
[0028] A scanning module, used to scan and obtain the barcode information of the rail to be tested;
[0029] The ledger management module is connected to the scanning module, the rail measuring module and the inkjet printing control module, and is used to record the barcode information, length information, rail type and measurement time of the rail to be measured, and to associate the barcode information, length information, rail type and measurement time; wherein the inkjet printing information is generated by the inkjet printing control module.
[0030] In one embodiment, it further includes:
[0031] The track type management module is connected to the printing control module and is used to receive the designated track type information, select the designated track type corresponding identification from the preset database according to the designated track type information, and send it to the printing control module to execute the printing operation.
[0032] In a third aspect, an embodiment of the present invention provides a computer-readable storage medium, which stores a computer program. When the computer program runs on a computer, the method in any one of the above-mentioned embodiments is executed.
[0033] The advantages or beneficial effects of the above technical solution include at least:
[0034] The present invention is provided with two sensing components, and the sensing signals of the two sensing components are used to determine whether the laser emitted by each sensing component is blocked by the rail to be measured, and the moving directions of the two sensing components are respectively determined according to the blocked state of each sensing component, and timing is performed during the movement of each sensing component, and the moving time of each sensing component when the signal changes during the movement is recorded, and the length of the rail to be measured is calculated according to each moving time, a preset moving speed, and a fixed distance between the two sensing components. The present invention measures the length of the rail through multiple sensing components, replacing the manual measurement method, and can improve the measurement accuracy and efficiency.
[0035] At the same time, the steel information management system of the present invention integrates multiple technologies such as laser sensing measurement, scanning collection and identification, and information platform, and comprehensively realizes the functions of automatic measurement of rail length, automatic scanning and registration of rail codes, automatic sending of rail spraying information to switching spraying, automatic record of information and automatic uploading to the rail information system, thereby improving the degree of automation of information management. After the steel information management system is deployed, the entire measurement process has a high degree of automation, and a single person can achieve high-precision measurement of rail length. In addition, during operation, the system does not contact the rails or invade the roller track, so it can guarantee production safety to the greatest extent.
[0036] The above summary is for illustrative purposes only and is not intended to be limiting in any way. In addition to the illustrative aspects, embodiments and features described above, further aspects, embodiments and features of the present invention will be readily apparent by reference to the accompanying drawings and the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In the accompanying drawings, unless otherwise specified, the same reference numerals throughout the multiple drawings represent the same or similar parts or elements. These drawings are not necessarily drawn to scale. It should be understood that these drawings only depict some embodiments disclosed in the present invention and should not be regarded as limiting the scope of the present invention.
[0038] Figure 1 It is a schematic diagram of the flow chart of the rail length measuring method of the present invention;
[0039] Figure 2 One of the schematic diagrams of the moving directions of the two sensing components of the present invention;
[0040] Figure 3 The second schematic diagram of the moving direction of the two sensing components of the present invention;
[0041] Figure 4 The third schematic diagram of the moving direction of the two sensing components of the present invention;
[0042] Figure 5 It is a schematic diagram of the synchronous movement of two first laser sensors of the present invention;
[0043] Figure 6 A schematic diagram of a module of a rail information management system of the present invention;
[0044] Figure 7 A schematic diagram of the execution flow of a rail information management system of the present invention;
[0045] Figure 8 The structure block diagram of an electronic device according to an embodiment of the present invention.
[0046] In the figure: 1. first sensing component; 2. second sensing component. DETAILED DESCRIPTION
[0047] In the following, only some exemplary embodiments are briefly described. As those skilled in the art will appreciate, the described embodiments may be modified in various ways without departing from the spirit or scope of the present invention. Therefore, the drawings and descriptions are considered to be exemplary and non-restrictive in nature.
[0048] Embodiment 1
[0049] This embodiment provides a rail length measurement method, which can replace the manual measurement method and detect the length of the rail to be measured through a sensing component, thereby improving the measurement accuracy and efficiency.
[0050] Specifically, Figure 1 As shown in FIG. 1 , the rail length measurement method specifically includes the following steps:
[0051] Step S1: Acquire multiple sensing signals, where the sensing signals are generated by two sensing components located at two ends of the rail to be measured, and there is a fixed distance between the two sensing components before measurement.
[0052] It should be noted that the sensing component is set on a preset track, and the sensing component can move axially back and forth along the preset track; and the rail to be tested can move along the roller line, wherein the preset track and the roller line are parallel to each other, so as to achieve the effect of axial movement of the sensing component at the left and right ends of the rail to be tested.
[0053] In this embodiment, two initial positions are pre-set on the preset track. Before the length measurement is performed, the two sensing components are respectively located at their corresponding initial positions. Since the distance between the two initial positions is known, before the length measurement is performed, that is, in the initial state, there is a fixed distance between the two sensing components, and the fixed distance is known.
[0054] It needs to be explained that the sensing component has a transmitting end and a receiving end. The transmitting end can emit a detection signal, such as laser, sound wave, etc.; the receiving end can receive the reflected detection signal; assuming that there is an obstruction in front of the sensing component, the detection signal emitted by the sensing component will be reflected by the obstruction, and the sensing component outputs a sensing signal when it receives the reflected detection signal.
[0055] Similarly, assuming there is no obstruction in front of the sensing component, the detection signal emitted by the sensing component cannot be returned, and the receiving end of the sensing component does not receive the reflected detection signal. The sensing component will also output a sensing signal, but the sensing signal is different from the sensing signal output when there is an obstruction.
[0056] In this embodiment, the transmitting end and the receiving end of the sensing component are integrated on the same side, or a laser sensor is directly used to achieve the effects of transmitting and receiving.
[0057] Step S2: Identify the signal type of each sensing signal, determine the moving direction of the two sensing components according to the signal type of each sensing signal, and control each sensing component to move along its corresponding moving direction during measurement.
[0058] Specifically, when the sensing signal is the first signal, it is determined that the sensing component corresponding to the first signal is the first sensing component 1; the first signal is generated when the sensing component detects the presence of an obstruction;
[0059] When the sensing signal is the second signal, it is determined that the sensing component corresponding to the second signal is the second sensing component 2; the second signal is generated when the sensing component detects that there is no obstruction.
[0060] This embodiment can measure the length of the steel rails of different lengths. When the steel rail of unknown length moves along the roller track to the area where the two sensing components are located, the following situations may occur:
[0061] 1. Both sensing components are not blocked by the rail to be tested (e.g. Figure 2 Scenario shown);
[0062] 2. One of the sensing components is blocked by the rail to be tested, while the other sensing component is not blocked by the rail to be tested (e.g. Figure 3 Scenario shown);
[0063] 3. The two sensing components are blocked by the rail to be tested (such as Figure 4 scene shown).
[0064] In this embodiment, the direction of controlling the movement of the sensing component may be different in different situations, specifically:
[0065] When the sensing signal is a first signal, a first control instruction is generated according to the first signal and sent to the first sensing component 1 to control the first sensing component 1 to move axially along a first direction, where the first direction is a direction away from the midpoint of the rail to be measured;
[0066] When the sensing signal is the second signal, a second control instruction is generated according to the second signal and sent to the second sensing component 2, and the second sensing component 2 is controlled to move axially along the second direction according to the second signal, and the second direction is the direction close to the midpoint position of the rail to be measured.
[0067] Combined with Figure 3 Description, in Figure 3 The first direction is Figure 3 The direction indicated by the arrow on the right side of the middle, the second direction is Figure 3In the direction indicated by the arrow on the left.
[0068] Step S3: Obtain a preset moving speed, and record the moving time of each sensing component when the signal changes during the moving process, and calculate the length of the rail to be measured according to each moving time, moving speed and fixed distance.
[0069] It should be noted that the moving speed can be set in advance so that each sensing component moves at a uniform speed according to the preset moving speed.
[0070] In this embodiment, when any sensing component starts to move, the timing operation is started, and the changes in the sensing signal output by the sensing component during the movement are monitored in real time; when the sensing component moves to a certain position, the sensing signal output by the sensing component changes, from outputting the first signal to outputting the second signal, or from outputting the second signal to outputting the first signal, which means that the sensing component moves to the position directly opposite to the end of the rail to be tested. At this time, the moving time of the sensing component is counted according to the timing time, and the moving time can be combined with the preset moving speed to calculate the moving distance of the sensing component.
[0071] With the cooperation of the two sensing components, the moving distance of the first sensing component 1 is calculated according to the moving time of the first sensing component 1 and the preset moving speed to obtain the first moving distance;
[0072] Calculate the moving distance of the second sensing component 2 according to the moving time and moving speed of the second sensing component 2 to obtain a second moving distance;
[0073] The length of the rail to be measured is calculated according to the first moving distance, the second moving distance and the fixed distance.
[0074] It should be noted that when calculating the length of the steel rail to be measured, it is necessary to determine whether the value of the moving distance is a positive value or a negative value according to the moving direction of the sensing component. In this embodiment, assuming that the first direction is a positive direction, the moving distance of the sensing component moving along the first direction is a positive value; assuming that the second direction is a negative direction, the moving distance of the sensing component moving along the second direction is a negative value, so as to accurately calculate the length of the steel rail to be measured.
[0075] For example, combining Figure 2 , Figure 5As shown, when it is recognized that both sensing signals are the second signal, it means that both sensing components are in an unblocked state, and at this time, both sensing components are called second sensing components 2; the two second sensing components 2 are controlled to move axially along the second direction, that is, gradually move toward the direction close to the midpoint position of the rail to be measured, which is equivalent to the two second sensing components 2 moving toward each other, and the moving time when the sensing signals of the two second sensing components 2 change is recorded respectively, and the corresponding moving distances are calculated according to their respective moving time (the moving distances of the two second sensing components are shown in FIG. Figure 5 Since both second sensing components 2 move along the second direction, the moving distances of the two second sensing components 2 are both negative values. At this time, the fixed distance ( Figure 5 The length of the rail to be measured is obtained by subtracting the moving distances (S1 and S2) of the two second sensing components 2 from S0 in the figure.
[0076] Furthermore, in order to improve the reliability of the measurement result, a sensing component can be composed of two first laser sensors, such as Figure 5 As shown, Figure 5 The meaning of the double vertical lines in the middle is a schematic diagram of two first laser sensors emitting lasers for detection at the same time; the two first laser sensors move synchronously and detect simultaneously, and there is a fixed distance between the two first laser sensors. In this embodiment, the fixed distance is relatively small. In each measurement, the measurement results of the two first laser sensors can be checked against each other. If the time points at which the signals of the two first laser sensors change during the movement differ greatly, an alarm can be issued; if the time points at which the signals of the two first laser sensors change during the movement coincide with the fixed distance between the two first laser sensors, it means that the measurement is normal.
[0077] Under normal measurement conditions, the two first laser sensors in the same sensing component are detected simultaneously, and the movement time of the two first laser sensors in the same sensing component is recorded. The average value of the two movement time is calculated, and the value calculated based on the average value and the moving speed is used as the moving distance of the sensing component to improve the accuracy and reliability of the measurement results.
[0078] On the other hand, the two first laser sensors of the same sensing component detect and move synchronously at the same time, so that when one of the laser sensors fails, the measurement task can still be continued through the other laser sensor, thereby improving the measurement efficiency.
[0079] Furthermore, at least two second laser sensors may be arranged between the two sensing components, such as Figure 5 As shown, Figure 5The middle longitudinal single line represents the laser emitted by the second laser sensor; the second laser sensor is fixed on a preset track, that is, the second laser sensor cannot move, and two second laser sensors are fixed on the track, and the distance between them is also known.
[0080] It should be noted that the detection principle of the second laser sensor in this embodiment is the same as the detection principle of the sensing component, and will not be described again here.
[0081] Before acquiring the sensing signal of the sensing component, firstly acquiring the detection signals of two second laser sensors, where the two second laser sensors are both located between the two sensing components;
[0082] When the detection signals of the two second laser sensors are both the first signals, that is, the lasers emitted by the two second laser sensors are reflected and received by the rail to be measured, it means that the rail to be measured has now reached the measurement area between the two sensing components. At this time, the two sensing components can be activated to start measuring, thereby obtaining the sensing signals output by the two sensing components, and determining the moving direction of the sensing components based on the sensing signals, so as to locate the position of the rail to be measured.
[0083] In this embodiment, the distance between the two second laser sensors can be set to be approximately equal to the length of the rail to be measured, so as to reduce the distance from the sensing component to the end of the rail to be measured, so as to quickly complete the task of accurately measuring the length of the rail to be measured.
[0084] It should be noted that, after completing the length measurement task of the current rail to be measured, this embodiment controls the two sensing components to reset. At this time, the two sensing components are restored to their corresponding initial positions to facilitate the subsequent execution of other measurement tasks.
[0085] This embodiment is provided with two sensing components, and the sensing signals of the two sensing components are used to determine whether the laser emitted by each sensing component is blocked by the rail to be measured, and the moving directions of the two sensing components are determined respectively according to the blocked state of each sensing component, and timing is performed during the movement of each sensing component, and the moving time of each sensing component when the signal changes during the movement is recorded, and the length of the rail to be measured is calculated according to each moving time, a preset moving speed, and a fixed distance between the two sensing components. The present invention measures the length of the rail through multiple sensing components, replacing the manual measurement method, and can improve the measurement accuracy and efficiency.
[0086] Embodiment 2
[0087] This embodiment provides a rail information management system, combined with Figure 6 , Figure 7 As shown, the system includes the following modules:
[0088] The rail measuring module is used to execute the rail length measuring method as in the first embodiment; the functions of this module can refer to the corresponding description in the above method, which will not be repeated here.
[0089] The spray control module is connected to the rail measuring module and is used to receive the length information of the rail to be measured output by the rail measuring module and perform a spray operation, wherein the spray operation is to spray the length information to a designated position of the rail to be measured.
[0090] It should be noted that the inkjet control module of this embodiment uses an automatic inkjet printer to implement inkjet operation. The inkjet control module receives the length information of the rail to be measured output by the rail measurement module in real time through the WIFI / Bluetooth interface, and generates corresponding inkjet instructions according to the length information, the model of the rail to be measured, etc. After receiving the inkjet instruction, the automatic inkjet printer sprays the length information, the model of the rail to be measured, etc. at the designated position of the rail to be measured. In addition, the inkjet control module can automatically switch the inkjet content according to the information of different rails to be measured, thereby improving work efficiency.
[0091] Furthermore, the rail information management system also includes:
[0092] The scanning module is used to scan and obtain the barcode information of the rail to be tested; wherein, the scanning module is composed of a barcode scanner, which is connected to the rail measuring module in real time. When the second laser sensor of the rail measuring module detects that the rail enters the measuring range, the barcode scanner can be moved on a preset track to scan all the barcodes on the rail to be tested in real time. For example, the scanning module scans the rail code at a speed of 85 frames per second; in addition, the barcode scanner can also be fixed, and the rail to be tested passes through the barcode scanner when moving along the roller line, thereby scanning all the barcodes on the rail to be tested.
[0093] If the barcode scanner scans a valid code, it will compare the scan result with the previously obtained result to determine the information of the current rail to be tested; if there is no such result before, it will be stored and managed; when the laser sensor cannot sense the rail, the scanning module stops scanning.
[0094] Furthermore, the rail information management system also includes:
[0095] The ledger management module is connected to the scanning module, the rail measurement module and the inkjet control module. The ledger management module is used to record and store various information of each rail, such as barcode information, length information, rail type, working edge, etc., and associate the barcode information, length information, rail type, working edge, etc. to collect all the information of each rail; the ledger management module also provides database storage, query, export and other functions.
[0096] Furthermore, the rail information management system also includes:
[0097] The visual interaction module is connected to the ledger management module. The visual interaction module uses intuitive graphics to express the status of each part of the system, guide customers to operate correctly, and display the results of measurement, printing, etc., which is convenient for users to use. Through the visual graphics interface, users can monitor the working status of the rail measurement module, the current process, the rail code obtained by the scanning module, and the rail position in real time. The rail length measurement function can be realized through the software button, and the measurement results of the rail length can be displayed in real time.
[0098] Furthermore, the rail information management system also includes:
[0099] The rail type management module is connected to the visual interaction module and the printing control module, and is used to receive the specified rail type information input by the user through the visual interaction module, and select the corresponding identification of the specified rail type from the database according to the specified rail type information and send it to the printing control module, so that the printing control module can print the specified rail type information onto the rail according to the identification.
[0100] Furthermore, the rail information management system also includes:
[0101] The abnormal alarm module alarms the abnormalities of the entire system, including abnormal collected barcode data, abnormal measured length information, abnormal equipment operation, etc., and provides real-time alarms.
[0102] The steel information management system of this embodiment integrates multiple technologies such as laser sensing measurement, scanning collection and identification, and information platform, and comprehensively realizes functions such as automatic measurement of rail length, automatic scanning and registration of rail codes, automatic sending of rail spraying information to switching spraying, automatic record of information and automatic upload to the rail information system, thereby improving the degree of automation of information management. After the steel information management system is deployed, the entire measurement process has a high degree of automation, and a single person can achieve high-precision measurement of rail length. In addition, during operation, the system does not touch the rails or invade the roller track, so it can ensure production safety to the greatest extent.
[0103] Embodiment 3
[0104] This embodiment provides an electronic device, Figure 8 FIG. 2 shows a structural block diagram of an electronic device according to an embodiment of the present invention. Figure 8 As shown, the electronic device includes: a memory 100 and a processor 200. The memory 100 stores a computer program that can be run on the processor 200. When the processor 200 executes the computer program, the rail length measurement method in the above embodiment is implemented. The number of the memory 100 and the processor 200 can be one or more.
[0105] The electronic device also includes:
[0106] The communication interface 300 is used to communicate with external devices and perform data exchange transmission.
[0107] If the memory 100, the processor 200 and the communication interface 300 are implemented independently, the memory 100, the processor 200 and the communication interface 300 can be connected to each other through a bus and communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc.
[0108] Optionally, in a specific implementation, if the memory 100, the processor 200 and the communication interface 300 are integrated on a chip, the memory 100, the processor 200 and the communication interface 300 can communicate with each other through an internal interface.
[0109] An embodiment of the present invention provides a computer-readable storage medium storing a computer program, which implements the method provided in the embodiment of the present invention when executed by a processor.
[0110] An embodiment of the present invention further provides a chip, which includes a processor for calling and executing instructions stored in the memory from the memory, so that a communication device equipped with the chip executes the method provided by the embodiment of the present invention.
[0111] An embodiment of the present invention also provides a chip, including: an input interface, an output interface, a processor and a memory, wherein the input interface, the output interface, the processor and the memory are connected via an internal connection path, and the processor is used to execute the code in the memory. When the code is executed, the processor is used to execute the method provided by the embodiment of the invention.
[0112] It should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc. It is worth noting that the processor may be a processor supporting the advanced RISC machines (ARM) architecture.
[0113] Further, optionally, the above-mentioned memory may include a read-only memory and a random access memory, and may also include a non-volatile random access memory. The memory may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may include a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may include a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available. For example, static RAM (SRAM), dynamic random access memory (DRAM), synchronous DRAM (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM) and direct rambus RAM (DR RAM).
[0114] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function according to the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium.
[0115] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine different embodiments or examples described in this specification and the features of different embodiments or examples, unless they are contradictory.
[0116] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0117] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of various changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A method for measuring rail length, characterized in that: include: Acquire multiple sensing signals, wherein the sensing signals are generated by two sensing components located at two ends of the rail to be measured, and there is a fixed distance between the two sensing components before measurement; Identifying a signal type of each of the sensing signals, determining a moving direction of the two sensing components according to the signal type of each of the sensing signals, and controlling each of the sensing components to move along its corresponding moving direction during measurement; The preset moving speed is obtained, and the moving time of each sensing component when the signal changes during the moving process is recorded, and the length of the rail to be measured is calculated according to each moving time, the moving speed and the fixed distance.
2. The rail length measuring method according to claim 1, characterized in that: The identifying the signal type of each of the sensing signals comprises: In the case where the sensing signal is a first signal, determining that the sensing component corresponding to the first signal is a first sensing component; the first signal is generated when the sensing component detects the presence of an obstruction; In the case that the sensing signal is a second signal, it is determined that the sensing component corresponding to the second signal is a second sensing component; the second signal is generated when the sensing component detects that there is no obstruction.
3. The rail length measuring method according to claim 2, characterized in that: The step of determining the moving directions of the two sensing components according to the signal type of each sensing signal comprises: Controlling the first sensing component to move axially along a first direction according to the first signal, wherein the first direction is a direction away from a midpoint position of the steel rail to be measured; The second sensing component is controlled to move axially along a second direction according to the second signal, and the second direction is a direction close to the midpoint position of the rail to be measured.
4. The rail length measuring method according to claim 2, characterized in that: The calculating the length of the rail to be measured according to the moving duration, the moving speed and the fixed distance comprises: Calculating a moving distance of the first sensing component according to the moving duration and the moving speed of the first sensing component to obtain a first moving distance; Calculating a moving distance of the second sensing component according to the moving duration and the moving speed of the second sensing component to obtain a second moving distance; The length of the rail to be measured is calculated according to the first moving distance, the second moving distance and the fixed distance.
5. The rail length measuring method according to claim 1, characterized in that: The sensing component is composed of two first laser sensors, the two first laser sensors move synchronously and there is a fixed distance between the two first laser sensors.
6. The rail length measuring method according to claim 1, characterized in that: Also includes: Acquire detection signals of two second laser sensors, where the two second laser sensors are both located between the two sensing components; The multiple sensing signals are acquired when the detection signals of the two second laser sensors are both first signals.
7. A rail information management system, characterized in that: include: A rail measuring module, executing the rail length measuring method according to any one of claims 1 to 6; The spray control module is connected to the rail measuring module, and is used to receive the length information of the rail to be measured output by the rail measuring module, and perform a spray operation, wherein the spray operation is to spray designated information to a designated position of the rail to be measured, and the designated information includes the length information, rail type, and working edge.
8. The rail information management system according to claim 7, characterized in that: Also includes: A scanning module, used for scanning and obtaining the barcode information of the rail to be tested; The ledger management module is connected to the scanning module, the rail measuring module and the printing control module, and is used to record the barcode information, the length information, the rail type and the measurement time of the rail to be measured, and associate the barcode information, the length information, the rail type and the measurement time; wherein the printing information is generated by the printing control module.
9. The rail information management system according to claim 7, characterized in that: Also includes: The track type management module is connected to the inkjet printing control module and is used to receive designated track type information, select the designated track type corresponding identifier from the preset database according to the designated track type information, and send it to the inkjet printing control module to execute the inkjet printing operation.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the rail length measuring method according to any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
System and method for transmitting data among inkjet printing machines and ERP (enterprise resource planning) system
CN103713866A
Steel pipe length measuring method and device
CN112284316A
Judgment method, device and equipment for target identification in blind area of sensor
CN115166708A
Track geometric parameter detection equipment
CN117657230A
Rail system with rail, coding system, mobile part that can be moved along the rail and method for operating a rail system
WO2020187447A1
