CN109697143A - A kind of electronic product off-line detection system and its detection method based on UDSZ diagnosis - Google Patents

A kind of electronic product off-line detection system and its detection method based on UDSZ diagnosis Download PDF

Info

Publication number
CN109697143A
CN109697143A CN201711001077.0A CN201711001077A CN109697143A CN 109697143 A CN109697143 A CN 109697143A CN 201711001077 A CN201711001077 A CN 201711001077A CN 109697143 A CN109697143 A CN 109697143A
Authority
CN
China
Prior art keywords
information
electronic product
test
unit
uds
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
CN201711001077.0A
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.)
Longhai Darfoe Automotive Electronics Research Institute Co Ltd
Original Assignee
Longhai Darfoe Automotive Electronics Research Institute 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 Longhai Darfoe Automotive Electronics Research Institute Co Ltd filed Critical Longhai Darfoe Automotive Electronics Research Institute Co Ltd
Priority to CN201711001077.0A priority Critical patent/CN109697143A/en
Publication of CN109697143A publication Critical patent/CN109697143A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2268Logging of test results

Abstract

The invention discloses a kind of electronic product off-line detection systems based on UDSZ diagnosis, belong to automobile electronics technical field, including being detected electronic product and host computer, it is detected electronic product and passes through UDS detection, signal acquisition, signal processing and fault detection, host computer is transmitted signals to by CAN bus, host computer receives according to UDS agreement and judges that hardware port information, data result, signal processing information, set parameter, fault message are consistent with by the virtual condition information of UDS agreement query, then test passes through, and otherwise tests and does not pass through;Host computer includes obtaining information unit, query information state cell, judging detection unit and output test report unit.The present invention has the advantages that compact-sized simple, at low cost, using UDS detection protocol, reduces and develops offline test protocol workload, also can guarantee that diagnostic service is normal after there is inline diagnosis service, test to go offline.

Description

A kind of electronic product off-line detection system and its detection method based on UDSZ diagnosis
Technical field
The present invention relates to a kind of products detection system and its detection methods, more particularly to a kind of electricity based on UDSZ diagnosis Sub- product off-line detection system and its detection method, belong to automobile electronics technical field.
Background technique
Automobile electronics require to carry out off-line test to product when entering the volume production stage, are defeated to interiors of products input Out and other circuits are detected, avoid substandard product flow into client's hand in, general test product include simulation input interface, Simulation output load, communication interface and upper computer control system, lower line testing device only focus on the hard of product to the test of product Part circuit test does not test software logic related content.
Off-line detection system inputs analog signal to test product by input port, and test product is according to input interface shape The state that state variation will test is sent to host computer, in the case where communications protocol parsing module is without mistake, host computer root It is compared according to input state with the state detected, when the two state is inconsistent, judges that there are problems for input port circuit.
The agreement between test product and host computer is formulated during off-line test, many electronic products will be production before Product test tailor upper and lower computer agreement, increase the workload of software design developer in this way, and if agreement is formulated not It is perfect, it will affect product and be strayed into test pattern and can not work normally.
Summary of the invention
The main object of the present invention be to provide for it is a kind of based on UDSZ diagnosis electronic product off-line detection system and its Detection method solves of the existing technology needed during off-line test for product test tailor upper and lower computer association View, increases the workload of software design developer, and agreement is formulated not perfect influence product test mode and be can not work normally The problem of.
The purpose of the present invention can reach by using following technical solution:
A kind of electronic product off-line detection system based on UDSZ diagnosis, including it is detected electronic product and host computer, institute Detected electronic product is stated to be electrically connected by CAN bus and the host computer;The detected electronic product receives external hard The input of part signal, by UDS detection, signal acquisition, signal processing and fault detection, transmits signals to institute by CAN bus State host computer;The host computer received according to UDS agreement the hardware port information of the detected electronic product, data result, Signal processing information, set parameter and fault message, and respectively by the hardware port information received, data result, signal Processing information, set parameter, fault message are compared with by the virtual condition information of UDS agreement query, state consistency, then Test passes through, and otherwise tests and does not pass through;The host computer includes obtaining information unit, being electrically connected with the acquisition information unit Query information state cell, with the query information state cell be electrically connected judgement detection unit and with the judgement inspection Survey the output test report unit that unit is electrically connected;The acquisition information unit is connect with CAN bus.
Preferable scheme is that including UDS detection module, signal acquisition module, signal in the detected electronic product Processing module and breakdown judge module, the UDS detection module, the signal acquisition module, the signal processing module and institute Breakdown judge module is stated to be electrically connected with the acquisition information unit.
In any of the above-described scheme preferably, the acquisition information unit passes through CAN bus and the detected electronics Product is electrically connected, the expecting state information for obtaining information unit and being used to obtain the detected electronic product, described pre- Phase status information includes hardware port information, signal processing information and fault message.
In any of the above-described scheme preferably, the query information state cell is detected by CAN bus with described Electronic product is electrically connected, and the query information state cell receives the detected electronic product according to UDS agreement and collects Virtual condition information, the virtual condition information include hardware port information, data result, set parameter and failure letter Breath.
In any of the above-described scheme preferably, the judgement detection unit respectively with the query information state cell and The output test report unit is electrically connected, and the judgement detection unit judges the quilt that the acquisition information unit obtains The expecting state information and the query information state cell for detecting electronic product receive described detected according to UDS agreement The collected virtual condition information of electronic product compares, than it is more consistent when, then test pass through, otherwise, test do not pass through.
In any of the above-described scheme preferably, the output test report unit is according to the survey for judging detection unit Test result is recorded in EXCEL test result.
A kind of detection method of the electronic product off-line detection system based on UDSZ diagnosis, includes the following steps:
S1: host computer sends the test inline diagnosis test frame provided by UDS diagnostic service protocol contents, into diagnosis mould Formula;
S2: host computer sends respective service requirement, and judges whether it is automatic testing and control;
S3: it is detected the content information of electronic product feedback respective service, host computer is according to the expecting state of anticipated input Information is judged judge whether expecting state information is consistent with virtual condition information with the virtual condition information fed back;
S4: if it is expected that status information is consistent with virtual condition information, then test passes through, and is surveyed into next service Examination;
S5: if it is expected that status information and virtual condition information are inconsistent, then testing and do not pass through, test loop detection 10 It is secondary, it is tested into next service;
S6: test result is recorded in document files.
Preferable scheme is that the UDS diagnostic service protocol contents include: the online service of 0x3E diagnostic equipment, 0x10 diagnosis Scheme control service, 0x22 by ID read data service, 0x27 secure access service, 0x2e by ID write data service, 0x2f by ID carry out input and output control service and 0x31 routine control service one of or it is a variety of.
Advantageous effects of the invention: it is according to the invention based on UDSZ diagnosis electronic product off-line detection system and Its detection method, the electronic product off-line detection system and its detection method provided by the invention based on UDSZ diagnosis, solves It is of the existing technology to need to increase software and set for product test tailor upper and lower computer agreement during off-line test The problem of workload of meter developer, agreement is formulated not perfect influence product test mode and be can not work normally;With structure Compact simple, at low cost advantage reduces the workload for developing offline test protocol, and UDS agreement using UDS detection protocol Also it can guarantee that product exits diagnostic service normal work after thering is inline diagnosis service, test to go offline, improve Product Safety.
Detailed description of the invention
Fig. 1 is a preferred embodiment of the electronic product off-line detection system according to the invention based on UDSZ diagnosis Structural schematic diagram;
Fig. 2 is the upper of a preferred embodiment of the electronic product off-line detection system according to the invention based on UDSZ diagnosis Position machine modular structure schematic diagram, the embodiment can be embodiment identical with Fig. 1, be also possible to the embodiment different from Fig. 1;
Fig. 3 is the upper of a preferred embodiment of the electronic product off-line test method according to the invention based on UDSZ diagnosis Position machine software detection realizes logic chart.
In figure: 1- is detected electronic product, 2- host computer, and 21- obtains information unit, 22- query information state cell, 23- judges detection unit, and 24- exports test report unit.
Specific embodiment
To make the more clear and clear technical solution of the present invention of those skilled in the art, below with reference to examples and drawings The present invention is described in further detail, and embodiments of the present invention are not limited thereto.
As depicted in figs. 1 and 2, a kind of electronic product off-line detection system based on UDSZ diagnosis provided in this embodiment, Including being detected electronic product 1 and host computer 2, the detected electronic product 1 is electrical by CAN bus and the host computer 2 Connection;The detected electronic product 1 receives the input of external hardware signal, by UDS detection, signal acquisition, signal processing and Fault detection transmits signals to the host computer 2 by CAN bus;The host computer 2 receives the quilt according to UDS agreement Hardware port information, data result, signal processing information, set parameter and the fault message of electronic product 1 are detected, and respectively By the hardware port information received, data result, signal processing information, set parameter, fault message and pass through UDS agreement The virtual condition information of inquiry compares, state consistency, then test passes through, and otherwise tests and does not pass through;The host computer 2 includes obtaining Take information unit 21, the query information state cell 22 being electrically connected with the acquisition information unit 21 and the query information The judgement detection unit 23 and the output test report being electrically connected with the judgement detection unit 23 that state cell 22 is electrically connected Accuse unit 24;The acquisition information unit 21 is connect with CAN bus.
It further, in the present embodiment, as depicted in figs. 1 and 2, include UDS inspection in the detected electronic product 1 Survey module, signal acquisition module, signal processing module and breakdown judge module, the UDS detection module, the signal acquisition mould Block, the signal processing module and the breakdown judge module are electrically connected with the acquisition information unit 21;The acquisition Information unit 21 is electrically connected by CAN bus and the detected electronic product 1, and the acquisition information unit 21 is for obtaining The expecting state information of the detected electronic product 1, the expecting state information include hardware port information, signal processing letter Breath and fault message.
Further, in the present embodiment, as depicted in figs. 1 and 2, the query information state cell 22 is total by CAN Line and the detected electronic product 1 are electrically connected, and the query information state cell 22 receives described tested according to UDS agreement The collected virtual condition information of electronic product 1 is surveyed, the virtual condition information includes hardware port information, data result, institute Parameter and fault message are set;The judgement detection unit 23 is surveyed with the query information state cell 22 and the output respectively It tries reporting unit 24 to be electrically connected, the judgement detection unit 23 judges that the described of acquisition information unit 21 acquisition is detected The expecting state information of electronic product 1 and the query information state cell 22 receive described detected according to UDS agreement The collected virtual condition information of electronic product 1 compares, than it is more consistent when, then test pass through, otherwise, test do not pass through;Institute Output test report unit 24 is stated according to the test result of the judgement detection unit 23, test result is recorded in EXCEL.
As shown in figure 3, a kind of detection of electronic product off-line detection system based on UDSZ diagnosis provided in this embodiment Method includes the following steps:
S1: host computer sends the test inline diagnosis test frame provided by UDS diagnostic service protocol contents, into diagnosis mould Formula;
S2: host computer sends respective service requirement, and judges whether it is automatic testing and control;
S3: it is detected the content information of electronic product feedback respective service, host computer is according to the expecting state of anticipated input Information is judged judge whether expecting state information is consistent with virtual condition information with the virtual condition information fed back;
S4: if it is expected that status information is consistent with virtual condition information, then test passes through, and is surveyed into next service Examination;
S5: if it is expected that status information and virtual condition information are inconsistent, then testing and do not pass through, test loop detection 10 It is secondary, it is tested into next service;
S6: test result is recorded in document files.
Further, in the present embodiment, the UDS diagnostic service protocol contents include: the online service of 0x3E diagnostic equipment, 0x10 diagnostic mode control service, 0x22 read data service, 0x27 secure access service, 0x2e by ID and write data by ID Service, 0x2f are serviced by ID progress input and output control and 0x31 routine controls one of service or a variety of.
In conclusion in the present embodiment, according to the electronic product off-line test system based on UDSZ diagnosis of the present embodiment System and its detection method, the electronic product off-line detection system and its detection method provided in this embodiment based on UDSZ diagnosis, It solves and of the existing technology needs to increase for product test tailor upper and lower computer agreement during off-line test The problem of workload of software design developer, agreement is formulated not perfect influence product test mode and be can not work normally;Tool Have the advantages that compact-sized simple, at low cost, using UDS detection protocol, reduces the workload for developing offline test protocol, and UDS agreement also can guarantee that product exits diagnostic service normal work after having inline diagnosis service, test to go offline, improve product safety Property.
The above, further embodiment only of the present invention, but scope of protection of the present invention is not limited thereto, and it is any Within the scope of the present disclosure, according to the technique and scheme of the present invention and its design adds those familiar with the art With equivalent substitution or change, protection scope of the present invention is belonged to.

Claims (8)

1. a kind of electronic product off-line detection system based on UDSZ diagnosis, including it is detected electronic product (1) and host computer (2), which is characterized in that the detected electronic product (1) is electrically connected by CAN bus and the host computer (2);The quilt It detects electronic product (1) and receives the input of external hardware signal, by UDS detection, signal acquisition, signal processing and fault detection, The host computer (2) are transmitted signals to by CAN bus;The host computer (2) receives the detected electricity according to UDS agreement Hardware port information, data result, signal processing information, set parameter and the fault message of sub- product (1), and will connect respectively The hardware port information that receives, data result, signal processing information, set parameter, fault message and pass through UDS agreement query Virtual condition information compare, state consistency, then test pass through, otherwise test and do not pass through;The host computer (2) includes obtaining Information unit (21), the query information state cell (22) being electrically connected with acquisition information unit (21) and the inquiry The judgement detection unit (23) and judge what detection unit (23) were electrically connected with described that information state unit (22) is electrically connected It exports test report unit (24);The acquisition information unit (21) connect with CAN bus.
2. a kind of electronic product off-line detection system based on UDSZ diagnosis according to claim 1, which is characterized in that institute Stating in detected electronic product (1) includes UDS detection module, signal acquisition module, signal processing module and breakdown judge mould Block, the UDS detection module, the signal acquisition module, the signal processing module and the breakdown judge module are and institute It states and obtains information unit (21) electric connection.
3. a kind of electronic product off-line detection system based on UDSZ diagnosis according to claim 1, which is characterized in that institute It states acquisition information unit (21) to be electrically connected by CAN bus and the detected electronic product (1), the acquisition information unit (21) for obtaining the expecting state information of the detected electronic product (1), the expecting state information includes hardware port Information, signal processing information and fault message.
4. a kind of electronic product off-line detection system based on UDSZ diagnosis according to claim 3, which is characterized in that institute It states query information state cell (22) to be electrically connected by CAN bus and the detected electronic product (1), the query information State cell (22) receives the detected collected virtual condition information of electronic product (1), the reality according to UDS agreement Status information includes hardware port information, data result, set parameter and fault message.
5. a kind of electronic product off-line detection system based on UDSZ diagnosis according to claim 4, which is characterized in that institute It states and judges that detection unit (23) is electric with the query information state cell (22) and the output test report unit (24) respectively Property connection, it is described judgement detection unit (23) judge it is described acquisition information unit (21) acquisition the detected electronic product (1) the detected electronics that expecting state information and the query information state cell (22) is received according to UDS agreement The collected virtual condition information of product (1) compares, than it is more consistent when, then test pass through, otherwise, test do not pass through.
6. a kind of electronic product off-line detection system based on UDSZ diagnosis according to claim 5, which is characterized in that institute Output test report unit (24) is stated according to the test result of judgement detection unit (23), test result is recorded In EXCEL.
7. a kind of detection of the electronic product off-line detection system based on UDSZ diagnosis as claimed in any one of claims 1 to 6 Method, which comprises the steps of:
S1: host computer sends the test inline diagnosis test frame provided by UDS diagnostic service protocol contents, into diagnostic mode;
S2: host computer sends respective service requirement, and judges whether it is automatic testing and control;
S3: it is detected the content information of electronic product feedback respective service, host computer is according to the expecting state information of anticipated input Judged judge whether expecting state information is consistent with virtual condition information with the virtual condition information fed back;
S4: if it is expected that status information is consistent with virtual condition information, then test passes through, and is tested into next service;
S5: if it is expected that status information and virtual condition information are inconsistent, then testing and do not pass through, and test loop detects 10 times, into Enter next service to be tested;
S6: test result is recorded in document files.
8. a kind of detection method of electronic product off-line detection system based on UDSZ diagnosis according to claim 7, Be characterized in that, the UDS diagnostic service protocol contents include: the online service of 0x3E diagnostic equipment, 0x10 diagnostic mode control service, 0x22 by ID read data service, 0x27 secure access service, 0x2e by ID write data service, 0x2f carried out by ID it is defeated Enter one of output control service and the control service of 0x31 routine or a variety of.
CN201711001077.0A 2017-10-24 2017-10-24 A kind of electronic product off-line detection system and its detection method based on UDSZ diagnosis Pending CN109697143A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711001077.0A CN109697143A (en) 2017-10-24 2017-10-24 A kind of electronic product off-line detection system and its detection method based on UDSZ diagnosis

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711001077.0A CN109697143A (en) 2017-10-24 2017-10-24 A kind of electronic product off-line detection system and its detection method based on UDSZ diagnosis

Publications (1)

Publication Number Publication Date
CN109697143A true CN109697143A (en) 2019-04-30

Family

ID=66227766

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711001077.0A Pending CN109697143A (en) 2017-10-24 2017-10-24 A kind of electronic product off-line detection system and its detection method based on UDSZ diagnosis

Country Status (1)

Country Link
CN (1) CN109697143A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110750087A (en) * 2019-09-25 2020-02-04 浙江合众新能源汽车有限公司 EOL detection method and device for avoiding mistaken deletion of vehicle fault and storage medium
CN116224201A (en) * 2023-05-09 2023-06-06 苏州清研精准汽车科技有限公司 Diagnosis test method and device for battery pack offline detection equipment and diagnosis equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120126873A (en) * 2011-05-13 2012-11-21 현대자동차주식회사 System for Dynamic Analysis of Embedded Software of Vehicle using UDS
CN104076814A (en) * 2014-07-09 2014-10-01 哈尔滨工业大学 Automobile ECU measurement system based on hardware-in-loop simulation
CN105607623A (en) * 2016-02-26 2016-05-25 东南(福建)汽车工业有限公司 Automobile production line offline detection method
CN106407066A (en) * 2016-09-26 2017-02-15 北京经纬恒润科技有限公司 An end of line detection method and system for electronic products
CN106526346A (en) * 2015-09-11 2017-03-22 联合汽车电子有限公司 Off-line testing system and method for electric vehicle

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120126873A (en) * 2011-05-13 2012-11-21 현대자동차주식회사 System for Dynamic Analysis of Embedded Software of Vehicle using UDS
CN104076814A (en) * 2014-07-09 2014-10-01 哈尔滨工业大学 Automobile ECU measurement system based on hardware-in-loop simulation
CN106526346A (en) * 2015-09-11 2017-03-22 联合汽车电子有限公司 Off-line testing system and method for electric vehicle
CN105607623A (en) * 2016-02-26 2016-05-25 东南(福建)汽车工业有限公司 Automobile production line offline detection method
CN106407066A (en) * 2016-09-26 2017-02-15 北京经纬恒润科技有限公司 An end of line detection method and system for electronic products

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110750087A (en) * 2019-09-25 2020-02-04 浙江合众新能源汽车有限公司 EOL detection method and device for avoiding mistaken deletion of vehicle fault and storage medium
CN116224201A (en) * 2023-05-09 2023-06-06 苏州清研精准汽车科技有限公司 Diagnosis test method and device for battery pack offline detection equipment and diagnosis equipment
CN116224201B (en) * 2023-05-09 2023-08-04 苏州清研精准汽车科技有限公司 Diagnosis test method and device for battery pack offline detection equipment and diagnosis equipment

Similar Documents

Publication Publication Date Title
CN102087334B (en) High-reliability digital quantity acquisition system
CN105203980B (en) A kind of power quality self-checking system and its self checking method
CN108804261A (en) The test method and device of connector
CN105372536B (en) Aviation electronics general-utility test platform
CN106407066A (en) An end of line detection method and system for electronic products
CN106407059A (en) Server node testing system and method
CN206673990U (en) A kind of detecting system of communication message
CN106646186A (en) Batch testing method and batch testing system for chips
CN109697143A (en) A kind of electronic product off-line detection system and its detection method based on UDSZ diagnosis
CN104951421A (en) Automatic numbering and type recognition method and device for serial bus communication devices
CN104932484B (en) A kind of CAN car body controller PCB method of testings
CN115470064A (en) Security test method and device for device to be tested, electronic device and storage medium
CN107748560A (en) A kind of program control direct fault location case of pure electric vehicle controller
CN109131937A (en) A kind of distribution automatic Testing System of UAV and method
CN201607507U (en) Intelligent backboard test system
CN110488711B (en) Mixing station detecting system
CN106199373A (en) Electronic equipment intelligent failure diagnosis method and device
CN218213316U (en) Back plate, testing machine and testing system
CN107064853A (en) Electric energy meter pressure-resistant test system and method with test voltage automatic switching function
CN110888011A (en) In-situ test method and test device based on testability modeling
CN211264169U (en) Automatic testing device for logic control unit
CN102289577B (en) Troubleshooting method based on maximum repair time minimization
CN205139289U (en) Distribution test system of on -vehicle rack of 200T type row accuse
CN115129021B (en) Method and device for testing vehicle-mounted Ethernet
CN108020241B (en) Fault testing method and system for photoelectric theodolite

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190430