FCT method, system and device of seat ventilation and heating controller and storage medium
By generating test instructions and executing a single test process, the existing test methods focus on single functions and time-consuming problems are solved, and the comprehensive and efficient function confirmation test of the seat ventilation and heating controller is realized.
Patent Information
- Application Number
- CN202411608409.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-12
- Publication Date
- 2025-03-18
AI Technical Summary
The existing seat ventilation and heating controller function confirmation test method focuses on a single function, lacks a comprehensive testing process, and takes a long time to achieve efficient and accurate testing.
By obtaining the test requirements, several test instructions are generated, and a single test process is executed based on each test instruction to obtain the function confirmation test (FCT) results. The method includes sending test instructions, judging the test signal category, and performing corresponding function confirmation tests, and generating single test results.
It realizes comprehensive and efficient testing of the seat ventilation and heating controller. There is no need for human intervention during the test process, and can quickly obtain FCT results to ensure the accuracy and efficiency of the test.
Smart Images

Figure CN119644982A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of temperature controller testing of automobile seats, and in particular to a function control test (FCT) method, system, equipment and storage medium for a seat ventilation and heating controller. Background Art
[0002] In the modern automobile industry, seat ventilation and heating systems are important configurations to improve passenger comfort. The controllers of these systems are responsible for controlling the operation of heating and ventilation components. In order to ensure the reliability and safety of these systems, a series of function confirmation tests (Function Control Test, FCT for short) are required. However, with the improvement of automobile comfort requirements, seat ventilation and heating functions have become standard features of high-end cars. To ensure that these functions maintain good performance during long-term use, it is essential to conduct accurate and reliable FCT tests on them.
[0003] However, existing testing methods mostly focus on a single function and lack a comprehensive testing process to evaluate the synergistic effect of seat ventilation and heating functions. Traditional testing methods are often time-consuming and cannot achieve efficient and accurate testing of seat ventilation and heating controllers. Summary of the invention
[0004] The present invention aims to provide a FCT method, system, device and storage medium for a seat ventilation and heating controller to solve the above technical problems and achieve comprehensive and efficient testing of the seat ventilation and heating controller.
[0005] In order to solve the above technical problems, the present invention provides an FCT method for a seat ventilation and heating controller, which is applied to the seat ventilation and heating controller, comprising: obtaining a plurality of test instructions based on test requirements; executing a single test process based on each of the test instructions to obtain an FCT result; wherein: the FCT result includes a plurality of single test results;
[0006] The single test process includes:
[0007] Send a test instruction to make the seat ventilation and heating controller judge the test instruction and obtain the test signal category; in response to the test signal category, perform a corresponding function confirmation test on the seat ventilation and heating controller to obtain a single test result.
[0008] The above scheme converts the test requirements into corresponding test instructions, so that the test of the seat ventilation and heating controller can be carried out in sequence according to different test instructions. No human intervention is required during the test process, and the FCT results can be fully obtained, so that the FCT test of the seat ventilation and heating controller can be completed efficiently.
[0009] Furthermore, the obtaining of several test instructions based on the test requirements includes:
[0010] The test instruction is the first CAN message. For any test requirement, obtaining its test instruction includes: obtaining the message ID, large test item number and small test item number corresponding to the test requirement; wherein the message ID is used to identify the FCT test instruction; and obtaining the first CAN message corresponding to the test requirement based on the message ID, large test item number and small test item number.
[0011] In the above scheme, the message ID is used to identify the FCT test instruction, that is, the test instruction includes not only the relevant instructions of the FCT test, but also other types of instructions. The FCT test instruction can be accurately identified through the message ID, and the FCT test can be accurately implemented. The large test item serial number is used to identify the functional test category, each functional test category can be subdivided into multiple test subcategories, and each test subcategory has a unique small test item serial number. The test instruction is generated as a first CAN message, which can identify the first CAN message as a relevant instruction of the FCT test and accurately locate the test subcategory under its functional test category.
[0012] It should be noted that the corresponding test subcategories under the functional test category can be zero or one, and not every functional test category has multiple test subcategories.
[0013] Furthermore, the sending of the test instruction to enable the seat ventilation and heating controller to judge the test instruction and obtain the test signal category includes:
[0014] A test instruction is sent to enable the seat ventilation and heating controller to obtain the message ID corresponding to the test instruction based on the first CAN message, and determine that the test instruction is an FCT test instruction based on the message ID, and then enable the seat ventilation and heating controller to obtain the major test item number and minor test item number corresponding to the test instruction based on the first CAN message, and obtain the test signal category.
[0015] In the above scheme, the test signal category is used to identify the test subcategory under the functional test category corresponding to the test, so that the FCT test of the test subcategory can be accurately implemented.
[0016] Further, the first CAN message includes a large test item serial number and a plurality of small test item serial numbers; in response to the test signal category, performing a corresponding function confirmation test on the seat ventilation and heating controller to obtain a single test result includes:
[0017] In response to the major test item number of the test signal category, determine the major category of functional test; in the major category of functional test, in response to several minor test item numbers of the test signal category, perform corresponding function confirmation tests on the seat ventilation and heating controllers to obtain several minor test data; generate single test data based on the several minor test data, and then obtain single test results.
[0018] The above scheme shows that in the single test process, FCT test can be performed only on one test sub-category, or FCT test can be performed on all test sub-categories under a functional test category. Since the first CAN message contains the large test item number and the small test item number, when FCT test is performed on all test sub-categories under a functional test category, it is only necessary to read different small test item numbers in sequence under a large test item number and perform FCT test respectively. Several small test data can be obtained to generate single test data, and then the single test result can be obtained.
[0019] Furthermore, generating single test data based on a plurality of small test data, and then obtaining a single test result, includes:
[0020] A second CAN message is generated as single-item test data based on a number of small test data and a large test item sequence number; and a single-item test result is obtained based on the second CAN message.
[0021] In the above scheme, the single test data obtained by the FCT test can only represent the corresponding data of the test, and the test results need to be determined with the corresponding standard data range. The second CAN message is generated as the single test data according to several small test data and the large test item sequence number, which can accurately locate and obtain the corresponding standard data, and facilitate the acquisition of single test results.
[0022] Further, the obtaining of a single test result based on the second CAN message includes:
[0023] Obtain the large test item serial number of the second CAN message, and determine the standard data range corresponding to the large test item serial number; obtain several small test data of the second CAN message, and judge whether the single test result of the single test process is success or failure based on the standard data range and several small test data.
[0024] Furthermore, before obtaining the major test item number of the second CAN message and determining the standard data range corresponding to the major test item number, the method further includes:
[0025] For this single test process, it is determined that the time from sending the test instruction to obtaining the second CAN message is not greater than a preset time threshold.
[0026] In the above scheme, in order to avoid the occurrence of test deviation, poor contact and other situations where the second CAN message cannot be fed back in time, the preset time threshold is set to ensure the progress of the entire FCT test process, and the corresponding test process of the second CAN message with too slow feedback is judged as a test failure.
[0027] The present invention also provides an FCT system of a seat ventilation and heating controller, comprising: a seat ventilation and heating controller, an instruction acquisition module, and a single item test module; wherein:
[0028] The instruction acquisition module is used to acquire a number of test instructions based on test requirements;
[0029] The single test module executes a single test process based on each of the test instructions to obtain an FCT result; wherein: the FCT result includes several single test results; the single test module includes an instruction sending unit and a function confirmation test unit; wherein:
[0030] The instruction sending unit is used to send a test instruction to enable the seat ventilation and heating controller to judge the test instruction and obtain the test signal category;
[0031] The function confirmation test unit is used to respond to the test signal category, perform corresponding function confirmation tests on the seat ventilation and heating controller, and obtain single test results.
[0032] The system provided by the above scheme has a simple architecture and is easy to implement. It can quickly and effectively implement an FCT method for a seat ventilation and heating controller. Then, by converting the test requirements into corresponding test instructions, the test of the seat ventilation and heating controller can be carried out in sequence according to different test instructions. No human intervention is required during the test process, and the FCT results can be fully obtained, thereby efficiently completing the FCT test of the seat ventilation and heating controller.
[0033] The present invention also provides an FCT device, comprising a processor and a memory coupled to the processor; wherein: the memory stores a program, the program is executed by the processor, so that the FCT device executes the FCT method of the seat ventilation and heating controller as described above.
[0034] The present invention also provides an FCT storage medium, wherein the FCT storage medium stores computer instructions, and the computer instructions are used to execute the above-mentioned FCT method of the seat ventilation and heating controller. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 A schematic flow chart of an FCT method of a seat ventilation and heating controller provided by an embodiment of the present invention;
[0036] Figure 2A schematic diagram of a first CAN message reading and FCT test process provided by an embodiment of the present invention;
[0037] Figure 3 A schematic diagram of a FCT host computer judgment process provided by an embodiment of the present invention;
[0038] Figure 4 An FCT system of a seat ventilation and heating controller is provided in one embodiment of the present invention. DETAILED DESCRIPTION
[0039] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0040] See also Figure 1 , this embodiment provides an FCT method for a seat ventilation and heating controller, the method is applied to the seat ventilation and heating controller, comprising: obtaining a plurality of test instructions based on a test requirement; executing a single test process based on each of the test instructions to obtain an FCT result; wherein: the FCT result includes a plurality of single test results;
[0041] The single test process includes:
[0042] Send a test instruction to make the seat ventilation and heating controller judge the test instruction and obtain the test signal category; in response to the test signal category, perform a corresponding function confirmation test on the seat ventilation and heating controller to obtain a single test result.
[0043] This embodiment can convert the test requirements into corresponding test instructions, so that the test of the seat ventilation and heating controller can be carried out in sequence according to different test instructions. No human intervention is required during the test process, and the FCT results can be fully obtained, thereby efficiently completing the FCT test of the seat ventilation and heating controller.
[0044] Furthermore, the obtaining of several test instructions based on the test requirements includes:
[0045] The test instruction is the first CAN message. For any test requirement, obtaining its test instruction includes: obtaining the message ID, large test item number and small test item number corresponding to the test requirement; wherein the message ID is used to identify the FCT test instruction; and obtaining the first CAN message corresponding to the test requirement based on the message ID, large test item number and small test item number.
[0046] In the specific implementation process of this embodiment, the message ID is used to identify the FCT test instruction, that is, the test instruction includes not only the relevant instructions of the FCT test, but also other types of instructions. The FCT test instruction can be accurately identified through the message ID, and the FCT test can be accurately implemented. The large test item serial number is used to identify the functional test category, each functional test category can be subdivided into multiple test subcategories, and each test subcategory has a unique small test item serial number. The test instruction is generated as a first CAN message, which can identify the first CAN message as a relevant instruction of the FCT test and accurately locate the test subcategory under its functional test category.
[0047] It should be noted that the corresponding test subcategories under the functional test category can be zero or one, and not every functional test category has multiple test subcategories.
[0048] In one embodiment, the length of the CAN message data segment can be 8 bytes (bytes 0 to 7), and the test instruction can be the first two bytes of data in the CAN message data segment. The starting byte of the test instruction is the 0th byte, the starting bit is the 7th bit, and the length is 16 bits. The 0th byte of the CAN message data, the starting bit is the 7th bit, and the length is 8 bits is a large test item test instruction, which can represent the large test item sequence number. The 1st byte of the CAN message data, the starting bit is the 7th bit, and the length is 8 bits is a small test item test instruction, which can represent the small test item sequence number. For example, the message data of 01 01 00 00 00 00 00 00 represents the first small test item of the first large test; the message data of 05 04 00 00 00 00 00 00 represents the fourth small test item of the fifth large test.
[0049] Furthermore, the sending of the test instruction to enable the seat ventilation and heating controller to judge the test instruction and obtain the test signal category includes:
[0050] A test instruction is sent to enable the seat ventilation and heating controller to obtain the message ID corresponding to the test instruction based on the first CAN message, and determine that the test instruction is an FCT test instruction based on the message ID, and then enable the seat ventilation and heating controller to obtain the major test item number and minor test item number corresponding to the test instruction based on the first CAN message, and obtain the test signal category.
[0051] In this embodiment, the test signal category is used to identify the test subcategory under the functional test category corresponding to the test, so that the FCT test of the test subcategory can be accurately implemented.
[0052] In one embodiment, the CAN module of the seat ventilation and heating controller can be used to identify whether the message ID of the received first CAN message is the correct message ID of the FCT test. If the FCT test message ID is correct, the message data of the first CAN message is read by the seat ventilation and heating controller: the 0th byte data is assigned to the unsigned 8-bit data variable FCTComd[0], and the 1st byte data is assigned to the unsigned 8-bit data variable FCTComd[1]. Then, the first byte data FCTComd[0] of the message data is judged, and its data value represents which large test item. If it is not within the large test item sequence number range, the judgment is exited without feedback. If the data is within the large test item sequence number range, the corresponding test item is entered to perform the corresponding test operation. If there is a small test item in the large test item, the data of the small test item data FCTComd[1] is further judged, and the corresponding test operation is performed. If there is no lower test item, the test operation is directly performed without judgment.
[0053] Further, the first CAN message includes a large test item serial number and a plurality of small test item serial numbers; in response to the test signal category, performing a corresponding function confirmation test on the seat ventilation and heating controller to obtain a single test result includes:
[0054] In response to the major test item number of the test signal category, determine the major category of functional test; in the major category of functional test, in response to several minor test item numbers of the test signal category, perform corresponding function confirmation tests on the seat ventilation and heating controllers to obtain several minor test data; generate single test data based on the several minor test data, and then obtain single test results.
[0055] This embodiment illustrates that in a single test process, an FCT test can be performed only on one test subcategory, or an FCT test can be performed on all test subcategories under a functional test category. Since the first CAN message contains the large test item number and the small test item number, when performing an FCT test on all test subcategories under a functional test category, it is only necessary to read different small test item numbers in sequence under a large test item number and perform FCT tests respectively, so that several small test data can be obtained to generate single test data, and then obtain single test results.
[0056] Furthermore, generating single test data based on a plurality of small test data, and then obtaining a single test result, includes:
[0057] A second CAN message is generated as single-item test data based on a number of small test data and a large test item sequence number; and a single-item test result is obtained based on the second CAN message.
[0058] In this embodiment, the single test data obtained by the FCT test can only represent the data corresponding to the test, and the test results need to be determined with the corresponding standard data range. The second CAN message is generated as the single test data according to a number of small test data and the large test item sequence number, which can accurately locate and obtain the corresponding standard data, and facilitate the acquisition of the single test results.
[0059] Further, the obtaining of a single test result based on the second CAN message includes:
[0060] Obtain the large test item serial number of the second CAN message, and determine the standard data range corresponding to the large test item serial number; obtain several small test data of the second CAN message, and judge whether the single test result of the single test process is success or failure based on the standard data range and several small test data.
[0061] Furthermore, before obtaining the major test item number of the second CAN message and determining the standard data range corresponding to the major test item number, the method further includes:
[0062] For this single test process, it is determined that the time from sending the test instruction to obtaining the second CAN message is not greater than a preset time threshold.
[0063] In this embodiment, in order to avoid the occurrence of test deviation, poor contact and other situations where the second CAN message cannot be fed back in time, a preset time threshold is set to ensure the entire FCT test process, and the test process corresponding to the second CAN message that feeds back too slowly is judged as a test failure.
[0064] In order to further illustrate a FCT method for a seat ventilation and heating controller, this embodiment provides a specific application of the method, specifically using an electronic load to simulate the electrical characteristics of the seat ventilation and heating controller, so that it works in various design states, thereby obtaining parameters of each state to verify the function of the controller PCBA board, ensuring that each controller PACB board meets all design functions and performance standards before leaving the factory. Specifically, the following steps are included:
[0065] Step 1: Place the PCBA board on the burning bench in advance, and use the burning tool to burn the FCT test software of the seat ventilation and heating controller into the PCBA board.
[0066] Step 2: System initialization of FCT host computer.
[0067] Step 3: Place the seat ventilation and heating controller PCBA board on the FCT test tooling table. The FCT test tooling table is equipped with a visual recognition system. The test tooling detects the PCBA board by infrared, and uses the scanner on the test tooling to capture and identify the QR code image of the PCBA board, and enter product information such as the sample number, batch number, and production time. Then the FCT test equipment controls the top plate of the test tooling to move downward to fix the PCBA board between the top plate and the probe, and the probe is connected to the soldering point on the back of the PCBA board connector.
[0068] Step 4: The host computer controls the programmable power supply to supply power to the KL15 pin and BAT_POWER pin of the PCBA board connector through the probe, with a supply voltage of 12V.
[0069] Step 5: The FCT host computer obtains several test instructions according to the test requirements and sends the test instructions to the seat ventilation and heating controller.
[0070] Step 6: The PCBA receives the test command from the FCT host computer, parses it, executes the corresponding test operation and feedbacks the test results. For the specific process, see Figure 2 As shown:
[0071] First, the PCBA board receives the first CAN message and determines whether the CAN message ID is the FCT test instruction message ID; if so, the controller reads the first CAN message data and assigns the 0th byte data to the variable uint_8FCTComd[0] and the 1st byte data to the variable uint_8FCTComd[1].
[0072] Next, the FCTComd[0] data value is determined. If it is 1, the first test is performed and test content A is executed; if it is 2, the second test is performed and test content B is executed; if it is 3, the third test is performed and test content C is executed. If the value is not within the range of the large test item number, such as others, the test process ends.
[0073] Among them, test content A can be a CAN communication test: read the software version number and feed it back to the host computer through the CAN message, and the feedback message ID is 0x01. Test content B can be a power-on self-test test: read the overcurrent protection error flag bit, and feed back a positive response with parameters: 00-success, 01-heating 12 failure, 02-heating 34 failure, 03-heating 1234 failure to the host computer. The feedback data is the first byte of the CAN message, with a length of 8 bits, and the message ID is 0x02. Test content C can be a seat ventilation PWM wave test. This test contains multiple small test items, that is, it is necessary to judge the FCTComd[1] data value: if it is 1, then test 1 is performed and test content a is executed; if it is 2, then test 2 is performed and test content b is executed; if it is 3, then test 3 is performed and test content c is executed. Among them, test content a can be 8-way ventilation, outputting 30% duty cycle seat ventilation PWM wave; test content b can be 8-way ventilation, outputting 50% duty cycle seat ventilation PWM wave; test content c can be 8-way ventilation, outputting 70% duty cycle seat ventilation PWM wave.
[0074] Finally, feedback the single test data. If the test item belongs to chip performance test such as CAN module detection, storage module detection, etc., or is the voltage, resistance, current and other electrical signal detection on the PCBA board, the test can be completed directly and the test results can be fed back to the host computer. If the test item belongs to input and output signal test such as PWM wave signal detection, load temperature detection, etc., it is necessary to detect the load signal and feed the signal back to the host computer for judgment.
[0075] For example, the temperature detection of the heating load. The test principle is that the heating load is affected by the heating PWM wave, the resistance of the heating wire changes as the temperature rises, and the load temperature and the resistance of the heating wire are detected. If the temperature is in the temperature range corresponding to the resistance of the heating wire, the test passes. Due to the influence of other environmental factors, the resistance value of the heating load is uncertain and the accuracy of the temperature sampling value cannot be judged. Therefore, the heating load is replaced by four sets of fixed value resistors. The sampled temperature value corresponds to the temperature value of the heating wire under the resistance value. The PCBA board samples the resistance value of the heating load, calculates the current temperature according to the end resistance temperature formula, and feeds back the corresponding second CAN message ID generated by the temperature value to the host computer through CAN communication.
[0076] The second CAN message ID is the test item serial number of this test. The data length of temperature value, voltage value, current value, etc. is 16 bits. The 0th to 1st bytes of the temperature sampling and current sampling feedback message data store the sampling values of heating channel 1, the 2nd to 3rd bytes store the sampling values of heating channel 2, the 4th to 5th bytes store the sampling values of heating channel 3, and the 6th to 7th bytes store the sampling values of heating channel 4.
[0077] It should be noted that Figure 2Only some possible implementation examples are provided. The specific contents that can be tested cannot be exhaustive, so they are only described as examples.
[0078] Step 7: The FCT host computer parses the CAN message ID and data fed back by the PCBA board, and determines the accuracy of the feedback data. After sending the test command, the FCT host computer detects whether the feedback message is received within the preset time threshold (such as 2 seconds). If the feedback message has not been received within the preset time threshold, the timeout feedback exit mechanism is executed, the test fails, and the next test item test command is sent. If the message is received within the preset time threshold, and the message ID is the serial number of the large test item, the test data is parsed according to the feedback message data storage location specified in the FCT test requirements of the seat ventilation and heating controller to determine whether the test data is within the expected range specified by the test mark. The judgment process of the FCT host computer is as follows: Figure 3 As shown:
[0079] Figure 3 In the test, the FCT host computer first sends the nth test command and starts timing. If the feedback message duration exceeds the preset time threshold, the test is exited; otherwise, it is determined whether the FCT host computer receives the feedback second CAN message;
[0080] If the FCT host computer receives the second CAN message, it will parse it and determine whether the message ID is the test item number of the test instruction just sent by the host computer. If not, it will receive the second CAN message again.
[0081] If the message ID is the test item number of the test instruction just sent by the host computer, it is determined whether the data result is within the specified test standard range of the test item; if so, the test passes, otherwise the test fails.
[0082] After executing an FCT test, it is necessary to determine whether n is equal to x, where x is the number of the last test items; if so, the FCT test process ends, otherwise, n=n+1 is set, and the FCT host computer sends the next test until n is equal to x.
[0083] In one embodiment, taking the power supply voltage sampling circuit detection as an example, the host computer controls the PCBA board to supply 6V, 9V, 12V, 16V, and 18V voltages respectively, and detects whether the power supply voltage sampling value is within the 10% tolerance range of the power supply voltage:
[0084] (1) The FCT host computer sends the power supply voltage sampling circuit detection instruction 1, so that the load is powered by 6V. The controller reads the power supply pin voltage and feeds back the read voltage value to the FCT host computer. The feedback message ID is the FCT test instruction large test item. The first byte stores the small test item sequence number. 0xaabb is used to represent the power supply voltage sampling value this time. The feedback CAN message data is 01aa bb 00 00 00 00 00. The sampling value is amplified by 1000 times in the software. The host computer processes the sampling data 0xaabb multiple and reduces it by 1000 times. It determines whether the sampling value is within the tolerance range of 6V±10%, obtains the test result, and then starts the next small test item.
[0085] (2) The FCT host computer sends the power supply voltage sampling circuit detection instruction 2, so that the load is powered by 9V. The subsequent data analysis principle operation is the same as (1). Until the test instruction 5 is sent and the feedback message data of test 5 is detected, 05aa bb 00 00 0000 00, it is judged whether the sampling value is within the tolerance range of 18V±10%, and the test result is obtained. Start sending the next FCT large test item test instruction. And so on, until the last large test is completed.
[0086] In one embodiment, seat ventilation PWM wave detection and seat heating PWM wave detection are taken as examples. After the FCT host computer receives the feedback message from the PCBA, it starts to detect the corresponding PWM wave output connector pins, collects waveform data and records it, and determines whether the PWM duty cycle of each test channel is within the tolerance range. After the FCT host computer sends the seat heating PWM wave test 1 instruction, the PCBA receives the test instruction, and the 4 heating channels output 30% duty cycle PWM waves. The feedback CAN message data is: 01 00 0000 0000 00 00. The host computer receives the feedback message, detects the PWM wave output connector pins of the 4 seat heating, collects waveform data and determines that the waveform duty cycle is within the range of 30% ± 5%, and the PWM wave amplitude is within the error range of 12V ± 5%. If the test is passed, the host computer can generate a PWM waveform based on the PWM wave collection data and display it.
[0087] Step 8: The FCT host computer completes all test items, saves the test data, and generates a test report. The host computer interface can display whether all PCBA functional tests have passed, and can display the specific test items that have failed.
[0088] Step 9: After the test is completed, the FCT equipment cuts off the power to the PCBA board, and the top plate of the test fixture moves upward.
[0089] Step 10: The operator takes out the PCBA board and marks it according to the FCT test results, puts in the next PCBA board to be tested, and repeats the above steps to start the test. If the sample fails the FCT test, repeat all the above test steps to perform the second FCT test. If the sample still fails all functional tests, the test fails. The operator takes out the sample, distinguishes it from the samples that passed the test, marks the failed samples, and isolates them for the technicians to investigate the specific causes of the sample problems later.
[0090] The specific application of the FCT method of the seat ventilation and heating controller provided in the embodiment can solve the problem of not verifying the hardware function in advance and discovering hardware problems during the hardware development process, resulting in the failure of the controller electromagnetic compatibility (EMC) test and other tests, and solve the problem of long production line FCT testing during controller mass production, so as to ensure the performance and reliability of the product. This test method can accurately and efficiently implement the test of the seat ventilation and heating controller FCT, realize a comprehensive evaluation of the controller performance, and ensure that it can work reliably under various conditions.
[0091] It should be noted that the FCT method of the seat ventilation and heating controller provided in this embodiment can perform functional tests such as CAN module communication detection, power-on self-test, crystal oscillator detection, storage module detection, watchdog detection, power supply voltage sampling circuit detection, heating current sampling detection, temperature sampling detection, seat ventilation PWM wave output detection, seat heating PWM wave output detection, and IO pin input / output detection on the controller by sending test instructions from the host computer. This method detects the functions of each module of the seat ventilation and heating controller hardware PCBA board through the FCT host computer, and can complete all functional tests on the seat ventilation and heating controller within 2 minutes, greatly shortening the entire functional test time; secondly, it ensures the reliability of the FCT test results, intercepts defective controllers produced in batches, reduces the cost of rework, and improves the product shipment rate.
[0092] See also Figure 4 This embodiment provides a FCT system of a seat ventilation and heating controller, including: a seat ventilation and heating controller, an instruction acquisition module, and a single test module; wherein:
[0093] The instruction acquisition module is used to acquire a number of test instructions based on test requirements;
[0094] The single test module executes a single test process based on each of the test instructions to obtain an FCT result; wherein: the FCT result includes several single test results; the single test module includes an instruction sending unit and a function confirmation test unit; wherein:
[0095] The instruction sending unit is used to send a test instruction to enable the seat ventilation and heating controller to judge the test instruction and obtain the test signal category;
[0096] The function confirmation test unit is used to respond to the test signal category, perform corresponding function confirmation tests on the seat ventilation and heating controller, and obtain single test results.
[0097] The system provided in this embodiment has a simple architecture and is easy to implement. It can quickly and effectively implement an FCT method for a seat ventilation and heating controller. Furthermore, by converting the test requirements into corresponding test instructions, the test of the seat ventilation and heating controller can be performed sequentially according to different test instructions. No human intervention is required during the test process, and the FCT results can be fully obtained, thereby efficiently completing the FCT test of the seat ventilation and heating controller.
[0098] This embodiment provides an FCT device, including a processor and a memory coupled to the processor; wherein: the memory stores a program, and the program is executed by the processor, so that the FCT device executes the FCT method of the seat ventilation and heating controller as described above.
[0099] This embodiment provides an FCT storage medium, which stores computer instructions for executing the above-mentioned FCT method of the seat ventilation and heating controller.
[0100] The above is a preferred embodiment of the present invention. It should be pointed out that a person skilled in the art can make several improvements and modifications without departing from the principle of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.
Claims
1. The FCT method of the seat ventilation and heating controller is applied to the seat ventilation and heating controller, characterized in that: include: Get several test instructions based on test requirements; Execute a single test process based on each of the test instructions to obtain an FCT result; wherein: the FCT result includes a plurality of single test results; The single test process includes: Sending a test instruction to enable the seat ventilation and heating controller to judge the test instruction and obtain a test signal category; In response to the test signal category, a corresponding function confirmation test is performed on the seat ventilation and heating controller to obtain a single test result.
2. The FCT method of the seat ventilation and heating controller according to claim 1, characterized in that: The obtaining of several test instructions based on the test requirements includes: The test instruction is a first CAN message. For any test requirement, obtaining its test instruction includes: Obtain the message ID, major test item serial number and minor test item serial number corresponding to the test requirement; wherein the message ID is used to identify the FCT test instruction; Obtain the first CAN message corresponding to the test requirement based on the message ID, the major test item sequence number and the minor test item sequence number.
3. The FCT method of the seat ventilation and heating controller according to claim 2, characterized in that: The sending of the test instruction to enable the seat ventilation and heating controller to judge the test instruction and obtain the test signal type includes: A test instruction is sent to enable the seat ventilation and heating controller to obtain the message ID corresponding to the test instruction based on the first CAN message, and determine that the test instruction is an FCT test instruction based on the message ID, and then enable the seat ventilation and heating controller to obtain the major test item number and minor test item number corresponding to the test instruction based on the first CAN message, and obtain the test signal category.
4. The FCT method of the seat ventilation and heating controller according to claim 3, characterized in that: The first CAN message includes a large test item serial number and a plurality of small test item serial numbers; In response to the test signal type, performing a corresponding function confirmation test on the seat ventilation and heating controller to obtain a single test result includes: Determine a major category of functional testing in response to a major test item sequence number of a test signal category; In the functional test category, in response to several small test item numbers of the test signal category, corresponding functional confirmation tests are performed on the seat ventilation and heating controller to obtain several small test data; Generate single test data based on several small test data, and then obtain single test results.
5. The FCT method of the seat ventilation and heating controller according to claim 4, characterized in that: The generating of single test data based on a plurality of small test data, and then obtaining a single test result, includes: Generate a second CAN message as single test data based on a number of small test data and a large test item sequence number; A single test result is obtained based on the second CAN message.
6. The FCT method of the seat ventilation and heating controller according to claim 5, characterized in that: The obtaining of a single test result based on the second CAN message includes: Obtaining the major test item serial number of the second CAN message, and determining the standard data range corresponding to the major test item serial number; A plurality of small test data of the second CAN message is obtained, and based on the standard data range and the plurality of small test data, a single test result of the single test process is determined to be success or failure.
7. The FCT method of the seat ventilation and heating controller according to claim 6, characterized in that: Before obtaining the major test item number of the second CAN message and determining the standard data range corresponding to the major test item number, the method further includes: For this single test process, it is determined that the time from sending the test instruction to obtaining the second CAN message is not greater than a preset time threshold.
8. The FCT system of the seat ventilation and heating controller is characterized in that: include: Seat ventilation and heating controller, command acquisition module, single test module; among which: The instruction acquisition module is used to acquire a number of test instructions based on test requirements; The single test module executes a single test process based on each of the test instructions to obtain an FCT result; wherein: the FCT result includes several single test results; the single test module includes an instruction sending unit and a function confirmation test unit; wherein: The instruction sending unit is used to send a test instruction to enable the seat ventilation and heating controller to judge the test instruction and obtain the test signal category; The function confirmation test unit is used to perform corresponding function confirmation tests on the seat ventilation and heating controller in response to the test signal category to obtain a single test result.
9. FCT device, characterized in that The invention comprises a processor and a memory coupled to the processor; wherein: The memory stores a program, and the program is executed by the processor so that the FCT device executes the FCT method of the seat ventilation and heating controller according to any one of claims 1 to 7.
10. FCT storage medium, characterized in that The FCT storage medium stores computer instructions, and the computer instructions are used to execute the FCT method of the seat ventilation and heating controller according to any one of claims 1 to 7.