Vehicle-mounted CAN communication control circuit and packaging structure thereof
Through the microcontroller's minimum system circuit, the CAN communication function is integrated, the structure of the CAN communication control box is simplified, the problems of complex wiring and difficult troubleshooting in the existing technology are solved, and a high-reliability and low-cost communication system is realized.
Patent Information
- Application Number
- CN202421638959.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-11
- Publication Date
- 2025-07-08
- Estimated Expiration
- 2034-07-11
AI Technical Summary
The DC contactor, electromagnetic relay, and CAN communication in the existing CAN communication control box are separate modules, which leads to complex internal connectors and lines of the control box, requiring professionals to conduct wiring and troubleshoot, and the market competitiveness is low.
The microcontroller minimum system circuit is adopted to integrate CAN communication functions, integrate buttons, LED indicators, and power conversion circuits, and uses STM32F103CBT6 chip and TJA1051T/3/1J chip. The power conversion chip is REG1117-3.3, a double-sided printed circuit board and a metal material shell, which simplifies the circuit and separates the CAN communication control part.
It realizes a simple communication system, improves operability and universality, and allows users to quickly inspect and repair, reducing the difficulty of troubleshooting and development costs.
Smart Images

Figure CN223078611U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to a vehicle-mounted CAN communication control circuit and its packaging structure. Background Art
[0002] The CAN communication control box is widely used in the construction machinery and electric vehicle industries. In the existing CAN communication control box, the DC contactor, electromagnetic relay, and CAN communication are respectively independent as separate modules, resulting in numerous internal connectors and circuits in the control box, and the types of external interfaces for control are complex. As a result, professional personnel are required to wire, repair, and troubleshoot the control during product use, leading to low market competitiveness of the product. Content of the Utility Model
[0003] To solve the above technical problems, the utility model provides a vehicle-mounted CAN communication control circuit and its packaging structure.
[0004] The utility model is achieved through the following technical solutions.
[0005] A vehicle-mounted CAN communication control circuit and its packaging structure provided by the utility model are characterized in that: it includes a minimum system circuit of a single-chip microcomputer, the minimum system circuit of the single-chip microcomputer is respectively connected to a key circuit, an LED indication circuit, a CAN communication transceiver and interface circuit, and further includes a power conversion circuit for supplying power to all the above circuits; the minimum system circuit of the single-chip microcomputer includes a chip U1, the 1st, 9th, 24th, 36th, and 48th pins of the chip U1 are connected to a 3.3V power supply, the 35th pin accesses a clock signal, the 4th and 6th pins output a clock signal, the 10th to 16th pins are connected to the key circuit, the 18th, 19th, 38th to 43rd, 45th, and 46th pins are connected to the indicator lamp circuit, and the 32nd and 33rd pins are connected to the CAN communication transceiver and interface circuit.
[0006] The clock signal is generated through a crystal oscillator circuit, and the crystal oscillator circuit includes a crystal oscillator Y1. The two ends of the crystal oscillator Y1 are respectively connected to the single-chip microcomputer and grounded through capacitors respectively.
[0007] The 1st, 9th, 24th, 36th, and 48th pins of the chip U1 are also grounded through capacitors respectively, and the 8th, 23rd, 47th, and 35th pins are grounded.
[0008] The 7th pin of the chip U1 is also connected to a resistor R5, a resistor R6, and a capacitor C5 respectively. The resistor R6 is grounded, the resistor R5 is connected to a switch S1, and the switch S1 and the capacitor C5 are connected to a 3.3V power supply.
[0009] The 20th and 44th pins of the chip U1 are also grounded through a resistor R10 and a resistor R9 respectively. The resistor R9 is connected to a 3.3V power supply through a switch S2.
[0010] The power conversion includes a power conversion chip U3. The input end of the power conversion chip U3 is connected to a +5V power supply, the output end outputs a 3.3V power supply in parallel, the output end is also grounded through two parallel capacitors, and the negative electrode of the input end of the power conversion chip U3 is grounded.
[0011] The CAN communication transceiver and interface circuit includes a chip U2 and an interface P1. The 1st and 4th pins of the chip U2 are respectively connected to the 33rd and 32nd pins of the chip U1, and are respectively connected to the +5V power supply through a resistor R1 and a resistor R2. The +5V power supply is also grounded through two parallel capacitors; the 2nd pin of the chip U2 is grounded, the 3rd pin is connected to the +5V power supply, the 6th and 7th pins are connected to the 3rd and 5th pins of the interface P1. The 1st pin of the interface P1 is connected to the +5V power supply, the 9th pin is grounded, and the 4th and 6th pins are respectively connected to the 37th and 34th pins of the chip U1.
[0012] The key circuit includes keys AJ1 to AJ7. One ends of the keys AJ1 to AJ7 are respectively connected to resistors R12 to R18, and the other ends are all connected to one end of a resistor R11. The other end of the resistor R11 is connected to a 3.3V power supply. The resistors R12 to R18 are respectively connected to the 10th to 16th pins of the chip U1. The keys AJ1 to AJ7 are also respectively connected in parallel with capacitors C10 to C16.
[0013] The LED indication circuit includes light-emitting diodes D1 to D6 and a three-color light-emitting diode D7. The light-emitting diodes D1 to D6 are respectively connected to the 18th, 19th, 39th, 40th, 41st, and 42nd pins of the chip U1. Three diodes in the three-color light-emitting diode D7 are respectively connected to the 43rd, 45th, and 46th pins of the chip U1. The other ends of the light-emitting diodes D1 to D6 and the three-color light-emitting diode D7 are respectively connected to the 3.3V power supply through resistors.
[0014] A packaging structure of a CAN communication control circuit; including a circuit board assembly, a bottom plate, and a housing. A number of support columns are evenly arranged on the bottom plate. The circuit board assembly is fixedly installed on the support columns. The lower end in the middle of the circuit board assembly is fixedly installed with an interface module. The end of the interface module extends out from the through hole at the bottom of the bottom plate. The housing covers the circuit board assembly and its edge is fixed on the bottom plate. There are also a number of limiting columns corresponding to the number and position of the support columns at the top inside the housing. The bottom of the limiting column contacts the upper end surface of the circuit board assembly. A number of keys are also embedded inside the housing. The bottom of the keys is placed inside the housing and is connected to the circuit board assembly through a cable. A number of mounting ears are also installed on the outside of the housing.
[0015] The beneficial effects of the present utility model are as follows: By integrating the CAN communication function using the minimum system circuit of the single-chip microcomputer, the ECU control modules of automobiles and construction machinery can send control messages to all controlled units through the CAN communication system, making the communication system more concise; the control box separates the CAN communication control part, and can be connected to various types of controlled units with CAN communication functions, having high universality and practicability. At the same time, users can quickly view and replace the product insurance damage, greatly improving the fault repair. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 It is a schematic diagram of the packaging structure of the present utility model;
[0017] Figure 2 It is a schematic diagram of the external structure of the present utility model;
[0018] Figure 3 It is a schematic diagram of the circuit principle of the single-chip microcomputer of the present utility model;
[0019] Figure 4 It is a schematic diagram of the circuit principle of the power conversion circuit of the present utility model;
[0020] Figure 5 It is a schematic diagram of the circuit principle of the CAN communication circuit of the present utility model;
[0021] Figure 6 It is a schematic diagram of the circuit principle of the key circuit of the present utility model;
[0022] Figure 7 It is a schematic diagram of the circuit principle of the LED indicator circuit of the present utility model;
[0023] Figure 8 It is a schematic diagram of the interface definition of the present utility model;
[0024] In the figure: 1 - mounting ear, 2 - circuit board assembly, 3 - key, 4 - interface module, 5 - base plate, 6 - support column, 7 - limit column, 8 - housing. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0025] The technical solution of the present utility model will be further described below, but the scope of protection is not limited thereto.
[0026] A vehicle-mounted CAN communication control circuit and its packaging structure, characterized in that: it includes a minimum system circuit of a single-chip microcomputer, the minimum system circuit of the single-chip microcomputer is respectively connected to a key circuit, an LED indication circuit, a CAN communication transceiver and interface circuit, and further includes a power conversion circuit for supplying power to all the above circuits; the minimum system circuit of the single-chip microcomputer includes a chip U1, the 1st, 9th, 24th, 36th, and 48th pins of the chip U1 are connected to a 3.3V power supply, the 35th pin accesses a clock signal, the 4th and 6th pins output a clock signal, the 10th to 16th pins are connected to the key circuit, the 18th, 19th, 38th to 43rd, 45th, and 46th pins are connected to the indicator lamp circuit, and the 32nd and 33rd pins are connected to the CAN communication transceiver and interface circuit.
[0027] The clock signal is generated by a crystal oscillator circuit, and the crystal oscillator circuit includes a crystal oscillator Y1. The two ends of the crystal oscillator Y1 are respectively connected to the single-chip microcomputer and are respectively grounded through capacitors.
[0028] The 1st, 9th, 24th, 36th, and 48th pins of the chip U1 are also respectively grounded through capacitors, and the 8th, 23rd, 47th, and 35th pins are grounded.
[0029] The 7th pin of the chip U1 is also respectively connected to a resistor R5, a resistor R6, and a capacitor C5. The resistor R6 is grounded, the resistor R5 is connected to a switch S1, and the switch S1 and the capacitor C5 are connected to a 3.3V power supply.
[0030] The 20th and 44th pins of the chip U1 are also respectively grounded through a resistor R10 and a resistor R9, and the resistor R9 is connected to a 3.3V power supply through a switch S2.
[0031] The power conversion includes a power conversion chip U3. The input end of the power conversion chip U3 accesses a +5V power supply, the output end outputs a 3.3V power supply in parallel, the output end is also grounded through two parallel capacitors, and the negative electrode of the input end of the power conversion chip U3 is grounded.
[0032] The CAN communication transceiver and interface circuit includes a chip U2 and an interface P1. The 1st and 4th pins of the chip U2 are respectively connected to the 33rd and 32nd pins of the chip U1, and are respectively connected to a +5V power supply through a resistor R1 and a resistor R2. The +5V power supply is also grounded through two parallel capacitors; the 2nd pin of the chip U2 is grounded, the 3rd pin is connected to the +5V power supply, the 6th and 7th pins are connected to the 3rd and 5th pins of the interface P1, the 1st pin of the interface P1 accesses the +5V power supply, the 9th pin is grounded, and the 4th and 6th pins are respectively connected to the 37th and 34th pins of the chip U1.
[0033] The key circuit includes keys AJ1 to AJ7. One ends of keys AJ1 to AJ7 are respectively connected to resistors R12 to R18, and the other ends are all connected to one end of resistor R11. The other end of resistor R11 is connected to the 3.3V power supply. Resistors R12 to R18 are respectively connected to pins 10 to 16 of chip U1. Keys AJ1 to AJ7 are also respectively connected in parallel with capacitors C10 to C16.
[0034] The LED indication circuit includes light-emitting diodes D1 to D6 and a three-color light-emitting diode D7. Light-emitting diodes D1 to D6 are respectively connected to pins 18, 19, 39, 40, 41, and 42 of chip U1. Three diodes in the three-color light-emitting diode D7 are respectively connected to pins 43, 45, and 46 of chip U1. The other ends of light-emitting diodes D1 to D6 and the three-color light-emitting diode D7 are respectively connected to the 3.3V power supply through resistors.
[0035] As Figures 3 to 8 shown, the main control chip uses the STM32F103CBT6 chip with high reliability, the CAN transceiver chip uses the TJA1051T / 3 / 1J chip, and the power conversion chip uses the REG1117-3.3 chip that converts 5V to 3.3V. It is very different from a general control box. First, the hardware structure of this CAN communication control box is simple and the cost is low. All devices are integrated on a circuit board, the circuit is more simplified, and the reliability is higher. Second, the CAN communication control part of this control box is separated, and it can be connected to various types of controlled units with CAN communication functions, with high universality and practicability. Third, a double-sided printed circuit board is used, and the shell is made of metal material sprayed with flame-retardant insulating paint, and its performance of resistance to temperature and humidity cycle changes, vibration resistance, and high-temperature insulation meets the national standards;
[0036] The interface definition diagram is as Figure 8 shown. Port 1 is connected to +5V to supply power to the entire control box, port 9 is connected to GND, ports 3 and 5 are respectively CANH and CANL, which are the interfaces for CAN communication, and ports 4 and 6 are the program burning interfaces, connected to the PA13 and PA14 pins of the single-chip microcomputer, namely the SWDIO and SWCLK pins. The program is downloaded to the STM32 chip in the SWD mode, and software configuration and upgrade can be realized.
[0037] Each circuit module is integrated on a PCB board; during communication, the required control program is downloaded to the main control chip of the control box through the interface, and then a connector matching the control box interface is used to connect the control box to the vehicle ECU or other controlled units with CAN communication. Finally, an instruction is sent to the main control chip of the control box through the button. After processing, a control message is sent to the vehicle ECU or other controlled units through the CAN transceiver module to achieve the control of other devices; when receiving the control message sent by the ECU, it can also make a response, send a control instruction to the CAN network, and display the control status through the LED light.
[0038] As Figures 1 to 2 shown, a packaging structure of a CAN communication control circuit; it includes a circuit board assembly 2, a bottom plate 5, and a housing 8. A number of support columns 6 are evenly arranged on the bottom plate 5, and the circuit board assembly 2 is fixedly installed on the support columns 6. The lower end of the middle part of the circuit board assembly 2 is fixedly installed with an interface module 4, and the end of the interface module 4 extends out from the through hole at the bottom of the bottom plate 5. The housing 8 covers the circuit board assembly 2 and its edge is fixed on the bottom plate 5. There are also a number of limit columns 7 corresponding to the number and position of the support columns 6 on the inner top of the housing 8. The bottom of the limit column 7 contacts the upper end surface of the circuit board assembly 2. A number of buttons 3 are also embedded in the housing 8. The bottom of the buttons 3 is placed inside the housing 8 and is connected to the circuit board assembly 2 through a wiring harness. A number of mounting ears 1 are also installed on the outside of the housing 8.
[0039] The buttons of the control box can send instructions to the main control chip of the control box. After processing, a control message is sent to the vehicle ECU or other controlled units through the CAN transceiver module to achieve the control of other devices. When receiving the control message sent by the ECU, it can also make a response, send a control instruction to the CAN network, and display the control status through the LED light; the control box separates the CAN communication control part and can be connected to various types of controlled units with CAN communication functions, with high universality and practicability. At the same time, users can quickly check and replace the product insurance damage, which greatly improves the fault repair; the control box can send any form of CAN message to the CAN network through software configuration, which can not only achieve the control of different devices, but also verify the communication functions of other devices, shorten the development cycle, and reduce the development cost; through simple packaging, the hardware is simple, the cost is low, the functions are complete, the operability is strong, the structure design is reasonable, and the shape is beautiful and generous; the CAN communication control box has a certain waterproof function, and the protection level is IP54.
Claims
1. A vehicle-mounted CAN communication control circuit, characterized in that : It includes a minimum system circuit of a single-chip microcomputer. The minimum system circuit of the single-chip microcomputer is respectively connected to a key circuit, an LED indication circuit, a CAN communication transceiver and interface circuit, and also includes a power conversion circuit for supplying power to all the above circuits; the minimum system circuit of the single-chip microcomputer includes chip U1. The 1st, 9th, 24th, 36th, and 48th pins of chip U1 are connected to the 3.3V power supply. The 35th pin accesses the clock signal. The 4th and 6th pins output the clock signal. The 10th to 16th pins are connected to the key circuit. The 18th, 19th, 38th to 43rd, 45th, and 46th pins are connected to the indicator lamp circuit. The 32nd and 33rd pins are connected to the CAN communication transceiver and interface circuit.
2. The in-vehicle CAN communication control circuit according to claim 1, wherein: The clock signal is generated through a crystal oscillator circuit. The crystal oscillator circuit includes crystal oscillator Y1. The two ends of crystal oscillator Y1 are respectively connected to the single-chip microcomputer and are respectively grounded through capacitors.
3. The in-vehicle CAN communication control circuit according to claim 1, characterized in that: The 1st, 9th, 24th, 36th, and 48th pins of chip U1 are also respectively grounded through capacitors. The 8th, 23rd, 47th, and 35th pins are grounded.
4. The in-vehicle CAN communication control circuit according to claim 1, characterized in that: The 7th pin of chip U1 is also respectively connected to resistor R5, resistor R6, and capacitor C5. Resistor R6 is grounded. Resistor R5 is connected to switch S1. Switch S1 and capacitor C5 are connected to the 3.3V power supply.
5. The in-vehicle CAN communication control circuit according to claim 1, wherein: The 20th and 44th pins of chip U1 are also respectively grounded through resistor R10 and resistor R9. Resistor R9 is connected to the 3.3V power supply through switch S2.
6. The in-vehicle CAN communication control circuit according to claim 1, characterized in that: The power conversion includes power conversion chip U3. The input end of power conversion chip U3 accesses the +5V power supply. The output end outputs the 3.3V power supply in parallel. The output end is also grounded through two parallel capacitors. The negative electrode of the input end of power conversion chip U3 is grounded.
7. The in-vehicle CAN communication control circuit according to claim 1, characterized in that: The CAN communication transceiver and interface circuit includes chip U2 and interface P1. The 1st and 4th pins of chip U2 are respectively connected to the 33rd and 32nd pins of chip U1, and are respectively connected to the +5V power supply through resistor R1 and resistor R2. The +5V power supply is also grounded through two parallel capacitors; the 2nd pin of chip U2 is grounded. The 3rd pin is connected to the +5V power supply. The 6th and 7th pins are connected to the 3rd and 5th pins of interface P1. The 1st pin of interface P1 accesses the +5V power supply. The 9th pin is grounded. The 4th and 6th pins are respectively connected to the 37th and 34th pins of chip U1.
8. The in-vehicle CAN communication control circuit according to claim 1, characterized in that: The key circuit includes keys AJ1 to AJ7. One ends of keys AJ1 to AJ7 are respectively connected to resistors R12 to R18. The other ends are all connected to one end of resistor R11. The other end of resistor R11 is connected to the 3.3V power supply. Resistors R12 to R18 are respectively connected to the 10th to 16th pins of chip U1. Keys AJ1 to AJ7 are also respectively connected in parallel with capacitors C10 to C16.
9. The in-vehicle CAN communication control circuit according to claim 1, characterized in that: The LED indication circuit includes light-emitting diodes D1 to D6 and three-color light-emitting diode D7. Light-emitting diodes D1 to D6 are respectively connected to the 18th, 19th, 39th, 40th, 41st, and 42nd pins of chip U1. Three diodes in the three-color light-emitting diode D7 are respectively connected to the 43rd, 45th, and 46th pins of chip U1. The other ends of light-emitting diodes D1 to D6 and three-color light-emitting diode D7 are respectively connected to the 3.3V power supply through resistors.
10. A packaging structure of a CAN communication control circuit, characterized in that: It includes a circuit board assembly (2), a bottom plate (5), and a housing (8). A number of support columns (6) are evenly arranged on the bottom plate (5). The circuit board assembly (2) is fixedly installed on the support columns (6). An interface module (4) is fixedly installed at the lower end of the middle part of the circuit board assembly (2). The end of the interface module (4) extends out from the through hole at the bottom of the bottom plate (5). The housing (8) covers the circuit board assembly (2) and its edge is fixed on the bottom plate (5). A number of limit columns (7) corresponding to the number and position of the support columns (6) are also provided at the top inside the housing (8). The bottom of the limit column (7) contacts the upper end surface of the circuit board assembly (2). A number of buttons (3) are embedded inside the housing (8). The bottom of the button (3) is placed inside the housing (8) and is connected to the circuit board assembly (2) through a flexible cable. A number of mounting ears (1) are also installed on the outside of the housing (8).