CN111125991A - Wire information rapid detection method based on AutoCAD (auto computer aided design) wire harness diagram - Google Patents

Wire information rapid detection method based on AutoCAD (auto computer aided design) wire harness diagram Download PDF

Info

Publication number
CN111125991A
CN111125991A CN201911343142.7A CN201911343142A CN111125991A CN 111125991 A CN111125991 A CN 111125991A CN 201911343142 A CN201911343142 A CN 201911343142A CN 111125991 A CN111125991 A CN 111125991A
Authority
CN
China
Prior art keywords
wire
lead
custom object
autocad
diagram
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911343142.7A
Other languages
Chinese (zh)
Inventor
徐冠林
樊瑞
王常喜
施家勤
左立峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chery Automobile Co Ltd
Original Assignee
Chery Automobile Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chery Automobile Co Ltd filed Critical Chery Automobile Co Ltd
Priority to CN201911343142.7A priority Critical patent/CN111125991A/en
Publication of CN111125991A publication Critical patent/CN111125991A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention relates to the technical field of wire harness diagram detection, and provides a wire information rapid detection method based on an AutoCAD wire harness diagram, which specifically comprises the following steps: s1, carrying out secondary development on the AutoCAD, and designing a custom object class for the lead; s2, converting the lead in the circuit schematic diagram into a custom object in the AutoCAD to form a custom object table I; s3, converting the wires in the wire harness diagram into a custom object in the AutoCAD to form a custom object table II; and S4, comparing the second custom object table with the first custom object table, and outputting the wrong lead custom object in the second custom object table. The circuit schematic diagram and the wire harness diagram are converted into the self-defined object of the wire, automatic and rapid comparison of wire information between the circuit schematic diagram and the wire harness diagram is achieved, and compared with a manual proofreading drawing, accuracy and efficiency are greatly improved.

Description

Wire information rapid detection method based on AutoCAD (auto computer aided design) wire harness diagram
Technical Field
The invention relates to the technical field of wire harness diagram detection, and provides a wire information rapid detection method based on an AutoCAD wire harness diagram.
Background
The automobile wire harness system is used as a key part of an automobile, plays a vital and irreplaceable role in realizing the electrical function of a product, and simultaneously, along with the increasing of the configuration of electrical appliances, the automobile wire harness becomes more and more complex, and the requirements on the design of a wire harness diagram and the inspection tool chain tend to be specialized and automatic.
The automobile wiring harness design comprises a whole automobile circuit schematic diagram and a wiring harness diagram design besides three-dimensional wiring harness arrangement. The circuit schematic diagram is used as a design blueprint of a wiring harness diagram and mainly relates to the definition of a wire connection logic relationship, a wire name and specification and the like; the wire harness diagram mainly describes material information such as trunk/branch length, connectors, terminals, packaging modes, wires and the like of the wire harness, a wire signal list and the like according to wire information in the circuit schematic diagram. When the wire harness diagram is designed based on AutoCAD, omission of wire definition and inconsistent specification are common errors, and manual work is difficult to avoid. The number of wires of a complex harness system is about 1000, or even more. If the consistency of the wire information in the schematic diagram and the wiring harness diagram is manually corrected, long time is consumed, and the accuracy is difficult to guarantee.
Disclosure of Invention
The invention provides a wire information rapid detection method based on an AutoCAD (computer-aided design) wire harness diagram, which realizes automatic comparison of automatic information of wires in a circuit schematic diagram and the wire harness diagram.
The invention is realized in this way, a wire information rapid detection method based on AutoCAD wiring harness diagram, the method specifically includes the following steps:
s1, carrying out secondary development on the AutoCAD, and designing a custom object class for the lead;
s2, converting the lead in the circuit schematic diagram into a custom object in the AutoCAD to form a custom object table I;
s3, converting the wires in the wire harness diagram into a custom object in the AutoCAD to form a custom object table II;
and S4, comparing the second custom object table with the first custom object table, and outputting the wrong lead custom object in the second custom object table.
Further, the self-defined object of the wire stores a wire name, a wire diameter and a wire color, wherein the wire name is used for identifying the wire.
Furthermore, the conductor in the circuit schematic diagram is defined by adopting a mode of 'conductor name + space + conductor line diameter + space + conductor color'.
Further, the regular expression is used for identifying the lead defined by the mode of 'lead name + space + lead diameter + space + lead color' in the circuit schematic diagram, converting the lead into a custom object of the lead and inserting the custom object into the first custom object table.
Further, a header of a wire information list of the wire harness diagram is obtained, and each record in the wire information list comprises a wire name, a wire diameter and a wire color; and converting all records in the lead information list into the custom object of the lead, and inserting the custom object into the custom object list II.
Further, the name of the wire is defined by using an alphabetical plus numerical method.
Further, the wrong lead custom object includes: missing wire-defined objects, inconsistent wire-defined objects, and redundant wire-defined objects.
The wire information rapid detection method based on the AutoCAD wiring harness diagram has the following beneficial technical effects: 1) the circuit schematic diagram and the wire harness diagram are converted into a self-defined object of the wire, so that automatic and rapid comparison of wire information between the circuit schematic diagram and the wire harness diagram is realized, and the accuracy and the efficiency are greatly improved compared with manual proofreading drawings; 2) secondary development based on AutoCAD is the basis of subsequent function expansion such as wiring harness design and material statistics.
Drawings
Fig. 1 is a flowchart of a method for rapidly detecting lead information based on an AutoCAD wiring harness diagram according to an embodiment of the present invention.
Detailed Description
The following description of preferred embodiments of the invention will be made in further detail with reference to the accompanying drawings.
Fig. 1 is a flowchart of a method for rapidly detecting lead information based on an AutoCAD wire harness diagram according to an embodiment of the present invention, where the method specifically includes the following steps:
s1, carrying out secondary development on the AutoCAD, designing a custom object class for the lead, and storing the name, the line diameter and the color of the lead in the custom object;
the method utilizes ObjectARX and C + + to carry out secondary development on AutoCAD to derive the custom object of the wire.
S2, converting the lead in the circuit schematic diagram into a custom object in the AutoCAD to form a custom object table I;
in the embodiment of the invention, a circuit schematic diagram is taken as a design blueprint of a wiring harness diagram, the circuit schematic diagram mainly relates to the definition of a wire connection logical relationship, a wire name and specification, and a wire in the circuit schematic diagram is defined by adopting a mode of 'wire name + space + wire diameter + space + wire color'; the wire harness diagram mainly describes material information such as the trunk/branch length, the connector, the terminal, the wrapping mode, the wire and the like of the wire harness according to the wire information in the circuit schematic diagram.
In the embodiment of the invention, a regular expression is used for identifying a lead defined by a mode of 'lead name + space + lead line diameter + space + lead color' in a circuit schematic diagram, converting the lead into a custom object of the lead and inserting the custom object into a first custom object table; the name of the wire is defined by letters and numbers.
S3, converting the wires in the wire harness diagram into a custom object in the AutoCAD to form a custom object table II;
in the embodiment of the invention, a header of a wire information list of a wire harness diagram is read, and each record in the wire information list comprises a wire name, a wire diameter and a wire color; and converting all records in the lead information list into the custom object of the lead, and inserting the custom object into the custom object list II.
And S4, comparing the second custom object table with the first custom object table, and outputting the wrong lead custom object in the second custom object table.
In the embodiment of the present invention, the wrong wire custom object includes: missing wire-defined objects, inconsistent wire-defined objects, and redundant wire-defined objects.
The incorrect lead custom object means that the lead diameter or the lead color is different from the definition of the first custom object table, for example, in the first custom object table, the lead name is G104 lead, the lead diameter is 0.5mm2The color is Br, but in the second user-defined object table, the wire diameter of the wire with the name of G104 wire is 1.5mm2The color is R; the missed lead custom objects refer to leads which exist in a custom object table I but do not exist in a custom object table II; redundant wire custom objects refer to wires that are repeatedly defined in the custom object table two.
The wire information rapid detection method based on the AutoCAD wiring harness diagram has the following beneficial technical effects: 1) the circuit schematic diagram and the wire harness diagram are converted into a self-defined object of the wire, so that automatic and rapid comparison of wire information between the circuit schematic diagram and the wire harness diagram is realized, and the accuracy and the efficiency are greatly improved compared with manual proofreading drawings; 2) secondary development based on AutoCAD is the basis of subsequent function expansion such as wiring harness design and material statistics.
It is clear that the specific implementation of the invention is not restricted to the above-described embodiments, but that various insubstantial modifications of the inventive process concept and technical solutions are within the scope of protection of the invention.

Claims (7)

1. A wire information rapid detection method based on an AutoCAD wiring harness diagram is characterized by comprising the following steps:
s1, carrying out secondary development on the AutoCAD, and designing a custom object class for the lead;
s2, converting the lead in the circuit schematic diagram into a custom object in the AutoCAD to form a custom object table I;
s3, converting the wires in the wire harness diagram into a custom object in the AutoCAD to form a custom object table II;
and S4, comparing the second custom object table with the first custom object table, and outputting the wrong lead custom object in the second custom object table.
2. The method for rapidly detecting the wire information based on the AutoCAD wiring harness diagram as recited in claim 1, wherein a wire name, a wire diameter and a wire color are stored in a custom object of the wire, wherein the wire name is used for identifying the wire.
3. The method for rapidly detecting the lead information based on the AutoCAD wiring harness diagram as recited in claim 1, wherein the lead in the circuit schematic diagram is defined by adopting a mode of 'lead name + space + lead line diameter + space + lead color'.
4. The method for rapidly detecting the wire information based on the AutoCAD wiring harness diagram as recited in claim 3, characterized in that the regular expression is used to identify the wire defined by the way of "wire name + space + wire diameter + space + wire color" in the schematic diagram of the circuit, and convert it into the custom object of the wire, and insert it into the first custom object table.
5. The rapid lead information detection method based on the AutoCAD wiring harness diagram as recited in claim 1, characterized in that, a header of a lead information list of the wiring harness diagram is obtained, each record in the lead information list contains a lead name, a lead diameter and a lead color; and converting all records in the lead information list into the custom object of the lead, and inserting the custom object into the custom object list II.
6. The method for rapidly detecting the wire information based on the AutoCAD wiring harness diagram as recited in claim 2, wherein the name of the wire is defined by alphabets and numbers.
7. The rapid lead information detection method based on the AutoCAD wiring harness diagram as recited in claim 2, wherein the wrong lead self-defined object comprises: missing wire-defined objects, inconsistent wire-defined objects, and redundant wire-defined objects.
CN201911343142.7A 2019-12-24 2019-12-24 Wire information rapid detection method based on AutoCAD (auto computer aided design) wire harness diagram Pending CN111125991A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911343142.7A CN111125991A (en) 2019-12-24 2019-12-24 Wire information rapid detection method based on AutoCAD (auto computer aided design) wire harness diagram

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911343142.7A CN111125991A (en) 2019-12-24 2019-12-24 Wire information rapid detection method based on AutoCAD (auto computer aided design) wire harness diagram

Publications (1)

Publication Number Publication Date
CN111125991A true CN111125991A (en) 2020-05-08

Family

ID=70501471

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911343142.7A Pending CN111125991A (en) 2019-12-24 2019-12-24 Wire information rapid detection method based on AutoCAD (auto computer aided design) wire harness diagram

Country Status (1)

Country Link
CN (1) CN111125991A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101211373A (en) * 2006-12-29 2008-07-02 英业达股份有限公司 Line diagram part graph proofreading method
CN105809570A (en) * 2016-02-25 2016-07-27 国网上海市电力公司 SCD file and AutoCAD drawing mutual verification apparatus and method
CN110210168A (en) * 2019-06-14 2019-09-06 重庆宇杰汽车设计有限公司 A kind of intelligence strand design method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101211373A (en) * 2006-12-29 2008-07-02 英业达股份有限公司 Line diagram part graph proofreading method
CN105809570A (en) * 2016-02-25 2016-07-27 国网上海市电力公司 SCD file and AutoCAD drawing mutual verification apparatus and method
CN110210168A (en) * 2019-06-14 2019-09-06 重庆宇杰汽车设计有限公司 A kind of intelligence strand design method and device

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
徐金娟 沈精虎: "基于ObjectARX自定义实体的装配图明细表自动生成系统的开发", 《计算机应用技术》 *
方勇 等: "基于ObjectARX2006和AutoCAD2006开发的汽车线束设计系统", 《湖北汽车工业学院学报》 *
易晓宏 等: "ObjectARX与AutoCAD自定义实体的开发", 《工程设计CAD与智能建筑》 *
李静澜 李玉山: "基于ObjectARX的哑图整机接线图自动生成", 《电子科技》 *

Similar Documents

Publication Publication Date Title
US7507113B2 (en) Wire harness assembly assist program
CN110795809B (en) Method, system and medium for automatically picking up connection relation of electric secondary circuit of transformer substation based on CAD (computer aided design) drawing
TW402721B (en) Method to check the bus-connections of writable and readable integrated electronic circuits, especially some memory-modules
CN112613086B (en) Electrical equipment assembling method and system
JP5586325B2 (en) Wire harness continuity inspection method and wire harness continuity inspection program
JP5550455B2 (en) Wire harness continuity inspection method and wire harness continuity inspection program
WO2011102397A1 (en) Wire harness connectivity inspection method and wire harness connectivity inspection program
CN111125991A (en) Wire information rapid detection method based on AutoCAD (auto computer aided design) wire harness diagram
CN111948427B (en) System and method for rapidly detecting complex wire harness assembly
CN104238396A (en) Automatic accessory recognizing system and implementation method
JP2015001488A (en) Method for checking electrical continuity and device for checking electrical continuity
CN108614491B (en) Communication system and method for programmable logic controller
JPH0869486A (en) Connector information confirming device
CN115420918A (en) Device and method for automatically testing multi-terminal complex cable
CN114282491A (en) Large-scale schematic diagram checking method and system
CN110096783B (en) Method for extracting connection data from connection graph based on AutoCAD
US11900587B2 (en) Connector map and assembly aid software for cable manufacturing
CN210923935U (en) Wiring harness test tool for multiple interface sharing test circuit
CN114169021A (en) Wire harness preassembly diagram design method and system, storage medium and terminal device
CN219738040U (en) Signal simulation circuit
CN114844816B (en) Automobile communication disconnection simulation method
JP2653071B2 (en) Electric wire information creation system
JP2679461B2 (en) Cable aligner
KR20220030391A (en) Apparatus and method for checking connector
CN108052462B (en) OLED substrate identification system and method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200508

RJ01 Rejection of invention patent application after publication