Vehicle leading device, vehicle leading system based on machine vision and interlocking signal and vehicle leading method

By using a car leading system based on machine vision and interlocking signals in railway shunting operations, combined with the track spacing, anchor line vanishing point and coupler spacing measurement methods, multi-scenario distance measurement between the own car and the retained car or foreign objects is realized. and automatic identification, which solves the safety hazards and insufficient ranging accuracy of the leader's catching operation during the shunting operation, and improves the efficiency and safety of the operation.

CN118753347AActive Publication Date: 2024-10-11BEIJING SWJTU RICHSUN TECH

Patent Information

Application Number
CN202411054750.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-01
Publication Date
2024-10-11
Estimated Expiration
2044-08-01

AI Technical Summary

Technical Problem

During the shunting operation at the railway station, the driver of the shunting locomotive cannot obtain real-time information about the environment, signal status and foreign objects in front of the train. As a result, the conductor needs to catch the train, which consumes a lot of physical energy and poses safety risks. The existing technology cannot effectively free the conductor. operators, and visual ranging technology is rarely used in railway pushing and shunting operations and its accuracy is insufficient.

Method used

Using a car leading system based on machine vision and interlocking signals, through the video acquisition module and machine vision intelligent analysis module, combined with the track spacing, anchor line vanishing point and coupler spacing measurement methods, multiple tracking between the own car and the retained car or foreign objects is realized. Scene distance measurement, combined with interlocking signals, for automatic identification and verification of approaches and signal status.

Benefits of technology

It realizes real-time shooting and automatic identification of road conditions and signal status in front of the vehicle, accurately measures the distance between the vehicle and the retained vehicle or foreign objects, reduces the labor intensity of the shunting operator, and improves the safety of the operation and the practicality of the system. , which solves the problems of portability and ranging accuracy of the car leading equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118753347A_ABST
    Figure CN118753347A_ABST
Patent Text Reader

Abstract

The invention relates to the field of railway yard shunting operation, in particular to a train leading device, a train leading system based on machine vision and interlocking signals and a train leading method. The vehicle leading system comprises a vehicle leading device, a data service platform and a mobile operation terminal. The road condition and the signal state in front of the vehicle are shot in real time, video recognition and analysis are carried out, automatic recognition of the route, automatic detection of foreign matter and accurate measurement of the distance are achieved, and real-time video streams and analysis results are transmitted to the data service platform. The data service platform further verifies and confirms the video stream and the analysis result in combination with interlocking signals such as route and signal states of the interlocking system, and transmits information such as the video stream, the route and the signal states to members and drivers of a shunting train through the mobile operation terminal to command the drivers to safely drive the locomotive; therefore, the automatic and accurate control of the locomotive leading process is realized, and the labor intensity of shunting operators is reduced while the working efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of railway yard shunting operations, and in particular to a train leading device, a train leading system and a train leading method based on machine vision and interlocking signals. Background Art

[0002] In the shunting operation of railway yards, push shunting is the most basic shunting operation method, that is, the shunting locomotive is behind the vehicle in the direction of travel, and uses the locomotive power to push the vehicle forward. Since the shunting locomotive driver cannot see the line and signal in front clearly during the push shunting operation, under the existing operation organization mode and technical equipment conditions, the push shunting operation requires the leader to follow the operation by grabbing and pushing the first car. The purpose is to confirm the signal opening situation and road conditions in front for the driver during the vehicle pushing operation, and to judge the distance between the tenth, fifth and third cars. Regardless of wind and rain, severe cold and heat, as long as there is a shunting operation, the leader needs to grab and ride, which consumes a lot of physical energy for the leader. In addition, during the grabbing process, affected by personal factors and external conditions, the leader is prone to fall from the locomotive vehicle, step into the air when getting on and off the vehicle, or be hit by equipment and facilities such as line side signal machines, contact network pillars, and high platforms, or be injured when the shunting vehicle collides with other motor vehicles at the crossing, resulting in personal safety accidents.

[0003] To solve the problem of freeing the leader from the operation of grabbing and riding, it is necessary to solve the problem of allowing the shunting locomotive driver to automatically obtain the environment, signal status, foreign object information, and distance between foreign objects in front of the locomotive push. At present, a small number of studies have proposed some ideas from the technical and equipment levels to try to free the leader from the operation of grabbing and riding. For example, the interlocking signal of the interlocking system is put on the car. Although the interlocking signal can reflect the signal status and track occupancy status, when there is foreign object intrusion, the interlocking signal cannot reflect whether there is foreign object intrusion. At the same time, the interlocking signal alone cannot obtain the distance between the first car and the vehicle in front or foreign objects. In addition, there is also a video leading system that transmits the video in front of the push to the cab, but the camera can only replace the human eyes, not the human brain. It still requires personnel to monitor, the labor intensity is high, and it is easy to miss, and there is a deviation in the judgment of the distance. Some researchers have tried to use radar ranging systems in railway shunting operations in mining areas, providing effective reference conditions for operators to control the speed of locomotives. They have tried it in dead-end line shunting operations. The test results show that it can improve the safety factor of shunting operations. However, the laser radar equipment is large in size and cannot meet the portability requirements of shunting operations for leading equipment, resulting in the lack of feasibility of the system. In terms of visual ranging technology, existing research and experiments are mainly focused on road vehicles, especially in the field of autonomous driving, while there are relatively few studies on ranging for railway shunting operations. In addition, most existing visual ranging solutions only use a single ranging model for distance measurement, that is, ranging based on the retained car target, and do not consider the scenario where the distance between the first car and the retained car is too far or too close. There is also a lack of fusion methods based on multi-reference ranging models, so there is still room for improvement in target ranging accuracy and robustness. Summary of the invention

[0004] Based on the above technical problems, the present invention proposes a vehicle leading device, a vehicle leading system based on machine vision and interlocking signals, and a vehicle leading method.

[0005] In order to solve the above technical problems, the specific technical solutions adopted by the present invention are summarized as follows:

[0006] A vehicle leader comprises a video acquisition module and a machine vision intelligent analysis module; the video acquisition module comprises a main camera and an auxiliary camera, when the video ranging vehicle leader is working, the optical center of the main camera is parallel to the ground, the optical center of the auxiliary camera is set at an angle with the ground, and the angle is adjustable; the machine vision intelligent analysis module comprises a distance measurement unit for a vehicle and a retained vehicle based on track spacing, a distance measurement unit for a vehicle and a retained vehicle based on an anchor line vanishing point and a retained vehicle detection frame, and a distance measurement unit for a vehicle coupler and a retained vehicle coupler; the video acquisition module is connected to the machine vision intelligent analysis module.

[0007] Furthermore, in view of the different distances between the self-vehicle and the retained vehicle or foreign objects, the present invention proposes distance measurement methods for three different application scenarios: long distance, medium distance and short distance. The long distance means that the distance between the self-vehicle and the retained vehicle is 100 meters to 200 meters, the medium distance means that the distance between the self-vehicle and the retained vehicle is 2 meters to 100 meters, and the short distance means that the distance between the self-vehicle and the retained vehicle is within 2 meters.

[0008] Furthermore, for long-distance application scenarios, the present invention proposes a method for measuring the distance between the vehicle and the reserved vehicle based on the track spacing by using the vehicle leader. The method for measuring the distance between the vehicle and the reserved vehicle based on the track spacing is applied to the measurement unit for measuring the distance between the vehicle and the reserved vehicle based on the track spacing, and specifically includes the following steps:

[0009] Step 1. The machine vision intelligent analysis module receives and reads the video image captured by the main camera in the video acquisition module;

[0010] Step 2. The track anchor line detection unit in the machine vision intelligent analysis module detects the track in the video image, obtains pixel coordinate pairs of all identifiable tracks in the video image, and determines whether the track is a main track or a side track;

[0011] Step 3. If the track in step 2 is determined to be a main track, the distance D between the vehicle and the reserved vehicle is calculated according to the width of the main track.

[0012] Furthermore, the distance D between the vehicle and the reserved vehicle is calculated based on the width of the main track as follows:

[0013]

[0014] Among them, L line is the actual width of the main track, f x is the focal length of the main camera, L pixel The pixel width of the main track.

[0015] Furthermore, for medium-distance application scenarios, the present invention proposes a method for measuring the distance between the vehicle and the retained vehicle based on the anchor line vanishing point and the retained vehicle detection frame using the vehicle leader. The method for measuring the distance between the vehicle and the retained vehicle based on the anchor line vanishing point and the retained vehicle detection frame is applied to the measurement unit for measuring the distance between the vehicle and the retained vehicle based on the anchor line vanishing point and the retained vehicle detection frame, and specifically includes the following steps:

[0016] Step 1. The machine vision intelligent analysis module receives and reads the video image captured by the main camera in the video acquisition module;

[0017] Step 2. The track anchor line detection unit in the machine vision intelligent analysis module detects and analyzes the track anchor line in the video image to obtain the vanishing point coordinates of the track anchor line;

[0018] Step 3. Based on the vanishing point coordinates of the track anchor line in step 2, the attitude angle of the main camera is corrected to obtain the yaw angle and pitch angle of the main camera;

[0019] Step 4. The self-vehicle-retained-vehicle distance measurement unit in the machine vision intelligent analysis module detects the retained vehicle in the video image, and measures the distance based on the midpoint position of the bottom edge of the retained vehicle detection frame to obtain the distance d between the self-vehicle and the retained vehicle;

[0020] Step 5. The track detection unit in the machine vision intelligent analysis module detects the track and determines whether the track is a straight track. If the track is a straight track,

[0021] Based on the pitch angle of the main camera in step 3, the distance between the self-vehicle and the reserved vehicle in step 4 is corrected to obtain a corrected distance d1 between the self-vehicle and the reserved vehicle.

[0022] The corrected distance d1 between the self-vehicle and the reserved vehicle is corrected based on the yaw angle of the main camera in step 3 to obtain a second corrected distance D1 between the self-vehicle and the reserved vehicle.

[0023] If the track is a non-straight track, the yaw angle of the main camera is set to zero, and the distance between the self-vehicle and the retained vehicle in step 4 is corrected only based on the pitch angle of the main camera in step 3 to obtain the corrected distance d1 between the self-vehicle and the retained vehicle.

[0024] Furthermore, the vanishing point coordinates of the track anchor line in step 2 are the intersection points of the track anchor lines detected in the video image, and the track anchor line is represented as a sequence of N points, that is, P = {(x0, y0), (x1, y1), ..., (x N―1 ,y N―1 )}, where the y coordinates of the track anchor line points are fixed and uniformly sampled along the vertical axis of the video image. The slope m and intercept c of the best fitting anchor line are found using the least squares method, and the fitting equation of the anchor line is obtained as y=mx+c, and the intersection coordinates (u, v) of the track anchor line are further calculated:

[0025]

[0026] Among them, m1 and m2 are the slopes of the two track anchor lines, and c1 and c2 are the intercepts of the two track anchor lines.

[0027] Furthermore, the yaw angle of the main camera in step 3 of the method for measuring the distance between the vehicle and the retained vehicle based on the anchor line vanishing point and the retained vehicle detection frame is, Among them, γ is the yaw angle of the main camera, W is the width of the imaging plane, u1 is the horizontal coordinate of the vanishing point of the track anchor line when there are pitch angles and yaw angles, and f x is the equivalent focal length in the x-axis direction of the camera coordinate system, where the camera coordinate system takes the center of the optical axis of the main camera as the origin, the right is the positive direction of the x-axis, the downward is the positive direction of the y-axis, and the forward is the positive direction of the z-axis; the pitch angle of the main camera is, Among them, θ is the pitch angle of the main camera, H is the height of the imaging plane, v1 is the ordinate of the track vanishing point when there are pitch angles and yaw angles, and f y is the equivalent focal length in the y-axis direction of the camera coordinate system.

[0028] Furthermore, the distance d between the self-vehicle and the retained vehicle in step 4 of the method for measuring the distance between the self-vehicle and the retained vehicle based on the anchor line vanishing point and the retained vehicle detection frame is:

[0029]

[0030] Among them, μ is the angle formed by the main camera optical axis and the line connecting the center of the bottom edge of the retained vehicle detection frame and the main camera optical center, H c is the distance between the main camera and the ground.

[0031] Furthermore, the corrected distance d1 between the ego vehicle and the retained vehicle in step 5 of the method for measuring the distance between the ego vehicle and the retained vehicle based on the anchor line vanishing point and the retained vehicle detection frame is,

[0032]

[0033] Wherein, d1 is the distance between the self-vehicle and the reserved vehicle corrected based on the pitch angle of the main camera; H c is the distance between the main camera and the ground; μ is the angle formed by the main camera optical axis and the line connecting the center of the bottom edge of the retained vehicle detection frame and the main camera optical center; θ is the pitch angle of the main camera;

[0034] The distance D1 between the self-vehicle and the retained vehicle after the secondary correction is,

[0035]

[0036] in, The angle formed by the line connecting the midpoint of the bottom edge of the retained vehicle detection frame and the optical center of the main camera and the optical axis in the vertical plane is calculated as follows:

[0037]

[0038] Among them, u c u is the horizontal coordinate of the center point of the bottom edge of the retained car detection frame in the camera imaging plane, o is the coordinate of the origin of the image coordinate system in the pixel coordinate system.

[0039] Furthermore, for close-range application scenarios, the present invention proposes a method for measuring the distance between the self-vehicle coupler and the reserved vehicle coupler by using the vehicle leader. The method for measuring the distance between the self-vehicle coupler and the reserved vehicle coupler is applied to the unit for measuring the distance between the self-vehicle coupler and the reserved vehicle coupler, and specifically includes the following steps:

[0040] Step 1. The machine vision intelligent analysis module receives and reads the video image captured by the auxiliary camera in the video acquisition module;

[0041] Step 2: The track anchor line detection unit in the machine vision intelligent analysis module detects and analyzes the track anchor line in the video image to obtain the vanishing point coordinates of the track anchor line, and sets the region of interest based on the vanishing point coordinates of the track anchor line.

[0042] Step 3. The distance measurement unit between the own vehicle coupler and the reserved vehicle coupler in the machine vision intelligent analysis module detects the own vehicle coupler and the reserved vehicle coupler in the video image to identify the own vehicle coupler and the reserved vehicle coupler;

[0043] Step 4. The distance measurement unit between the own vehicle coupler and the reserved vehicle coupler in the machine vision intelligent analysis module tracks the movement of the own vehicle coupler and the reserved vehicle coupler and generates a coupler tracking ID, and determines whether the own vehicle coupler and the reserved vehicle coupler are located in the region of interest in step 2. The coupler located in the region of interest is the reserved vehicle coupler, and the tracking ID of the reserved vehicle coupler is recorded;

[0044] Step 5. Based on the retained vehicle coupler in step 4, the vehicle-to-vehicle coupler and retained vehicle coupler distance measurement unit in the machine vision intelligent analysis module analyzes and calculates the distance D2 between the vehicle coupler and the retained vehicle coupler.

[0045] Furthermore, the vanishing point coordinates of the track anchor line in step 2 of the method for measuring the distance between the self-vehicle coupler and the reserved vehicle coupler are the intersection points of the track anchor lines detected in the video image, and the track anchor lines are represented as a sequence of N points, that is, P = {(x0, y0), (x1, y1), ..., (x N―1 ,y N―1)}, where the y coordinates of the track anchor points are fixed and uniformly sampled along the vertical axis of the video image. The slope m and intercept c of the best fitting anchor line are found using the least squares method, and the fitting equation of the anchor line is obtained as y=mx+c, and the intersection coordinates (u, v) of the track anchor line are further calculated:

[0046]

[0047] Among them, m1 and m2 are the slopes of the two track anchor lines, and c1 and c2 are the intercepts of the two track anchor lines.

[0048] Furthermore, the distance D2 between the own vehicle coupler and the reserved vehicle coupler in step 5 of the method for measuring the distance between the own vehicle coupler and the reserved vehicle coupler is,

[0049]

[0050] Where, l is the straight-line distance between the auxiliary camera and the reserved vehicle coupler, h is the height of the reserved vehicle coupler, w is the width of the reserved vehicle coupler, D0 is the horizontal distance between the auxiliary camera and the vehicle coupler, h0 is the vertical distance between the auxiliary camera and the vehicle coupler, l OB is the straight-line distance from the upper right corner coordinate point of the retained vehicle coupler detection frame in the world coordinate system to the origin of the world coordinate system, l OC It is the straight-line distance from the lower left corner coordinate point of the vehicle coupler detection frame retained in the world coordinate system to the origin of the world coordinate system.

[0051] Furthermore, the present invention also proposes a vehicle leading system of machine vision and interlocking signals, including the vehicle leading device, a data service platform and a mobile operation terminal, wherein the vehicle leading device is connected to the data service platform via wireless communication, and the data service platform is connected to the mobile operation terminal via wireless communication.

[0052] Furthermore, the vehicle leader also includes a positioning module.

[0053] Furthermore, the data service platform includes a data information receiving module, a data information analyzing module and a data information sending module.

[0054] Furthermore, the data information receiving module is used to receive and save the real-time video stream collected by the video acquisition module in the vehicle leader, the positioning information collected by the positioning module, the ranging information and foreign object recognition information of the machine vision intelligent analysis module, and the interlocking signal of the interlocking system.

[0055] Furthermore, the data information analysis module is used to compare, verify and correct the interlocking signal of the interlocking system with the real-time video stream collected by the video acquisition module in the leader, the positioning information collected by the positioning module, and the ranging information and foreign object recognition information analyzed by the machine vision intelligent analysis module to determine the route information and signal status ahead of the vehicle.

[0056] Furthermore, the data information sending module is used to send the real-time video stream, ranging information and foreign object identification information to the mobile operation terminal.

[0057] Furthermore, the mobile operation terminal includes a video receiving and display unit, a shunting signal receiving unit, a route signal receiving unit, a shunting plan display unit, a satellite positioning unit and an early warning unit.

[0058] Furthermore, the present invention also proposes a vehicle leading method of a vehicle leading system based on machine vision and interlocking signals, which specifically comprises the following steps:

[0059] Step 1. During the shunting operation, before the advancing operation, the leading device is installed on the front of the vehicle;

[0060] Step 2. During the pushing operation, the video ranging leader collects the real-time video stream in front of the vehicle through the video acquisition module, and the machine vision intelligent analysis module performs intelligent analysis on the collected real-time video stream to obtain an intelligent analysis result;

[0061] Step 3. The video ranging leader sends the real-time video stream, the intelligent analysis result and the positioning information collected by the positioning module to the data service platform;

[0062] Step 4. The data information receiving module in the data service platform receives and stores the real-time video stream collected by the video acquisition module in the vehicle leader, the positioning information collected by the positioning module, the ranging information and foreign object recognition information collected by the machine vision intelligent analysis module, and the interlocking signal of the interlocking system;

[0063] Step 5. The data information analysis module compares and verifies the interlocking signal of the interlocking system with the real-time video stream collected by the video acquisition module in the vehicle leader, the positioning information collected by the positioning module, and the distance measurement information and foreign object recognition information analyzed by the machine vision intelligent analysis module, and determines the route information and signal status ahead of the vehicle;

[0064] Step 6. The data information sending module sends the real-time video stream, the distance measurement information and the foreign object identification information to the mobile operation terminal. If the video distance measurement device identifies a foreign object in front of the vehicle, the data service platform sends a warning message to the mobile operation terminal.

[0065] Step 7. The mobile operation terminal receives and displays the real-time video stream through the video receiving and display unit, receives the shunting signal through the shunting signal receiving unit, receives the route information and signal status and the distance measurement information through the route signal receiving unit, receives the shunting plan through the shunting plan display unit, and receives the warning information through the early warning unit;

[0066] Step 8. The shunting team instructs the driver to drive safely according to the information flow received by the mobile operation terminal in step 7.

[0067] Furthermore, the analysis result in step 2 of the vehicle leading method includes distance measurement information and foreign object identification information, and the distance measurement information includes the distance between the own vehicle and the retained vehicle, the distance between the own vehicle coupler and the retained vehicle coupler, and the distance between the own vehicle and the foreign object.

[0068] The present invention realizes real-time shooting of the road conditions and signal status in front of the vehicle through the vehicle leading system based on machine vision and interlocking signals, and performs video recognition and analysis with the help of artificial intelligence technologies such as computer vision, thereby realizing automatic recognition of the approach, automatic detection of foreign objects, and accurate measurement of the distance between the vehicle and the retained vehicle or foreign objects, and transmits the real-time video stream and analysis structure to the data service platform, combines the interlocking signals such as the approach and signal status of the interlocking system, further verifies and confirms the video stream and analysis results, transmits the video stream, approach and signal status information to the shunting team members and the driver through the mobile operation terminal, and instructs the driver to drive the locomotive, thereby realizing automatic and accurate control of the vehicle leading process, while improving the operating efficiency, reducing the labor intensity of the shunting operators, enhancing the safety of the shunting operation, and improving the practicality and safety of the entire vehicle leading system. The present invention replaces the traditional laser radar ranging with the video vehicle distance, thereby solving the problem of portability of the vehicle leading equipment. The present invention proposes different ranging methods for three scenarios: long distance, medium distance and short distance, so that the vehicle leading system of the present invention has a multi-scenario video ranging function, which solves the problem that a single video ranging cannot obtain the distance that is too close or too far from the retained vehicle or foreign object, making the shunting operation more accurate, and adopts a method of dynamically estimating the camera attitude angle based on the coordinates of the anchor line vanishing point, thereby improving the accuracy and robustness of video ranging in dynamic scenarios. BRIEF DESCRIPTION OF THE DRAWINGS

[0069] In order to obtain the above and other advantages and features of the present invention, the present invention summarized above will be described in more detail below with reference to the specific embodiments of the present invention shown in the accompanying drawings. It should be understood that these drawings only show typical embodiments of the present invention and should not be regarded as limiting the scope of the present invention. Through the use of the accompanying drawings, the present invention will be described and explained in more detail; in the accompanying drawings:

[0070] Figure 1 It is a functional module schematic diagram of a vehicle leading system based on machine vision and interlocking signals of the present invention;

[0071] Figure 2 It is a flowchart of a method for measuring the distance between a self-vehicle and a reserved vehicle based on track spacing of the present invention;

[0072] Figure 3 It is a distance measurement model diagram of a method for measuring the distance between a self-vehicle and a reserved vehicle based on track spacing of the present invention;

[0073] Figure 4 It is a flowchart of a method for measuring the distance between a self-vehicle and a retained vehicle based on an anchor line vanishing point and a retained vehicle detection frame of the present invention;

[0074] Figure 5 It is a camera yaw angle calculation model diagram of the present invention;

[0075] Figure 6 It is a model diagram of the present invention based on the bottom edge position of the retained vehicle target detection frame;

[0076] Figure 7 It is a flowchart of a method for measuring the distance between a self-vehicle coupler and a reserved vehicle coupler according to the present invention;

[0077] Figure 8 It is a distance measurement model diagram based on the distance measurement method of the self-vehicle coupler and the reserved vehicle coupler of the present invention; DETAILED DESCRIPTION

[0078] The following description is used to disclose the present invention so that those skilled in the art can implement the present invention. The preferred embodiments described below are only examples, and those skilled in the art can think of other obvious variations. Directional terms such as "front", "back", "left", and "right" in the following description are not to be interpreted as limitations of the present invention. The basic principles of the present invention defined in the following description can be applied to other embodiments, variations, improvements, equivalents, and other technical solutions that do not deviate from the spirit and scope of the present invention.

[0079] The following is combined with Figure 1-8 The present invention provides a vehicle leading device, a vehicle leading system and a vehicle leading method based on machine vision and interlocking signals, and further describes in detail:

[0080] As attached Figure 1 As shown, the present invention proposes a vehicle leading system based on machine vision and interlocking signals, including a vehicle leading device, a data service platform and a mobile operation terminal. The vehicle leading device is connected to the data service platform via wireless communication, and the data service platform is connected to the mobile operation terminal via wireless communication.

[0081] Further, such as Figure 1 As shown, a vehicle leader proposed in the present invention includes a video acquisition module and a machine vision intelligent analysis module; the video acquisition module includes a main camera and an auxiliary camera. When the video ranging vehicle leader is working, the optical center of the main camera is parallel to the ground, and the optical center of the auxiliary camera is set at an angle to the ground, and the angle is adjustable; the machine vision intelligent analysis module includes a self-vehicle and retained vehicle distance measurement unit based on track spacing, a self-vehicle and retained vehicle distance measurement unit based on anchor line vanishing point and retained vehicle detection frame, and a self-vehicle coupler and retained vehicle coupler distance measurement unit; the video acquisition module is connected to the machine vision intelligent analysis module.

[0082] As a further preferred technical solution, the vehicle leader is magnetically installed on the front side of the vehicle being pushed, and collects real-time video streams from the perspective of the head hook connector, and transmits the real-time video streams and the analysis results of the machine vision intelligent analysis module to the data service platform through wireless communication.

[0083] The installation angle of the main camera on the self-vehicle is such that its optical center is parallel to the ground. The main camera is mainly responsible for collecting the video stream of the scene directly in front of the self-vehicle during the pushing operation. The optical center of the auxiliary camera is set at an angle to the ground, and the angle is preferably 60°. The auxiliary camera is mainly responsible for collecting the video stream of the distance between the self-vehicle coupler and the retained vehicle coupler as well as the connection status scene between the self-vehicle coupler and the retained vehicle coupler during the pushing operation, so as to facilitate the operating personnel to better understand the completion status of the connection operation between the self-vehicle coupler and the retained vehicle coupler.

[0084] The video acquisition module has a high-performance image sensor and supports 3D noise reduction, strong light suppression, and backlight compensation.

[0085] As a further preferred technical solution, the vehicle leader also includes a positioning module, which has a Beidou high-precision multi-frequency chip and a miniaturized omnidirectional helical antenna, and supports the intervention of a cors base station.

[0086] The machine vision intelligent analysis module uses machine vision algorithms such as video enhancement algorithm, single-stage detection algorithm, target classification algorithm, etc. to perform multi-target detection of large-scale image network deep recognition on the collected video, thereby realizing automatic identification of the route, automatic detection of foreign objects and accurate measurement of the distance between the vehicle and the retained vehicle or foreign objects, and accurately identifying information such as the route and signal status ahead, including the status of tracks and switches, the type and color of traffic lights, foreign objects ahead, and the distance between the vehicle and the foreign objects ahead.

[0087] As a further preferred technical solution, the data service platform shown includes a data information receiving module, a data information analyzing module and a data information sending module.

[0088] The data information receiving module is used to receive and save the real-time video stream collected by the video acquisition module in the vehicle leader, the positioning information collected by the positioning module, the ranging information and foreign object recognition information of the machine vision intelligent analysis module, and the interlocking signal of the interlocking system; the interlocking signal shown includes information such as the station approach route and signal status.

[0089] The data information analysis module is used to compare, verify and correct the interlocking signal of the interlocking system with the real-time video stream collected by the video acquisition module in the leader, the positioning information collected by the positioning module, and the ranging information, route identification information and foreign object identification information analyzed by the machine vision intelligent analysis module, that is, combining the data sources such as video ranging, satellite positioning and business logic positioning, and adopting a multi-source fusion ranging and positioning method to achieve accurate ranging and positioning, and determine the route information and signal status ahead of the vehicle.

[0090] The data information sending module is used to send the real-time video stream, distance measurement information and foreign object identification information to the mobile operation terminal.

[0091] The data service platform can automatically associate and match the video acquisition device with the mobile operation terminal, and automatically send the video image in front of the corresponding route to the corresponding mobile operation terminal.

[0092] The data service platform supports multi-channel forwarding of video information, realizes multi-point remote real-time monitoring, and can support recording and query functions of video and other operation processes.

[0093] As a further preferred technical solution, the mobile operation terminal includes a video receiving and display unit, a shunting signal receiving unit, a route signal receiving unit, a shunting plan receiving and display unit, a satellite positioning unit and an early warning unit.

[0094] The mobile operation terminal receives and displays the real-time video stream through the video receiving and display unit, receives shunting signaling through the shunting signaling receiving unit, receives route information and signal status as well as the distance measurement information through the route signal receiving unit, receives the shunting plan through the shunting plan display unit, and receives the warning information through the early warning unit.

[0095] The mobile operation terminal has functions such as video display, voice intercom, shunting signaling, route signal, shunting plan display and satellite positioning. It can not only display and push the video collection information in front of the operation to the shunting crew, but also meet the functional requirements of the existing horizontal shunting handheld console. At the same time, it provides functions such as shunting plan display and safety protection warning for shunting crew members. During the advancement process, the shunting master directs the driver to drive the locomotive according to the video and station signals.

[0096] Furthermore, the present invention proposes three different distance measurement methods for the three scenarios of long distance, medium distance and short distance, respectively, so that the vehicle leading system of the present invention has a multi-scenario video distance measurement function, and the distance measurement is more accurate, which solves the problem that a single video distance measurement cannot obtain the distance to the retained vehicle or foreign objects that is too close or too far, and makes the shunting operation more efficient. The long distance refers to the distance between the own vehicle and the retained vehicle being 100 meters to 200 meters, the medium distance refers to the distance between the own vehicle and the retained vehicle being 2 meters to 100 meters, and the short distance refers to the distance between the own vehicle and the retained vehicle being within 2 meters. The following is a further detailed description in conjunction with the accompanying drawings:

[0097] As attached Figure 2 As shown, for the application scenario where the distance from the own vehicle is far, the present invention proposes a method for measuring the distance between the own vehicle and the reserved vehicle based on the track spacing. The measurement method is applied to the measurement unit for the distance between the own vehicle and the reserved vehicle based on the track spacing, and specifically includes the following steps:

[0098] Step 1. The machine vision intelligent analysis module receives and reads the video image captured by the main camera in the video acquisition module;

[0099] Step 2. The track anchor line detection unit in the machine vision intelligent analysis module detects the track in the video image, obtains pixel coordinate pairs of all identifiable tracks in the video image, and determines whether the track is a main track or a side track;

[0100] Step 3. If the track in step 2 is determined to be a main track, the distance D between the vehicle and the reserved vehicle is calculated according to the width of the main track.

[0101] For the long-distance application scenario, considering that the track width is a priori information that is relatively easy to obtain, the ranging robustness is better in the case of motion, and the factors such as the change of distance and camera attitude angle have little effect on the ranging method based on track width, the present invention proposes a target positioning model based on standard track width and track line as reference, such as Figure 3 shown.

[0102] Based on the principle that the projection of the track line in the camera is similar to pinhole imaging, according to the pixel width of the track detected in the front in the image, the calculation formula for the distance between the remaining car in front and the vehicle can be derived through geometric knowledge. The actual width of the track L is known. line , the focal length f of the camera can be obtained through the internal and external parameters of the camera x 、Pixel width of the front track L pixel Therefore, the calculation formula for the distance D between the vehicle and the vehicle to be attached is:

[0103]

[0104] Furthermore, the step of determining the main track in step 2 of the method for measuring the distance between the own vehicle and the reserved vehicle based on the track spacing is specifically as follows:

[0105] Step 1: Initialize and clear data: The code first resets the index and related data of the found main track and side track.

[0106] Step 2: Find all detected track starting points: Traverse the starting point array and use the classified pixel data to determine the category of each starting point, thereby collecting the starting points of all tracks.

[0107] Step 3: Find possible main tracks: Traverse all starting points and consider each pair of starting points as a possible set of tracks. For each pair of starting points, if they are both at the bottom of the image (largest y coordinate), calculate the distance between them. If this distance is close to the set main track distance range, and the center of the pair of tracks is close to the center of the image, it is considered a possible main track pair. Store all track pairs that meet the conditions. Select the most central pair from the possible main tracks.

[0108] Step 4: Determine the main track: Traverse all possible main track pairs, find the pair whose center is closest to the center of the image, and mark it as the main track.

[0109] Step 5: Determine the side track: Continue to traverse all starting points, excluding the pair that is already the main track. For each pair of starting points, if they are both at the bottom of the image, determine whether it is the left track or the right track based on their position (left or right half of the image).

[0110] As attached Figure 4 As shown, for the application scenario of the distance from the self-vehicle, the present invention proposes a method for measuring the distance between the self-vehicle and the retained vehicle based on the anchor line vanishing point and the retained vehicle detection frame. The measurement method is applied to the self-vehicle and the retained vehicle distance measurement unit based on the anchor line vanishing point and the retained vehicle detection frame, and specifically includes the following steps:

[0111] Step 1. The machine vision intelligent analysis module receives and reads the video image captured by the main camera in the video acquisition module;

[0112] Step 2. The track anchor line detection unit in the machine vision intelligent analysis module detects and analyzes the track anchor line in the video image to obtain the vanishing point coordinates of the track anchor line;

[0113] Step 3. Based on the vanishing point coordinates of the track anchor line in step 2, the attitude angle of the main camera is corrected to obtain the yaw angle and pitch angle of the main camera;

[0114] Step 4. The self-vehicle-retained-vehicle distance measurement unit in the machine vision intelligent analysis module detects the retained vehicle in the video image, and measures the distance based on the midpoint position of the bottom edge of the retained vehicle detection frame to obtain the distance d between the self-vehicle and the retained vehicle;

[0115] Step 5. The track detection unit in the machine vision intelligent analysis module detects the track and determines whether the track is a straight track. If the track is a straight track,

[0116] Based on the pitch angle of the main camera in step 3, the distance between the self-vehicle and the reserved vehicle in step 4 is corrected to obtain a corrected distance d1 between the self-vehicle and the reserved vehicle.

[0117] The corrected distance d1 between the self-vehicle and the reserved vehicle is corrected based on the yaw angle of the main camera in step 3 to obtain a second corrected distance D1 between the self-vehicle and the reserved vehicle.

[0118] If the track is a non-straight track, the yaw angle of the main camera is set to zero, and the distance between the self-vehicle and the retained vehicle in step 4 is corrected only based on the pitch angle of the main camera in step 3 to obtain the corrected distance d1 between the self-vehicle and the retained vehicle.

[0119] For the medium-distance application scenario, the present invention applies a distance measurement method for retaining the bottom edge position of the vehicle target detection frame based on the coordinates of the anchor line vanishing point to correct the camera posture angle.

[0120] In the field of visual ranging, changes in the camera's attitude angle will affect the accuracy of visual ranging. The reason is that at different attitude angles, the proportional relationship between the actual distance of the object and its projected distance in the camera will change, thus affecting the accuracy of measuring the distance of the object. The locomotive will inevitably bump during the propulsion process, which may cause the angle of the visual sensor relative to the ground to change dynamically, thereby changing the parameters of the above-mentioned camera geometric model. When the ranging algorithm does not update this parameter change in time, incorrect distance measurement will occur.

[0121] In the three-dimensional world, track anchor lines are parallel. However, when the camera takes an image of the track, it can be observed that the track anchor lines in the image are not parallel. These lines intersect in the image. The intersection point is called the vanishing point. The movement of the vanishing point can reflect the change of the rotation matrix. Compared with the traditional line segment detection and weighted voting method, the end-to-end anchor line detection method simplifies the calculation process and reduces the errors and complexity that may be caused by the intermediate steps.

[0122] The present invention adopts a camera attitude angle estimation method based on the anchor line vanishing point to update the external parameters of the camera in actual operation, so that the system can better adapt to environmental changes and ensure the stability and reliability of the ranging result.

[0123] In the method for measuring the distance between the vehicle and the retained vehicle based on the anchor line vanishing point and the retained vehicle detection frame, the vanishing point coordinates of the track anchor line in step 2 are the intersection points of the track anchor lines detected in the video image, and the track anchor lines are represented as a sequence of N points, that is, P = {(x0, y0), (x1, y1), ..., (x N―1 ,y N―1 )}, where the y coordinates of the track anchor line points are fixed and uniformly sampled along the vertical axis of the video image. The slope m and intercept c of the best fitting anchor line are found using the least squares method, and the fitting equation of the anchor line is obtained as y=mx+c, and the intersection coordinates (u, v) of the track anchor line are further calculated:

[0124]

[0125] Among them, m1 and m2 are the slopes of the two track anchor lines, and c1 and c2 are the intercepts of the two track anchor lines.

[0126] When the camera fixed on the locomotive has a pitch angle, the position of the vanishing point of the collected image will be offset horizontally; if the on-board camera has a yaw angle, the position of the vanishing point of the road in the collected image will be offset vertically, as shown in the following figure. Figure 5 As shown; where W and H are the width and height of the imaging plane, β represents half of the camera's horizontal field of view, and γ and θ are the camera's yaw and pitch angles, respectively.

[0127] When γ=0, the coordinates of the road vanishing point in the imaging plane are V(u0,v0); when γ≠0, the coordinates of the road vanishing point are offset to point V′(u1,v1); the yaw angle and pitch angle calculation formula of the vehicle-mounted camera are derived as follows:

[0128]

[0129]

[0130] Among them, γ is the yaw angle of the main camera, W is the width of the imaging plane, u1 is the horizontal coordinate of the vanishing point of the track anchor line when there are pitch angles and yaw angles, and f x is the equivalent focal length in the x-axis direction of the camera coordinate system, where the camera coordinate system takes the center of the optical axis of the main camera as the origin, the right is the positive direction of the x-axis, the downward is the positive direction of the y-axis, and the forward is the positive direction of the z-axis; θ is the pitch angle of the main camera, H is the height of the imaging plane, v1 is the ordinate of the vanishing point of the track in the presence of pitch angle and yaw angle, and f y is the equivalent focal length in the y-axis direction of the camera coordinate system.

[0131] The distance d between the self-vehicle and the retained vehicle in step 4 of the method for measuring the distance between the self-vehicle and the retained vehicle based on the anchor line vanishing point and the retained vehicle detection frame is,

[0132]

[0133] Among them, μ is the angle formed by the main camera optical axis and the line connecting the center of the bottom edge of the retained vehicle detection frame and the main camera optical center, H c is the distance between the main camera and the ground.

[0134] The distance measurement model based on the bottom edge position of the retained vehicle target detection frame is shown in the attached figure. Figure 6 As shown in the figure, the position of point C corresponds to the center C(u c ,v c ), at this time, according to the pitch angle estimated by the camera attitude angle based on the anchor line vanishing point, the corrected distance d1 between the propulsion vehicle and the reserved vehicle to be connected is,

[0135]

[0136] Among them, H c is the distance between the main camera and the ground; μ is the angle formed by the main camera optical axis and the line connecting the center of the bottom edge of the retained vehicle detection frame and the optical center of the main camera; θ is the pitch angle of the main camera.

[0137] As attached Figure 6As shown in Figure 1, the calculation of the distance between the ego vehicle and the reserved vehicle is affected not only by the pitch angle of the camera, but also by the yaw angle of the camera. The calculation formula (6) is corrected to obtain the distance D1 between the ego vehicle and the reserved vehicle to be connected after secondary correction:

[0138]

[0139] in, It represents the angle formed by the line connecting the midpoint of the lower edge of the target vehicle detection frame and the optical center of the vehicle-mounted camera and the optical axis in the vertical plane. The calculation formula is:

[0140]

[0141] Among them, u c u is the horizontal coordinate of the center point of the bottom edge of the retained car detection frame in the camera imaging plane, o is the coordinate of the origin of the image coordinate system in the pixel coordinate system.

[0142] However, in actual situations, when driving on a curve, the yaw angle of the on-board camera will change greatly, which seriously affects the ranging accuracy of the ranging model based on the retained vehicle detection frame position. At this time, it is necessary to stop the ranging model from correcting the yaw angle, that is, only consider the change in the camera pitch angle and make corrections. Whether the yaw angle correction based on the ranging model of the retained vehicle target detection frame position is taken as 0 depends on the position of the horizontal coordinate of the vanishing point in the entire image. The change of the vanishing point is used to determine whether the current road is a straight road or a curve. When the offset of the vanishing point is large, the current road is considered to be a curve, otherwise it is a straight road. The specific judgment basis is as follows:

[0143]

[0144] Where W is the pixel width of the image, u vp is the horizontal coordinate of the road vanishing point; when the condition shown in formula (9) is met, only the pitch angle needs to be corrected, that is, the correction of the yaw angle based on the distance measurement model of the retained vehicle detection frame position is taken as 0.

[0145] like Figure 7 As shown, for the application scenario at a relatively close distance to the own vehicle, the present invention proposes a method for measuring the distance between the own vehicle coupler and the reserved vehicle coupler. The measurement method is applied to a measurement unit based on the distance between the own vehicle coupler and the reserved vehicle coupler, and specifically includes the following steps:

[0146] Step 1. The machine vision intelligent analysis module receives and reads the video image captured by the auxiliary camera in the video acquisition module;

[0147] Step 2: The track anchor line detection unit in the machine vision intelligent analysis module detects and analyzes the track anchor line in the video image to obtain the vanishing point coordinates of the track anchor line, and sets the region of interest based on the vanishing point coordinates of the track anchor line.

[0148] Step 3. The distance measurement unit between the own vehicle coupler and the reserved vehicle coupler in the machine vision intelligent analysis module detects the own vehicle coupler and the reserved vehicle coupler in the video image to identify the own vehicle coupler and the reserved vehicle coupler;

[0149] Step 4. The distance measurement unit between the own vehicle coupler and the reserved vehicle coupler in the machine vision intelligent analysis module tracks the movement of the own vehicle coupler and the reserved vehicle coupler and generates a coupler tracking ID, and determines whether the own vehicle coupler and the reserved vehicle coupler are located in the region of interest in step 2. The coupler located in the region of interest is the reserved vehicle coupler, and the tracking ID of the reserved vehicle coupler is recorded;

[0150] Step 5. Based on the retained vehicle coupler in step 4, the vehicle-to-vehicle coupler and retained vehicle coupler distance measurement unit in the machine vision intelligent analysis module analyzes and calculates the distance D2 between the vehicle coupler and the retained vehicle coupler.

[0151] For close-range scenes, since the scene in front of the lens is completely filled with the retained vehicles, the only available reference is the coupler. Therefore, the present invention adopts a distance measurement method based on the coupler size.

[0152] The PnP problem refers to the situation where there are many three-dimensional and two-dimensional matching points in a perspective projection environment. When the internal parameters of the camera are known in advance, the specific positions of the three-dimensional matching points in the camera coordinate system are calculated. The PnP technology uses the two-dimensional plane image coordinates of the feature action points on the image and the three-dimensional coordinates of the feature action points in the target coordinate system to obtain the pose relationship between the camera coordinate system and the target coordinate system. In the PnP algorithm, when n is 4, if the four feature points are coplanar, the unit orthogonality of the coordinate system exchange matrix can be used for calculation to obtain a unique analytical solution.

[0153] The projection principle of the coupler on the camera is shown in the attached figure. Figure 8 As shown. Figure 8 There are four coordinate systems:

[0154] World Coordinate System O W X W Y W Z W , camera coordinate system O C X C Y C Z C , O ixyImage coordinate system and O puv Pixel coordinate system; A, B, C, and D represent the four corner points of the coupler detection frame, and a, b, c, and d are the projection points of the four corner points on the camera imaging plane.

[0155] As attached Figure 8 As shown, for ΔO c ab and ΔOAB are calculated according to the law of cosines:

[0156]

[0157] Similarly, for other triangles, we can get the following formula:

[0158]

[0159] Where, h is the height of the coupler of the retained car (AC), and w is the width of the coupler of the retained car (CD). The requirements for the geometric dimensions of couplers in my country are almost unchanged. Since the positions of the four points a, b, c, and d on the video image are known, the cosine angles α, β, γ, and θ are also known. By using formulas (10) and (11), l can be calculated: OA , l OB , l OC , l OD Therefore, the distance l between the auxiliary camera and the coupler of the reserved vehicle is,

[0160]

[0161] Among them, l OB is the straight-line distance from the upper right corner coordinate point of the retained vehicle coupler detection frame in the world coordinate system to the origin of the world coordinate system, l OC It is the straight-line distance from the lower left corner coordinate point of the vehicle coupler detection frame retained in the world coordinate system to the origin of the world coordinate system.

[0162] Because there is a horizontal distance D0 between the auxiliary camera and the front coupler of the ego vehicle, this distance needs to be subtracted when calculating the distance D2 between the real ego vehicle coupler and the target retained vehicle coupler. The distance D2 between the two couplers is,

[0163]

[0164] Among them, h0 is the vertical distance between the auxiliary camera and the vehicle coupler.

[0165] The close-range distance measurement process includes the following steps: first, the detection model is used to detect the coupler and anchor line in the image; then, since the opposite vehicle coupler always appears near the track vanishing point in the perspective of the auxiliary camera of the push operation, the vanishing point coordinates are calculated according to the anchor line detection results, and the region of interest is set according to the vanishing point to determine whether the coupler is located in the region to identify the opposite vehicle coupler; then, the movement of the distant coupler is tracked by the target tracking algorithm, and its position and tracking ID are updated; finally, the actual distance of the opposite vehicle coupler is calculated by the distance measurement method based on the coupler size, and the distance measurement result is output.

[0166] Furthermore, the present invention also proposes a method for leading a vehicle using the vehicle leading system, which specifically comprises the following steps:

[0167] Step 1. During the shunting operation, before the advancing operation, the leading device is installed on the front of the vehicle;

[0168] Step 2. During the pushing operation, the video ranging leader collects the real-time video stream in front of the vehicle through the video acquisition module, and the machine vision intelligent analysis module performs intelligent analysis on the collected real-time video stream to obtain the analysis result;

[0169] Step 3. The video ranging leader sends the real-time video stream, the analysis result and the positioning information collected by the positioning module to the data service platform;

[0170] Step 4. The data information receiving module in the data service platform receives and stores the real-time video stream collected by the video acquisition module in the vehicle leader, the positioning information collected by the positioning module, the ranging information and foreign object recognition information collected by the machine vision intelligent analysis module, and the interlocking signal of the interlocking system;

[0171] Step 5. The data information analysis module compares and verifies the interlocking signal of the interlocking system with the real-time video stream collected by the video acquisition module in the vehicle leader, the positioning information collected by the positioning module, and the distance measurement information and foreign object recognition information analyzed by the machine vision intelligent analysis module, and determines the route information and signal status ahead of the vehicle;

[0172] Step 6. The data information sending module sends the real-time video stream, the distance measurement information and the foreign object identification information to the mobile operation terminal. If the video distance measurement device identifies a foreign object in front of the vehicle, the data service platform sends a foreign object warning message to the mobile operation terminal.

[0173] Step 7. The mobile operation terminal receives and displays the real-time video stream through the video receiving and display unit, receives the shunting signal through the shunting signal receiving unit, receives the route information and signal status and the distance measurement information through the route signal receiving unit, receives the shunting plan through the shunting plan display unit, and receives the warning information through the early warning unit;

[0174] Step 8. The shunting team instructs the driver to drive safely according to the information flow received by the mobile operation terminal in step 7.

[0175] Furthermore, the analysis result in step 2 of the vehicle leading method includes distance measurement information and foreign object identification information, and the distance measurement information includes the distance between the own vehicle and the retained vehicle, the distance between the own vehicle coupler and the retained vehicle coupler, and the distance between the own vehicle and the foreign object.

[0176] Furthermore, the interlock signal in step 4 of the vehicle leading method at least includes route information and signal status information.

[0177] The beneficial technical effects achieved by the present invention are as follows: the present invention realizes real-time shooting of the road conditions and signal status in front of the vehicle through the vehicle leading system based on machine vision and interlocking signals, and performs video recognition and analysis with the help of artificial intelligence technologies such as computer vision, thereby realizing automatic identification of the approach, automatic detection of foreign objects, and accurate measurement of the distance between the vehicle and the reserved vehicle or foreign objects, and transmits the real-time video stream and analysis structure to the data service platform, and further verifies and confirms the video stream and analysis results in combination with the interlocking signals such as the approach and signal status of the interlocking system, and transmits the video stream, approach and signal status information to the shunting team members and the driver through the mobile operation terminal, and instructs the driver to drive the locomotive, thereby realizing automatic and accurate control of the vehicle leading process, while improving the operating efficiency, reducing the labor intensity of the shunting operators, enhancing the safety of the shunting operation, and improving the practicality and safety of the entire vehicle leading system. The present invention replaces the traditional laser radar ranging with video vehicle distance, thereby solving the problem of portability of the vehicle leading equipment. The present invention proposes different ranging methods for three scenarios: long distance, medium distance and short distance, so that the vehicle leading system of the present invention has a multi-scenario video ranging function, which solves the problem that a single video ranging cannot obtain the distance that is too close or too far from the retained vehicle or foreign object, making the shunting operation more accurate, and adopts a method of dynamically estimating the camera attitude angle based on the coordinates of the anchor line vanishing point, thereby improving the accuracy and robustness of video ranging in dynamic scenarios.

[0178] The above embodiments are preferred embodiments of the present invention and are not intended to limit the scope of the present invention. Any person skilled in the art may make some improvements without departing from the scope of the present invention, that is, any equivalent improvements made according to the present invention should be covered by the scope of the present invention.

Claims

1. A vehicle guide device, characterized in that: The vehicle leader includes a video acquisition module and a machine vision intelligent analysis module; The video acquisition module includes a main camera and an auxiliary camera. When the vehicle guide is working, the optical center of the main camera is parallel to the ground, and the optical center of the auxiliary camera is set at an angle with the ground, and the angle is adjustable; The machine vision intelligent analysis module includes a distance measurement unit between the vehicle and the reserved vehicle based on the anchor line vanishing point and the reserved vehicle detection frame, a distance measurement unit between the vehicle and the reserved vehicle based on the track spacing, and a distance measurement unit between the vehicle coupler and the reserved vehicle coupler; The video acquisition module is connected to the machine vision intelligent analysis module.

2. The vehicle driver according to claim 1, characterized in that: The unit for measuring the distance between the vehicle and the reserved vehicle based on the anchor line vanishing point and the reserved vehicle detection frame includes a method for measuring the distance between the vehicle and the reserved vehicle based on the anchor line vanishing point and the reserved vehicle detection frame. The method for measuring the distance between the vehicle and the reserved vehicle based on the anchor line vanishing point and the reserved vehicle detection frame includes the following steps: Step 1. The machine vision intelligent analysis module receives and reads the video image captured by the main camera in the video acquisition module; Step 2. The track anchor line detection unit in the machine vision intelligent analysis module detects and analyzes the track anchor line in the video image to obtain the vanishing point coordinates of the track anchor line; Step 3. Based on the vanishing point coordinates of the track anchor line in step 2, the attitude angle of the main camera is corrected to obtain the yaw angle and pitch angle of the main camera; Step 4. The self-vehicle-retained-vehicle distance measurement unit in the machine vision intelligent analysis module detects the retained vehicle in the video image, and measures the distance based on the midpoint position of the bottom edge of the retained vehicle detection frame to obtain the distance d between the self-vehicle and the retained vehicle; Step 5. The track detection unit in the machine vision intelligent analysis module detects the track and determines whether the track is a straight track. If the track is a straight track, Based on the pitch angle of the main camera in step 3, the distance between the self-vehicle and the reserved vehicle in step 4 is corrected to obtain a corrected distance d1 between the self-vehicle and the reserved vehicle. The corrected distance d1 between the self-vehicle and the reserved vehicle is corrected based on the yaw angle of the main camera in step 3 to obtain a second corrected distance D1 between the self-vehicle and the reserved vehicle. If the track is a non-straight track, the yaw angle of the main camera is set to zero, and the distance between the self-vehicle and the retained vehicle in step 4 is corrected only based on the pitch angle of the main camera in step 3 to obtain the corrected distance d1 between the self-vehicle and the retained vehicle.

3. The vehicle driver according to claim 2, characterized in that: The vanishing point coordinates of the track anchor line in step 2 are the intersection points of the track anchor lines detected in the video image. The track anchor line is represented as a sequence of N points, i.e., P = {(x0, y0), (x1, y1), ..., (x N―1 ,y N―1 )}, wherein the y coordinate of the track anchor line point is fixed and uniformly sampled along the vertical axis of the video image, and the slope m and intercept c of the best fitting anchor line are found using the least squares method, and the fitting equation of the anchor line y=mx+c is obtained, and the intersection coordinates (u, v) of the track anchor line are further calculated: Among them, m1 and m2 are the slopes of the two track anchor lines, and c1 and c2 are the intercepts of the two track anchor lines.

4. The vehicle driver according to claim 3, characterized in that: The yaw angle and pitch angle of the main camera in step 3 are respectively, The yaw angle of the main camera is, Among them, γ is the yaw angle of the main camera, W is the width of the imaging plane, u1 is the horizontal coordinate of the vanishing point of the track anchor line when there are pitch angles and yaw angles, and f x is the equivalent focal length in the x-axis direction of the camera coordinate system, where the origin of the camera coordinate system is the center of the optical axis of the main camera, the right is the positive direction of the x-axis, the downward is the positive direction of the y-axis, and the forward is the positive direction of the z-axis; The pitch angle of the main camera is, Among them, θ is the pitch angle of the main camera, H is the height of the imaging plane, v1 is the ordinate of the track vanishing point when there are pitch angles and yaw angles, and f y is the equivalent focal length in the y-axis direction of the camera coordinate system.

5. The vehicle driver according to claim 4, characterized in that: The distance d between the self-vehicle and the reserved vehicle in step 4 is, Among them, μ is the angle formed by the main camera optical axis and the line connecting the center of the bottom edge of the retained vehicle detection frame and the main camera optical center, H c is the distance between the main camera and the ground.

6. The vehicle driver according to claim 5, characterized in that: The corrected distance d1 between the self-vehicle and the reserved vehicle in step 5 is, Wherein, d1 is the distance between the self-vehicle and the reserved vehicle corrected based on the pitch angle of the main camera; H c is the distance between the main camera and the ground; μ is the angle formed by the main camera optical axis and the line connecting the center of the bottom edge of the retained vehicle detection frame and the main camera optical center; θ is the pitch angle of the main camera; The distance D1 between the self-vehicle and the retained vehicle after the secondary correction is, in, The angle formed by the line connecting the midpoint of the bottom edge of the retained vehicle detection frame and the optical center of the main camera and the optical axis in the vertical plane is calculated as follows: Among them, u c It is the horizontal coordinate of the center point of the bottom edge of the retained car detection frame in the camera imaging plane.

7. The vehicle driver according to claim 1, characterized in that: The distance measurement unit for the vehicle and the remaining vehicle based on the track spacing includes a distance measurement method for the vehicle and the remaining vehicle based on the track spacing. The distance measurement method for the vehicle and the remaining vehicle based on the track spacing includes the following steps: Step 1. The machine vision intelligent analysis module receives and reads the video image captured by the main camera in the video acquisition module; Step 2. The track anchor line detection unit in the machine vision intelligent analysis module detects the track in the video image, obtains pixel coordinate pairs of all identifiable tracks in the video image, and determines whether the track is a main track or a side track; Step 3. If the track in step 2 is determined to be a main track, the distance D between the vehicle and the reserved vehicle is calculated according to the width of the main track.

8. The vehicle driver according to claim 7, characterized in that: The distance D between the vehicle and the reserved vehicle is calculated based on the width of the main track: Among them, L line is the actual width of the main track, f x is the focal length of the camera, L pixel The pixel width of the main track.

9. The vehicle driver according to claim 1, characterized in that: The unit for measuring the distance between the own vehicle coupler and the reserved vehicle coupler includes a method for measuring the distance between the own vehicle coupler and the reserved vehicle coupler. The method for measuring the distance between the own vehicle coupler and the reserved vehicle coupler includes the following steps: Step 1. The machine vision intelligent analysis module receives and reads the video image captured by the auxiliary camera in the video acquisition module; Step 2: The track anchor line detection unit in the machine vision intelligent analysis module detects and analyzes the track anchor line in the video image to obtain the vanishing point coordinates of the track anchor line, and sets the region of interest based on the vanishing point coordinates of the track anchor line. Step 3. The distance measurement unit between the own vehicle coupler and the reserved vehicle coupler in the machine vision intelligent analysis module detects the own vehicle coupler and the reserved vehicle coupler in the video image to identify the own vehicle coupler and the reserved vehicle coupler; Step 4. The distance measurement unit between the own vehicle coupler and the reserved vehicle coupler in the machine vision intelligent analysis module tracks the movement of the own vehicle coupler and the reserved vehicle coupler and generates a coupler tracking ID, and determines whether the own vehicle coupler and the reserved vehicle coupler are located in the region of interest in step 2. The coupler located in the region of interest is the reserved vehicle coupler, and the tracking ID of the reserved vehicle coupler is recorded; Step 5. Based on the retained vehicle coupler in step 4, the vehicle-to-vehicle coupler and retained vehicle coupler distance measurement unit in the machine vision intelligent analysis module analyzes and calculates the distance D2 between the vehicle coupler and the retained vehicle coupler.

10. The vehicle driver according to claim 9, characterized in that: The vanishing point coordinates of the track anchor line in step 2 are the intersection points of the track anchor lines detected in the video image. The track anchor line is represented as a sequence of N points, i.e., P = {(x0, y0), (x1, y1), ..., (x N―1 ,y N―1 )}, wherein the y coordinate of the track anchor line point is fixed and uniformly sampled along the vertical axis of the video image, and the slope m and intercept c of the best fitting anchor line are found using the least squares method, and the fitting equation of the anchor line y=mx+c is obtained, and the intersection coordinates (u, v) of the track anchor line are further calculated: Among them, m1 and m2 are the slopes of the two track anchor lines, and c1 and c2 are the intercepts of the two track anchor lines.

11. The vehicle driver according to claim 10, characterized in that: The distance D2 between the self-vehicle coupler and the reserved vehicle coupler in step 5 of the method for measuring the distance between the self-vehicle coupler and the reserved vehicle coupler is, Where l is the straight-line distance between the auxiliary camera and the reserved vehicle coupler, h is the height of the reserved vehicle coupler, w is the width of the reserved vehicle coupler, D0 is the horizontal distance between the auxiliary camera and the vehicle coupler, h0 is the vertical distance between the auxiliary camera and the vehicle coupler, l OB is the straight-line distance from the upper right corner coordinate point of the retained vehicle coupler detection frame in the world coordinate system to the origin of the world coordinate system, l OC It is the straight-line distance from the lower left corner coordinate point of the vehicle coupler detection frame retained in the world coordinate system to the origin of the world coordinate system.

12. An intelligent vehicle leading system based on machine vision and interlocking signals, characterized in that: It comprises the vehicle leader, data service platform and mobile operation terminal as claimed in claim 1, wherein the vehicle leader is connected to the data service platform via wireless communication, and the data service platform is connected to the mobile operation terminal via wireless communication.

13. The intelligent vehicle leading system according to claim 12, characterized in that: The vehicle leader also includes a positioning module. The data service platform includes a data information receiving module, a data information analyzing module and a data information sending module. The data information receiving module is used to receive and save the real-time video stream collected by the video acquisition module in the vehicle leader, the positioning information collected by the positioning module, the distance measurement information and foreign object recognition information of the machine vision intelligent analysis module, and the interlocking signal of the interlocking system; The data information analysis module is used to compare and verify the interlocking signal of the interlocking system with the real-time video stream collected by the video acquisition module in the vehicle leader, the positioning information collected by the positioning module, and the distance measurement information and foreign object recognition information analyzed by the machine vision intelligent analysis module, and correct them to determine the route information and signal status ahead of the vehicle; The data information sending module is used to send the real-time video stream, distance measurement information and foreign object identification information to the mobile operation terminal.

14. The intelligent vehicle leading system according to claim 13, characterized in that: The mobile operation terminal includes a video receiving and display unit, a shunting signal receiving unit, a route signal receiving unit, a shunting plan display unit, a satellite positioning unit and an early warning unit.

15. A method for leading a vehicle based on the intelligent vehicle leading system according to claim 14, characterized in that: The following steps are included: Step 1. During the shunting operation, before the advancing operation, the leading device is installed on the front of the vehicle; Step 2. During the pushing operation, the vehicle leader collects the real-time video stream in front of the vehicle through the video acquisition module, and the machine vision intelligent analysis module performs intelligent analysis on the collected real-time video stream to obtain an analysis result; Step 3. The vehicle leader sends the real-time video stream, the analysis result and the positioning information collected by the positioning module to the data service platform; Step 4. The data information receiving module in the data service platform receives and stores the real-time video stream collected by the video acquisition module in the vehicle leader, the positioning information collected by the positioning module, the ranging information and foreign object recognition information collected by the machine vision intelligent analysis module, and the interlocking signal of the interlocking system; Step 5. The data information analysis module compares and verifies the interlocking signal of the interlocking system with the real-time video stream collected by the video acquisition module in the vehicle leader, the positioning information collected by the positioning module, and the distance measurement information and foreign object recognition information analyzed by the machine vision intelligent analysis module, and determines the route information and signal status ahead of the vehicle; Step 6. The data information sending module sends the real-time video stream, the distance measurement information and the foreign object identification information to the mobile operation terminal. If the vehicle leader identifies a foreign object in front of the vehicle, the data service platform sends a foreign object warning message to the mobile operation terminal. Step 7. The mobile operation terminal receives and displays the real-time video stream through the video receiving and display unit, receives the shunting signal through the shunting signal receiving unit, receives the route information and signal status and the distance measurement information through the route signal receiving unit, receives the shunting plan through the shunting plan display unit, and receives the warning information through the early warning unit; Step 8. The shunting team instructs the driver to drive safely according to the information flow received by the mobile operation terminal in step 7.

16. The method for leading a vehicle according to claim 15, characterized in that: The analysis result in step 2 includes distance measurement information and foreign object identification information, wherein the distance measurement information includes the distance between the own vehicle and the retained vehicle, the distance between the own vehicle coupler and the retained vehicle coupler, and the distance between the own vehicle and the foreign object.

Citation Information

Patent Citations

  • Vehicle ranging method based on monocular vision

    CN104899554A

  • Safety pre-warning method and system device for locomotive shunting operation

    CN104908782A

  • Shunting operation system and method for railways

    CN105857343A

  • Video image-based vehicle head interval measurement method and system

    CN106898023A

  • Intelligent coupling control method for railway flat shunting

    CN113320571A

Cited By

  • Foreign matter detection method and device for glass fiber cloth cover and medium

    CN121558769A

  • A method, equipment, and medium for detecting foreign objects on fiberglass cloth.

    CN121558769B