[go: up one dir, main page]

CN117227811A - A method to calculate the distance of the signal ahead - Google Patents

A method to calculate the distance of the signal ahead Download PDF

Info

Publication number
CN117227811A
CN117227811A CN202311401724.2A CN202311401724A CN117227811A CN 117227811 A CN117227811 A CN 117227811A CN 202311401724 A CN202311401724 A CN 202311401724A CN 117227811 A CN117227811 A CN 117227811A
Authority
CN
China
Prior art keywords
pixel
distance
screen
basic data
calculating
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311401724.2A
Other languages
Chinese (zh)
Inventor
李小峰
郝冰
史秀海
许亮
梁梦奇
来振宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Henan Thinker Information Technology Co ltd
Xinyu Iron and Steel Co Ltd
Original Assignee
Henan Thinker Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Henan Thinker Information Technology Co ltd filed Critical Henan Thinker Information Technology Co ltd
Priority to CN202311401724.2A priority Critical patent/CN117227811A/en
Publication of CN117227811A publication Critical patent/CN117227811A/en
Pending legal-status Critical Current

Links

Landscapes

  • Train Traffic Observation, Control, And Security (AREA)
  • Electric Propulsion And Braking For Vehicles (AREA)

Abstract

本发明公开了一种计算前方信号机距离的方法,依据LKJ基础数据在屏幕上进行列车运行图的绘制;判断LKJ基础数据中是否包含短链,若包含,则在绘制列车运行图时去掉短链的像素长度;判断LKJ基础数据中是否包含长链,若包含,则在绘制列车运行图时增加长链的像素长度;依据屏幕中机车实时运行位置的像素与前方信号机位置的像素计算出机车与前方信号机之间的像素差值;计算所述像素差值对应的真实距离值,所述的真实距离值即为机车实时位置距离前方信号机的真实距离。

The invention discloses a method for calculating the distance of a signal machine ahead. The train operation diagram is drawn on the screen based on the LKJ basic data; it is judged whether the LKJ basic data contains short links, and if so, the short links are removed when drawing the train operation diagram. The pixel length of the chain; determine whether the LKJ basic data contains a long chain. If it does, add the pixel length of the long chain when drawing the train operation diagram; calculated based on the pixels of the real-time running position of the locomotive on the screen and the pixels of the signal machine ahead. The pixel difference between the locomotive and the signal in front; calculate the real distance value corresponding to the pixel difference, and the real distance value is the real distance between the real-time position of the locomotive and the signal in front.

Description

Method for calculating distance of front annunciator
Technical Field
The invention belongs to the technical field of annunciators, and particularly relates to a method for calculating a distance of a front annunciator.
Background
In the prior art, the information of an actual running line, a real-time running kilometer post and a front annunciator kilometer post of a locomotive is obtained by receiving the information of the locomotive Tax, and the difference value between the front annunciator kilometer post and the real-time running kilometer post is used as the distance of the front annunciator;
however, long-chain data or short-chain data exist in an actual running line, and long chain refers to the phenomenon that the pile number of a line signal machine is repeated due to local diversion, segmented measurement and the like, namely the actual mileage of the line is larger than the calculated mileage of the line signal machine. The short chain refers to the phenomenon of discontinuous pile number caused by local diversion or sectional measurement, namely, the actual mileage of the line is smaller than the calculated mileage of the signal machine pile number.
When long-chain data or short-chain data exist between the real-time running position of the locomotive and the front annunciator, a large error exists between the distance of the front annunciator calculated in a kilometer scale difference mode and the actual distance of the front annunciator, so that the overall accuracy of the distance calculation of the front annunciator is reduced.
Disclosure of Invention
In order to solve the technical problems, the invention provides a method for calculating the distance of a front traffic light.
The specific scheme is as follows:
a method of calculating a range of a front traffic light, comprising the steps of:
s1): setting an actual distance value corresponding to a screen pixel, and drawing a train running chart on a screen according to LKJ basic data;
s2): judging whether the LKJ basic data contains short chains or not, if so, removing the pixel length of the short chains when drawing a train running chart;
s3): judging whether the LKJ basic data contains a long chain, if so, increasing the pixel length of the long chain when drawing a train running chart;
s4): calculating a pixel difference value between the locomotive and the front annunciator according to the pixels of the real-time running position of the locomotive and the pixels of the position of the front annunciator in the screen;
s5): and calculating a real distance value corresponding to the pixel difference value according to the actual distance value corresponding to the screen pixel, wherein the real distance value is the real distance between the real-time position of the locomotive and the signal machine in front.
The drawing of the train running chart on the screen according to the LKJ basic data comprises the following steps:
s11): determining the running category, the section number and the station number of the starting station of the current train running;
s12): inquiring LKJ basic data corresponding to the current locomotive from the LKJ basic data through the determined train running category, section number and station number of the starting station;
s13): inquiring the position information of related elements of train operation from LKJ basic data corresponding to the current locomotive;
s14): and determining the pixel position corresponding to the position information of the related elements of the train running on the screen according to the actual distance value corresponding to the screen pixel, and carrying out graphical display.
The position information of the related elements of the train operation comprises the position of the signal machine, the position of the station and the kilometer distance sign.
The method for calculating the length of the short-chain pixel is to calculate the length value of the short-chain in the line and convert the length value of the short-chain into the length of the short-chain pixel according to the corresponding relation between the actual distance value and the screen pixel.
The method for calculating the length of the long-chain pixel is to calculate the length value of the long-chain in the line and convert the length value of the long-chain into the length of the long-chain pixel according to the corresponding relation between the actual distance value and the screen pixel.
The invention discloses a method for calculating the distance of a front traffic light, which is characterized in that a train running diagram is drawn on a screen according to LKJ basic data, and the calculation error of the distance of the front traffic light caused by long chains and short chains is eliminated when the train running diagram is drawn, so that the accuracy of calculating the distance of the front traffic light is ensured, and the overall accuracy of calculating the distance of the front traffic light is improved.
Drawings
Fig. 1 is a general flow diagram of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the present invention. It will be apparent to those skilled in the art that the described embodiments are only a part, but not all, of the implementations of the invention, and that all other embodiments, based on which those skilled in the art will come to lie within the scope of the invention without making any inventive effort.
As shown in fig. 1, a method for calculating a distance of a front traffic light includes the steps of:
s1): setting an actual distance value corresponding to a screen pixel, and drawing a train running chart on a screen according to LKJ basic data; the actual distance value corresponding to the screen pixel refers to the meter number corresponding to one pixel in the screen, and conversion is performed based on the distance of how many meters the pixel value of one screen width corresponds to when drawing;
s2): judging whether the LKJ basic data contains short chains or not, if so, removing the pixel length of the short chains when drawing a train running chart; the short chain refers to the phenomenon of pile number interruption caused by local diversion, sectional measurement and the like, namely the actual mileage of the line is smaller than the calculated mileage of the signal machine pile number;
s3): judging whether the LKJ basic data contains a long chain, if so, increasing the pixel length of the long chain when drawing a train running chart; the long chain refers to the phenomenon that the pile number of the line signal machine is repeated due to local diversion, sectional measurement and the like, namely the actual mileage of the line is larger than the calculated mileage of the line signal machine.
S4): calculating a pixel difference value between the locomotive and the front annunciator according to the pixels of the real-time running position of the locomotive and the pixels of the position of the front annunciator in the screen;
s5): and calculating a real distance value corresponding to the pixel difference value according to the actual distance value corresponding to the screen pixel, wherein the real distance value is the real distance between the real-time position of the locomotive and the signal machine in front.
The drawing of the train running chart on the screen according to the LKJ basic data comprises the following steps:
s11): determining the running category, the section number and the station number of the starting station of the current train running;
s12): inquiring LKJ basic data corresponding to the current locomotive from the LKJ basic data through the determined train running category, section number and station number of the starting station;
s13): inquiring the position information of related elements of train operation from LKJ basic data corresponding to the current locomotive;
s14): and determining the pixel position corresponding to the position information of the related elements of the train running on the screen according to the actual distance value corresponding to the screen pixel, and carrying out graphical display.
The position information of the related elements of the train operation comprises the position of the signal machine, the position of the station and the kilometer distance sign.
The method for calculating the length of the short-chain pixel is to calculate the length value of the short-chain in the line and convert the length value of the short-chain into the length of the short-chain pixel according to the corresponding relation between the actual distance value and the screen pixel.
The method for calculating the length of the long-chain pixel is to calculate the length value of the long-chain in the line and convert the length value of the long-chain into the length of the long-chain pixel according to the corresponding relation between the actual distance value and the screen pixel.
The invention discloses a method for calculating the distance of a front traffic light, which is characterized in that LKJ basic data corresponding to locomotive operation is inquired from LKJ basic data through the train operation category, section number and starting station number, the position information of relevant elements in the inquired LKJ basic data, namely the traffic light position, station position, mileage kilometer scale and the like, is determined on a screen through screen pixels corresponding to the actual distance, and then a corresponding train operation diagram is drawn in a graphical mode.
In the drawing process, when the LKJ basic data contains short chains, the pixel lengths of the short chains are removed from a screen according to the screen pixel relationship corresponding to the short chain length and the distance, and when the LKJ basic data contains long chains, the pixel lengths of the long chains are increased from the screen according to the screen pixel relationship corresponding to the long chain length and the distance.
The new distance of the front annunciator is calculated by firstly calculating a pixel difference value through the pixel of the real-time running position of the locomotive in the screen and the pixel of the front annunciator, and then calculating the real distance of the real-time position of the locomotive from the front annunciator by multiplying the pixel difference value by the distance value corresponding to 1 screen pixel based on the distance value corresponding to 1 screen pixel in screen drawing.
According to the method for calculating the distance of the front annunciator, the train running diagram is drawn on the screen according to LKJ basic data, and the distance calculation error of the front annunciator caused by long chains and short chains is eliminated when the train running diagram is drawn, so that the accuracy of calculating the distance of the front annunciator is ensured, and the overall accuracy of calculating the distance of the front annunciator is improved.
The technical means disclosed by the scheme of the invention is not limited to the technical means disclosed by the embodiment, and also comprises the technical scheme formed by any combination of the technical features. It should be noted that, for those skilled in the art, several improvements and modifications can be made without departing from the principles of the present invention, and these improvements and modifications are also considered as the protection scope of the present invention, so as to ensure the accuracy of calculating the distance of the front traffic light and improve the overall accuracy of calculating the distance of the front traffic light.

Claims (5)

1.一种计算前方信号机距离的方法,其特征在于:包括如下步骤:1. A method for calculating the distance of the signal in front, which is characterized by: including the following steps: S1):设定屏幕像素所对应的实际距离值,依据LKJ基础数据在屏幕上进行列车运行图的绘制;S1): Set the actual distance value corresponding to the screen pixel, and draw the train diagram on the screen based on LKJ basic data; S2):判断LKJ基础数据中是否包含短链,若包含,则在绘制列车运行图时去掉短链的像素长度;S2): Determine whether the LKJ basic data contains short chains. If it does, remove the pixel length of the short chain when drawing the train diagram; S3):判断LKJ基础数据中是否包含长链,若包含,则在绘制列车运行图时增加长链的像素长度;S3): Determine whether the LKJ basic data contains long chains. If so, increase the pixel length of the long chain when drawing the train diagram; S4):依据屏幕中机车实时运行位置的像素与前方信号机位置的像素计算出机车与前方信号机之间的像素差值;S4): Calculate the pixel difference between the locomotive and the signal machine ahead based on the pixels of the real-time running position of the locomotive on the screen and the position of the signal machine ahead; S5):根据屏幕像素所对应的实际距离值,计算所述像素差值对应的真实距离值,所述的真实距离值即为机车实时位置距离前方信号机的真实距离。S5): Calculate the real distance value corresponding to the pixel difference value based on the actual distance value corresponding to the screen pixel. The real distance value is the real distance between the real-time position of the locomotive and the signal in front. 2.根据权利要求1所述的计算前方信号机距离的方法,其特征在于:依据LKJ基础数据在屏幕上进行列车运行图的绘制包括如下步骤:2. The method for calculating the distance of the signal in front according to claim 1, characterized in that: drawing the train operation diagram on the screen based on LKJ basic data includes the following steps: S11):确定当前列车运行的行别、区段号和始发站的车站号;S11): Determine the line type, section number and departure station number of the current train; S12):通过确定的列车运行的行别、区段号和始发站的车站号从LKJ基础数据中查询出当前机车所对应的LKJ基础数据;S12): Query the LKJ basic data corresponding to the current locomotive from the LKJ basic data through the determined train line, section number and departure station number; S13):从当前机车所对应的LKJ基础数据中查询出列车运行的相关元素的位置信息;S13): Query the location information of relevant elements of train operation from the LKJ basic data corresponding to the current locomotive; S14):依据屏幕像素所对应的实际距离值,确定列车运行的相关元素的位置信息在屏幕上所对应的像素位置,并进行图形化显示。S14): Based on the actual distance value corresponding to the screen pixel, determine the corresponding pixel position on the screen of the position information of the relevant elements of the train operation, and display it graphically. 3.根据权利要求2所述的计算前方信号机距离的方法,其特征在于:所述列车运行的相关元素的位置信息包括信号机位置、车站位置和里程公里标。3. The method for calculating the distance to a signal ahead according to claim 2, characterized in that: the position information of the relevant elements of the train operation includes the position of the signal, the position of the station and the mileage mark. 4.根据权利要求1所述的计算前方信号机距离的方法,其特征在于:计算短链像素长度的方法为,计算出线路中短链的长度值,将所述短链的长度值根据实际距离值与屏幕像素的对应关系转换为短链像素长度。4. The method for calculating the distance of the signal in front according to claim 1, characterized in that: the method for calculating the short chain pixel length is to calculate the length value of the short chain in the line, and calculate the length value of the short chain according to the actual The correspondence between distance values and screen pixels is converted into short chain pixel lengths. 5.根据权利要求1所述的计算前方信号机距离的方法,其特征在于:计算长链像素长度的方法为,计算出线路中长链的长度值,将所述长链的长度值根据实际距离值与屏幕像素的对应关系转换为长链像素长度。5. The method for calculating the distance of the signal in front according to claim 1, characterized in that: the method for calculating the length of long chain pixels is to calculate the length value of the long chain in the line, and calculate the length value of the long chain according to the actual The correspondence between distance values and screen pixels is converted into a long chain of pixel lengths.
CN202311401724.2A 2023-10-26 2023-10-26 A method to calculate the distance of the signal ahead Pending CN117227811A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311401724.2A CN117227811A (en) 2023-10-26 2023-10-26 A method to calculate the distance of the signal ahead

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311401724.2A CN117227811A (en) 2023-10-26 2023-10-26 A method to calculate the distance of the signal ahead

Publications (1)

Publication Number Publication Date
CN117227811A true CN117227811A (en) 2023-12-15

Family

ID=89086146

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311401724.2A Pending CN117227811A (en) 2023-10-26 2023-10-26 A method to calculate the distance of the signal ahead

Country Status (1)

Country Link
CN (1) CN117227811A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008070332A (en) * 2006-09-15 2008-03-27 Railway Technical Res Inst Distance measurement method from vehicle to traffic light
CN105292183A (en) * 2015-11-03 2016-02-03 株洲南车时代电气股份有限公司 LKJ monitoring recorded information repeating method and device
CN110440825A (en) * 2019-07-31 2019-11-12 维沃移动通信有限公司 A distance display method and terminal
CN111897715A (en) * 2020-06-28 2020-11-06 通号城市轨道交通技术有限公司 A method and device for automatically generating configuration data of a simulation test environment
CN112105541A (en) * 2018-02-06 2020-12-18 马蒂萨材料工业股份有限公司 Method for locating points or lines of interest on a railway track, locating and driving an intervention machine on a railway track
CN114312923A (en) * 2021-12-31 2022-04-12 河南思维自动化设备股份有限公司 LKJ source file automatic compiling method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008070332A (en) * 2006-09-15 2008-03-27 Railway Technical Res Inst Distance measurement method from vehicle to traffic light
CN105292183A (en) * 2015-11-03 2016-02-03 株洲南车时代电气股份有限公司 LKJ monitoring recorded information repeating method and device
CN112105541A (en) * 2018-02-06 2020-12-18 马蒂萨材料工业股份有限公司 Method for locating points or lines of interest on a railway track, locating and driving an intervention machine on a railway track
CN110440825A (en) * 2019-07-31 2019-11-12 维沃移动通信有限公司 A distance display method and terminal
CN111897715A (en) * 2020-06-28 2020-11-06 通号城市轨道交通技术有限公司 A method and device for automatically generating configuration data of a simulation test environment
CN114312923A (en) * 2021-12-31 2022-04-12 河南思维自动化设备股份有限公司 LKJ source file automatic compiling method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王红霞: ""列车运行监控记录装置(LKJ)基础数据文件编制"", 《信息系统工程》, 30 September 2014 (2014-09-30), pages 1 - 3 *

Similar Documents

Publication Publication Date Title
CN112433203B (en) A Lane Alignment Detection Method Based on Millimeter Wave Radar Data
CN105654417A (en) Lorry parking point information obtaining method and system
CN105841709A (en) Method for planning car driving path
CN113222331A (en) Method, device, equipment and storage medium for identifying authenticity of vehicle accident
CN102155948A (en) Method and device for randomly detecting and evaluating navigation electronic map quality
CN102903018B (en) A kind of transmission line of electricity wind speed early warning information disposal route based on GIS
CN110299027A (en) It is a kind of based on the vehicle lane change of track data and map datum monitoring and safe early warning method
CN111611329A (en) Map data inspection implementation method, device and equipment
CN117227811A (en) A method to calculate the distance of the signal ahead
US9047495B2 (en) Identifying impact of a traffic incident on a road network
CN102436742A (en) Method and device for evaluating traffic information service level of floating vehicle system
CN114332822B (en) Method, device and electronic device for determining lane group type
CN111649752A (en) Map data processing method, device and device for congested road sections
CN109859503B (en) A method, device and system for automatic identification of green wave coordination lines in the whole network
CN115761676A (en) A method and terminal equipment for automatically identifying road curves
CN112380956B (en) A lane judgment method
CN119068698B (en) Traffic management method and system for smart city
CN102518054B (en) Road deceleration marked line setting method based on actual deceleration effect
CN112396865A (en) Real-time bus arrival prediction method based on line track
CN113158141A (en) New energy automobile overload detection method based on big data
CN118781786A (en) A road operation condition judgment method, device, storage medium and program product
CN109446286B (en) Visualization method and device for highway road network map
CN103134497B (en) The defining method of road real-time road condition information and device, navigation system
CN118644682A (en) A pipeline desilting auxiliary pricing method based on image recognition technology
CN114368386B (en) Early warning method, device, equipment and storage medium for vehicle safety

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20240603

Address after: 338099 Tiejiao Road, Xinyu City, Jiangxi Province

Applicant after: XINYU IRON & STEEL Co.,Ltd.

Country or region after: China

Applicant after: HENAN THINKER INFORMATION TECHNOLOGY CO.,LTD.

Address before: Room 409, Building 1, No. 63 Dulan Street, High tech Industrial Development Zone, Zhengzhou City, Henan Province, 450000

Applicant before: HENAN THINKER INFORMATION TECHNOLOGY CO.,LTD.

Country or region before: China