Production line burning detection circuit based on CAN bus

By designing a production line burn detection circuit based on CAN bus, the operation difficulty of CAN bus channel switching and terminal resistance detection in the prior art is solved, and the automatic switching and terminal resistance detection functions are realized, which improves production efficiency.

CN222867025UActive Publication Date: 2025-05-13WUHAN LINCONTROL AUTOMOTIVE ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202421744056.3
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-07-23
Publication Date
2025-05-13
Estimated Expiration
2034-07-23

AI Technical Summary

Technical Problem

In the production process of motor controllers, the CAN bus channel needs to be manually switched and CAN card parameters are configured, which increases the difficulty of operation and lacks the terminal resistance detection function.

Method used

A production line burn detection circuit based on CAN bus is designed, including CAN channel switching circuit, termination resistance detection circuit, main control circuit, power supply and wake-up circuit, automatic switching of CAN signals and termination resistance detection are realized through components such as relays and diodes.

Benefits of technology

It realizes automatic switching of CAN signals, reduces operation difficulty, and has terminal resistance detection function to improve production efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222867025U_ABST
    Figure CN222867025U_ABST
Patent Text Reader

Abstract

The utility model discloses a production line burning detection circuit based on a CAN (Controller Area Network) bus, which comprises a CAN channel switching circuit, a terminal resistance detection circuit, a main control circuit and a power supply and wake-up circuit, and is characterized in that one output end of the CAN channel switching circuit is electrically connected with the input end of the terminal resistance detection circuit; the output end of the terminal resistance detection circuit is electrically connected with the main control circuit, a plurality of control ends of the main control circuit are electrically connected with the CAN channel switching circuit, the input end of the power supply and wake-up circuit is electrically connected with an external power supply, one output end of the power supply and wake-up circuit is electrically connected with the power supply end of an external product, and the other output end of the power supply and wake-up circuit is electrically connected with the power supply end of the external product. Different relays are respectively controlled to control switching of different CAN signals and control program burning functions. The production line burning detection circuit based on the CAN bus provided by the utility model has the function of switching multiple paths of CAN signals to detect the terminal resistance, so as to reduce the operation difficulty.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model belongs to the technical field of controller production, and in particular relates to a production line burning detection circuit based on a CAN bus. Background Art

[0002] In the production process of motor controllers, a fixed test program plus a customer boot program is generally used in the front-end workstation to complete single-board testing, no-load testing, and bench offline testing, and finally the corresponding factory program is flashed according to the project. For the flashing workstation, the existing solution is to manually load the program into the computer's host program, and then configure the CAN card parameters (baud rate, channel, etc.) through the host program. The CAN card is directly connected to the product CAN interface through the wiring harness for manual flashing.

[0003] The product itself has multiple CAN channels reserved. Since the boot programs for different customers are different, it is necessary to connect CAN buses of different channels for program modification, and the CAN bus configurations will also be different. The existing technology can only be manually switched by plugging and unplugging the wiring harness and then configuring the CAN card parameters by the host computer program, which increases the difficulty of employee operation and lacks the function of terminal resistance detection. Utility Model Content

[0004] In view of the above problems, a production line burning detection circuit based on CAN bus is now provided to solve the problems existing in the prior art.

[0005] The specific technical solutions are as follows:

[0006] A production line burning detection circuit based on CAN bus, comprising a CAN channel switching circuit, a terminal resistance detection circuit, a main control circuit, and a power supply and wake-up circuit, wherein an output end of the CAN channel switching circuit is electrically connected to an input end of the terminal resistance detection circuit, an output end of the terminal resistance detection circuit is electrically connected to the main control circuit, multiple control ends of the main control circuit are electrically connected to the CAN channel switching circuit, an input end of the power supply and wake-up circuit is electrically connected to an external power supply, an output end of the power supply and wake-up circuit is electrically connected to a power supply end of an external product, and another output end of the power supply and wake-up circuit is electrically connected to a wake-up signal pin of an external product.

[0007] The above-mentioned production line burning detection circuit based on CAN bus also has the following characteristics: the CAN channel switching circuit includes a diode D2, a relay K2, a diode D3 relay K3, a relay K5 and a connection terminal P1; the cathode of the diode D2 is electrically connected to an external 12V power supply; the anode of the diode D2 is electrically connected to a first terminal of the relay K2 coil; the second terminal of the relay K2 coil is electrically connected to the cathode of the diode D3; the common end of the diode D3 and the relay K2 coil is also electrically connected to an external 12V power supply; the first terminal of the relay K3 coil is electrically connected to the anode of the diode D3; the second terminal of the relay K3 coil is electrically connected to an external 12V power supply; the first normally open contact of the relay K2 is electrically connected to an external first CAN signal; the first normally closed contact of the relay K2 is electrically connected to an external second CAN signal; the relay The second normally open contact of the electrical appliance K2 is electrically connected to the external third CAN signal, the second normally closed contact of the relay K2 is electrically connected to the external fourth CAN signal, the first common contact and the second common contact of the relay K2 are electrically connected to the first normally open contact and the second normally open contact of the relay K3 respectively, the first normally closed contact of the relay K3 is electrically connected to the external fifth CAN signal, the second normally closed contact of the relay K3 is electrically connected to the external sixth CAN signal, the first common contact and the second common contact of the relay K3 are electrically connected to the first common contact and the second common contact of the relay K5 respectively, the first normally closed contact of the relay K5 is electrically connected to the terminal resistance detection circuit as an output end, the second normally closed contact of the relay K5 is grounded, and the first normally open contact and the second normally open contact of the relay K5 are electrically connected to different contacts of the wiring terminal P1 respectively.

[0008] The above-mentioned production line burning detection circuit based on CAN bus also has the following characteristics: the terminal resistance detection circuit includes a resistor R13, a resistor R14 and a capacitor C10; the external power supply VCC passes through the resistor R13, the resistor R14 and the capacitor C10 in sequence and then is grounded; the common end of the resistor R13 and the resistor R14 is electrically connected to the first normally closed contact of the relay K5 as an input end; the common end of the resistor R14 and the capacitor C10 is electrically connected to the AD port of the main control circuit as an output end.

[0009] The above-mentioned CAN bus-based production line burning detection circuit also has the following characteristics: the power supply and wake-up circuit includes a power switching circuit, a product power supply circuit and a product wake-up circuit; the input end of the power switching circuit is electrically connected to an external power supply; the output end of the power switching circuit is electrically connected to the input end of the product power supply circuit and the input end of the product wake-up circuit respectively; the output end of the product power supply circuit is electrically connected to the power supply end of the product; and the output end of the product wake-up circuit is electrically connected to the wake-up signal end of the product.

[0010] The above-mentioned CAN bus-based production line burning detection circuit also has the following characteristics: the power switching circuit includes a relay K6 and a diode D7; the first terminal of the relay K6 coil is electrically connected to an external 12V power supply; the second terminal of the relay K6 coil is electrically connected to an anode of the diode D7; the cathode of the diode D7 is electrically connected to an external 12V power supply; the normally open contact of the relay K6 is electrically connected to an external 24V power supply; the normally closed contact of the relay K6 is electrically connected to an external 12V power supply; the common contact of the relay K6 is electrically connected as an output end to an input end of the product power supply circuit and an input end of the product wake-up circuit.

[0011] The above-mentioned CAN bus-based production line burning detection circuit also has the following characteristics: the product power supply circuit includes a relay K4 and a diode D4; the first terminal of the relay K4 coil is electrically connected to an external 12V power supply; the second terminal of the relay K4 coil is electrically connected to an anode of the diode D4; the cathode of the diode D4 is electrically connected to an external 12V power supply; the normally open contact of the relay K4 is electrically connected to the common contact of the relay K6 as an input terminal; the normally closed contact of the relay K4 is empty; and the common contact of the relay K4 is electrically connected to the power supply terminal of the product as an output terminal.

[0012] The above-mentioned CAN bus-based production line burning detection circuit also has the following characteristics: the product wake-up circuit includes a relay K1 and a diode D1; the first terminal of the relay K1 coil is electrically connected to an external 12V power supply; the second terminal of the relay K1 coil is electrically connected to an anode of the diode D1; the cathode of the diode D1 is electrically connected to an external 12V power supply; the normally open contact of the relay K1 is electrically connected to the common contact of the relay K6 as an input terminal; the normally closed contact of the relay K1 is empty; and the common contact of the relay K1 is electrically connected to the wake-up signal terminal of the product.

[0013] In summary, the beneficial effects of this scheme are:

[0014] In the production line burning detection circuit based on CAN bus provided by the utility model, different CAN signals and the control program burning function are switched by controlling different relays respectively. The production line burning detection circuit based on CAN bus provided by the utility model has the function of switching multiple CAN signals for terminal resistance detection, so as to reduce the difficulty of operation. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 It is a structural block diagram of the production line burning detection circuit based on CAN bus of the utility model;

[0016] Figure 2 It is a circuit structure diagram of a CAN channel switching circuit and a terminal resistance detection circuit of a production line burning detection circuit based on a CAN bus of the utility model;

[0017] Figure 3 The utility model is a circuit structure diagram of the power supply and wake-up circuit of the production line burning detection circuit based on CAN bus. DETAILED DESCRIPTION

[0018] The following will be combined with the embodiments of the utility model to clearly and completely describe the technical solutions in the embodiments of the utility model. Obviously, the described embodiments are only part of the embodiments of the utility model, not all of the embodiments. Based on the embodiments of the utility model, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the utility model.

[0019] It should be noted that, in the absence of conflict, the embodiments of the present invention and the features in the embodiments can be combined with each other.

[0020] The present invention will be further described below in conjunction with specific embodiments, but this is not intended to limit the present invention.

[0021] Figure 1 This is a structural block diagram of the production line burning detection circuit based on CAN bus of the utility model. Figure 2 The circuit structure diagram of the CAN channel switching circuit and the terminal resistance detection circuit of the production line burning detection circuit based on the CAN bus of the utility model is shown in FIG. Figure 3 The circuit structure diagram of the power supply and wake-up circuit of the production line burning detection circuit based on CAN bus of the utility model is as follows: Figure 1 , Figure 2 , Figure 3As shown, the CAN bus-based production line burning detection circuit provided in this embodiment includes a CAN channel switching circuit, a terminal resistance detection circuit, a main control circuit, and a power supply and wake-up circuit. An output end of the CAN channel switching circuit is electrically connected to the input end of the terminal resistance detection circuit, the output end of the terminal resistance detection circuit is electrically connected to the main control circuit, and multiple control ends of the main control circuit are electrically connected to the CAN channel switching circuit. The input end of the power supply and wake-up circuit is electrically connected to an external power supply, an output end of the power supply and wake-up circuit is electrically connected to the power supply end of an external product, and another output end of the power supply and wake-up circuit is electrically connected to a wake-up signal pin of an external product.

[0022] In the above embodiment, the CAN channel switching circuit includes a diode D2, a relay K2, a diode D3 relay K3, a relay K5 and a connection terminal P1, a cathode of the diode D2 is electrically connected to an external 12V power supply, an anode of the diode D2 is electrically connected to a first terminal of the relay K2 coil, a second terminal of the relay K2 coil is electrically connected to a cathode of the diode D3, a common end of the diode D3 and the relay K2 coil is also electrically connected to an external 12V power supply, a first terminal of the relay K3 coil is electrically connected to an anode of the diode D3, a second terminal of the relay K3 coil is electrically connected to an external 12V power supply, a first normally open contact of the relay K2 is electrically connected to an external first CAN signal, a first normally closed contact of the relay K2 is electrically connected to an external second CAN signal, and a second normally open contact of the relay K2 is electrically connected to a The external third CAN signal is electrically connected, the second normally closed contact of relay K2 is electrically connected to the external fourth CAN signal, the first common contact and the second common contact of relay K2 are electrically connected to the first normally open contact and the second normally open contact of relay K3 respectively, the first normally closed contact of relay K3 is electrically connected to the external fifth CAN signal, the second normally closed contact of relay K3 is electrically connected to the external sixth CAN signal, the first common contact and the second common contact of relay K3 are electrically connected to the first common contact and the second common contact of relay K5 respectively, the first normally closed contact of relay K5 is electrically connected to the terminal resistance detection circuit as an output end, the second normally closed contact of relay K5 is grounded, and the first normally open contact and the second normally open contact of relay K5 are electrically connected to different contacts of terminal P1 respectively.

[0023] It should be noted that the relay K2, the relay K3 and the relay K5 are all electrically connected to the main control circuit, and the common end of the resistor R14 and the capacitor C10 is electrically connected to the AD sampling end of the main control circuit as an output end.

[0024] In the above embodiment, the terminal resistance detection circuit includes a resistor R13, a resistor R14 and a capacitor C10, and the external power supply VCC is sequentially connected to the ground through the resistor R13, the resistor R14 and the capacitor C10. The common end of the resistor R13 and the resistor R14 is electrically connected to the first normally closed contact of the relay K5 as an input end, and the common end of the resistor R14 and the capacitor C10 is electrically connected to the AD port of the main control circuit as an output end.

[0025] In the above embodiment, the power supply and wake-up circuit includes a power switching circuit, a product power supply circuit and a product wake-up circuit. The input end of the power switching circuit is electrically connected to the external power supply, the output end of the power switching circuit is electrically connected to the input end of the product power supply circuit and the input end of the product wake-up circuit respectively, the output end of the product power supply circuit is electrically connected to the power supply end of the product, and the output end of the product wake-up circuit is electrically connected to the wake-up signal end of the product.

[0026] In the above embodiment, the power switching circuit includes a relay K6 and a diode D7, the first terminal of the relay K6 coil is electrically connected to the external 12V power supply, the second terminal of the relay K6 coil is electrically connected to the anode of the diode D7, the cathode of the diode D7 is electrically connected to the external 12V power supply, the normally open contact of the relay K6 is electrically connected to the external 24V power supply, the normally closed contact of the relay K6 is electrically connected to the external 12V power supply, and the common contact of the relay K6 is electrically connected as an output end to the input end of the product power supply circuit and the input end of the product wake-up circuit.

[0027] In the above embodiment, the product power supply circuit includes a relay K4 and a diode D4, the first terminal of the relay K4 coil is electrically connected to the external 12V power supply, the second terminal of the relay K4 coil is electrically connected to the anode of the diode D4, the cathode of the diode D4 is electrically connected to the external 12V power supply, the normally open contact of the relay K4 is electrically connected to the common contact of the relay K6 as an input end, the normally closed contact of the relay K4 is idling, and the common contact of the relay K4 is electrically connected to the power supply end of the product as an output end.

[0028] In the above embodiment, the product wake-up circuit includes a relay K1 and a diode D1, the first terminal of the relay K1 coil is electrically connected to the external 12V power supply, the second terminal of the relay K1 coil is electrically connected to the anode of the diode D1, the cathode of the diode D1 is electrically connected to the external 12V power supply, the normally open contact of the relay K1 is electrically connected to the common contact of the relay K6 as an input end, the normally closed contact of the relay K1 is empty, and the common contact of the relay K1 is electrically connected to the wake-up signal end of the product.

[0029] It should be noted that the CAN channel switching is composed of 3 dual-channel relays and is switched through the main control output signal. The terminal resistance detection circuit uses a resistance voltage divider to convert the resistance value into a voltage and collects it through the AD port of the main control unit.

[0030] Working principle: the external power supply provides 12V and 24V voltages to the power switching circuit. The output voltage can be switched by controlling relay K6. Similarly, the product wake-up and power supply can be controlled by controlling relay K1 and relay K4. The corresponding CAN channel can be controlled to perform terminal resistance detection by controlling relay K2, relay K3 and relay K5. After the detection is completed, the corresponding burning CAN channel is switched, which reduces the difficulty of employee operation.

[0031] The above are only preferred embodiments of the present invention, and do not limit the implementation mode and protection scope of the present invention. For those skilled in the art, it should be aware that all solutions obtained by equivalent substitutions and obvious changes made using the contents of the present invention specification should be included in the protection scope of the present invention.

Claims

1. A production line burning detection circuit based on CAN bus, characterized by: It includes a CAN channel switching circuit, a terminal resistance detection circuit, a main control circuit, and a power supply and wake-up circuit. An output end of the CAN channel switching circuit is electrically connected to the input end of the terminal resistance detection circuit, the output end of the terminal resistance detection circuit is electrically connected to the main control circuit, multiple control ends of the main control circuit are electrically connected to the CAN channel switching circuit, the input end of the power supply and wake-up circuit is electrically connected to an external power supply, an output end of the power supply and wake-up circuit is electrically connected to the power supply end of an external product, and the other output end of the power supply and wake-up circuit is electrically connected to a wake-up signal pin of an external product.

2. According to the CAN bus-based production line burning detection circuit of claim 1, it is characterized in that: The CAN channel switching circuit includes a diode D2, a relay K2, a diode D3 relay K3, a relay K5 and a wiring terminal P1, the cathode of the diode D2 is electrically connected to an external 12V power supply, the anode of the diode D2 is electrically connected to a first terminal of the relay K2 coil, the second terminal of the relay K2 coil is electrically connected to the cathode of the diode D3, the common end of the diode D3 and the relay K2 coil is also electrically connected to the external 12V power supply, the first terminal of the relay K3 coil is electrically connected to the anode of the diode D3, the second terminal of the relay K3 coil is electrically connected to the external 12V power supply, the first normally open contact of the relay K2 is electrically connected to an external first CAN signal, the first normally closed contact of the relay K2 is electrically connected to an external second CAN signal, and the second normally open contact of the relay K2 is electrically connected to an external The first normally closed contact of the relay K5 is electrically connected to the terminal resistance detection circuit as an output end, the second normally closed contact of the relay K5 is grounded, and the first normally open contact and the second normally open contact of the relay K5 are electrically connected to different contacts of the wiring terminal P1 respectively.

3. According to a CAN bus-based production line burning detection circuit according to claim 2, it is characterized in that: The terminal resistance detection circuit includes a resistor R13, a resistor R14 and a capacitor C10. The external power supply VCC passes through the resistor R13, the resistor R14 and the capacitor C10 in sequence and is then grounded. The common end of the resistor R13 and the resistor R14 is electrically connected to the first normally closed contact of the relay K5 as an input end, and the common end of the resistor R14 and the capacitor C10 is electrically connected to the AD port of the main control circuit as an output end.

4. A production line burning detection circuit based on CAN bus according to any one of claims 1 to 3, characterized in that: The power supply and wake-up circuit includes a power switching circuit, a product power supply circuit and a product wake-up circuit. The input end of the power switching circuit is electrically connected to an external power supply, the output end of the power switching circuit is electrically connected to the input end of the product power supply circuit and the input end of the product wake-up circuit respectively, the output end of the product power supply circuit is electrically connected to the power supply end of the product, and the output end of the product wake-up circuit is electrically connected to the wake-up signal end of the product.

5. A production line burning detection circuit based on CAN bus according to claim 4, characterized in that: The power switching circuit includes a relay K6 and a diode D7, the first terminal of the relay K6 coil is electrically connected to the external 12V power supply, the second terminal of the relay K6 coil is electrically connected to the anode of the diode D7, the cathode of the diode D7 is electrically connected to the external 12V power supply, the normally open contact of the relay K6 is electrically connected to the external 24V power supply, the normally closed contact of the relay K6 is electrically connected to the external 12V power supply, and the common contact of the relay K6 is electrically connected as an output end to the input end of the product power supply circuit and the input end of the product wake-up circuit.

6. A production line burning detection circuit based on CAN bus according to claim 5, characterized in that: The product power supply circuit includes a relay K4 and a diode D4, the first terminal of the relay K4 coil is electrically connected to an external 12V power supply, the second terminal of the relay K4 coil is electrically connected to an anode of the diode D4, the cathode of the diode D4 is electrically connected to an external 12V power supply, the normally open contact of the relay K4 is electrically connected to the common contact of the relay K6 as an input end, the normally closed contact of the relay K4 is idling, and the common contact of the relay K4 is electrically connected to the power supply end of the product as an output end.

7. The production line burning detection circuit based on CAN bus according to claim 5 is characterized in that: The product wake-up circuit includes a relay K1 and a diode D1, the first terminal of the relay K1 coil is electrically connected to an external 12V power supply, the second terminal of the relay K1 coil is electrically connected to an anode of the diode D1, the cathode of the diode D1 is electrically connected to an external 12V power supply, the normally open contact of the relay K1 is electrically connected to the common contact of the relay K6 as an input end, the normally closed contact of the relay K1 is empty, and the common contact of the relay K1 is electrically connected to the wake-up signal end of the product.