CN-116052201-B - Automatic arrangement method for railway station signal equipment drawing
Abstract
The invention discloses an automatic arrangement method for a rail yard signal equipment drawing, which comprises the steps of converting a rail yard rail arrangement diagram to be designed into an image format, inputting an obtained rail yard rail image into a Color-block GAN, automatically selecting positions where various rail signal equipment should appear according to rail information in the input image and railway technical specifications to obtain an output image containing rail and equipment position information, reading equipment types and positions from the output image, and automatically completing equipment arrangement on the rail yard rail arrangement diagram to be designed according to the equipment types and the position information obtained by reading. The invention can solve the problem that the prior method needs a large number of repeated manual operations, can automatically complete the arrangement of railway station signal equipment, and reduces the workload of designers in the primary design stage.
Inventors
- LUO CONGYU
- LI HUA
- YAN LIANSHAN
Assignees
- 西南交通大学
Dates
- Publication Date
- 20260505
- Application Date
- 20221102
Claims (2)
- 1. An automatic arrangement method for a railway station signal equipment drawing is characterized by comprising the following steps: Step 1, converting a rail yard track layout to be designed into an image format; Step 2, inputting the obtained rail images of the rail yard into Color-block GAN; The Color-block GAN network generates an countermeasure network for improved conditions, and comprises a generator network and a discriminator network, wherein the generator network consists of a plurality of parts of convolution downsampling, 6 residual blocks and deconvolution upsampling; When the generator network is updated by the fixed discriminator network, the L1 loss and the class loss function are considered at the same time, wherein part of railway technical specification content is integrated into the class loss function; in the training process, a large number of paired rail yard track images and rail yard signal equipment images are used as data sets and input into the network structure to enable the data sets to learn the mapping relation between the rail yard track images and the rail yard signal equipment images until the network can better automatically select the positions of the rail signal equipment, a generator network is updated, wherein x is an n-layer track line image, G (x) is an n-layer generated image, y is an n-layer target image, and a L1 loss function calculation formula is formula (1): (1) The class loss function calculation formula is formula (2): (2) the loss function mainly considers the direction and relative position relation between different equipment types in the railway technical specification, reduces the difference between the generated image and the real image in the aspects in the training process, and enables the generated image to be more in line with the specification, wherein the difference is , ) Representing the coordinates of the color block at the center of the ith layer of the target image y, (-) , ) And the same is done; step 3, automatically selecting the positions where various railway signal devices should appear according to the track information in the input image and the railway technical specifications, and obtaining an output image containing the track and the device position information; step 4, reading the type and the position of the equipment from the output image; and 5, automatically completing equipment arrangement on the layout to be designed according to the equipment category and the position information obtained by reading.
- 2. An automatic arrangement method for rail yard signal equipment drawings according to claim 1, characterized in that only trained generator networks are used in the automatic arrangement.
Description
Automatic arrangement method for railway station signal equipment drawing Technical Field The invention belongs to the field of railway drawing design, and particularly relates to an automatic arrangement method for a railway station signal equipment drawing. Background The design of a railway station signal equipment drawing is one of key problems of railway construction, and the purpose of the design is to arrange signal equipment in a track layout. In engineering practice, railway signal equipment layout design can be divided into a primary design and a construction diagram design, wherein the primary design stage needs to determine engineering design scheme, and the construction diagram design part needs to give detailed construction diagram, including a specification and all drawings. To speed up this design process, computer aided design is introduced into this field. The existing computer-aided arrangement method for the railway drawing mainly simplifies the operation process through software expansion and software secondary development. For example, for the development plug-in of common drawing software such as CAD and the like, the common steps in the railway drawing arrangement process are modularized, so that the operation process of a designer is simpler and faster. Although the method can effectively improve the operation efficiency of the designer, the number of railway drawings to be drawn is large, and many repeated and simple steps still need manual operation of the designer, so that a large number of repeated works are caused. To further increase the design speed, researchers began to study the automatic placement method. Researchers study the construction diagram design stage of railway signal equipment layout diagram design, and various information tables are formed by manually collecting station field professional basic data, so that drawings are accurately calculated and drawn. Because the construction diagram design stage needs detailed drawings, the mode needs to manually fix points, fix reference lines and the like on the drawings, and is complex. The invention mainly researches the primary design stage of the railway signal equipment layout design, and the primary design stage can be divided into three steps of primary draft design, field verification and perfect design. The primary draft design mainly gives a conventional signal equipment layout according to railway technical specifications, and is the basis for subsequent field verification and adjustment. This portion of the work, if done quickly, will help the designer better concentrate on the subsequent field verification and analysis process. Therefore, it is necessary to allow the general draft design stage to be completed quickly. Disclosure of Invention In order to solve the problems, the invention provides an automatic arrangement method for the drawings of railway station signal equipment. The invention discloses an automatic arrangement method for a railway station signal equipment drawing, which comprises the following steps: and step 1, converting a rail layout of the rail yard to be designed into an image format. And 2, inputting the obtained rail images of the railway station yard into Color-block GAN. And 3, automatically selecting the positions where various railway signal devices should appear according to the track information in the input image and the railway technical specifications, and obtaining an output image containing the track and the device position information. And 4, reading the device type and the position from the output image. And 5, automatically completing equipment arrangement on the layout to be designed according to the equipment category and the position information obtained by reading. Further, the Color-block GAN network generates an countermeasure network for improved conditions, and comprises two networks of a generator and a discriminator, wherein the generator network is composed of a plurality of parts of convolution downsampling, 6 residual blocks (residual blocks) and deconvolution upsampling, and the discriminator network is composed of a plurality of convolution downsampling layers. The Color-block GAN further comprises a class decoupling module, which separates the railway signal devices of different classes in a layered manner, so as to learn the distribution characteristics of the railway signal devices according to classes. Further, the Color-block GAN updates one network parameter by fixing the other network parameter by the generator and the discriminator during training, and repeats the cycle, so as to resist training until the generation effect can meet the requirement, and simultaneously considers the discriminator network, L1 loss and class loss function during updating the generator network by fixing the discriminator network, wherein part of railway technical specification content is integrated in the class loss function, and the class loss function mainly relates to