A risk assessment method, device, medium and equipment for vehicle electrical system
By analyzing and drawing the vehicle electrical system diagram and conducting electrical risk assessment based on the analysis matrix, the problem of cumbersome vehicle electrical system assessment in the existing technology is solved, efficient and accurate risk assessment is achieved, and the vehicle development cycle and assessment efficiency are improved. .
Patent Information
- Application Number
- CN202410867977.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-01
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2044-07-01
AI Technical Summary
It is difficult to efficiently complete the risk assessment of the vehicle electrical system with existing technology, making the assessment cumbersome and time-consuming, making it difficult to meet the needs of the vehicle model development cycle.
By acquiring and parsing multiple electrical diagram files, the vehicle electrical system diagram is drawn, and electrical risk assessment is conducted based on the analysis matrix. Software algorithms are used to achieve visualization and data analysis of the electrical system, reducing human participation and experience requirements.
It achieves fast and accurate vehicle electrical system risk assessment, improves the vehicle development cycle and assessment efficiency, and reduces the professional requirements for assessors.
Smart Images

Figure CN118396396B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of vehicle electrical system assessment, and in particular to a method, device, medium and equipment for risk assessment of a vehicle electrical system. Background Art
[0002] With the rapid development of automobile technology, the degree of automobile electrification, intelligence and networking is getting higher and higher. Many intelligent driving solutions rely on the wire-controlled chassis technology. To meet the needs of intelligent driving, various electrical equipment, sensors and communication equipment are arranged on the vehicle chassis.
[0003] As key technologies in automobile R&D, the electrical performance and EMC performance of automobiles directly affect the driving safety of automobiles. Therefore, corresponding risk assessment work should be carried out in the vehicle development and design stage to identify potential risk points as early as possible, and then take optimization measures for risk points to improve the safety performance of the whole vehicle. Usually, the electrical system of the whole vehicle is evaluated before assembly. If the evaluation is unqualified, the whole vehicle needs to be disassembled to rectify the layout of electrical equipment, sensors or communication equipment.
[0004] However, the risk assessment of the vehicle electrical system first requires the analysis of the characteristics of the power supply, grounding point, wiring harness, etc. This part of the work is tedious and time-consuming, not only requiring a lot of manpower, but also heavily relying on engineering experience, and it is difficult to meet the vehicle development cycle. Therefore, it is urgent to provide an efficient method for completing the characteristics analysis and risk assessment of the vehicle electrical system. Summary of the invention
[0005] In order to solve the above technical problems, the present application is proposed. The embodiments of the present application provide a risk assessment method, device, medium and equipment for a vehicle electrical system.
[0006] According to one aspect of the present application, a method for risk assessment of a whole vehicle electrical system is provided, comprising: obtaining an electrical diagram file of a vehicle to be assessed; wherein the electrical diagram file comprises multiple files; parsing the multiple electrical diagram files to obtain electrical information of the vehicle to be assessed; wherein the electrical information comprises points, lines, surfaces, texts and graphic element information comprising position coordinates; drawing a whole vehicle electrical system diagram of the vehicle to be assessed based on the electrical information; wherein the whole vehicle electrical system diagram comprises all electrical components and wiring harnesses of the vehicle to be assessed; performing data analysis on the whole vehicle electrical system diagram to obtain an analysis matrix of the whole vehicle electrical system diagram; wherein the analysis matrix comprises relevant parameters of electrical components and wiring harnesses in the whole vehicle electrical system diagram; and performing electrical risk assessment on the vehicle to be assessed based on the analysis matrix.
[0007] In one embodiment, the electrical diagram file includes a dwg file or a dxf file; wherein, parsing the plurality of electrical diagram files to obtain the electrical information of the vehicle to be evaluated includes: parsing the plurality of electrical diagram files in a binary file reading manner to obtain the electrical information of the vehicle to be evaluated.
[0008] In one embodiment, drawing the whole vehicle electrical system diagram of the vehicle to be evaluated based on the electrical information includes: splicing the same wiring harnesses according to the names and position coordinates of all electrical components and wiring harnesses contained in multiple electrical diagram files to draw the whole vehicle electrical system diagram.
[0009] In one embodiment, after drawing the whole vehicle electrical system diagram of the vehicle to be evaluated according to the electrical information, the risk assessment method of the whole vehicle electrical system further includes: writing an external device control function; wherein the external device control function represents an instruction function for controlling the whole vehicle electrical system diagram by operating an external device.
[0010] In one embodiment, the data analysis of the whole vehicle electrical system diagram to obtain the analysis matrix of the whole vehicle electrical system diagram includes: marking electrical components of the whole vehicle electrical system diagram according to the types of electrical components; marking wiring harnesses of the whole vehicle electrical system diagram according to the direction of wiring harnesses; and generating the analysis matrix based on electrical information of marked electrical components and marked wiring harnesses.
[0011] In one embodiment, marking electrical components of the vehicle electrical system diagram according to the types of electrical components includes: using a path-finding algorithm and based on the starting electrical components in the vehicle electrical system diagram, searching all electrical components to mark the types and names of the electrical components in the vehicle electrical system diagram.
[0012] In one embodiment, marking the wiring harnesses of the whole vehicle electrical system diagram according to the directions of the wiring harnesses includes: using a path finding algorithm and marking the same wiring harnesses in the whole vehicle electrical system diagram as having the same attributes according to the directions of the wiring harnesses.
[0013] According to another aspect of the present application, a risk assessment device for a whole vehicle electrical system is provided, comprising: an electrical file acquisition module, for acquiring an electrical diagram file of a vehicle to be evaluated; wherein the electrical diagram file comprises a plurality; an electrical file parsing module, for parsing a plurality of the electrical diagram files to obtain electrical information of the vehicle to be evaluated; wherein the electrical information comprises points, lines, surfaces, texts and graphic element information comprising position coordinates; an electrical diagram drawing module, for drawing a whole vehicle electrical system diagram of the vehicle to be evaluated according to the electrical information; wherein the whole vehicle electrical system diagram comprises all electrical components and wiring harnesses of the vehicle to be evaluated; an analysis matrix acquisition module, for performing data analysis on the whole vehicle electrical system diagram to obtain an analysis matrix of the whole vehicle electrical system diagram; wherein the analysis matrix comprises relevant parameters of electrical components and wiring harnesses in the whole vehicle electrical system diagram; and an electrical risk assessment module, for performing electrical risk assessment on the vehicle to be evaluated based on the analysis matrix.
[0014] According to another aspect of the present application, a computer-readable storage medium is provided, wherein the storage medium stores a computer program, and the computer program is used to execute any of the above-mentioned risk assessment methods for the entire vehicle electrical system.
[0015] According to another aspect of the present application, an electronic device is provided, comprising: a processor; a memory for storing instructions executable by the processor; the processor is used to execute any of the above-mentioned risk assessment methods for the entire vehicle electrical system.
[0016] The present application provides a method, device, medium and equipment for risk assessment of the electrical system of a whole vehicle, which obtains an electrical diagram file of a vehicle to be assessed; wherein the electrical diagram file includes multiple files; parses multiple electrical diagram files to obtain electrical information of the vehicle to be assessed; wherein the electrical information includes points, lines, surfaces, texts and graphic element information including position coordinates; draws a whole vehicle electrical system diagram of the vehicle to be assessed based on the electrical information; wherein the whole vehicle electrical system diagram includes all electrical components and wiring harnesses of the vehicle to be assessed; performs data analysis on the whole vehicle electrical system diagram to obtain an analysis matrix of the whole vehicle electrical system diagram; wherein the analysis matrix includes relevant parameters of electrical components and wiring harnesses in the whole vehicle electrical system diagram; based on the analysis matrix, performs electrical risk assessment on the vehicle to be assessed That is, after obtaining multiple separate electrical diagram files of the vehicle to be evaluated, electrical information is obtained by parsing the electrical diagram files, and the whole vehicle electrical system diagram of the vehicle to be evaluated is redrawn based on the electrical information, and then data analysis is performed on the whole vehicle electrical system diagram to obtain an analysis matrix, and electrical risk assessment is performed on the electrical system of the vehicle to be evaluated based on the analysis matrix. Software algorithms are used to parse and integrate multiple electrical diagram files of the same vehicle to be evaluated to obtain the whole vehicle electrical system diagram, thereby realizing visualization of the complete electrical system, and data analysis is performed on the whole vehicle electrical system diagram to obtain an analysis matrix, thereby greatly reducing human participation, while reducing the experience requirements for relevant personnel in the evaluation work, and helping to speed up the vehicle development cycle and improve efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] By describing the embodiments of the present application in more detail in conjunction with the accompanying drawings, the above and other purposes, features and advantages of the present application will become more apparent. The accompanying drawings are used to provide a further understanding of the embodiments of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the present application and do not constitute a limitation of the present application. In the accompanying drawings, the same reference numerals generally represent the same components or steps.
[0018] Figure 1 It is a flowchart of a risk assessment method for a vehicle electrical system provided by an exemplary embodiment of the present application.
[0019] Figure 2 It is a schematic structural diagram of a risk assessment device for a vehicle electrical system provided by an exemplary embodiment of the present application.
[0020] Figure 3 It is a structural diagram of an electronic device provided by an exemplary embodiment of the present application. DETAILED DESCRIPTION
[0021] Below, the exemplary embodiments according to the present application will be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments of the present application, and it should be understood that the present application is not limited to the exemplary embodiments described here.
[0022] Figure 1 FIG. 1 is a flow chart of a risk assessment method for a vehicle electrical system provided by an exemplary embodiment of the present application. Figure 1 As shown, the risk assessment method of the vehicle electrical system includes the following steps:
[0023] Step 110: Obtain the electrical diagram file of the vehicle to be evaluated.
[0024] Among them, the electrical diagram files include multiple. During the design process of the automobile, the whole vehicle is usually divided into multiple modules or multiple parts for local design, including electrical design. For example, the electrical system of the whole vehicle can be divided into power supply system, starting system, ignition system, lighting system, signal system, instrument system, auxiliary electrical system and electronic control system. Among them, the power supply system includes batteries, generators and regulators, the starting system includes motors, transmission mechanisms and control devices, the ignition system includes ignition switches, ignition coils, distributor assemblies, spark plugs, etc., the lighting system includes various lights inside and outside the car and their control devices, the signal system includes horns, buzzers, flashers and various traffic signal identification lights, the instrument system includes various electrical instruments, such as ammeters, charging indicators or voltmeters, oil pressure gauges, thermometers, fuel gauges, speed and odometers, engine tachometers, etc., the auxiliary electrical system includes electric wipers, air conditioners, low temperature start preheating devices, tape recorders, cigarette lighters, window lifts, etc., and the electronic control system includes electronic fuel injection devices, electronic ignition devices, anti-lock braking devices, automatic transmissions, etc. Each system may involve multiple hardware structures or be distributed in multiple hardware structures. During the design and production process of the components, the corresponding electrical equipment or structures are also designed synchronously, resulting in a single system being split into multiple subsystems, that is, forming multiple electrical diagrams (corresponding electrical diagram files). Multiple separate electrical diagram files undoubtedly increase the difficulty of electrical risk assessment. Therefore, this application uses software to obtain all electrical diagram files of the vehicle to be evaluated, so as to integrate all electrical diagram files and obtain complete information of each system.
[0025] Step 120: Parse multiple electrical diagram files to obtain electrical information of the vehicle to be evaluated.
[0026] Among them, electrical information includes points, lines, surfaces, texts, and graphic element information including position coordinates, etc. This application automatically parses multiple electrical diagram files through software to obtain all electrical information of the vehicle to be evaluated, that is, to obtain the names, position coordinates, and other information of all electrical components and wiring harnesses of the entire vehicle. By parsing the electrical diagram file, all information of all graphic elements (graphic elements) in the electrical diagram file is obtained to convert the graphic data in the electrical diagram file into recognizable and callable attribute data.
[0027] Step 130: Draw a vehicle electrical system diagram of the vehicle to be evaluated based on the electrical information.
[0028] Among them, the whole vehicle electrical system diagram contains all electrical components and wiring harnesses of the vehicle to be evaluated. After parsing multiple electrical diagram files of the vehicle to be evaluated to obtain the names, location coordinates and other information of the electrical components and wiring harnesses of the whole vehicle, the present application redraws the whole vehicle electrical system diagram of the vehicle to be evaluated based on the names, location coordinates and other information of all electrical components and wiring harnesses to obtain the electrical diagram of the whole vehicle electrical system. The whole vehicle electrical system diagram can not only splice the electrical systems of various parts together to obtain a complete system diagram, but also allow relevant staff to consult the whole vehicle electrical system, so as to fully understand and evaluate the risk and component rationality of the whole vehicle electrical system.
[0029] Step 140: Perform data analysis on the vehicle electrical system diagram to obtain an analysis matrix of the vehicle electrical system diagram.
[0030] The analysis matrix includes the relevant parameters of the electrical components and wiring harnesses in the vehicle electrical system diagram. After redrawing the vehicle electrical system diagram, the present application uses software to perform data analysis on the vehicle electrical system diagram to obtain the analysis matrix of the vehicle electrical system diagram, that is, to obtain the relevant parameters of the electrical components and wiring harnesses in the vehicle electrical system diagram, including names, location coordinates, connection relationships, specification parameters, etc., so as to convert the image data in the vehicle electrical system diagram into attribute data that can be read and called.
[0031] Step 150: Based on the analysis matrix, perform electrical risk assessment on the vehicle to be assessed.
[0032] After obtaining the analysis matrix, the present application can use software to perform automatic risk assessment, such as setting a reasonable parameter range for each electrical component and each wiring harness, and judging whether the parameters of the corresponding electrical component or wiring harness are within the set parameter range to determine whether the design of the electrical component or wiring harness is reasonable and compliant, including common impedance characteristics, wiring harness type selection, wiring harness layout and length, wiring harness spacing, electrical loop area, layout position, etc., and combined with the electrical characteristics design of related components and the time-frequency domain test data of components, the risk assessment algorithm is used to finally give the judgment result. Of course, after obtaining the analysis matrix, the present application can also be manually evaluated by relevant evaluators. Since the evaluators can intuitively consult the electrical system diagram of the whole vehicle, it can not only improve the convenience of consulting, but also reduce the professional requirements for the evaluators, thereby improving the efficiency and accuracy of the evaluation. It should be understood that the present application can also combine automatic evaluation and manual evaluation, such as automatic evaluation by software and giving evaluation results, and then professional evaluators verify the evaluation results to further reduce the workload of the evaluators and improve the accuracy of the electrical risk assessment of the whole vehicle.
[0033] The present application provides a method for risk assessment of the electrical system of a whole vehicle, which comprises obtaining an electrical diagram file of a vehicle to be assessed; wherein the electrical diagram file comprises multiple; parsing multiple electrical diagram files to obtain electrical information of the vehicle to be assessed; wherein the electrical information comprises point, line, surface, text and graphic element information comprising position coordinates; drawing a whole vehicle electrical system diagram of the vehicle to be assessed based on the electrical information; wherein the whole vehicle electrical system diagram comprises all electrical components and wiring harnesses of the vehicle to be assessed; performing data analysis on the whole vehicle electrical system diagram to obtain an analysis matrix of the whole vehicle electrical system diagram; wherein the analysis matrix comprises relevant parameters of electrical components and wiring harnesses in the whole vehicle electrical system diagram; based on the analysis matrix, performing electrical risk assessment on the vehicle to be assessed; i.e., after obtaining After obtaining multiple separate electrical diagram files of the vehicle to be evaluated, the electrical information is obtained by parsing the electrical diagram files, and the whole vehicle electrical system diagram of the vehicle to be evaluated is redrawn based on the electrical information. Then, data analysis is performed on the whole vehicle electrical system diagram to obtain an analysis matrix. Based on the analysis matrix, an electrical risk assessment is performed on the electrical system of the vehicle to be evaluated. Software algorithms are used to parse and integrate multiple electrical diagram files of the same vehicle to be evaluated to obtain a complete electrical system diagram, thereby realizing visualization of the complete electrical system. Data analysis is performed on the whole vehicle electrical system diagram to obtain an analysis matrix, thereby greatly reducing human participation and reducing the experience requirements for relevant personnel in the evaluation work. It also helps to speed up the vehicle development cycle and improve efficiency.
[0034] In one embodiment, the electrical diagram file includes a dwg file or a dxf file; wherein, the specific implementation of the above step 120 may be: using a binary file reading method to parse multiple electrical diagram files to obtain electrical information of the vehicle to be evaluated.
[0035] Usually, electrical diagram files (files in dwg or dxf format generated by CAD software) are provided by vehicle manufacturers. After obtaining the electrical diagram files, this application uses a binary file (files in dwg or dxf format are binary files) to read the electrical information in multiple electrical diagram files to implement the parsing of electrical diagram files. Specifically, taking dwg files as an example, each dwg file is stored as a class instance, and the information contained in the dwg file is set as the attribute data structure of the class instance according to the type. For example, the points, lines, surfaces, texts in the dwg file, and the related information of complex graphics that can be split into the aforementioned basic graphics elements are all included in the attribute data model space of the class instance. The class instance can be called using the corresponding function later, so that the entity data information in the corresponding dwg file can be accessed. For files in dxf format, the dxf format file can be converted into a dwg format file and then the above processing method can be used to obtain the electrical information of the vehicle to be evaluated.
[0036] In one embodiment, the specific implementation method of the above step 130 may be: according to the names and position coordinates of all electrical components and wiring harnesses contained in multiple electrical diagram files, the same wiring harnesses are spliced to draw the electrical system diagram of the entire vehicle.
[0037] After parsing multiple electrical diagram files, the present application splices the same harnesses and overlaps the same electrical components based on the names and position coordinates of all electrical components and harnesses contained in the multiple electrical diagram files to obtain the electrical system diagram of the whole vehicle, that is, the electrical components and harnesses that are connected or repeated in multiple electrical diagrams are determined based on the same electrical components and harnesses (the position coordinates of the same electrical components and harnesses in different electrical diagram files are different, but the relative position coordinates of each electrical component and harness in the same electrical diagram file remain unchanged), thereby splicing multiple electrical diagrams to obtain the electrical system diagram of the whole vehicle. Specifically, the present application can pre-set the layout of the graphical interface and the display range of the data, and call the drawing engine of the operating system according to the attribute data structure of the graphic element information to draw the electrical system diagram of the whole vehicle in the display area of the graphical interface.
[0038] In one embodiment, after step 130, the above-mentioned risk assessment method of the whole vehicle electrical system may further include: writing an external device control function; wherein the external device control function represents an instruction function for controlling the whole vehicle electrical system diagram by operating an external device.
[0039] After drawing the whole vehicle electrical system diagram, the present application rewrites the external device control function to realize the control of the whole vehicle electrical system diagram by the external device, that is, to establish the interaction between the external device and the whole vehicle electrical system diagram. For example, the external device may include a mouse. Specifically, the mouse wheel function controls the zoom of the whole vehicle electrical system diagram, the mouse drop function lights up the graphic element at the drop coordinate, the mouse press and move function completes the screenshot and creates a copy of the form, passes the coordinates of the mouse drop and lift into the bitmap, and calls the relevant function to save the screen area locally in image format.
[0040] In one embodiment, the specific implementation method of the above step 140 can be: marking the electrical components of the whole vehicle electrical system diagram according to the type of electrical components; marking the wiring harnesses of the whole vehicle electrical system diagram according to the direction of the wiring harnesses; generating an analysis matrix based on the electrical information of the marked electrical components and the marked wiring harnesses.
[0041] After obtaining the vehicle electrical system diagram, the present application marks the electrical components and wiring harnesses in the vehicle electrical system diagram based on the type of electrical components and the direction of the wiring harness, so as to generate an analysis matrix of the electrical components and wiring harnesses, that is, to convert the graphic information of the vehicle electrical system diagram into the matrix structure data (tabular data) of each electrical component and wiring harness. For example, according to the type of electrical components, they can be divided into power supplies, fuses, etc., and according to the direction of the wiring harness, the starting point and end point of each wiring harness, as well as the corresponding connectors, etc. can be obtained. The present application filters the data obtained after marking to obtain the basic information of the output matrix, and then calculates the electrical characteristics according to the rules and saves them in the form of object attribute data to obtain the electrical characteristics. Specifically, a workbook object is first created, and then the area required for assignment in each sheet is selected by row and column coordinates to import data, and the workbook with imported data is stored in an excel file as a stream, and finally the power distribution matrix table, the grounding point distribution matrix table, the wiring harness characteristic analysis matrix table, etc. can be output, and multiple dwg files can be spliced into one file so that they can be displayed at the same time.
[0042] In one embodiment, the specific implementation method of electrical component marking can be: using a path finding algorithm and based on the starting electrical component in the vehicle electrical system diagram, searching all electrical components to mark the types and names of the electrical components in the vehicle electrical system diagram.
[0043] This application divides the electrical components in the vehicle electrical system diagram into power supply / grounding point, fuse, load, etc., uses the path-finding algorithm and the power supply shape to find the location of the power supply and use it as the starting point (starting electrical component), and then finds the path along the straight line connected to the positive pole of the power supply. The type of the endpoint is determined according to the coordinate information of the other end point of the straight line (the end away from the power supply). If it is a node, the coordinates of the node are recorded, and the other straight lines connected to the node are searched and judged in turn. If the endpoint is a fuse, the name and model information are recorded and marked as a primary fuse. Then, each first-level fuse away from the power supply endpoint is used as the starting point to continue the path-finding until the other end point of the straight line. If the endpoint is a node, the coordinates of the node are recorded, and the other straight lines connected to the node are searched and judged in turn. If the endpoint is a load, the pin number is recorded, and the name of the load is found and recorded in the model space. If it is another fuse, it is marked as a secondary fuse and the information is recorded. Then, the path-finding starts from the secondary fuse until the loads of all branches are found. The present application uses a path-finding algorithm to find all electrical components in the vehicle electrical system diagram starting from the power supply, mark and record them, so as to obtain the parameter information required for the analysis matrix of the electrical components.
[0044] In one embodiment, the specific implementation method of the wiring harness marking may be: using a path finding algorithm and marking the same wiring harnesses in the vehicle electrical system diagram with the same attributes according to the direction of the wiring harnesses.
[0045] This application reads the electrical system diagram of the whole vehicle and groups them according to the similarities and differences of the terminals (connectors), that is, the same group is the wiring harness on the same connector. Traverse the model space according to the name of the wiring harness to find the coordinates of the starting point and the end point. Specifically, use the nearest neighbor algorithm to search for the nearest object, so as to judge the connection between the starting point and the end point by the distance of the coordinate value, find the straight line with the end point as the starting point of the wiring harness, and use the above-mentioned path finding method to judge the connection type of the other end point of the straight line. If it is a node, record the coordinates of the node, and judge the other straight lines connected to the node in turn. If the end point is a connector, compare the coordinates of the end point with the end point (that is, the end point determined by traversing all the wiring harnesses in the electrical system diagram). If it is not the correct end point, return to the previous node. If it is an intermediate, mark and save this wiring harness, and after marking, the user specifies the direction until all possible paths are judged and the correct direction of the wiring harness is obtained (that is, reaching the end point). The present application determines the starting point and the end point by traversing the wiring harness of the entire vehicle electrical system diagram, and uses a path-finding algorithm to start from the starting point and follow the direction of the wiring harness to the end point, and marks and records the endpoints in the path-finding process to obtain the parameter information required for the analysis matrix of the wiring harness. Preferably, the present application can mark the straight line (wiring harness) in the direction, for example, by controlling the color of the straight line, highlighting the straight line with the same color (same attribute) as the straight line when the straight line is selected, and by marking the color attribute of the straight line, it is convenient to display the complete path from the starting point to the end point in the image when the wiring harness is selected, and at the same time find the respective line lengths in the model space, and add them up to get the total length of the wiring harness to achieve the calculation of the line length.
[0046] Figure 2 FIG. 1 is a schematic diagram of a risk assessment device for a vehicle electrical system provided by an exemplary embodiment of the present application. Figure 2 As shown, the risk assessment device 20 for the whole vehicle electrical system includes: an electrical file acquisition module 21, used to acquire the electrical diagram file of the vehicle to be evaluated; wherein the electrical diagram file includes multiple; an electrical file parsing module 22, used to parse multiple electrical diagram files to obtain electrical information of the vehicle to be evaluated; wherein the electrical information includes points, lines, surfaces, texts and graphic element information including position coordinates; an electrical diagram drawing module 23, used to draw the whole vehicle electrical system diagram of the vehicle to be evaluated according to the electrical information; wherein the whole vehicle electrical system diagram includes all electrical components and wiring harnesses of the vehicle to be evaluated; an analysis matrix acquisition module 24, used to perform data analysis on the whole vehicle electrical system diagram to obtain an analysis matrix of the whole vehicle electrical system diagram; wherein the analysis matrix includes relevant parameters of electrical components and wiring harnesses in the whole vehicle electrical system diagram; an electrical risk assessment module 25, used to perform electrical risk assessment on the vehicle to be evaluated based on the analysis matrix.
[0047] The present application provides a risk assessment device for a whole vehicle electrical system, which obtains an electrical diagram file of a vehicle to be assessed through an electrical file acquisition module 21; wherein the electrical diagram file includes multiple; an electrical file parsing module 22 parses multiple electrical diagram files to obtain electrical information of the vehicle to be assessed; wherein the electrical information includes points, lines, surfaces, texts and graphic element information including position coordinates; an electrical diagram drawing module 23 draws a whole vehicle electrical system diagram of the vehicle to be assessed based on the electrical information; wherein the whole vehicle electrical system diagram includes all electrical components and wiring harnesses of the vehicle to be assessed; an analysis matrix acquisition module 24 performs data analysis on the whole vehicle electrical system diagram to obtain an analysis matrix of the whole vehicle electrical system diagram; wherein the analysis matrix includes relevant parameters of electrical components and wiring harnesses in the whole vehicle electrical system diagram; an electrical risk assessment module 25 is based on Analysis matrix, electrical risk assessment of the vehicle to be evaluated; that is, after obtaining multiple separate electrical diagram files of the vehicle to be evaluated, electrical information is obtained by parsing the electrical diagram files, and the whole vehicle electrical system diagram of the vehicle to be evaluated is redrawn based on the electrical information, and then data analysis is performed on the whole vehicle electrical system diagram to obtain an analysis matrix, and electrical risk assessment is performed on the electrical system of the vehicle to be evaluated based on the analysis matrix, and software algorithms are used to parse and integrate multiple electrical diagram files of the same vehicle to be evaluated to obtain a complete vehicle electrical system diagram, thereby realizing visualization of the complete electrical system, and data analysis is performed on the electrical system diagram to obtain an analysis matrix, thereby greatly reducing human participation, while reducing the experience requirements for relevant personnel in the evaluation work, and helping to speed up the vehicle development cycle and improve efficiency.
[0048] In one embodiment, the electrical diagram file includes a dwg file or a dxf file; wherein the electrical file parsing module 22 may be further configured to parse a plurality of electrical diagram files in a binary file reading manner to obtain electrical information of the vehicle to be evaluated.
[0049] In one embodiment, the electrical diagram drawing module 23 may be further configured to: splice the same wiring harnesses according to the names and position coordinates of all electrical components and wiring harnesses contained in multiple electrical diagram files to draw a complete vehicle electrical system diagram.
[0050] In one embodiment, the above-mentioned risk assessment device 20 for the whole vehicle electrical system can be further configured to: write an external device control function; wherein the external device control function represents an instruction function for controlling the whole vehicle electrical system diagram by operating an external device.
[0051] In one embodiment, the above-mentioned analysis matrix acquisition module 24 can be further configured to: mark the electrical components of the whole vehicle electrical system diagram according to the type of electrical components; mark the wiring harnesses of the whole vehicle electrical system diagram according to the direction of the wiring harnesses; and generate an analysis matrix based on the electrical information of the marked electrical components and the marked wiring harnesses.
[0052] In one embodiment, the specific implementation method of electrical component marking can be: using a path finding algorithm and based on the starting electrical component in the vehicle electrical system diagram, searching all electrical components to mark the types and names of the electrical components in the vehicle electrical system diagram.
[0053] In one embodiment, the specific implementation method of the wiring harness marking may be: using a path finding algorithm and marking the same wiring harnesses in the vehicle electrical system diagram with the same attributes according to the direction of the wiring harnesses.
[0054] Below, reference Figure 3 The electronic device according to the embodiment of the present application is described. The electronic device may be any one or both of the first device and the second device, or a stand-alone device independent of them, and the stand-alone device may communicate with the first device and the second device to receive the collected input signal from them.
[0055] Figure 3 A block diagram of an electronic device according to an embodiment of the present application is illustrated.
[0056] like Figure 3 As shown, the electronic device 10 includes one or more processors 11 and a memory 12 .
[0057] The processor 11 may be a central processing unit (CPU) or other forms of processing units having data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device 10 to perform desired functions.
[0058] The memory 12 may include one or more computer program products, which may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may include, for example, a random access memory (RAM) and / or a cache memory (cache), etc. The non-volatile memory may include, for example, a read-only memory (ROM), a hard disk, a flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium, and the processor 11 may run the program instructions to implement the methods of the various embodiments of the present application described above and / or other desired functions. Various contents such as input signals, signal components, noise components, etc. may also be stored in the computer-readable storage medium.
[0059] In one example, the electronic device 10 may further include: an input device 13 and an output device 14 , and these components are interconnected via a bus system and / or other forms of connection mechanisms (not shown).
[0060] When the electronic device is a stand-alone device, the input device 13 may be a communication network connector, which is used to receive the collected input signals from the first device and the second device.
[0061] In addition, the input device 13 may also include, for example, a keyboard, a mouse, and the like.
[0062] The output device 14 can output various information to the outside, including the determined distance information, direction information, etc. The output device 14 can include, for example, a display, a speaker, a printer, a communication network and a remote output device connected thereto, and the like.
[0063] Of course, to simplify, Figure 3 Only some of the components related to the present application in the electronic device 10 are shown, and components such as a bus, an input / output interface, etc. are omitted. In addition, according to specific application situations, the electronic device 10 may also include any other appropriate components.
[0064] In addition to the above-mentioned methods and devices, an embodiment of the present application may also be a computer program product, which includes computer program instructions, which, when executed by a processor, enable the processor to execute the steps of the method according to various embodiments of the present application described in the above-mentioned "Exemplary Method" section of this specification.
[0065] The computer program product may be written in any combination of one or more programming languages to write program codes for performing the operations of the embodiments of the present application, including object-oriented programming languages, such as Java, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as an independent software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.
[0066] In addition, an embodiment of the present application may also be a computer-readable storage medium on which computer program instructions are stored. When the computer program instructions are executed by a processor, the processor executes the steps of the method according to various embodiments of the present application described in the above "Exemplary Method" section of this specification.
[0067] The computer readable storage medium can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can include, for example, but is not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0068] The basic principles of the present application are described above in conjunction with specific embodiments. However, it should be noted that the advantages, strengths, effects, etc. mentioned in the present application are only examples and not limitations, and it cannot be considered that these advantages, strengths, effects, etc. are required by each embodiment of the present application. In addition, the specific details disclosed above are only for the purpose of illustration and ease of understanding, not for limitation, and the above details do not limit the present application to being implemented by adopting the above specific details.
[0069] The block diagrams of the devices, apparatuses, equipment, and systems involved in this application are only illustrative examples and are not intended to require or imply that they must be connected, arranged, and configured in the manner shown in the block diagram. As will be appreciated by those skilled in the art, these devices, apparatuses, equipment, and systems can be connected, arranged, and configured in any manner. Words such as "including", "comprising", "having", etc. are open words, referring to "including but not limited to", and can be used interchangeably with them. The words "or" and "and" used here refer to the words "and / or" and can be used interchangeably with them, unless the context clearly indicates otherwise. The words "such as" used here refer to the phrase "such as but not limited to", and can be used interchangeably with them.
[0070] It should also be noted that in the apparatus, device and method of the present application, each component or each step can be decomposed and / or recombined. Such decomposition and / or recombination should be regarded as equivalent solutions of the present application.
[0071] The above description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present application. Various modifications to these aspects will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to other aspects without departing from the scope of the present application. Therefore, the present application is not intended to be limited to the aspects shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
[0072] The above description has been given for the purpose of illustration and description. In addition, this description is not intended to limit the embodiments of the present application to the forms disclosed herein. Although multiple example aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, changes, additions and sub-combinations thereof.
Claims
1. A risk assessment method for a vehicle electrical system, characterized in that: include: Obtaining an electrical diagram file of a vehicle to be evaluated; wherein the electrical diagram file includes a plurality of files; Parsing a plurality of the electrical diagram files to obtain electrical information of the vehicle to be evaluated; wherein the electrical information includes points, lines, surfaces, texts, and graphic element information including position coordinates; Draw a whole vehicle electrical system diagram of the vehicle to be evaluated according to the electrical information; wherein the whole vehicle electrical system diagram includes all electrical components and wiring harnesses of the vehicle to be evaluated; Performing data analysis on the vehicle electrical system diagram to obtain an analysis matrix of the vehicle electrical system diagram; wherein the analysis matrix includes relevant parameters of electrical components and wiring harnesses in the vehicle electrical system diagram; Based on the analysis matrix, performing electrical risk assessment on the vehicle to be assessed; Wherein, performing data analysis on the vehicle electrical system diagram to obtain an analysis matrix of the vehicle electrical system diagram includes: Using a path finding algorithm and based on the starting electrical component in the vehicle electrical system diagram, searching all electrical components to mark the electrical components in the vehicle electrical system diagram by type and name; Using a path finding algorithm and according to the direction of the wiring harness, marking the same wiring harness in the vehicle electrical system diagram as having the same attributes; generating the analysis matrix based on the electrical information of the marked electrical components and the marked wiring harness; The step of performing data analysis on the vehicle electrical system diagram to obtain an analysis matrix of the vehicle electrical system diagram includes: Marking the electrical components and wiring harnesses in the vehicle electrical system diagram based on the types of the electrical components and the directions of the wiring harnesses, respectively, so as to convert the graphic information of the vehicle electrical system diagram into matrix structure data of the electrical components and wiring harnesses; The performing electrical risk assessment on the vehicle to be assessed based on the analysis matrix includes: Set parameter ranges for each electrical component and each wiring harness, and judge whether the parameters of the electrical component or wiring harness are within the corresponding parameter range to determine whether the design of the electrical component or wiring harness is reasonable and compliant. Combined with the electrical characteristics design of related components and the time-frequency domain test data of components, the risk assessment algorithm is used to give the evaluation results. The method of using a path finding algorithm and searching all electrical components based on the starting electrical component in the vehicle electrical system diagram to mark the electrical components in the vehicle electrical system diagram by type and name includes: Use the path-finding algorithm and the shape of the power supply to find the position of the power supply and use it as the starting electrical component. Then, find the path along the straight line connected to the positive pole of the power supply. Determine the type of the endpoint based on the coordinate information of the end of the straight line away from the power supply. If it is a node, record the coordinates of the node, and then find the path for other straight lines connected to the node in turn. If the endpoint is a fuse, record the name and model information and mark it as a primary fuse. Continue to find the path from the endpoint of each primary fuse away from the power supply to the other endpoint of the straight line. If the endpoint is a node, record the coordinates of the node, and find the path for other straight lines connected to the node in turn. If the endpoint is a load, record the pin number, find and record the name of the load in the model space. If the endpoint is another fuse, mark it as a secondary fuse and record the information. Then start the path-finding from the secondary fuse until the loads of all branches are found. The method of using a path finding algorithm and marking the same wiring harnesses in the vehicle electrical system diagram as having the same attributes according to the direction of the wiring harnesses includes: The vehicle electrical system diagram is read and grouped according to the similarities and differences of connectors to realize that the same group is the wiring harness on the same connector; the model space is traversed according to the wiring harness name to find the coordinates of the starting point and the end point, the nearest neighbor algorithm is used to search for the nearest object, the starting point and the end point are connected by the distance of the coordinate value, the straight line with the endpoint as the starting point of the wiring harness is found, and the connection type of the other end point of the straight line is judged, if the endpoint is a node, the coordinates of the node are recorded, and the other straight lines connected to the node are judged in turn, if the endpoint is a connector, the coordinates of the endpoint are compared with the end point, if it is not the correct end point, return to the previous node, if it is an intermediate, mark and save the wiring harness, and after marking, the user specifies the direction until all possible paths are judged and the end point is reached.
2. The risk assessment method for the vehicle electrical system according to claim 1 is characterized in that: The electrical diagram file includes a dwg file or a dxf file; wherein the parsing of the plurality of electrical diagram files to obtain the electrical information of the vehicle to be evaluated includes: The plurality of electrical diagram files are parsed in a binary file reading manner to obtain electrical information of the vehicle to be evaluated.
3. The risk assessment method for the vehicle electrical system according to claim 1 is characterized in that: Drawing a vehicle electrical system diagram of the vehicle to be evaluated according to the electrical information includes: According to the names and position coordinates of all electrical components and wiring harnesses contained in the plurality of electrical diagram files, identical wiring harnesses are spliced together to draw the electrical system diagram of the entire vehicle.
4. The risk assessment method for the vehicle electrical system according to claim 1, characterized in that: After drawing the whole vehicle electrical system diagram of the vehicle to be evaluated according to the electrical information, the whole vehicle electrical system risk assessment method further includes: Write an external device control function; wherein the external device control function represents an instruction function for controlling the vehicle electrical system diagram by operating an external device.
5. A risk assessment device for a vehicle electrical system, characterized in that: include: An electrical file acquisition module, used to acquire an electrical diagram file of a vehicle to be evaluated; wherein the electrical diagram file includes a plurality of; An electrical file parsing module, used for parsing the plurality of electrical diagram files to obtain electrical information of the vehicle to be evaluated; wherein the electrical information includes points, lines, surfaces, texts and graphic element information including position coordinates; An electrical diagram drawing module, used for drawing a whole vehicle electrical system diagram of the vehicle to be evaluated according to the electrical information; wherein the whole vehicle electrical system diagram includes all electrical components and wiring harnesses of the vehicle to be evaluated; An analysis matrix acquisition module is used to perform data analysis on the vehicle electrical system diagram to obtain an analysis matrix of the vehicle electrical system diagram; wherein the analysis matrix includes relevant parameters of electrical components and wiring harnesses in the vehicle electrical system diagram; An electrical risk assessment module, used for performing electrical risk assessment on the vehicle to be assessed based on the analysis matrix; Wherein, the analysis matrix acquisition module is configured as follows: Using a path finding algorithm and based on the starting electrical component in the vehicle electrical system diagram, searching all electrical components to mark the electrical components in the vehicle electrical system diagram by type and name; Using a path finding algorithm and according to the direction of the wiring harness, marking the same wiring harness in the vehicle electrical system diagram as having the same attributes; generating the analysis matrix based on the electrical information of the marked electrical components and the marked wiring harness; The analysis matrix acquisition module is configured as follows: Marking the electrical components and wiring harnesses in the vehicle electrical system diagram based on the types of the electrical components and the directions of the wiring harnesses, respectively, so as to convert the graphic information of the vehicle electrical system diagram into matrix structure data of the electrical components and wiring harnesses; The electrical risk assessment module is configured as follows: Set parameter ranges for each electrical component and each wiring harness, and judge whether the parameters of the electrical component or wiring harness are within the corresponding parameter range to determine whether the design of the electrical component or wiring harness is reasonable and compliant. Combined with the electrical characteristics design of related components and the time-frequency domain test data of components, the risk assessment algorithm is used to give the evaluation results. The analysis matrix acquisition module is configured as follows: Use the path-finding algorithm and the shape of the power supply to find the position of the power supply and use it as the starting electrical component. Then, find the path along the straight line connected to the positive pole of the power supply. Determine the type of the endpoint based on the coordinate information of the end of the straight line away from the power supply. If it is a node, record the coordinates of the node, and then find the path for other straight lines connected to the node in turn. If the endpoint is a fuse, record the name and model information and mark it as a primary fuse. Continue to find the path from the endpoint of each primary fuse away from the power supply to the other endpoint of the straight line. If the endpoint is a node, record the coordinates of the node, and find the path for other straight lines connected to the node in turn. If the endpoint is a load, record the pin number, find and record the name of the load in the model space. If the endpoint is another fuse, mark it as a secondary fuse and record the information. Then start the path-finding from the secondary fuse until the loads of all branches are found. The analysis matrix acquisition module is configured as follows: The vehicle electrical system diagram is read and grouped according to the similarities and differences of connectors to realize that the same group is the wiring harness on the same connector; the model space is traversed according to the wiring harness name to find the coordinates of the starting point and the end point, the nearest neighbor algorithm is used to search for the nearest object, the starting point and the end point are connected by the distance of the coordinate value, the straight line with the endpoint as the starting point of the wiring harness is found, and the connection type of the other end point of the straight line is judged, if the endpoint is a node, the coordinates of the node are recorded, and the other straight lines connected to the node are judged in turn, if the endpoint is a connector, the coordinates of the endpoint are compared with the end point, if it is not the correct end point, return to the previous node, if it is an intermediate, mark and save the wiring harness, and after marking, the user specifies the direction until all possible paths are judged and the end point is reached.
6. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and the computer program is used to execute the risk assessment method for the vehicle electrical system described in any one of claims 1-4 above.
7. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is used to execute the risk assessment method for the vehicle electrical system as described in any one of claims 1-4 above.
