Automatic closed-loop test system and method for intelligent key and radio frequency antenna

The automated closed-loop testing system for smart keys and RF antennas addresses inefficiencies in manual testing by automating the process, enhancing efficiency and accuracy, and ensuring early-stage verification in automotive applications.

CN120320879APending Publication Date: 2025-07-15DONGFENG MOTOR GRP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510366067.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-26
Publication Date
2025-07-15

AI Technical Summary

Technical Problem

In the prior art, the testing of smart keys and radio frequency antennas mainly relies on manual operation, resulting in limited test content, time-consuming and labor-intensive, and large errors, making it difficult to meet the needs.

Method used

An automated closed-loop testing system is adopted, including an automated test host computer, a HIL test platform, a CAN interface card, a smart key and a radio frequency antenna mount. Data interaction and signal conversion are carried out through CAN messages to realize automated testing of smart keys and radio frequency antennas.

Benefits of technology

It improves the convenience and accuracy of testing, shortens the R&D cycle, and enhances the reliability and safety of the product.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120320879A_ABST
    Figure CN120320879A_ABST
Patent Text Reader

Abstract

The invention discloses an automatic closed-loop test system and method for an intelligent key and a radio frequency antenna, and relates to the technical field of automobile control system testing, and the method comprises the steps: transmitting a control instruction to an HIL test platform through an automatic test upper computer; the HIL test platform converts the control instruction into a first CAN message and sends the first CAN message to the CAN interface card; the CAN interface card outputs the first CAN message to the intelligent key and the radio frequency antenna rack; the intelligent key and the radio frequency antenna rack test according to the first CAN message to obtain a test result signal; then, the CAN interface card converts the test result signal into a second CAN message, and outputs the second CAN message to the HIL test platform; the HIL test platform sends a second CAN message to the automatic test upper computer; and the automatic test upper computer receives the second CAN message to complete data verification. Due to the fact that closed-loop testing from hardware to software can be achieved, the research and development period is shortened through early intervention testing, the testing efficiency and accuracy are improved, and therefore the reliability and safety of products are enhanced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of automotive vehicle control system testing, and particularly to an automated closed-loop testing system and method for intelligent keys and radio frequency antennas. Background Art

[0002] With the improvement of the intelligence level of automobiles, the testing of intelligent keys and radio frequency antennas has become increasingly important. The testing of intelligent keys and radio frequency antennas can conduct detailed function and performance verification in the early stage of product development. Traditional key-related tests can only perform in-vehicle tests for some basic function verifications through manual spot checks. The test content is limited. It is not only time-consuming and laborious for repeated operations, prone to incorrect operations, but also has extremely large errors in performance tests and is difficult to meet the requirements.

[0003] Therefore, how to achieve automated testing of intelligent keys and radio frequency antennas to improve the convenience and accuracy of testing intelligent keys and radio frequency antennas is an urgent problem to be solved at present.

[0004] The above content is only used to assist in understanding the technical solution of this application and does not represent an admission that the above content is prior art. Summary of the Invention

[0005] The main purpose of this application is to provide an automated closed-loop testing system and method for intelligent keys and radio frequency antennas, aiming to solve the technical problem of how to achieve automated testing of intelligent keys and radio frequency antennas.

[0006] To achieve the above object, this application proposes an automated closed-loop testing system for intelligent keys and radio frequency antennas. The automated closed-loop testing system for intelligent keys and radio frequency antennas includes: an automated test host computer, a HIL test platform, a CAN interface card, and a bench for intelligent keys and radio frequency antennas. The automated test host computer calls the HIL test platform, and data interaction is sequentially performed among the HIL test platform, the CAN interface card, and the bench for intelligent keys and radio frequency antennas;

[0007] The automated test host computer is used to send control instructions to the HIL test platform;

[0008] The HIL test platform is used to receive the control instructions, convert the control instructions into a first CAN message, and send the first CAN message to the CAN interface card;

[0009] The CAN interface card is used to receive the first CAN message and output the first CAN message to the bench for intelligent keys and radio frequency antennas;

[0010] The intelligent key and the RF antenna mount are used to receive the first CAN message, perform tests based on the first CAN message, and obtain a test result signal;

[0011] The CAN interface card is further configured to obtain the test result signal, convert the test result signal into a second CAN message, and output the second CAN message to the HIL test platform;

[0012] The HIL test platform is further configured to receive the second CAN message and send the second CAN message to the automated test host computer;

[0013] The automated test host computer is further configured to receive the second CAN message to complete data verification.

[0014] Optionally, the CAN interface card includes a CAN communication card;

[0015] The CAN communication card is configured to receive the first CAN message and output the first CAN message to the intelligent key and the RF antenna mount;

[0016] The CAN communication card is further configured to obtain the test result signal and convert the test result signal into the second CAN message.

[0017] Optionally, the CAN interface card includes a CAN board;

[0018] The CAN board is configured to receive the first CAN message and output the first CAN message to the intelligent key and the RF antenna mount through the IO;

[0019] The CAN board is further configured to collect the test result signal through the IO port and convert the test result signal into the second CAN message.

[0020] Optionally, the automated test host computer displays an automated test HIL test software interface, and the automated test HIL test software interface includes a control input area, a collection output area, a control area, and a display area;

[0021] The control input area is configured to obtain an input signal and generate a control command according to the input signal and output the control command to the HIL test platform;

[0022] The collection output area is configured to receive the second CAN message sent by the CAN interface card and output the second CAN message to the HIL test platform;

[0023] The control area is configured to implement signal mapping between the first CAN message and the second CAN message;

[0024] The display area is used to visually display the first CAN message and the second CAN message based on the signal mapping.

[0025] In addition, to achieve the above object, the present application proposes an automated closed-loop testing method for an intelligent key and a radio frequency antenna, which is applied to the automated closed-loop testing system of the intelligent key and the radio frequency antenna. The method includes:

[0026] Obtain a signal matrix file;

[0027] Obtain test cases according to a requirements document and a conversion tool;

[0028] Obtain test instructions according to the test cases and the signal matrix file;

[0029] Control the intelligent key and the radio frequency antenna according to the test instructions to obtain test results.

[0030] Optionally, the controlling the intelligent key and the radio frequency antenna according to the test instructions to obtain test results includes:

[0031] When the test instruction is a basic function test instruction, control the closing or opening of the intelligent key button and the fixed duration of closing or opening according to the basic function test instruction to obtain a test signal;

[0032] Obtain the test signal through the radio frequency antenna, compare the test signal with the expected signal to obtain test results.

[0033] Optionally, the controlling the intelligent key and the radio frequency antenna according to the test instructions to obtain test results includes:

[0034] When the test instruction is a signal strength calibration test instruction, adjust the distance between the intelligent key and the radio frequency antenna according to the signal strength calibration test instruction;

[0035] Test the communication quality between the intelligent key and the radio frequency antenna at different distances;

[0036] Obtain test results according to each communication quality and the corresponding distance.

[0037] Optionally, the controlling the intelligent key and the radio frequency antenna according to the test instructions to obtain test results includes:

[0038] When the test instruction is a response time test instruction, record the start time of pressing the button of the intelligent key according to the response time test instruction;

[0039] Obtain the reception time of the signal corresponding to the button of the intelligent key returned through the radio frequency antenna;

[0040] Obtain a time interval according to the start time and the reception time;

[0041] Use the time interval as the test result of the key of the smart key.

[0042] Optionally, the obtaining the test result by controlling the smart key and the RF antenna according to the test instruction includes:

[0043] When the test instruction is a load test instruction, control multiple smart keys to work simultaneously according to the load test instruction;

[0044] Obtain the load and response time caused by the simultaneous operation of multiple keys;

[0045] Obtain the test result according to the load and the response time.

[0046] Optionally, the obtaining the test result by controlling the smart key and the RF antenna according to the test instruction includes:

[0047] When the test instruction is a security test instruction, control the keys of the legal smart key and the illegal smart key to be closed according to the security test instruction;

[0048] When the keys of the legal smart key and the illegal smart key are both closed, obtain the RF signal emitted by the RF antenna;

[0049] Obtain the test result according to the RF signal.

[0050] In this application, the automated test host computer sends a control instruction to the HIL test platform; the HIL test platform receives the control instruction, converts the control instruction into a first CAN message, and sends the first CAN message to the CAN interface card; the CAN interface card receives the first CAN message and outputs the first CAN message to the smart key and RF antenna bench; the smart key and RF antenna bench receive the first CAN message, perform tests according to the first CAN message, and obtain a test result signal; then, the CAN interface card obtains the test result signal, converts the test result signal into a second CAN message, and outputs the second CAN message to the HIL test platform; the HIL test platform receives the second CAN message and sends the second CAN message to the automated test host computer; the automated test host computer receives the second CAN message to complete data verification. Since this application can implement closed-loop testing from hardware to software, early intervention in testing shortens the R & D cycle, improves test efficiency and accuracy, thereby enhancing the reliability and security of the product. Description of the Drawings

[0051] The accompanying drawings here are incorporated into the specification and form a part of this specification, showing embodiments consistent with this application, and are used together with the specification to explain the principles of this application.

[0052] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the following will briefly introduce the accompanying drawings required for use in the description of the embodiments or the prior art. Obviously, for those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.

[0053] Figure 1 It is a structural block diagram of the first embodiment of the automated closed-loop test system for the intelligent key and RF antenna of this application;

[0054] Figure 2 It is a schematic flowchart of the first embodiment of the automated closed-loop test method for the intelligent key and RF antenna of this application;

[0055] Figure 3 It is a schematic diagram of the automated test HIL test software interface of the first embodiment of the automated closed-loop test method for the intelligent key and RF antenna of this application;

[0056] Figure 4 It is a flowchart of the first embodiment of the automated closed-loop test method for the intelligent key and RF antenna of this application.

[0057] Explanation of the reference numerals in the drawings:

[0058] Automated test host computer 10, HIL test platform 20, CAN interface card 30, intelligent key and RF antenna test bench 40, CAN communication card 301, CAN board 302.

[0059] The realization of the purpose, functional features and advantages of this application will be further described with reference to the embodiments and the accompanying drawings. Specific embodiments

[0060] It should be understood that the specific embodiments described here are only used to explain the technical solutions of this application and are not used to limit this application.

[0061] Refer to Figure 1 , Figure 1 It is a structural block diagram of the automated closed-loop test system for the intelligent key and RF antenna of this application.

[0062] The automated closed-loop test system for the intelligent key and the radio frequency antenna includes: an automated test host computer 10, a HIL test platform 20, a CAN interface card 30, and an intelligent key and radio frequency antenna test bench 40. The automated test host computer 10 calls the HIL test platform 20, and data interaction is performed sequentially among the HIL test platform 20, the CAN interface card 30, and the intelligent key and radio frequency antenna test bench 40. The CAN interface card 30 may include a CAN board 302 and a CAN communication card 301.

[0063] In this embodiment, the automated test host computer 10 is configured to send a control instruction to the HIL test platform 20;

[0064] It should be noted that the automated test host computer 10 generally refers to a computer system in an automated control system for monitoring and controlling the lower-level machine. In this application, the automated test host computer 10 can allow the use of the ECUTEST automated test software of the German company ETAS to call the HIL test platform 20 through the provided API interface, design test cases in a simple language, complete human-computer interaction, realize data input / output and monitoring, and the control instructions can cover verifications related to basic signal simulation and acquisition to complex intelligent key and radio frequency antenna tests, enabling the automated test host computer 10 to comprehensively control and monitor the operation of the HIL test platform 20.

[0065] The HIL test platform 20 is configured to receive the control instruction, convert the control instruction into a first CAN message, and send the first CAN message to the CAN interface card 30;

[0066] It should be noted that the HIL test platform 20 is a test environment for simulating and testing the performance of an embedded system or its subsystems in an actual or simulated environment. Software such as NIVeriStand software of the National Instruments company and TCS software of the Hengrun company can be used for real-time data testing and simulation. The first CAN message can be generated according to the information contained in the control instruction and is used to notify the intelligent key and radio frequency antenna of the functions or actions to be performed.

[0067] The CAN interface card 30 is configured to receive the first CAN message and output the first CAN message to the intelligent key and radio frequency antenna test bench 40;

[0068] It should be noted that the CAN interface card 30 can be used to implement data transmission between the automated test host computer 10 and the CAN network and send the first CAN message to the CAN bus.

[0069] The intelligent key and the RF antenna mount 40 are configured to receive the first CAN message, perform tests based on the first CAN message, and obtain a test result signal.

[0070] It should be noted that an intelligent key is an advanced vehicle key technology that enables keyless entry and start functions through wireless communication. Intelligent keys are typically equipped with near-field communication (NFC) or Bluetooth technology, allowing vehicle owners to automatically unlock the doors when approaching the vehicle and start the engine without a traditional key after entering the vehicle. The RF antenna is an essential component in a wireless communication system, responsible for converting electrical signals into radio waves and vice versa for received radio waves.

[0071] When the intelligent key receives the first CAN message, it executes the actions corresponding to the first CAN message. For example, it simulates the action of the vehicle owner pressing the intelligent key button by closing the intelligent key button, and then feeds back the generated test result signal through the RF antenna.

[0072] The CAN interface card 30 is further configured to obtain the test result signal, convert the test result signal into a second CAN message, and output the second CAN message to the HIL test platform 20.

[0073] It should be noted that the test result signal is received via the CAN bus, and the second CAN message carries information including the test result for feedback by the HIL test platform 20.

[0074] The HIL test platform 20 is further configured to receive the second CAN message and send the second CAN message to the automated test host computer 10.

[0075] The automated test host computer 10 is further configured to receive the second CAN message to complete data verification.

[0076] It should be noted that the automated test host computer 10 can analyze and visually display the test results by analyzing the second CAN message to complete data verification.

[0077] Furthermore, the CAN interface card 30 includes a CAN communication card 301.

[0078] The CAN communication card 301 is configured to receive the first CAN message and output the first CAN message to the intelligent key and the RF antenna mount 40.

[0079] The CAN communication card 301 is further configured to obtain the test result signal and convert the test result signal into the second CAN message.

[0080] It should be noted that the CAN communication card 301 generally refers to an expansion card that can be inserted into the host computer, such as a CAN card with PCI or PCIe interfaces. They are installed as internal components of the host computer, can be directly connected to the motherboard of the host computer, and are managed and data-exchanged through the operating system of the host computer. As Figure 2 shown, the CAN communication card 301 participates in the process corresponding to the red line in the figure.

[0081] Furthermore, the CAN interface card 30 includes a CAN board 302;

[0082] The CAN board 302 is used to receive the first CAN message and output the first CAN message to the intelligent key and RF antenna rack 40 through the IO.

[0083] The CAN board 302 is also used to collect the test result signal through the IO port and convert the test result signal into the second CAN message.

[0084] It should be noted that the CAN board 302 refers to an external interface card, such as the CAN interface card 30 with a USB interface. This interface card is connected to the computer through an external interface (such as USB), which is convenient for moving and using between different computers. It can be adaptively developed for the CAN board 302 through keli uvison based on the 8051 single-chip microcomputer development environment. As Figure 2 shown, the CAN board 302 participates in the process corresponding to the blue line in the figure.

[0085] Furthermore, the automated test host computer 10 displays an automated test HIL test software interface, and the automated test HIL test software interface includes a control input area, a collection output area, a control area, and a display area;

[0086] The control input area is used to obtain an input signal and generate a control instruction according to the input signal and output it to the HIL test platform 20;

[0087] The collection output area is used to receive the second CAN message sent by the CAN interface card 30 and output the second CAN message to the HIL test platform 20;

[0088] The control area is used to implement the signal mapping between the first CAN message and the second CAN message;

[0089] The display area is used to achieve the visual display of the first CAN message and the second CAN message based on the signal mapping.

[0090] It should be noted that the input signal can be a signal input through input devices such as the keyboard and mouse of the host computer and the first CAN message. The signal mapping between the first CAN message and the second CAN message can make the first CAN message and the second CAN message obtained based on the same control instruction correspond one by one.

[0091] The automated test HIL test software interface is as Figure 3 shown. The automated test host computer 10 displays the automated test HIL test software interface. Through the operation of the HIL test platform 20 UI interface, it controls the input to send instructions to the intelligent key and the RF antenna, collects the feedback responses of the intelligent key and the RF antenna output, and performs a closed-loop test. Among them, the control area can realize the mapping of hardwired input and output signals (the first CAN message and the second CAN message).

[0092] In this application, the automated test host computer 10 sends a control instruction to the HIL test platform 20; the HIL test platform 20 receives the control instruction, converts the control instruction into a first CAN message, and sends the first CAN message to the CAN interface card 30; the CAN interface card 30 receives the first CAN message and outputs the first CAN message to the intelligent key and RF antenna bench 40; the intelligent key and RF antenna bench 40 receives the first CAN message, performs a test according to the first CAN message, and obtains a test result signal; then, the CAN interface card 30 acquires the test result signal, converts the test result signal into a second CAN message, and outputs the second CAN message to the HIL test platform 20; the HIL test platform 20 receives the second CAN message and sends the second CAN message to the automated test host computer 10; the automated test host computer 10 receives the second CAN message to complete data verification. Since this application can realize the closed-loop test from hardware to software, early intervention in the test shortens the R & D cycle, improves the test efficiency and accuracy, thereby enhancing the reliability and safety of the product.

[0093] The embodiment of the present application provides an automated closed-loop test method for an intelligent key and an RF antenna. Refer to Figure 4 , Figure 4 which is the flow schematic diagram of the first embodiment of an automated closed-loop test method for an intelligent key and an RF antenna in the present application.

[0094] In this embodiment, the automated closed-loop test method for the intelligent key and the RF antenna includes steps S10 to S40:

[0095] Step S10, obtain a signal matrix file;

[0096] It should be noted that the signal matrix file generally refers to a file used to describe the communication relationships among various nodes in a CAN (Controller Area Network) network, which contains information such as CAN signals, nodes, and messages.

[0097] It can be understood that the signal matrix file is the basis for implementing in-vehicle signal simulation, and can be used to simulate vehicle network communication for system testing and verification.

[0098] Step S20: Obtain test cases according to the requirement file and the conversion tool;

[0099] It should be noted that the requirement file can be a text description of the functions to be tested of the device under test, including information such as test conditions, test steps, and expected results. The requirement file can be stored in the form of an Excel table, and by developing a relevant conversion tool, the Excel table can be directly converted into a pkg format file recognizable by the EcuTest automated test host computer 10.

[0100] It can be understood that through automated conversion, the time and workload of manually writing test cases are reduced, significantly improving the efficiency and accuracy of test case generation.

[0101] Step S30: Obtain test instructions according to the test cases and the signal matrix file;

[0102] It should be noted that the test instructions can be CAN messages. By mapping the input and output conditions in the test cases to the specific signals in the signal matrix file, it is determined which signals need to be set (written) or read (output) to construct the test instructions.

[0103] It can be understood that by performing Step S30, the test instructions can accurately reflect the requirements of the test cases, ensuring the accuracy and reliability of system testing.

[0104] Step S40: Control the intelligent key and the RF antenna according to the test instructions to obtain test results.

[0105] It should be noted that the test instructions can include basic function test instructions, signal strength calibration test instructions, response time test instructions, load test instructions, and safety test instructions. The intelligent key is an advanced vehicle key technology that realizes keyless entry and start functions through wireless communication. The intelligent key is usually equipped with near-field communication (NFC) or Bluetooth technology, allowing the vehicle owner to automatically unlock the vehicle door when approaching the vehicle and start the engine without a traditional key after entering the vehicle. The RF antenna is an essential key component in the wireless communication system, responsible for converting electrical signals into radio waves and converting the received radio waves into electrical signals.

[0106] It can be understood that by performing step S40, the basic function automated testing of the smart key and the RF antenna can be achieved, solving the problems of large manual testing workload and long testing cycle. It can also test composite scenarios such as multi-project and multi-vehicle testing and multi-key load testing, expanding the testing scope.

[0107] In a feasible implementation manner, step S40 may include, when the test instruction is a basic function test instruction, controlling the closing or opening of the smart key button and the fixed duration of closing or opening according to the basic function test instruction to obtain a test signal; obtaining the test signal through the RF antenna, and comparing the test signal with the expected signal to obtain a test result.

[0108] It should be noted that the test signal may be the signal fed back by the RF antenna when the smart key button is closed or opened and the fixed duration of closing or opening, and the expected signal may be the signal expected to be obtained when different smart key buttons are pressed.

[0109] Specifically, according to the basic function test instruction, the CAN board 302 is used to control the on-off of the relay, and the smart key button 1, smart key button 2, smart key button 3, smart key button 4, smart key button 5, etc. are closed or opened and the closing or opening duration is controlled, and the test signals of different button responses are fed back through the RF antenna to perform the basic button function test.

[0110] In a feasible implementation manner, step S40 may include, when the test instruction is a signal strength calibration test instruction, adjusting the distance between the smart key and the RF antenna according to the signal strength calibration test instruction; testing the communication quality between the smart key and the RF antenna at different distances; and obtaining a test result according to each communication quality and the corresponding distance.

[0111] It should be noted that the communication quality can be evaluated by measuring the strength of the received signal. The signal strength is usually expressed in dBm (decibel milliwatt), and the smaller the value, the weaker the signal and the worse the communication quality may be.

[0112] Specifically, according to the signal strength calibration test, the CAN board 302 is used to control the operation of the motor to control the distance between the smart key and the RF antenna, test the communication quality between the smart key and the vehicle at different distances, record the communication instructions corresponding to different distances, and complete the calibration-related test.

[0113] In a feasible implementation manner, step S40 may include: when the test instruction is a response time test instruction, recording the start time of pressing the key of the smart key according to the response time test instruction; obtaining the reception time of the signal corresponding to the key of the smart key returned by the RF antenna; obtaining the time interval according to the start time and the reception time; and using the time interval as the test result of the key of the smart key.

[0114] It should be noted that the start time, the reception time, and the time interval can be any real numbers.

[0115] Specifically, after the host computer issues a response time test instruction, record the time interval from pressing the key of the smart key to performing actions such as unlocking and locking the key. △ t.

[0116] In a feasible implementation manner, step S40 may include: when the test instruction is a load test instruction, controlling multiple smart keys to work simultaneously according to the load test instruction; obtaining the load and the response time caused by the simultaneous work of multiple keys; and obtaining the test result according to the load and the response time.

[0117] It should be noted that the load can be evaluated by the host computer monitoring the resource usage conditions (such as CPU usage rate, memory usage amount, etc.), and the response time refers to the response speed to the load test instruction.

[0118] In a feasible implementation manner, step S40 may include: when the test instruction is a security test instruction, controlling the keys of the legal smart key and the illegal smart key to be closed according to the security test instruction; when the keys of the legal smart key and the illegal smart key are both closed, obtaining the RF signal emitted by the RF antenna; and obtaining the test result according to the RF signal.

[0119] It should be noted that frequency information, coding information, and modulation information can be obtained through the RF signal, and thus the RF data information of the smart key can be determined, which can be used to identify and verify the identity of the smart key. By analyzing the RF data, the legal smart key and the illegal smart key are verified.

[0120] In this embodiment, a signal matrix file is imported; test cases are obtained according to a requirements file; test instructions are obtained according to the test cases and the signal matrix file; and intelligent keys and RF antennas are controlled according to different test instructions to obtain corresponding test results. On the one hand, it can realize the automated testing of the basic functions of intelligent keys and RF antennas, solving the problems of large manual testing workload and long testing cycle. On the other hand, it can solve the calibration work of keys and RF antennas, and can also test composite scenarios such as multi-project, multi-vehicle testing and multi-key load testing, expanding the testing scope. Compared with the single function of traditional testing, it ensures the testing integrity and reliability of intelligent keys and RF antennas.

[0121] It should be understood that the above is only an example for illustration and does not constitute any limitation to the technical solution of the present application. In specific applications, those skilled in the art can set according to needs, and the present application does not limit this.

[0122] It should be noted that the above-described work process is only illustrative and does not limit the protection scope of the present application. In actual applications, those skilled in the art can select some or all of them according to actual needs to achieve the purpose of the solution of this embodiment, and this is not limited here.

[0123] In addition, it should be noted that in this article, the term "including", "comprising" or any other variant thereof is intended to cover a non-exclusive inclusion, so that a process, method, article or system including a series of elements not only includes those elements, but also includes other elements not expressly listed, or further includes elements inherent to such process, method, article or system. Without further limitation, an element defined by the phrase "including a..." does not exclude the existence of additional identical elements in the process, method, article or system including the element.

[0124] The serial numbers of the embodiments of the present application above are only for description and do not represent the advantages and disadvantages of the embodiments.

[0125] The above are only the preferred embodiments of the present application, and do not limit the patent scope of the present application accordingly. Any equivalent structure or equivalent process transformation made by using the content of the specification and drawings of the present application, or directly or indirectly applied in other related technical fields, shall be equally included in the patent protection scope of the present application.

Claims

1. An automated closed-loop test system for an intelligent key and a radio frequency antenna, characterized in that, The automated closed-loop test system for the intelligent key and the RF antenna includes an automated test host computer, a HIL test platform, a CAN interface card, and a test bench for the intelligent key and the RF antenna. The automated test host computer calls the HIL test platform, and data interaction is sequentially performed among the HIL test platform, the CAN interface card, and the test bench for the intelligent key and the RF antenna; The automated test host computer is configured to send a control command to the HIL test platform; The HIL test platform is configured to receive the control command, convert the control command into a first CAN message, and send the first CAN message to the CAN interface card; The CAN interface card is configured to receive the first CAN message and output the first CAN message to the test bench for the intelligent key and the RF antenna; The test bench for the intelligent key and the RF antenna is configured to receive the first CAN message, perform a test according to the first CAN message, and obtain a test result signal; The CAN interface card is further configured to obtain the test result signal, convert the test result signal into a second CAN message, and output the second CAN message to the HIL test platform; The HIL test platform is further configured to receive the second CAN message and send the second CAN message to the automated test host computer; The automated test host computer is further configured to receive the second CAN message to complete data verification.

2. The system according to claim 1, wherein, The CAN interface card includes a CAN communication card; The CAN communication card is configured to receive the first CAN message and output the first CAN message to the test bench for the intelligent key and the RF antenna; The CAN communication card is further configured to obtain the test result signal and convert the test result signal into the second CAN message.

3. The system according to claim 1, wherein The CAN interface card includes a CAN board; The CAN board is configured to receive the first CAN message and output the first CAN message to the test bench for the intelligent key and the RF antenna through IO; The CAN board is further configured to collect the test result signal through an IO port and convert the test result signal into the second CAN message.

4. The system according to claim 1, wherein The automated test host computer displays an automated test HIL test software interface, and the automated test HIL test software interface includes a control input area, a collection output area, a control area, and a display area; The control input area is configured to obtain an input signal and generate a control command according to the input signal and output the control command to the HIL test platform; The collection output area is configured to receive the second CAN message sent by the CAN interface card and output the second CAN message to the HIL test platform; The control area is configured to implement signal mapping between the first CAN message and the second CAN message; The display area is configured to implement visual display of the first CAN message and the second CAN message based on the signal mapping.

5. An automated test method for an intelligent key and a radio frequency antenna, characterized in that, The method is applied to the automated test system for the intelligent key and the RF antenna according to any one of claims 1 to 4, and the method includes: Obtain the signal matrix file; Obtain test cases according to the requirements file and the conversion tool; Obtain test instructions according to the test cases and the signal matrix file; Control the intelligent key and the RF antenna according to the test instructions to obtain test results.

6. The method according to claim 5, wherein The step of controlling the intelligent key and the RF antenna according to the test instructions to obtain test results includes: When the test instruction is a basic function test instruction, control the closing or opening of the intelligent key button and the fixed duration of closing or opening according to the basic function test instruction to obtain a test signal; Obtain the test signal through the RF antenna, and compare the test signal with the expected signal to obtain a test result.

7. The method according to claim 5, characterized in that, The step of controlling the intelligent key and the RF antenna according to the test instructions to obtain test results includes: When the test instruction is a signal strength calibration test instruction, adjust the distance between the intelligent key and the RF antenna according to the signal strength calibration test instruction; Test the communication quality between the intelligent key and the RF antenna at different distances; Obtain test results according to each communication quality and the corresponding distance.

8. The method according to claim 5, wherein The step of controlling the intelligent key and the RF antenna according to the test instructions to obtain test results includes: When the test instruction is a response time test instruction, record the start time of pressing the button of the intelligent key according to the response time test instruction; Obtain the reception time of the signal corresponding to the button of the intelligent key returned by the RF antenna; Obtain a time interval according to the start time and the reception time; Take the time interval as the test result of the button of the intelligent key.

9. The method according to claim 5, wherein The step of controlling the intelligent key and the RF antenna according to the test instructions to obtain test results includes: When the test instruction is a load test instruction, control multiple intelligent keys to work simultaneously according to the load test instruction; Obtain the load and response time caused by multiple keys working simultaneously; Obtain test results according to the load and the response time.

10. The method according to claim 5, characterized in that, The step of controlling the intelligent key and the RF antenna according to the test instructions to obtain test results includes: When the test instruction is a security test instruction, control the buttons of the legal intelligent key and the illegal intelligent key to close according to the security test instruction; When the buttons of the legal intelligent key and the illegal intelligent key are both closed, obtain the RF signal emitted by the RF antenna; Obtain test results according to the RF signal.