System and method for testing fault identification function of driving chip
By designing a test system for the fault identification function of the driver chip, using the voltage judgment of the control device and the load chip, the problem that the driver chip is difficult to test the fault identification function is solved, and the accuracy of the fault identification function is achieved, ensuring the reliability of the chip and the stability of the vehicle functions.
Patent Information
- Application Number
- CN202411050462.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-01
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2044-08-01
AI Technical Summary
The existing driver chips are difficult to test their own fault identification function, which makes it difficult to determine the accuracy of fault identification, which may lead to chip false alarms and error control relays, which in turn lead to abnormal functions of the vehicle.
A test system for driver chip fault identification function is designed, including control device and load chip. By connecting the output pin of the driver chip and the input pin of the load chip, and setting the input pin according to different test conditions, collecting feedback. The voltage of the pin is determined by determining whether it meets the preset voltage to determine the normality of the fault identification function.
Through this test system, it is possible to accurately determine whether the fault identification function of the driver chip is normal, and the control relay that prevents chip false alarms and errors is prevented, ensuring the reliability of the chip and avoiding abnormal functions of the entire vehicle.
Smart Images

Figure CN118937962A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of chip fault detection, and in particular to a test system and method for a driver chip fault identification function. Background Art
[0002] There are currently a large number of intelligent driver chips, such as the low-side driver chip BD8LA700 that sets the switch between the load and the ground, and the high-side driver chip BTS5030 that sets the switch between the power supply and the load. While meeting the basic driving functions, they are integrated with output diagnosis and protection functions, which can identify chip output abnormalities and enter the output protection state to reduce risks. Among them, the diagnostic function includes the ability to identify output short circuit to power supply, output short circuit to ground, output open circuit and other operating conditions. Then the controller makes corresponding processing measures according to the diagnostic identification results of the driver chip to reduce the harm.
[0003] In the prior art, the driver chip is directly used and the response is made based on the diagnostic identification function of the driver chip. However, it is difficult to test the fault identification function of the existing driver chip, and it is difficult to determine the accuracy of the driver chip fault identification, which causes the chip to falsely report an erroneous control relay, resulting in abnormal function of the entire vehicle. Summary of the invention
[0004] The embodiments of the present invention provide a testing system and method for the fault identification function of a driver chip to solve the technical problems in the related art that the existing driver chip is difficult to test its own fault identification function and difficult to determine the accuracy of the driver chip fault identification, which causes the chip to falsely report an erroneous control relay and leads to abnormal function of the entire vehicle.
[0005] In a first aspect, a test system for a driver chip fault identification function is provided, comprising:
[0006] Control device and load chip;
[0007] All output pins of the driver chip are connected to an input pin of the load chip;
[0008] The control device is connected to the driving chip and the load chip respectively, and is configured as follows:
[0009] Setting the input pins of the driver chip and the load chip according to different test conditions, collecting the voltages of the feedback pins of the driver chip and the load chip, and determining whether the voltages of the feedback pins of the driver chip and the load chip are preset voltages of the corresponding test conditions;
[0010] It is determined whether the fault identification function of the test condition corresponding to the driver chip is normal according to the judgment result.
[0011] In some embodiments, the step of setting the input pins of the driver chip and the load chip according to different test conditions, collecting the voltages of the feedback pins of the driver chip and the load chip, and determining whether the voltages of the feedback pins of the driver chip and the load chip are preset voltages of the corresponding test conditions includes:
[0012] When the test condition is to turn off the output of the driver chip, the first input pin of the driver chip and the second input pin of the load chip are set to a first preset value, and the second input pin of the driver chip and the first input pin and the third input pin of the load chip are set to a second preset value;
[0013] The voltages of the feedback pins of the driver chip and the load chip are collected, and it is determined whether the voltages of the feedback pins of the driver chip and the load chip are a first voltage value.
[0014] In some embodiments, the step of setting the input pins of the driver chip and the load chip according to different test conditions, collecting the voltages of the feedback pins of the driver chip and the load chip, and determining whether the voltages of the feedback pins of the driver chip and the load chip are preset voltages of the corresponding test conditions includes:
[0015] When the test condition is to turn on the output of the driver chip, the second input pin of the load chip is set to a first preset value, and the first input pin and the second input pin of the driver chip and the first input pin and the third input pin of the load chip are set to a second preset value;
[0016] The voltages of the feedback pins of the driver chip and the load chip are collected, and it is determined whether the voltage of the feedback pin of the driver chip is less than a second voltage value, and whether the voltage of the feedback pin of the load chip is a power supply voltage.
[0017] In some embodiments, the step of setting the input pins of the driver chip and the load chip according to different test conditions, collecting the voltages of the feedback pins of the driver chip and the load chip, and determining whether the voltages of the feedback pins of the driver chip and the load chip are preset voltages of the corresponding test conditions includes:
[0018] When the test condition is that the output of the driver chip is open, the third input pin of the load chip is set to a first preset value, and the first input pin and the second input pin of the driver chip are set to a second preset value;
[0019] The voltages of the feedback pins of the driver chip and the load chip are collected, and it is determined whether the voltage of the feedback pin of the driver chip is less than a third voltage value, and whether the voltage of the feedback pin of the load chip is the first voltage value.
[0020] In some embodiments, the step of setting the input pins of the driver chip and the load chip according to different test conditions, collecting the voltages of the feedback pins of the driver chip and the load chip, and determining whether the voltages of the feedback pins of the driver chip and the load chip are preset voltages of the corresponding test conditions includes:
[0021] When the test condition is that the driver chip outputs a short-circuited power supply, the first input pin of the driver chip and the first input pin and the second input pin of the load chip are set to a first preset value, and the second input pin of the driver chip and the third input pin of the load chip are set to a second preset value;
[0022] The voltages of the feedback pins of the driver chip and the load chip are collected, and it is determined whether the voltage of the feedback pin of the driver chip is a power supply voltage, and whether the voltage of the feedback pin of the load chip is a first voltage value.
[0023] In some embodiments, the step of setting the input pins of the driver chip and the load chip according to different test conditions, collecting the voltages of the feedback pins of the driver chip and the load chip, and determining whether the voltages of the feedback pins of the driver chip and the load chip are preset voltages of the corresponding test conditions includes:
[0024] When the test condition is that the output of the driver chip is short-circuited to ground, the first input pin, the second input pin of the driver chip and the first input pin, the second input pin, and the third input pin of the load chip are all set to a second preset value;
[0025] The voltages of the feedback pins of the driver chip and the load chip are collected, and it is determined whether the voltage of the feedback pin of the driver chip is a fourth voltage value, and whether the voltage of the feedback pin of the load chip is a first voltage value.
[0026] In some embodiments, determining whether the fault identification function of the test condition corresponding to the driver chip is normal according to the judgment result includes:
[0027] If the voltages of the feedback pins of the driver chip and the load chip are the preset voltages of the corresponding test conditions, the fault identification function of the test condition corresponding to the driver chip is normal.
[0028] In some embodiments, the determining, according to the judgment result, whether the fault identification function of the test condition corresponding to the driver chip is normal further includes:
[0029] If the voltages of the feedback pins of the driver chip and the load chip are not the preset voltages of the corresponding test conditions, the fault identification function of the test condition corresponding to the driver chip is abnormal.
[0030] In some embodiments, the control device is a microcontroller unit or a single-chip microcomputer.
[0031] In a second aspect, a method for testing a driver chip fault identification function is provided, and a test system for the driver chip fault identification function is used, comprising:
[0032] According to different test conditions, the input pins of the driver chip and the load chip are set, the voltages of the feedback pins of the driver chip and the load chip are collected, and it is determined whether the voltages of the feedback pins of the driver chip and the load chip are the preset voltages of the corresponding test conditions;
[0033] Determine whether the fault identification function of the test condition corresponding to the driver chip is normal based on the judgment result.
[0034] The beneficial effects brought about by the technical solution provided by the present invention include:
[0035] The embodiment of the present invention provides a test system and method for the fault identification function of a driver chip, the test system comprising: a control device and a load chip, all output pins of the driver chip are connected to an input pin of the load chip, the control device is connected to the driver chip and the load chip respectively, and is configured to: set the input pins of the driver chip and the load chip according to different test conditions, collect the voltage of the feedback pins of the driver chip and the load chip, and judge whether the voltage of the feedback pins of the driver chip and the load chip is the preset voltage of the corresponding test condition, and determine whether the fault identification function of the driver chip corresponding to the test condition is normal according to the judgment result. The test system for the fault identification function of the driver chip of the embodiment of the present invention sets the input pins of the driver chip and the load chip according to different test conditions through the control device, detects the voltage of the feedback pins of the driver chip and the load chip, and judges whether the voltage of the feedback pin is the output voltage value corresponding to the test condition, thereby testing the fault identification function of the driver chip itself, and can determine the accuracy of the fault identification of the driver chip according to the test result, so as to prevent the chip from falsely reporting an erroneous control relay and causing abnormal function of the whole vehicle, thereby ensuring the reliability of the chip. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0037] Figure 1A circuit diagram of a test system for a driver chip fault identification function provided by an embodiment of the present invention;
[0038] Figure 2 A flowchart of a method for testing a driver chip fault identification function provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0039] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are 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] The embodiments of the present invention provide a testing system and method for the fault identification function of a driver chip, which can solve the technical problems in the related art that the existing driver chip is difficult to test its own fault identification function and difficult to determine the accuracy of the driver chip fault identification, resulting in the chip falsely reporting an erroneous control relay and causing abnormal functions of the entire vehicle.
[0041] Figure 1 A test system for a driver chip fault identification function provided by an embodiment of the present invention comprises: a control device and a load chip, all output pins of the driver chip are connected to an input pin of the load chip, the control device is connected to the driver chip and the load chip respectively, and is configured to: set the input pins of the driver chip and the load chip according to different test conditions, collect the voltages of the feedback pins of the driver chip and the load chip, and judge whether the voltages of the feedback pins of the driver chip and the load chip are the preset voltages of the corresponding test conditions, and determine whether the fault identification function of the driver chip corresponding to the test condition is normal according to the judgment result.
[0042] The test system for the fault identification function of a driver chip according to an embodiment of the present invention is provided with a control device and a load chip, wherein all output pins of the driver chip are connected to an input pin of the load chip, and the control device is connected to the driver chip and the load chip respectively, and is configured to: set the input pins of the driver chip and the load chip according to different test conditions, collect the voltages of the feedback pins of the driver chip and the load chip, and judge whether the voltages of the feedback pins of the driver chip and the load chip are the preset voltages of the corresponding test conditions, and determine the fault identification function of the driver chip corresponding to the test condition according to the judgment result. The load chip TMUX6104 is a simulated load. The control device sets the input pins of the driver chip BTS5030_1EJA and the load chip TMUX6104 according to different test conditions, detects the voltage of the feedback pins of the driver chip and the load chip, and determines whether the voltage of the feedback pin is the output voltage value corresponding to the test condition, thereby testing the fault identification function of the driver chip itself. The accuracy of the driver chip fault identification can be determined according to the test results, preventing the chip from falsely reporting an erroneous control relay that causes abnormal function of the entire vehicle, thereby ensuring the reliability of the chip.
[0043] As an optional implementation, in an embodiment of the invention, see Figure 1 As shown, the input pins of the driver chip and the load chip are set according to different test conditions, the voltages of the feedback pins of the driver chip and the load chip are collected, and it is judged whether the voltages of the feedback pins of the driver chip and the load chip are the preset voltages of the corresponding test conditions, including: when the test condition is to shut down the output of the driver chip, the first input pin of the driver chip and the second input pin of the load chip are set to a first preset value, the second input pin of the driver chip and the first input pin and the third input pin of the load chip are set to a second preset value, the voltages of the feedback pins of the driver chip and the load chip are collected, and it is judged whether the voltages of the feedback pins of the driver chip and the load chip are the first voltage value.
[0044] Specifically, see Figure 1As shown, when the test condition is to turn off the output of the driver chip, the output pin OUT of the driver chip has no output, and the output pins OUT1, OUT2, and OUT3 of the driver chip are all connected to the input pin D of the load chip. The first input pin IN of the driver chip, i.e., the output control pin, is set to the first preset value 0, and the output function of the driver chip is turned off. If the driver chip has no output, then the input pin D of the load chip has no input value. The second input pin DEN of the driver chip, i.e., the test enable control pin, is set to the second preset value 1, and the test function of the driver chip is turned on; the second input pin A1 of the load chip, i.e., the channel selection pin, is set to the first preset value 0, and the first input pin A0 of the load chip, i.e., the channel selection pin, and the third input pin EN, i.e., the work enable pin, are set to the second preset value 1. Set the value to 1, then the load chip is started, and the output channel S3 of the load chip is selected to be turned on, the output channel pin S3 of the load chip is connected to the test load circuit, and is also connected to the pin M_RELAY_FB of the control device as the feedback pin of the load chip, so as to test the normal output function of the driver chip; then collect the voltage of the feedback pin IS of the driver chip, i.e., M_HSD_IS, and the voltage of the feedback pin M_RELAY_FB of the load chip, and judge whether the voltage of the feedback pin IS of the driver chip, i.e., M_HSD_IS, and the voltage of the feedback pin M_RELAY_FB of the load chip are the first voltage value 0V. Since both the driver chip and the load chip have no output, when the output of the driver chip is turned off, the feedback pin voltages of the driver chip and the load chip are both 0V.
[0045] As an optional implementation, in an embodiment of the invention, see Figure 1 As shown, the input pins of the driver chip and the load chip are set according to different test conditions, the voltages of the feedback pins of the driver chip and the load chip are collected, and it is judged whether the voltages of the feedback pins of the driver chip and the load chip are the preset voltages of the corresponding test conditions, including: when the test condition is to turn on the output of the driver chip, the second input pin of the load chip is set to a first preset value, the first input pin and the second input pin of the driver chip and the first input pin and the third input pin of the load chip are set to a second preset value, the voltages of the feedback pins of the driver chip and the load chip are collected, and it is judged whether the voltage of the feedback pin of the driver chip is less than the second voltage value, and whether the voltage of the feedback pin of the load chip is the power supply voltage.
[0046] Specifically, see Figure 1As shown in the figure, when the test condition is to turn on the output of the driver chip, the output pin OUT of the driver chip has an output, and the first input pin IN and the second input pin DEN of the driver chip are set to the second preset value 1, then the output function and the test function of the driver chip are turned on; the second input pin A1 of the load chip is set to the first preset value 0, and the first input pin A0 and the third input pin EN of the load chip are set to the second preset value 1, then the load chip is started, and the output channel S3 of the load chip is selected to be turned on, and the output channel pin S3 of the load chip is connected to the test load circuit, and is also connected to the pin M_RELAY_FB of the control device as the load core. The feedback pin of the chip is used to test the normal output function of the driver chip; the output pins OUT1, OUT2, and OUT3 of the driver chip output the power supply voltage 12V to the input pin D of the load chip, and the output pin S3 of the load chip, i.e., the feedback pin M_RELAY_FB, should also output the power supply voltage 12V. The feedback pin voltage of the load chip is collected and it is determined whether the voltage of the feedback pin M_RELAY_FB of the load chip is the power supply voltage 12V; the feedback pin voltage of the driver chip is collected and it is determined whether the voltage of the feedback pin IS, i.e., M_HSD_IS, of the driver chip is less than the second voltage value 0.122mV. Since the typical current detection ratio K of the driver chip is ILIS 2150, I L is the actual output current of the output pin OUT of the driver chip, when the driver chip output is turned on to perform a normal output function test,
[0047]
[0048] Where R 5 =15KΩ, R 6 =10KΩ, R 7 =47KΩ, R 3 =1.2KΩ.
[0049] As an optional implementation, in an embodiment of the invention, see Figure 1As shown, the input pins of the driver chip and the load chip are set according to different test conditions, the voltages of the feedback pins of the driver chip and the load chip are collected, and it is judged whether the voltages of the feedback pins of the driver chip and the load chip are the preset voltages of the corresponding test conditions, including: when the test condition is that the driver chip output is open, the third input pin of the load chip is set to a first preset value, the first input pin and the second input pin of the driver chip are set to a second preset value, the voltages of the feedback pins of the driver chip and the load chip are collected, and it is judged whether the voltage of the feedback pin of the driver chip is less than the third voltage value, and whether the voltage of the feedback pin of the load chip is the first voltage value.
[0050] Specifically, see Figure 1 As shown, when the test condition is that the output of the driver chip is open, the load chip is turned off to construct the output open condition of the driver chip, and the third input pin EN of the load chip is set to the first preset value 0, then the load chip is turned off to make the driver chip unloaded, and the first input pin IN and the second input pin DEN of the driver chip are set to the second preset value 1, then the output function and the test function of the driver chip are turned on, and the load chip is turned off. The feedback pin voltage of the load chip should be 0V, and the voltage of the feedback pin of the load chip is collected and it is determined whether the voltage of the feedback pin M_RELAY_FB of the load chip is 0V; when the output of the driver chip is open, the output current I of the feedback pin IS of the driver chip IS(OL) is 5.6uA, and the output voltage of the feedback pin IS of the driver chip is I IS(OL) ·R 3 =5.6uA·1200Ω=6mV, collect the voltage of the feedback pin of the driver chip and determine whether the voltage of the feedback pin IS of the driver chip, namely M_HSD_IS, is less than a third voltage value of 6mV.
[0051] As an optional implementation, in an embodiment of the invention, see Figure 1As shown, the input pins of the driver chip and the load chip are set according to different test conditions, the voltages of the feedback pins of the driver chip and the load chip are collected, and it is judged whether the voltages of the feedback pins of the driver chip and the load chip are the preset voltages of the corresponding test conditions, including: when the test condition is that the driver chip outputs a short-circuited power supply, the first input pin of the driver chip and the first input pin and the second input pin of the load chip are set to a first preset value, the second input pin of the driver chip and the third input pin of the load chip are set to a second preset value, the voltages of the feedback pins of the driver chip and the load chip are collected, and it is judged whether the voltage of the feedback pin of the driver chip is the power supply voltage, and whether the voltage of the feedback pin of the load chip is the first voltage value.
[0052] Specifically, see Figure 1 As shown, when the test condition is that the driver chip outputs a short-circuited power supply, the output end of the load chip shorts the power supply VS pin, and the driver chip outputs a short-circuited power supply condition. The first input pin IN of the driver chip is set to a first preset value of 0, and the output function of the driver chip is turned off. The driver chip has no output, and the input pin D of the load chip has no input value. The second input pin DEN of the driver chip is set to a second preset value of 1, and the test function of the driver chip is turned on; the first input pin A0 and the second input pin A1 of the load chip are set to the first preset value of 0, and the third input pin EN of the load chip is set to the second preset value of 1. The preset value is 1, then the load chip is started, and the output channel S1 of the load chip is selected to be turned on, the output channel S1 of the load chip is connected to the power supply VS pin of the driver chip, then the output end of the load chip short-circuits the power supply VS pin, and the driver chip output short power condition is constructed, then the feedback pin M_RELAY_FB voltage of the load chip is 0V, the voltage of the feedback pin of the load chip is collected and it is determined whether the voltage of the feedback pin M_RELAY_FB of the load chip is the first voltage value 0V; the voltage of the feedback pin of the driver chip is collected and it is determined whether the voltage of the feedback pin M_HSD_IS of the driver chip is the power supply voltage 12V.
[0053] As an optional implementation, in an embodiment of the invention, see Figure 1As shown, the input pins of the driver chip and the load chip are set according to different test conditions, the voltages of the feedback pins of the driver chip and the load chip are collected, and it is judged whether the voltages of the feedback pins of the driver chip and the load chip are preset voltages of the corresponding test conditions, including: when the test condition is that the driver chip output is short-circuited to ground, the first input pin, the second input pin of the driver chip and the first input pin, the second input pin, and the third input pin of the load chip are all set to a second preset value, the voltages of the feedback pins of the driver chip and the load chip are collected, and it is judged whether the voltage of the feedback pin of the driver chip is a fourth voltage value, and whether the voltage of the feedback pin of the load chip is the first voltage value.
[0054] Specifically, see Figure 1 As shown, when the test condition is that the output of the driver chip is short-circuited to ground, the load chip is short-circuited to ground, and the output short-circuited condition of the driver chip is constructed. The first input pin IN and the second input pin DEN of the driver chip are set to the second preset value 1, and the output function and the test function of the driver chip are turned on; the first input pin A0, the second input pin A1, and the third input pin EN of the load chip are all set to the second preset value 1, and the load chip is started, and the output channel S4 of the load chip is selected to be turned on. The output channel S4 of the load chip is connected to the ground through a pull-down resistor, and the load chip is short-circuited to ground, and the output short-circuited condition of the driver chip is constructed. The voltage of the feedback pin M_RELAY_FB of the load chip is 0V, and the voltage of the feedback pin of the load chip is collected and it is determined whether the voltage of the feedback pin M_RELAY_FB of the load chip is the first voltage value 0V; when the output of the driver chip is short-circuited to ground, the output current I of the feedback pin IS of the driver chip IS(fault) is 15mA, and the output voltage of the feedback pin IS of the driver chip is V IS(fault) =I IS(fault) ·R 3 =15mA·1200Ω=18V, collecting the voltage of the feedback pin of the driver chip and determining whether the voltage of the feedback pin IS of the driver chip, ie, M_HSD_IS, is a fourth voltage value of 18V.
[0055] As an optional implementation, in an embodiment of the invention, see Figure 1As shown, the method of determining whether the fault identification function of the test condition corresponding to the driver chip is normal based on the judgment result includes: if the voltage of the feedback pins of the driver chip and the load chip is the preset voltage of the corresponding test condition, the fault identification function of the test condition corresponding to the driver chip is normal; if it is judged that the fault identification function of the test condition corresponding to the driver chip is normal, the control device sets the test result flag st_hsd_fail to 0, and records the test results that the fault identification function of the driver chip corresponding to different test conditions is normal.
[0056] As an optional implementation, in an embodiment of the invention, see Figure 1As shown, the method of determining whether the fault identification function of the test condition corresponding to the driver chip is normal according to the judgment result also includes: if the voltage of the feedback pin of the driver chip and the load chip is not the preset voltage of the corresponding test condition, the fault identification function of the test condition corresponding to the driver chip is abnormal; if the voltage of the feedback pin of the driver chip and the load chip is not the preset voltage of the corresponding test condition, the load chip is shut down and reopened again, that is, the third input pin EN of the load chip, i.e., the work enable pin, is set to 0, and then the third input pin EN of the load chip, i.e., the work enable pin, is set to 1, and then the input pins of the driver chip and the load chip are set again according to different test conditions, the voltage of the feedback pin of the driver chip and the load chip is collected, and it is judged again whether the voltage of the feedback pin of the driver chip and the load chip is the preset voltage of the corresponding test condition, until this test step is repeated three times, if the voltage of the feedback pin of the driver chip and the load chip is not the preset voltage of the corresponding test condition three times, it is determined that the fault identification function of the test condition corresponding to the driver chip is abnormal; if there is a fault between the driver chip and the load chip If the voltage of the feedback pin of the carrier chip is the preset voltage of the corresponding test condition, the fault identification function of the test condition corresponding to the driver chip is normal, and the test result flag st_hsd_fail is set to 0; when it is determined that the fault identification function of the test condition corresponding to the driver chip is abnormal, the control device sets the test result flag st_hsd_fail to corresponding values according to different test conditions. For example, when the output fault identification function of the driver chip is abnormal, the test result flag st_hsd_fail is set to 1; when the output fault identification function of the driver chip is abnormal, the test result flag st_hsd_fail is set to 1; When the fault identification function is abnormal, the test result flag st_hsd_fail is set to 2; when the driver chip output open circuit fault identification function is abnormal, the test result flag st_hsd_fail is set to 4; when the driver chip output short power supply fault identification function is abnormal, the test result flag st_hsd_fail is set to 8; when the driver chip output short ground fault identification function is abnormal, the test result flag st_hsd_fail is set to 16, and the test results of the abnormal fault identification function of the driver chip under different test conditions are recorded.
[0057] As an optional implementation, in an embodiment of the invention, see Figure 1As shown, the control device is a microcontroller or a single-chip microcomputer, the IN pin, DEN pin and IS pin of the driver chip BTS5030_1EJA are all connected to the microcontroller or the single-chip microcomputer, the A0 pin, A1 pin, EN pin and feedback pin of the load chip TMUX6104 are all connected to the microcontroller or the single-chip microcomputer, the microcontroller or the single-chip microcomputer sets the IN pin and DEN pin of the driver chip, and sets the A0 pin, A1 pin and EN pin of the load chip according to different test conditions, and then collects the voltage of the driver chip feedback pin IS, i.e., M_HSD_IS, and collects the voltage of the load chip feedback pin M_RELAY_FB, and determines whether the voltages of the driver chip and the load chip feedback pins are the preset voltages of the corresponding test conditions.
[0058] The present invention also provides a method for testing the fault identification function of a driver chip. Figure 2 As shown, the following steps are included:
[0059] Step S10, setting the input pins of the driver chip and the load chip according to different test conditions, collecting the voltages of the feedback pins of the driver chip and the load chip, and determining whether the voltages of the feedback pins of the driver chip and the load chip are the preset voltages of the corresponding test conditions;
[0060] Step S20, determining whether the fault identification function of the test condition corresponding to the driver chip is normal according to the judgment result.
[0061] The testing method for the fault identification function of the driver chip of the embodiment of the present invention sets the input pins of the driver chip and the load chip according to different test conditions through a control device, detects the voltage of the feedback pins of the driver chip and the load chip, and determines whether the voltage of the feedback pin is the output voltage value corresponding to the test condition, thereby testing the fault identification function of the driver chip itself. The accuracy of the driver chip fault identification can be determined based on the test results, preventing the chip from falsely reporting an erroneous control relay that causes abnormal function of the entire vehicle, thereby ensuring the reliability of the chip.
[0062] In the description of the present invention, it should be noted that the terms "upper", "lower", etc. indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific position, be constructed and operated in a specific position, and therefore cannot be understood as a limitation on the present invention. Unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be an indirect connection through an intermediate medium, or it can be a connection between the two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to the specific circumstances.
[0063] It should be noted that, in the present invention, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0064] The above description is only a specific embodiment of the present invention, so that those skilled in the art can understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but should conform to the widest scope consistent with the principles and novel features of the present invention.
Claims
1. A test system for driver chip fault identification function, characterized in that: include: Control device and load chip; All output pins of the driver chip are connected to an input pin of the load chip; The control device is connected to the driving chip and the load chip respectively, and is configured as follows: Setting the input pins of the driver chip and the load chip according to different test conditions, collecting the voltages of the feedback pins of the driver chip and the load chip, and determining whether the voltages of the feedback pins of the driver chip and the load chip are preset voltages of the corresponding test conditions; It is determined whether the fault identification function of the test condition corresponding to the driver chip is normal according to the judgment result.
2. The test system for driver chip fault identification function according to claim 1, characterized in that: The step of setting the input pins of the driver chip and the load chip according to different test conditions, collecting the voltages of the feedback pins of the driver chip and the load chip, and determining whether the voltages of the feedback pins of the driver chip and the load chip are preset voltages of the corresponding test conditions includes: When the test condition is to turn off the output of the driver chip, the first input pin of the driver chip and the second input pin of the load chip are set to a first preset value, and the second input pin of the driver chip and the first input pin and the third input pin of the load chip are set to a second preset value; The voltages of the feedback pins of the driver chip and the load chip are collected, and it is determined whether the voltages of the feedback pins of the driver chip and the load chip are a first voltage value.
3. The test system for driver chip fault identification function according to claim 1, characterized in that: The step of setting the input pins of the driver chip and the load chip according to different test conditions, collecting the voltages of the feedback pins of the driver chip and the load chip, and determining whether the voltages of the feedback pins of the driver chip and the load chip are preset voltages of the corresponding test conditions includes: When the test condition is to turn on the output of the driver chip, the second input pin of the load chip is set to a first preset value, and the first input pin and the second input pin of the driver chip and the first input pin and the third input pin of the load chip are set to a second preset value; The voltages of the feedback pins of the driver chip and the load chip are collected, and it is determined whether the voltage of the feedback pin of the driver chip is less than a second voltage value, and whether the voltage of the feedback pin of the load chip is a power supply voltage.
4. The test system for driver chip fault identification function according to claim 1, characterized in that: The step of setting the input pins of the driver chip and the load chip according to different test conditions, collecting the voltages of the feedback pins of the driver chip and the load chip, and determining whether the voltages of the feedback pins of the driver chip and the load chip are preset voltages of the corresponding test conditions includes: When the test condition is that the output of the driver chip is open, the third input pin of the load chip is set to a first preset value, and the first input pin and the second input pin of the driver chip are set to a second preset value; The voltages of the feedback pins of the driver chip and the load chip are collected, and it is determined whether the voltage of the feedback pin of the driver chip is less than a third voltage value, and whether the voltage of the feedback pin of the load chip is the first voltage value.
5. The test system for driver chip fault identification function according to claim 1, characterized in that: The step of setting the input pins of the driver chip and the load chip according to different test conditions, collecting the voltages of the feedback pins of the driver chip and the load chip, and determining whether the voltages of the feedback pins of the driver chip and the load chip are preset voltages of the corresponding test conditions includes: When the test condition is that the driver chip outputs a short-circuited power supply, the first input pin of the driver chip and the first input pin and the second input pin of the load chip are set to a first preset value, and the second input pin of the driver chip and the third input pin of the load chip are set to a second preset value; The voltages of the feedback pins of the driver chip and the load chip are collected, and it is determined whether the voltage of the feedback pin of the driver chip is a power supply voltage, and whether the voltage of the feedback pin of the load chip is a first voltage value.
6. The test system for driver chip fault identification function according to claim 1, characterized in that: The step of setting the input pins of the driver chip and the load chip according to different test conditions, collecting the voltages of the feedback pins of the driver chip and the load chip, and determining whether the voltages of the feedback pins of the driver chip and the load chip are preset voltages of the corresponding test conditions includes: When the test condition is that the output of the driver chip is short-circuited to ground, the first input pin, the second input pin of the driver chip and the first input pin, the second input pin, and the third input pin of the load chip are all set to a second preset value; The voltages of the feedback pins of the driver chip and the load chip are collected, and it is determined whether the voltage of the feedback pin of the driver chip is a fourth voltage value, and whether the voltage of the feedback pin of the load chip is a first voltage value.
7. The test system for driver chip fault identification function according to claim 1, characterized in that: The determining, according to the judgment result, whether the fault identification function of the test condition corresponding to the driver chip is normal includes: If the voltages of the feedback pins of the driver chip and the load chip are the preset voltages of the corresponding test conditions, the fault identification function of the test condition corresponding to the driver chip is normal.
8. The test system for driver chip fault identification function according to claim 7, characterized in that: The determining, according to the judgment result, whether the fault identification function of the test condition corresponding to the driver chip is normal also includes: If the voltages of the feedback pins of the driver chip and the load chip are not the preset voltages of the corresponding test conditions, the fault identification function of the test condition corresponding to the driver chip is abnormal.
9. The test system for driver chip fault identification function according to claim 1, characterized in that: The control device is a microcontroller unit or a single chip microcomputer.
10. A method for testing a driver chip fault identification function, using the driver chip fault identification function testing system according to claim 1, characterized in that: include: According to different test conditions, the input pins of the driver chip and the load chip are set, the voltages of the feedback pins of the driver chip and the load chip are collected, and it is determined whether the voltages of the feedback pins of the driver chip and the load chip are the preset voltages of the corresponding test conditions; Determine whether the fault identification function of the test condition corresponding to the driver chip is normal based on the judgment result.
Citation Information
Patent Citations
IC (integrated circuit) testing device and method
CN106443412A
Digital chip fault detection system and detection method thereof
CN107422255A
LCD / OLED driving chip detection system and method
CN110780182A
Vehicle-mounted controller underlying drive fault diagnosis method and system
CN112526964A
Circuit board testing and troubleshooting method and system
CN113433444A
Cited By
Driving chip diagnosis method and related equipment
CN119861274A
