Alarm lamp controller with CAN interface

By designing an alarm light controller with a CAN interface and using a microprocessor module and a CAN bus module to drive the warning light, the problem of complex structure and high cost of the existing alarm light controller is solved, and a simple and low-cost alarm control effect is achieved. .

CN221930200UActive Publication Date: 2024-10-29HEBEI THREE KINGDOMS NEW ENERGY TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202323561705.4
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2023-12-26
Publication Date
2024-10-29
Estimated Expiration
2033-12-26

AI Technical Summary

Technical Problem

The existing alarm light controller has a complex structure, which results in high manufacturing costs and makes it difficult to implement simple and low-cost alarm control.

Method used

Design an alarm light controller with CAN interface, including a microprocessor module, CAN bus module, human-computer interaction module, alarm module, power module and storage circuit. It receives alarm instructions through the CAN bus module and drives the outside and inside of the car. Warning light to realize alarm control in emergency situations.

Benefits of technology

An alarm controller with a relatively simple structure and low cost is realized, which can easily control the alarm in emergency situations and reduce manufacturing costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN221930200U_ABST
    Figure CN221930200U_ABST
Patent Text Reader

Abstract

The utility model discloses an alarm lamp controller with a CAN interface, and relates to the technical field of automobile safety guarantee devices. The controller comprises a microprocessor module, and a CAN bus module is bidirectionally connected with the microprocessor module and is used for connecting the controller with peripheral equipment through a CAN bus for data interaction; the man-machine interaction module is in bidirectional connection with the microprocessor module and is used for inputting and displaying a control command; the alarm module is connected with the alarm signal output end of the microprocessor module and is used for receiving the alarm signal and giving a corresponding alarm; the power supply output end of the power supply module is connected with the power supply input end of a module needing power supply in the controller and is used for providing a working power supply for the module; and the storage circuit is bidirectionally connected with the microprocessor module and is used for storing running programs and generated data. The controller is relatively simple in structure, low in cost and capable of conveniently achieving alarm control under the emergency situation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the technical field of automobile safety protection devices, in particular to an alarm light controller with a CAN interface. Background Art

[0002] With the development of society, cars have entered thousands of households. Special vehicles are generally equipped with warning lights, and the operation of the warning lights requires the use of a controller. The warning light controller in the prior art is generally complex in structure, resulting in high manufacturing costs. Utility Model Content

[0003] The technical problem to be solved by the utility model is how to provide a warning light controller with a CAN interface which has a relatively simple structure and low cost.

[0004] In order to solve the above technical problems, the technical solution adopted by the utility model is: an alarm light controller with a CAN interface, comprising: a microprocessor module, a CAN bus module bidirectionally connected to the microprocessor module, used to connect the controller with peripheral devices through the CAN bus for data interaction; a human-computer interaction module bidirectionally connected to the microprocessor module, used to input control commands and display them; an alarm module is connected to the alarm signal output end of the microprocessor module, used to receive alarm signals and make corresponding alarms; the power output end of the power module is connected to the power input end of the module in the controller that needs power supply, used to provide it with working power; a storage circuit is bidirectionally connected to the microprocessor module, used to store running programs and generated data; a simulation download interface and a debugging serial port are bidirectionally connected to the microprocessor module, used to realize simulation and debugging functions.

[0005] The beneficial effect of adopting the above technical solution is that the controller of the present application includes a CAN bus module and multiple alarm modules, receives alarm instructions through the CAN bus module, and drives the alarms of two external warning lights (one red and one blue) and three-color alarm lights inside the vehicle. The structure of the controller is relatively simple, the cost is low, and it can easily realize alarm control in emergency situations. BRIEF DESCRIPTION OF THE DRAWINGS

[0006] The utility model is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0007] Figure 1 It is a principle block diagram of the controller described in the embodiment of the utility model;

[0008] Figure 2 It is a circuit schematic diagram of a microprocessor module in a controller according to an embodiment of the utility model;

[0009] Figure 3It is a circuit schematic diagram of the CAN bus module in the controller according to the embodiment of the utility model;

[0010] Figure 4 It is a circuit schematic diagram of a key input circuit in a controller according to an embodiment of the utility model;

[0011] Figure 5 It is a circuit schematic diagram of the touch screen in the controller according to the embodiment of the utility model;

[0012] Figure 6 It is a circuit schematic diagram of the operating indicator light in the controller according to the embodiment of the utility model;

[0013] Figure 7 It is a circuit schematic diagram of the alarm module in the controller according to the embodiment of the utility model;

[0014] Figure 8 It is a circuit schematic diagram of a power module in the controller according to an embodiment of the utility model;

[0015] Fig. 9 It is a schematic diagram of a storage circuit in a controller according to an embodiment of the utility model;

[0016] Fig.10 It is a schematic diagram of a simulation download interface and a debugging serial port in a controller according to an embodiment of the utility model. DETAILED DESCRIPTION

[0017] The following is a clear and complete description of the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0018] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.

[0019] The utility model embodiment discloses an alarm light controller with a CAN interface, comprising a microprocessor module, a CAN bus module bidirectionally connected to the microprocessor module, and used to connect the controller with peripheral equipment through the CAN bus for data interaction; a human-computer interaction module bidirectionally connected to the microprocessor module, and used to input control commands and display them; an alarm module is connected to the alarm signal output end of the microprocessor module, and is used to receive alarm signals and make corresponding alarms; a power output end of the power module is connected to the power input end of a module in the controller that needs power supply, and is used to provide working power for it; a storage circuit is bidirectionally connected to the microprocessor module, and is used to store running programs and generated data; a simulation download interface and a debugging serial port are bidirectionally connected to the microprocessor module, and are used to realize simulation and debugging functions.

[0020] Preferably, Figure 2 As shown, the microprocessor module includes an STM32F103 single-chip microcomputer. It should be noted that the microprocessor module can also use other types of single-chip microcomputers.

[0021] like Figure 3 As shown, the CAN bus module includes a PCA82C250 bus chip U3, and pins 1 and 4 of U3 are respectively connected to the corresponding connection ends of the microprocessor module; pin 2 of U3 is grounded, and pin 3 of U3 is connected to a 5V power supply; pin 5 of U3 is connected to a 3.3V power supply via a resistor R38, and pin 8 of U3 is connected to a 5V power supply via a resistor R56; pin 6 of U3 is divided into two paths, the first path is grounded via a capacitor C25, and the second path is connected to one end of a resistor R24 ​​via a resistor R40; pin 7 of U3 is divided into two paths, the first path is grounded via a capacitor C24, and the second path is connected to the other end of a resistor R24 ​​via a resistor R39; the node between resistor R24 ​​and resistor R40 is the CANL connection end of the CAN bus module, and the node between resistor R24 ​​and resistor R40 is the CANH connection end of the CAN bus module.

[0022] Furthermore, the human-computer interaction module includes a key input circuit, a touch screen and an operation indicator light. The key input circuit is connected to the signal input end of the microprocessor module for inputting control commands; the touch screen is bidirectionally connected to the microprocessor module for inputting control commands and displaying output data; the operation indicator light is connected to the signal output end of the microprocessor module for indicating the operating status.

[0023] like Figure 4As shown, the key input circuit SMD type keys SW1-SW4, one end of the SW1 is grounded, the other end of the SW1 is divided into two paths, the first path is connected to the 3.3V power supply through the resistor R17, and the second path is divided into two paths after passing through the resistor R19, the first path is grounded through the capacitor C13, and the second path is connected to the corresponding input end of the microprocessor module; one end of the SW2 is grounded, the other end of the SW2 is divided into two paths, the first path is connected to the 3.3V power supply through the resistor R18, and the second path is divided into two paths after passing through the resistor R20, the first path is grounded through the capacitor C14, and the second path is connected to the microprocessor module. The corresponding input end of the microprocessor module is connected; one end of the SW3 is grounded, and the other end of the SW3 is divided into two paths, the first path is connected to the 3.3V power supply through the resistor R25, and the second path is divided into two paths after passing through the resistor R26, the first path is grounded through the capacitor C17, and the second path is connected to the corresponding input end of the microprocessor module; one end of the SW4 is grounded, and the other end of the SW4 is divided into two paths, the first path is connected to the 3.3V power supply through the resistor R30, and the second path is divided into two paths after passing through the resistor R33, the first path is grounded through the capacitor C21, and the second path is connected to the corresponding input end of the microprocessor module; Figure 5 As shown, preferably, the touch screen uses an XTP2046 touch chip. Figure 6 As shown, the operation indicator light includes a light emitting diode LED1, the cathode of the light emitting diode LED1 is connected to the signal output end of the microprocessor module, and the anode of the LED1 is connected to a 3.3V power supply.

[0024] Further, such as Figure 7 As shown, the alarm module includes PS2801-4 type photocouplers U6A-U6D and PS2801-4 type photocoupler U7; the positive electrode of the light-emitting diode in the photocoupler U6A is connected to a 3.3V power supply via a resistor R3, and the negative electrode of the light-emitting diode in the photocoupler U6A is connected to a corresponding signal output terminal in the microprocessor module; the emitter of the transistor in the photocoupler U6A is grounded, and the collector of the transistor in the photocoupler U6A is divided into two paths, the first path is connected to a +12V power supply via a resistor R1, and the second path is connected to the base of the transistor Q1, the emitter of the transistor Q1 is connected to a +12V power supply, and the collector of the transistor Q1 is divided into two paths, the first path is grounded via a resistor R5, and the second path is connected to a corresponding input terminal of the warning light via a fuse F1;

[0025] The positive electrode of the light-emitting diode in the optical couple U6B is connected to a 3.3V power supply via a resistor R9, and the negative electrode of the light-emitting diode in the optical couple U6B is connected to the corresponding signal output terminal in the microprocessor module; the emitter of the transistor in the optical couple U6B is grounded, and the collector of the transistor in the optical couple U6B is divided into two paths, the first path is connected to a +12V power supply via a resistor R8, and the second path is connected to the base of the transistor Q2, the emitter of the transistor Q2 is connected to the +12V power supply, and the collector of the transistor Q2 is divided into two paths, the first path is grounded via a resistor R10, and the second path is connected to the corresponding input terminal of the warning light via a fuse F2;

[0026] The positive electrode of the light-emitting diode in the optical coupler U6C is connected to a 3.3V power supply via a resistor R15, and the negative electrode of the light-emitting diode in the optical coupler U6C is connected to the corresponding signal output terminal in the microprocessor module; the emitter of the transistor in the optical coupler U6C is grounded, and the collector of the transistor in the optical coupler U6C is divided into two paths, the first path is connected to a +12V power supply via a resistor R14, and the second path is connected to the base of the transistor Q3, the emitter of the transistor Q3 is connected to the +12V power supply, and the collector of the transistor Q3 is divided into two paths, the first path is grounded via a resistor R16, and the second path is connected to the corresponding input terminal of the warning light via a fuse F3;

[0027] The positive electrode of the light-emitting diode in the optical coupler U6D is connected to a 3.3V power supply via a resistor R22, and the negative electrode of the light-emitting diode in the optical coupler U6D is connected to the corresponding signal output terminal in the microprocessor module; the emitter of the transistor in the optical coupler U6D is grounded, and the collector of the transistor in the optical coupler U6D is divided into two paths, the first path is connected to a +12V power supply via a resistor R21, and the second path is connected to the base of the transistor Q4, the emitter of the transistor Q4 is connected to the power supply, and the collector of the transistor Q4 is divided into two paths, the first path is grounded via a resistor R23, and the second path is connected to the corresponding input terminal of the warning light via a fuse F4;

[0028] The positive electrode of the light-emitting diode in the photocoupler U7 is connected to a 3.3V power supply via a resistor R28, and the negative electrode of the light-emitting diode in the photocoupler U7 is connected to the corresponding signal output terminal in the microprocessor module; the emitter of the transistor in the photocoupler U7 is grounded, and the collector of the transistor in the photocoupler U7 is divided into two paths, the first path is connected to a +12V power supply via a resistor R27, and the second path is connected to the base of the transistor Q5, the emitter of the transistor Q5 is connected to the power supply, and the collector of the transistor Q5 is divided into two paths, the first path is grounded via a resistor R32, and the second path is connected to the corresponding input terminal of the warning light via a fuse F5.

[0029] like Figure 8As shown, the power module includes a +5V power module and a +3.3V power module. The +5V power module uses an MP2457GJ-Z power chip U5, and the +3.3V power module uses an AMS1117-3.3V power chip U4. Fig. 9 It is a schematic diagram of a storage circuit in a controller according to an embodiment of the utility model; Fig.10 It is a schematic diagram of a simulation download interface and a debugging serial port in a controller according to an embodiment of the utility model.

[0030] The controller described in the present application includes a CAN bus module and multiple alarm modules, which receive alarm instructions through the CAN bus module to drive the alarms of two external warning lights (one red and one blue) and three-color warning lights inside the vehicle. The structure of the controller is relatively simple, low-cost, and can easily realize alarm control in emergency situations.

Claims

1. A warning light controller with a CAN interface, characterized in that include: A microprocessor module, a CAN bus module bidirectionally connected to the microprocessor module, and used to connect the controller to peripheral devices through the CAN bus for data interaction; a human-computer interaction module bidirectionally connected to the microprocessor module, and used to input control commands and display them; an alarm module is connected to the alarm signal output end of the microprocessor module, and is used to receive alarm signals and make corresponding alarms; a power output end of the power module is connected to the power input end of the module in the controller that needs power supply, and is used to provide working power for it; a storage circuit is bidirectionally connected to the microprocessor module, and is used to store running programs and generated data; a simulation download interface and a debugging serial port are bidirectionally connected to the microprocessor module, and are used to realize simulation and debugging functions.

2. The warning light controller with CAN interface as claimed in claim 1, characterized in that: The microprocessor module includes an STM32F103 single chip microcomputer.

3. The warning light controller with CAN interface as claimed in claim 1, characterized in that: The CAN bus module includes a PCA82C250 bus chip U3, and pins 1 and 4 of U3 are respectively connected to the corresponding connection ends of the microprocessor module; pin 2 of U3 is grounded, and pin 3 of U3 is connected to a 5V power supply; pin 5 of U3 is connected to a 3.3V power supply via a resistor R38, and pin 8 of U3 is connected to a 5V power supply via a resistor R56; pin 6 of U3 is divided into two paths, the first path is grounded via a capacitor C25, and the second path is connected to one end of a resistor R24 ​​via a resistor R40; pin 7 of U3 is divided into two paths, the first path is grounded via a capacitor C24, and the second path is connected to the other end of a resistor R24 ​​via a resistor R39; the node between resistor R24 ​​and resistor R40 is the CANL connection end of the CAN bus module, and the node between resistor R24 ​​and resistor R40 is the CANH connection end of the CAN bus module.

4. The warning light controller with CAN interface as claimed in claim 1, characterized in that: The human-computer interaction module includes a key input circuit, a touch screen and an operation indicator light. The key input circuit is connected to the signal input end of the microprocessor module for inputting control commands; the touch screen is bidirectionally connected to the microprocessor module for inputting control commands and displaying output data; the operation indicator light is connected to the signal output end of the microprocessor module for indicating the operation status.

5. The warning light controller with CAN interface as claimed in claim 4, characterized in that: The key input circuit SMD type keys SW1-SW4, one end of the SW1 is grounded, the other end of the SW1 is divided into two paths, the first path is connected to the 3.3V power supply through the resistor R17, the second path is divided into two paths after passing through the resistor R19, the first path is grounded through the capacitor C13, and the second path is connected to the corresponding input end of the microprocessor module; One end of the SW2 is grounded, and the other end of the SW2 is divided into two paths, the first path is connected to the 3.3V power supply through the resistor R18, and the second path is divided into two paths after passing through the resistor R20, the first path is grounded through the capacitor C14, and the second path is connected to the corresponding input terminal of the microprocessor module; One end of the SW3 is grounded, and the other end of the SW3 is divided into two paths, the first path is connected to the 3.3V power supply through the resistor R25, and the second path is divided into two paths after passing through the resistor R26, the first path is grounded through the capacitor C17, and the second path is connected to the corresponding input terminal of the microprocessor module; One end of the SW4 is grounded, and the other end of the SW4 is divided into two paths. The first path is connected to the 3.3V power supply through the resistor R30, and the second path is divided into two paths after passing through the resistor R33. The first path is grounded through the capacitor C21, and the second path is connected to the corresponding input end of the microprocessor module.

6. The warning light controller with CAN interface as claimed in claim 4, characterized in that: The touch screen uses an XTP2046 touch chip.

7. The warning light controller with CAN interface as claimed in claim 4, characterized in that: The operation indicator light comprises a light emitting diode LED1, the cathode of the light emitting diode LED1 is connected to the signal output end of the microprocessor module, and the anode of the LED1 is connected to a 3.3V power supply.

8. The warning light controller with CAN interface as claimed in claim 1, characterized in that: The alarm module includes PS2801-4 type photocouplers U6A-U6D and PS2801-4 type photocoupler U7; The positive electrode of the light-emitting diode in the optical coupler U6A is connected to a 3.3V power supply via a resistor R3, and the negative electrode of the light-emitting diode in the optical coupler U6A is connected to the corresponding signal output terminal in the microprocessor module; the emitter of the transistor in the optical coupler U6A is grounded, and the collector of the transistor in the optical coupler U6A is divided into two paths, the first path is connected to a +12V power supply via a resistor R1, and the second path is connected to the base of the transistor Q1, the emitter of the transistor Q1 is connected to a +12V power supply, and the collector of the transistor Q1 is divided into two paths, the first path is grounded via a resistor R5, and the second path is connected to the corresponding input terminal of the warning light via a fuse F1; The positive electrode of the light-emitting diode in the optical couple U6B is connected to a 3.3V power supply via a resistor R9, and the negative electrode of the light-emitting diode in the optical couple U6B is connected to the corresponding signal output terminal in the microprocessor module; the emitter of the transistor in the optical couple U6B is grounded, and the collector of the transistor in the optical couple U6B is divided into two paths, the first path is connected to a +12V power supply via a resistor R8, and the second path is connected to the base of the transistor Q2, the emitter of the transistor Q2 is connected to the +12V power supply, and the collector of the transistor Q2 is divided into two paths, the first path is grounded via a resistor R10, and the second path is connected to the corresponding input terminal of the warning light via a fuse F2; The positive electrode of the light-emitting diode in the optical coupler U6C is connected to a 3.3V power supply via a resistor R15, and the negative electrode of the light-emitting diode in the optical coupler U6C is connected to the corresponding signal output terminal in the microprocessor module; the emitter of the transistor in the optical coupler U6C is grounded, and the collector of the transistor in the optical coupler U6C is divided into two paths, the first path is connected to a +12V power supply via a resistor R14, and the second path is connected to the base of the transistor Q3, the emitter of the transistor Q3 is connected to the +12V power supply, and the collector of the transistor Q3 is divided into two paths, the first path is grounded via a resistor R16, and the second path is connected to the corresponding input terminal of the warning light via a fuse F3; The positive electrode of the light-emitting diode in the optical coupler U6D is connected to a 3.3V power supply via a resistor R22, and the negative electrode of the light-emitting diode in the optical coupler U6D is connected to the corresponding signal output terminal in the microprocessor module; the emitter of the transistor in the optical coupler U6D is grounded, and the collector of the transistor in the optical coupler U6D is divided into two paths, the first path is connected to a +12V power supply via a resistor R21, and the second path is connected to the base of the transistor Q4, the emitter of the transistor Q4 is connected to the power supply, and the collector of the transistor Q4 is divided into two paths, the first path is grounded via a resistor R23, and the second path is connected to the corresponding input terminal of the warning light via a fuse F4; The positive electrode of the light-emitting diode in the photocoupler U7 is connected to a 3.3V power supply via a resistor R28, and the negative electrode of the light-emitting diode in the photocoupler U7 is connected to the corresponding signal output terminal in the microprocessor module; the emitter of the transistor in the photocoupler U7 is grounded, and the collector of the transistor in the photocoupler U7 is divided into two paths, the first path is connected to a +12V power supply via a resistor R27, and the second path is connected to the base of the transistor Q5, the emitter of the transistor Q5 is connected to the power supply, and the collector of the transistor Q5 is divided into two paths, the first path is grounded via a resistor R32, and the second path is connected to the corresponding input terminal of the warning light via a fuse F5.

9. The warning light controller with CAN interface as claimed in claim 1, characterized in that: The power supply module includes a +5V power supply module and a +3.3V power supply module. The +5V power supply module uses an MP2457GJ-Z power supply chip U5, and the +3.3V power supply module uses an AMS1117-3.3V power supply chip U4.