A method and device for automatically controlling the passenger compartment lights of a train

The on-board signal system accurately controls the switch of the train passenger room light, which solves the dark problem before and after the tunnel enters, ensures passenger lighting and driver safety, and reduces resource waste.

CN115556787BActive Publication Date: 2025-07-08CASCO SIGNAL (BEIJING) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211301519.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-24
Publication Date
2025-07-08
Estimated Expiration
2042-10-24

AI Technical Summary

Technical Problem

In the prior art, there is a dark time for the automatic control of the passenger room lights before and after entering the tunnel, which affects passenger lighting, and the control method of the photosensitive element may lead to waste of resources and distraction of driver operations.

Method used

The real-time position of the train front is obtained through the on-board signal system, and the on-board electronic map is used to calculate the entrance and exit positions of the target tunnel, combining the train speed and sensor errors, accurately control the switch of the passenger room light to avoid dark time.

Benefits of technology

It realizes that the passenger room lights are automatically turned on before the train enters the tunnel and automatically turns off after completely leaving the tunnel, ensuring comfortable lighting for passengers, reducing resource waste, improving driver concentration, and improving train safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115556787B_ABST
    Figure CN115556787B_ABST
Patent Text Reader

Abstract

The present invention discloses a method and device for automatically controlling the passenger compartment lights of a train, which relates to the technical field of train control. The main purpose is to automatically turn on the passenger compartment lights of the train before it enters the tunnel and automatically turn off the passenger compartment lights of the train after the entire train body has left the tunnel. The main technical solution of the present invention is as follows: obtain the real-time position of the train's head; according to the real-time position of the train's head, use the on-vehicle electronic map to obtain the entrance position and exit position of the target tunnel corresponding to the train; then use a preset algorithm to calculate the target head position of the train; when the train's head runs to the target head position, send a signal to turn on the lights or a signal to turn off the lights to the control device of the train's passenger compartment lights; the control device of the train's passenger compartment lights controls the on / off state of the train's passenger compartment lights according to the received signal to turn on the lights or the signal to turn off the lights. The present invention is used for the automatic control of the passenger compartment lights of a train.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of train control, and particularly to a method and device for automatically controlling the passenger compartment lights of a train. Background Art

[0002] For rail trains with elevated sections, there are two situations. When the train is in the open air, there is sunlight, and there is no need for passenger compartment lighting. When the train enters the tunnel, the tunnel lights cannot meet the lighting needs of passengers, and the passenger compartment lights need to be turned on for lighting.

[0003] Currently, a photosensitive element is installed in front of the train head. During the operation of the train during the day, the photosensitive element controls the lighting of the passenger compartment lights according to the absence of light after the train enters the tunnel and the presence of light after the train exits the tunnel. During the operation of the train at night, the driver turns on the passenger compartment lights of the train according to the lighting conditions.

[0004] However, although the method of installing a photosensitive element in front of the train head can automatically control the on / off of the passenger compartment lights of the train to avoid waste of resources, since the photosensitive element controls the on / off of the passenger compartment lights of the train based on the absence of light after the train enters the tunnel and the presence of light after the train exits the tunnel, there is a dark period for some of the passenger compartment lights before the lights are turned on and before the train completely exits the tunnel, which will affect the normal lighting of passengers. Summary of the Invention

[0005] In view of the above problems, the present invention provides a method and device for automatically controlling the passenger compartment lights of a train, and the main purpose is to accurately automatically turn on the passenger compartment lights of the train before the train enters the tunnel and automatically turn off the passenger compartment lights of the train after the entire train body leaves the tunnel through the on-vehicle signal system.

[0006] To solve the above technical problems, the present invention proposes the following solutions:

[0007] In a first aspect, the present invention provides a method for automatically controlling the passenger compartment lights of a train, and the method includes:

[0008] Obtain the real-time position of the train head;

[0009] According to the real-time position of the train head, use the on-vehicle electronic map to obtain the entrance position and exit position of the target tunnel corresponding to the train, wherein the starting point of each track section in the on-vehicle electronic map is the end point in the upward direction of the track section, and the end point of each track section is the end point in the downward direction of the track section;

[0010] Based on the real-time position of the train's head, the entrance position and exit position of the target tunnel, the position of the target beacon closest to the entrance position of the target tunnel, the position of the target beacon closest to the exit position of the target tunnel, the positioning error rate of the train's speed sensor, the duration from sending the light-on signal to the turning on of the train's passenger compartment lights, the maximum operating speed of the train, the length of the train, and the running direction of the train, calculate the target head position of the train using a preset algorithm, where the target head position refers to the head position when sending a light-on signal or a light-off signal to the control device of the train's passenger compartment lights;

[0011] When the head of the train runs to the target head position, send the light-on signal or the light-off signal to the control device of the train's passenger compartment lights;

[0012] The control device of the train's passenger compartment lights controls the on / off state of the train's passenger compartment lights according to the received light-on signal or light-off signal.

[0013] Preferably, when the real-time position of the head of the train is about to enter the target tunnel, based on the entrance position of the target tunnel, the position of the target beacon closest to the entrance position of the target tunnel, the positioning error rate of the train's speed sensor, the duration from sending the light-on signal to the turning on of the train's passenger compartment lights, the maximum operating speed of the train, and the running direction of the train, calculate the target head position of the train using a preset algorithm, including:

[0014] Obtain the entrance position of the target tunnel (B m , abs m ) and the distance L) between the position of the target beacon closest to the entrance position of the target tunnel (B m , abs rb-m in , where B m represents the mth track section, abs m and abs rb-m both represent coordinates, and L in = abs m - abs rb-m . The target beacon closest to the entrance position of the target tunnel is the last beacon passed by the head of the train before entering the entrance of the target tunnel;

[0015] Based on the positioning error rate G% of the train's speed sensor and the distance L in between the entrance position of the target tunnel and the position of the target beacon closest to the entrance position of the target tunnel, calculate the maximum positioning error L of the distance between the entrance position of the target tunnel and the position of the target beacon closest to the entrance position of the target tunnelin *G%;

[0016] According to the time duration T from the issuance of the said lighting signal to the turning on of the train passenger compartment lights and the maximum running speed V of the train max Calculate the maximum running distance T*V of the train within the time duration T from the issuance of the said lighting signal to the turning on of the train passenger compartment lights max ;

[0017] According to the entrance position (B m , abs m ) of the target tunnel, the maximum positioning error L of the distance between the entrance position of the target tunnel and the position of the target beacon closest to the entrance position of the target tunnel in *G% and the maximum running distance T*V of the train within the time duration T from the issuance of the said lighting signal to the turning on of the train passenger compartment lights max , calculate the target head position of the train, where the target head position is the head position when the lighting signal is sent to the control device of the train passenger compartment lights.

[0018] Preferably, the calculating the target head position of the train according to the entrance position (B m , abs m ) of the target tunnel, the maximum positioning error L of the distance between the entrance position of the target tunnel and the position of the target beacon closest to the entrance position of the target tunnel in *G% and the maximum running distance T*V of the train within the time duration T from the issuance of the said lighting signal to the turning on of the train passenger compartment lights max , includes:

[0019] When the running direction of the train is the downward direction, then the target head position of the train is (B m , abs m -L in *G%-T*V max );

[0020] When the running direction of the train is the upward direction, then the target head position of the train is (B m , abs m +L in *G%+T*V max ).

[0021] Preferably, when the real-time position of the locomotive of the train is ready to leave the target tunnel, the target locomotive position of the train is calculated using a preset algorithm according to the exit position of the target tunnel, the position of the target beacon closest to the exit position of the target tunnel, the positioning error rate of the speed sensor of the train, the length of the train, and the running direction of the train, including:

[0022] Obtain the exit location of the target tunnel according to the on-board electronic map (B n , abs n ) and the position of the target beacon closest to the exit position of the target tunnel (B n , abs rb-n ) out , where B n Indicates the nth track segment, abs n and abs rb-n Both represent coordinates, L out =abs n -abs rb-n , the target beacon closest to the exit position of the target tunnel is the last beacon passed by the locomotive of the train before leaving the exit of the target tunnel;

[0023] According to the positioning error rate G% of the speed sensor of the train and the distance L between the exit position of the target tunnel and the position of the target beacon closest to the exit position of the target tunnel, out The maximum positioning error L between the exit position of the target tunnel and the position of the target beacon closest to the exit position of the target tunnel is calculated. out *G%;

[0024] According to the exit position of the target tunnel (B n , abs n ), the maximum positioning error L between the exit position of the target tunnel and the position of the target beacon closest to the exit position of the target tunnel out *G% and the length of the train L trian , the target locomotive position of the train is calculated, wherein the target locomotive position refers to the locomotive position when the light-off signal is sent to the control device of the train passenger compartment lights.

[0025] Preferably, the exit position (B n , abs n ), the maximum positioning error L between the exit position of the target tunnel and the position of the target beacon closest to the exit position of the target tunnel out *G% and the length of the train L trian, calculating the target head position of the train, including:

[0026] When the running direction of the train is the downward direction, the target head position of the train is (B n , abs n +L trian+ L out *G%);

[0027] When the running direction of the train is the upward direction, the target head position of the train is (B n , abs n -L trian -L out *G%).

[0028] Preferably, the obtaining of the real-time head position of the train includes:

[0029] When the head of the train passes by a beacon, the real-time head position of the train is positioned by the cooperation of the beacon antenna and the beacon;

[0030] When the head of the train is between two adjacent beacons, the distance that the head of the train leaves the previous beacon is obtained by using the speed sensor of the train;

[0031] The real-time head position of the train is calculated and obtained according to the position of the previous beacon that the head of the train leaves and the distance that the head of the train leaves the previous beacon.

[0032] Preferably, the obtaining of the entrance position and the exit position of the target tunnel corresponding to the train by using the on-vehicle electronic map according to the real-time head position of the train includes:

[0033] Determining the target track where the train is located by using the on-vehicle electronic map according to the real-time head position of the train;

[0034] Obtaining the target tunnel closest to the head of the train by using the on-vehicle electronic map according to the target track;

[0035] Obtaining the entrance position and the exit position of the target tunnel by using the on-vehicle electronic map.

[0036] In a second aspect, the present invention provides a device for automatically controlling the passenger compartment lights of a train, and the device includes:

[0037] A first obtaining unit, configured to obtain the real-time head position of the train;

[0038] A second acquisition unit is used to acquire the entrance position and exit position of the target tunnel corresponding to the train using the on-board electronic map according to the real-time position of the front of the train, wherein the endpoint of each track segment in the upward direction in the on-board electronic map is the starting point of the track segment, and the endpoint of each track segment in the downward direction is the end point of the track segment;

[0039] a calculation unit, for calculating the target locomotive position of the train using a preset algorithm according to the entrance position and exit position of the target tunnel, the position of the target beacon closest to the entrance position of the target tunnel, the position of the target beacon closest to the exit position of the target tunnel, the positioning error rate of the speed sensor of the train, the time from sending a light-on signal to turning on the passenger compartment lights of the train, the maximum running speed of the train, the length of the train, and the running direction of the train, wherein the target locomotive position refers to the locomotive position when a light-on signal or a light-off signal is sent to a control device for the passenger compartment lights of the train;

[0040] A sending unit, configured to send the light-on signal or the light-off signal to a control device of the train passenger compartment light when the locomotive of the train runs to the target locomotive position;

[0041] A control unit is used for controlling the train passenger compartment light to control the on / off state of the train passenger compartment light according to the received light-on signal or light-off signal.

[0042] Preferably, the computing unit comprises:

[0043] An acquisition module is used to acquire the entrance position of the target tunnel according to the vehicle-mounted electronic map (B m , abs m ) and the position of the target beacon closest to the entrance position of the target tunnel (B m , abs rb-m ) in , where B m represents the mth track segment, abs m and abs rb-m Both represent coordinates, L in =abs m -abs rb-m , the target beacon closest to the entrance of the target tunnel is the last beacon passed by the front of the train before entering the entrance of the target tunnel;

[0044] The first calculation module is used to calculate the position of the target beacon closest to the entrance position of the target tunnel according to the positioning error rate G% of the speed sensor of the train and the distance L between the entrance position of the target tunnel and the entrance position of the target tunnel. inCalculating the maximum positioning error L of the distance between the entrance position of the target tunnel and the position of the target beacon closest to the entrance position of the target tunnel in *G%;

[0045] A second calculation module, configured to calculate, according to the duration T from the issuance of the lighting signal to the turning on of the train passenger compartment lights and the maximum running speed V of the train max The maximum running distance T*V of the train within the duration T from the issuance of the lighting signal to the turning on of the train passenger compartment lights max ;

[0046] A third calculation module, configured to calculate, according to the entrance position (B m , abs m ) of the target tunnel, the maximum positioning error L of the distance between the entrance position of the target tunnel and the position of the target beacon closest to the entrance position of the target tunnel in *G% and the maximum running distance T*V of the train within the duration T from the issuance of the lighting signal to the turning on of the train passenger compartment lights max , the target head position of the train is calculated, where the target head position is the head position when the lighting signal is sent to the control device of the train passenger compartment lights.

[0047] Preferably, the third calculation module includes:

[0048] It is further configured that when the running direction of the train is the downward direction, the target head position of the train is (B m , abs m -L in *G%-T*V max );

[0049] It is further configured that when the running direction of the train is the upward direction, the target head position of the train is (B m , abs m +L in *G%+T*V max ).

[0050] Preferably, the calculation unit includes:

[0051] An acquisition module, further configured to obtain the distance L between the exit position (B n , abs n ) of the target tunnel obtained according to the on-vehicle electronic map and the position (B n , abs rb-n ) of the target beacon closest to the exit position of the target tunnel, where B out , B nIndicates the nth track segment, abs n and abs rb-n Both represent coordinates, L out =abs n -abs rb-n , the target beacon closest to the exit position of the target tunnel is the last beacon passed by the locomotive of the train before leaving the exit of the target tunnel;

[0052] The first calculation module is further used to calculate the position of the target beacon closest to the exit position of the target tunnel according to the positioning error rate G% of the speed sensor of the train and the distance L between the exit position of the target tunnel and the exit position of the target tunnel. out The maximum positioning error L between the exit position of the target tunnel and the position of the target beacon closest to the exit position of the target tunnel is calculated. out *G%;

[0053] The third calculation module is further used to calculate the exit position of the target tunnel (B n , abs n ), the maximum positioning error L between the exit position of the target tunnel and the position of the target beacon closest to the exit position of the target tunnel out *G% and the length of the train L trian , the target locomotive position of the train is calculated, wherein the target locomotive position refers to the locomotive position when the light-off signal is sent to the control device of the train passenger compartment lights.

[0054] Preferably, the third calculation module includes:

[0055] Also used for when the running direction of the train is the down direction, the target locomotive position of the train is (B n , abs n +L trian+ L out *G %);

[0056] Also used for when the running direction of the train is the upward direction, the target locomotive position of the train is (B n , abs n -L trian -L out *G%).

[0057] Preferably, the first acquiring unit includes:

[0058] A positioning module, used for locating the real-time position of the front of the train by using the beacon antenna in cooperation with the beacon when the front of the train passes by the beacon;

[0059] An acquisition module, configured to, when the front of the train is between two adjacent beacons, acquire, by using a speed sensor of the train, a distance between the front of the train and the previous beacon.

[0060] A calculation module, configured to calculate, according to a position of the previous beacon from which the front of the train departs and a distance between the front of the train and the previous beacon, a real-time position of the front of the train.

[0061] Preferably, the second acquisition unit includes:

[0062] A determination module, configured to determine, according to the real-time position of the front of the train, a target track on which the train is located by using an in-vehicle electronic map.

[0063] A first acquisition module, configured to acquire, according to the target track, a target tunnel closest to the front of the train by using the in-vehicle electronic map.

[0064] A second acquisition module, configured to acquire an entrance position and an exit position of the target tunnel by using the in-vehicle electronic map.

[0065] To achieve the above object, according to a third aspect of the present invention, there is provided a storage medium, where the storage medium includes a stored program, and when the program runs, it controls a device where the storage medium is located to execute the method for automatically controlling a train passenger compartment light described in the first aspect above.

[0066] To achieve the above object, according to a fourth aspect of the present invention, there is provided an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where when the processor executes the program, it implements all or part of the steps of the device for automatically controlling a train passenger compartment light described in the second aspect.

[0067] With the above technical solutions, the method and device for automatically controlling the passenger compartment lights of a train provided by the present invention are such that controlling the on / off of the passenger compartment lights of the train by installing a photosensitive element in front of the train head is based on the absence of light after the train enters the tunnel and the presence of light after the train exits the tunnel. This results in a period of darkness for some of the passenger compartment lights both before the lights are turned on and before the train completely exits the tunnel. To address this, the present invention obtains the real-time position of the train head; based on the real-time position of the train head, uses the on-vehicle electronic map to obtain the entrance position and exit position of the target tunnel corresponding to the train; based on the real-time position of the train head and the entrance position and exit position of the target tunnel, uses a preset algorithm to calculate the head position when sending a signal to turn on or turn off the lights to the control device of the train passenger compartment lights; when the train head runs to the target head position, sends a signal to turn on or turn off the lights to the control device of the train passenger compartment lights; the control device of the train passenger compartment lights controls the on / off state of the train passenger compartment lights according to the received signal to turn on or the signal to turn off. The present invention can, on the premise of ensuring train safety and operation efficiency, accurately turn on the train passenger compartment lights automatically through the on-vehicle signal system before the train enters the tunnel and turn off the train passenger compartment lights automatically after the entire train body has left the tunnel, avoiding a period of darkness for some of the passenger compartment lights both before the lights are turned on and before the train completely exits the tunnel, and ensuring comfortable lighting for passengers.

[0068] The above description is only an overview of the technical solution of the present invention. In order to be able to understand the technical means of the present invention more clearly, it can be implemented according to the content of the description. And in order to make the above and other purposes, features, and advantages of the present invention more obvious and understandable, the following specifically illustrates the embodiments of the present invention. Brief Description of the Drawings

[0069] By reading the detailed description of the preferred embodiments below, various other advantages and benefits will become clear to those of ordinary skill in the art. The drawings are only for the purpose of showing the preferred embodiments and are not considered to be a limitation of the present invention. Moreover, throughout the drawings, the same reference numerals are used to represent the same components. In the drawings:

[0070] Figure 1 Shows a flowchart of a method for automatically controlling the passenger compartment lights of a train provided by an embodiment of the present invention;

[0071] Figure 2 Shows a flowchart of another method for automatically controlling the passenger compartment lights of a train provided by an embodiment of the present invention;

[0072] Figure 3 Shows a block diagram of the composition of a device for automatically controlling the passenger compartment lights of a train provided by an embodiment of the present invention;

[0073] Figure 4The block diagram of another device for automatically controlling the passenger compartment lights of a train provided by an embodiment of the present invention is shown. Detailed implementation manners

[0074] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided so that the present disclosure can be more thoroughly understood and the scope of the present disclosure can be fully conveyed to those skilled in the art.

[0075] Technical term explanations:

[0076] Upward direction: As stipulated by the Ministry of Railways, the direction towards Beijing for the whole railway, and the direction towards the main line or the designated direction for branch lines is the upward direction, and the train numbers are assigned even numbers.

[0077] Downward direction: As stipulated by the Ministry of Railways, the direction away from Beijing for the whole railway, and the direction away from the main line or the designated direction for branch lines is the downward direction, and the train numbers are assigned odd numbers.

[0078] For rail trains with elevated sections, there will be two situations. When the train is in the open air, there is sunlight, and there is no need for passenger compartment lighting. After the train enters the tunnel, the tunnel lights cannot meet the lighting needs of passengers, and the passenger compartment lights need to be turned on for lighting. Currently, during the day's train operation, the passenger compartment lights of trains generally adopt three control methods: 1. The driver controls through the switch on the train's console. When the train starts operation, the driver turns on the passenger compartment lights, and when the train ends operation, the driver turns off the passenger compartment lights. This method can ensure the normal lighting of passengers but will cause certain resource waste; 2. The driver controls the turning on and off of the passenger compartment lights according to entering and exiting the tunnel. This method may affect the normal operation of the driver and pose a certain safety risk; 3. A photosensitive element is installed in front of the train head, and the photosensitive element controls the lighting of the passenger compartment lights based on the absence of light after the train enters the tunnel and the presence of light after the train exits the tunnel. Although this method can automatically control the turning on and off of the passenger compartment lights of the train to avoid resource waste, because the photosensitive element controls the turning on and off of the passenger compartment lights of the train based on the absence of light after the train enters the tunnel and the presence of light after the train exits the tunnel, this results in a dark period for some of the passenger compartment lights both before the passenger compartment lights are turned on and before the train completely exits the tunnel, which will affect the normal lighting of passengers. During the night train operation, the driver turns on the passenger compartment lights of the train according to the light conditions. In view of this problem, the inventor thought of accurately turning on the passenger compartment lights of the train automatically before the train enters the tunnel and turning off the passenger compartment lights of the train automatically after the entire train body leaves the tunnel through the on-vehicle signal system.

[0079] To this end, an embodiment of the present invention provides a method for automatically controlling the passenger compartment lights of a train. Through this method, the passenger compartment lights of the train are automatically turned on before the train enters the tunnel and automatically turned off after the entire train body leaves the tunnel. The specific implementation steps are as follows Figure 1 shown and include:

[0080] 101. Obtain the real-time position of the train head.

[0081] The on-vehicle signal system includes a signal host, a beacon antenna, a speed sensor, and a man-machine interface display screen. Among them, the beacon antenna performs train positioning and repositioning by reading the information of the trackside beacon, the speed sensor can measure the train speed and the running distance of the train in real time, and the signal host combines the positioning information of the beacon antenna, the running distance of the speed sensor, and the on-vehicle electronic map to calculate the position of the train head in real time. The man-machine interface display screen can display the on-off state information of the passenger compartment lights of the train.

[0082] The on-vehicle signal system determines the train running direction and the head end according to the activation of the driver's cab key, performs train positioning according to the beacon antenna, calculates the real-time position of the train according to the speed sensor, and finally can obtain the real-time position of the train head.

[0083] 102. According to the real-time position of the train head, use the on-vehicle electronic map to obtain the entrance position and the exit position of the target tunnel corresponding to the train.

[0084] There are several axle counter sensors installed on the train track, and there will be several switch points on the train track; on the on-vehicle electronic map of the train, each axle counter sensor and each switch point are used as dividing points to divide each train track into several track sections. The endpoints of the track sections can be axle counter sensors or switch points; the full English name of the track section is Block, and the English abbreviation is B; hereinafter, "B" is used to represent the track section; for each track section in the on-vehicle electronic map, the axle counter sensor in the upward direction is used as the starting point of each track section, and the value of this starting point is "0", and the axle counter sensor in the downward direction is used as the end point of each track section, and the value of this end point is the total length of the corresponding track section; and for each point on each track section in the on-vehicle electronic map, there is an independent coordinate (full English name: abscissa, English abbreviation: abs), and the coordinate accuracy is mm.

[0085] For example: It is known that the total length of the nth track section is 100 meters, the starting point coordinates of this track section are (B n , 0mm), the coordinates of the end point are (B n , 10 5 mm), and the coordinates of each point in this track section can be represented by (B n , abs n ).

[0086] It should be noted that: The starting point of each track section is also the ending point of an adjacent track section. For example: (B5, 0) = (B6, L6).

[0087] Based on the civil engineering data of each tunnel and the actual on-site measurement, confirm the geographical entrance position and geographical exit position of each tunnel. Based on the geographical entrance position and geographical exit position of each tunnel, display them in the form of coordinates on the in-vehicle electronic map. For example: the tunnel entrance position (B m , abs m ), the tunnel exit position (B n , abs n ), where B m represents the m-th track section; abs m represents the length from the starting point of the m-th track section, B n represents the n-th track section, and abs n represents the length from the starting point of the n-th track section.

[0088] The target tunnel refers to the tunnel where a train is about to enter or leave.

[0089] Since the coordinates of each tunnel and the corresponding entrance position and exit position have been recorded in the in-vehicle electronic map, therefore, according to the real-time position of the train's head, the target tunnel where the train is located and the entrance position (B m , abs m ) and exit position (B n , abs n ) of the target tunnel can be directly obtained by using the in-vehicle electronic map.

[0090] 103. According to the real-time position of the train's head, the entrance position and exit position of the target tunnel, the position of the target beacon closest to the entrance position of the target tunnel, the position of the target beacon closest to the exit position of the target tunnel, the positioning error rate of the train's speed sensor, the duration from sending the light-on signal to the train passenger compartment lights being turned on, the maximum running speed of the train, the length of the train, and the running direction of the train, calculate the target head position of the train by using a preset algorithm.

[0091] Among them, the target head position refers to the head position when sending a light-on signal or a light-off signal to the control device of the train passenger compartment lights.

[0092] The first case: When the real-time position of the train's head is about to enter the target tunnel, based on the real-time position of the train's head, the entrance position of the target tunnel, the position of the target beacon closest to the entrance position of the target tunnel, the positioning error rate of the train's speed sensor, the time duration from sending the signal to turn on the lights to the train's passenger compartment lights being turned on, the maximum running speed of the train, and the running direction of the train, the target head position of the train is calculated using a preset algorithm, where the target head position is the head position when sending a signal to turn on the lights to the control device of the train's passenger compartment lights; the specific steps are as follows:

[0093] It is known that the entrance coordinates of the target tunnel that the train is about to enter are (B m , abs m ), the beacon closest to the target tunnel entrance is (B m , abs rb-m ), the train passes through the beacon closest to the tunnel entrance first and then enters the target tunnel. The on and off of the train's passenger compartment lights are controlled by the train's on-board signal system. Considering the comfort of passengers, the train's passenger compartment lights need to be turned on before the train's head enters the target tunnel; obtain the entrance position of the target tunnel (B m , abs m ) and the position of the target beacon closest to the entrance position of the target tunnel (B m , abs rb-m ) from the on-board electronic map, and the distance L in between them, where B m represents the mth track section, abs m and abs rb-m both represent coordinates, and L in = abs m - abs rb-m . The target beacon closest to the entrance position of the target tunnel is the last beacon passed by the train's head before entering the tunnel entrance; considering the positioning error rate G% of the train's speed sensor, and then calculate the maximum positioning error L in of the distance between the entrance position of the target tunnel and the position of the target beacon closest to the entrance position of the target tunnel according to the positioning error rate G% of the train's speed sensor and the distance L in ; calculate the maximum running distance T * V max of the train during the time duration T from sending the signal to turn on the lights to the train's passenger compartment lights being turned on according to the time duration T from the on-board signal system sending the signal to turn on the lights to the train's passenger compartment lights being turned on and the maximum running speed V of the train max ; Considering all the above, when the running direction of the train is the downward direction, then when the target head position of the train is (Bm , abs m -L in *G%-T*V max ) When the on-vehicle signal system emits a signal to turn on the lights; when the running direction of the train is the upward direction, then when the target front position of the train is (B m , abs m +L in *G%+T*V max ), the on-vehicle signal system emits a signal to turn on the lights.

[0094] The second case: When the real-time position of the train's front is about to leave the target tunnel, according to the real-time position of the train's front, the exit position of the target tunnel, the position of the target beacon closest to the exit position of the target tunnel, the positioning error rate of the train's speed sensor, the length of the train, and the running direction of the train, the target front position of the train is calculated using a preset algorithm, where the target front position is the front position when a signal to turn off the lights is sent to the control device of the train's passenger compartment lights; the specific steps are as follows:

[0095] Given the exit coordinates (B n , abs n ) of the target tunnel that the train is about to leave, the beacon (B n , abs rb-n ) closest to the entrance of the target tunnel, and the train passes through the beacon closest to the tunnel exit first and then leaves the target tunnel; the on-vehicle signal system of the train controls the turning on and off of the passenger compartment lights. Considering the comfort of passengers, the passenger compartment lights of the train need to be turned off after the rear of the train completely leaves the target tunnel; similar to the situation when the train enters the target tunnel, the positioning error rate G% of the train's speed sensor also needs to be considered, and then the exit position (B n , abs n ) of the target tunnel is obtained according to the on-vehicle electronic map, and the distance L n between the exit position of the target tunnel and the position of the target beacon closest to the exit position of the target tunnel (B rb-n , abs out , where B n represents the nth track section, abs n and abs rb-n both represent coordinates, and L out = abs n - abs rb-n , and the target beacon closest to the exit position of the target tunnel is the last beacon passed by the front of the train before leaving the tunnel exit; according to the positioning error rate G% of the train's speed sensor and the distance L outCalculate the maximum positioning error L of the distance between the exit position of the target tunnel and the position of the target beacon closest to the exit position of the target tunnel out *G%; At the same time, the length L of the train needs to be considered trian , when leaving the target tunnel, there is no need to consider the delay time from the on-off signal sent by the on-vehicle signal system to the complete closing of the passenger compartment lights of the train; when the running direction of the train is the downward direction, then when the target head position of the train is (B n , abs n +L trian+ L out *G%), the on-vehicle signal system sends an on-light signal; when the running direction of the train is the upward direction, then when the target head position of the train is (B n , abs n -L trian -L out *G%), the on-vehicle signal system sends an on-light signal.

[0096] 104. When the head of the train runs to the target head position, send an on-light signal or an off-light signal to the control device of the train passenger compartment lights.

[0097] Among them, the control device is a control interface. The control interface is to add a control interface for the train passenger compartment lights in the on-vehicle signal system, and at the same time add a switch acquisition module for the train passenger compartment lights to collect the information of the on-off state of the train passenger compartment lights. The feedback information of the on-off state of the train passenger compartment lights is fed back on the display screen. The connection method between the on-light signal and the off-light signal sent by the on-vehicle signal system and the control interface of the train passenger compartment lights can be a hard-wire interface or a network interface.

[0098] This embodiment can real-time feedback the on and off situations of the train passenger compartment lights, avoiding the action of the train driver to confirm the switch operation again, improving the concentration of the train driver, and thus improving the safety factor of train operation.

[0099] 105. The control device of the train passenger compartment lights controls the on-off state of the train passenger compartment lights according to the received on-light signal or off-light signal.

[0100] According to step 104, the control device is a control interface. When the control interface of the train passenger compartment lights receives the on-light signal and the off-light signal sent by the on-vehicle signal system, the train passenger compartment lights are turned on or off.

[0101] Based on the above Figure 1As can be seen from the implementation manner of the embodiment, the present invention provides a method for automatically controlling the passenger compartment lights of a train. The present invention obtains the real-time position of the train head; according to the real-time position of the train head, uses the on-vehicle electronic map to obtain the entrance position and exit position of the target tunnel corresponding to the train; then uses a preset algorithm to calculate the target train head position; when the train head runs to the target train head position, sends a signal to turn on or turn off the lights to the control device of the train passenger compartment lights; the control device of the train passenger compartment lights controls the on-off state of the train passenger compartment lights according to the received signal to turn on or turn off the lights. The present invention can ensure the safety of the train and the operation efficiency, and through the on-vehicle signal system, accurately turn on the train passenger compartment lights automatically before the train enters the tunnel and turn off the train passenger compartment lights automatically after the entire train body leaves the tunnel, avoiding a period of darkness for some train passenger compartment lights before the lights are turned on and before the train completely exits the tunnel, without the need to add a photosensitive sensor.

[0102] Further, as a refinement and extension of the Figure 1 shown embodiment, the embodiment of the present invention also provides another method for automatically controlling the train passenger compartment lights, as Figure 2 shown, and the specific steps are as follows:

[0103] 201. When the train head passes a beacon, use the beacon antenna and the trackside beacon to cooperate to locate the real-time position of the train head.

[0104] Combined with the description of step 101 in the above method, the same content will not be repeated here.

[0105] A number of beacons are installed on the train track. In one track section, there can be multiple beacons, or there can be only one beacon, or there can be no beacon; driver's cabs are respectively arranged at both ends of the train, and the on-vehicle signal system of the train judges the train head according to the activation of the driver's cab key; the train determines its initial positioning and the running direction through two consecutive trackside beacons scanned by the beacon antenna; the position coordinates of each beacon are recorded in the on-vehicle electronic map; for example: Beacon A is located in the first track section B1 (total length 1000 meters), the starting point coordinates (B1, 0mm) and the ending point coordinates of the first track section B1 are (B1, 10 6 mm), assuming that Beacon A is 500 meters away from the starting point (B1, 0mm) of the first track section B1, then the coordinates of Beacon A are (B1, 5×10 5 mm). The on-vehicle signal system of the train can locate the train head and the train tail by scanning the beacons on the train track with the installed beacon antenna.

[0106] It should be noted that: Since the train wheels may slip or the train may roll back during the train's running on the train track, there are errors in the speed sensors. To eliminate the positioning error of the train head caused by the speed sensor error, the train head can be repositioned by scanning the beacon with the beacon antenna, which can play a role in timely correcting the real-time position of the train head; the specific steps are to obtain the coordinates of the beacon when the train head scans the beacon through the beacon antenna, and modify the real-time position coordinates of the train head to the coordinates of the beacon.

[0107] 202. When the train head is between two adjacent beacons, use the train's speed sensor to obtain the distance that the train head has left the previous beacon.

[0108] This step combines the description of step 101 in the above method, and the same content will not be repeated here.

[0109] The real-time position of the train head between two adjacent beacons is calculated by adding the running distance from the beacon to the position of the beacon. Among them, the running distance of the train is directly obtained through the speed sensor installed on the train wheels.

[0110] 203. Calculate the real-time position of the train head based on the position of the previous beacon that the train head has left and the distance that the train head has left the previous beacon.

[0111] This step combines the description of step 101 in the above method, and the same content will not be repeated here.

[0112] The first case: The beacon and the train head are in the same track section:

[0113] For example: The train runs in the upward direction and passes through the fifth track section B5 and the sixth track section B6 in sequence. The total length of the fifth track section B5 is 500 meters. The a beacon is located in the fifth track section, and its coordinates are (B5, 2×10 5 mm). Assume that the time when the beacon antenna of the train head scans the a beacon is "16:00 on September 21, 2022, Beijing time", and the speed of the train is 180 km / h, that is, 50 m / s. Then, at 16:05 on September 21, 2022, Beijing time, the running distance of the train from the a beacon is 5 * 50 = 250 meters. At this time, the position coordinates of the train head are (B5, 450000 mm).

[0114] The second case: The beacon and the train head are in different front and rear track sections:

[0115] For example: The train runs in the up direction and passes through the fifth track section B5 and the sixth track section B6 in sequence. The total length of the fifth track section B5 is 500 meters, and the total length of the sixth track section B6 is 1000 meters. Beacon a is located in the fifth track section, and its coordinates are (B5, 2×10 5 mm). Beacon b is located in the fifth track section, and its coordinates are (B6, 5×10 5 mm). The path that the train passes through in sequence is: the coordinates of beacon a (B5, 2×10 5 mm) → the starting point of the fifth track section B5 (B5, 0mm), which is also the ending point of the sixth track section B6 (B6, 10 6 mm) → the coordinates of beacon b (B6, 5×10 5 mm) → the starting point of the sixth track section B6 (B6, 0mm);

[0116] Suppose the time when the beacon antenna at the train head sweeps across beacon a is "16:00 on September 21, 2022, Beijing time", and the speed of the train is 180 km / h, that is, 50 m / s. Then, when the Beijing time is 16:10 on September 21, 2022, the lateral running distance of the train leaving beacon a is 10 * 50 = 500 meters. Since the total length of the first track section B5 is 500 meters, at this time, the train head has left beacon a by 500 meters, exceeding the range of the fifth track section B5 and entering the adjacent track section, that is, the sixth track section B6. At this time, the train head is located between the ending point of the fifth track section B6 (B6, 10 6 mm) and the coordinates of beacon b (B6, 5×10 5 mm), 300 meters away from the ending point of the fifth track section B6 (B6, 10 6 mm) and 200 meters away from the coordinates of beacon b (B6, 5×10 5 mm). The coordinates of the train head are (B6, 7×10 5 mm);

[0117] Suppose the train continues to move forward. When the train head passes through the coordinates of beacon b (B6, 5×10 5 mm), the train obtains the coordinates of beacon b when the beacon antenna sweeps across beacon b, and modifies the real-time position coordinates of the train head to the coordinates of beacon b (B6, 5×10 5 mm). The method for obtaining the real-time position of the train head after leaving beacon b is the same as the method after leaving beacon a. That is to say, the real-time position of the train head is updated to the position coordinates of the beacon when the train head passes through the beacon. When it is between two adjacent beacons, the real-time position coordinates of the train head are calculated according to the running speed of the train and the time elapsed since leaving the previous beacon.

[0118] In this embodiment, correcting the real-time position coordinates of the train head using the position coordinates of the beacon can avoid position deviation caused by speed sensor errors and improve the accuracy of the real-time position of the train head.

[0119] 204. According to the real-time position of the train head, use the on-vehicle electronic map to obtain the entrance position and exit position of the target tunnel corresponding to the train.

[0120] This step is combined with the description of step 102 in the above method, and the same content will not be repeated here.

[0121] Among them, the starting point of each track section in the on-vehicle electronic map in the up direction is the starting point of the track section, and the ending point of each track section in the down direction is the ending point of the track section; determine the target track where the train is located according to the real-time position of the train head using the on-vehicle electronic map; obtain the target tunnel closest to the train head according to the target track using the on-vehicle electronic map; use the on-vehicle electronic map to obtain the entrance position and exit position of the target tunnel.

[0122] 205. According to the real-time position of the train head, the entrance position and exit position of the target tunnel, the position of the target beacon closest to the entrance position of the target tunnel, the position of the target beacon closest to the exit position of the target tunnel, the positioning error rate of the train speed sensor, the duration from sending the lighting signal to the train passenger compartment lights being turned on, the maximum running speed of the train, the length of the train, and the running direction of the train, use a preset algorithm to calculate the target position of the train head.

[0123] This step is combined with the description of step 103 in the above method, and the same content will not be repeated here.

[0124] Based on the positioning of the train head, comprehensively judge the position of the train head when the on-vehicle signal system sends a lighting signal or a lighting-off signal in combination with the entrance position and exit position of the target tunnel.

[0125] The first case: When the real-time position of the train head is about to enter the target tunnel, according to the real-time position of the train head, the entrance position of the target tunnel, the position of the target beacon closest to the entrance position of the target tunnel, the positioning error rate of the train speed sensor, the duration from sending the lighting signal to the train passenger compartment lights being turned on, the maximum running speed of the train, and the running direction of the train, use a preset algorithm to calculate the target position of the train head, where the target position of the train head is the position of the train head when sending a lighting signal to the control device of the train passenger compartment lights; the specific steps are as follows:

[0126] For example:

[0127] Assume that the running direction of the train is the downward direction, and the order of the train passing through is to pass the c beacon first and then enter the target tunnel. Given that the entrance coordinates of the target tunnel are (B5, 5×10 5 mm), and the nearest c beacon to the target tunnel is (B5, 3×10 5 mm); before the train head enters the target tunnel, the on-board signal system obtains the c beacon nearest to the target tunnel (B5, 3×10 5 mm), and the distance between them is L in =abs m -abs rb-m =5×10 5 mm - 3×10 5 mm = 2×10 5 mm. According to the maximum positioning error of 1% of the train's speed sensor, the maximum positioning error of the real-time position of the train head is L in *G% = 200000 * 1% = 2000mm; the time from when the lighting signal is sent to when the passenger compartment lights are fully turned on is 1s. Combining with the maximum train speed V max =50m / s, it can be obtained that within this time, the maximum running distance of the train is T * V max =1 * 50 = 50m = 50000mm. Considering all these, the position of the train head when the on-board signal system of the train sends the lighting signal is (B m , abs m -L in *G% - T * V max ) = (B5, 3×10 5 -2000 - 50000) = (B5, 248000mm). That is, when the train head is located in the fifth track section of the on-board electronic map and is 248000mm away from the starting point of the fifth track section, the on-board signal system sends the lighting signal, and then turns on the passenger compartment lights of the train; if the running direction of the train is the downward direction, the position of the train head when the on-board signal system of the train sends the lighting signal is (B m , abs m +L in *G% + T * V max ) = (B5, 3×10 5 +2000 + 50000) = (B5, 352000mm).

[0128] The second case: When the real-time position of the train's head is about to leave the target tunnel, based on the real-time position of the train's head, the exit position of the target tunnel, the position of the target beacon closest to the exit position of the target tunnel, the positioning error rate of the train's speed sensor, the length of the train, and the running direction of the train, the target head position of the train is calculated using a preset algorithm, where the target head position refers to the head position when a signal to turn off the lights is sent to the control device of the train's passenger compartment lights; the specific steps are as follows:

[0129] For example:

[0130] Suppose the running direction of the train is the downward direction, and the order of the train passing through is to pass the c beacon first and then enter the target tunnel, and it is known that the entrance coordinates of the target tunnel are (B5, 5×10 5 mm), and the closest c beacon to the target tunnel is (B5, 3×10 5 mm); before the train head leaves the target tunnel, the on-vehicle signal system obtains the c beacon (B5, 3×10 5 mm) closest to the target tunnel, and the distance between the two is L out =abs n -abs rb-n =5×10 5 mm - 3×10 5 mm=2×10 5 mm. According to the maximum positioning error of 1% of the train's speed sensor, the maximum positioning error of the real-time position of the train's head is L out *G%=200000*1%=2000mm; the length of the train L trian =4×10 5 mm. Considering all factors, the position of the train head when the on-vehicle signal system of the train sends a signal to turn off the lights is (B n , abs n +L trian+ L out *G%)=(B5, 5×10 5 +4×10 5 mm + 2000)=(B5, 902000mm), that is, when the train head is at the fifth track section of the on-vehicle electronic map and is 902000mm away from the starting point of the fifth track section, the on-vehicle signal system sends a signal to turn off the lights, and then turns off the passenger compartment lights of the train; if the running direction of the train is the upward direction, the position of the train head when the on-vehicle signal system of the train sends a signal to turn off the lights is (B n , abs n -L trian -L out *G%)=(B5, 5×10 5 -4×10 5(mm - 2000) = (B5, 98000mm).

[0131] Further, in another preferred embodiment of the present invention, the on - vehicle signal system can also make a judgment according to the NTP (English name: Network Time Protocol, a protocol used to synchronize computer time). For example, a time period from 18:00 to 7:00 the next day is set, and the on - vehicle signal system outputs a continuous lighting - on signal; for other time periods, the on - off signal of the lights is judged according to the train positioning.

[0132] 206. When the train's locomotive runs to the target locomotive position, send a lighting - on signal or a lighting - off signal to the control device of the train passenger compartment lights.

[0133] This step is combined with the description of step 104 in the above method, and the same content will not be repeated here.

[0134] When the train's locomotive runs to the target locomotive position, the on - vehicle signal system sends a lighting - on signal or a lighting - off signal to the control interface of the train passenger compartment lights.

[0135] The connection method between the lighting - on signal and the lighting - off signal sent by the on - vehicle signal system and the control interface of the train passenger compartment lights can be divided into two types: one is a hard - wire interface, and the other is a network interface.

[0136] For the hard - wire interface, it is necessary to add a hard - wire connection between the signal sent by the on - vehicle signal system and the train. The signals sent by the on - vehicle signal system include the on - off control signal of the passenger compartment lights output by the on - vehicle signal system to the train and the feedback information of the on - off state of the passenger compartment lights; for newly purchased trains, the hard - wire interface can be implemented in the circuit design, but for existing trains, circuit modification is required, which takes a long time.

[0137] When the train's TCMS (English full name: train control monitoring system, Chinese full name: train control system monitoring system) can control the train passenger compartment lights, it is recommended to use the network interface method. By modifying the software using the existing CC - TCMS network interface, it can be realized, and the output control signal and the feedback information of the on - off state of the train passenger compartment lights can be achieved. The network interface method can utilize the existing system and the CC - TIMS interface, and the modification is convenient.

[0138] 207. The control device of the train passenger compartment lights controls the on - off state of the train passenger compartment lights according to the received lighting - on signal or lighting - off signal.

[0139] This step is combined with the description of step 105 in the above method, and the same content will not be repeated here.

[0140] Based on the above Figure 2As can be seen from the implementation method, the present invention provides a method for automatically controlling the passenger compartment lights of a train. By adopting the solution of the present invention, on the premise of ensuring safety and operation efficiency, the on-vehicle signal system can be used to accurately control the on / off of the passenger compartment lights, without adding a photosensitive sensor and without manual operation by the driver. While ensuring comfortable lighting for passengers, the project cost can be reduced, resource waste can be reduced, the driver can be prevented from being distracted when entering and exiting the tunnel, the driver's driving concentration can be ensured, and the train safety factor can be improved.

[0141] Further, as an implementation of the above Figure 1 shown method, the embodiment of the present invention also provides a device for automatically controlling the passenger compartment lights of a train, which is used to implement the above Figure 1 shown method. The device embodiment corresponds to the foregoing method embodiment. For the convenience of reading, the details of the foregoing method embodiment will not be repeated one by one in this device embodiment. However, it should be clear that the device in this embodiment can correspondingly implement all the contents of the foregoing method embodiment. As Figure 3 shown, the device includes:

[0142] The first acquisition unit 31 is used to acquire the real-time position of the train head;

[0143] The second acquisition unit 32 is used to obtain the entrance position and the exit position of the target tunnel corresponding to the train by using the on-vehicle electronic map according to the real-time position of the train head obtained from the first acquisition unit 31. Wherein, the starting point of each track section in the on-vehicle electronic map in the upward direction is the starting point of the track section, and the end point of each track section in the downward direction is the end point of the track section;

[0144] The calculation unit 33 is used to calculate the target head position of the train by using a preset algorithm according to the real-time position of the train head, the entrance position and the exit position of the target tunnel, the position of the target beacon closest to the entrance position of the target tunnel, the position of the target beacon closest to the exit position of the target tunnel, the positioning error rate of the train speed sensor, the time from sending the on signal to the turning on of the passenger compartment lights of the train, the maximum running speed of the train, the length of the train, and the running direction of the train. Wherein, the target head position is the head position when sending the on signal or the off signal to the control device of the passenger compartment lights of the train;

[0145] The sending unit 34 is used to send the on signal or the off signal to the control device of the passenger compartment lights of the train when the train head runs to the target head position obtained from the calculation unit 33;

[0146] A control unit 35, configured to control the on / off state of the train passenger compartment lights according to the on signal or the off signal received by the control device of the train passenger compartment lights from the sending unit 34.

[0147] Further, as an implementation of the above Figure 2 shown method, an embodiment of the present invention further provides another device for automatically controlling train passenger compartment lights, for implementing the above Figure 2 shown method. The device embodiment corresponds to the foregoing method embodiment. For ease of reading, the details in the foregoing method embodiment will not be repeated one by one in this device embodiment. However, it should be clear that the device in this embodiment can correspondingly implement all the contents in the foregoing method embodiment. As Figure 4 shown, the device includes:

[0148] A first acquisition unit 31, configured to acquire the real-time position of the train head;

[0149] A second acquisition unit 32, configured to use the on-vehicle electronic map to acquire the entrance position and the exit position of the target tunnel corresponding to the train according to the real-time position of the train head obtained from the first acquisition unit 31, where the starting point of each track section in the on-vehicle electronic map in the up direction is the starting point of the track section, and the ending point of each track section in the down direction is the ending point of the track section;

[0150] A calculation unit 33, configured to calculate the target head position of the train by using a preset algorithm according to the real-time position of the train head, the entrance position and the exit position of the target tunnel, the position of the target beacon closest to the entrance position of the target tunnel, the position of the target beacon closest to the exit position of the target tunnel, the positioning error rate of the train speed sensor, the duration from when the on signal is sent to when the train passenger compartment lights are turned on, the maximum running speed of the train, the length of the train, and the running direction of the train, where the target head position is the head position when the on signal or the off signal is sent to the control device of the train passenger compartment lights;

[0151] A sending unit 34, configured to send the on signal or the off signal to the control device of the train passenger compartment lights when the train head runs to the target head position obtained from the calculation unit 33;

[0152] A control unit 35, configured to control the on / off state of the train passenger compartment lights according to the on signal or the off signal received by the control device of the train passenger compartment lights from the sending unit 34.

[0153] Further, the calculation unit 33 includes:

[0154] An acquisition module 331, configured to obtain the entrance position of the target tunnel according to the in-vehicle electronic map (B m , abs m ) and the position of the target beacon closest to the entrance position of the target tunnel (B m , abs rb-m ) to obtain the distance L in , where B m represents the m-th track section, and both abs m and abs rb-m represent coordinates, and L in = abs m - abs rb-m . The target beacon closest to the entrance position of the target tunnel is the last beacon passed by the train's head before entering the entrance of the target tunnel;

[0155] A first calculation module 332, configured to calculate, according to the positioning error rate G% of the train's speed sensor and the distance L between the entrance position of the target tunnel obtained from the acquisition module 331 and the position of the target beacon closest to the entrance position of the target tunnel in , the maximum positioning error L in * G% of the distance between the entrance position of the target tunnel and the position of the target beacon closest to the entrance position of the target tunnel;

[0156] A second calculation module 333, configured to calculate, according to the duration T from sending the lighting signal to the train passenger compartment lights being turned on and the maximum operating speed V of the train max , the maximum operating distance T * V of the train during the duration T from sending the lighting signal to the train passenger compartment lights being turned on max ;

[0157] A third calculation module 334, configured to calculate, according to the entrance position of the target tunnel (B m , abs m ), the maximum positioning error L in * G% of the distance between the entrance position of the target tunnel and the position of the target beacon closest to the entrance position of the target tunnel obtained from the first calculation module 332, and the maximum operating distance T * V of the train during the duration T from sending the lighting signal to the train passenger compartment lights being turned on obtained from the second calculation module 333 max , to obtain the target head position of the train, where the target head position is the head position when the lighting signal is sent to the control device of the train passenger compartment lights.

[0158] Further, the third calculation module 334 includes:

[0159] It is also used when the running direction of the train is the downward direction, then the target head position of the train is (B m , abs m -L in *G%-T*V max );

[0160] It is also used when the running direction of the train is the upward direction, then the target head position of the train is (B m , abs m +L in *G%+T*V max ).

[0161] Furthermore, the calculation unit 33 includes:

[0162] An acquisition module 331, which is also used to obtain the exit position (B n , abs n ) of the target tunnel according to the on-vehicle electronic map and the position (B n , abs rb-n ) of the target beacon closest to the exit position of the target tunnel, and the distance L out between them, where B n represents the nth track section, and both abs n and abs rb-n represent coordinates, and L out = abs n - abs rb-n , and the target beacon closest to the exit position of the target tunnel is the last beacon passed by the head of the train before leaving the exit of the target tunnel;

[0163] A first calculation module 332, which is also used to calculate the maximum positioning error L out of the distance between the exit position of the target tunnel and the position of the target beacon closest to the exit position of the target tunnel according to the positioning error rate G% of the train speed sensor and the distance L out between the exit position of the target tunnel and the position of the target beacon closest to the exit position of the target tunnel obtained from the acquisition module 331;

[0164] A third calculation module 334, which is also used to calculate according to the exit position (B n , abs n ) of the target tunnel, the maximum positioning error L out * G% of the distance between the exit position of the target tunnel and the position of the target beacon closest to the exit position of the target tunnel obtained from the first calculation module 332, and the vehicle length L trian, the target locomotive position of the train is calculated, wherein the target locomotive position refers to the locomotive position when the light-off signal is sent to the control device of the train passenger compartment lights.

[0165] Furthermore, the third calculation module 334 includes:

[0166] Also used for when the running direction of the train is the down direction, the target locomotive position of the train is (B n , abs n +L trian+ L out *G %);

[0167] Also used for when the running direction of the train is the upward direction, the target locomotive position of the train is (B n , abs n -L trian -L out *G%).

[0168] Preferably, the first acquiring unit 31 includes:

[0169] A positioning module 311 is used to locate the real-time position of the front of the train by using the beacon antenna in cooperation with the beacon when the front of the train passes by the beacon;

[0170] An acquisition module 312 is used to acquire the distance between the locomotive head of the train and the previous beacon using the speed sensor of the train when the locomotive head of the train is located between two adjacent beacons;

[0171] The calculation module 313 is used to calculate the real-time position of the locomotive of the train according to the position of the last beacon left by the locomotive of the train obtained from the acquisition module 312 and the distance the locomotive of the train leaves the last beacon.

[0172] Furthermore, the second acquiring unit 32 includes:

[0173] A determination module 321, configured to determine the target track where the train is located using the onboard electronic map according to the real-time position of the locomotive of the train;

[0174] A first acquisition module 322 is used to acquire the target tunnel closest to the front of the train using the on-board electronic map according to the target track obtained from the determination module 321;

[0175] The second acquisition module 323 is used to acquire the entrance position and the exit position of the target tunnel obtained from the first acquisition module 322 by using the vehicle-mounted electronic map.

[0176] Further, an embodiment of the present invention further provides a processor for running a program, where, when the program runs, it executes the above-mentioned Figure 1-2 method for automatically controlling the passenger compartment lights of a train described in

[0177] Further, an embodiment of the present invention further provides a storage medium for storing a computer program, where, when the computer program runs, it controls the device where the storage medium is located to execute the above-mentioned Figure 1-2 method for automatically controlling the passenger compartment lights of a train described in

[0178] In the above embodiments, the descriptions of the respective embodiments have their own focuses. For parts not detailed in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.

[0179] It can be understood that the relevant features in the above methods and devices can be referred to each other. In addition, the "first", "second", etc. in the above embodiments are used to distinguish the respective embodiments, and do not represent the advantages or disadvantages of the respective embodiments.

[0180] Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working processes of the systems, devices, and units described above can refer to the corresponding processes in the foregoing method embodiments, and will not be elaborated herein.

[0181] The algorithms and displays provided herein are not inherently related to any particular computer, virtual system, or other device. Various general-purpose systems can also be used in conjunction with the teachings herein. The structure required to construct such a system is obvious from the above description. In addition, the present invention is not directed to any particular programming language. It should be understood that the content of the present invention described herein can be implemented using various programming languages, and the descriptions of the specific languages above are for disclosing the best mode of the present invention.

[0182] In addition, the memory may include non-permanent memory in a computer-readable medium, random access memory (RAM), and / or non-volatile memory in the form of, for example, read-only memory (ROM) or flash RAM (flash RAM), and the memory includes at least one storage chip.

[0183] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a system, or a computer program product. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0184] This application is described with reference to the flowcharts and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present application. It should be understood that each flow and / or block in the flowchart and / or block diagram, as well as the combination of flows and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to the processors of general-purpose computers, special-purpose computers, embedded processors, or other programmable data processing devices to generate a machine, such that the instructions executed by the processors of the computer or other programmable data processing devices generate means for implementing the functions specified in the Figure 1 one or more flows and / or blocks Figure 1 one or more blocks.

[0185] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, such that the instructions stored in the computer-readable memory generate a manufactured article including instruction means that implement the functions specified in the Figure 1 one or more flows and / or blocks Figure 1 one or more blocks.

[0186] These computer program instructions can also be loaded onto a computer or other programmable data processing device, such that a series of operational steps are executed on the computer or other programmable device to generate a computer-implemented process, and thus the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in the Figure 1 one or more flows and / or blocks Figure 1 one or more blocks.

[0187] In a typical configuration, a computing device includes one or more processors (CPUs), an input / output interface, a network interface, and memory.

[0188] The memory may include non-permanent memory in the form of computer-readable media, random access memory (RAM), and / or non-volatile memory such as read-only memory (ROM) or flash memory. The memory is an example of computer-readable media.

[0189] A computer-readable medium includes both permanent and non-permanent, removable and non-removable media and can implement information storage by any method or technology. The information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transitory medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer-readable medium does not include transitory computer-readable media, such as modulated data signals and carrier waves.

[0190] It should also be noted that the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "comprising an..." does not exclude the presence of additional identical elements in the process, method, article or device comprising the element.

[0191] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, system, or computer program product. Therefore, the present application can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0192] The above are only embodiments of the present application and are not used to limit the present application. For those skilled in the art, the present application can have various changes and modifications. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included within the scope of the claims of the present application.

Claims

1. A method for automatically controlling the passenger compartment lights of a train, characterized in that, The method includes: Obtaining the real-time position of the train head; According to the real-time position of the train head, using the on-vehicle electronic map to obtain the entrance position and the exit position of the target tunnel corresponding to the train, wherein, the starting point of each track section in the on-vehicle electronic map is the end point in the up direction of the track section, and the end point of each track section in the down direction is the end point of the track section; According to the real-time position of the train head, the entrance position and the exit position of the target tunnel, the position of the target beacon closest to the entrance position of the target tunnel, the position of the target beacon closest to the exit position of the target tunnel, the positioning error rate of the train speed sensor, the time duration from sending the lighting signal to the train passenger compartment lights being turned on, the maximum running speed of the train, the length of the train, and the running direction of the train, using a preset algorithm to calculate the target head position of the train, wherein, the target head position is the head position when sending the lighting signal or the turning-off signal to the control device of the train passenger compartment lights; When the train head runs to the target head position, sending the lighting signal or the turning-off signal to the control device of the train passenger compartment lights; The control device of the train passenger compartment lights controls the on-off state of the train passenger compartment lights according to the received lighting signal or the turning-off signal.

2. The method according to claim 1, characterized in that When the real-time position of the train head is about to enter the target tunnel, according to the entrance position of the target tunnel, the position of the target beacon closest to the entrance position of the target tunnel, the positioning error rate of the train speed sensor, the time duration from sending the lighting signal to the train passenger compartment lights being turned on, the maximum running speed of the train, and the running direction of the train, using a preset algorithm to calculate the target head position of the train, including: Obtain the entrance location of the target tunnel according to the vehicle-mounted electronic map (B m , abs m ) and the position of the target beacon closest to the entrance position of the target tunnel (B m , abs rb-m ) in , where B m represents the mth track segment, abs m and abs rb-m Both represent coordinates, L in =abs m -abs rb-m , the target beacon closest to the entrance of the target tunnel is the last beacon passed by the front of the train before entering the entrance of the target tunnel; According to the positioning error rate G% of the speed sensor of the train and the distance L between the entrance position of the target tunnel and the position of the target beacon closest to the entrance position of the target tunnel in The maximum positioning error L of the distance between the entrance position of the target tunnel and the position of the target beacon closest to the entrance position of the target tunnel is calculated in * G%; According to the duration T from the issuance of the lighting-on signal to the turning-on of the train passenger compartment lights and the maximum operating speed V of the train max calculate the maximum operating distance T×V of the train during the duration T from the issuance of the lighting-on signal to the turning-on of the train passenger compartment lights max ; According to the entrance position (B m , abs m ) of the target tunnel, the maximum positioning error L of the distance between the entrance position of the target tunnel and the position of the target beacon closest to the entrance position of the target tunnel in *G%, and the maximum running distance T*V of the train within the time period T from the issuance of the lighting-on signal to the turning on of the train passenger compartment lights max , the target head position of the train is calculated, where the target head position is the head position when the lighting-on signal is issued to the control device of the train passenger compartment lights.

3. The method according to claim 2, characterized in that, The target front position of the train is calculated based on the entrance position (B m , abs m ) of the target tunnel, the maximum positioning error L in *G% between the entrance position of the target tunnel and the position of the target beacon closest to the entrance position of the target tunnel, and the maximum running distance T*V of the train within the time period T from the issuance of the lighting signal to the turning on of the train passenger compartment lights, including: max ​ When the running direction of the train is the downward direction, the target front position of the train is (B m , abs m -L in *G%-T*V max ); When the running direction of the train is the upward direction, the target front position of the train is (B m , abs m +L in *G% + T*V max ).

4. The method according to claim 1, characterized in that, When the real-time position of the train head is about to leave the target tunnel, according to the exit position of the target tunnel, the position of the target beacon closest to the exit position of the target tunnel, the positioning error rate of the train speed sensor, the length of the train, and the running direction of the train, using a preset algorithm to calculate the target head position of the train, including: Obtain the exit position of the target tunnel based on the in-vehicle electronic map (B n , abs n ), and the distance L n , abs rb-n ) between the position of the target beacon closest to the exit position of the target tunnel, where B out represents the nth track section, abs n and abs n both represent coordinates, and L rb-n = abs out - abs n - abs rb-n , and the target beacon closest to the exit position of the target tunnel is the last beacon passed by the train's head before leaving the exit of the target tunnel; Based on the positioning error rate G% of the speed sensor of the train and the distance L between the exit position of the target tunnel and the position of the target beacon closest to the exit position of the target tunnel out The maximum positioning error L of the distance between the exit position of the target tunnel and the position of the target beacon closest to the exit position of the target tunnel is calculated out * G%; According to the exit position of the target tunnel (B n , abs n ), the maximum positioning error L between the exit position of the target tunnel and the position of the target beacon closest to the exit position of the target tunnel out *G% and the length of the train L trian , the target locomotive position of the train is calculated, wherein the target locomotive position refers to the locomotive position when the light-off signal is sent to the control device of the train passenger compartment lights.

5. The method according to claim 4, characterized in that, The target head position of the train is calculated based on the exit position (B n , abs n ) of the target tunnel, the maximum positioning error L out *G% between the exit position of the target tunnel and the position of the target beacon closest to the exit position of the target tunnel, and the vehicle length L trian of the train, and includes: When the running direction of the train is the downward direction, the target head position of the train is (B n , abs n +L trian+ L out *G%) When the running direction of the train is the upward direction, the target head position of the train is (B n , abs n -L trian -L out *G%).

6. The method according to any one of claims 1-5, characterized in that, The obtaining the real-time position of the train head includes: When the train head passes by a beacon, using the beacon antenna and the beacon to cooperate to position the real-time position of the train head; When the train head is between two adjacent beacons, using the train speed sensor to obtain the distance that the train head has left the previous beacon; Calculating and obtaining the real-time position of the train head according to the position of the previous beacon that the train head has left and the distance that the train head has left the previous beacon.

7. The method according to claim 6, wherein The according to the real-time position of the train head, using the on-vehicle electronic map to obtain the entrance position and the exit position of the target tunnel corresponding to the train, includes: Using the on-vehicle electronic map to determine the target track where the train is located according to the real-time position of the train head; Using the on-vehicle electronic map to obtain the target tunnel closest to the train head according to the target track; Obtain the entrance position and the exit position of the target tunnel by using the in-vehicle electronic map.

8. An apparatus for automatically controlling the passenger compartment lights of a train, characterized in that, Comprising: A first acquisition unit, configured to acquire the real-time position of the train head; A second acquisition unit, configured to, according to the real-time position of the train head, obtain the entrance position and the exit position of the target tunnel corresponding to the train by using the in-vehicle electronic map, wherein the end point in the up direction of each track section in the in-vehicle electronic map is the starting point of the track section, and the end point in the down direction of each track section is the end point of the track section; A calculation unit, configured to calculate, according to the real-time position of the train head, the entrance position and the exit position of the target tunnel, the position of the target beacon closest to the entrance position of the target tunnel, the position of the target beacon closest to the exit position of the target tunnel, the positioning error rate of the train speed sensor, the duration from sending the light-on signal to the turning-on of the train passenger compartment light, the maximum running speed of the train, the length of the train, and the running direction of the train, the target train head position by using a preset algorithm, wherein the target train head position is the train head position when sending the light-on signal or the light-off signal to the control device of the train passenger compartment light; A sending unit, configured to, when the train head runs to the target train head position, send the light-on signal or the light-off signal to the control device of the train passenger compartment light; A control unit, configured to control the on / off state of the train passenger compartment light by the control device of the train passenger compartment light according to the received light-on signal or light-off signal.

9. A storage medium, the storage medium including a stored program, characterized in that, When the program runs, control the device where the storage medium is located to execute the method for automatically controlling the train passenger compartment light according to any one of claims 1 to 7.

10. An electronic device, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, When the processor executes the program, implement the method for automatically controlling the train passenger compartment light according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Method and device for automatically controlling vehicle lamp, and navigation equipment

    CN105644420A

  • Tunnel construction new energy track electric locomotive unmanned system

    CN106200651A