CN116723125A - Vehicle communication chip test system - Google Patents
Vehicle communication chip test system Download PDFInfo
- Publication number
- CN116723125A CN116723125A CN202310638120.3A CN202310638120A CN116723125A CN 116723125 A CN116723125 A CN 116723125A CN 202310638120 A CN202310638120 A CN 202310638120A CN 116723125 A CN116723125 A CN 116723125A
- Authority
- CN
- China
- Prior art keywords
- chipset
- tested
- wake
- chip
- communication
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/28—Testing of electronic circuits, e.g. by signal tracer
- G01R31/282—Testing of electronic circuits specially adapted for particular applications not provided for elsewhere
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/28—Testing of electronic circuits, e.g. by signal tracer
- G01R31/2851—Testing of integrated circuits [IC]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/50—Testing arrangements
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Environmental & Geological Engineering (AREA)
- Computer Hardware Design (AREA)
- Microelectronics & Electronic Packaging (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
Description
技术领域Technical field
本申请涉及车辆电子技术领域,具体涉及一种车载通信芯片测试系统。This application relates to the field of vehicle electronic technology, and specifically to a vehicle communication chip testing system.
背景技术Background technique
车载通信芯片是指车载通信网络的收发器芯片,也称接口芯片,例如CAN(Controller Area Network,控制器局域网)芯片、LIN(Local Interconnect Network,本地互联网)芯片、以太网芯片等,车端各零部件和ECU(Electronic Control Unit,电子控制单元,又称控制器)之间的通信都离不开收发器芯片,车载通信芯片是车载与工业底层通讯关键元器件。一直以来,国内市场长期被国外芯片厂商所占据,随着汽车智能化的快速发展,ECU的数量越来越多,对车载通信芯片的需求越来越大,也推动了芯片国产化发展。Vehicle communication chips refer to the transceiver chips of vehicle communication networks, also called interface chips, such as CAN (Controller Area Network) chips, LIN (Local Interconnect Network, local Internet) chips, Ethernet chips, etc., on the vehicle side. The communication between components and ECU (Electronic Control Unit, also known as controller) is inseparable from the transceiver chip. The vehicle communication chip is a key component for the underlying communication between vehicle and industry. The domestic market has long been dominated by foreign chip manufacturers. With the rapid development of automobile intelligence, the number of ECUs is increasing, and the demand for in-vehicle communication chips is increasing, which also promotes the development of localized chips.
目前国产芯片厂商为了开拓市场,存在工规转车规的现象,国产芯片的设计生产、制造测试与国外半导体仍存在差距,国产芯片在质量和功能方面的市场认可度不高,整车配置前需要进行测试,由于车载通信芯片数量大,则会造成测试周期长,测试工作量大以及测试成本过高的情况,如何快速有效地批量测试国产芯片成为当前汽车公司所面临的一个难题。At present, in order to expand the market, domestic chip manufacturers are switching from industrial standards to vehicle standards. There is still a gap between the design, production, manufacturing and testing of domestic chips and foreign semiconductors. The market recognition of domestic chips in terms of quality and function is not high. Before the vehicle is configured, it is necessary to For testing, due to the large number of in-vehicle communication chips, it will cause a long test cycle, a large test workload and high test costs. How to quickly and effectively test domestic chips in batches has become a problem faced by current automobile companies.
发明内容Contents of the invention
鉴于以上所述现有技术的缺点,本申请提供一种车载通信芯片测试系统,以解决上述如何快速有效地批量测试国产芯片的技术问题。In view of the above shortcomings of the existing technology, this application provides a vehicle communication chip testing system to solve the above technical problem of how to quickly and effectively test domestic chips in batches.
本申请提供了一种车载通信芯片测试系统,所述车载通信芯片测试系统包括:第一上位机、第二上位机、第一单片机、第二单片机、第一电源模块、第二电源模块、第一通信芯片、第二通信芯片、第一待测试非唤醒芯片组以及第二待测试非唤醒芯片组;所述第一待测试非唤醒芯片组分别与所述第一上位机、所述第一单片机、所述第一电源模块以及所述第二待测试非唤醒芯片组连接;所述第二待测试非唤醒芯片组分别与所述第二上位机、所述第二单片机以及所述第二电源模块连接;所述第一单片机与所述第一电源模块连接;所述第二单片机与所述第二电源模块连接;所述第一通信芯片配置在所述第一待测试非唤醒芯片组中,所述第二通信芯片配置在所述第二待测试非唤醒芯片组中。This application provides a vehicle-mounted communication chip testing system. The vehicle-mounted communication chip testing system includes: a first host computer, a second host computer, a first single-chip computer, a second single-chip computer, a first power module, a second power module, A communication chip, a second communication chip, a first non-wakeup chipset to be tested, and a second non-wakeup chipset to be tested; the first non-wakeup chipset to be tested is connected to the first host computer and the first non-wakeup chipset respectively. The microcontroller, the first power module and the second non-wakeup chipset to be tested are connected; the second non-wakeup chipset to be tested are respectively connected to the second host computer, the second microcontroller and the second The power module is connected; the first microcontroller is connected to the first power module; the second microcontroller is connected to the second power module; the first communication chip is configured in the first non-wakeup chipset to be tested , the second communication chip is configured in the second non-wakeup chipset to be tested.
于本申请的一实施例中,若对所述第一待测试非唤醒芯片组和所述第二待测试非唤醒芯片组进行通信功能测试,所述第一上位机通过所述第一通信芯片向所述第一单片机发送第一上电控制指令,所述第一单片机通过所述第一上电控制指令对所述第一电源模块进行使能控制,以使所述第一电源模块为所述第一待测试非唤醒芯片组进行供电;所述第二上位机通过所述第二通信芯片向所述第二单片机发送第二上电控制指令,所述第二单片机通过所述第二上电控制指令对所述第二电源模块进行使能控制,以使所述第二电源模块为所述第二待测试非唤醒芯片组进行供电;所述第一上位机将第一测试报文传输给所述第一待测试非唤醒芯片组,并控制所述第一待测试非唤醒芯片组发送所述第一测试报文;所述第二上位机控制所述第二待测试非唤醒芯片组进行报文接收,得到第一报文接收结果;所述第二上位机根据所述第一报文接收结果确定通信功能测试结果。In an embodiment of the present application, if the communication function test is performed on the first non-wakeup chipset to be tested and the second non-wakeup chipset to be tested, the first host computer passes the first communication chip Send a first power-on control instruction to the first single-chip computer, and the first single-chip computer performs enable control on the first power module through the first power-on control instruction, so that the first power module is the The first non-wake-up chipset to be tested supplies power; the second host computer sends a second power-on control instruction to the second microcontroller through the second communication chip, and the second microcontroller passes through the second upper computer. The electrical control instructions enable and control the second power module so that the second power module supplies power to the second non-wakeup chipset to be tested; the first host computer transmits the first test message to the first non-wakeup chipset to be tested, and control the first non-wakeup chipset to be tested to send the first test message; the second host computer controls the second non-wakeup chipset to be tested The message is received to obtain the first message reception result; the second host computer determines the communication function test result according to the first message reception result.
于本申请的一实施例中,所述车载通信芯片测试系统还包括第一待测试唤醒芯片组和第二待测试唤醒芯片组;所述第一待测试唤醒芯片组分别与所述第一单片机、所述第一电源模块以及所述第二待测试唤醒芯片组连接;所述第二待测试唤醒芯片组分别与所述第二单片机以及所述第二电源模块连接;若对所述第一待测试唤醒芯片组进行本地唤醒功能测试,所述第一上位机通过所述第一通信芯片对所述第一单片机进行控制,以使所述第一单片机向所述第一待测试唤醒芯片组发送本地唤醒信号,对所述第一待测试唤醒芯片组进行本地唤醒;所述第一上位机通过所述第一通信芯片将第二测试报文传输给所述第一单片机,所述第一单片机将所述第二测试报文传输给所述第一待测试唤醒芯片组,并控制所述第一待测试唤醒芯片组发送所述第二测试报文;所述第二待测试唤醒芯片组进行报文接收,得到第二报文接收结果并传输至所述第二单片机,所述第二单片机通过所述第二通信芯片将所述第二报文结果传输至所述第二上位机;所述第二上位机根据所述第二报文接收结果确定本地唤醒功能测试结果。In one embodiment of the present application, the vehicle communication chip testing system further includes a first wake-up chipset to be tested and a second wake-up chipset to be tested; the first wake-up chipset to be tested is connected to the first single chip microcomputer respectively. , the first power module and the second wake-up chipset to be tested are connected; the second wake-up chipset to be tested are connected to the second microcontroller and the second power module respectively; if the first wake-up chipset is connected to the The wake-up chipset to be tested performs a local wake-up function test, and the first host computer controls the first microcontroller through the first communication chip, so that the first microcontroller sends signals to the first wake-up chipset to be tested. Send a local wake-up signal to locally wake up the first wake-up chipset to be tested; the first host computer transmits the second test message to the first microcontroller through the first communication chip, and the first The microcontroller transmits the second test message to the first wake-up chipset to be tested, and controls the first wake-up chipset to be tested to send the second test message; the second wake-up chipset to be tested Perform message reception to obtain a second message reception result and transmit it to the second single-chip computer, and the second single-chip computer transmits the second message result to the second host computer through the second communication chip; The second host computer determines the local wake-up function test result according to the second message reception result.
于本申请的一实施例中,所述车载通信芯片测试系统还包括连接器;所述第一待测试唤醒芯片组通过所述连接器与所述第二待测试唤醒芯片组连接;所述第一待测试非唤醒芯片组通过所述连接器与所述第二待测试非唤醒芯片组连接;所述连接器包括第一连接器和第二连接器,所述第一连接器和所述第二连接器之间采用线束连接,所述线束的参数满足预设条件;若对所述第一待测试唤醒芯片组进行远程唤醒功能测试,所述第二上位机通过所述第二通信芯片对所述第二单片机进行控制,以使所述第二单片机通过所述第二待测试唤醒芯片组向所述第一待测试唤醒芯片组发送远程唤醒信号,对所述第一待测试唤醒芯片组、所述第一电源模块以及所述第一单片机进行远程唤醒;所述第一单片机通过所述第一待测试唤醒芯片组进行报文接收,得到第三报文接收结果并传输至所述第一上位机;所述第一上位机根据所述第三报文接收结果确定远程唤醒功能测试结果。In an embodiment of the present application, the vehicle communication chip testing system further includes a connector; the first wake-up chipset to be tested is connected to the second wake-up chipset to be tested through the connector; the third wake-up chipset to be tested is connected to the connector. A non-wakeup chipset to be tested is connected to the second non-wakeup chipset to be tested through the connector; the connector includes a first connector and a second connector, and the first connector and the third A wire harness is used to connect the two connectors, and the parameters of the wire harness meet the preset conditions; if the remote wake-up function test is performed on the first wake-up chipset to be tested, the second host computer uses the second communication chip to The second microcontroller controls the second microcontroller to send a remote wake-up signal to the first wake-up chipset to be tested through the second wake-up chipset to be tested, and the first wake-up chipset to be tested is , the first power module and the first single-chip computer perform remote wake-up; the first single-chip computer receives messages through the first wake-up chipset to be tested, obtains the third message reception result and transmits it to the third message A host computer; the first host computer determines the remote wake-up function test result based on the third message reception result.
于本申请的一实施例中,所述第二上位机根据所述第一报文接收结果确定通信功能测试结果,包括:若所述第一报文接收结果为空,则所述通信功能测试结果为异常,若所述第一报文接收结果不为空,则所述通信功能测试结果为正常;或,若所述第一报文接收结果与预设报文不同,则所述通信功能测试结果为异常,若所述第一报文接收结果与所述预设报文相同,则所述通信功能测试结果为正常,所述第一测试报文为预设报文。In an embodiment of the present application, the second host computer determines the communication function test result according to the first message reception result, including: if the first message reception result is empty, the communication function test The result is abnormal. If the first message reception result is not empty, the communication function test result is normal; or if the first message reception result is different from the preset message, the communication function test result is normal. The test result is abnormal. If the first message reception result is the same as the preset message, then the communication function test result is normal and the first test message is a preset message.
于本申请的一实施例中,若所述通信功能测试结果、所述本地唤醒功能测试结果以及所述远程唤醒功能测试结果均为正常,调整通信速率,以对所述第一待测试非唤醒芯片组、所述第二待测试非唤醒芯片组、所述第一待测试唤醒芯片组以及所述第二待测试唤醒芯片组进行第一通信质量测试,根据调整通信速率后的报文接收结果确定第一通信质量测试结果。In an embodiment of the present application, if the communication function test result, the local wake-up function test result and the remote wake-up function test result are all normal, the communication rate is adjusted to enable the first non-wake-up function to be tested. The chipset, the second non-wakeup chipset to be tested, the first wakeup chipset to be tested, and the second wakeup chipset to be tested perform a first communication quality test, and the message reception results after adjusting the communication rate are Determine the first communication quality test result.
于本申请的一实施例中,若所述第一通信质量测试结果为良好,基于不同的温度对所述第一待测试非唤醒芯片组、所述第二待测试非唤醒芯片组、所述第一待测试唤醒芯片组以及所述第二待测试唤醒芯片组进行第二通信质量测试,根据不同温度下的报文接收结果确定第二通信质量测试结果。In an embodiment of the present application, if the first communication quality test result is good, the first non-wakeup chipset to be tested, the second non-wakeup chipset to be tested, and the The first wake-up chipset to be tested and the second wake-up chipset to be tested perform a second communication quality test, and the second communication quality test result is determined based on the message reception results at different temperatures.
于本申请的一实施例中,若所述第二通信质量测试结果为良好,基于不同的电磁强度对所述第一待测试非唤醒芯片组、所述第二待测试非唤醒芯片组、所述第一待测试唤醒芯片组以及所述第二待测试唤醒芯片组进行通信抗干扰能力测试,根据不同电磁强度下的报文接收结果确定通信抗干扰能力测试结果。In an embodiment of the present application, if the second communication quality test result is good, the first non-wakeup chipset to be tested, the second non-wakeup chipset to be tested, and the The first wake-up chipset to be tested and the second wake-up chipset to be tested perform a communication anti-interference capability test, and the communication anti-interference capability test results are determined based on the message reception results under different electromagnetic intensities.
于本申请的一实施例中,所述第一电源模块包括第一电源、第一PMOS管、第一电感器以及第一系统基础芯片;所述第一电源与所述第一PMOS管连接,所述第一PMOS管与所述第一电感器连接,所述第一电感器与所述第一系统基础芯片连接,所述第一系统基础芯片分别与所述第一单片机、所述第一待测试非唤醒芯片组以及所述第一待测试唤醒芯片组连接;所述第二电源模块包括第二电源、第二PMOS管、第二电感器以及第二系统基础芯片;所述第二电源与所述第二PMOS管连接,所述第二PMOS管与所述第二电感器连接,所述第二电感器与所述第二系统基础芯片连接,所述第二系统基础芯片分别与所述第二单片机、所述第二待测试非唤醒芯片组以及所述第二待测试唤醒芯片组连接;所述第一系统基础芯片包括第一电源转换器,所述第二系统基础芯片包括第二电源转换器。In an embodiment of the present application, the first power module includes a first power supply, a first PMOS tube, a first inductor and a first system basis chip; the first power supply is connected to the first PMOS tube, The first PMOS tube is connected to the first inductor, the first inductor is connected to the first system basic chip, and the first system basic chip is respectively connected to the first microcontroller and the first The non-wake-up chipset to be tested is connected to the first wake-up chipset to be tested; the second power supply module includes a second power supply, a second PMOS tube, a second inductor and a second system basis chip; the second power supply module Connected to the second PMOS tube, the second PMOS tube is connected to the second inductor, the second inductor is connected to the second system basic chip, and the second system basic chip is respectively connected to the The second microcontroller, the second non-wake-up chipset to be tested, and the second wake-up chipset to be tested are connected; the first system base chip includes a first power converter, and the second system base chip includes a third 2. Power converter.
于本申请的一实施例中,待测试芯片组中的芯片包括CAN芯片和LIN芯片中至少之一,所述待测试芯片组包括所述第一待测试非唤醒芯片组、所述第二待测试非唤醒芯片组、所述第一待测试唤醒芯片组以及所述第二待测试唤醒芯片组。In an embodiment of the present application, the chips in the chipset to be tested include at least one of a CAN chip and a LIN chip, and the chipset to be tested includes the first non-wakeup chipset to be tested, the second chip to be tested. Test the non-wake-up chipset, the first wake-up chipset to be tested, and the second wake-up chipset to be tested.
于本申请的一实施例中,所述车载通信芯片测试系统还包括第一电路板和第二电路板;所述第一系统基础芯片、所述第一单片机、所述第一待测试非唤醒芯片组以及所述第一待测试唤醒芯片组配置在所述第一电路板中;所述第二系统基础芯片、所述第二单片机、所述第二待测试非唤醒芯片组以及所述第二待测试唤醒芯片组配置在所述第二电路板中。In an embodiment of the present application, the vehicle communication chip test system further includes a first circuit board and a second circuit board; the first system basic chip, the first single chip microcomputer, the first non-wake-up circuit to be tested A chipset and the first wake-up chipset to be tested are configured in the first circuit board; the second system base chip, the second microcontroller, the second non-wakeup chipset to be tested, and the third The second wake-up chipset to be tested is configured in the second circuit board.
本发明的有益效果:本发明提供一种车载通信芯片测试系统,该车载通信芯片测试系统包括第一上位机、第二上位机、第一单片机、第二单片机、第一电源模块、第二电源模块、第一通信芯片、第二通信芯片、第一待测试非唤醒芯片组以及第二待测试非唤醒芯片组;通过将第一待测试非唤醒芯片组分别与第一上位机、第一单片机、第一电源模块以及第二待测试非唤醒芯片组连接,能够实现第一电源模块对第一待测试非唤醒芯片组进行供电,第一上位机对第一待测试非唤醒芯片组进行收发文控制,以及第一待测试非唤醒芯片组与第二待测试非唤醒芯片组之间的通信功能;通过第二待测试非唤醒芯片组分别与第二上位机、第二单片机以及第二电源模块连接,能够实现第二电源模块对第二待测试非唤醒芯片组进行供电,第二上位机对第二待测试非唤醒芯片组进行收发文控制;该车载通信芯片测试系统能够实现快速有效地对车载通信芯片进行批量测试,既缩短了测试周期,又减少了测试工作量,同时降低了测试成本。Beneficial effects of the present invention: The present invention provides a vehicle-mounted communication chip testing system. The vehicle-mounted communication chip testing system includes a first host computer, a second host computer, a first single-chip computer, a second single-chip computer, a first power module, and a second power supply. module, the first communication chip, the second communication chip, the first non-wakeup chipset to be tested and the second non-wakeup chipset to be tested; by connecting the first non-wakeup chipset to be tested with the first host computer and the first single chip microcomputer respectively , the first power module and the second non-wakeup chipset to be tested are connected, so that the first power module can supply power to the first non-wakeup chipset to be tested, and the first host computer can send and receive messages to the first non-wakeup chipset to be tested. control, and the communication function between the first non-wakeup chipset to be tested and the second non-wakeup chipset to be tested; through the second non-wakeup chipset to be tested, it communicates with the second host computer, the second microcontroller and the second power module respectively. The connection enables the second power module to supply power to the second non-wakeup chipset to be tested, and the second host computer to control the sending and receiving of messages to the second non-wakeup chipset to be tested; the vehicle communication chip test system can realize rapid and effective testing of Batch testing of vehicle communication chips not only shortens the test cycle, reduces the test workload, but also reduces the test cost.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本申请。It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and do not limit the present application.
附图说明Description of the drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本申请的实施例,并与说明书一起用于解释本申请的原理。显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术者来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。在附图中:The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without exerting creative efforts. In the attached picture:
图1是本申请的一示例性实施例示出的一种车载通信芯片测试系统的系统架构图;Figure 1 is a system architecture diagram of a vehicle communication chip testing system according to an exemplary embodiment of the present application;
图2是本申请的一示例性实施例示出的车载通信芯片通信功能测试的数据交互示意图;Figure 2 is a schematic diagram of data interaction for testing the communication function of a vehicle communication chip according to an exemplary embodiment of the present application;
图3是本申请的另一示例性实施例示出的一种车载通信芯片测试系统的系统架构图;Figure 3 is a system architecture diagram of a vehicle communication chip testing system according to another exemplary embodiment of the present application;
图4是本申请的一具体实施例示出的一种车载通信芯片测试系统的结构示意图;Figure 4 is a schematic structural diagram of a vehicle communication chip testing system according to a specific embodiment of the present application;
图5是图4所示实施例示出的车载通信芯片测试系统的测试流程图。FIG. 5 is a test flow chart of the vehicle communication chip test system shown in the embodiment shown in FIG. 4 .
具体实施方式Detailed ways
以下将参照附图和优选实施例来说明本申请的实施方式,本领域技术人员可由本说明书中所揭露的内容轻易地了解本申请的其他优点与功效。本申请还可以通过另外不同的具体实施方式加以实施或应用,本说明书中的各项细节也可以基于不同观点与应用,在没有背离本申请的精神下进行各种修饰或改变。应当理解,优选实施例仅为了说明本申请,而不是为了限制本申请的保护范围。The implementation of the present application will be described below with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can easily understand other advantages and effects of the present application from the content disclosed in this specification. This application can also be implemented or applied through other different specific embodiments. Various details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of this application. It should be understood that the preferred embodiments are only for illustrating the present application and are not intended to limit the protection scope of the present application.
需要说明的是,以下实施例中所提供的图示仅以示意方式说明本申请的基本构想,遂图式中仅显示与本申请中有关的组件而非按照实际实施时的组件数目、形状及尺寸绘制,其实际实施时各组件的型态、数量及比例可为一种随意的改变,且其组件布局型态也可能更为复杂。It should be noted that the illustrations provided in the following embodiments only illustrate the basic concept of the present application in a schematic manner, and the drawings only show the components related to the present application and do not follow the actual implementation of the component numbers, shapes and components. Dimension drawing, in actual implementation, the type, quantity and proportion of each component can be arbitrarily changed, and the component layout type may also be more complex.
需要说明的是,本申请中,“第一”、“第二”等仅为对相似对象的区分,并非是对相似对象的顺序限定或先后次序限定。所描述的“包括”、“具有”等变形,表示该词语的主语所涵盖的范围除该词语所示出的示例外,并不排他。It should be noted that in this application, "first", "second", etc. are only used to distinguish similar objects, and are not intended to limit the order or sequence of similar objects. The "include", "have" and other variations described in the description indicate that the scope covered by the subject of the word is not exclusive except for the examples shown by the word.
可以理解的是,在本申请中记载的各种数字编号、步序编号等标号为描述方便进行的区分,并不用来限制本申请的范围。本申请标号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定。It can be understood that the various numerical numbers, step numbers and other labels described in this application are for convenience of description and are not used to limit the scope of this application. The size of the labels in this application does not mean the order of execution. The order of execution of each process should be determined by its function and internal logic.
在下文描述中,探讨了大量细节,以提供对本申请实施例的更透彻的解释,然而,对本领域技术人员来说,可以在没有这些具体细节的情况下实施本申请的实施例是显而易见的,在其他实施例中,以方框图的形式而不是以细节的形式来示出公知的结构和设备,以避免使本申请的实施例难以理解。In the following description, numerous details are discussed in order to provide a more thorough explanation of the embodiments of the present application, however, it will be apparent to those skilled in the art that the embodiments of the present application may be practiced without these specific details. In other embodiments, well-known structures and devices are shown in block diagram form rather than in detail in order to avoid obscuring the embodiments of the present application.
需要说明的是,由于当前整车ECU基于传统的EE(Electrical/Electronic,电子电气)分布架构,车辆控制器分布较散,控制器与控制器之间都是通过通信芯片和线束进行通信来控制车辆的动力、底盘、车身等,根据车辆的低端到高端车辆可能会有几十甚至上百个控制器。因此车辆也会有几十颗甚至上百颗通信芯片,根据传统的车辆零部件验证方法,会进行零部件验证和整车验证。每个控制器经历较长的验证周期,付出的时间成本和人力成本较高,且整个验证流程走下来只能验证少数的一两颗通信芯片,通信质量与线束紧密相关,零部件实验线束可能会与整车通信线束不一致,造成实验结果不一致等影响。It should be noted that because the current vehicle ECU is based on the traditional EE (Electrical/Electronic, electronic and electrical) distribution architecture, vehicle controllers are scattered and controlled by communication between controllers through communication chips and wiring harnesses. The vehicle's power, chassis, body, etc. may have dozens or even hundreds of controllers depending on the low-end to high-end vehicle. Therefore, vehicles will also have dozens or even hundreds of communication chips. According to the traditional vehicle parts verification method, parts verification and complete vehicle verification will be performed. Each controller goes through a long verification cycle, which requires high time and labor costs. Moreover, the entire verification process can only verify a small number of one or two communication chips. The quality of communication is closely related to the wiring harness. The experimental wiring harness of parts may It will be inconsistent with the vehicle communication harness, causing inconsistent experimental results and other effects.
为解决这些问题,本申请的实施例提出一种车载通信芯片测试系统,以下将对这些实施例进行详细描述。In order to solve these problems, embodiments of the present application propose a vehicle communication chip testing system, and these embodiments will be described in detail below.
请参阅图1,图1是本申请的一示例性实施例示出的一种车载通信芯片测试系统的系统架构图。Please refer to FIG. 1 , which is a system architecture diagram of a vehicle communication chip testing system according to an exemplary embodiment of the present application.
如图1所示,车载通信芯片测试系统的系统架构可以包括第一上位机1、第二上位机2、第一单片机3、第二单片机4、第一电源模块5、第二电源模块6、第一通信芯片7、第二通信芯片8、第一待测试非唤醒芯片组9以及第二待测试非唤醒芯片组10。其中,第一待测试非唤醒芯片组9分别与第一上位机1、第一单片机3、第一电源模块5以及第二待测试非唤醒芯片组10连接;第二待测试非唤醒芯片组10分别与第二上位机2、第二单片机4以及第二电源模块6连接;第一单片机3与第一电源模块5连接;第二单片机4与第二电源模块6连接;第一通信芯片7配置在第一待测试非唤醒芯片组9中,第二通信芯片8配置在第二待测试非唤醒芯片组10中。As shown in Figure 1, the system architecture of the vehicle communication chip test system may include a first host computer 1, a second host computer 2, a first single-chip computer 3, a second single-chip computer 4, a first power supply module 5, a second power supply module 6, The first communication chip 7 , the second communication chip 8 , the first non-wakeup chipset to be tested 9 and the second non-wakeup chipset to be tested 10 . Among them, the first non-wakeup chipset 9 to be tested is respectively connected to the first host computer 1, the first single-chip computer 3, the first power module 5 and the second non-wakeup chipset 10 to be tested; the second non-wakeup chipset 10 to be tested are respectively connected to the second host computer 2, the second single-chip computer 4 and the second power module 6; the first single-chip computer 3 is connected to the first power module 5; the second single-chip computer 4 is connected to the second power module 6; the first communication chip 7 is configured In the first non-wakeup chipset 9 to be tested, the second communication chip 8 is configured in the second non-wakeup chipset 10 to be tested.
在本申请的一个实施例中,根据车载通信芯片(简称芯片)的特点对待测试芯片进行分类,得到待测试非唤醒芯片和待测试唤醒芯片,待测试非唤醒芯片是指不带唤醒功能的车载通信芯片,待测试唤醒芯片是指带唤醒功能的车载通信芯片,将多个待测试非唤醒芯片划分为两组,即第一待测试非唤醒芯片组9和第二待测试非唤醒芯片组10。在第一待测试非唤醒芯片组9中引出一组预留CAN,作为第一通信芯片7,在第二待测试非唤醒芯片组10中引出一组预留CAN,作为第二通信芯片8,上位机通过预留CAN对单片机进行收发报文的控制、观测收发报文是否有错误帧以及调整收发报文的速率。In one embodiment of the present application, the chips to be tested are classified according to the characteristics of vehicle communication chips (chips for short) to obtain non-wakeup chips to be tested and wake-up chips to be tested. The non-wakeup chips to be tested refer to vehicle-mounted communication chips without a wake-up function. Communication chip, the wake-up chip to be tested refers to a vehicle-mounted communication chip with a wake-up function. Multiple non-wake-up chips to be tested are divided into two groups, namely the first non-wake-up chipset to be tested 9 and the second non-wake-up chipset to be tested 10 . A group of reserved CANs is introduced in the first non-wakeup chipset 9 to be tested as the first communication chip 7, and a group of reserved CANs is introduced in the second non-wakeup chipset 10 to be tested as the second communication chip 8, The host computer controls the microcontroller to send and receive messages by reserving CAN, observes whether there are error frames in the sent and received messages, and adjusts the rate of sending and receiving messages.
在本实施例中,待测试芯片包括CAN芯片和LIN芯片中至少之一,选择一款CAN和/或LIN通信接口丰富的单片机分别作为第一单片机3和第二单片机4,其中,第一单片机3和第二单片机4分别预留JTAG(Joint Test Action Group,联合测试工作组)调试接口,各上位机(第一上位机1或第二上位机2)通过预留JTAG调试接口方便对相应的单片机(第一单片机3或第二单片机4)接口进行配置。电源模块(第一电源模块5和第二电源模块6)为整个系统架构提供点电源。In this embodiment, the chip to be tested includes at least one of a CAN chip and a LIN chip, and a single-chip microcomputer with rich CAN and/or LIN communication interfaces is selected as the first single-chip computer 3 and the second single-chip computer 4 respectively, where the first single-chip computer 3 and the second microcontroller 4 respectively reserve JTAG (Joint Test Action Group, joint test working group) debugging interface. Each host computer (the first host computer 1 or the second host computer 2) facilitates the corresponding debugging interface by reserving the JTAG debugging interface. The interface of the single-chip computer (the first single-chip computer 3 or the second single-chip computer 4) is configured. The power modules (the first power module 5 and the second power module 6) provide point power for the entire system architecture.
本申请实施例的车载通信芯片测试系统通过电源模块对待测试非唤醒芯片组(第一待测试非唤醒芯片组9和第二待测试非唤醒芯片组10)进行供电,通过上位机对待测试非唤醒芯片组进行收发文控制,能够实现第一待测试非唤醒芯片组与第二待测试非唤醒芯片组之间的通信功能,并且快速有效地对车载通信芯片进行批量测试,既缩短了测试周期,又减少了测试工作量,降低了测试成本。The vehicle communication chip testing system of the embodiment of the present application supplies power to the non-wakeup chipset to be tested (the first non-wakeup chipset to be tested 9 and the second non-wakeup chipset to be tested 10) through the power module. The chipset controls sending and receiving messages and can realize the communication function between the first non-wakeup chipset to be tested and the second non-wakeup chipset to be tested, and quickly and effectively conduct batch testing of vehicle communication chips, which not only shortens the test cycle, but also shortens the test cycle. It also reduces the testing workload and reduces the testing cost.
在本申请的一个实施例中,若对第一待测试非唤醒芯片组9和第二待测试非唤醒芯片组10进行通信功能测试,第一上位机1通过第一通信芯片7向第一单片机3发送第一上电控制指令,第一单片机3通过第一上电控制指令对第一电源模块5进行使能控制,以使第一电源模块5为第一待测试非唤醒芯片组9进行供电;第二上位机2通过第二通信芯片8向第二单片机4发送第二上电控制指令,第二单片机4通过第二上电控制指令对第二电源模块6进行使能控制,以使第二电源模块6为第二待测试非唤醒芯片组10进行供电;第一上位机1将第一测试报文传输给第一待测试非唤醒芯片组9,并控制第一待测试非唤醒芯片组9发送第一测试报文;第二上位机2控制第二待测试非唤醒芯片组10进行报文接收,得到第一报文接收结果;第二上位机2根据第一报文接收结果确定通信功能测试结果。In one embodiment of the present application, if the communication function test is performed on the first non-wakeup chipset 9 to be tested and the second non-wakeup chipset 10 to be tested, the first host computer 1 transmits a signal to the first microcontroller through the first communication chip 7 3. Send the first power-on control command, and the first microcontroller 3 performs enable control on the first power module 5 through the first power-on control command, so that the first power module 5 supplies power to the first non-wake-up chipset 9 to be tested. ; The second host computer 2 sends a second power-on control instruction to the second single-chip computer 4 through the second communication chip 8, and the second single-chip computer 4 enables the second power supply module 6 through the second power-on control instruction, so that the second power-on control instruction is enabled. The second power module 6 supplies power to the second non-wakeup chipset 10 to be tested; the first host computer 1 transmits the first test message to the first non-wakeup chipset 9 to be tested, and controls the first non-wakeup chipset 9 to be tested. 9. Send the first test message; the second host computer 2 controls the second non-wakeup chipset 10 to be tested to receive the message and obtain the first message reception result; the second host computer 2 determines the communication according to the first message reception result. Functional test results.
请参阅图2,图2是本申请的一示例性实施例示出的车载通信芯片通信功能测试的数据交互示意图。如图2所示,测试人员对第一上位机1进行操作,第一上位机1将第一测试报文传输给第一待测试非唤醒芯片组9,对第一待测试非唤醒芯片组9进行报文发送控制,以使第一待测试非唤醒芯片组9发送第一测试报文,对第二上位机2进行操作,第二上位机2对第二待测试非唤醒芯片组10进行报文接收控制,以使第二待测试非唤醒芯片组10接收报文,得到第一报文接收结果并返回给第二上位机2。当第二待测试非唤醒芯片组10接收到报文,将接收到的报文作为第一报文接收结果;当第二待测试非唤醒芯片组10没有接收到报文,将空值作为第一报文接收结果。Please refer to Figure 2. Figure 2 is a schematic diagram of data interaction for testing the communication function of a vehicle communication chip according to an exemplary embodiment of the present application. As shown in Figure 2, the tester operates the first host computer 1, the first host computer 1 transmits the first test message to the first non-wakeup chipset 9 to be tested, and the first non-wakeup chipset 9 to be tested Carry out message sending control so that the first non-wakeup chipset 9 to be tested sends a first test message to operate the second host computer 2, and the second host computer 2 reports to the second non-wakeup chipset 10 to be tested. Message reception control is performed so that the second non-wakeup chipset 10 to be tested receives the message, obtains the first message reception result and returns it to the second host computer 2 . When the second non-wakeup chipset 10 under test receives a message, the received message is regarded as the first message reception result; when the second non-wakeup chipset 10 under test does not receive a message, a null value is used as the first message reception result. A message reception result.
在上述测试前,电源模块(第一电源模块5和第二电源模块6)需要对车载通信芯片测试系统上常电,第一上位机1发送第一上电控制指令,第一通信芯片7将第一上电控制指令传输给第一单片机3,第一单片机3响应于第一上电控制指令,对第一电源模块5进行使能控制,唤醒第一电源模块5,以使第一电源模块5为第一待测试非唤醒芯片组9进行正常供电。相应的,第二上位机2发送第二上电控制指令,第二通信芯片8将第一上电控制指令传输给第二单片机4,第二单片机4响应于第二上电控制指令,对第二电源模块6进行使能控制,唤醒第二电源模块6,以使第二电源模块6为第二待测试非唤醒芯片组10进行正常供电。Before the above test, the power module (the first power module 5 and the second power module 6) needs to power on the vehicle communication chip test system. The first host computer 1 sends a first power-on control command, and the first communication chip 7 will The first power-on control instruction is transmitted to the first single-chip computer 3. In response to the first power-on control instruction, the first single-chip computer 3 performs enable control on the first power module 5 and wakes up the first power module 5 to enable the first power module 5. 5 provides normal power supply to the first non-wake-up chipset 9 to be tested. Correspondingly, the second host computer 2 sends a second power-on control instruction, the second communication chip 8 transmits the first power-on control instruction to the second single-chip computer 4, and the second single-chip computer 4 responds to the second power-on control instruction. The second power module 6 performs enable control and wakes up the second power module 6 so that the second power module 6 provides normal power supply to the second non-wakeup chipset 10 to be tested.
在本实施例中,第一单片机3与第一电源模块5之间采用硬线连接,第二单片机4与第二电源模块6之间采用硬线连接。In this embodiment, the first single-chip computer 3 and the first power module 5 are connected by hard wires, and the second single-chip computer 4 and the second power module 6 are connected by hard wires.
本实施例的技术方案通过上位机控制待测试非唤醒芯片组(包括第一待测试非唤醒芯片组9和第二待测试非唤醒芯片组10)收发报文,以对待测试非唤醒芯片组中的车载通信芯片进行通信功能测试,能够实现快速有效地对车载通信芯片进行批量测试,既缩短了测试周期,又减少了测试工作量,同时降低了测试成本。The technical solution of this embodiment uses the host computer to control the non-wakeup chipset to be tested (including the first non-wakeup chipset to be tested 9 and the second non-wakeup chipset to be tested 10) to send and receive messages to the non-wakeup chipset to be tested. Carry out communication function testing of vehicle communication chips, which can quickly and effectively batch test vehicle communication chips, which not only shortens the test cycle, reduces the test workload, but also reduces the test cost.
在本申请的一个实施例中,第二上位机2根据第一报文接收结果确定通信功能测试结果,包括:若第一报文接收结果为空,则通信功能测试结果为异常,若第一报文接收结果不为空,则通信功能测试结果为正常。In one embodiment of the present application, the second host computer 2 determines the communication function test result based on the first message reception result, including: if the first message reception result is empty, the communication function test result is abnormal, and if the first message reception result is empty, the communication function test result is abnormal. If the message reception result is not empty, the communication function test result is normal.
在该实施例中,只有在待测试非唤醒芯片组中的芯片均正常的情况下,第二待测试非唤醒芯片组10才能接收到报文。因此,第二上位机2在接收到第二待测试非唤醒芯片组10返回的第一报文接收结果后,对第一报文接收结果进行判断,若第一报文接收结果不为空,此时可以判定通信功能测试结果为正常,若第一报文接收结果为空,此时可以判定通信功能测试结果为异常。In this embodiment, the second non-wakeup chipset to be tested 10 can receive the message only when all chips in the non-wakeup chipset to be tested are normal. Therefore, after receiving the first message reception result returned by the second non-wakeup chipset 10 to be tested, the second host computer 2 judges the first message reception result. If the first message reception result is not empty, At this time, it can be determined that the communication function test result is normal. If the first message reception result is empty, it can be determined that the communication function test result is abnormal.
在本申请的另一个实施例中,第二上位机2根据第一报文接收结果确定通信功能测试结果,还包括:若第一报文接收结果与预设报文不同,则通信功能测试结果为异常,若第一报文接收结果与预设报文相同,则通信功能测试结果为正常,第一测试报文为预设报文。In another embodiment of the present application, the second host computer 2 determines the communication function test result based on the first message reception result, which further includes: if the first message reception result is different from the preset message, the communication function test result is abnormal. If the first message reception result is the same as the preset message, the communication function test result is normal and the first test message is the preset message.
在该实施例中,由于待测试芯片也可能出现收发功能正常,但收发的报文异常的情况,如果仅仅根据第一报文接收结果是否为空来作为通信功能测试结果是否正常的依据,准确性可能不高。因此,预设报文作为第一测试报文,只有在第二待测试非唤醒芯片组10接收到正确的报文,即第一报文接收结果与预设报文相同时,则通信功能测试结果为正常,若第二待测试非唤醒芯片组10接收到错误的报文或者没有接收到报文,即第一报文接收结果与预设报文不同时,则通信功能测试结果为异常。In this embodiment, since the chip to be tested may also have normal transceiver functions but abnormal messages sent and received, if only whether the first message received result is empty is used as the basis for whether the communication function test result is normal, it will be accurate. Sex may not be high. Therefore, the preset message is used as the first test message. Only when the second non-wakeup chipset 10 to be tested receives the correct message, that is, when the first message reception result is the same as the preset message, the communication function test The result is normal. If the second non-awakening chipset 10 under test receives an incorrect message or does not receive a message, that is, when the first message reception result is different from the preset message, the communication function test result is abnormal.
在本申请的另一个实施例中,还可以根据第一上位机1是否收到错误帧判断通信功能测试结果,若第一上位机1收到错误帧,则判定通信功能测试结果为异常,若第一上位机1没有收到错误帧,则判定通信功能测试结果为正常。In another embodiment of the present application, the communication function test result can also be determined based on whether the first host computer 1 receives an error frame. If the first host computer 1 receives an error frame, the communication function test result is determined to be abnormal. If If the first host computer 1 does not receive the error frame, it is determined that the communication function test result is normal.
上述实施例对第一待测试非唤醒芯片组9的发文功能和第二待测试非唤醒芯片组10的收文功能进行了测试,相应的,还可以对第一待测试非唤醒芯片组9的收文功能和第二待测试非唤醒芯片组10的发文功能进行测试,测试原理与上述实施例一致,此处不进行赘述。The above embodiment tests the text sending function of the first non-wakeup chipset 9 to be tested and the text reception function of the second non-wakeup chipset 10 to be tested. Correspondingly, the text reception function of the first non-wakeup chipset 9 to be tested can also be tested. The function and the sending function of the second non-wakeup chipset 10 to be tested are tested. The testing principle is consistent with the above embodiment and will not be described again here.
在本申请的一个实施例中,车载通信芯片测试系统还包括第一待测试唤醒芯片组11和第二待测试唤醒芯片组12;第一待测试唤醒芯片组11分别与第一单片机3、第一电源模块5以及第二待测试唤醒芯片组12连接;第二待测试唤醒芯片组12分别与第二单片机4以及第二电源模块6连接;若对第一待测试唤醒芯片组11进行本地唤醒功能测试,第一上位机1通过第一通信芯片7对第一单片机3进行控制,以使第一单片机3向第一待测试唤醒芯片组11发送本地唤醒信号,对第一待测试唤醒芯片组11进行本地唤醒;第一上位机1通过第一通信芯片7将第二测试报文传输给第一单片机3,第一单片机3将第二测试报文传输给第一待测试唤醒芯片组11,并控制第一待测试唤醒芯片组11发送第二测试报文;第二待测试唤醒芯片组12进行报文接收,得到第二报文接收结果并传输至第二单片机4,第二单片机4通过第二通信芯片8将第二报文结果传输至第二上位机2;第二上位机2根据第二报文接收结果确定本地唤醒功能测试结果。In one embodiment of the present application, the vehicle communication chip testing system also includes a first wake-up chipset to be tested 11 and a second wake-up chipset to be tested 12; the first wake-up chipset to be tested 11 is connected to the first single-chip computer 3 and the second single-chip microcomputer 3 respectively. A power module 5 is connected to the second wake-up chipset 12 to be tested; the second wake-up chipset 12 to be tested is connected to the second microcontroller 4 and the second power module 6 respectively; if the first wake-up chipset 11 to be tested is locally woken up For functional testing, the first host computer 1 controls the first microcontroller 3 through the first communication chip 7, so that the first microcontroller 3 sends a local wake-up signal to the first wake-up chipset 11 to be tested, and wakes up the first chipset to be tested. 11 performs local wake-up; the first host computer 1 transmits the second test message to the first single-chip computer 3 through the first communication chip 7, and the first single-chip computer 3 transmits the second test message to the first wake-up chipset to be tested 11, And control the first wake-up chipset 11 to be tested to send the second test message; the second wake-up chipset 12 to be tested receives the message, obtains the second message reception result and transmits it to the second single-chip computer 4, and the second single-chip computer 4 passes The second communication chip 8 transmits the second message result to the second host computer 2; the second host computer 2 determines the local wake-up function test result according to the second message reception result.
请参阅图3,图3是本申请的另一示例性实施例示出的一种车载通信芯片测试系统的系统架构图。如图3所示,该系统架构可以包括第一上位机1、第二上位机2、第一单片机3、第二单片机4、第一电源模块5、第二电源模块6、第一通信芯片7、第二通信芯片8、第一待测试非唤醒芯片组9、第二待测试非唤醒芯片组10、第一待测试唤醒芯片组11、第二待测试唤醒芯片组12。其中,第一待测试非唤醒芯片组9分别与第一上位机1、第一单片机3、第一电源模块5以及第二待测试非唤醒芯片组10连接;第二待测试非唤醒芯片组10分别与第二上位机2、第二单片机4以及第二电源模块6连接;第一通信芯片7配置在第一待测试非唤醒芯片组9中,第二通信芯片8配置在第二待测试非唤醒芯片组10中;第一待测试唤醒芯片组11分别与第一单片机3、第一电源模块5以及第二待测试唤醒芯片组12连接;第二待测试唤醒芯片组12分别与第二单片机4以及第二电源模块6连接;第一单片机3与第一电源模块5连接;第二单片机4与第二电源模块6连接。Please refer to FIG. 3 , which is a system architecture diagram of a vehicle communication chip testing system according to another exemplary embodiment of the present application. As shown in Figure 3, the system architecture may include a first host computer 1, a second host computer 2, a first microcontroller 3, a second microcontroller 4, a first power module 5, a second power module 6, and a first communication chip 7 , the second communication chip 8, the first non-wakeup chipset 9 to be tested, the second non-wakeup chipset 10 to be tested, the first wakeup chipset 11 to be tested, and the second wakeup chipset 12 to be tested. Among them, the first non-wakeup chipset 9 to be tested is respectively connected to the first host computer 1, the first single-chip computer 3, the first power module 5 and the second non-wakeup chipset 10 to be tested; the second non-wakeup chipset 10 to be tested They are respectively connected to the second host computer 2, the second microcontroller 4 and the second power module 6; the first communication chip 7 is configured in the first non-wake-up chipset 9 to be tested, and the second communication chip 8 is configured in the second non-wakeup chipset 9 to be tested. In the wake-up chipset 10, the first wake-up chipset 11 to be tested is connected to the first single chip microcomputer 3, the first power module 5 and the second wake-up chipset 12 to be tested respectively; the second wake-up chipset 12 to be tested is connected to the second single chip microcomputer respectively. 4 and the second power module 6 are connected; the first single-chip computer 3 is connected with the first power module 5; the second single-chip computer 4 is connected with the second power module 6.
该系统架构除了可以对待测试芯片进行通信功能进行测试,还可以对待测试芯片的本地唤醒功能进行测试。通信功能的测试流程请参见前述各个实施例中的记载,本处不再对此进行赘述。在确定第一待测试唤醒芯片组11和第二待测试唤醒芯片组12的通信功能测试结果为正常后,若对第一待测试唤醒芯片组11进行本地唤醒功能测试,在车载通信芯片测试系统上常电后,测试人员不对第一上位机1不进行任何操作,以使第一待测试唤醒芯片组11和第一电源模块5进入休眠状态。第一待测试唤醒芯片组11进入休眠状态后,测试人员对第一上位机1进行操作,第一上位机1通过第一通信芯片7向第一单片机3发送本地唤醒控制指令,第一单片机3响应于本地唤醒控制指令,向第一待测试唤醒芯片组11发送本地唤醒信号,对第一待测试唤醒芯片组11进行本地唤醒。第一待测试唤醒芯片组11被唤醒后,对第一电源模块5进行使能控制,唤醒第一电源模块5,以使第一电源模块5对第一待测试唤醒芯片组11进行正常供电。In addition to testing the communication function of the chip to be tested, this system architecture can also test the local wake-up function of the chip to be tested. For the test process of the communication function, please refer to the records in the aforementioned embodiments, which will not be described again here. After it is determined that the communication function test results of the first wake-up chipset to be tested 11 and the second wake-up chipset to be tested 12 are normal, if a local wake-up function test is performed on the first wake-up chipset to be tested 11, in the vehicle communication chip test system After powering on, the tester does not perform any operation on the first host computer 1 so that the first wake-up chipset 11 to be tested and the first power module 5 enter the sleep state. After the first wake-up chipset 11 to be tested enters the sleep state, the tester operates the first host computer 1. The first host computer 1 sends a local wake-up control command to the first single-chip computer 3 through the first communication chip 7. The first single-chip computer 3 In response to the local wake-up control instruction, a local wake-up signal is sent to the first wake-up chipset 11 to be tested, and the first wake-up chipset 11 to be tested is locally woken up. After the first wake-up chipset 11 to be tested is awakened, the first power module 5 is enabled and controlled to wake up the first power module 5 so that the first power module 5 can provide normal power supply to the first wake-up chipset 11 to be tested.
此外,第二上位机2发送第二上电控制指令,第二通信芯片8将第一上电控制指令传输给第二单片机4,第二单片机4响应于第二上电控制指令,对第二电源模块6进行使能控制,唤醒第二电源模块6,以使第二电源模块6为第二待测试非唤醒芯片组10和第二待测试唤醒芯片组12进行正常供电。In addition, the second host computer 2 sends a second power-on control instruction, the second communication chip 8 transmits the first power-on control instruction to the second single-chip computer 4, and the second single-chip computer 4 responds to the second power-on control instruction. The power module 6 performs enable control and wakes up the second power module 6 so that the second power module 6 provides normal power supply to the second non-wakeup chipset 10 to be tested and the second wakeup chipset 12 to be tested.
第一上位机1将预设报文作为第一测试报文,生成包括第二测试报文的发文控制指令并发送给第一通信芯片7,以使第一通信芯片7将发文控制指令传输给第一单片机3;第一单片机3响应于发文控制指令,将第二测试报文传输给第一待测试唤醒芯片组11,并控制第一待测试唤醒芯片组11发送第二测试报文;第二待测试唤醒芯片组12进行报文接收,生成第二报文接收结果并传输至第二单片机4,第二单片机4通过第二通信芯片8将第二报文结果传输至第二上位机2;第二上位机2接收到第二报文接收结果后,将第二报文结果与预设报文进行比对,确定本地唤醒功能测试结果,若第二报文结果与预设报文相同,则本地唤醒功能测试结果为正常,反之,本地唤醒功能测试结果为异常。The first host computer 1 uses the preset message as the first test message, generates a sending control instruction including the second test message and sends it to the first communication chip 7, so that the first communication chip 7 transmits the sending control instruction to The first single-chip computer 3; in response to the sending control command, the first single-chip computer 3 transmits the second test message to the first wake-up chipset to be tested 11, and controls the first wake-up chipset to be tested 11 to send the second test message; The second test wakes up the chipset 12 to receive the message, generates the second message reception result and transmits it to the second single-chip computer 4. The second single-chip computer 4 transmits the second message result to the second host computer 2 through the second communication chip 8. ; After receiving the second message reception result, the second host computer 2 compares the second message result with the preset message to determine the local wake-up function test result. If the second message result is the same as the preset message , then the local wake-up function test result is normal, otherwise, the local wake-up function test result is abnormal.
以此类推,还可以对第二待测试唤醒芯片组12的本地唤醒功能进行测试。By analogy, the local wake-up function of the second wake-up chipset 12 to be tested can also be tested.
本实施例的技术方案实现了对待测试芯片的本地唤醒功能进行批量测试,进一步缩短了测试周期,降低了测试成本。The technical solution of this embodiment enables batch testing of the local wake-up function of the chip to be tested, further shortening the test cycle and reducing test costs.
在本申请的一个实施例中,车载通信芯片测试系统还包括连接器13;第一待测试唤醒芯片组11通过连接器13与第二待测试唤醒芯片组12连接;第一待测试非唤醒芯片组9通过连接器13与第二待测试非唤醒芯片组10连接;连接器13包括第一连接器131和第二连接器132,第一连接器131和第二连接器132之间采用线束连接,线束的参数满足预设条件。若对第一待测试唤醒芯片组11进行远程唤醒功能测试,第二上位机2通过第二通信芯片8对第二单片机4进行控制,以使第二单片机4通过第二待测试唤醒芯片组12向第一待测试唤醒芯片组11发送远程唤醒信号,对第一待测试唤醒芯片组11、第一电源模块5以及第一单片机3进行远程唤醒;第一单片机3通过第一待测试唤醒芯片组11进行报文接收,得到第三报文接收结果并传输至第一上位机1;第一上位机1根据第三报文接收结果确定远程唤醒功能测试结果。In one embodiment of the present application, the vehicle communication chip testing system also includes a connector 13; the first wake-up chipset 11 to be tested is connected to the second wake-up chipset 12 to be tested through the connector 13; the first non-wakeup chip to be tested Group 9 is connected to the second non-wakeup chipset 10 to be tested through connector 13; connector 13 includes a first connector 131 and a second connector 132, and a wire harness is used to connect the first connector 131 and the second connector 132. , the parameters of the wire harness meet the preset conditions. If the remote wake-up function test is performed on the first wake-up chipset 11 to be tested, the second host computer 2 controls the second single-chip microcomputer 4 through the second communication chip 8 so that the second single-chip microcomputer 4 wakes up the second single-chip microcomputer 4 through the second wake-up chipset 12 to be tested. Send a remote wake-up signal to the first wake-up chipset to be tested 11 to remotely wake up the first wake-up chipset to be tested 11, the first power module 5 and the first single chip microcomputer 3; the first single chip microcomputer 3 wakes up the first chipset to be tested through the first wake-up chipset to be tested 11 receives the message, obtains the third message reception result and transmits it to the first host computer 1; the first host computer 1 determines the remote wake-up function test result based on the third message reception result.
在该实施例中,为了模拟整车通信,在车载通信芯片测试系统中配置了两个连接器,即第一连接器131和第二连接器132,第一连接器131和第二连接器132之间采用线束连接,且线束的参数满足预设条件,其中,线束的参数满足预设条件是指线束的长度、阻抗和材料要与整车通信的网络线束相同或相似。并且应特定区分其点对点连接,一对多连接按照实车的通信网络布置第一连接器131与第二连接器132之间的线束网络。第一待测试非唤醒芯片组9和第一待测试唤醒芯片组11与分别与第一连接器131相连,实现对外通信。第二待测试非唤醒芯片组10和第二待测试唤醒芯片组12与分别与第二连接器132相连,实现对外通信。In this embodiment, in order to simulate vehicle communication, two connectors are configured in the vehicle communication chip test system, namely the first connector 131 and the second connector 132; They are connected by wire harnesses, and the parameters of the wire harness meet the preset conditions. The parameters of the wire harness meeting the preset conditions mean that the length, impedance and material of the wire harness must be the same or similar to the network wire harness for vehicle communication. And the point-to-point connection should be specifically distinguished, and the one-to-many connection should arrange the wiring harness network between the first connector 131 and the second connector 132 according to the communication network of the actual vehicle. The first non-wake-up chipset 9 to be tested and the first wake-up chipset 11 to be tested are respectively connected to the first connector 131 to achieve external communication. The second non-wake-up chipset 10 to be tested and the second wake-up chipset 12 to be tested are respectively connected to the second connector 132 to achieve external communication.
由于该车载通信芯片测试系统与整车通信相似,对待测试芯片进行通信功能测试和本地唤醒功能测试的准确性也更高。此外,该车载通信芯片测试系统还可以对待测试芯片进行远程唤醒功能测试。在确定第一待测试唤醒芯片组11和第二待测试唤醒芯片组12的通信功能测试结果为正常后,若对第一待测试唤醒芯片组11进行远程唤醒功能测试,在车载通信芯片测试系统上常电后,测试人员不对第一上位机1不进行任何操作,以使第一待测试唤醒芯片组11、第一电源模块5以及第一单片机3进入休眠状态。当三者进入休眠状态后,测试人员对第二上位机2进行操作,第二上位机2通过第二通信芯片8向第二单片机4发送远程唤醒控制指令,第二单片机4响应于远程唤醒控制指令,生成远程唤醒信号并传输第二待测试唤醒芯片组12,以使第二待测试唤醒芯片组12向第一待测试唤醒芯片组11发送远程唤醒信号,对第一待测试唤醒芯片组11进行远程唤醒。示意性的,远程唤醒型号可以是任意帧,或者是固定帧。第一待测试唤醒芯片组11被唤醒后,对第一电源模块5进行使能控制,唤醒第一电源模块5,以使第一电源模块5对第一待测试唤醒芯片组11和第一单片机3进行正常供电,唤醒第一单片机3。第一单片机3被唤醒后,获取第一待测试唤醒芯片组11接收的远程唤醒报文,作为第三报文接收结果并发送至第一上位机1。第一上位机1对第三报文接收结果进行判断,若第三报文接收结果没有错误帧,则远程唤醒功能测试结果为正常,反之,远程唤醒功能测试结果为异常。Since the vehicle communication chip test system is similar to the vehicle communication, the accuracy of the communication function test and local wake-up function test of the chip to be tested is also higher. In addition, the vehicle communication chip test system can also test the remote wake-up function of the chip to be tested. After it is determined that the communication function test results of the first wake-up chipset to be tested 11 and the second wake-up chipset to be tested 12 are normal, if the remote wake-up function test is performed on the first wake-up chipset to be tested 11, in the vehicle communication chip test system After powering on, the tester does not perform any operation on the first host computer 1 so that the first wake-up chipset 11 to be tested, the first power module 5 and the first microcontroller 3 enter the sleep state. When the three enter the sleep state, the tester operates the second host computer 2. The second host computer 2 sends a remote wake-up control instruction to the second single-chip computer 4 through the second communication chip 8. The second single-chip computer 4 responds to the remote wake-up control command. Instructions to generate a remote wake-up signal and transmit the second wake-up chipset 12 to be tested, so that the second wake-up chipset 12 to be tested sends a remote wake-up signal to the first wake-up chipset 11 to be tested, and to the first wake-up chipset 11 to be tested. Perform remote wake-up. Illustratively, the remote wake-up model can be an arbitrary frame or a fixed frame. After the first wake-up chipset to be tested 11 is awakened, the first power module 5 is enabled and controlled to wake up the first power module 5 so that the first power module 5 can activate the first wake-up chipset 11 to be tested and the first microcontroller. 3 performs normal power supply and wakes up the first microcontroller 3. After the first microcontroller 3 is awakened, it obtains the remote wake-up message received by the first wake-up chipset 11 to be tested as the third message reception result and sends it to the first host computer 1 . The first host computer 1 judges the third message reception result. If there is no error frame in the third message reception result, the remote wake-up function test result is normal; otherwise, the remote wake-up function test result is abnormal.
以此类推,还可以对第二待测试唤醒芯片组12的远程唤醒功能进行测试。By analogy, the remote wake-up function of the second wake-up chipset 12 to be tested can also be tested.
本实施例的技术方案实现了对待测试芯片的远程唤醒功能进行批量测试,进一步缩短了测试周期,降低了测试成本,同时,由于该系统的通信方式与整车通信更为相似,对待测试芯片的本地唤醒功能与通信功能测试的准确性也更高。The technical solution of this embodiment enables batch testing of the remote wake-up function of the chip to be tested, further shortening the test cycle and reducing the test cost. At the same time, because the communication method of the system is more similar to the vehicle communication, the remote wake-up function of the chip to be tested is The local wake-up function and communication function tests are also more accurate.
在本申请的一个实施例中,第一电源模块5包括第一电源51、第一PMOS管52、第一电感器53以及第一系统基础芯片54;第一电源51与第一PMOS管52连接,第一PMOS管52连接与第一电感器53连接,第一电感器53与第一系统基础芯片54连接,第一系统基础芯片54分别与第一单片机3、第一待测试非唤醒芯片组9以及第一待测试唤醒芯片组11连接;第二电源模块6包括第二电源61、第二PMOS管62、第二电感器63以及第二系统基础芯片64;第二电源61与第二PMOS管62连接,第二PMOS管62与第二电感器63连接,第二电感器63与第二系统基础芯片64连接,第二系统基础芯片64分别与第二单片机4、第二待测试非唤醒芯片组10以及第二待测试唤醒芯片组12连接;第一系统基础芯片54包括第一电源转换器,第二系统基础芯片64包括第二电源转换器。In one embodiment of the present application, the first power module 5 includes a first power supply 51, a first PMOS tube 52, a first inductor 53 and a first system basis chip 54; the first power supply 51 is connected to the first PMOS tube 52 , the first PMOS tube 52 is connected to the first inductor 53, the first inductor 53 is connected to the first system basic chip 54, and the first system basic chip 54 is respectively connected to the first microcontroller 3 and the first non-wakeup chipset to be tested. 9 is connected to the first wake-up chipset 11 to be tested; the second power module 6 includes a second power supply 61, a second PMOS transistor 62, a second inductor 63 and a second system basis chip 64; the second power supply 61 and the second PMOS The tube 62 is connected, the second PMOS tube 62 is connected to the second inductor 63, the second inductor 63 is connected to the second system basic chip 64, the second system basic chip 64 is respectively connected to the second microcontroller 4 and the second non-wakeup to be tested. The chipset 10 and the second wake-up chipset 12 to be tested are connected; the first system basis chip 54 includes a first power converter, and the second system basis chip 64 includes a second power converter.
在该实施例中,电源(第一电源51或第二电源61)提供12V常电,模拟整车小电瓶电源,12V常电经过PMOS管(第一PMOS管52或第二PMOS管62)防反设计,再通过电感器(第一电感器53或第二电感器63)平缓电源冲击,最后平稳的到达SBC(System Basis Chip,系统基础芯片)系统芯片(第一系统基础芯片54或第二系统基础芯片64)。SBC系统芯片包括开关电源DC-DC(直流转直流电源转换器)和线性稳压器LDO(Low Dropout Regulator,低压差线性稳压器),并且带CAN、LIN以及复位功能等,SBC系统芯片通过开关电源DC-DC和线性稳压器LDO向单片机和待测试芯片组提供不同的、稳定的电压,主要承担为整个系统提供点电源的作用,此外,SBC系统芯片还用于唤醒单片机。In this embodiment, the power supply (the first power supply 51 or the second power supply 61) provides 12V normal power, simulating the small battery power supply of the whole vehicle, and the 12V normal power passes through the PMOS tube (the first PMOS tube 52 or the second PMOS tube 62) to prevent Reverse design, then smooth the power impact through the inductor (the first inductor 53 or the second inductor 63), and finally smoothly reach the SBC (System Basis Chip, system basic chip) system chip (the first system basic chip 54 or the second System Basis Chip 64). The SBC system chip includes a switching power supply DC-DC (DC to DC power converter) and a linear regulator LDO (Low Dropout Regulator, low voltage dropout linear regulator), and has CAN, LIN and reset functions. The SBC system chip has passed The switching power supply DC-DC and the linear regulator LDO provide different, stable voltages to the microcontroller and the chipset under test, and are mainly responsible for providing point power for the entire system. In addition, the SBC system chip is also used to wake up the microcontroller.
在本申请的一个实施例中,待测试芯片组中的芯片包括CAN芯片和LIN芯片中至少之一,待测试芯片组包括第一待测试非唤醒芯片组9、第二待测试非唤醒芯片组10、第一待测试唤醒芯片组11以及第二待测试唤醒芯片组12。In one embodiment of the present application, the chips in the chipset to be tested include at least one of a CAN chip and a LIN chip, and the chipset to be tested includes a first non-wakeup chipset to be tested 9 and a second non-wakeup chipset to be tested. 10. The first wake-up chipset to be tested 11 and the second wake-up chipset to be tested 12 .
在本申请的一个实施例中,车载通信芯片测试系统还包括第一电路板和第二电路板;第一系统基础芯片54、第一单片机3、第一待测试非唤醒芯片组9以及第一待测试唤醒芯片组11配置在第一电路板中;第二系统基础芯片64、第二单片机4、第二待测试非唤醒芯片组10以及第二待测试唤醒芯片组12配置在第二电路板中。In one embodiment of the present application, the vehicle communication chip testing system also includes a first circuit board and a second circuit board; a first system basic chip 54, a first microcontroller 3, a first non-wake-up chipset to be tested 9 and a first The wake-up chipset 11 to be tested is configured on the first circuit board; the second system basic chip 64, the second microcontroller 4, the second non-wake-up chipset 10 to be tested, and the second wake-up chipset 12 to be tested are configured on the second circuit board. middle.
在该实施例中,车载通信芯片测试系统整体架构主要由两块板子构成,将SBC芯片(SBC系统芯片)、单片机和待测试芯片组安装在电路板上,便于连接和测试,可以快速、方便、灵活地进行更换待测试芯片组。In this embodiment, the overall architecture of the vehicle communication chip test system is mainly composed of two boards. The SBC chip (SBC system chip), microcontroller and chipset to be tested are installed on the circuit board to facilitate connection and testing, and can be quickly and conveniently , Flexibly replace the chipset to be tested.
在本申请的一个实施例中,若通信功能测试结果、本地唤醒功能测试结果以及远程唤醒功能测试结果均为正常,调整通信速率,以对第一待测试非唤醒芯片组9、第二待测试非唤醒芯片组10、第一待测试唤醒芯片组11以及第二待测试唤醒芯片组12进行第一通信质量测试,根据调整通信速率后的报文接收结果确定第一通信质量测试结果。In one embodiment of the present application, if the communication function test results, the local wake-up function test results, and the remote wake-up function test results are all normal, the communication rate is adjusted to adjust the first non-wake-up chipset 9 to be tested, the second to-be-tested non-wake-up chipset 9 The non-wake-up chipset 10, the first wake-up chipset to be tested 11, and the second wake-up chipset to be tested 12 perform a first communication quality test, and determine the first communication quality test result based on the message reception result after adjusting the communication rate.
在该实施例中,若待测试芯片组的通信功能测试结果、本地唤醒功能测试结果以及远程唤醒功能测试结果均为正常,还可以调整通信速率,对待测试芯片组的第一通信质量进行测试。例如:可以通过上位机改变第一待测试非唤醒芯片组9与第二待测试非唤醒芯片组10之间通信速率,使其调整至最高速率,再次观测上位机是否有错误帧,没有错误帧则第一通信质量测试结果为良好。In this embodiment, if the communication function test results, local wake-up function test results, and remote wake-up function test results of the chipset to be tested are all normal, the communication rate can also be adjusted to test the first communication quality of the chipset to be tested. For example, the communication rate between the first non-wakeup chipset to be tested 9 and the second non-wakeup chipset to be tested 10 can be changed through the host computer to adjust it to the highest rate, and the host computer can be observed again to see if there are error frames or if there are no error frames. Then the first communication quality test result is good.
在本申请的一个实施例中,若第一通信质量测试结果为良好,基于不同的温度对第一待测试非唤醒芯片组9、第二待测试非唤醒芯片组10、第一待测试唤醒芯片组11以及第二待测试唤醒芯片组12进行第二通信质量测试,根据不同温度下的报文接收结果确定第二通信质量测试结果。In one embodiment of the present application, if the first communication quality test result is good, the first non-wakeup chipset 9 to be tested, the second non-wakeup chipset 10 to be tested, and the first wakeup chip to be tested are tested based on different temperatures. Group 11 and the second wake-up chipset 12 to be tested perform a second communication quality test, and determine the second communication quality test result based on the message reception results at different temperatures.
在该实施例中,若第一通信质量测试结果为良好,还可以改变环境温度,对待测试芯片组的第二通信质量进行测试。例如:可以通过上位机将待测试芯片组中的每颗待测试通信芯片的通信速率调整至其允许的最高极限。将系统置于温箱中进行高温、低温、温度循环等一系列的极端情况的环境实验。若通信报文正常收发,则第二通信质量测试结果为良好。In this embodiment, if the first communication quality test result is good, the ambient temperature can also be changed to test the second communication quality of the chipset to be tested. For example, the communication rate of each communication chip to be tested in the chipset to be tested can be adjusted to its maximum allowable limit through the host computer. Place the system in a thermostat to conduct a series of extreme environmental experiments such as high temperature, low temperature, and temperature cycles. If communication packets are sent and received normally, the second communication quality test result is good.
在本申请的一个实施例中,若第二通信质量测试结果为良好,基于不同的电磁强度对第一待测试非唤醒芯片组9、第二待测试非唤醒芯片组10、第一待测试唤醒芯片组11以及第二待测试唤醒芯片组12进行通信抗干扰能力测试,根据不同电磁强度下的报文接收结果确定通信抗干扰能力测试结果。In one embodiment of the present application, if the second communication quality test result is good, the first non-wakeup chipset 9 to be tested, the second non-wakeup chipset 10 to be tested, and the first wakeup to be tested are tested based on different electromagnetic strengths. The chipset 11 and the second wake-up chipset 12 to be tested perform a communication anti-interference capability test, and determine the communication anti-interference capability test results based on the message reception results under different electromagnetic intensities.
在该实施例中,若第二通信质量测试结果为良好,还可以对待测试芯片组中的待测试通信芯片进行通信抗干扰能力测试。例如:可以通过上位机将待测试芯片组中的每颗待测试通信芯片的通信速率调整至其允许的最高极限,对系统进行EMC(Electro MagneticCompatibility,电磁兼容)测试,测试整个系统通信网络的抗干扰能力。In this embodiment, if the second communication quality test result is good, the communication anti-interference capability test of the communication chip to be tested in the chipset to be tested may also be performed. For example, the host computer can be used to adjust the communication rate of each communication chip to be tested in the chipset to be tested to its maximum allowable limit, conduct EMC (Electro Magnetic Compatibility, electromagnetic compatibility) testing on the system, and test the resistance of the entire system communication network. Interference ability.
请参阅图4,图4是本申请的一具体实施例示出的一种车载通信芯片测试系统的结构示意图。如图4所示,该具体实施例示出的车载通信芯片测试系统包括:电脑1(第一上位机1)、电脑2(第二上位机2)、单片机3(第一单片机3)、单片机4(第二单片机4)、电源51(第一电源51)、PMOS管52(第一PMOS管52)、电感器53(第一电感器53)、SBC54(第一系统基础芯片54)、电源61(第二电源61)、PMOS管62(第二PMOS管62)、电感器63(第二电感器63)、SBC64(第二系统基础芯片64)、预留CAN7(第一通信芯片7)、预留CAN8(第二通信芯片8)、不带唤醒的CAN LIN芯片组9(第一待测试非唤醒芯片组9)、不带唤醒的CAN LIN芯片组10(第二待测试非唤醒芯片组10)、带唤醒的CAN LIN芯片组11(第一待测试唤醒芯片组11)、带唤醒的CANLIN芯片组12(第二待测试唤醒芯片组12)、J1连接器131(第一连接器131)、J2连接器132(第二连接器132)。其中,不带唤醒的CAN LIN芯片组9分别与电脑1、单片机3、SBC54以及J1连接器131连接;不带唤醒的CAN LIN芯片组10分别与电脑2、单片机4、SBC64以及J2连接器132;带唤醒的CAN LIN芯片组11分别与单片机3、SBC54以及J1连接器131连接;带唤醒的CAN LIN芯片组12分别与单片机4、SBC64以及J2连接器132连接;J1连接器131与J2连接器132连接;SBC54与单片机3连接;SBC64与单片机4连接;从不带唤醒的CAN LIN芯片组9中引出一组预留CAN7,从不带唤醒的CAN LIN芯片组10中引出一组预留CAN8。Please refer to FIG. 4 , which is a schematic structural diagram of a vehicle communication chip testing system according to a specific embodiment of the present application. As shown in Figure 4, the vehicle communication chip testing system shown in this specific embodiment includes: computer 1 (first host computer 1), computer 2 (second host computer 2), single-chip computer 3 (first single-chip computer 3), single-chip computer 4 (Second microcontroller 4), power supply 51 (first power supply 51), PMOS transistor 52 (first PMOS transistor 52), inductor 53 (first inductor 53), SBC54 (first system basis chip 54), power supply 61 (second power supply 61), PMOS tube 62 (second PMOS tube 62), inductor 63 (second inductor 63), SBC64 (second system basis chip 64), reserved CAN7 (first communication chip 7), Reserved CAN8 (second communication chip 8), CAN LIN chipset without wake-up 9 (first non-wake-up chipset to be tested 9), CAN LIN chipset without wake-up 10 (second non-wake-up chipset to be tested) 10), CAN LIN chipset with wake-up 11 (the first wake-up chipset to be tested 11), CANLIN chipset with wake-up 12 (the second wake-up chipset to be tested 12), J1 connector 131 (the first connector 131 ), J2 connector 132 (second connector 132). Among them, the CAN LIN chipset 9 without wake-up is respectively connected to the computer 1, the microcontroller 3, SBC54 and the J1 connector 131; the CAN LIN chipset 10 without the wake-up is respectively connected to the computer 2, the microcontroller 4, SBC64 and the J2 connector 132. ; The CAN LIN chipset 11 with wake-up is connected to the single-chip computer 3, SBC54 and J1 connector 131 respectively; the CAN LIN chipset 12 with wake-up is connected to the single-chip computer 4, SBC64 and J2 connector 132 respectively; the J1 connector 131 is connected to J2 Device 132 is connected; SBC54 is connected to MCU 3; SBC64 is connected to MCU 4; a set of reserved CAN7 is derived from the CAN LIN chipset 9 without wake-up, and a set of reserved CAN is led from the CAN LIN chipset 10 without wake-up CAN8.
该具体实施例示出的车载通信芯片测试系统能够实现对待测试芯片快速、有效地批量进行通信功能测试、本地唤醒功能测试以及远程唤醒测试,缩短了测试周期,降低测试成本。The vehicle communication chip testing system shown in this specific embodiment can quickly and effectively conduct communication function tests, local wake-up function tests and remote wake-up tests in batches on the chips to be tested, shortening the test cycle and reducing test costs.
请参阅图5,图5是图4所示实施例示出的车载通信芯片测试系统的测试流程图;如图5所示,车载通信芯片测试系统对车载通信芯片的测试流程如下:Please refer to Figure 5. Figure 5 is a test flow chart of the vehicle communication chip test system shown in the embodiment shown in Figure 4. As shown in Figure 5, the test process of the vehicle communication chip by the vehicle communication chip test system is as follows:
1)根据整车CAN、LIN通信提供J1连接器131与J2连接器132之间实际通信的线束长度。1) Provide the actual communication harness length between J1 connector 131 and J2 connector 132 based on vehicle CAN and LIN communication.
在J1连接器131和J2连接器132之间,根据整车CAN、LIN通信的网络线束长度选择同等长度、阻抗、材料等与之接近的线束。Between the J1 connector 131 and the J2 connector 132, select a wire harness of the same length, impedance, material, etc. that is close to the network wire harness length of the vehicle's CAN and LIN communications.
2)布置J1连接器131与J2连接器132之间直接连接或者交叉连接。2) Arrange direct connection or cross connection between the J1 connector 131 and the J2 connector 132 .
应特定区分其点对点连接,一对多连接按照实车的通信网络布置J1连接器131与J2连接器132之间的线束网络。并在不带唤醒的CAN LIN芯片组9和不带唤醒的CAN LIN芯片组10中各引出一组预留CAN,分别作为预留CAN7和预留CAN8,预留CAN的作用是进行对单片机进行收发报文的控制和观测收发报文是否有错误帧,以及调整收发报文的速率。The point-to-point connection should be specifically distinguished, and the one-to-many connection should be arranged according to the communication network of the actual vehicle. The wiring harness network between the J1 connector 131 and the J2 connector 132 is arranged. And a set of reserved CANs are introduced in the CAN LIN chipset 9 without wake-up and the CAN LIN chipset 10 without wake-up, respectively as reserved CAN7 and reserved CAN8. The function of the reserved CAN is to carry out processing on the microcontroller. Control the sending and receiving of messages and observe whether there are error frames in the sent and received messages, and adjust the rate of sending and receiving messages.
3)开启电路板供电,通信芯片正常收发报文。3) Turn on the power supply of the circuit board, and the communication chip can send and receive messages normally.
完成J1连接器131与J2连接器132之间的线束布置后,两块电路板接上常电。预留CAN分别与电脑连接,通过对JTAG接口,让单片机对SBC使能,SBC开启对CAN芯片组和LIN芯片组供电。After completing the wiring harness arrangement between J1 connector 131 and J2 connector 132, the two circuit boards are connected to normal power. The reserved CAN is connected to the computer respectively. Through the JTAG interface, the microcontroller enables the SBC, and the SBC turns on the power supply to the CAN chipset and LIN chipset.
4)改变通信芯片工作模式,验证唤醒,低功耗模式等。4) Change the communication chip working mode, verify wake-up, low power consumption mode, etc.
通信芯片进行正常的报文收发,通过单片机的一路预留CAN通信与电脑相连,左边电脑上的上位机软件对不带唤醒的CAN和LIN进行配置,使其发送报文。右边电脑上位机对不带唤醒的CAN和LIN进行接收报文操作,观测上位机看其收发报文是否有错误帧,没有错误帧则为CAN和LIN芯片组通信功能正常。然后通过上位机改变其通信速率,使其调整至最高速率,再次观测上位机是否有错误帧,没有错误帧则芯片通信质量较好。The communication chip performs normal message sending and receiving, and is connected to the computer through a reserved CAN communication channel of the microcontroller. The host computer software on the left computer configures CAN and LIN without wake-up to enable it to send messages. The host computer on the right receives messages from CAN and LIN without wake-up, and observes the host computer to see if there are error frames in the messages it sends and receives. If there are no error frames, the CAN and LIN chipset communication functions are normal. Then change its communication rate through the host computer to adjust it to the highest rate, and observe again whether there are error frames in the host computer. If there are no error frames, the chip communication quality is better.
左边电脑上位机通过预留CAN通信对单片机进行操作,对带唤醒的CAN和LIN芯片组发送本地唤醒信号,观测上位机是否错误帧以及右边电脑是否接收到报文,若无错误帧和接收报文正常,带唤醒CAN和LIN芯片组的本地唤醒功能正常。右边电脑上位机通过预留CAN通信对单片机进行操作,向左边带唤醒CAN和LIN芯片组发送任意帧和固定帧,对左边CAN和LIN芯片组进行唤醒,观测上位机是否有错误帧和接收报文是否正常,若正常则芯片远程唤醒通信功能正常。The host computer on the left operates the microcontroller through reserved CAN communication, sends local wake-up signals to the CAN and LIN chipsets with wake-up, and observes whether the host computer has an error frame and whether the right computer receives the message. If there is no error frame and reception report The text is normal, and the local wake-up function with wake-up CAN and LIN chipsets is normal. The host computer on the right operates the microcontroller by reserving CAN communication, sends arbitrary frames and fixed frames to the CAN and LIN chipsets on the left to wake up the CAN and LIN chipsets on the left, and observes whether the host computer has error frames and reception reports. Check whether the text is normal. If it is normal, the chip's remote wake-up communication function is normal.
5)进行DV(Design Validation,设计验证)环境实验和EMC实验。5) Conduct DV (Design Validation, design verification) environmental experiments and EMC experiments.
在模拟整车通信处于正常情况后,将每颗通信芯片的通信速率调整至其允许的最高极限。进行相应的温箱进行高温、低温、温度循环等一系列的极端情况的环境实验。在高温、低温环境中模拟车辆在极端的天气下车辆通信是否正常,若通信报文正常收发,则芯片的通信质量良好。After simulating that the vehicle communication is under normal conditions, adjust the communication rate of each communication chip to its maximum allowable limit. Carry out corresponding thermostats to conduct environmental experiments under a series of extreme conditions such as high temperature, low temperature, temperature cycle, etc. In high and low temperature environments, it is simulated whether the vehicle communication is normal under extreme weather. If communication messages are sent and received normally, the communication quality of the chip is good.
调整芯片的通信速率,将其调整至最高,对整套模拟通信装置进行EMC测试,测试整个通信网络的抗干扰能力。Adjust the communication rate of the chip to the highest level, conduct an EMC test on the entire set of analog communication devices, and test the anti-interference ability of the entire communication network.
本申请实施例的技术方案不仅能够批量完成对待测试通信芯片的通信功能测试、本地唤醒功能测试和远程唤醒功能测试,还能通过调整通信速率、温度和电磁强度测试待测试通信芯片的通信质量。The technical solution of the embodiment of the present application can not only complete the communication function test, local wake-up function test and remote wake-up function test of the communication chip to be tested in batches, but can also test the communication quality of the communication chip to be tested by adjusting the communication rate, temperature and electromagnetic intensity.
需要说明的是,上述实施例所提供的车载通信芯片测试系统在实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将系统的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能,本处也不对此进行限制。It should be noted that in actual applications of the vehicle communication chip test system provided in the above embodiments, the above function allocation can be completed by different functional modules as needed, that is, the internal structure of the system is divided into different functional modules to complete the All or part of the functions described above are not limited here.
附图中的流程图和框图,图示了按照本申请各种实施例的系统的可能实现的体系架构、功能和操作。其中,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,上述模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图或流程图中的每个方框、以及框图或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the system according to various embodiments of the present application. Each block in the flow chart or block diagram may represent a module, program segment, or part of the code. The above-mentioned module, program segment, or part of the code includes one or more executable components for implementing the specified logical function. instruction. It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown one after another may actually execute substantially in parallel, or they may sometimes execute in the reverse order, depending on the functionality involved. It will also be noted that each block in the block diagram or flowchart illustration, and combinations of blocks in the block diagram or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or operations, or may be implemented by special purpose hardware-based systems that perform the specified functions or operations. Achieved by a combination of specialized hardware and computer instructions.
描述于本申请实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现,所描述的单元也可以设置在处理器中。其中,这些单元的名称在某种情况下并不构成对该单元本身的限定。The units involved in the embodiments of this application can be implemented in software or hardware, and the described units can also be provided in a processor. Among them, the names of these units do not constitute a limitation on the unit itself under certain circumstances.
上述实施例仅示例性说明本申请的原理及其功效,而非用于限制本申请。任何熟悉此技术的人士皆可在不违背本申请的精神及范畴下,对上述实施例进行修饰或改变。因此,但凡所属技术领域中具有通常知识者在未脱离本申请所揭示的精神与技术思想下所完成的一切等效修饰或改变,仍应由本申请的权利要求所涵盖。The above embodiments only illustrate the principles and effects of the present application, but are not used to limit the present application. Anyone familiar with this technology can modify or change the above embodiments without departing from the spirit and scope of the present application. Therefore, all equivalent modifications or changes made by those with ordinary knowledge in the technical field without departing from the spirit and technical ideas disclosed in this application shall still be covered by the claims of this application.
Claims (11)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310638120.3A CN116723125B (en) | 2023-05-31 | 2023-05-31 | Vehicle-mounted communication chip testing system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310638120.3A CN116723125B (en) | 2023-05-31 | 2023-05-31 | Vehicle-mounted communication chip testing system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN116723125A true CN116723125A (en) | 2023-09-08 |
| CN116723125B CN116723125B (en) | 2025-11-11 |
Family
ID=87867162
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202310638120.3A Active CN116723125B (en) | 2023-05-31 | 2023-05-31 | Vehicle-mounted communication chip testing system |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN116723125B (en) |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20040193978A1 (en) * | 2003-01-28 | 2004-09-30 | Sylvie Wuidart | Parallel testing of integrated circuits |
| CN212135408U (en) * | 2020-05-19 | 2020-12-11 | 北京大地信合信息技术有限公司 | Board card bus data transmission test system |
| CN217385736U (en) * | 2022-04-26 | 2022-09-06 | 成都极海科技有限公司 | MCU's ATE equipment and system thereof |
| CN115656769A (en) * | 2022-10-14 | 2023-01-31 | 中国电子产品可靠性与环境试验研究所((工业和信息化部电子第五研究所)(中国赛宝实验室)) | FPGA multi-chip parallel test method, device and computer equipment |
| CN115932540A (en) * | 2022-11-25 | 2023-04-07 | 镇江矽佳测试技术有限公司 | A multi-channel multifunctional chip testing machine and testing method |
-
2023
- 2023-05-31 CN CN202310638120.3A patent/CN116723125B/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20040193978A1 (en) * | 2003-01-28 | 2004-09-30 | Sylvie Wuidart | Parallel testing of integrated circuits |
| CN212135408U (en) * | 2020-05-19 | 2020-12-11 | 北京大地信合信息技术有限公司 | Board card bus data transmission test system |
| CN217385736U (en) * | 2022-04-26 | 2022-09-06 | 成都极海科技有限公司 | MCU's ATE equipment and system thereof |
| CN115656769A (en) * | 2022-10-14 | 2023-01-31 | 中国电子产品可靠性与环境试验研究所((工业和信息化部电子第五研究所)(中国赛宝实验室)) | FPGA multi-chip parallel test method, device and computer equipment |
| CN115932540A (en) * | 2022-11-25 | 2023-04-07 | 镇江矽佳测试技术有限公司 | A multi-channel multifunctional chip testing machine and testing method |
Non-Patent Citations (1)
| Title |
|---|
| 易凡, 马静怡: "基于SOPC 技术的芯片批量测试板设计与实现", 《现代信息科技》, vol. 7, no. 6, 25 March 2023 (2023-03-25), pages 88 - 91 * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN116723125B (en) | 2025-11-11 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN108919778B (en) | electric automobile vehicle control unit testing arrangement | |
| CN103676939B (en) | A kind of Auto-Test System based on OSEK straight-forward network administrative mechanisms | |
| CN107911260A (en) | A kind of vehicle test system based on OSEC network managements | |
| CN210041853U (en) | An automatic test system for automobile CAN/LIN bus | |
| CN108594792B (en) | Hardware-in-loop test system and test equipment for bidirectional vehicle-mounted charger | |
| CN114756008A (en) | Fault injection system, automatic test system and method for automobile hybrid bus integrated rack | |
| CN101778007B (en) | System and method for automatically testing I/O pin of CAN bus control module | |
| CN109787892A (en) | General hybrid vehicle gateway controller | |
| CN117827559A (en) | Verification board and chip verification system | |
| CN106844270A (en) | The circuit and method of a kind of automatic identification and configuration I2C interface circuit logic levels | |
| CN112162188B (en) | Test method, device and system for realizing SOC reset module | |
| CN112702220B (en) | Network testing method and network testing device | |
| CN212255518U (en) | Automatic detection system for car lamp driving module | |
| CN202693709U (en) | Testing tool and testing system for electrical equipment | |
| CN205809692U (en) | New automobile electronic test circuitry automatic configuration box | |
| CN115903732A (en) | In-loop testing method for vehicle body hardware, platform system and storage medium | |
| CN116723125A (en) | Vehicle communication chip test system | |
| CN110096291A (en) | Power management chip upgrades circuit, method and the network equipment | |
| CN114416568A (en) | TBOX power management automatic test equipment, system and method | |
| CN101425951A (en) | Vehicle body CAN bus control system | |
| CN111122994B (en) | Man-machine interaction testing device for simulation circuit breaker | |
| CN209674233U (en) | CAN bus fault detection device | |
| CN117929899A (en) | Aging test equipment and device for vehicle-mounted charger and power converter | |
| CN217332726U (en) | Automatic test system of MCU chip | |
| CN118732658A (en) | Functional testing system, method and device for vehicle domain controller |
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 | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |