A method for generating debugging and verification files and a graphic management system

The automatic generation of commissioning and inspection documents for rail vehicles by the graphic management system solves the problems of low automation and difficult document conversion in process design, and realizes efficient and accurate document generation and maintenance, thereby reducing maintenance costs.

CN115964769BActive Publication Date: 2026-03-13CRRC QINGDAO SIFANG CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-24
Publication Date
2026-03-13

AI Technical Summary

Technical Problem

In the process design of rail vehicles, the generation of debugging and inspection documents suffers from low automation, insufficient standardization, low efficiency in process document conversion, high risk of errors and omissions, and difficulties in document conversion and high maintenance costs due to language inconsistencies among different technical personnel.

Method used

The system employs a graphic and text management system. By pre-storing control loops and components in a module library, it automatically generates debugging and verification documents using a standardized language. This includes inputting the design drawing list into the system, calling up components from the module library to draw ladder diagrams, parsing logic calculation formulas, and generating text conversion files.

Benefits of technology

It enables error-free and efficient generation of debugging and inspection documents, reduces the preparation time of process documents, solves the problem of document specification differences between different process engineers, and improves the document universality and portability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115964769B_ABST
    Figure CN115964769B_ABST
Patent Text Reader

Abstract

This invention first provides a method for generating debugging and verification documents. The conversion process requires the use of a graphical system. This system has a pre-stored module library. It identifies each control loop and its electrical components, as well as other electrical components used in the connection process of different control loops, from existing electrical schematic diagrams. These components are represented using standardized graphics. Ladder diagrams for each control loop are drawn based on the input design drawing list. The logical calculation formulas and loop validity condition tables for the control loops are obtained through analysis, ultimately generating the debugging and verification documents. This invention further provides the graphical system used to generate these documents. The debugging and verification document generation method and graphical management system provided by this invention automatically generate graphical verification documents using a standardized language within the graphical system, achieving a high conversion rate and eliminating errors.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of rail vehicle process design technology, and in particular to a method for generating debugging and inspection documents and a graphic management system. Background Technology

[0002] The time interval between the archiving of design drawings and technical conditions and the vehicle entering the commissioning process is short, while the commissioning and inspection documents in the process design stage are a transformation of drawings and conditions. The contradiction between the long process preparation time and the short implementation plan time and the long process preparation time restricts the development of process design. The entire process of process document transformation requires manual editing and item-by-item confirmation, with low automation, insufficient standardization, numerous items, and high risk of errors and omissions. Urban rail vehicles are widely deployed, and the operating principles of vehicles vary, resulting in poor transferability of process documents and high maintenance costs.

[0003] Similar problems often exist in on-site process documents, especially inspection documents for electrical systems. During the process design process, process engineers manually convert these documents, but different technical personnel use different languages, resulting in low standardization, low conversion efficiency, many errors and omissions, and long manual conversion time. Summary of the Invention

[0004] The main purpose of this invention is to solve the above-mentioned problems and shortcomings, and to provide a method for generating debugging and inspection documents and a graphic management system. The graphic management system automatically generates graphic inspection documents using a standardized language, with a high conversion rate and no errors or omissions.

[0005] To achieve the above objectives, the present invention provides a method for generating debugging and verification files and a graphic management system.

[0006] The present invention provides a method for generating debugging and verification files, the technical solution of which is as follows:

[0007] A method for generating debugging verification files includes the following steps when generating verification files in a graphic system:

[0008] S1. Input the design drawing list into the graphic system;

[0009] S2, Based on the list content, call the corresponding devices and / or modules from the pre-stored module library in the graphic system to draw the control loop ladder diagram;

[0010] S3, analyzes the control loop in the ladder diagram to obtain the logic calculation formula of the control loop;

[0011] S4, The graphic system performs variable control on the state of all devices constituting the control loop, and the variable values ​​are substituted into the logical calculation formula to obtain the condition table for the loop to be established.

[0012] S5, the graphic system generates text based on the device state change conditions, initial state, and loop establishment condition table, and generates debugging and verification documents.

[0013] Furthermore, all the devices and / or modules pre-stored in the module library, as well as the devices within the modules, are represented graphically.

[0014] Furthermore, the control circuit includes a main control circuit, a braking circuit EB, and a traction circuit.

[0015] Furthermore, each circuit includes vehicle operation preparation conditions and identification information.

[0016] Furthermore, the design drawing list describes the identification information and electrical characteristics of each component.

[0017] Furthermore, the electrical characteristics include circuit breakers, relays, push-button switches, and rotary switches.

[0018] Furthermore, in the control loop ladder diagram, electrical components are represented by their actual location within the vehicle.

[0019] Furthermore, the initial state and state change conditions of each device in the control loop are editable.

[0020] The present invention further provides a graphic management system, which adopts the following technical solution:

[0021] A text and image management system, comprising:

[0022] The module library pre-stores control circuits and devices identified from electrical schematics;

[0023] The drawing module calls the corresponding control loops and / or devices from the module library and draws the ladder diagram of the control loop according to the input design drawing list;

[0024] The parsing module analyzes each control loop in the ladder diagram to obtain the logic calculation formula of the control loop;

[0025] The calculation module controls the state of all electrical components that make up the loop. The variable values ​​are then fed into the calculation formula obtained by the analysis module to obtain the condition table for the loop to be established.

[0026] The generation module generates text based on the table of electrical component state change conditions, initial conditions, and circuit establishment conditions, and then generates debugging and verification documents.

[0027] Furthermore, each electrical component and / or module in the module library, as well as each component within a module, is represented graphically, and the drawing module uses these component graphics to draw the ladder diagram of the control loop.

[0028] In summary, the debugging and verification file generation method and graphic management system provided by this invention have the following technical advantages compared with the prior art:

[0029] The graphical system collects and organizes ladder diagrams of all types of control loops, identifies and organizes each control loop and its individual components into a module library. Based on the component list, it calls up the corresponding control circuits and / or electrical components to represent them graphically. The output files are clear and concise, requiring no manual conversion, resulting in high efficiency and no errors. For debugging documents, it replaces handwritten text editing with graphical and modular drawing, outputting standardized debugging and verification documents with good universality. The system uses the component list of design drawings as input, utilizes the basic module library to call up the graphics of electrical components to draw ladder diagrams, and allows for editable component attributes, resulting in low maintenance costs and good portability. The system uses standardized language to describe the state of each component in the ladder diagram and generates debugging and verification documents. The overall process is simple, fast, easy to use, and accurate, saving time in preparing process documents and addressing the issue of document standardization differences between different process engineers. Attached image description:

[0030] Figure 1 Example diagram of the control loop in the debugging and verification document generation method provided by this invention;

[0031] Figure 2 Example of loop establishment condition representation in a debugging and verification document generation method provided by the present invention.

[0032] Circuit breaker QFEB, first intermediate relay KALA1, driver's cab brake handle PB, driver's cab steering handle FR, second intermediate relay KTDM, third intermediate relay KASR, fourth intermediate relay KALA3, fifth intermediate relay KALA2, sixth intermediate relay KACA, relay KAEBA1. Detailed Implementation

[0033] The present invention will now be described in further detail with reference to the accompanying drawings and specific embodiments.

[0034] This invention first provides a method for generating debugging and inspection documents. Taking the conversion of electrical schematic diagrams and debugging and inspection documents in the production, research and development, and trial production processes of rail vehicles as an example, this invention introduces the method for generating debugging and inspection documents. During the conversion process, a graphical system is required. This system has a pre-stored module library. It identifies each control circuit and its electrical components, as well as other electrical components used in the connection process of different control circuits, from the existing electrical schematic diagrams. These are stored separately in the module library as a control circuit module library and a component module library. Each component, including those used in the control circuit, and the control circuit itself, are displayed graphically. Identical components are represented by the same graphic. For example, switches are divided into normally open switches and normally closed switches, which are considered two different components and stored as different graphics in the component module library for distinction. When generating inspection documents, the appropriate module can be retrieved according to the control logic. Commonly used control circuits in rail vehicles include main control circuits, braking circuits (EB), and traction command circuits, among others. Each circuit includes vehicle operation preparation conditions and identification information. Relevant information is noted in each control circuit in the module library, and this note is referenced simultaneously when the circuit is referenced.

[0035] Furthermore, the component module library includes various types of components needed in the circuit, such as relays, resistors, and optocouplers. Components of the same type are stored using the same graphic. Taking relays as an example, various types of relays are used in different control circuits on rail vehicles, with different rated parameters, manufacturers, and operating environments. The component library stores each relay according to its parameter characteristics and provides annotations. When using a relay, the relevant parameters are retrieved based on the actual usage. Similarly, the control circuit module library pre-stores different technical characteristics and parameters for each control circuit. By connecting different components, the same or similar functions can be achieved, and each circuit is annotated accordingly. When referencing a circuit, the corresponding annotation information is also referenced.

[0036] In this application, the module library is dynamic. Initially, each control loop and device from the existing electrical schematics is pre-stored in a standardized graphical format. It should be noted that control loops achieving the same function require different devices and connections depending on the specific implementation method; that is, there are multiple control loops with the same function, and each loop is unique. Each control loop is annotated with the devices to be used, their initial states, and control logic, facilitating subsequent recall. During use, the appropriate control loop and / or device are invoked according to control requirements. As technology advances, the control methods and functions of rail vehicles also improve; newly generated control loops and newly adopted devices are also stored in the module library, enriching its content.

[0037] The above information is pre-stored in the module library of the image and text system. The following steps are included when generating the verification file in the image and text system:

[0038] S1. Input the design drawing list into the graphic system. The list describes the component identification information and electrical characteristics. The electrical characteristics include circuit breakers, relays, push-button switches, rotary switches, etc. The component identification information is the remarks information of each component and circuit in the module library.

[0039] For various control circuits used in rail vehicles, such as the main control circuit, braking circuit (EB), and traction command circuit, separate drawing lists can be created according to circuit type and entered into the graphic system to obtain the corresponding commissioning and inspection documents for each control circuit. Alternatively, all control circuits of the entire vehicle can be integrated into a single drawing list, categorized in a tree structure. This allows for the direct generation of commissioning and inspection documents for the entire vehicle, and, based on the characteristics of the tree structure, the commissioning and inspection documents for different control circuits can be retrieved from the overall vehicle's commissioning and inspection documents. The format and content of the drawing list can be entered according to commissioning needs and are not subject to any restrictions.

[0040] In the S2 graphical system, each device is represented graphically. Based on the identification information and electrical characteristics in the list, the corresponding device and / or circuit electrical diagrams are retrieved from the pre-stored module library in the graphical system. According to the list content and requirements, ladder diagrams for each control circuit and / or the entire vehicle control circuit are drawn. The initial state, terminal state, and state change conditions of the electrical diagrams formed by each electrical component (device) in the control circuit, based on its actual vehicle location, are editable, facilitating subsequent modifications, debugging, and potential error correction.

[0041] S3, the graphical system analyzes the control circuit in the completed ladder diagram of the control circuit to obtain the logic calculation formula of the control circuit. Taking the braking control circuit of a rail vehicle as an example, the negative terminal of relay KAEBA1 is grounded, and the positive terminal is directly or indirectly connected to the power output terminal through multiple device contacts, such as... Figure 1As shown, circuit breaker QFEB is connected in series with the normally open contact of the first relay KALA1, the driver's cab brake handle PB, the driver's cab steering handle FR, the normally open contact of the second intermediate relay KTDM, the normally open contact of the third intermediate relay KASR, and the normally closed contact of the fourth intermediate relay KALA3. The output terminal of the fourth intermediate relay KALA3 is connected to the positive terminal of the coil of relay KAEBA1. The normally open contact of the first intermediate relay KALA1 is connected in parallel with the normally open contact of the fifth intermediate relay KALA2. A sixth intermediate relay KACA is also connected in parallel between the common output terminal of the normally open contacts of the first intermediate relay KALA1 and the fifth intermediate relay KALA2 and the output terminal of the third intermediate relay KASR. Under normal conditions, circuit breaker QFEB is open, intermediate relays KALA1, KALA2, KASR, KALA3, and KTDM coils are not energized, normally open contacts are open, and normally closed contacts are closed. The opening and closing logic of the normally open contacts of each relay is the same as the energization and de-energization logic of the coils, while the opening and closing logic of the normally closed contacts is the opposite of the energization and de-energization logic of the coils. The driver's cab brake handle PB and the driver's cab steering handle FR are set to the 0 position. A digital value of 1 represents the relay coil being energized and circuit breaker QFEB being closed, and a digital value of 0 represents the relay coil being de-energized and circuit breaker QFEB being open. The logical relationship (calculation formula) for calculating the energization and de-energization of relay KAEBA1 coil based on the energization and de-energization of circuit breaker QFEB and the intermediate relay coils is as follows:

[0042] KAEBA1=QFEB&(KALA1|KALA2)&((PB&FR&KTDM)|KACA)&KASR&(KALA3)':

[0043] S4, based on the above logical calculation formula and the corresponding content in the list, the graphical system performs variable control on the states of all devices constituting the control loop. The variable values ​​are substituted into the logical calculation formula to obtain the state of the components as shown in the figure. Figure 2 The following table shows the conditions for the loop to be valid;

[0044] S5, the graphic system generates text based on the device state change conditions, initial state, and loop establishment condition table, and finally generates debugging and verification documents.

[0045] The present invention further provides a graphic management system, which adopts the following technical solution:

[0046] A text and image management system is stored in a readable storage medium on a computer or tablet. When the computer program is run by the processor, it controls the actions of relevant modules of the text and image management system in the readable storage medium, executing the debugging and verification file generation method described above. The text and image management system includes:

[0047] The module library will pre-store various control loops and electrical devices in the loops identified from existing electrical schematics in a standard format. Each device is stored in a standardized graphical state, and each device involved in each control loop is also in a standardized graphical state. The state of each device in each control loop is the initial state.

[0048] The drawing module calls the corresponding control loops and / or devices from the module library according to the content, mode and functions to be implemented of the imported drawing list, and draws the ladder diagram of the control loop according to the connection relationship of each device listed in the drawing list. In the ladder diagram, each device and loop is in its initial state and is represented by a standardized graphic.

[0049] The parsing module re-parses each control loop in the ladder diagram generated by the drawing module to obtain the logic calculation formula of the control loop;

[0050] by Figure 1 Taking the braking control circuit of the rail vehicle shown as an example, the negative terminal of the first intermediate relay KAEBA1 is grounded, and the positive terminal is directly or indirectly connected to the power output terminal through multiple device contacts, such as... Figure 1 As shown, circuit breaker QFEB is connected in series with the normally open contact of the first intermediate relay KALA1, the driver's cab brake handle PB, the driver's cab steering handle FR, the normally open contact of the second intermediate relay KTDM, the normally open contact of the third intermediate relay KASR, and the output terminal of the fourth intermediate relay KALA3. The output terminal of the fourth intermediate relay KALA3 is connected to the positive terminal of the coil of relay KAEBA1. The normally open contact of the first intermediate relay KALA1 is connected in parallel with the normally open contact of the fifth intermediate relay KALA2. A sixth intermediate relay KACA is also connected in parallel between the common output terminal of the normally open contacts of relays KALA1 / KALA2R and the input terminal of the normally open contact of the third intermediate relay KASR. Under normal conditions, circuit breaker QFEB is open, the coils of intermediate relays KALA1, KALA2, KASR, KALA3, and KTDM are not energized, the normally open contacts are open, and the normally closed contacts are closed. The opening and closing logic of the normally open contacts of the relays is the same as the energization and de-energization logic of the coils, and the opening and closing logic of the normally closed contacts of the relays is the opposite of the energization and de-energization logic of the coils. The driver's cab brake handle PB and the driver's cab steering handle FR are set to the 0 position. A digital value of 1 represents the relay coil being energized, the circuit breaker being closed, and the direction and brake handle being in the working position; a digital value of 0 represents the relay coil being de-energized, the circuit breaker being open, and the direction and brake handle being in the non-working position. The logic relationship (calculation formula) for energizing and de-energizing the relay KAEBA1 coil is derived from the energization and de-energization of the circuit breaker QFEB and each intermediate relay:

[0051] KAEBA1=QFEB&(KALA1|KALA2)&((PB&FR&KTDM)|KACA)&KASR&(KALA3)':

[0052] The calculation module performs variable control on the state of all electrical components constituting the circuit. For example, it substitutes the normally open variable value into the calculation formula obtained by the analysis module to obtain... Figure 2 The table showing the conditions for a circuit to be valid is shown.

[0053] The generation module generates text based on the table of electrical component state change conditions, initial conditions, and circuit establishment conditions, and then generates debugging and verification documents.

[0054] In summary, the debugging and verification file generation method and graphic management system provided by this invention have the following technical advantages compared with the prior art:

[0055] The graphical system collects and organizes ladder diagrams of all types of control loops, identifies and organizes each control loop and its individual components into a module library. Based on the component list, it calls up the corresponding control circuits and / or electrical components to represent them graphically. The output files are clear and concise, requiring no manual conversion, resulting in high efficiency and no errors. For debugging documents, it replaces handwritten text editing with graphical and modular drawing, outputting standardized debugging and verification documents with good universality. The system uses the component list of design drawings as input, utilizes the basic module library to call up the graphics of electrical components to draw ladder diagrams, and allows for editable component attributes, resulting in low maintenance costs and good portability. The system uses standardized language to describe the state of each component in the ladder diagram and generates debugging and verification documents. The overall process is simple, fast, easy to use, and accurate, saving time in preparing process documents and addressing the issue of document standardization differences between different process engineers.

[0056] As described above, similar technical solutions can be derived from the given solutions. Any simple modifications, equivalent changes, and alterations made to the above embodiments based on the technical essence of this invention, without departing from the scope of the present invention, shall still fall within the scope of the present invention.

Claims

1. A method of debugging a verification file generation, characterized by: The method comprises the following steps: S1, inputting a design drawing list into the graphic system; S2, calling corresponding devices and / or modules in a pre-stored module library in the graphic system according to the list content, and drawing a control loop ladder diagram; S3, performing analysis processing on the control loop in the ladder diagram, and obtaining a control loop logic calculation formula; S4, performing variable control on the states of all devices constituting the control loop by the graphic system, inputting variable values into the logic calculation formula, and obtaining a loop establishment condition table; S5, generating a debugging test file by the graphic system according to the device state change condition, initial state and loop establishment condition table.

2. The method of claim 1, wherein: Each device and / or module in the module library and each device in the module are represented by a graph.

3. The method of claim 1, wherein: The control loop comprises a main control loop, a brake loop EB and a traction loop.

4. The method of claim 3, wherein: Each loop comprises a vehicle operation preparation condition and identification information.

5. The method of claim 1, wherein: the debug check file is generated by the debug check file generator; and the debug check file is generated in response to a request from the debug check file generator. 5 The identification information and electrical characteristic information of each device are described in the design drawing list.

6. The method of claim 5, wherein: The electrical characteristics comprise circuit breakers, relays, push button switches and rotary knob switches.

7. The method of claim 1, wherein: In the control loop ladder diagram, the electrical devices are located in actual vehicle sections.

8. The method of claim 1, wherein: The initial state and state change condition of each device in the control loop are editable.

9. A document management system characterized by: The method comprises the following steps: A module library pre-stores control loops and devices identified from an electrical schematic diagram; A drawing module calls corresponding control loops and / or devices from the module library, and draws a control loop ladder diagram according to the input design drawing list; An analysis module performs analysis processing on each control loop in the ladder diagram, and obtains a control loop logic calculation formula; A calculation module performs variable control on the states of all electrical devices constituting the loop, inputs variable values into the calculation formula obtained by the analysis module, and obtains a loop establishment condition table; A generation module generates a debugging test file by performing text conversion according to the electrical device state change condition, initial condition and loop establishment condition table.

10. A graphic arts management system as claimed in claim 9, characterised in that: Each electrical device and / or module in the module library and each device in the module are represented by a graph, and the drawing module draws the control loop ladder diagram by using device graphs.

Citation Information

Patent Citations

  • Dynamic analysis method for ladder diagram

    CN107168298A

  • Ladder language creating software for programmable controller

    JP2004062840A