Alarm with detection and calibration functions based on CAN communication
By designing an alarm based on CAN communication, the problem that traditional alarms cannot achieve multiple calibration and real-time monitoring at the same time is solved, flexible use and low-cost operation are achieved, and early warning and display functions are provided through LED lights.
Patent Information
- Application Number
- CN202420243621.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-01
- Publication Date
- 2025-05-30
- Estimated Expiration
- 2034-02-01
AI Technical Summary
Traditional alarms cannot achieve multiple calibration and real-time monitoring at the same time. Calibration needs to be carried out at the manufacturer, which is difficult to use and high operating costs.
An alarm with detection and calibration functions based on CAN communication is designed, including a circuit management module, a control module and an operation warning module. The two-way information interoperability is achieved through the CAN communication interface chip and the control chip, and supports real-time calibration and monitoring.
It realizes multiple calibration and real-time monitoring functions of the alarm, simplifies the use process, reduces operating costs, and realizes lighting early warning and power-on display through LED lights.
Smart Images

Figure CN222927097U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of alarms, in particular to an alarm with detection and calibration functions based on CAN communication. Background Art
[0002] An alarm is an electronic product that prevents or pre - vents the consequences of an event and uses forms such as sound, light, and air pressure to remind or warn us to take certain actions. Safety alarms in the market are relatively common. Traditional alarms can only perform real - time monitoring, but cannot simultaneously achieve multiple calibrations and real - time monitoring. For example, for some equipment (such as agricultural machines, excavators, etc.), two functions of calibration and real - time detection are required according to the working conditions. Calibration needs to be carried out at the manufacturer's place, which is not only difficult to use but also has a high operating cost. Based on this, an alarm with detection and calibration functions based on CAN communication is proposed to achieve the purpose of multiple calibrations and real - time monitoring. Summary of the Utility Model
[0003] The purpose of the utility model is to overcome the shortcomings of the prior art and provide an alarm with detection and calibration functions based on CAN communication, effectively solving the deficiencies of the prior art.
[0004] To achieve the above - mentioned purpose, an embodiment of one aspect of the utility model provides an alarm with detection and calibration functions based on CAN communication, including a circuit management module, a control module, and an operation warning module. The control module is electrically connected to the circuit management module and the operation warning module respectively. The circuit management module includes a power input module VCC1, a power supply voltage - stabilizing module U4, a voltage regulator, and a CAN communication interface chip U10, and the four are electrically connected. The control module includes a control chip U6 and a crystal oscillator X2. The operation warning module includes three key switches and seven LED lights.
[0005] Preferably, according to any of the above solutions, the circuit management module further includes an inductor L5, an inductor L6, and an inductor L7; diodes D6, D7, D8, and D9; capacitors C18, C19, C20, C21, C22, C23, C24, C25, and C26. The diode D6 is a voltage regulator diode, the diode D8 is a bidirectional breakdown diode, and the diode D9 is a voltage regulator diode. The output voltage of the voltage regulator is 3.3V. In the circuit of the circuit management module, one side of the diode D6 is electrically connected to the U4OUTPUT pin of the power supply voltage regulation module. Both ends of the diode D7 are electrically connected to the inductor L6, the capacitors C25, C23, C26, and the VIN pin of the power supply voltage regulation module U4. The diode D8 is connected in parallel with the VCC1 of the power supply input module and is electrically connected to the inductor L6 and the inductor L7 respectively. Both ends of the diode D9 are electrically connected to the FB pin of the power supply voltage regulation module U4, the inductor L5, the capacitor C22, the IN pin of the voltage regulator, and the VCC pin of the CAN communication interface chip U10. The capacitors C18 and C20 are connected in parallel between the OUT pin and the ADJ pin of the voltage regulator and are electrically connected to the S pin of the CAN communication interface chip U10. The capacitors C19 and C21 are connected in parallel between the IN pin and the ADJ pin of the voltage regulator and are electrically connected to the S pin of the CAN communication interface chip U10. The capacitor C24 is located between the capacitor C25 and the inductor L7.
[0006] Preferably, according to any of the above solutions, the VBAT pin, the VDD_2 pin, and the VDD_3 pin of the control chip U6 are electrically connected to the OUT pin of the voltage regulator. The PA12 pin and the PA11 pin of the control chip U6 are electrically connected to the TXD pin and the RXD pin of the CAN communication interface chip U10 respectively. This solution facilitates the voltage regulator to provide a 3.3V operating voltage for the control chip U6 and the seven LED lights, namely LEDG_1, LEDG_2, LEDG_3, LEDR_1, LEDR_2, LEDY_1, and LEDY_2, to ensure that all components can operate normally.
[0007] Preferably, according to any of the above solutions, the circuit management module further includes capacitor C11, capacitor C13, capacitor C14, capacitor C15, capacitor C16, and capacitor C17; resistors R16 and R17. In this solution, capacitor C11 is connected in series between the 1st pin and the 4th pin of crystal oscillator X2. Capacitor C13 is connected in series between the 3rd pin and the 4th pin of crystal oscillator X2. Capacitors C14, C15, C16, and C17 are connected in parallel between the VSS_1 pin and the VDD_1 pin of control chip U6. Resistor R16 is connected in series between the NRST pin of control chip U6 and the OUT pin of the voltage regulator. Resistor R17 is connected in series between the VSS_3 pin of control chip U6 and the BOOT0 pin.
[0008] Preferably, according to any of the above solutions, the three push-button switches are respectively push-button switch SW1, push-button switch SW2, and push-button switch SW3, and the models of all three are TS-1102S. Both sides of push-button switch SW1 are electrically connected to the OUT pin of the voltage regulator and the PA5 pin of the control chip respectively. Both sides of push-button switch SW2 are electrically connected to the OUT pin of the voltage regulator and the PA6 pin of the control chip respectively. Both sides of push-button switch SW3 are electrically connected to the OUT pin of the voltage regulator and the PA7 pin of the control chip respectively.
[0009] Preferably, according to any of the above solutions, the seven LED lights are respectively LED light LEDG_1, LED light LEDG_2, LED light LEDG_3, LED light LEDR_1, LED light LEDR_2, LED light LEDY_1, and LED light LEDY_2. LED light LEDG_1, LED light LEDG_2, and LED light LEDG_3 are electrically connected to the PB15 pin, PB14 pin, and PB13 pin of control chip U6 respectively. LED light LEDR_1 and LED light LEDR_2 are electrically connected to the PB11 pin and PB12 pin of control chip U6 respectively. LED light LEDY_1 and LED light LEDY_2 are electrically connected to the PB10 pin and PB9 pin of control chip U6 respectively.
[0010] The present utility model has the following advantages:
[0011] 1. The alarm with detection and calibration functions based on CAN communication is provided with a power input module VCC1, a power supply voltage stabilization module U4, and a voltage regulator, which are electrically connected to multiple inductors, capacitors, and diodes respectively, thereby forming a power supply circuit. The CAN communication interface chip U10 and the control chip U6 perform two-way information exchange. The control chip U6 performs analog-to-digital conversion on relevant signals, and realizes logic control and information communication. When the input signal exceeds the alarm threshold, an alarm signal is sent to the outside. The three buttons in the operation and warning module are used to control the control chip U6, thereby completing the real-time calibration function. The seven LED lights respectively realize the functions of light warning and power-on display, and simultaneously achieve the purpose of multiple calibrations and real-time monitoring, so as to realize the three functions of alarm detection, real-time calibration, and communication in one alarm. Compared with the traditional method, it is more flexible to use and easier to install. Description of the Drawings
[0012] Figure 1 It is the circuit diagram of the circuit management module of the present utility model;
[0013] Figure 2 It is the circuit diagram of the control module of the present utility model;
[0014] Figure 3 It is the circuit diagram of the operation and warning module of the present utility model. Detailed Embodiment
[0015] The following further describes the present utility model in conjunction with the drawings, but the protection scope of the present utility model is not limited to the following.
[0016] As Figures 1 to 3 shown, an alarm with detection and calibration functions based on CAN communication includes a circuit management module, a control module, and an operation and warning module. The control module is electrically connected to the circuit management module and the operation and warning module respectively. The circuit management module includes a power input module VCC1, a power supply voltage stabilization module U4, a voltage regulator, and a CAN communication interface chip U10, and the four are electrically connected. The control module includes a control chip U6 and a crystal oscillator X2. The operation and warning module includes three push-button switches and seven LED lights. The model of the power supply voltage stabilization chip U4 is XL2594-5.0, the model of the voltage regulator is ASM1117-3.3, the model of the CAN communication interface chip U10 is TJ1050T / CM.118, the model of the control chip U6 is STM32F103C8T6, and the frequency of the crystal oscillator X2 is 8 MHz.
[0017] The circuit management module further includes inductors L5, L6, and L7; diodes D6, D7, D8, and D9; capacitors C18, C19, C20, C21, C22, C23, C24, C25, and C26. Diode D6 is a voltage regulator diode, diode D8 is a bidirectional breakdown diode, and diode D9 is a voltage regulator diode. The output voltage of the voltage regulator is 3.3V. As an alternative technical solution of the present invention, in the circuit of the circuit management module, one side of diode D6 is electrically connected to the U4OUTPUT pin of the power supply voltage regulation module, and both ends of diode D7 are respectively electrically connected to inductor L6, capacitors C25, C23, C26, and the VIN pin of the power supply voltage regulation module U4. Diode D8 is connected in parallel with the VCC1 of the power supply input module and is respectively electrically connected to inductors L6 and L7; both ends of diode D9 are respectively electrically connected to the FB pin of the power supply voltage regulation module U4, inductor L5, capacitor C22, the IN pin of the voltage regulator, and the VCC pin of the CAN communication interface chip U10; capacitors C18 and C20 are connected in parallel between the OUT pin and the ADJ pin of the voltage regulator and are electrically connected to the S pin of the CAN communication interface chip U10; capacitors C19 and C21 are connected in parallel between the IN pin and the ADJ pin of the voltage regulator and are electrically connected to the S pin of the CAN communication interface chip U10; capacitor C24 is located between capacitor C25 and inductor L7.
[0018] The VBAT pin, VDD_2 pin, and VDD_3 pin of the control chip U6 are electrically connected to the OUT pin of the voltage regulator. The PA12 pin and PA11 of the control chip U6 are respectively electrically connected to the TXD pin and RXD pin of the CAN communication interface chip U10. As an alternative technical solution of the present invention, this facilitates the voltage regulator to provide a 3.3V operating voltage for the control chip U6 and seven LED lights, namely LEDG_1, LEDG_2, LEDG_3, LEDR_1, LEDR_2, LEDY_1, and LEDY_2, to ensure that all components can operate normally.
[0019] The circuit management module further includes capacitor C11, capacitor C13, capacitor C14, capacitor C15, capacitor C16 and capacitor C17; resistors R16 and R17. As an alternative technical solution of the present utility model, capacitor C11 is connected in series between pin 1 and pin 4 of crystal oscillator X2, capacitor C13 is connected in series between pin 3 and pin 4 of crystal oscillator X2, capacitors C14, C15, C16 and C17 are connected in parallel between the VSS_1 pin and the VDD_1 pin of control chip U6, resistor R16 is connected in series between the NRST pin of control chip U6 and the OUT pin of the voltage regulator, and resistor R17 is connected in series between the VSS_3 pin of control chip U6 and the BOOT0 pin.
[0020] The three push-button switches are respectively push-button switch SW1, push-button switch SW2 and push-button switch SW3, and the models of all three are TS-1102S. The two sides of push-button switch SW1 are electrically connected to the OUT pin of the voltage regulator and the PA5 pin of the control chip respectively, the two sides of push-button switch SW2 are electrically connected to the OUT pin of the voltage regulator and the PA6 pin of the control chip respectively, and the two sides of push-button switch SW3 are electrically connected to the OUT pin of the voltage regulator and the PA7 pin of the control chip respectively.
[0021] The seven LED lights are respectively LED light LEDG_1, LED light LEDG_2, LED light LEDG_3, LED light LEDR_1, LED light LEDR_2, LED light LEDY_1 and LED light LEDY_2. LED light LEDG_1, LED light LEDG_2 and LED light LEDG_3 are electrically connected to the PB15 pin, PB14 pin and PB13 pin of control chip U6 respectively, LED light LEDR_1 and LED light LEDR_2 are electrically connected to the PB11 pin and PB12 pin of control chip U6 respectively, and LED light LEDY_1 and LED light LEDY_2 are electrically connected to the PB10 pin and PB9 pin of control chip U6 respectively.
[0022] In summary, when in use, by setting the power input module VCC1, the power supply voltage regulation module U4, and the voltage regulator, which are respectively electrically connected to multiple inductors, capacitors and diodes, a power supply circuit is formed. The CAN communication interface chip U10 and the control chip U6 perform two-way information exchange. The control chip U6 performs digital-to-analog conversion on relevant signals and realizes logical control. When the input signal exceeds the alarm threshold, an alarm signal is sent to the outside. The three push-button switches in the operation and warning module are used to control the control chip U6, thereby completing the real-time calibration function. The seven LED lights respectively realize the functions of light warning and power-on display, so as to synchronously achieve the purpose of multiple calibrations and real-time monitoring.
[0023] Although embodiments of the present utility model have been shown and described, those of ordinary skill in the art can understand that various changes, modifications, substitutions, and variations can be made to these embodiments without departing from the principle and spirit of the present utility model. The scope of the present utility model is defined by the appended claims and their equivalents.
Claims
1. An alarm with detection and calibration functions based on CAN communication, characterized in that: It includes a circuit management module, a control module and an operation warning module. The control module is electrically connected to the circuit management module and the operation warning module respectively. The circuit management module includes a power input module VCC1, a power voltage regulator module U4, a voltage regulator and a CAN communication interface chip U10, and the four are electrically connected. The control module includes a control chip U6 and a crystal oscillator X2. The operation warning module includes three button switches and seven LED lights.
2. The alarm device with detection and calibration functions based on CAN communication according to claim 1, characterized in that: The circuit management module also includes an inductor L5, an inductor L6 and an inductor L7; a diode D6, a diode D7, a diode D8 and a diode D9; a capacitor C18, a capacitor C19, a capacitor C20, a capacitor C21, a capacitor C22, a capacitor C23, a capacitor C24, a capacitor C25 and a capacitor C26, wherein the diode D6 is a voltage regulator diode, the diode D8 is a bidirectional breakdown diode, the diode D9 is a voltage regulator diode, and the output voltage of the voltage regulator is 3.3V. One side of the diode D6 is electrically connected to the OUTPUT pin of the power supply voltage regulator module U4, and the two ends of the diode D7 are respectively connected to the VIN pin of the inductor L6, the capacitor C25, the capacitor C23, the capacitor C26 and the power supply voltage regulator module U4. The two ends of the diode D9 are electrically connected to the FB pin of the power supply voltage regulator module U4, the inductor L5, the capacitor C22, the IN pin of the voltage regulator and the VCC pin of the CAN communication interface chip U10 respectively; the capacitor C18 and the capacitor C20 are connected in parallel between the OUT pin and the ADJ pin of the voltage regulator, and are electrically connected to the S pin of the CAN communication interface chip U10; the capacitor C19 and the capacitor C21 are connected in parallel between the IN pin and the ADJ pin of the voltage regulator, and are electrically connected to the S pin of the CAN communication interface chip U10; the capacitor C24 is located between the capacitor C25 and the inductor L7.
3. The alarm device with detection and calibration functions based on CAN communication according to claim 2 is characterized in that: The VBAT pin, VDD_2 pin, and VDD_3 pin of the control chip U6 are electrically connected to the OUT pin of the voltage regulator, and the PA12 pin and PA11 pin of the control chip U6 are electrically connected to the TXD pin and RXD pin of the CAN communication interface chip U10, respectively.
4. The alarm device with detection and calibration functions based on CAN communication according to claim 3 is characterized in that: The circuit management module also includes capacitor C11, capacitor C13, capacitor C14, capacitor C15, capacitor C16 and capacitor C17; resistor R16 and resistor R17, the capacitor C11 is connected in series to pin 1 and pin 4 of the crystal oscillator X2, the capacitor C13 is connected in series between pin 3 and pin 4 of the crystal oscillator X2, the capacitor C14, capacitor C15, capacitor C16 and capacitor C17 are installed in parallel between the VSS_1 pin and the VDD_1 pin of the control chip U6, the resistor R16 is installed in series between the NRST pin of the control chip U6 and the OUT pin of the regulator, and the resistor R17 is installed in series between the VSS_3 pin and the BOOT0 pin of the control chip U6.
5. The alarm device with detection and calibration functions based on CAN communication according to claim 4 is characterized in that: The three push switches are push switch SW1, push switch SW2 and push switch SW3, and the models of the three are TS-1102S. The two sides of the push switch SW1 are electrically connected to the OUT pin of the voltage regulator and the PA5 pin of the control chip, respectively. The two sides of the push switch SW2 are electrically connected to the OUT pin of the voltage regulator and the PA6 pin of the control chip, respectively. The two sides of the push switch SW3 are electrically connected to the OUT pin of the voltage regulator and the PA7 pin of the control chip, respectively.
6. The alarm device with detection and calibration functions based on CAN communication according to claim 5, characterized in that: The seven LED lamps are LED lamp LEDG_1, LED lamp LEDG_2, LED lamp LEDG_3, LED lamp LEDR_1, LED lamp LEDR_2, LED lamp LEDY_1 and LED lamp LEDY_2. The LED lamp LEDG_1, LED lamp LEDG_2 and LED lamp LEDG_3 are electrically connected to the PB15 pin, PB14 pin and PB13 pin of the control chip U6 respectively. The LED lamp LEDR_1 and LED lamp LEDR_2 are electrically connected to the PB11 pin and PB12 pin of the control chip U6 respectively. The LED lamp LEDY_1 and LED lamp LEDY_2 are electrically connected to the PB10 pin and PB9 pin of the control chip U6 respectively.