A control device and control method for CAN signal processing and transmission

By designing a control device for CAN signal processing, including a power module, an input detection processing module, a main controller and a CAN signal transmission and reception module, the problems of slow response speed and high cost in the prior art are solved, and fast response and Real-time detection of CAN signal transmission reduces the number and cost of internal wiring harnesses of the car.

CN109143920BActive Publication Date: 2024-12-24CHANGZHOU XINGYU AUTOMOTIVE LIGHTING SYST CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201810760593.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2018-07-12
Publication Date
2024-12-24
Estimated Expiration
2038-07-12

AI Technical Summary

Technical Problem

The prior art is difficult to respond quickly to external control commands and detect and send CAN signals in real time, resulting in problems such as large number of wire harnesses, high weight and cost in the car.

Method used

A control device including a power supply module, an input detection processing module, a main controller and a CAN signal transmission and reception module is designed. Through the input detection processing module, the external signal is detected in real time and converted into a signal recognized by the main controller. The main controller controls the CAN The signal sending and receiving module sends and detects signals in real time, and displays the judgment results through the output instruction module.

Benefits of technology

It realizes rapid response to external control commands, detects and sends CAN signals in real time, reduces the number and cost of internal wiring harnesses of the car, and improves the real-time and efficiency of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN109143920B_ABST
    Figure CN109143920B_ABST
Patent Text Reader

Abstract

The present invention discloses a control device for CAN signal processing and sending and a control method thereof, the control device comprises a power module, an input detection processing module, a main controller, an output indication module and a CAN signal sending and receiving module, the power module is connected with the input detection processing module, the main controller, the output indication module and the CAN signal sending and receiving module, and provides a voltage-stabilized power supply; the input detection processing module is connected with the main controller, and detects and processes the input control signal; the main controller is connected with the CAN signal sending and receiving module and the output indication module, and controls the CAN signal sending and receiving module to send a CAN signal, detects the signal on the CAN bus, and displays the judgment result through the output indication module. The present invention can send different CAN message information in real time, and at the same time, perform real-time detection on the signal on the CAN bus, and can quickly respond to external control commands and ensure the correctness of the CAN message information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of automobile CAN signal automatic control, in particular to a control device and a control method for CAN signal processing and sending. Background Art

[0002] With the rapid development of the automotive electronics industry, it is becoming increasingly important to reduce the number of wiring harnesses inside the car, reduce the weight and cost of the car. The application of CAN bus technology has solved this problem. Summary of the invention

[0003] In view of the above situation, the present invention provides a control device and a control method for CAN signal processing and sending, which can quickly respond to external control commands, send CAN signals and perform real-time detection.

[0004] To achieve the above object, the present invention adopts the following technical solutions:

[0005] A control device for CAN signal processing and sending, comprising a power module, an input detection processing module, a main controller, an output indication module and a CAN signal sending and receiving module, wherein the power module is connected with the input detection processing module, the main controller, the output indication module and the CAN signal sending and receiving module, and is used to provide a regulated power supply for the input detection processing module, the main controller, the output indication module and the CAN signal sending and receiving module; the input detection processing module is connected with the main controller, and is used to detect and process input control signals; the main controller is connected with the CAN signal sending and receiving module and the output indication module, and is used to control the CAN signal sending and receiving module to send CAN signals, detect signals on a CAN bus, and display the determination results through the output indication module.

[0006] Furthermore, the input detection processing module detects and processes multiple input control signals simultaneously.

[0007] Furthermore, the input detection processing module detects the +13.5V level change of the input terminal in real time and converts it into 5V high and low level signals that can be recognized by the main controller.

[0008] Furthermore, the main controller receives the input control signal sent by the input detection processing module in real time.

[0009] Furthermore, the main controller is connected to the CAN signal sending and receiving module, sends or receives CAN signals through the CAN signal sending and receiving module, detects signals on the CAN bus, and displays the determination results through the output indication module.

[0010] A control method for CAN signal processing and sending, comprising the following steps:

[0011] Step 1: The input detection processing module detects the external control signal in real time and sends the signal to the main controller after conversion processing;

[0012] Step 2: The main controller controls the CAN signal sending and receiving module to send different CAN signals in real time according to the signal sent by the input detection processing module;

[0013] Step 3: The main controller detects the signal on the CAN bus in real time through the CAN signal sending and receiving module, compares it with the internally set signal, and sends the judgment result to the output indication module;

[0014] Step 4: The output indication module lights up the corresponding LED indicator in the output indication module according to the judgment result, and sends the judgment result to the internal PLC port.

[0015] Beneficial effects:

[0016] 1. The input detection processing module of the present invention can process multiple external control signals at the same time. The main controller controls the CAN signal sending and receiving module to send CAN signals in real time, with fast response speed and strong real-time performance.

[0017] 2. The main controller of the present invention can send and detect CAN signals at the same time, saving costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 A block diagram of the working principle of a control device for CAN signal processing and transmission according to an embodiment of the present invention;

[0019] In the figure: 1-power module, 2-input detection processing module, 3-main controller, 4-output indication module, 5-CAN signal sending and receiving module, 6-CAN bus. DETAILED DESCRIPTION

[0020] The present invention is further described below in conjunction with the accompanying drawings and embodiments.

[0021] This embodiment provides a control device for processing and sending CAN signals, such as Figure 1As shown, it includes a power module 1, an input detection processing module 2, a main controller (MCU) 3, an output indication module 4 and a CAN signal sending and receiving module 5. The power module 1 is composed of an LM2940S voltage stabilizing chip and its peripheral circuits. The LM2940S voltage stabilizing chip is used as the core, and is connected to the input detection processing module 2, the main controller (MCU) 3, the output indication module 4 and the CAN signal sending and receiving module 5 to provide a regulated power supply for the input detection processing module 2, the main controller (MCU) 3, the output indication module 4 and the CAN signal sending and receiving module 5. The input detection processing module 2 is composed of a detection processing circuit composed of a triode and a voltage stabilizing tube, and is connected to the main controller (MCU) 3 to detect and process the 13.5V voltage signal at the input end, and convert it into a 5V high and low level signal that the main controller (MCU) 3 can recognize. The main controller (MCU) 3 is composed of a MC9S12XS128 single-chip microcomputer and its peripheral circuits. The MC9S12XS128 single-chip microcomputer is the core, connected to the output indication module 4 and the CAN signal sending and receiving module 5, controls the CAN signal sending and receiving module 5 to send CAN signals, detects signals on the CAN bus 6, and displays the judgment results through the output indication module 4. The CAN signal sending and receiving module 5 is composed of a TJA1050 chip and its peripheral circuits. The TJA1050 chip is the core, receives the TTL level signal output by the main controller (MCU) 3, converts it into a CAN signal and sends it to the CAN bus 6, or receives the CAN signal and converts it into a TTL level signal and sends it to the main controller (MCU) 3. The output indication module 4 is composed of a PLC port, multiple LED indicators and an optical coupler.

[0022] This embodiment also provides a method for controlling CAN signal processing and sending, which includes the following steps:

[0023] Step 1: The input detection processing module 2 detects the external control signal in real time, and sends the signal to the main controller (MCU) 3 after conversion processing;

[0024] Step 2: The main controller (MCU) 3 controls the CAN signal sending and receiving module 5 to send different CAN signals in real time according to the signal sent by the input detection processing module 2;

[0025] Step three, the main controller (MCU) 3 detects the signal on the CAN bus 6 in real time through the CAN signal sending and receiving module 5, compares it with the internally set signal, and outputs the judgment result to the output indication module 4.

[0026] Step 4: the output indication module 4 lights up the corresponding LED indicator in the output indication module 4 according to the determination result, and sends the determination result to the internal PLC port.

[0027] Specifically: the input detection processing module 2 has a total of 11 input and output ports, and uses triodes and voltage regulators to form a detection processing circuit, which converts the input 13.5V signal into a 5V signal and sends it to the main controller (MCU) 3. The main controller (MCU) 3 determines to perform different operations according to different ports. It can be a unidirectional sending of TTL level signals to the CAN signal sending and receiving module 5. The CAN signal sending and receiving module 5 converts the TTL level signal into a CAN signal and sends it to the CAN bus 6. It can also determine whether the signal returned by the CAN signal sending and receiving module 5 is correct. If it is correct, it sends an OK instruction to the PLC port of the output indication module 4. If it is wrong, it sends an NG instruction to the PLC port of the output indication module 4. The output indication module 4 is composed of a PLC port, an LED indicator and an optical coupler. The determination result can be directly displayed through the LED indicator, and the determination result can also be fed back to other devices through the optical coupler.

[0028] Regarding the limitation of the protection scope of the present invention, those skilled in the art should understand that, based on the technical solution of the present invention, various modifications or variations that can be made by those skilled in the art without creative work are still within the protection scope of the present invention.

Claims

1. A control device for CAN signal processing and sending, comprising a power supply module (1), an input detection processing module (2), a main controller (3), an output indication module (4) and a CAN signal sending and receiving module (5), characterized in that: The power supply module (1) is connected to the input detection processing module (2), the main controller (3), the output indication module (4) and the CAN signal sending and receiving module (5), and is used to provide a regulated power supply for the input detection processing module (2), the main controller (3), the output indication module (4) and the CAN signal sending and receiving module (5); the input detection processing module (2) is connected to the main controller (3) and is used to detect and process input control signals; the main controller (3) is connected to the CAN signal sending and receiving module (5) and the output indication module (4), and is used to control the CAN signal sending and receiving module (5) to send CAN signals, detect signals on the CAN bus (6), and display the determination results through the output indication module (4); The control method of the control device comprises the following steps: Step 1: the input detection processing module (2) detects the external control signal in real time and sends the signal to the main controller (3) after conversion processing; Step 2: the main controller (3) controls the CAN signal sending and receiving module (5) to send different CAN signals in real time according to the signal sent by the input detection processing module (2); Step 3: the main controller (3) detects the signal on the CAN bus (6) in real time through the CAN signal sending and receiving module (5), compares it with the internally set signal, and sends the determination result to the output indication module (4); Step 4: the output indication module (4) lights up the corresponding LED indicator light in the output indication module (4) according to the determination result, and sends the determination result to the internal PLC port.

2. The control device for CAN signal processing and transmission according to claim 1, characterized in that: The input detection and processing module (2) detects and processes multiple input control signals simultaneously.

3. The control device for CAN signal processing and transmission according to claim 2, characterized in that: The input detection processing module (2) detects the +13.5V level change of the input end in real time and converts it into 5V high and low level signals that can be recognized by the main controller (3).

4. The control device for CAN signal processing and transmission according to claim 1, characterized in that: The main controller (3) receives the input control signal sent by the input detection processing module (2) in real time.

5. The control device for CAN signal processing and transmission according to claim 1, characterized in that: The main controller (3) is connected to the CAN signal sending and receiving module (5), sends or receives CAN signals through the CAN signal sending and receiving module (5), detects signals on the CAN bus (6), and displays the determination results through the output indication module (4).