Code spraying control method, device and equipment for railway track and medium

By using encoder and inkjet inkjet trucks moving on railway tracks, combining data calculation and actual rotation number acquisition methods, the efficient and high precision of railway track inkjet coding is achieved, and the low efficiency in traditional methods is solved and the problem of low accuracy.

CN119459158APending Publication Date: 2025-02-18CHINA RAILWAY FIFTH SURVEY & DESIGN INST GRP CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202411716632.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-27
Publication Date
2025-02-18

AI Technical Summary

Technical Problem

Traditional railway track inkjet operation is low efficiency and low accuracy, and the existing equipment is complex in structure, high cost and cumbersome in operation.

Method used

Provide a method and device for inkjet coding control of railway tracks. Using a inkjet coding vehicle moving on the track, combining an encoder and inkjet coding device, calculate the reference rotation number by obtaining the data to be printed and the starting mileage information, and collecting the reference rotation number. The actual number of rotation turns is printed when the reference number of rotation turns is reached.

Benefits of technology

It realizes accurate determination and efficient injection coding of the printing position, solves the problems of inaccurate printing position and complicated operation in traditional mechanical printing methods, and improves the accuracy of track injection coding.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119459158A_ABST
    Figure CN119459158A_ABST
Patent Text Reader

Abstract

The invention relates to a code spraying control method and device for a railway track, equipment and a medium, and the method comprises the steps: obtaining to-be-sprayed data and initial mileage information of the current round of spray printing, and the to-be-sprayed data comprises spray printing contents and spray printing position parameters corresponding to the spray printing contents; according to the jet printing position parameter, the initial mileage information and the single-circle walking distance of the encoder, the reference rotation circle number corresponding to the jet printing content is calculated, and the working mode comprises one of a preset recording automatic code spraying mode and a preset interval automatic code spraying mode; in the process that the code spraying vehicle moves on the track, the actual number of rotation turns is collected through an encoder; and when the actual number of rotation turns collected by the encoder reaches the reference number of rotation turns, the current jet printing content is obtained from the to-be-jet-printed data, and the code sprayer is controlled to carry out jet printing processing based on the current jet printing content. According to the technical scheme, automatic code spraying control can be achieved, and the track code spraying precision is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of railway maintenance, and in particular to a railway track coding control method, device, equipment and medium. Background Art

[0002] Railway rails usually need to be coded during daily maintenance during use. The coding operation mainly involves spraying letters, numbers, symbols, etc. on the surface of the rails.

[0003] At present, traditional spraying operations rely on manual brushing, which has low brushing efficiency, high labor intensity, irregular brushing, and low mileage marking accuracy. The existing rail coding equipment has complex structure, high cost, complex operation and low printing accuracy. Summary of the invention

[0004] In order to solve the above technical problems, the present disclosure provides a railway track coding control method, device, equipment and medium.

[0005] In a first aspect, an embodiment of the present disclosure provides a method for controlling coding of a railway track, which is applied to a coding vehicle moving on the track, wherein the coding vehicle includes a coding device and an encoder, and the method includes:

[0006] In response to the track coding request, the data to be printed and the starting mileage information of the current round of printing are obtained; the data to be printed includes the printing content and the printing position parameters corresponding to the printing content;

[0007] Based on the working mode of this round of printing, the reference number of rotations corresponding to the printing content is calculated according to the printing position parameters, the starting mileage information and the single-circle travel distance of the encoder; the working mode includes one of a predetermined record automatic coding mode and a predetermined interval automatic coding mode;

[0008] When the coding vehicle moves on the track, the actual number of rotations is collected by the encoder;

[0009] When the actual number of rotations collected by the encoder reaches the reference number of rotations, the current printing content is obtained from the data to be printed, and the inkjet printer is controlled to perform printing based on the current printing content.

[0010] In a second aspect, an embodiment of the present disclosure provides a coding control device for a railway track, which is applied to a coding vehicle moving on the track, the coding vehicle including a coding device and an encoder, and the device includes:

[0011] An acquisition module, used for acquiring the data to be printed and the starting mileage information of the current round of printing in response to the track coding request; the data to be printed includes the printing content and the printing position parameters corresponding to the printing content;

[0012] A determination module, for calculating the reference number of rotations corresponding to the printing content based on the working mode of this round of printing, according to the printing position parameter, the starting mileage information and the single-circle travel distance of the encoder; the working mode includes one of a predetermined record automatic coding mode and a predetermined interval automatic coding mode;

[0013] A collection module, used for collecting the actual number of rotations through the encoder when the coding vehicle moves on the track;

[0014] The control module is used to obtain the current printing content from the data to be printed when the actual number of rotations collected by the encoder reaches the reference number of rotations, and control the inkjet printer to perform printing based on the current printing content.

[0015] In a third aspect, an embodiment of the present disclosure provides a coding device, comprising: a processor; a memory for storing executable instructions of the processor; the processor is used to read the executable instructions from the memory and execute the instructions to implement the coding control method for railway tracks described in the first aspect above.

[0016] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, the coding control method for the railway track described in the first aspect is implemented.

[0017] Compared with the prior art, the technical solution provided by the disclosed embodiment has the following advantages: by obtaining the printing content, printing position parameters and starting mileage information of this round of printing, the reference number of rotations corresponding to the printing content is calculated according to the printing position parameters, the starting mileage information and the single-circle walking distance of the encoder, and the working mode includes one of a predetermined record automatic coding mode and a predetermined interval automatic coding mode. Furthermore, in the process of the coding vehicle moving on the track, the actual number of rotations is collected by the encoder. When the actual number of rotations collected by the encoder reaches the reference number of rotations, the current printing content is obtained from the data to be printed, and the coder is controlled to perform printing processing based on the current printing content. Therefore, it is applied to a coding vehicle moving on the track, has a simple structure and is easy to use, can accurately determine the printing position, and perform coding when it reaches the printing position. It serves the railway line coding work in the form of a combination of software and hardware, solves the problems of inaccurate printing position and cumbersome operation in the traditional mechanical printing method, and improves the accuracy of track coding. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0019] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0020] Figure 1 A schematic flow chart of a method for controlling coding of railway tracks provided by an embodiment of the present disclosure;

[0021] Figure 2 A signal connection diagram of a coding controller provided by an embodiment of the present disclosure;

[0022] Figure 3 A schematic flow chart of another railway track coding control method provided by an embodiment of the present disclosure;

[0023] Figure 4 A schematic diagram of an interface provided by an embodiment of the present disclosure;

[0024] Figure 5 A schematic structural diagram of a coding control device for a railway track provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0025] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.

[0026] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.

[0027] Figure 1 This is a flow chart of a coding control method for a railway track provided in an embodiment of the present disclosure. The method provided in the embodiment of the present disclosure can be executed by a coding control device for a railway track, which can be implemented in software and / or hardware and can be integrated on any electronic device with computing capabilities.

[0028] like Figure 1 As shown, the coding control method for railway tracks provided by the embodiment of the present disclosure may include:

[0029] Step 101, in response to a track coding request, obtain the data to be printed and the starting mileage information of this round of printing.

[0030] The method of the disclosed embodiment is applied to a coding vehicle moving on a track. The coding vehicle includes a coding device and an encoder. The coding device is used for printing on the track, and the encoder is used for obtaining the actual number of rotations.

[0031] In this embodiment, the data to be printed includes the printing content and the printing position parameters corresponding to the printing content, and the printing position parameters are used to indicate the position information of the printing content. Optionally, the inkjet vehicle also includes a vehicle-mounted terminal and an inkjet controller, the vehicle-mounted terminal obtains the starting mileage information through positioning, and sends the starting mileage information to the inkjet controller via Bluetooth, and the vehicle-mounted terminal sends the printing content to the inkjet controller via Bluetooth, and establishes a corresponding relationship between the printing content and the printing position parameters.

[0032] As an example, the vehicle-mounted terminal is a tablet computer. The tablet computer sends relevant instructions to an SPP Bluetooth of the inkjet printer controller through SPP (Serial Port Profile) Bluetooth. The inkjet printer controller parses the relevant commands through the serial port communication connected to the Bluetooth and converts them into corresponding digital signals to control the inkjet printer. In this example, the inkjet printer controller receives the inkjet printer power on hexadecimal instruction sent by the tablet computer, and converts the corresponding instruction into a digital signal and sends it to the inkjet printer to turn on the inkjet printer, and receives the inkjet printer printing preparation hexadecimal instruction sent by the tablet computer, and converts the corresponding instruction into a digital signal and sends it to the inkjet printer to prepare for printing, and receives the inkjet printer text switch hexadecimal instruction sent by the tablet computer, and converts the corresponding instruction into a digital signal and sends it to the inkjet printer to make the inkjet printer perform text switching. Figure 2 As shown, Figure 2 The interactive relationship between the antenna, inkjet vehicle, tablet computer, inkjet controller, encoder and inkjet printer is shown in the figure. Beidou positioning is used for positioning.

[0033] Step 102, based on the working mode of this round of printing, according to the printing position parameters, the starting mileage information and the encoder single-circle travel distance, calculate the reference number of rotations corresponding to the printing content.

[0034] In this embodiment, the working mode includes one of a predetermined record automatic coding mode and a predetermined interval automatic coding mode. Different working modes correspond to different types of printing position parameters and calculation methods. Based on the predetermined record automatic coding mode or the predetermined interval automatic coding mode, according to the printing position parameters, the starting mileage information and the single-circle walking distance of the encoder, the reference number of rotations corresponding to the printing content is calculated, and the reference number of rotations represents the number of rotations required to reach the position where printing is performed.

[0035] In one embodiment of the present disclosure, the working mode is a predetermined recording automatic coding mode, and the data to be printed includes the printing content and the printing mark mileage information PRE_L corresponding to the printing content, wherein the reference number of rotations corresponding to the printing content is calculated according to the printing position parameters, the starting mileage information and the single-turn travel distance of the encoder, including: when the working mode is the predetermined recording automatic coding mode, the difference between the printing mark mileage information and the starting mileage information is calculated, and the first number of rotations corresponding to the printing content is calculated by the ratio between the difference and the single-turn travel distance of the encoder.

[0036] As an example, when the inkjet vehicle is stationary, the tablet computer obtains the current real-time mileage information through positioning, and sends the current real-time mileage information to the inkjet controller via Bluetooth. The inkjet controller converts the current real-time mileage information into the starting mileage information RE_L. The tablet computer sends the content to be printed to the inkjet controller via Bluetooth. After receiving the content to be printed, the inkjet controller performs data parsing to convert it into a string of characters actually printed, and establishes a corresponding relationship between this set of strings and the printing mark mileage information PRE_L. Furthermore, the inkjet controller stores the starting mileage information RE_L and the printing mark mileage information PRE_L of each printing content, and calculates the number of circles required for the inkjet vehicle to reach the printing position. The calculation formula is as follows: N = (PRE_L-RE_L) / L1, where N is the first number of rotations, L1 is the distance traveled per single rotation of the encoder, L1 = 2πR, and R is the radius of the inkjet roller.

[0037] In one embodiment of the present disclosure, the working mode is a preset interval automatic coding mode, and the data to be printed includes the printing content and the printing interval G, wherein the reference number of rotations corresponding to the printing content is calculated according to the printing position parameters, the starting mileage information, and the single-circle travel distance of the encoder, including: when the working mode is the preset interval automatic coding mode, the second number of rotations corresponding to the printing content is calculated according to the ratio between the printing interval and the single-circle travel distance of the encoder.

[0038] As an example, when the inkjet vehicle is stationary, the tablet computer obtains the current real-time mileage information through positioning, and sends the current real-time mileage information to the inkjet controller via Bluetooth. The inkjet controller converts the current real-time mileage information into the starting mileage information RE_L. The tablet computer sends the printing interval G and the content to be printed to the inkjet controller via Bluetooth. After receiving the content to be printed, the inkjet controller performs data parsing to convert it into a string of characters that are actually printed, and establishes a corresponding relationship between this set of strings and the starting mileage information RE_L and the printing interval G. Then, the inkjet controller stores the starting mileage information RE_L and the printing interval G, and calculates the number of laps that the inkjet vehicle needs to travel to reach the printing position. The calculation formula is as follows: N = G / L1, where N is the second number of rotations, L1 is the distance traveled per single lap of the encoder, and L1 = 2πR, where R is the radius of the inkjet roller.

[0039] Step 103, when the inkjet printer moves on the track, the actual number of rotations is collected through an encoder.

[0040] In this embodiment, the coding vehicle is controlled to move on the track, and the actual number of rotations is collected through the encoder during the movement. Based on the angle sensor information fusion algorithm, the number of rotation pulses and the rotation angle output by the encoder are collected to calculate the actual number of rotations per unit time. Thus, the travel distance and speed can be calculated, and the information fusion can be further combined with the starting mileage information and the printing position parameters to accurately determine the printing position and ensure real-time and accurate printing.

[0041] Step 104, when the actual number of rotations collected by the encoder reaches the reference number of rotations, the current printing content is obtained from the data to be printed, and the inkjet printer is controlled to perform printing based on the current printing content.

[0042] In this embodiment, when the actual number of rotations collected by the encoder reaches the reference number of rotations, the corresponding relationship is queried according to the printing position parameters, the current printing content is obtained from the data to be printed, and then the inkjet printer is controlled to perform printing based on the current printing content.

[0043] Optionally, collecting the actual number of rotations through the encoder includes: when the encoder rotates forward, the actual number of rotations of the encoder is accumulated from 0, and when the actual number of rotations reaches N, the actual number of rotations is set to 0. When the encoder rotates reversely, the actual number of rotations of the encoder is decreased from 5000, and when the actual number of rotations reaches 5000-N, the actual number of rotations is set to 5000. Wherein, N represents the reference number of rotations, when the working mode is the preset record automatic coding mode, N is the first number of rotations, or when the working mode is the preset interval automatic coding mode, N is the second number of rotations.

[0044] In one embodiment of the present disclosure, the working mode is a predetermined record automatic coding mode. When the actual number of rotations collected by the encoder reaches a first number of rotations, the current printing content is obtained from the data to be printed according to the printing mark mileage information.

[0045] As an example, when the encoder rotates forward, the actual number of rotations starts to accumulate from 0. When the actual number of rotations is equal to the first number of rotations, the character string of the printed mileage information PRE_L1 is sent to the inkjet printer via Bluetooth, and the central processor sends the digital signal that controls the inkjet printer to perform printing to the inkjet printer for printing. In this example, in order to facilitate the calculation of the number of rotations required for the next inkjet printing, when the actual number of rotations is equal to the first number of rotations, the actual number of rotations is set to 0. Optionally, the current real-time mileage information is obtained, and the starting mileage information is updated according to the current real-time mileage information. Further, the above steps of obtaining the reference number of rotations, the actual number of rotations, and the calculation are repeated to print the character strings of the printed mileage information PRE_L2, ​​the printed mileage information PRE_L3, etc. in turn.

[0046] As another example, when the encoder rotates in the reverse direction, the actual number of rotations decreases from 5000. When the actual number of rotations is equal to 5000-the second number of rotations, the character string of the printed mileage information PRE_L1 is sent to the inkjet printer via Bluetooth, and the central processor sends the digital signal that controls the inkjet printer to perform printing to the inkjet printer for printing. In this example, in order to facilitate the calculation of the number of rotations required for the next inkjet printing, when the actual number of rotations is equal to 5000-the second number of rotations, the actual number of rotations is set to 5000. Optionally, the current real-time mileage information is obtained, and the starting mileage information is updated according to the current real-time mileage information. Further, the above steps of obtaining the reference number of rotations, the actual number of rotations, and the calculation are repeated to print the character strings of the printed mileage information PRE_L2, ​​the printed mileage information PRE_L3, and so on.

[0047] In one embodiment of the present disclosure, the working mode is a preset interval automatic coding mode. When the actual number of rotations collected by the encoder reaches the second number of rotations, the current printing content is obtained from the data to be printed according to the starting mileage information and the printing interval.

[0048] As an example, when the encoder rotates forward, the actual number of rotations starts to accumulate from 0. When the actual number of rotations is equal to the first number of rotations, the string of RE_L+G is sent to the inkjet printer via Bluetooth, and the central processor sends the digital signal that controls the inkjet printer to perform printing to the inkjet printer for printing. In this example, in order to facilitate the calculation of the number of rotations required for the next inkjet printing, when the actual number of rotations is equal to the first number of rotations, the actual number of rotations is set to 0. Further, the above steps of obtaining the reference number of rotations, the actual number of rotations, and the calculation are repeated to print the strings of RE_L+2G, RE_L+3G, etc. in turn.

[0049] As another example, when the encoder rotates in the reverse direction, the actual number of rotations decreases from 5000. When the actual number of rotations is equal to 5000-the second number of rotations, the string of RE_L+G is sent to the inkjet printer via Bluetooth, and the central processor sends the digital signal that controls the inkjet printer to perform printing to the inkjet printer for printing. In this example, in order to facilitate the calculation of the number of rotations required for the next inkjet printing, when the actual number of rotations is equal to 5000-the second number of rotations, the actual number of rotations is set to 5000. Further, the above steps of obtaining the reference number of rotations, the actual number of rotations, and the calculation are repeated to print the strings of RE_L+2G, RE_L+3G, etc. in turn.

[0050] Optionally, the corresponding parameters are obtained when the inkjet vehicle is stationary and then printing begins. When the inkjet vehicle is working normally, it moves forward and prints. When it is detected that the inkjet vehicle stops moving, the starting mileage information is updated according to the current real-time mileage information. For example, when there is a break or other pause, the current real-time mileage information is automatically updated to replace the starting mileage information obtained at the beginning of printing, eliminating the cumulative error. Among them, the encoder calculates the number of laps when the inkjet vehicle is moving. Optionally, the inkjet vehicle performs printing when it is moving forward. When the working mode of the inkjet vehicle is determined, the first real-time mileage data read by the inkjet controller is used as the starting mileage information.

[0051] According to the technical solution of the embodiment of the present disclosure, by obtaining the printing content, printing position parameters and starting mileage information of this round of printing, the reference number of rotations corresponding to the printing content is calculated according to the printing position parameters, the starting mileage information and the single-circle walking distance of the encoder, and the working mode includes one of a predetermined record automatic coding mode and a predetermined interval automatic coding mode. Furthermore, in the process of the coding vehicle moving on the track, the actual number of rotations is collected by the encoder. When the actual number of rotations collected by the encoder reaches the reference number of rotations, the current printing content is obtained from the data to be printed, and the coder is controlled to perform printing processing based on the current printing content. Therefore, it is applied to a coding vehicle moving on the track, has a simple structure and is easy to use, can accurately determine the printing position, and perform coding when it reaches the printing position. It serves the railway line coding work in the form of a combination of software and hardware, and solves the problems of inaccurate printing position and cumbersome operation in the traditional mechanical printing method.

[0052] In one embodiment of the present disclosure, Figure 3 As shown, the method also includes: in response to receiving a cleaning instruction, or when it is detected that the number of printings is greater than or equal to a preset threshold, the vehicle-mounted terminal sends a cleaning instruction to the inkjet controller via Bluetooth, and then the inkjet controller switches to clean the printed text and repeats the cleaning action for a preset number of times. Among them, after the automatic printing is completed, in order to prevent the spray paint from clogging the inkjet printer nozzle after drying, the inkjet printer nozzle needs to be cleaned. For example, after replacing the cleaning fluid, the tablet computer sends a cleaning instruction via Bluetooth. After the inkjet controller receives the cleaning instruction, the central processor controls the inkjet printer to switch to clean the printed text to ensure that each nozzle can spray the cleaning fluid. Repeat 10 times and the cleaning is completed.

[0053] Optionally, the central processor of the printer controller optimizes the detection algorithm and adds software filters to improve detection accuracy. At the same time, the system is calibrated to ensure that the data output by the encoder is consistent with the actual motion state.

[0054] The following is an explanation based on actual application scenarios. The inkjet car is connected to the application in the tablet computer via wireless or Bluetooth. After the power of the inkjet car is turned on, the inkjet car automatically sends mileage data at a frequency of 10HZ (sends 10 mileage-related data per second, which can also be adjusted to a maximum of 80HZ). After the connection is successful, the application automatically loads the wireless information of the successfully connected inkjet car. The inkjet controller interacts with the application via Bluetooth, including receiving a series of instructions such as power on and off instructions, print switch instructions, and inkjet printing instructions sent by the application. After successfully connecting to the inkjet controller Bluetooth, the construction personnel can manually operate the inkjet printer to turn on and off, turn on and off the inkjet printer printing, and the cleaning function. In the application, after manually turning on the inkjet printer switch, the application will send the start command to the inkjet controller. After successfully receiving the command information, the inkjet controller will automatically process the application command and forward the start command to the inkjet printer Bluetooth. After receiving the command from the inkjet controller, the inkjet printer Bluetooth will turn on the inkjet printer through the predetermined command; after turning on, the inkjet printer switch indicator light and buzzer will respond accordingly; after the inkjet printer is turned on, the inkjet printer's inkjet printing function is turned on through the application.

[0055] Optionally, this solution also supports manual coding, where manual coding includes special point coding and direct coding. Special location coding means starting coding after arriving at a specific location, such as "bridge head", "middle of the bridge", "end of the bridge", "culvert", "slope mark", "level crossing", "electrical wire", "signal", "station center" and other specific locations. When arriving at the location where coding is required, if the above-mentioned specific location exists at the coding location, the mileage data of the current coding vehicle and the current location name can be used directly to record the coding data. Each time the track is coded, the coding mark is sprayed on the side of the track, as well as in the application interface and local real-time storage. Direct coding does not record the coding location name in the temporary storage and local storage records in the application, but only the mileage data. Feature records use three-party records. The coding location name can be manually entered in the feature record, and it cannot be empty.

[0056] Based on the above embodiments, Figure 4 A schematic diagram of an interface provided by an embodiment of the present disclosure. In this embodiment, a predetermined mark Excel file can be made according to a fixed format for importing into a tablet computer for use by an application. The predetermined mark Excel file is imported into any viewable location on the tablet, and the "Pre-mark Information Entry" button in the basic settings module of the application is opened to select a local file and select the pre-imported "Pre-mark Excel file". After selection, the application automatically parses the selected Excel file and refreshes the main interface "Pre-mark List" to achieve dynamic display, for example Figure 4 shown.

[0057] In the disclosed embodiments, embedded application technology, Bluetooth wireless communication technology, angle sensor information fusion algorithm, etc. are used to perform special point coding, direct coding, and automatic coding on real-time mileage information, pre-printed mileage information, printing interval, and printing position based on Beidou positioning technology. Based on the information of Beidou positioning technology, the positioning accuracy is high; based on high-frequency embedded technology, fast response speed and high-precision sampling information are achieved; based on Bluetooth wireless communication technology, manual and automatic printing are possible, and the operation is flexible; based on the angle sensor information fusion algorithm, precise position printing can be achieved. It solves the problems of inaccurate printing position, slow response speed, and cumbersome operation of traditional mechanical printing methods.

[0058] Figure 5 The schematic diagram of the structure of a coding control device for railway tracks provided by the embodiment of the present disclosure is as follows: Figure 5 As shown, the coding control device for the railway track includes: an acquisition module 51, a determination module 52, a collection module 53, and a control module 54.

[0059] The acquisition module 51 is used to respond to the track coding request and obtain the data to be printed and the starting mileage information of the current round of printing; the data to be printed includes the printing content and the printing position parameters corresponding to the printing content;

[0060] The determination module 52 is used to calculate the reference number of rotations corresponding to the printing content based on the working mode of this round of printing, the printing position parameters, the starting mileage information and the single-circle travel distance of the encoder; the working mode includes one of a predetermined record automatic printing mode and a predetermined interval automatic printing mode;

[0061] The acquisition module 53 is used to acquire the actual number of rotations through an encoder when the inkjet printer moves on the track;

[0062] The control module 54 is used to obtain the current printing content from the data to be printed when the actual number of rotations collected by the encoder reaches the reference number of rotations, and control the inkjet printer to perform printing based on the current printing content.

[0063] In one embodiment of the present disclosure, the printing position parameter includes printing mark mileage information, and the determination module 52 is specifically used to:

[0064] When the working mode is the preset record automatic coding mode, the difference between the printing mark mileage information and the starting mileage information is calculated, and the first rotation circle number corresponding to the printing content is calculated by the ratio between the difference and the encoder single circle travel distance;

[0065] When the actual number of rotations collected by the encoder reaches the reference number of rotations, the current printing content is obtained from the data to be printed, including:

[0066] When the actual number of rotations collected by the encoder reaches the first number of rotations, the current printing content is obtained from the data to be printed according to the printing mark mileage information.

[0067] In one embodiment of the present disclosure, the printing position parameter includes a printing interval, and the determination module 52 is specifically used to:

[0068] When the working mode is the preset interval automatic coding mode, the second number of rotations corresponding to the printing content is calculated according to the ratio between the printing interval and the single-turn travel distance of the encoder;

[0069] When the actual number of rotations collected by the encoder reaches the reference number of rotations, the current printing content is obtained from the data to be printed, including:

[0070] When the actual number of rotations collected by the encoder reaches the second number of rotations, the current printing content is obtained from the data to be printed according to the starting mileage information and the printing interval.

[0071] In one embodiment of the present disclosure, the acquisition module 53 is specifically used to:

[0072] When the encoder rotates forward, the actual number of revolutions of the encoder starts to accumulate from 0; when the actual number of revolutions reaches N, the actual number of revolutions is set to 0;

[0073] and / or,

[0074] When the encoder rotates in the reverse direction, the actual number of revolutions of the encoder decreases from 5000; when the actual number of revolutions reaches 5000-N, the actual number of revolutions is set to 5000;

[0075] Wherein, when the working mode is the preset record automatic coding mode, N is the first number of rotations, or, when the working mode is the preset interval automatic coding mode, N is the second number of rotations.

[0076] In one embodiment of the present disclosure, the inkjet printer also includes an on-board terminal and an inkjet printer controller, and the acquisition module 51 is specifically used for:

[0077] The vehicle terminal obtains the starting mileage information through positioning and sends the starting mileage information to the inkjet controller via Bluetooth;

[0078] The vehicle-mounted terminal sends the printing content to the coding controller via Bluetooth and establishes a corresponding relationship between the printing content and the printing position parameters.

[0079] In one embodiment of the present disclosure, the device further includes:

[0080] The update module is used to update the starting mileage information according to the current real-time mileage information when it is detected that the inkjet printer stops moving.

[0081] In one embodiment of the present disclosure, the device further includes:

[0082] A cleaning module, configured to respond to receiving a cleaning instruction, or when detecting that the number of printings is greater than or equal to a preset threshold, the vehicle terminal sends a cleaning instruction to the inkjet controller via Bluetooth;

[0083] The inkjet printer controller switches to clean the printed text and repeats the cleaning action for a preset number of times.

[0084] The coding control device for railway tracks provided in the embodiments of the present disclosure can execute any coding control method for railway tracks provided in the embodiments of the present disclosure, and has the corresponding functional modules and beneficial effects of the execution method. The contents not described in detail in the embodiments of the present disclosure device can refer to the description in any method embodiment of the present disclosure.

[0085] The embodiment of the present disclosure also provides a coding device, which includes one or more processors and a memory. The processor may be a central processing unit (CPU) or other forms of processing units with data processing capabilities and / or instruction execution capabilities, and may control other components in the coding device to perform desired functions. The memory may include one or more computer program products, and the computer program product may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. Volatile memory may include, for example, random access memory (RAM) and / or cache memory (cache), etc. Non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on a computer-readable storage medium, and the processor may run the program instructions to implement the method of the embodiment of the present disclosure above and / or other desired functions. Various contents such as input signals, signal components, noise components, etc. may also be stored in the computer-readable storage medium.

[0086] In one example, the inkjet printer may further include: an input device and an output device, which are interconnected via a bus system and / or other forms of connection mechanisms. In addition, the input device may also include, for example, a keyboard, a mouse, etc. The output device may output various information to the outside, including determined distance information, direction information, etc. The output device may include, for example, a display, a speaker, a printer, and a communication network and a remote output device connected thereto, etc. In addition, depending on the specific application, the inkjet printer may also include any other appropriate components such as a bus, an input / output interface, etc.

[0087] In addition to the above methods and devices, the embodiments of the present disclosure may also be a computer program product, which includes computer program instructions. When the computer program instructions are executed by a processor, the processor executes any method provided by the embodiments of the present disclosure.

[0088] The computer program product may be written in any combination of one or more programming languages ​​to write program code for performing the operations of the disclosed embodiments, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.

[0089] In addition, the embodiments of the present disclosure may also be a computer-readable storage medium on which computer program instructions are stored. When the computer program instructions are executed by a processor, the processor executes any method provided by the embodiments of the present disclosure.

[0090] Computer readable storage media can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can include, for example, but is not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0091] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0092] The above description is only a specific embodiment of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to the embodiments described herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A railway track coding control method, characterized in that: Applied to a coding vehicle moving on a track, the coding vehicle includes a coding device and an encoder, and the method includes: In response to the track coding request, the data to be printed and the starting mileage information of the current round of printing are obtained; the data to be printed includes the printing content and the printing position parameters corresponding to the printing content; Based on the working mode of this round of printing, the reference number of rotations corresponding to the printing content is calculated according to the printing position parameters, the starting mileage information and the single-circle travel distance of the encoder; the working mode includes one of a predetermined record automatic coding mode and a predetermined interval automatic coding mode; When the coding vehicle moves on the track, the actual number of rotations is collected by the encoder; When the actual number of rotations collected by the encoder reaches the reference number of rotations, the current printing content is obtained from the data to be printed, and the inkjet printer is controlled to perform printing based on the current printing content.

2. The method according to claim 1, characterized in that The printing position parameter includes printing mark mileage information, and the calculation of the reference number of rotations corresponding to the printing content according to the printing position parameter, the starting mileage information and the encoder single-turn travel distance includes: When the working mode is the predetermined record automatic coding mode, the difference between the printing mark mileage information and the starting mileage information is calculated, and the first number of rotations corresponding to the printing content is calculated by the ratio between the difference and the single-turn travel distance of the encoder; When the actual number of rotations collected by the encoder reaches the reference number of rotations, obtaining current printing content from the data to be printed includes: When the actual number of rotations collected by the encoder reaches the first number of rotations, the current printing content is obtained from the data to be printed according to the printing mark mileage information.

3. The method according to claim 2, characterized in that The printing position parameter includes a printing interval, and the calculation of the reference number of rotations corresponding to the printing content according to the printing position parameter, the starting mileage information, and the encoder single-turn travel distance includes: When the working mode is the predetermined interval automatic coding mode, the second number of rotations corresponding to the printing content is calculated according to the ratio between the printing interval and the single-turn travel distance of the encoder; When the actual number of rotations collected by the encoder reaches the reference number of rotations, obtaining current printing content from the data to be printed includes: When the actual number of rotations collected by the encoder reaches the second number of rotations, the current printing content is obtained from the data to be printed according to the starting mileage information and the printing interval.

4. The method according to claim 3, characterized in that The collecting of the actual number of rotations by the encoder comprises: When the encoder rotates in the forward direction, the actual number of rotations of the encoder starts to accumulate from 0; When the actual number of rotations reaches N, the actual number of rotations is set to 0; and / or, When the encoder rotates in the reverse direction, the actual number of rotations of the encoder decreases from 5000; When the actual number of rotations reaches 5000-N, the actual number of rotations is set to 5000; Wherein, when the working mode is the preset record automatic coding mode, N is the first number of rotations, or, when the working mode is the preset interval automatic coding mode, N is the second number of rotations.

5. The method according to claim 1, characterized in that The inkjet printer also includes an on-board terminal and an inkjet printer controller. The method of obtaining the data to be printed and the starting mileage information of the current round of printing includes: The vehicle-mounted terminal obtains the starting mileage information through positioning, and sends the starting mileage information to the inkjet controller via Bluetooth; The vehicle-mounted terminal sends the printing content to the coding controller via Bluetooth, and establishes a corresponding relationship between the printing content and the printing position parameters.

6. The method according to claim 1, characterized in that The method further comprises: When it is detected that the inkjet printer stops moving, the starting mileage information is updated according to the current real-time mileage information.

7. The method according to claim 5, characterized in that The method further comprises: In response to receiving a cleaning instruction, or when detecting that the number of printings is greater than or equal to a preset threshold, the vehicle-mounted terminal sends a cleaning instruction to the inkjet controller via Bluetooth; The inkjet printer controller switches to clean the printed text and repeats the cleaning action for a preset number of times.

8. A coding control device for railway tracks, characterized in that: Applicable to a coding vehicle moving on a track, the coding vehicle includes a coding device and an encoder, and the device includes: An acquisition module, used for acquiring the data to be printed and the starting mileage information of the current round of printing in response to the track coding request; the data to be printed includes the printing content and the printing position parameters corresponding to the printing content; A determination module, for calculating the reference number of rotations corresponding to the printing content based on the working mode of this round of printing, according to the printing position parameter, the starting mileage information and the single-circle travel distance of the encoder; the working mode includes one of a predetermined record automatic coding mode and a predetermined interval automatic coding mode; A collection module, used for collecting the actual number of rotations through the encoder when the coding vehicle moves on the track; The control module is used to obtain the current printing content from the data to be printed when the actual number of rotations collected by the encoder reaches the reference number of rotations, and control the inkjet printer to perform printing based on the current printing content.

9. A coding device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is used to read the executable instructions from the memory and execute the instructions to implement the railway track coding control method described in any one of claims 1-7.

10. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by the processor, the coding control method for the railway track described in any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Automatic measurement track inspection car

    CN105292173A

  • Jet printing control method of jet printing system

    CN110254058A

  • Mark printing device and method of printing mark using the same

    CN112743998A

  • Uncoiler speed control method and system, terminal and storage medium

    CN116371963A

  • Cable fixed-meter code spraying device

    CN214428407U