Gated switch detection device
By designing a gate switch detection device, the gate switch is automatically detected by the MCU module, CAN communication module and action control module, the problem of excessive time-consuming existing detection methods is solved, and an efficient and accurate detection process is achieved.
Patent Information
- Application Number
- CN202422016628.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-20
- Publication Date
- 2025-06-27
- Estimated Expiration
- 2034-08-20
AI Technical Summary
The existing detection methods require manual testing of the buttons on the gate switch one by one, which takes too long.
A gated switch detection device is designed, including a detection box, an MCU module, a CAN communication module, an action control module, a detection result indication module and a display screen. The control signal is sent to the action control module through the MCU module. The action control module drives the gated switch to the action, the CAN communication module receives and uploads the action signal, and the MCU module judges and displays the detection result.
There is no need for manual inspection one by one, reducing manual intervention, improving detection accuracy, and shortening detection time.
Smart Images

Figure CN223038129U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to a switch detection device, in particular to a door control switch detection device. Background Art
[0002] With the development of the automotive industry, the quality and performance detection of automotive parts has become an indispensable part of ensuring the performance and driving safety of the whole vehicle. Among many key components, the door control switch has attracted much attention due to its unique functional position; the door control switch is not only an important part of the vehicle interior decoration, but also a core component directly related to the comfort and safety of passengers; it is responsible for controlling the lifting of the window glass and the opening and closing of the door lock, ensuring that the driver and passengers can freely enter and exit the vehicle, and at the same time, in case of emergency, whether it works properly is directly related to whether they can escape quickly; therefore, the detection of the performance of the door control switch is particularly important.
[0003] The existing detection method requires manual connection and testing of each button on the door control switch one by one, which not only consumes a lot of time, but also may increase the detection cost. Summary of the Utility Model
[0004] The purpose of the utility model is to solve the technical problem that the existing detection method requires manual testing of the buttons on the door control switch one by one, which takes too long, and to provide a door control switch detection device.
[0005] To solve the above technical problems, the technical solution provided by the utility model is as follows:
[0006] A door control switch detection device includes a detection box, a product connector and a power interface are arranged on the side of the detection box, and a display screen and a switch button are arranged on the top;
[0007] A detection bottom plate is arranged inside the detection box, and an MCU module, a voltage stabilizing module, and a CAN communication module, an action control module, a start module, a detection result indication module and a display screen interface module connected to the MCU module are arranged on the detection bottom plate;
[0008] The voltage stabilizing module, the CAN communication module and the action control module are all connected to the product connector;
[0009] The voltage stabilizing module is connected to the CAN communication module, the action control module, the start module and the detection result indication module;
[0010] The display screen interface module is connected to the display screen; the switch button is connected to the MCU module.
[0011] Further, the MCU module includes an MCU single-chip microcomputer U4. The first pin, second pin, fourth pin, and sixth pin of the MCU single-chip microcomputer U4 are respectively connected to one end of a capacitor C10, a capacitor C11, a capacitor C12, and a capacitor C13. The other ends of the capacitor C10, the capacitor C11, the capacitor C12, and the capacitor C13 are connected together and grounded.
[0012] A parallel combination of a passive crystal oscillator X1 and a resistor R11 is connected in series between the fourth pin and the sixth pin of the MCU single-chip microcomputer U4.
[0013] The third pin, fifth pin, seventh pin, and eighth pin of the MCU single-chip microcomputer U4 are connected together and grounded.
[0014] Further, the CAN communication module includes a CAN communication chip U2, a TVS diode D2, an inductor L1, and an inductor L2.
[0015] The first pin, third pin, and fourth pin of the CAN communication chip U2 are respectively connected to the thirty-second pin, second pin, and thirty-first pin of the MCU single-chip microcomputer U4.
[0016] A resistor R8 is provided between the third pin of the CAN communication chip U2 and the first pin of the MCU single-chip microcomputer U4.
[0017] The second pin of the CAN communication chip U2 is connected to the voltage regulation module.
[0018] A capacitor C6 and a capacitor C4 are connected in series between the fifth pin and the sixth pin of the CAN communication chip U2, and the connection point between the capacitor C6 and the capacitor C4 is connected to the first pin of the TVS diode D2.
[0019] The seventh pin and the eighth pin of the CAN communication chip U2 are connected together. The seventh pin is connected to the second pin of the TVS diode D2 and one end of an inductor L1. The other end of the inductor L1 is connected to the CANL pin of the product connector. The eighth pin is connected to the third pin of the TVS diode D2 and one end of an inductor L2. The other end of the inductor L2 is connected to the CANH pin of the product connector. A resistor R2 and a resistor R1 are connected in series between the CANL pin and the CANH pin of the product connector.
[0020] A capacitor C5 is connected in series between the eighth pin of the CAN communication chip U2 and the first pin of the TVS diode D2.
[0021] The first pin of the TVS diode D2 is connected to one end of a capacitor C14 and a resistor R12. A resistor R13 and a resistor R10 are connected in series between the other end of the capacitor C14 and the other end of the resistor R12. The other end of the resistor R12 is connected to the VO pin of the product connector, and the other end of the capacitor C14 is grounded.
[0022] The eighth pin of the CAN communication chip U2 is connected to the first pin of the TVS diode D2 and grounded.
[0023] Further, the voltage stabilizing module includes a voltage stabilizing chip U1, a triode Q1, a Schottky diode DZ1, and a diode D1;
[0024] The first pin of the voltage stabilizing chip U1 is connected to the third pin, and the first pin is connected to the second pin of the triode Q1. The third pin of the triode Q1 is connected to one ends of the diode D1, the resistor R3, and the capacitor C1. The other end of the diode D1 is connected to the VDD1 pin of the product connector. The other end of the resistor R3 is connected to one ends of the capacitor C2 and the Schottky diode DZ1. The second pin of the voltage stabilizing chip U1 is connected to the other ends of the capacitor C1, the capacitor C2, and the Schottky diode DZ1, as well as the GND pin of the product connector;
[0025] A capacitor C3 is provided between the first pin and the second pin of the voltage stabilizing chip U1;
[0026] The second pin and the fifth pin of the voltage stabilizing chip U1 are both connected to the second pin of the CAN communication chip U2;
[0027] A capacitor C7 is connected in series between the second pin and the fourth pin of the voltage stabilizing chip U1, and a capacitor C8 and a resistor R4 are connected in series between the second pin and the fifth pin;
[0028] A capacitor C9 is connected in series between the second pin of the voltage stabilizing chip U1 and the second pin of the CAN communication chip U2.
[0029] Further, the detection result indication module includes a light emitting diode LED1 and a light emitting diode LED2;
[0030] The negative electrode of the light emitting diode LED1 is connected to the thirteenth pin of the MCU single-chip microcomputer U4. The positive electrode of the light emitting diode LED1 is connected to one end of the resistor R5. The other end of the resistor R5 is connected to the second pin of the MCU single-chip microcomputer U4 and the third pin of the CAN communication chip U2;
[0031] The negative electrode of the light emitting diode LED2 is connected to the fifteenth pin of the MCU single-chip microcomputer U4. The positive electrode of the light emitting diode LED2 is connected to one end of the resistor R7. The other end of the resistor R7 is connected to the second pin of the MCU single-chip microcomputer U4 and the third pin of the CAN communication chip U2.
[0032] Further, the action control module includes a transistor output optocoupler U3 and a transistor output optocoupler U5;
[0033] The first pin, the third pin of the transistor output optocoupler U3, the first pin and the third pin of the transistor output optocoupler U5 are connected to the second pin of the CAN communication chip U2;
[0034] The fifth pin, the sixth pin, the seventh pin, the eighth pin of the transistor output optocoupler U3, the sixth pin, the seventh pin and the eighth pin of the transistor output optocoupler U5 are connected to one end of the fuse F1, and the other end of the fuse F1 is connected to the VDD pin of the product connector;
[0035] The seventh pin of the transistor output optocoupler U3 is connected to the TY pin of the product connector; the fifth pin of the transistor output optocoupler U3 is connected to the TZ pin of the product connector;
[0036] The seventh pin of the transistor output optocoupler U5 is connected to the TF pin of the product connector; the fifth pin of the transistor output optocoupler U5 is connected to the TD pin of the product connector;
[0037] The second pin of the transistor output optocoupler U3 is connected to one end of the resistor R14, and the other end of the resistor R14 is connected to the twenty-fifth pin of the MCU microcontroller U4;
[0038] The fourth pin of the transistor output optocoupler U3 is connected to one end of the resistor R18, and the other end of the resistor R18 is connected to the twenty-sixth pin of the MCU microcontroller U4;
[0039] The second pin of the transistor output optocoupler U5 is connected to one end of the resistor R19, and the other end of the resistor R19 is connected to the twenty-ninth pin of the MCU microcontroller U4;
[0040] The fourth pin of the transistor output optocoupler U5 is connected to one end of the resistor R22, and the other end of the resistor R22 is connected to the twenty-eighth pin of the MCU microcontroller U4.
[0041] Further, the starting module includes a relay RLY1, a triode Q2 and a diode D3;
[0042] The second pin of the relay RLY1 is connected to the third pin of the triode Q2 and the positive pole of the diode D3; the negative pole of the diode D3 is connected to the fifth pin of the relay RLY1 and the first pin of the voltage regulator chip U1;
[0043] The first pin of the triode Q2 is connected to one end of the resistor R9, and the other end of the resistor R9 is connected to the twelfth pin of the MCU microcontroller U4; the second pin of the triode Q2 is grounded;
[0044] The first pin of the relay RLY1 is connected to the VDD1 pin of the product connector, the third pin is connected to the VDD pin of the product connector, and the fourth pin is left unconnected.
[0045] Further, the display interface module includes a communication interface J1, a display interface J2, and a current-limiting circuit module for supplying power to the display interface J2;
[0046] The first pin of the communication interface J1 is connected to the VCC_3V3 power supply terminal, and the eighth pin is grounded;
[0047] The second, third, fourth, fifth, sixth, and seventh pins of the communication interface J1 are respectively and correspondingly connected to the twenty-first, twenty-second, twenty-third, seventeenth, eighteenth, and twentieth pins of the MCU single-chip microcomputer U4;
[0048] The first, fifth, sixth, and twelfth pins of the display interface J2 are grounded;
[0049] The second pin of the display interface J2 is connected to the third pin of the triode Q3, the second pin of the triode Q3 is grounded, and one end of the resistor R25. The other end of the resistor R25 is connected to the first pin of the triode Q3 and one end of the resistor R24, and the other end of the resistor R24 is left unconnected;
[0050] The third pin of the display interface J2 is connected to the fourth pin, and the third pin is connected to one end of the capacitor C15 and the capacitor C16. The other ends of the capacitor C15 and the capacitor C16 are both grounded;
[0051] The third pin of the display interface J2 is connected to the current-limiting circuit module;
[0052] The second pin of the communication interface J1 is connected to the eighth pin of the display interface J2.
[0053] Further, the current-limiting circuit module includes a resistor R23. One end of the resistor R23 is connected to the VCC_3V3 power supply terminal, and the other end is connected to the third pin of the display interface J2.
[0054] Compared with the prior art, the beneficial effects of the present utility model:
[0055] The door control switch detection device provided by the present utility model connects the door control switch to the product connector, and with the help of the MCU module, the action control module, the CAN communication module, the detection result indication module and the display screen. The MCU module sends a control signal to the action control module, and the action control module drives the door control switch connected to the product connector to act according to the control signal; the CAN communication module receives the action signal sent by the door control switch and uploads it to the MCU module. The MCU module judges the action signal uploaded by the CAN communication module and generates a detection result, which is displayed by the detection result indication module and the display screen; there is no need to manually detect each button on the door control switch one by one, reducing manual intervention, improving the detection accuracy while shortening the detection time. Description of the Drawings
[0056] Figure 1 It is a schematic structural diagram of an embodiment of the present utility model;
[0057] Figure 2 It is a schematic connection diagram of each module on the detection bottom plate in an embodiment of the present utility model;
[0058] Figure 3 It is a schematic circuit diagram of the MCU module in an embodiment of the present utility model;
[0059] Figure 4 It is a schematic circuit diagram of the CAN communication module in an embodiment of the present utility model;
[0060] Figure 5 It is a schematic circuit diagram of the voltage stabilization module in an embodiment of the present utility model;
[0061] Figure 6 It is a schematic circuit diagram of the detection result indication module in an embodiment of the present utility model;
[0062] Figure 7 It is a schematic circuit diagram of the action control module in an embodiment of the present utility model;
[0063] Figure 8 It is a schematic circuit diagram of the start module in an embodiment of the present utility model;
[0064] Figure 9 It is a schematic circuit diagram of the communication interface J1 in an embodiment of the present utility model;
[0065] Figure 10 It is a schematic circuit diagram of the display screen interface J2 in an embodiment of the present utility model;
[0066] Figure 11 It is a schematic circuit diagram of the current limiting circuit module in an embodiment of the present utility model.
[0067] Description of the attached drawing reference numerals: 1, detection box; 2, product connector; 3, power interface; 4, display screen; 5, switch button. Detailed implementation manners
[0068] Next, the technical solutions in the present utility model will be clearly and completely described in conjunction with the attached drawings. Obviously, the described embodiments are only a part of the embodiments of the present utility model, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present utility model without making creative efforts shall fall within the protection scope of the present utility model.
[0069] As Figure 1 shown, a door control switch detection device includes a detection box 1. A product connector 2 and a power interface 3 are provided on the side of the detection box 1, and a display screen 4 and a switch button 5 are provided on the top; a detection bottom plate is provided inside the detection box 1. As Figure 2 shown, an MCU module, a voltage stabilizing module, a CAN communication module, an action control module, a startup module, a detection result indication module, and a display screen interface module are provided on the detection bottom plate; the voltage stabilizing module, the CAN communication module, and the action control module are all connected to the product connector 2; the voltage stabilizing module is connected to the CAN communication module, the action control module, the startup module, and the detection result indication module; the display screen interface module is connected to the display screen 4; the switch button 5 is connected to the MCU module.
[0070] After connecting the door control switch to the product connector 2, the door control switch detection device is started through the switch button 5 and the startup module. The MCU module sends a control signal to the action control module, and the action control module drives the door control switch connected to the product connector 2 to act according to the control signal; the CAN communication module receives the action signal sent by the door control switch and uploads it to the MCU module; the MCU module judges the action signal uploaded by the CAN communication module and generates a detection result, which is displayed by the detection result indication module and the display screen 4.
[0071] To implement the above functions, the circuit parts of the MCU module, the product connector 2, the CAN communication module, the action control module, the startup module, the detection result indication module, the display screen interface module, and the voltage stabilizing module are as follows:
[0072] The product connector 2 is an interface connected to the door control switch. This interface includes a VDD1 pin, a VDD pin, a TY pin, a TZ pin, a TF pin, a TD pin, a CANL pin, a CANH pin, a VO pin, and a GND pin.
[0073] As Figure 3As shown, the MCU module includes an MCU single-chip microcomputer U4, a capacitor C10, a capacitor C11, a capacitor C12, a capacitor C13, a passive crystal oscillator X1, and a resistor R11;
[0074] The first pin, the second pin, the fourth pin, and the sixth pin of the MCU single-chip microcomputer U4 are respectively connected to one end of the capacitor C10, the capacitor C11, the capacitor C12, and the capacitor C13; the other ends of the capacitor C10, the capacitor C11, the capacitor C12, and the capacitor C13 are connected and grounded;
[0075] A parallel-connected passive crystal oscillator X1 and resistor R11 are connected in series between the fourth pin and the sixth pin of the MCU single-chip microcomputer U4;
[0076] The third pin, the fifth pin, the seventh pin, and the eighth pin of the MCU single-chip microcomputer U4 are connected and grounded.
[0077] As Figure 4 shown, the CAN communication module includes a CAN communication chip U2, a TVS diode D2, an inductor L1, an inductor L2, a capacitor C4, a capacitor C6, a capacitor C5, a capacitor C14, a resistor R1, a resistor R2, a resistor R8, a resistor R10, a resistor R12, and a resistor R13;
[0078] The first pin, the third pin, and the fourth pin of the CAN communication chip U2 are respectively connected to the thirty-second pin, the second pin, and the thirty-first pin of the MCU single-chip microcomputer U4;
[0079] A resistor R8 is provided between the third pin of the CAN communication chip U2 and the first pin of the MCU single-chip microcomputer U4;
[0080] The second pin of the CAN communication chip U2 is connected to the voltage stabilization module;
[0081] A capacitor C6 and a capacitor C4 are connected in series between the fifth pin and the sixth pin of the CAN communication chip U2, and the first pin of the TVS diode D2 is connected between the capacitor C6 and the capacitor C4;
[0082] The seventh pin and the eighth pin of the CAN communication chip U2 are connected, and the seventh pin is connected to the second pin of the TVS diode D2 and one end of the inductor L1. The other end of the inductor L1 is connected to the CANL pin of the product connector 2; the eighth pin is connected to the third pin of the TVS diode D2 and one end of the inductor L2. The other end of the inductor L2 is connected to the CANH pin of the product connector 2; a resistor R2 and a resistor R1 are connected in series between the CANL pin and the CANH pin of the product connector 2;
[0083] A capacitor C5 is connected in series between the eighth pin of the CAN communication chip U2 and the first pin of the TVS diode D2;
[0084] The first pin of the TVS diode D2 is connected to one end of the capacitor C14 and the resistor R12. A resistor R13 and a resistor R10 are connected in series between the other end of the capacitor C14 and the other end of the resistor R12. And the other end of the resistor R12 is connected to the VO pin of the product connector 2, and the other end of the capacitor C14 is grounded;
[0085] The eighth pin of the CAN communication chip U2 is connected to the first pin of the TVS diode D2 and is grounded.
[0086] As Figure 5 shown, the voltage regulation module includes a voltage regulation chip U1, a triode Q1, a Schottky diode DZ1 and a diode D1; resistors R3, R4, capacitors C1, C2, C3, C7, C8 and C9;
[0087] The first pin of the voltage regulation chip U1 is connected to the third pin, and the first pin is connected to the second pin of the triode Q1. The third pin of the triode Q1 is connected to one end of the diode D1, the resistor R3 and the capacitor C1. The other end of the diode D1 is connected to the VDD1 pin of the product connector 2. The other end of the resistor R3 is connected to one end of the capacitor C2 and the Schottky diode DZ1. The second pin of the voltage regulation chip U1 is connected to the other ends of the capacitor C1, the capacitor C2 and the Schottky diode DZ1, and the GND pin of the product connector 2;
[0088] A capacitor C3 is provided between the first pin and the second pin of the voltage regulation chip U1;
[0089] The second pin and the fifth pin of the voltage regulation chip U1 are both connected to the second pin of the CAN communication chip U2;
[0090] A capacitor C7 is connected in series between the second pin and the fourth pin of the voltage regulation chip U1, and a capacitor C8 and a resistor R4 are connected in series between the second pin and the fifth pin;
[0091] A capacitor C9 is connected in series between the second pin of the voltage regulation chip U1 and the second pin of the CAN communication chip U2.
[0092] As Figure 6 shown, the detection result indication module includes a light-emitting diode LED1, a light-emitting diode LED2, a resistor R5 and a resistor R7;
[0093] The negative electrode of the light-emitting diode LED1 is connected to the thirteenth pin of the MCU single-chip microcomputer U4. The positive electrode of the light-emitting diode LED1 is connected to one end of the resistor R5. The other end of the resistor R5 is connected to the second pin of the MCU single-chip microcomputer U4 and the third pin of the CAN communication chip U2;
[0094] The negative electrode of the light-emitting diode LED2 is connected to the fifteenth pin of the MCU single-chip microcomputer U4. The positive electrode of the light-emitting diode LED2 is connected to one end of the resistor R7, and the other end of the resistor R7 is connected to the second pin of the MCU single-chip microcomputer U4 and the third pin of the CAN communication chip U2.
[0095] Specifically, the light-emitting diodes LED1 and LED2 are a green light and a red light respectively. If the detection result is qualified, the green light is on; if the detection result is unqualified, the red light is on.
[0096] As Figure 7 shown, the action control module includes a transistor output optocoupler U3, a transistor output optocoupler U5, a fuse F1, a resistor R14, a resistor R18, a resistor R19, and a resistor R22;
[0097] The first pin, the third pin of the transistor output optocoupler U3, the first pin, and the third pin of the transistor output optocoupler U5 are connected to the second pin of the CAN communication chip U2;
[0098] The fifth pin, the sixth pin, the seventh pin, and the eighth pin of the transistor output optocoupler U3, the sixth pin, the seventh pin, and the eighth pin of the transistor output optocoupler U5 are connected to one end of the fuse F1, and the other end of the fuse F1 is connected to the VDD pin of the product connector 2;
[0099] The seventh pin of the transistor output optocoupler U3 is connected to the TY pin of the product connector 2; the fifth pin of the transistor output optocoupler U3 is connected to the TZ pin of the product connector 2;
[0100] The seventh pin of the transistor output optocoupler U5 is connected to the TF pin of the product connector 2; the fifth pin of the transistor output optocoupler U5 is connected to the TD pin of the product connector 2;
[0101] The second pin of the transistor output optocoupler U3 is connected to one end of the resistor R14, and the other end of the resistor R14 is connected to the twenty-fifth pin of the MCU single-chip microcomputer U4;
[0102] The fourth pin of the transistor output optocoupler U3 is connected to one end of the resistor R18, and the other end of the resistor R18 is connected to the twenty-sixth pin of the MCU single-chip microcomputer U4;
[0103] The second pin of the transistor output optocoupler U5 is connected to one end of the resistor R19, and the other end of the resistor R19 is connected to the twenty-ninth pin of the MCU single-chip microcomputer U4;
[0104] The fourth pin of the transistor output optocoupler U5 is connected to one end of the resistor R22, and the other end of the resistor R22 is connected to the twenty-eighth pin of the MCU single-chip microcomputer U4.
[0105] As Figure 8As shown, the startup module includes relay RLY1, triode Q2, diode D3, and resistor R9;
[0106] The second pin of relay RLY1 is connected to the third pin of triode Q2 and the positive pole of diode D3; the negative pole of diode D3 is connected to the fifth pin of relay RLY1 and the first pin of voltage regulator chip U1;
[0107] The first pin of triode Q2 is connected to one end of resistor R9, the other end of resistor R9 is connected to the twelfth pin of MCU U4; the second pin of triode Q2 is grounded;
[0108] The first pin of relay RLY1 is connected to the VDD1 pin of product connector 2, the third pin is connected to the VDD pin of product connector 2, and the fourth pin is left unconnected.
[0109] The display screen interface module includes communication interface J1, display screen interface J2, capacitor C15, capacitor C16, resistor R24, resistor R25, and triode Q3, as well as a current limiting circuit module for providing power to display screen interface J2;
[0110] As Figure 9 shown, the first pin of communication interface J1 is connected to the VCC_3V3 power supply terminal, and the eighth pin is grounded;
[0111] The second pin, third pin, fourth pin, fifth pin, sixth pin, and seventh pin of communication interface J1 are respectively and correspondingly connected to the twenty - first pin, twenty - second pin, twenty - third pin, seventeenth pin, eighteenth pin, and twentieth pin of MCU U4;
[0112] As Figure 10 shown, the first pin, fifth pin, sixth pin, and twelfth pin of display screen interface J2 are grounded;
[0113] The second pin of display screen interface J2 is connected to the third pin of triode Q3, the second pin of triode Q3 is grounded, and one end of resistor R25, the other end of resistor R25 is connected to the first pin of triode Q3 and one end of resistor R24, and the other end of resistor R24 is left unconnected;
[0114] The third pin of display screen interface J2 is connected to the fourth pin, and the third pin is connected to one end of capacitor C15 and capacitor C16, and the other ends of capacitor C15 and capacitor C16 are both grounded;
[0115] The third pin of display screen interface J2 is connected to the current limiting circuit module;
[0116] The second pin of communication interface J1 is connected to the eighth pin of display screen interface J2.
[0117] AsFigure 11 As shown, the current-limiting circuit module includes a resistor R23. One end of the resistor R23 is connected to the VCC_3V3 power supply terminal, and the other end is connected to the third pin of the display screen interface J2.
[0118] As described above, the above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions within the technical scope disclosed by the present invention should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.
Claims
1. A door-controlled switch detection device, characterized in that: The invention comprises a detection box (1), wherein a product connector (2) and a power interface (3) are arranged on the side of the detection box (1), and a display screen (4) and a switch button (5) are arranged on the top; The detection box (1) is provided with a detection base plate inside, and the detection base plate is provided with an MCU module, a voltage stabilization module, and a CAN communication module, an action control module, a start module, a detection result indication module and a display screen interface module connected to the MCU module; The voltage stabilizing module, CAN communication module and motion control module are all connected to the product connector (2); The voltage stabilizing module is connected to the CAN communication module, the action control module, the starting module and the detection result indicating module; The display screen interface module is connected to the display screen (4); and the switch button (5) is connected to the MCU module.
2. The door-controlled switch detection device according to claim 1, characterized in that: The MCU module includes an MCU single-chip computer U4, wherein a first pin, a second pin, a fourth pin and a sixth pin of the MCU single-chip computer U4 are respectively connected to one end of a capacitor C10, a capacitor C11, a capacitor C12 and a capacitor C13; the other ends of the capacitors C10, C11, C12 and C13 are connected and grounded; A passive crystal oscillator X1 and a resistor R11 are connected in parallel in series between the fourth pin and the sixth pin of the MCU microcontroller U4; The third pin, the fifth pin, the seventh pin and the eighth pin of the MCU microcontroller U4 are connected and grounded.
3. The door-controlled switch detection device according to claim 2, characterized in that: The CAN communication module includes a CAN communication chip U2, a TVS diode D2, an inductor L1, and an inductor L2; The first pin, the third pin and the fourth pin of the CAN communication chip U2 are respectively connected to the 32nd pin, the 2nd pin and the 31st pin of the MCU microcontroller U4; A resistor R8 is provided between the third pin of the CAN communication chip U2 and the first pin of the MCU microcontroller U4; The second pin of the CAN communication chip U2 is connected to the voltage stabilization module; A capacitor C6 and a capacitor C4 are connected in series between the fifth pin and the sixth pin of the CAN communication chip U2, and the capacitor C6 and the capacitor C4 are connected to the first pin of the TVS diode D2; The seventh pin of the CAN communication chip U2 is connected to the eighth pin, and the seventh pin is connected to the second pin of the TVS diode D2 and one end of the inductor L1, and the other end of the inductor L1 is connected to the CANL pin of the product connector (2); the eighth pin is connected to the third pin of the TVS diode D2 and one end of the inductor L2, and the other end of the inductor L2 is connected to the CANH pin of the product connector (2); the resistor R2 and the resistor R1 are connected in series between the CANL pin and the CANH pin of the product connector (2); A capacitor C5 is connected in series between the eighth pin of the CAN communication chip U2 and the first pin of the TVS diode D2; The first pin of the TVS diode D2 is connected to the capacitor C14 and one end of the resistor R12, the resistor R13 and the resistor R10 are connected in series between the other end of the capacitor C14 and the other end of the resistor R12, and the other end of the resistor R12 is connected to the VO pin of the product connector (2), and the other end of the capacitor C14 is grounded; The eighth pin of the CAN communication chip U2 is connected to the first pin of the TVS diode D2 and is grounded.
4. The door-controlled switch detection device according to claim 3, characterized in that: The voltage stabilizing module includes a voltage stabilizing chip U1, a transistor Q1, a Schottky diode DZ1 and a diode D1; The first pin of the voltage stabilizing chip U1 is connected to the third pin, and the first pin is connected to the second pin of the transistor Q1; the third pin of the transistor Q1 is connected to the diode D1, the resistor R3, and one end of the capacitor C1; the other end of the diode D1 is connected to the VDD1 pin of the product connector (2); the other end of the resistor R3 is connected to the capacitor C2 and one end of the Schottky diode DZ1; the second pin of the voltage stabilizing chip U1 is connected to the capacitor C1, the capacitor C2, the other end of the Schottky diode DZ1, and the GND pin of the product connector (2); A capacitor C3 is provided between the first pin and the second pin of the voltage stabilizing chip U1; The second pin and the fifth pin of the voltage regulator chip U1 are both connected to the second pin of the CAN communication chip U2; A capacitor C7 is connected in series between the second pin and the fourth pin of the voltage stabilizing chip U1, and a capacitor C8 and a resistor R4 are connected in series between the second pin and the fifth pin; A capacitor C9 is connected in series between the second pin of the voltage regulator chip U1 and the second pin of the CAN communication chip U2.
5. The door-controlled switch detection device according to claim 2, characterized in that: The detection result indicating module comprises a light emitting diode LED1 and a light emitting diode LED2; The cathode of the light emitting diode LED1 is connected to the thirteenth pin of the MCU single chip U4, the anode of the light emitting diode LED1 is connected to one end of the resistor R5, and the other end of the resistor R5 is connected to the second pin of the MCU single chip U4 and the third pin of the CAN communication chip U2; The cathode of the light emitting diode LED2 is connected to the fifteenth pin of the MCU microcontroller U4, the anode of the light emitting diode LED2 is connected to one end of the resistor R7, and the other end of the resistor R7 is connected to the second pin of the MCU microcontroller U4 and the third pin of the CAN communication chip U2.
6. The door-controlled switch detection device according to claim 2, characterized in that: The action control module includes a transistor output optocoupler U3 and a transistor output optocoupler U5; The first pin and the third pin of the transistor output optical coupler U3, the first pin and the third pin of the transistor output optical coupler U5 are connected to the second pin of the CAN communication chip U2; The fifth pin, the sixth pin, the seventh pin, the eighth pin of the transistor output optical coupler U3, the sixth pin, the seventh pin and the eighth pin of the transistor output optical coupler U5 are connected to one end of the fuse F1, and the other end of the fuse F1 is connected to the VDD pin of the product connector (2); The seventh pin of the transistor output optocoupler U3 is connected to the TY pin of the product connector (2); the fifth pin of the transistor output optocoupler U3 is connected to the TZ pin of the product connector (2); The seventh pin of the transistor output optical coupler U5 is connected to the TF pin of the product connector (2); the fifth pin of the transistor output optical coupler U5 is connected to the TD pin of the product connector (2); The second pin of the transistor output optical coupler U3 is connected to one end of the resistor R14, and the other end of the resistor R14 is connected to the twenty-fifth pin of the MCU microcontroller U4; The fourth pin of the transistor output optical coupler U3 is connected to one end of the resistor R18, and the other end of the resistor R18 is connected to the twenty-sixth pin of the MCU single chip computer U4; The second pin of the transistor output optical coupler U5 is connected to one end of the resistor R19, and the other end of the resistor R19 is connected to the twenty-ninth pin of the MCU microcontroller U4; The fourth pin of the transistor output optical coupler U5 is connected to one end of the resistor R22, and the other end of the resistor R22 is connected to the twenty-eighth pin of the MCU U4.
7. The door-controlled switch detection device according to claim 2, characterized in that: The starting module includes a relay RLY1, a transistor Q2 and a diode D3; The second pin of the relay RLY1 is connected to the third pin of the transistor Q2 and the positive electrode of the diode D3; the negative electrode of the diode D3 is connected to the fifth pin of the relay RLY1 and the first pin of the voltage stabilizing chip U1; The first pin of the transistor Q2 is connected to one end of the resistor R9, and the other end of the resistor R9 is connected to the twelfth pin of the MCU microcontroller U4; the second pin of the transistor Q2 is grounded; The first pin of the relay RLY1 is connected to the VDD1 pin of the product connector (2), the third pin is connected to the VDD pin of the product connector (2), and the fourth pin is left unconnected.
8. The door-controlled switch detection device according to claim 2, characterized in that: The display screen interface module includes a communication interface J1, a display screen interface J2, and a current limiting circuit module for providing power to the display screen interface J2; The first pin of the communication interface J1 is connected to the VCC_3V3 power supply terminal, and the eighth pin is grounded; The second pin, the third pin, the fourth pin, the fifth pin, the sixth pin and the seventh pin of the communication interface J1 are respectively connected to the twenty-first pin, the twenty-second pin, the twenty-third pin, the seventeenth pin, the eighteenth pin and the twentieth pin of the MCU microcontroller U4 in a one-to-one correspondence; The first pin, the fifth pin, the sixth pin and the twelfth pin of the display screen interface J2 are grounded; The second pin of the display screen interface J2 is connected to the third pin of the transistor Q3, the second pin of the transistor Q3 is grounded, and one end of the resistor R25, the other end of the resistor R25 is connected to the first pin of the transistor Q3 and one end of the resistor R24, and the other end of the resistor R24 is unconnected; The third pin of the display screen interface J2 is connected to the fourth pin, and the third pin is connected to one end of the capacitor C15 and the capacitor C16, and the other ends of the capacitor C15 and the capacitor C16 are both grounded; The third pin of the display screen interface J2 is connected to the current limiting circuit module; The second pin of the communication interface J1 is connected to the eighth pin of the display screen interface J2.
9. The door-controlled switch detection device according to claim 8, characterized in that: The current limiting circuit module includes a resistor R23, one end of the resistor R23 is connected to the VCC_3V3 power supply terminal, and the other end is connected to the third pin of the display screen interface J2.