Controller function test board card
By designing a controller function test board that integrates the main control chip circuit and other functional circuits, the problems of high cost and functional redundancy of existing equipment are solved, and moderate functional integration and low-cost controller function testing are achieved.
Patent Information
- Application Number
- CN202420349397.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-26
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2034-02-26
AI Technical Summary
Existing automotive controller functional testing equipment is expensive and has redundant functions, which cannot meet the needs of complex controller functional testing.
A controller function test board is designed, which integrates the main control chip circuit, acquisition circuit, CAN communication circuit, program download circuit, signal acquisition circuit, signal output circuit and power supply circuit. The microcontroller chip U3 interacts with these circuits. Electrical connection realizes the integration and simplification of functions.
It realizes controller functional testing without the participation of industrial computers, covers most of the circuits required for testing, has moderate functions and low cost, and meets the needs of controller functional testing.
Smart Images

Figure CN221765965U
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of automobile controller function testing, in particular to a controller function testing board. Background Art
[0002] With the rapid development of automotive electronic technology, the functions of automotive controllers are becoming more and more complex. When testing the functions of automotive controllers, more and more functions need to be tested. Most of the tests rely on industrial computers to analyze the collected information to achieve output and control functions. However, industrial computers have redundant functions and high costs. Test boards with suitable costs have single functions and cannot meet the needs of controller testing. Utility Model Content
[0003] In view of the above-mentioned defects or deficiencies in the prior art, it is desirable to provide a controller function test board that covers most of the circuits required for controller function testing and has neither redundant nor single functions.
[0004] The utility model provides a controller function test board, including a main control chip circuit, an enabling circuit of an acquisition circuit, a CAN communication circuit, a program download circuit, a signal acquisition circuit, a signal output circuit, a test interface module and a power supply circuit;
[0005] The main control chip circuit is connected to the power supply circuit;
[0006] The enabling circuit of the acquisition circuit is connected to the main control chip circuit and the power supply circuit respectively;
[0007] The CAN communication circuit is connected to the main control chip circuit and the power supply circuit respectively;
[0008] The program download circuit is connected to the main control chip circuit;
[0009] The signal acquisition circuit comprises:
[0010] An input high effective acquisition circuit, one end of which is connected to the main control chip circuit, and the other end of which is connected to the test interface module;
[0011] An input low-valid acquisition circuit, wherein the input low-valid acquisition circuit is respectively connected to the main control chip circuit, the enabling circuit of the acquisition circuit and the test interface module;
[0012] An analog quantity input acquisition circuit, one end of which is connected to the main control chip circuit, and the other end of which is connected to the test interface module;
[0013] The signal output circuit comprises:
[0014] A relay control circuit is connected to the main control chip circuit, the power supply circuit and the test interface module respectively;
[0015] The serial port plug-in H1 has its pins 2 and 3 connected to the main control chip circuit respectively, its pin 1 connected to the power supply circuit, and its pin 4 grounded;
[0016] A buzzer circuit is connected to the main control chip circuit;
[0017] The test interface module includes an interface P1 and an interface P2, and pin 20 of the interface P2 is grounded.
[0018] Furthermore, the main control chip circuit includes:
[0019] The microcontroller chip U3 has pins 1, 21, 26, 51 and 100 connected to the ground, pins 14, 27, 50, 52, 75, 77 and 100 connected to the power supply circuit, pin 15 connected to the enabling circuit of the acquisition circuit, pin 55 connected to pin 2 of the serial port plug-in H1, pin 53 connected to pin 3 of the serial port plug-in H1, and pin 16 connected to the buzzer circuit;
[0020] A resistor R8, a first end of which is connected to pin 3 of the microcontroller chip U3, and a second end of which is connected to the power supply circuit;
[0021] A non-polar capacitor C10, a first end of which is connected to the pin 110 of the microcontroller chip U3, and a second end of which is grounded;
[0022] A resistor R10, a first end of which is connected to pin 59 of the microcontroller chip U3, and a second end of which is grounded;
[0023] A resistor R11, a first end of which is connected to pin 60 of the microcontroller chip U3, and a second end of which is grounded;
[0024] A resistor R9, a first end of which is connected to pin 62 of the microcontroller chip U3, and a second end of which is connected to the power supply circuit;
[0025] A non-polar capacitor C1, a first end of which is connected to pin 96 of the microcontroller chip U3, and a second end of which is grounded;
[0026] A non-polar capacitor C2, a first end of which is connected to pin 95 of the microcontroller chip U3, and a second end of which is grounded;
[0027] A crystal oscillator X1, a first end of which is connected to pin 95 of the microcontroller chip U3, and a second end of which is connected to pin 96 of the microcontroller chip U3;
[0028] A resistor R4, one end of which is connected to pin 98 of the microcontroller chip U3, and one end of which is connected to the power supply circuit;
[0029] A resistor R3, one end of which is connected to pin 99 of the microcontroller chip U3, and one end of which is connected to the power supply circuit;
[0030] The first filter circuit of the main chip includes a non-polar capacitor C22, a non-polar capacitor C23 and a non-polar capacitor C24 connected in parallel, wherein a common first end thereof is connected to pins 38 and 88 of the microcontroller chip U3, and a common second end thereof is grounded;
[0031] The second filtering circuit of the main chip includes parallel-connected non-polar capacitors C25, C26, C27, C28, C29, C30, C31, C32 and C33, whose common first ends are connected to the power supply circuit and whose common second ends are grounded.
[0032] Furthermore, the enabling circuit of the acquisition circuit includes a bias resistor transistor Q2, whose pin 1 is connected to pin 15 of the microcontroller chip U3, pin 2 is connected to the power supply circuit, and pin 3 is connected to the input low-effective acquisition circuit.
[0033] Furthermore, the CAN communication circuit comprises:
[0034] A CAN FD transceiver chip U5, whose pin 2 is grounded and whose pin 3 is connected to the power circuit;
[0035] A resistor R12, a first end of which is connected to pin 46 of the microcontroller chip U3, and a second end of which is connected to pin 1 of the CAN FD transceiver chip U5;
[0036] A resistor R14, a first end of which is connected to pin 4 of the CAN FD transceiver chip U5, and a second end of which is connected to the power supply circuit;
[0037] A power supply R16, a first end of which is connected to pin 48 of the microcontroller chip U3, and a second end of which is connected to pin 4 of the CAN FD transceiver chip U5;
[0038] A resistor R13, a first end of which is connected to pin 8 of the CAN FD transceiver chip U5, and a second end of which is grounded;
[0039] The filter L1 has its pin 1 connected to the pin 7 of the CAN FD transceiver chip U5, and its pin 2 connected to the pin 6 of the CAN FD transceiver chip U5;
[0040] A resistor R15, a first end of which is connected to pin 4 of the filter L1;
[0041] A resistor R17, a first end of which is connected to pin 3 of the filter L1;
[0042] a non-polar capacitor C17, a first end of which is connected to the second end of the resistor R15 and the second end of the resistor R17, and a second end of which is grounded;
[0043] A TVS tube D3, a first end of which is connected to pin 4 of the filter L1, and a second end of which is grounded;
[0044] A TVS tube D4, a first end of which is connected to pin 3 of the filter L1, and a second end of which is grounded;
[0045] A non-polar capacitor C15, a first end of which is connected to the 4th pin of the filter L1, and a second end of which is grounded;
[0046] A non-polar capacitor C16, a first end of which is connected to pin 3 of the filter L1, and a second end of which is grounded;
[0047] A non-polar capacitor C19, a first end of which is respectively connected to pin 5 of the CAN FD transceiver chip U5 and a power supply circuit, and a second end is grounded;
[0048] A non-polar capacitor C21 is connected in parallel with the non-polar capacitor C19;
[0049] A non-polar capacitor C18, a first end of which is connected to the power supply circuit, and a second end of which is grounded;
[0050] The non-polar capacitor C20 is connected in parallel with the non-polar capacitor C18.
[0051] Further, the program download circuit includes:
[0052] The DAP downloader interface U2 has its pin 1 connected to the power circuit, pins 3, 5 and 9 are all grounded, pin 10 is connected to pin 97 of the microcontroller chip U3, pin 8 is connected to pin 5 of the microcontroller chip U3, pin 4 is connected to pin 80 of the microcontroller chip U3, and pin 2 is connected to pin 85 of the microcontroller chip U3;
[0053] A resistor R1, a first end of which is connected to pin 4 of the DAP downloader interface U2, and a second end of which is grounded;
[0054] A resistor R2, a first end of which is connected to pin 8 of the DAP downloader interface U2, and a second end of which is grounded;
[0055] A non-polar capacitor C9, a first end of which is connected to the pin 10 of the DAP downloader interface U2, and a second end of which is grounded;
[0056] The resistor R7 has a first end connected to the pin 10 of the DAP downloader interface U2, and a second end connected to the power supply circuit.
[0057] Furthermore, the input high effective acquisition circuit includes:
[0058] A first resistor, a first end of which is connected to the main control chip circuit, and a second end of which is connected to the test interface module;
[0059] a second resistor, a first end of which is connected to the first end of the first resistor and a second end of which is grounded;
[0060] A first non-polar capacitor connected in parallel with the second resistor;
[0061] a third resistor, a first end of which is connected to the second end of the first resistor and a second end of which is grounded;
[0062] The second non-polar capacitor is connected in parallel with the third resistor.
[0063] Furthermore, the input low effective acquisition circuit includes:
[0064] a fourth resistor, a first end of which is connected to the main control chip circuit, and a second end of which is connected to the test interface module;
[0065] a fifth resistor, a first end of which is connected to the first end of the fourth resistor, and a second end of which is grounded;
[0066] a third non-polar capacitor connected in parallel with the fifth resistor;
[0067] a sixth resistor, a first end of which is connected to the second end of the fourth resistor, and a second end of which is connected to pin 3 of the bias resistor transistor Q2;
[0068] A fourth non-polar capacitor has a first end connected to the second end of the fourth resistor and a second end connected to the ground.
[0069] Furthermore, the analog input acquisition circuit includes:
[0070] a seventh resistor, a first end of which is connected to the main control chip circuit;
[0071] an eighth resistor, a first end of which is connected to the second end of the seventh resistor, and one end of which is connected to the test interface module;
[0072] a ninth resistor, a first end of which is connected to the second end of the seventh resistor, and a second end of which is grounded;
[0073] a fifth non-polar capacitor, a first end of which is connected to the first end of the seventh resistor, and a second end of which is grounded;
[0074] The sixth non-polar capacitor is connected in parallel with the fifth non-polar capacitor.
[0075] Furthermore, the relay control circuit comprises:
[0076] The relay driving chip U6 has pin 8 connected to the ground, pin 9 connected to the power circuit, pin 1 connected to pin 94 of the microcontroller chip U3, pin 2 connected to pin 93 of the microcontroller chip U3, pin 3 connected to pin 92 of the microcontroller chip U3, pin 4 connected to pin 91 of the microcontroller chip U3, pin 5 connected to pin 90 of the microcontroller chip U3, pin 6 connected to pin 89 of the microcontroller chip U3, and pin 7 connected to pin 87 of the microcontroller chip U3;
[0077] A non-polar capacitor C42, a first end of which is connected to pin 8 of the relay driver chip U6, and a second end of which is connected to pin 9 of the relay driver chip;
[0078] A dual-circuit relay T1, whose 8th pin is connected to the power supply circuit, whose 9th pin is connected to the 16th pin of the relay driver chip, whose 10th pin is connected to the power supply circuit, whose 3rd pin is connected to the 15th pin of the relay driver chip, and whose 7th pin, 1st pin, 6th pin, 5th pin, 2nd pin and 4th pin are respectively connected to the test interface module;
[0079] A dual-circuit relay T2, whose 8th pin is connected to the power supply circuit, whose 9th pin is connected to the 14th pin of the relay driver chip, whose 10th pin is connected to the power supply circuit, whose 3rd pin is connected to the 13th pin of the relay driver chip, and whose 7th pin, 1st pin, 6th pin, 5th pin, 2nd pin and 4th pin are respectively connected to the test interface module;
[0080] A dual-circuit relay T3, whose 8th pin is connected to the power supply circuit, whose 9th pin is connected to the 12th pin of the relay driver chip, whose 10th pin is connected to the power supply circuit, whose 3rd pin is connected to the 11th pin of the relay driver chip, and whose 7th pin, 1st pin, 6th pin, 5th pin, 2nd pin and 4th pin are respectively connected to the test interface module;
[0081] A dual-circuit relay T4, whose 8th pin is connected to the power supply circuit, whose 9th pin is connected to the 10th pin of the relay driver chip, whose 10th pin is connected to the power supply circuit, and whose 7th pin, 1st pin, 6th pin, 5th pin, 2nd pin and 4th pin are respectively connected to the test interface module;
[0082] A diode D5, a cathode of which is connected to the pin 10 of the dual-circuit relay T4, and an anode of which is connected to the pin 3 of the dual-circuit relay T4;
[0083] MOS tube Q1, whose drain is connected to pin 3 of the dual-circuit relay T4, and whose source is grounded;
[0084] A resistor R50, a first end of which is connected to the gate of the MOS tube Q1, and a second end of which is connected to the 86th pin of the microcontroller chip U3;
[0085] The resistor R55 has a first end connected to the gate of the MOS transistor Q1 and a second end connected to the ground.
[0086] Further, the power supply circuit includes a 12V to 5V power supply circuit and a 5V to 3.3V power supply circuit;
[0087] The 12V to 5V power supply circuit comprises:
[0088] Linear voltage regulator chip U1, pin 1 is connected to the enabling circuit and relay control circuit of the acquisition circuit;
[0089] A diode D1, whose cathode is connected to pin 1 of the linear voltage regulator chip U1, and whose anode is connected to the test interface module;
[0090] A diode D2, a cathode of which is connected to the cathode of the diode D1, and an anode of which is grounded;
[0091] A polar capacitor C3, whose positive electrode is connected to pin 1 of the linear voltage regulator chip U1, and whose negative electrode is grounded;
[0092] A non-polar capacitor C4 is connected in parallel with the polar capacitor C3;
[0093] A non-polar capacitor C5, a first end of which is connected to pin 2 of the linear voltage regulator chip U1, and a second end of which is grounded;
[0094] A non-polar capacitor C8, a first end of which is connected to the 4th pin of the linear voltage regulator chip U1, and a second end of which is grounded;
[0095] A resistor R5, a first end of which is connected to pin 2 of the linear voltage regulator chip, and a second end of which is connected to pin 5 of the linear voltage regulator chip U1;
[0096] A polar capacitor C6, with its positive electrode connected to pin 5 of the linear voltage regulator chip U1, and its negative electrode grounded;
[0097] A non-polar capacitor C7 connected in parallel with the polar capacitor C6;
[0098] A resistor R6, a first end of which is connected to pin 5 of the linear voltage regulator chip U1;
[0099] A light emitting diode LED1, whose anode is connected to the second end of the resistor R6 and whose cathode is grounded;
[0100] The 5V to 3.3V power supply circuit comprises:
[0101] Low voltage difference linear voltage regulator chip U4, pin 1 is grounded, and pin 3 is connected to the 12V to 5V power supply circuit;
[0102] A non-polar capacitor C11, a first end of which is connected to pin 3 of the low voltage difference linear voltage regulator chip U4, and a second end of which is grounded;
[0103] A non-polar capacitor C12, connected in parallel with the non-polar capacitor C11;
[0104] A non-polar capacitor C13, a first end of which is connected to the 4th pin of the low voltage difference linear voltage regulator chip U4, and a second end of which is grounded;
[0105] The non-polar capacitor C14 is connected in parallel with the non-polar capacitor C14.
[0106] Compared with the prior art, the beneficial effects of the utility model are:
[0107] The controller function test board of the utility model is provided with the microcontroller chip U3, and the CAN communication circuit, signal acquisition circuit, and signal output circuit are electrically connected to the microcontroller chip U3, thereby getting rid of the involvement of the industrial computer during operation. The utility model covers most of the circuits required for the controller function test, has suitable functions, can meet the needs of the controller function test, has a simple circuit, and has a low cost.
[0108] It should be understood that the contents described in the utility model summary are not intended to limit the key or important features of the embodiments of the utility model, nor are they intended to limit the scope of the utility model. Other features of the utility model will become easy to understand through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0109] Other features, objects and advantages of the present invention will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:
[0110] Figure 1 This is the circuit schematic diagram of the main control chip circuit;
[0111] Figure 2 A circuit schematic diagram of an enabling circuit for an acquisition circuit;
[0112] Figure 3 This is the circuit schematic diagram of the CAN communication circuit;
[0113] Figure 4 Download the circuit schematic for the program;
[0114] Figure 5 The schematic diagram of the input high effective acquisition circuit is shown below;
[0115] Figure 6 It is the circuit schematic diagram of the input low effective acquisition circuit;
[0116] Figure 7 It is the circuit schematic diagram of the analog input acquisition circuit;
[0117] Figure 8 It is the circuit schematic diagram of the relay control circuit;
[0118] Fig. 9 This is the circuit schematic diagram of the serial port plug-in H1;
[0119] Fig.10 This is the circuit schematic diagram of the buzzer circuit;
[0120] Fig.11 The circuit schematic diagram of the test interface module;
[0121] Fig.12 This is the circuit schematic diagram of the power supply circuit. DETAILED DESCRIPTION
[0122] The utility model is further described in detail below in conjunction with the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are only used to explain the relevant utility model, rather than to limit the utility model. It is also necessary to explain that, for the convenience of description, only the parts related to the utility model are shown in the accompanying drawings.
[0123] It should be noted that, in the absence of conflict, the embodiments and features of the embodiments of the present invention can be combined with each other. The present invention will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0124] Please refer to Figures 1 to 12 , an embodiment of the utility model provides a controller function test board, including a main control chip circuit, an enabling circuit of an acquisition circuit, a CAN communication circuit, a program download circuit, a signal acquisition circuit, a signal output circuit, a test interface module and a power supply circuit;
[0125] The main control chip circuit is connected to the power supply circuit;
[0126] The enabling circuit of the acquisition circuit is connected to the main control chip circuit and the power supply circuit respectively;
[0127] The CAN communication circuit is connected to the main control chip circuit and the power supply circuit respectively;
[0128] The program download circuit is connected to the main control chip circuit;
[0129] The signal acquisition circuit comprises:
[0130] An input high effective acquisition circuit, one end of which is connected to the main control chip circuit, and the other end of which is connected to the test interface module;
[0131] An input low-valid acquisition circuit, wherein the input low-valid acquisition circuit is respectively connected to the main control chip circuit, the enabling circuit of the acquisition circuit and the test interface module;
[0132] An analog quantity input acquisition circuit, one end of which is connected to the main control chip circuit, and the other end of which is connected to the test interface module;
[0133] The signal output circuit comprises:
[0134] A relay control circuit is connected to the main control chip circuit, the power supply circuit and the test interface module respectively;
[0135] The serial port plug-in H1 has its pins 2 and 3 connected to the main control chip circuit respectively, its pin 1 connected to the power supply circuit, and its pin 4 grounded;
[0136] A buzzer circuit is connected to the main control chip circuit;
[0137] The test interface module includes an interface P1 and an interface P2, and pin 20 of the interface P2 is grounded.
[0138] In this embodiment, the main control chip circuit selects the required signal acquisition circuit according to the actual required acquisition type, wherein the "input high effective acquisition circuit", "input low effective acquisition circuit" and "analog input acquisition circuit" can act separately or simultaneously, and the signal acquisition circuit transmits the collected signal to the microcontroller chip U3, and the collected signal is processed by the program in the microcontroller chip U3, and the processed data is sent out through the CAN communication circuit. When the CAN communication circuit receives the information, the data is transmitted to the microcontroller chip U3. The microcontroller chip U3 writes the signal collected by the signal acquisition circuit or parses the signal received by the CAN communication circuit, and outputs the signal to the "buzzer circuit", "relay control circuit" and "serial port plug-in H1".
[0139] The new functions of the present application are moderate, covering most of the circuits required for controller function testing, with no redundant functions, simple circuits and low manufacturing costs.
[0140] In a preferred embodiment, if Figure 1 As shown, the main control chip circuit includes:
[0141] The microcontroller chip U3 has pins 1, 21, 26, 51 and 100 connected to the ground, pins 14, 27, 50, 52, 75, 77 and 100 connected to the power supply circuit, pin 15 connected to the enabling circuit of the acquisition circuit, pin 55 connected to pin 2 of the serial port plug-in H1, pin 53 connected to pin 3 of the serial port plug-in H1, and pin 16 connected to the buzzer circuit;
[0142] A resistor R8, a first end of which is connected to pin 3 of the microcontroller chip U3, and a second end of which is connected to the power supply circuit;
[0143] A non-polar capacitor C10, a first end of which is connected to the pin 110 of the microcontroller chip U3, and a second end of which is grounded;
[0144] A resistor R10, a first end of which is connected to pin 59 of the microcontroller chip U3, and a second end of which is grounded;
[0145] A resistor R11, a first end of which is connected to pin 60 of the microcontroller chip U3, and a second end of which is grounded;
[0146] A resistor R9, a first end of which is connected to pin 62 of the microcontroller chip U3, and a second end of which is connected to the power supply circuit;
[0147] A non-polar capacitor C1, a first end of which is connected to pin 96 of the microcontroller chip U3, and a second end of which is grounded;
[0148] A non-polar capacitor C2, a first end of which is connected to pin 95 of the microcontroller chip U3, and a second end of which is grounded;
[0149] A crystal oscillator X1, a first end of which is connected to pin 95 of the microcontroller chip U3, and a second end of which is connected to pin 96 of the microcontroller chip U3;
[0150] A resistor R4, one end of which is connected to pin 98 of the microcontroller chip U3, and one end of which is connected to the power supply circuit;
[0151] A resistor R3, one end of which is connected to pin 99 of the microcontroller chip U3, and one end of which is connected to the power supply circuit;
[0152] The first filter circuit of the main chip includes a non-polar capacitor C22, a non-polar capacitor C23 and a non-polar capacitor C24 connected in parallel, wherein a common first end thereof is connected to pins 38 and 88 of the microcontroller chip U3, and a common second end thereof is grounded;
[0153] The second filtering circuit of the main chip includes parallel-connected non-polar capacitors C25, C26, C27, C28, C29, C30, C31, C32 and C33, whose common first ends are connected to the power supply circuit and whose common second ends are grounded.
[0154] In a preferred embodiment, if Figure 2 As shown, the enabling circuit of the acquisition circuit includes a bias resistor transistor Q2, whose pin 1 is connected to pin 15 of the microcontroller chip U3, pin 2 is connected to the power supply circuit, and pin 3 is connected to the input low-effective acquisition circuit.
[0155] In this embodiment, the enabling circuit of the acquisition circuit controls the signal acquisition circuit to be enabled. The signal acquisition circuit is enabled when acquiring data and is disabled when not acquiring data, thereby reducing the power consumption of the vehicle battery.
[0156] In a preferred embodiment, if Figure 3 As shown, the CAN communication circuit includes:
[0157] A CAN FD transceiver chip U5, whose pin 2 is grounded and whose pin 3 is connected to the power circuit;
[0158] A resistor R12, a first end of which is connected to pin 46 of the microcontroller chip U3, and a second end of which is connected to pin 1 of the CAN FD transceiver chip U5;
[0159] A resistor R14, a first end of which is connected to pin 4 of the CAN FD transceiver chip U5, and a second end of which is connected to the power supply circuit;
[0160] A power supply R16, a first end of which is connected to pin 48 of the microcontroller chip U3, and a second end of which is connected to pin 4 of the CAN FD transceiver chip U5;
[0161] A resistor R13, a first end of which is connected to pin 8 of the CAN FD transceiver chip U5, and a second end of which is grounded;
[0162] The filter L1 has its pin 1 connected to the pin 7 of the CAN FD transceiver chip U5, and its pin 2 connected to the pin 6 of the CAN FD transceiver chip U5;
[0163] A resistor R15, a first end of which is connected to pin 4 of the filter L1;
[0164] A resistor R17, a first end of which is connected to pin 3 of the filter L1;
[0165] a non-polar capacitor C17, a first end of which is connected to the second end of the resistor R15 and the second end of the resistor R17, and a second end of which is grounded;
[0166] A TVS tube D3, a first end of which is connected to pin 4 of the filter L1, and a second end of which is grounded;
[0167] A TVS tube D4, a first end of which is connected to pin 3 of the filter L1, and a second end of which is grounded;
[0168] A non-polar capacitor C15, a first end of which is connected to the 4th pin of the filter L1, and a second end of which is grounded;
[0169] A non-polar capacitor C16, a first end of which is connected to pin 3 of the filter L1, and a second end of which is grounded;
[0170] A non-polar capacitor C19, a first end of which is respectively connected to pin 5 of the CAN FD transceiver chip U5 and a power supply circuit, and a second end is grounded;
[0171] A non-polar capacitor C21 is connected in parallel with the non-polar capacitor C19;
[0172] A non-polar capacitor C18, a first end of which is connected to the power supply circuit, and a second end of which is grounded;
[0173] The non-polar capacitor C20 is connected in parallel with the non-polar capacitor C18.
[0174] In a preferred embodiment, if Figure 4 As shown, the program download circuit includes:
[0175] The DAP downloader interface U2 has its pin 1 connected to the power circuit, pins 3, 5 and 9 are all grounded, pin 10 is connected to pin 97 of the microcontroller chip U3, pin 8 is connected to pin 5 of the microcontroller chip U3, pin 4 is connected to pin 80 of the microcontroller chip U3, and pin 2 is connected to pin 85 of the microcontroller chip U3;
[0176] A resistor R1, a first end of which is connected to pin 4 of the DAP downloader interface U2, and a second end of which is grounded;
[0177] A resistor R2, a first end of which is connected to pin 8 of the DAP downloader interface U2, and a second end of which is grounded;
[0178] A non-polar capacitor C9, a first end of which is connected to the pin 10 of the DAP downloader interface U2, and a second end of which is grounded;
[0179] The resistor R7 has a first end connected to the pin 10 of the DAP downloader interface U2, and a second end connected to the power supply circuit.
[0180] In a preferred embodiment, if Figure 5 As shown, the input high effective acquisition circuit includes:
[0181] A first resistor R18 / R19 / R24 / R25, a first end of which is connected to pin 73 / pin 72 / pin 71 / pin 70 of the microcontroller chip U3, and a second end of which is connected to pin 5 / pin 6 / pin 7 / pin 8 of the interface P2;
[0182] A second resistor R21 / R23 / R27 / R29, a first end of which is connected to the first end of the first resistor R18 / R19 / R24 / R25, and a second end of which is grounded;
[0183] A first non-polar capacitor C35 / C37 / C39 / C41 is connected in parallel with the second resistor;
[0184] A third resistor R20 / R22 / R26 / R28, a first end of which is connected to the second end of the first resistor R18 / R19 / R24 / R25, and a second end of which is grounded;
[0185] The second non-polar capacitor C34 / C36 / C38 / C40 is connected in parallel with the third resistor R20 / R22 / R26 / R28.
[0186] In a preferred embodiment, if Figure 6As shown, the input low effective acquisition circuit includes:
[0187] A fourth resistor R30 / R31 / R36 / R37, a first end of which is connected to pin 69 / pin 68 / pin 67 / pin 66 of the microcontroller chip U3, and a second end of which is connected to pin 9 / pin 10 / pin 11 / pin 12 of the interface P2;
[0188] A fifth resistor R33 / R35 / R39 / R41, a first end of which is connected to the first end of the fourth resistor R30 / R31 / R36 / R37, and a second end of which is grounded;
[0189] A third non-polar capacitor C44 / C46 / C48 / C50 is connected in parallel with the fifth resistor R33 / R35 / R39 / R41;
[0190] A sixth resistor R32 / R34 / R38 / R40, a first end of which is connected to the second end of the fourth resistor R30 / R31 / R36 / R37, and a second end of which is connected to pin 3 of the bias resistor transistor Q2;
[0191] The fourth non-polar capacitor C43 / C45 / C47 / C49 has a first end connected to the second end of the fourth resistor R30 / R31 / R36 / R37, and a second end grounded.
[0192] In a preferred embodiment, if Figure 7 As shown, the analog input acquisition circuit includes:
[0193] A seventh resistor R46 / R47 / R48 / R49, a first end of which is connected to pin 28 / pin 29 / pin 30 / pin 31 of the microcontroller chip U3;
[0194] An eighth resistor R42 / R43 / R44 / R45, a first end of which is connected to the second end of the seventh resistor R46 / R47 / R48 / R49, and one end of which is connected to pin 13 / pin 14 / pin 15 / pin 16 of the interface P2;
[0195] A ninth resistor R51 / R52 / R53 / R54, a first end of which is connected to the second end of the seventh resistor R46 / R47 / R48 / R49, and a second end of which is grounded;
[0196] A fifth non-polar capacitor C51 / C53 / C55 / C57, a first end of which is connected to the first end of the seventh resistor R46 / R47 / R48 / R49, and a second end of which is grounded;
[0197] The sixth non-polar capacitor C52 / C54 / C56 / C58 is connected in parallel with the fifth non-polar capacitor C51 / C53 / C55 / C57.
[0198] In a preferred embodiment, if Figure 8 As shown, the relay control circuit includes:
[0199] The relay driving chip U6 has pin 8 connected to the ground, pin 9 connected to the power circuit, pin 1 connected to pin 94 of the microcontroller chip U3, pin 2 connected to pin 93 of the microcontroller chip U3, pin 3 connected to pin 92 of the microcontroller chip U3, pin 4 connected to pin 91 of the microcontroller chip U3, pin 5 connected to pin 90 of the microcontroller chip U3, pin 6 connected to pin 89 of the microcontroller chip U3, and pin 7 connected to pin 87 of the microcontroller chip U3;
[0200] A non-polar capacitor C42, a first end of which is connected to pin 8 of the relay driver chip U6, and a second end of which is connected to pin 9 of the relay driver chip;
[0201] A dual-circuit relay T1, whose pin 8 is connected to the power circuit, whose pin 9 is connected to the pin 16 of the relay driver chip, whose pin 10 is connected to the power circuit, whose pin 3 is connected to the pin 15 of the relay driver chip, whose pin 7 is connected to the pin 1 of the interface P1, whose pin 1 is connected to the pin 2 of the interface P1, whose pin 6 is connected to the pin 3 of the interface P1, whose pin 5 is connected to the pin 4 of the interface P1, whose pin 2 is connected to the pin 5 of the interface P1, and whose pin 4 is connected to the pin 6 of the interface P1;
[0202] A dual-circuit relay T2, whose 8th pin is connected to the power supply circuit, whose 9th pin is connected to the 14th pin of the relay driver chip, whose 10th pin is connected to the power supply circuit, whose 3rd pin is connected to the 13th pin of the relay driver chip, whose 7th pin is connected to the 7th pin of the interface P1, whose 1st pin is connected to the 8th pin of the interface P1, whose 6th pin is connected to the 9th pin of the interface P1, whose 5th pin is connected to the 10th pin of the interface P1, whose 2nd pin is connected to the 11th pin of the interface P1, and whose 4th pin is connected to the 12th pin of the interface P1;
[0203] A dual-circuit relay T3, whose pin 8 is connected to the power circuit, whose pin 9 is connected to the pin 12 of the relay driver chip, whose pin 10 is connected to the power circuit, whose pin 3 is connected to the pin 11 of the relay driver chip, whose pin 7 is connected to the pin 13 of the interface P1, whose pin 1 is connected to the pin 14 of the interface P1, whose pin 6 is connected to the pin 15 of the interface P1, whose pin 5 is connected to the pin 16 of the interface P1, whose pin 2 is connected to the pin 17 of the interface P1, and whose pin 4 is connected to the pin 18 of the interface P1;
[0204] A dual-circuit relay T4, whose pin 8 is connected to the power supply circuit, whose pin 9 is connected to the pin 10 of the relay driver chip, whose pin 10 is connected to the power supply circuit, whose pin 1 is connected to the pin 20 of the interface P1, whose pin 7 is connected to the pin 19 of the interface P1, whose pin 6 is connected to the pin 1 of the interface P2, whose pin 5 is connected to the pin 2 of the interface P2, whose pin 2 is connected to the pin 3 of the interface P2, and whose pin 4 is connected to the pin 4 of the interface P2;
[0205] A diode D5, a cathode of which is connected to the pin 10 of the dual-circuit relay T4, and an anode of which is connected to the pin 3 of the dual-circuit relay T4;
[0206] MOS tube Q1, whose drain is connected to pin 3 of the dual-circuit relay T4, and whose source is grounded;
[0207] A resistor R50, a first end of which is connected to the gate of the MOS tube Q1, and a second end of which is connected to the 86th pin of the microcontroller chip U3;
[0208] The resistor R55 has a first end connected to the gate of the MOS transistor Q1 and a second end connected to the ground.
[0209] In a preferred embodiment, if Fig.12 As shown, the power supply circuit includes a 12V to 5V power supply circuit and a 5V to 3.3V power supply circuit;
[0210] The 12V to 5V power supply circuit comprises:
[0211] Linear voltage regulator chip U1, pin 1 of which is connected to the enabling circuit and relay control circuit of the acquisition circuit;
[0212] A diode D1, with its cathode connected to pin 1 of the linear voltage regulator chip U1, and its anode connected to pin 19 of the interface P2;
[0213] A diode D2, a cathode of which is connected to the cathode of the diode D1, and an anode of which is grounded;
[0214] A polar capacitor C3, whose positive electrode is connected to pin 1 of the linear voltage regulator chip U1, and whose negative electrode is grounded;
[0215] A non-polar capacitor C4 is connected in parallel with the polar capacitor C3;
[0216] A non-polar capacitor C5, a first end of which is connected to pin 2 of the linear voltage regulator chip U1, and a second end of which is grounded;
[0217] A non-polar capacitor C8, a first end of which is connected to the 4th pin of the linear voltage regulator chip U1, and a second end of which is grounded;
[0218] A resistor R5, a first end of which is connected to pin 2 of the linear voltage regulator chip, and a second end of which is connected to pin 5 of the linear voltage regulator chip U1;
[0219] A polar capacitor C6, with its positive electrode connected to pin 5 of the linear voltage regulator chip U1, and its negative electrode grounded;
[0220] A non-polar capacitor C7 connected in parallel with the polar capacitor C6;
[0221] A resistor R6, a first end of which is connected to pin 5 of the linear voltage regulator chip U1;
[0222] A light emitting diode LED1, whose anode is connected to the second end of the resistor R6 and whose cathode is grounded;
[0223] The 5V to 3.3V power supply circuit comprises:
[0224] Low voltage difference linear voltage regulator chip U4, pin 1 is grounded, and pin 3 is connected to the 12V to 5V power supply circuit;
[0225] A non-polar capacitor C11, a first end of which is connected to pin 3 of the low voltage difference linear voltage regulator chip U4, and a second end of which is grounded;
[0226] A non-polar capacitor C12, connected in parallel with the non-polar capacitor C11;
[0227] A non-polar capacitor C13, a first end of which is connected to the 4th pin of the low voltage difference linear voltage regulator chip U4, and a second end of which is grounded;
[0228] The non-polar capacitor C14 is connected in parallel with the non-polar capacitor C14.
[0229] In the description of this specification, the description of the terms "one embodiment", "some embodiments", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.
[0230] The above are only preferred embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A controller function test board, characterized in that: It includes a main control chip circuit, an enabling circuit of an acquisition circuit, a CAN communication circuit, a program download circuit, a signal acquisition circuit, a signal output circuit, a test interface module and a power supply circuit; The main control chip circuit is connected to the power supply circuit; The enabling circuit of the acquisition circuit is connected to the main control chip circuit and the power supply circuit respectively; The CAN communication circuit is connected to the main control chip circuit and the power supply circuit respectively; The program download circuit is connected to the main control chip circuit; The signal acquisition circuit comprises: An input high effective acquisition circuit, one end of which is connected to the main control chip circuit, and the other end of which is connected to the test interface module; An input low-valid acquisition circuit, wherein the input low-valid acquisition circuit is respectively connected to the main control chip circuit, the enabling circuit of the acquisition circuit and the test interface module; An analog quantity input acquisition circuit, one end of which is connected to the main control chip circuit, and the other end of which is connected to the test interface module; The signal output circuit comprises: A relay control circuit is connected to the main control chip circuit, the power supply circuit and the test interface module respectively; The serial port plug-in H1 has its pins 2 and 3 connected to the main control chip circuit respectively, its pin 1 connected to the power supply circuit, and its pin 4 grounded; A buzzer circuit is connected to the main control chip circuit; The test interface module includes an interface P1 and an interface P2, and pin 20 of the interface P2 is grounded.
2. The controller function test board according to claim 1, characterized in that: The main control chip circuit comprises: The microcontroller chip U3 has pins 1, 21, 26, 51 and 100 connected to the ground, pins 14, 27, 50, 52, 75, 77 and 100 connected to the power supply circuit, pin 15 connected to the enabling circuit of the acquisition circuit, pin 55 connected to pin 2 of the serial port plug-in H1, pin 53 connected to pin 3 of the serial port plug-in H1, and pin 16 connected to the buzzer circuit; A resistor R8, a first end of which is connected to pin 3 of the microcontroller chip U3, and a second end of which is connected to the power supply circuit; A non-polar capacitor C10, a first end of which is connected to the pin 110 of the microcontroller chip U3, and a second end of which is grounded; A resistor R10, a first end of which is connected to pin 59 of the microcontroller chip U3, and a second end of which is grounded; A resistor R11, a first end of which is connected to pin 60 of the microcontroller chip U3, and a second end of which is grounded; A resistor R9, a first end of which is connected to pin 62 of the microcontroller chip U3, and a second end of which is connected to the power supply circuit; A non-polar capacitor C1, a first end of which is connected to pin 96 of the microcontroller chip U3, and a second end of which is grounded; A non-polar capacitor C2, a first end of which is connected to pin 95 of the microcontroller chip U3, and a second end of which is grounded; A crystal oscillator X1, a first end of which is connected to pin 95 of the microcontroller chip U3, and a second end of which is connected to pin 96 of the microcontroller chip U3; A resistor R4, one end of which is connected to pin 98 of the microcontroller chip U3, and one end of which is connected to the power supply circuit; A resistor R3, one end of which is connected to pin 99 of the microcontroller chip U3, and one end of which is connected to the power supply circuit; The first filter circuit of the main chip includes a non-polar capacitor C22, a non-polar capacitor C23 and a non-polar capacitor C24 connected in parallel, wherein a common first end thereof is connected to pins 38 and 88 of the microcontroller chip U3, and a common second end thereof is grounded; The second filtering circuit of the main chip includes parallel-connected non-polar capacitors C25, C26, C27, C28, C29, C30, C31, C32 and C33, whose common first ends are connected to the power supply circuit and whose common second ends are grounded.
3. The controller function test board according to claim 2, characterized in that: The enabling circuit of the acquisition circuit includes a bias resistor transistor Q2, whose pin 1 is connected to pin 15 of the microcontroller chip U3, pin 2 is connected to the power supply circuit, and pin 3 is connected to the input low-effective acquisition circuit.
4. The controller function test board according to claim 2, characterized in that: The CAN communication circuit comprises: A CAN FD transceiver chip U5, whose pin 2 is grounded and whose pin 3 is connected to the power circuit; A resistor R12, a first end of which is connected to pin 46 of the microcontroller chip U3, and a second end of which is connected to pin 1 of the CAN FD transceiver chip U5; A resistor R14, a first end of which is connected to pin 4 of the CAN FD transceiver chip U5, and a second end of which is connected to the power supply circuit; A power supply R16, a first end of which is connected to pin 48 of the microcontroller chip U3, and a second end of which is connected to pin 4 of the CAN FD transceiver chip U5; A resistor R13, a first end of which is connected to pin 8 of the CAN FD transceiver chip U5, and a second end of which is grounded; The filter L1 has its pin 1 connected to the pin 7 of the CAN FD transceiver chip U5, and its pin 2 connected to the pin 6 of the CAN FD transceiver chip U5; A resistor R15, a first end of which is connected to pin 4 of the filter L1; A resistor R17, a first end of which is connected to pin 3 of the filter L1; a non-polar capacitor C17, a first end of which is connected to the second end of the resistor R15 and the second end of the resistor R17, and a second end of which is grounded; A TVS tube D3, a first end of which is connected to pin 4 of the filter L1, and a second end of which is grounded; A TVS tube D4, a first end of which is connected to pin 3 of the filter L1, and a second end of which is grounded; A non-polar capacitor C15, a first end of which is connected to the 4th pin of the filter L1, and a second end of which is grounded; A non-polar capacitor C16, a first end of which is connected to pin 3 of the filter L1, and a second end of which is grounded; A non-polar capacitor C19, a first end of which is respectively connected to pin 5 of the CAN FD transceiver chip U5 and a power supply circuit, and a second end is grounded; A non-polar capacitor C21 is connected in parallel with the non-polar capacitor C19; A non-polar capacitor C18, a first end of which is connected to the power supply circuit, and a second end of which is grounded; The non-polar capacitor C20 is connected in parallel with the non-polar capacitor C18.
5. The controller function test board according to claim 2, characterized in that: The program download circuit comprises: The DAP downloader interface U2 has its pin 1 connected to the power circuit, pins 3, 5 and 9 are all grounded, pin 10 is connected to pin 97 of the microcontroller chip U3, pin 8 is connected to pin 5 of the microcontroller chip U3, pin 4 is connected to pin 80 of the microcontroller chip U3, and pin 2 is connected to pin 85 of the microcontroller chip U3; A resistor R1, a first end of which is connected to pin 4 of the DAP downloader interface U2, and a second end of which is grounded; A resistor R2, a first end of which is connected to pin 8 of the DAP downloader interface U2, and a second end of which is grounded; A non-polar capacitor C9, a first end of which is connected to the pin 10 of the DAP downloader interface U2, and a second end of which is grounded; The resistor R7 has a first end connected to the pin 10 of the DAP downloader interface U2, and a second end connected to the power supply circuit.
6. The controller function test board according to claim 1, characterized in that: The input high effective acquisition circuit comprises: A first resistor, a first end of which is connected to the main control chip circuit, and a second end of which is connected to the test interface module; a second resistor, a first end of which is connected to the first end of the first resistor and a second end of which is grounded; A first non-polar capacitor connected in parallel with the second resistor; a third resistor, a first end of which is connected to the second end of the first resistor and a second end of which is grounded; The second non-polar capacitor is connected in parallel with the third resistor.
7. The controller function test board according to claim 3, characterized in that: The input low effective acquisition circuit comprises: a fourth resistor, a first end of which is connected to the main control chip circuit, and a second end of which is connected to the test interface module; a fifth resistor, a first end of which is connected to the first end of the fourth resistor, and a second end of which is grounded; a third non-polar capacitor connected in parallel with the fifth resistor; a sixth resistor, a first end of which is connected to the second end of the fourth resistor, and a second end of which is connected to pin 3 of the bias resistor transistor Q2; A fourth non-polar capacitor has a first end connected to the second end of the fourth resistor and a second end connected to the ground.
8. The controller function test board according to claim 1, characterized in that: The analog input acquisition circuit comprises: a seventh resistor, a first end of which is connected to the main control chip circuit; an eighth resistor, a first end of which is connected to the second end of the seventh resistor, and one end of which is connected to the test interface module; a ninth resistor, a first end of which is connected to the second end of the seventh resistor, and a second end of which is grounded; a fifth non-polar capacitor, a first end of which is connected to the first end of the seventh resistor, and a second end of which is grounded; The sixth non-polar capacitor is connected in parallel with the fifth non-polar capacitor.
9. The controller function test board according to claim 2, characterized in that: The relay control circuit comprises: The relay driving chip U6 has pin 8 connected to the ground, pin 9 connected to the power circuit, pin 1 connected to pin 94 of the microcontroller chip U3, pin 2 connected to pin 93 of the microcontroller chip U3, pin 3 connected to pin 92 of the microcontroller chip U3, pin 4 connected to pin 91 of the microcontroller chip U3, pin 5 connected to pin 90 of the microcontroller chip U3, pin 6 connected to pin 89 of the microcontroller chip U3, and pin 7 connected to pin 87 of the microcontroller chip U3; A non-polar capacitor C42, a first end of which is connected to pin 8 of the relay driver chip U6, and a second end of which is connected to pin 9 of the relay driver chip; A dual-circuit relay T1, whose 8th pin is connected to the power supply circuit, whose 9th pin is connected to the 16th pin of the relay driver chip, whose 10th pin is connected to the power supply circuit, whose 3rd pin is connected to the 15th pin of the relay driver chip, and whose 7th pin, 1st pin, 6th pin, 5th pin, 2nd pin and 4th pin are respectively connected to the test interface module; A dual-circuit relay T2, whose 8th pin is connected to the power supply circuit, whose 9th pin is connected to the 14th pin of the relay driver chip, whose 10th pin is connected to the power supply circuit, whose 3rd pin is connected to the 13th pin of the relay driver chip, and whose 7th pin, 1st pin, 6th pin, 5th pin, 2nd pin and 4th pin are respectively connected to the test interface module; A dual-circuit relay T3, whose 8th pin is connected to the power supply circuit, whose 9th pin is connected to the 12th pin of the relay driver chip, whose 10th pin is connected to the power supply circuit, whose 3rd pin is connected to the 11th pin of the relay driver chip, and whose 7th pin, 1st pin, 6th pin, 5th pin, 2nd pin and 4th pin are respectively connected to the test interface module; A dual-circuit relay T4, whose 8th pin is connected to the power supply circuit, whose 9th pin is connected to the 10th pin of the relay driver chip, whose 10th pin is connected to the power supply circuit, and whose 7th pin, 1st pin, 6th pin, 5th pin, 2nd pin and 4th pin are respectively connected to the test interface module; A diode D5, a cathode of which is connected to the pin 10 of the dual-circuit relay T4, and an anode of which is connected to the pin 3 of the dual-circuit relay T4; MOS tube Q1, whose drain is connected to pin 3 of the dual-circuit relay T4, and whose source is grounded; A resistor R50, a first end of which is connected to the gate of the MOS tube Q1, and a second end of which is connected to the 86th pin of the microcontroller chip U3; The resistor R55 has a first end connected to the gate of the MOS transistor Q1 and a second end connected to the ground.
10. The controller function test board according to claim 1, characterized in that: The power supply circuit includes a 12V to 5V power supply circuit and a 5V to 3.3V power supply circuit; The 12V to 5V power supply circuit comprises: Linear voltage regulator chip U1, pin 1 of which is connected to the enabling circuit and relay control circuit of the acquisition circuit; A diode D1, whose cathode is connected to pin 1 of the linear voltage regulator chip U1, and whose anode is connected to the test interface module; A diode D2, a cathode of which is connected to the cathode of the diode D1, and an anode of which is grounded; A polar capacitor C3, whose positive electrode is connected to pin 1 of the linear voltage regulator chip U1, and whose negative electrode is grounded; A non-polar capacitor C4 is connected in parallel with the polar capacitor C3; A non-polar capacitor C5, a first end of which is connected to pin 2 of the linear voltage regulator chip U1, and a second end of which is grounded; A non-polar capacitor C8, a first end of which is connected to the 4th pin of the linear voltage regulator chip U1, and a second end of which is grounded; A resistor R5, a first end of which is connected to pin 2 of the linear voltage regulator chip, and a second end of which is connected to pin 5 of the linear voltage regulator chip U1; A polar capacitor C6, with its positive electrode connected to pin 5 of the linear voltage regulator chip U1, and its negative electrode grounded; A non-polar capacitor C7 connected in parallel with the polar capacitor C6; A resistor R6, a first end of which is connected to pin 5 of the linear voltage regulator chip U1; A light emitting diode LED1, whose anode is connected to the second end of the resistor R6 and whose cathode is grounded; The 5V to 3.3V power supply circuit comprises: Low voltage difference linear voltage regulator chip U4, pin 1 is grounded, and pin 3 is connected to the 12V to 5V power supply circuit; A non-polar capacitor C11, a first end of which is connected to pin 3 of the low voltage difference linear voltage regulator chip U4, and a second end of which is grounded; A non-polar capacitor C12, connected in parallel with the non-polar capacitor C11; A non-polar capacitor C13, a first end of which is connected to the 4th pin of the low voltage difference linear voltage regulator chip U4, and a second end of which is grounded; The non-polar capacitor C14 is connected in parallel with the non-polar capacitor C14.
