Master-slave locomotive control method based on time synchronization, combined train and equipment
By adopting time synchronization technology in the master-slave locomotive control system, using high-precision clock source and global positioning system calibration time, the problems of communication delay and jitter impact in the wireless synchronous control system are solved, and the high-precision synchronization control of the master-slave locomotive is realized , improves the longitudinal dynamic performance of the train.
Patent Information
- Application Number
- CN202310643751.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-01
- Publication Date
- 2024-12-03
- Estimated Expiration
- 2043-06-01
AI Technical Summary
The existing wireless synchronous control system is affected by communication delay and jitter in the master-slave locomotive control, making it difficult to ensure synchronization, affecting the longitudinal dynamic performance of the train.
By maintaining the time synchronization between the master and slave locomotives, using high-precision clock source and global positioning system calibration time, determining and sending the execution time of the control command, ensuring that the master and slave locomotive execute control commands at the agreed time, eliminating communication The effect of delay and jitter on synchronization.
It realizes high-precision synchronous control between master and slave locomotives, improves the longitudinal dynamic performance of the train, ensures the precise execution of control instructions, and enhances synchronization.
Smart Images

Figure CN119058779A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of rail transit technology, and in particular to a master-slave locomotive control method based on time synchronization, a combined train and equipment. Background Art
[0002] Wireless multiple-unit trains usually contain multiple locomotives, with several carriages placed between two locomotives. The locomotive at the front of the train is called the master locomotive, and the other locomotives are called slave locomotives. Train dynamics tests show that the synchronization of the master and slave locomotives has a direct impact on the longitudinal dynamics of the train. The better the synchronization, the better the longitudinal dynamics of the train and the smoother the operation, and vice versa. At present, the wireless synchronous control system is mainly used to realize the synchronous control of the master and slave locomotives. Its basic principle is that the master locomotive exchanges instructions, status and fault information with each slave locomotive through wireless communication, thereby realizing the synchronous control of each slave locomotive.
[0003] However, the existing wireless synchronous control system, whether it adopts LTE-L, GSM-R or radio communication, will be subject to communication delay and communication jitter, and it is difficult to guarantee synchronization. In order to improve the synchronization of control, the Chinese patent application entitled "A Synchronous Control System and Method for Heavy-Duty Locomotive Signals" proposes to output synchronization signals through GSM-R at a heartbeat interval of 50ms, and the real-time control inside the train automatic protection subsystem (Automatic Train Protection, ATP for short) / train automatic operation system (Automatic Train Operation, ATO for short) captures the synchronization signal and tracks it. Once the synchronization signal is misaligned, it is resynchronized by comparing the mirror counter. The main idea is to synchronize the control instructions of the master and slave locomotives through a 50ms heartbeat message, and resynchronize through the mirror counter when the heartbeat message fails. In essence, it is to improve the synchronization of relatively low-frequency control messages through high-frequency, low-latency heartbeat messages. However, as long as it is wireless communication, it will be affected by the surrounding environment and the performance of the device itself, and communication delays and communication jitters cannot be avoided, and it is still difficult to guarantee synchronization. Summary of the invention
[0004] The embodiments of the present invention provide a master-slave locomotive control method, a combined train and a device based on time synchronization, so as to solve the problem that the existing method is restricted by communication delay and communication jitter and is difficult to ensure synchronization.
[0005] In a first aspect, an embodiment of the present invention provides a master-slave locomotive control method based on time synchronization, comprising:
[0006] Maintain time synchronization between the master locomotive and each slave locomotive;
[0007] In response to the user's operation instruction, the master control locomotive generates a control instruction and determines the execution time of the control instruction;
[0008] The master locomotive uses wireless communication to send control instructions and the execution time of the control instructions to each slave locomotive;
[0009] When the time reaches the execution moment, the master locomotive and each slave locomotive execute the control instruction.
[0010] In one embodiment, maintaining time synchronization between the master locomotive and each slave locomotive includes:
[0011] The master locomotive and each slave locomotive use the time of a high-precision clock source as the system time;
[0012] The time of the global positioning system is obtained according to the preset calibration cycle to calibrate each high-precision clock source so that the system time of the master locomotive and each slave locomotive is synchronized.
[0013] In one embodiment, the preset calibration period is determined according to the following expression:
[0014] T gc =T se / (2*T e )
[0015] Among them, T gc Indicates the preset calibration period, T e Represents the high-precision clock source error, T se Indicates the allowable error of the system.
[0016] In one embodiment, determining the execution time of the control instruction includes:
[0017] The execution time of the control command in the master locomotive and each slave locomotive is the same, and the time difference between the execution time and the current time is greater than or equal to the maximum value of the wireless communication delay time of each slave locomotive.
[0018] In one embodiment, determining the execution time of the control instruction includes:
[0019] Obtaining the control loop delay time of the master locomotive and the control loop delay time of each slave locomotive;
[0020] According to the control loop delay time of the master locomotive and the control loop delay time of each slave locomotive, time compensation is performed on the execution time of the control command in the master locomotive and the execution time of the control command in each slave locomotive.
[0021] In one embodiment, time compensation is performed on the execution time of the control command in the master locomotive and the execution time of the control command in each slave locomotive, including:
[0022] The time difference between the execution time of the control command in the master locomotive and the execution time of the control command in each slave locomotive is equal to the time difference between the control loop delay time of the master locomotive and the control loop delay time of each slave locomotive, so that the master locomotive and each slave locomotive respond to the control command synchronously.
[0023] In one embodiment, when asynchronous control is performed on the master locomotive and each slave locomotive, the method further includes:
[0024] The execution time of the control command in the master locomotive and each slave locomotive is subtracted from the corresponding lead time, or added with the corresponding lag time.
[0025] In a second aspect, an embodiment of the present invention provides a combination train, comprising: a master locomotive and at least one slave locomotive; the combination train is controlled by using the master-slave locomotive control method based on time synchronization as described in any one of the first aspects.
[0026] In a third aspect, an embodiment of the present invention provides an electronic device, including:
[0027] at least one processor and memory;
[0028] Memory stores computer-executable instructions;
[0029] At least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor executes the master-slave locomotive control method based on time synchronization as described in any one of the first aspects.
[0030] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer execution instructions, which, when executed by a processor, are used to implement the master-slave locomotive control method based on time synchronization as described in any one of the first aspects.
[0031] The master-slave locomotive control method, combined train and equipment based on time synchronization provided by the embodiment of the present invention maintains time synchronization between the master locomotive and each slave locomotive; in response to the user's operation instruction, the master locomotive generates a control instruction and determines the execution time of the control instruction; the master locomotive uses wireless communication to send the control instruction and the execution time of the control instruction to each slave locomotive; when the time reaches the execution time, the master locomotive and each slave locomotive execute the control instruction, thereby realizing synchronous control of the master and slave locomotives. Since the execution time of the control instruction is no longer restricted by communication delay and communication jitter, it can well guarantee the synchronization between the master and slave locomotives, thereby improving the longitudinal dynamics performance of the train. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0033] Figure 1 A schematic diagram of a wireless synchronous control system provided by an embodiment of the present invention;
[0034] Figure 2 A flow chart of a master-slave locomotive control method based on time synchronization provided by an embodiment of the present invention;
[0035] Figure 3 A schematic diagram of the influence of time error provided by an embodiment of the present invention;
[0036] Figure 4 A schematic diagram of master-slave time synchronization provided by an embodiment of the present invention;
[0037] Figure 5 A schematic diagram of a control instruction response time difference provided by an embodiment of the present invention;
[0038] Figure 6 A schematic diagram of a timing difference provided by an embodiment of the present invention;
[0039] Figure 7 A schematic diagram of asynchronous control of master and slave locomotives provided by an embodiment of the present invention.
[0040] The above drawings have shown clear embodiments of the present invention, which will be described in more detail below. These drawings and text descriptions are not intended to limit the scope of the present invention in any way, but to illustrate the concept of the present invention for those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0041] The present invention is further described in detail below by specific embodiments in conjunction with the accompanying drawings. Wherein similar elements in different embodiments adopt associated similar element numbers. In the following embodiments, many detailed descriptions are for making the present application better understood. However, those skilled in the art can easily recognize that some features can be omitted in different situations, or can be replaced by other elements, materials, methods. In some cases, some operations related to the present application are not shown or described in the specification, this is to avoid the core part of the present application being overwhelmed by too much description, and for those skilled in the art, it is not necessary to describe these related operations in detail, and they can fully understand the related operations according to the description in the specification and the general technical knowledge in the art.
[0042] In addition, the features, operations or characteristics described in the specification can be combined in any appropriate manner to form various implementations. At the same time, the steps or actions in the method description can also be interchanged or adjusted in a manner that is obvious to those skilled in the art. Therefore, the various sequences in the specification and the drawings are only for the purpose of clearly describing a certain embodiment and are not meant to be a required sequence, unless otherwise specified that a certain sequence must be followed.
[0043] The serial numbers of the components in this document, such as "first", "second", etc., are only used to distinguish the objects described and do not have any order or technical meaning. The "connection" and "coupling" mentioned in this application, unless otherwise specified, include direct and indirect connections (couplings).
[0044] The control mode of the wireless synchronous control system of the combined train is as follows Figure 1 As shown in the figure, a wireless multiple-unit train usually has several locomotives, with 105-108 cars placed between two locomotives. The locomotive at the front of the train in the direction of travel is called the master locomotive, and the other locomotives are called slave locomotives. The master locomotive exchanges control instructions, locomotive status, system failures and other information with each slave locomotive through wireless communication to achieve synchronous control of the master locomotive over each slave locomotive. The instructions of the slave locomotive come from the master locomotive. It is understandable that due to the delay and jitter in wireless communication, the control instructions of the slave locomotive are always later than those of the master locomotive, which is the main factor leading to asynchronous control. Delay is an important indicator in network communication. It consists of four key parts: processing delay, queuing delay, transmission delay and propagation delay, which may change due to various factors. Jitter is generated based on delay - specifically, the values of the delay before and after are inconsistent. Jitter is the difference between the delay values of two data packets. Communication delay and jitter lead to asynchrony of control instructions, which can easily cause longitudinal impulse of trains. In order to eliminate the influence of wireless communication delay and jitter on the synchronization of master and slave locomotives, this application proposes a master-slave locomotive control method based on time synchronization. Based on the master-slave locomotive time synchronization, the communication message carries the agreed time information, and the master and slave locomotives are agreed to perform control actions at a certain moment in the future to achieve precise timing control. The method provided by this application is described in detail through specific embodiments.
[0045] Figure 2 Flow chart of a master-slave locomotive control method based on time synchronization provided by an embodiment of the present invention. Figure 2 As shown, the master-slave locomotive control method based on time synchronization provided by this embodiment includes:
[0046] S101. Maintain time synchronization between the master locomotive and each slave locomotive.
[0047] Maintaining time synchronization between the master locomotive and each slave locomotive is a prerequisite for achieving precise control of the master and slave locomotives. In an optional implementation, a global positioning system (GPS) and a high-precision clock source can be used to achieve time synchronization between the master locomotive and each slave locomotive.
[0048] S102. In response to the user's operation instruction, the master control locomotive generates a control instruction and determines the execution time of the control instruction.
[0049] When a user (such as a driver) controls the master locomotive, the master locomotive generates corresponding control instructions according to the operation instructions input by the user, and determines the execution time of the control instructions in the master locomotive and each slave locomotive.
[0050] S103: The master locomotive sends the control instruction and the execution time of the control instruction to each slave locomotive by wireless communication.
[0051] The master locomotive can use wireless communication, such as sending communication messages to each slave locomotive, to send the control instruction and the execution time of the control instruction to each slave locomotive. When each slave locomotive receives the communication message, it can extract the execution time of the control instruction from it. The message format of the master locomotive and the slave locomotive can be shown in Table 1. The agreed time in Table 1 is the execution time of the control instruction.
[0052] Table 1
[0053]
[0054] S104. When the time reaches the execution time, the master locomotive and each slave locomotive execute the control instruction.
[0055] When the time reaches the agreed time, that is, the time reaches the execution time, the master locomotive and each slave locomotive execute the control instruction to achieve synchronous control of the master and slave locomotives.
[0056] By agreeing on the execution time of control instructions in the master locomotive and each slave locomotive, the influence of wireless communication delay and communication jitter in the wireless synchronous control system is eliminated, the precise synchronous execution of control instructions is achieved, and the influence of communication delay and communication jitter on synchronization is eliminated.
[0057] The master-slave locomotive control method based on time synchronization provided in this embodiment maintains time synchronization between the master locomotive and each slave locomotive; in response to the user's operation instruction, the master locomotive generates a control instruction and determines the execution time of the control instruction; the master locomotive uses wireless communication to send the control instruction and the execution time of the control instruction to each slave locomotive; when the time reaches the execution time, the master locomotive and each slave locomotive execute the control instruction, thereby realizing synchronous control of the master and slave locomotives. Since the execution time of the control instruction is no longer restricted by communication delay and communication jitter, it can well ensure the synchronization between the master and slave locomotives, thereby improving the longitudinal dynamics performance of the train.
[0058] In order to achieve precise control of the master and slave locomotives, the master and slave locomotives are required to execute control actions at the agreed execution time, where the "execution time" is based on their own system time. The system time error will affect the synchronization of control. Figure 3 As shown, at 9:00, the master locomotive and the slave locomotive agreed to apply air brakes at 9:05 (i.e., the execution time is 9:05). When the master locomotive system time reaches 9:05, the air brake is applied. The slave locomotive receives the instruction at 9:02, and the slave locomotive system time also reaches 9:05 to apply air brakes. If the master locomotive time is faster than the slave locomotive, T dr seconds, the master locomotive is ahead of the slave locomotive T dr seconds, as shown in the figure arrow 3 and arrow 5. On the contrary, the master locomotive time is slower than the slave locomotive T dr seconds, the slave locomotive is ahead of the master locomotive T dr Seconds action, as shown by arrows 2 and 6 in the figure, other combinations will not be described in detail. Synchronicity can only be ensured if the time of the master and slave locomotives is strictly synchronized. On the basis of the above embodiments, in the master-slave locomotive control method based on time synchronization provided in this embodiment, the time synchronization between the master locomotive and each slave locomotive is maintained, which may specifically include: the master locomotive and each slave locomotive respectively use the time of a high-precision clock source as the system time; the time of the global positioning system is obtained according to a preset calibration period to calibrate each high-precision clock source, so as to synchronize the system time of the master locomotive with each slave locomotive. In this embodiment, the system is required to have GPS and a high-precision clock source (such as Figure 4 As shown in the figure, the time of the high-precision clock source is used as the real-time time of the system, and the GPS time is obtained at a fixed period to calibrate the clock source to ensure that the clock source error is within the allowable range.
[0059] In order to ensure that the clock source error is within the allowable range, the preset calibration period is determined according to the following expression:
[0060] T gc =T se / (2*T e )
[0061] Among them, T gc Indicates the preset calibration period, T e Represents the high-precision clock source error, T se Indicates the allowable error of the system.
[0062] Furthermore, when the GPS signal is lost for more than the set time T l If the time adjustment cannot be completed on time, the system time error is determined to be uncontrollable and downgrade control is adopted. Downgrade control usually limits some functions of the train. l Determined according to the following expression:
[0063] T l =T se / T e
[0064] Among them, T l Indicates the setting time, T e Represents the high-precision clock source error, T se Indicates the allowable error of the system.
[0065] The following will further explain in detail how to achieve precise control of the master and slave locomotives for several specific situations.
[0066] On the basis of any of the above embodiments, in view of the asynchrony of control instructions caused by communication delay and communication jitter, the master-slave locomotive control method based on time synchronization provided in this embodiment determines the execution time of the control instruction, which may specifically include: the execution time of the control instruction in the master locomotive and each slave locomotive is the same, and the time difference between the execution time and the current time is greater than or equal to the maximum value of the wireless communication delay time of each slave locomotive. In other words, when only wireless communication delay and jitter need to be eliminated, the execution time agreed upon by the master and slave locomotives is the same, and the selection of this future execution time fully considers the maximum wireless communication delay time in the train formation, thereby avoiding the situation where the agreed execution time has been exceeded when the message arrives.
[0067] In addition to wireless communication delays and jitters, the control loop delay time of the master and slave locomotives is also an important factor leading to control asynchrony. The control loop is usually for the control of analog quantities. A controller determines an output quantity based on an input quantity according to certain rules and algorithms. In this way, the input and output form a control loop. The control loop mentioned in this article specifically refers to the control instructions of the wireless synchronous control system, which is the path from the output of the wireless synchronous control system to the final execution component. The control instruction loops of the master and slave locomotives are different. The main reason is that in the control loop between the wireless synchronous control system of the master and slave locomotives and the execution components, the communication cycle and logic processing cycle of the control instructions of each subsystem are different, especially when the master and slave locomotive models are different. This is another important factor leading to control asynchrony. The response time difference Δt of the control instructions of the master and slave locomotives in the existing wireless synchronous control system depends on the wireless communication delay, communication jitter, and the delay time of the control loop of the master and slave locomotives. The relationship between the control instructions of the master and slave locomotives on the time axis is as follows: Figure 5 shown.
[0068] After the master locomotive sends out the command, T s1 The slave locomotive is delayed by T seconds due to communication jitter. d1 ±T dr1 After receiving the command, the s2 Action after seconds, by Figure 5 It can be seen that Δt is:
[0069] Δt=T d1 ±T dr1 +(T s2 -T s1 )
[0070] T d1 : represents the average delay of wireless communication between the wireless synchronization control units of the master and slave locomotives;
[0071] T dr1 : represents the jitter time difference of the control command delay received by the wireless synchronous control unit of the slave locomotive, T d1 ±T dr1 Indicates the actual delay of wireless communication;
[0072] T s1 : Indicates the time taken by the control command of the master locomotive to pass through the control loop, such as Figure 1 The control instruction takes time to pass through the control unit 0;
[0073] T s2 : Indicates the time taken by the slave locomotive control command to pass through the control loop, such as Figure 1 The time taken for the control command to pass through the control unit 1 / 2 / ... / N is T s2 -T s1Indicates the time difference between the master and slave locomotive control loops.
[0074] Synchronous control is performed by agreeing on the execution time. Synchronicity is no longer directly related to communication delay and jitter, but mainly depends on the time difference between the master and slave locomotives, such as Figure 6 When the agreed time of the master and slave locomotives is the same, the response time difference Δt of the control command of the master and slave locomotives is:
[0075] Δt≤2*T dr2 +(T s2 -T s1 )
[0076] T dr2 : Indicates the time error of the wireless synchronization control unit of the master and slave locomotives;
[0077] When time compensation is performed on the master and slave locomotive control loops, let T d2 =T s2 -T s1 , the synchronization will be further improved, and Δt is:
[0078] Δt≤2*T dr2
[0079] T d2 : Indicates the agreed time difference between the master and slave locomotives.
[0080] It can be seen from this that if the delay time of the master and slave locomotive control loops can be accurately estimated, by adjusting the agreed time difference between the master and slave locomotives so that the agreed time difference is equal to the delay time difference of the master and slave locomotive control loops, Δt can be controlled within a very small range, significantly improving synchronization.
[0081] On the basis of the above embodiments, in order to further eliminate the influence of the delay time of the control loop of the master and slave locomotives, in the master and slave locomotive control method based on time synchronization provided in this embodiment, determining the execution time of the control instruction may specifically include: obtaining the control loop delay time of the master locomotive and the control loop delay time of each slave locomotive; and performing time compensation on the execution time of the control instruction in the master locomotive and the execution time of the control instruction in each slave locomotive according to the control loop delay time of the master locomotive and the control loop delay time of each slave locomotive. That is to say, by performing time compensation on the control loop of the master and slave locomotives and setting different execution times for the master and slave locomotives, the influence of the delay time of the control loop of the master and slave locomotives is eliminated, and the response action of the control instruction is synchronized. Furthermore, in an optional implementation, time compensation is performed on the execution time of the control command in the master locomotive and the execution time of the control command in each slave locomotive, which may specifically include: the time difference between the execution time of the control command in the master locomotive and the execution time of the control command in each slave locomotive is equal to the time difference between the control loop delay time of the master locomotive and the control loop delay time of each slave locomotive, so that the master locomotive and each slave locomotive synchronize their responses to the control command.
[0082] It should be noted that the existing control mode master-slave locomotive usually has a delay of several seconds. The combination of GPS and high-precision clock source can control the system time error to the millisecond level. The control response loop time of the master-slave locomotive is equal to the wired communication delay plus the subsystem's control instruction processing time. It is a relatively fixed delay with small jitter, which can be calculated or measured and eliminated through time compensation. In summary, the master-slave locomotive control method based on time synchronization provided by the present application does not need to further improve the real-time performance of wireless communication on the existing system. Only minor changes can reduce the original delay of several seconds to milliseconds, effectively solving the synchronization problem of synchronous control of master-slave locomotives.
[0083] In order to improve the longitudinal dynamics of the train under some special working conditions, it is necessary to adjust the control sequence relationship between the master and slave locomotives. The existing control mode cannot meet the needs of precise timing control, cannot support the needs of control timing adjustment, and has a large timing control error, which cannot meet the control requirements. The master-slave locomotive control method based on time synchronization provided in the present application is essentially precise timing control. In addition to eliminating delays and making the timing highly synchronized, it can also be used for asynchronous control. For example, according to the control strategy, the master and slave locomotives are precisely controlled to act according to different timings such as leading, lagging, and synchronizing, thereby optimizing the longitudinal dynamics of the train. In an optional embodiment, when asynchronous control is performed on the master locomotive and each slave locomotive, the method may also include: subtracting the corresponding lead time from the execution time of the control command in the master locomotive and each slave locomotive, or adding the corresponding lag time. Thereby achieving precise asynchronous control of the master and slave locomotive control actions and improving the accuracy of asynchronous control timing. The asynchronous control timing can refer to Figure 7 shown.
[0084] In summary, the master-slave locomotive control method based on time synchronization provided in the present application eliminates the dependence of the master-slave locomotive control synchronization on the real-time performance of wireless communication by adopting the method of agreeing on the execution time of the master-slave locomotive. Under the communication state of low wireless communication delay and large wireless communication jitter, the system can still maintain a high control synchronization. When used in a wireless synchronous control system, it can well improve the system synchronization and improve the longitudinal dynamics performance of the train; further, by adopting the agreed execution time and the method of time compensation for the time difference of the master-slave locomotive control loop, when different models are mixed, different subsystems are mixed, and the same subsystem has strategic differences in master-slave control, the master and slave locomotives can still be guaranteed to respond to the control instructions with high synchronization. When used in a wireless synchronous control system, it can further improve the system synchronization and improve the longitudinal dynamics performance of the train; it can not only achieve high synchronization of the control instruction response actions of the master and slave locomotives, but also accurately control the precise asynchronous actions of the master and slave locomotives. For example, the slave locomotive moves before or after the master locomotive, which can support the implementation of the asynchronous control system control algorithm, and can further improve the longitudinal dynamics performance of the train, and improve the smooth operation and safety of the train.
[0085] The embodiment of the present invention further provides a combined train, which may specifically include: a master locomotive and at least one slave locomotive; and the combined train is controlled by using any of the master-slave locomotive control methods based on time synchronization as described above.
[0086] The embodiment of the present invention further provides an electronic device, which may specifically include: a memory, a processor and a bus, wherein the bus is used to realize the connection between various components.
[0087] A computer program is stored in the memory, and when the computer program is executed by the processor, the technical solution of any of the above method embodiments can be implemented.
[0088] The memory and the processor are electrically connected directly or indirectly to achieve data transmission or interaction. For example, these elements can be electrically connected to each other through one or more communication buses or signal lines, such as through a bus connection. The memory stores a computer program for implementing a master-slave locomotive control method based on time synchronization, including at least one software function module that can be stored in the memory in the form of software or firmware. The processor executes various functional applications and data processing by running the software program and module stored in the memory.
[0089] The memory may be, but is not limited to, a random access memory (RAM), a read only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable read-only memory (EEPROM), etc. The memory is used to store programs, and the processor executes the programs after receiving the execution instructions. Furthermore, the software programs and modules in the above-mentioned memory may also include an operating system, which may include various software components and / or drivers for managing system tasks (such as memory management, storage device control, power management, etc.), and may communicate with various hardware or software components to provide an operating environment for other software components.
[0090] The processor may be an integrated circuit chip with signal processing capability. The above-mentioned processor may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc. The disclosed methods, steps and logic block diagrams in the embodiments of the present invention may be implemented or executed. The general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc. It is understood that Figure 6 The structure is only for illustration and may also include Figure 6 More or fewer components as shown, or with Figure 6 Different configurations are shown. Figure 6 Each component shown in the figure may be implemented by hardware and / or software.
[0091] An embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored. The computer program is executed by a processor to implement the technical solution of any of the above method embodiments.
[0092] The various embodiments in the present disclosure are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.
[0093] The protection scope of the present disclosure is not limited to the above-mentioned embodiments. Obviously, those skilled in the art can make various changes and modifications to the present disclosure without departing from the scope and spirit of the present disclosure. If these changes and modifications fall within the scope of the claims of the present disclosure and their equivalents, the intention of the present disclosure also includes these changes and modifications.
Claims
1. A master-slave locomotive control method based on time synchronization, It is characterized in that include: Maintain time synchronization between the master locomotive and each slave locomotive; In response to the user's operation instruction, the master control locomotive generates a control instruction and determines the execution time of the control instruction; The master control locomotive sends the control instruction and the execution time of the control instruction to each slave control locomotive by wireless communication; When the time reaches the execution time, the master locomotive and each slave locomotive execute the control instruction.
2. The method according to claim 1, It is characterized in that The step of maintaining time synchronization between the master locomotive and each slave locomotive comprises: The master locomotive and each slave locomotive use the time of a high-precision clock source as the system time; The time of the global positioning system is obtained according to the preset calibration cycle to calibrate each high-precision clock source so that the system time of the master locomotive and each slave locomotive is synchronized.
3. The method according to claim 2, It is characterized in that The preset calibration period is determined according to the following expression: T gc =T se / (2*T e ) Among them, T gc Indicates the preset calibration period, T e Represents the high-precision clock source error, T se Indicates the allowable error of the system.
4. The method according to claim 1, It is characterized in that Determining the execution time of the control instruction includes: The control command is executed at the same time in the master locomotive and each slave locomotive, and the time difference between the execution time and the current time is greater than or equal to the maximum value of the wireless communication delay time of each slave locomotive.
5. The method according to claim 1, It is characterized in that Determining the execution time of the control instruction includes: Obtaining the control loop delay time of the master locomotive and the control loop delay time of each slave locomotive; According to the control loop delay time of the master locomotive and the control loop delay time of each slave locomotive, time compensation is performed on the execution time of the control command in the master locomotive and the execution time of the control command in each slave locomotive.
6. The method according to claim 5, It is characterized in that The time compensation for the execution time of the control command in the master locomotive and the execution time of the control command in each of the slave locomotives includes: The time difference between the execution time of the control command in the master locomotive and the execution time of the control command in each of the slave locomotives is equal to the time difference between the control loop delay time of the master locomotive and the control loop delay time of each of the slave locomotives, so that the master locomotive and each of the slave locomotives synchronize their responses to the control command.
7. The method according to any one of claims 1 to 6, It is characterized in that When asynchronous control is performed on the master locomotive and each slave locomotive, the method further comprises: The execution time of the control command in the master locomotive and each slave locomotive is subtracted from the corresponding lead time, or added with the corresponding lag time.
8. A combination train, It is characterized in that include: A master locomotive and at least one slave locomotive; The control of the combined train is achieved by using the master-slave locomotive control method based on time synchronization as described in any one of claims 1 to 7.
9. An electronic device, It is characterized in that include: at least one processor and memory; The memory stores computer-executable instructions; The at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor executes the master-slave locomotive control method based on time synchronization as described in any one of claims 1-7.
10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the master-slave locomotive control method based on time synchronization as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Synchronous control method for heavy-duty locomotive signal based on ATP / ATO (Automatic Train Protection / Automatic Train Operation) equipment
CN102616258A
Train pipe synchronous control method and system for heavy-haul combination train
CN110174868A
Virtual marshalling train control method and device based on time reference and storage medium
CN114162178A
Clock synchronization communication system and method for rail train
WO2021063300A1
Cited By
Dynamic adjustment method and device for traction control of heavy haul train and electronic equipment
CN121291160A
A method, device, and electronic equipment for dynamic adjustment of traction control of heavy-haul trains.
CN121291160B
