Oil spilling alarm device
By using a LoRa communication chip and the same PCB circuit design in the oil spill alarm device, the problems of communication reliability and transmission distance limitation of the oil spill alarm device are solved, realizing low power long-distance transmission and anti-interference capability, ensuring the reliability and effectiveness of oil spill alarm.
Patent Information
- Application Number
- CN202520457688.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Priority Date
- 2024-04-01
- Filing Date
- 2025-03-14
- Publication Date
- 2026-02-24
- Estimated Expiration
- 2035-03-14
AI Technical Summary
Existing oil spill alarm devices have low communication reliability and are susceptible to interference due to short transmission distances, making them unable to reliably transmit information.
Using a LoRa communication chip, the control units of the transmitting and receiving modules share the same PCB circuit. By switching via a toggle switch, the frequency switching anti-interference capability of the LoRa communication chip is utilized to increase the communication distance and improve reliability.
It achieves low-power long-distance data transmission, enhances communication reliability and anti-interference capability, and ensures that the oil spill alarm device works effectively in complex environments.
Smart Images

Figure CN223941432U_ABST
Abstract
Description
Technical Field
[0001] This utility model relates to the technical field of liquid level telemetry, and specifically to an oil spill alarm device. Background Technology
[0002] Oil spill alarms used on refueling ships require communication between the two vessels, necessitating wireless communication. However, wireless remote control technology suffers from limitations such as short transmission distance, susceptibility to interference leading to malfunctions, limited data transmission, and uncertainty regarding communication status. Existing technology, such as Chinese Patent Publication No. CN 211013145 U, discloses a LoRa-based intelligent liquid level monitoring device. This device includes a microcontroller, a LoRa wireless module electrically connected to the microcontroller for remote wireless communication, and a liquid level detection sensor connected to the microcontroller via a signal conditioning circuit, thus achieving remote wired and wireless communication capabilities.
[0003] However, existing technologies only solve the problem of remote communication, and the communication reliability is low.
[0004] In summary, there is a need to design an oil spill alarm device to solve the aforementioned technical problems in the existing technology. Utility Model Content
[0005] To address the problems in the prior art, this invention provides an oil spill alarm device that can increase communication distance while ensuring communication reliability.
[0006] To achieve the above objectives, the present invention adopts the following technical solution:
[0007] An oil spill alarm device includes:
[0008] A transmitting module is installed inside the vessel being refueled; the transmitting module includes a sensor, a first control unit, and a first communication unit; the sensor is used to collect oil spill signals; the first control unit is connected to the sensor and is used to receive the oil spill signals;
[0009] The receiving module is located at the control end, and the transmitting module includes a second control unit and a second communication unit; wherein both the first communication unit and the second communication unit adopt LoRa chips;
[0010] An alarm module is connected to both the first control unit and the second control unit; the alarm module is used to receive alarm commands and send alarm signals.
[0011] A battery management module is connected to both the first control unit and the second control unit; the battery management module is used to supply power to the first control unit and the second control unit.
[0012] Both the first control unit and the second control unit are equipped with a toggle switch; the toggle switch located in the first control unit is connected to a high-level terminal, and the toggle switch located in the second control unit is connected to a ground terminal;
[0013] The sensor is a multiple sensor, which is installed at different heights on the inner wall of the refueling vessel; the multiple sensors are used to detect multiple liquid level heights.
[0014] The high-position sensor is linked to the oil delivery valve of the refueling vessel for control; when the high-position sensor detects an oil spill signal, the oil delivery valve is closed.
[0015] In some embodiments of this utility model, the alarm module includes a first alarm unit and a second alarm unit; wherein the first alarm unit is connected to the first control unit, and the second alarm unit is connected to the second control unit; both the first alarm unit and the second alarm unit are audible and visual alarms.
[0016] In some embodiments of this utility model, the audible and visual alarm includes a buzzer and an alarm light, and the control circuit of the buzzer is provided with a boost circuit; the driving voltage of the buzzer is 5-12V.
[0017] In some embodiments of this utility model, the control circuit of the buzzer is also connected to a cancel button control unit.
[0018] In some embodiments of this utility model, the battery management module includes a charging management unit and a voltage conversion unit; the charging management unit includes an external power supply and a battery power supply.
[0019] In some embodiments of this utility model, the receiving module is further provided with a display screen module, which is powered by an external power source.
[0020] In some embodiments of this utility model, both the first control unit and the second control unit adopt MCU chips; the PA1-PA7 and PB0-PB1 pins of the MCU chip are connected to the LoRa chip.
[0021] In some embodiments of this utility model, pin PB7 of the MCU chip is the detection pin of the toggle switch; pin PB8 of the MCU chip is the charging status detection pin of the charging management unit; and pin PB9 of the MCU chip is the detection pin of the oil overflow signal of the sensor.
[0022] In some embodiments of this utility model, pin PB3 of the MCU chip is connected to an alarm light, pin PB13 of the MCU chip is connected to a buzzer, and pin PB6 of the MCU chip is connected to a cancel button unit;
[0023] When the MCU chip receives a high liquid level overflow signal, the PB3 pin and the PB13 pin of the MCU chip simultaneously output a start signal;
[0024] The second alarm unit is also equipped with a voice prompt unit; when the MCU chip receives a high liquid level oil overflow signal, the MCU chip outputs a start signal to the voice prompt unit.
[0025] In some embodiments of this utility model, the PA15 pin of the MCU chip is connected to the display module, and the PB4-PB5 pins of the MCU chip are connected to the control signals of the display module.
[0026] The technical solution of this utility model has the following technical advantages over the prior art:
[0027] This invention achieves low-power long-distance data transmission by using a LoRa communication chip, thereby increasing the communication distance. The control units of the transmitting module and the receiving module can use the same PCB circuit, and the transmitting module PCB and the receiving module PCB can be switched by a toggle switch.
[0028] In addition, by using the LoRa communication chip, the frequency can be switched when the wireless signal is interfered with, which has a good anti-interference capability. Attached Figure Description
[0029] To more clearly illustrate the technical solutions of the embodiments of this utility model, the drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this utility model. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0030] Figure 1 This is a schematic diagram illustrating the structural principle of the oil spill alarm device shown in the embodiment of this application.
[0031] Figure 2 This is a schematic diagram of the circuit principle of the first control unit shown in the embodiment of this application.
[0032] Figure 3 This is a schematic diagram illustrating the structural principle of the charging management unit shown in the embodiment of this application.
[0033] Figure 4 This is a schematic diagram of the circuit principle of the buzzer shown in the embodiment of this application.
[0034] Figure 5 This is a schematic diagram of the circuit principle of the external power supply shown in the embodiment of this application.
[0035] Figure 6 This is a schematic diagram of the circuit principle of the cancel button shown in the embodiment of this application.
[0036] Figure 7 This is a schematic diagram of the circuit principle of the sensor shown in the embodiment of this application.
[0037] Figure 8 This is a schematic diagram of the circuit principle of the toggle switch shown in the embodiment of this application.
[0038] Figure 9 This is a schematic diagram of the circuit principle of the download and update unit shown in the embodiment of this application.
[0039] Figure 10 This is a schematic diagram of the circuit principle of the display module shown in the embodiment of this application.
[0040] Figure 11 This is a schematic diagram showing the comparison between alarm signals and oil spill signals in an embodiment of this application.
[0041] Reference numerals: 100, Transmitting module; 110, Sensor; 111, Low-position sensor; 112, Mid-position sensor; 113, High-position sensor; 120, First control unit; 130, First communication unit; 200, Receiving module; 210, Second control unit; 220, Second communication unit; 310, First alarm unit; 320, Second alarm unit; 321, Buzzer; 322, Alarm light; 323, Voice prompt unit; 400, Power management module; 410, Battery power supply. Detailed Implementation
[0042] The technical solutions of the present utility model will be clearly and completely described below with reference to the accompanying drawings of the embodiments. Obviously, the described embodiments are only some embodiments of the present utility model, and not all embodiments. Based on the embodiments of the present utility model, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the protection scope of the present utility model.
[0043] In the description of this utility model, it should be noted that, unless otherwise explicitly specified and limited, the terms "installation," "connection," and "joining" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection. Those skilled in the art can understand the specific meaning of the above terms in this utility model based on the specific circumstances. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any suitable manner in one or more embodiments or examples.
[0044] Reference Figure 1 As shown, an oil spill alarm device includes:
[0045] A transmitting module 100 is installed inside the vessel being refueled; the transmitting module 100 includes a sensor 110, a first control unit 120, and a first communication unit 130; the sensor 110 is used to collect oil spill signals; the first control unit 120 is connected to the sensor 110 and is used to receive the oil spill signals;
[0046] The receiving module 200 is located at the control end, and the transmitting module 100 includes a second control unit 210 and a second communication unit 220; wherein, both the first communication unit 130 and the second communication unit 220 adopt LoRa chips;
[0047] An alarm module is connected to both the first control unit 120 and the second control unit 210; the alarm module is used to receive alarm commands and send alarm signals.
[0048] A battery management module is connected to both the first control unit 120 and the second control unit 210; the battery management module is used to supply power to the first control unit 120 and the second control unit 210.
[0049] Both the first control unit 120 and the second control unit 210 are equipped with toggle switches; the toggle switch in the first control unit 120 is connected to a high-level terminal, and the toggle switch in the second control unit 210 is connected to a ground terminal.
[0050] Specifically, the first control unit 120 and the second control unit 210 of the transmitting module 100 and the receiving module 200 are both microcontrollers (MCUs), and they can use the same PCB circuit board.
[0051] The LoRa chip used in the first communication unit 130 and the second communication unit 220 is specifically model SX1268, and the radio frequency switch is PE4259.
[0052] The working principle of this oil spill alarm device is as follows:
[0053] Depending on the application scenario, the receiving module 200 can be placed in the control room of the refueling ship, the transmitting module 100 can follow the staff to the refueled ship, and the sensor 110 can be placed at the monitoring position.
[0054] When an oil spill occurs, sensor 110 can immediately detect it and provide feedback to the first control unit 120. The first control unit 120 sends an alarm signal to the first communication unit 130. Simultaneously, the first control unit 120 sends the alarm signal to the alarm module of the transmitting module 100 to enable the transmitting module 100 to sound an alarm. The first communication unit 130 sends the alarm signal wirelessly to the second communication unit 220. After receiving the alarm signal, the second communication unit 220 of the receiving module 200 sends it to the second control module. Upon receiving the alarm signal, the second control module immediately activates the alarm module located in the receiving module 200 to issue an audible and visual alarm to remind the personnel in the control room to perform operations such as closing valves.
[0055] In some embodiments of this utility model, reference is made to Figure 2 As shown, taking the first control unit 120 as an example, the VBAT pin of the MCU chip is connected to a button power supply through a resistor, which is used to power the internal RTC; the NRST pin is connected for power-on reset; the VSS and VDD pins of the chip are both connected to the power supply.
[0056] The PA1-PA7 and PB0-PB1 pins of the MCU chip are connected to the LoRa chip.
[0057] The PB7 pin of the MCU chip is the detection pin for the toggle switch; the PB8 pin of the MCU chip is the charging status detection pin for the charging management unit; and the PB9 pin of the MCU chip is the detection pin for the oil overflow signal of the sensor 110.
[0058] The PB3 pin of the MCU chip is connected to the alarm light 322, the PB13 pin of the MCU chip is connected to the buzzer 321, and the PB6 pin of the MCU chip is connected to the cancel button unit.
[0059] The PB10-PB11 pins of the MCU chip are connected to the serial port for management.
[0060] The PA15 pin of the MCU chip is connected to the display module, and the PB4-PB5 pins of the MCU chip are connected to the control signals of the display module.
[0061] The MCU chip's PA9-PA10 pins are connected in series with resistors and then connected to the external power supply port for exporting logs.
[0062] The PA13-PA14 pins of the MCU chip are connected to the port of the download update unit to enable program or control chip updates.
[0063] The communication between the first control unit 120 and the second control unit 210 also includes maintaining the wireless communication channel. Specifically, the first control unit 120 of the transmitting module 100 sends a handshake message to the receiving module 200 at a set interval, and changes the transmit / receive state of the LoRa chip of the first communication unit 130 to receive, waiting for the handshake signal sent back by the receiving module 200. If an acknowledgment is received within the specified time, it indicates that the wireless channel is normal, and the device does not perform any processing. If no acknowledgment is received within the specified time, the first control unit 120 drives the alarm light 322 of the first alarm unit 310 to flash slowly to remind the staff that the wireless channel is currently abnormal.
[0064] If the receiving module 200 does not receive the handshake information from the transmitting module 100 within the specified time, the second control unit 210 drives the alarm light 322 of the second alarm unit 320 to flash slowly to remind the staff that the wireless channel is currently abnormal; if the receiving module 200 receives the handshake information from the transmitting module 100 within the specified time, the second control unit 210 switches the transmit / receive state of the LoRa chip of the second communication unit 220 to the transmit state, sends the handshake signal back to the transmitting module 100, and then switches back to the receive state to wait for the next handshake.
[0065] In some embodiments of this utility model, the battery management module includes a charging management unit and a voltage conversion unit; the charging management unit includes an external power supply and a battery power supply 410. (Refer to...) Figure 3 As shown, chip U2004 is the control chip of the charging management unit, where the VAC pin is used to connect to an external power source, and BAT13 and BAT14 are used to connect to the battery power source 410.
[0066] The power management module 400 can be connected to an external adapter for charging the battery and providing power to the equipment. The battery is a dual-protection lithium battery, providing power to the system when no external power source is available.
[0067] In some embodiments of this utility model, for an external power supply, refer to Figure 5 As shown, pin 1 of the CNT1001 chip is connected to an external power supply via a voltage regulator circuit. Pins 2 and 3 are connected to pins PA9-PA10 of the MCU chip. Both pins 2 and 3 have parallel branches connected to a bidirectional transient suppression diode and then grounded for electrostatic discharge (ESD) protection. Pin 4 of the CNT1001 chip is grounded.
[0068] In some embodiments of this utility model, reference continues to be made to... Figure 1As shown, the alarm module includes a first alarm unit 310 and a second alarm unit 320; wherein, the first alarm unit 310 is connected to the first control unit 120, and the second alarm unit 320 is connected to the second control unit 210; both the first alarm unit 310 and the second alarm unit 320 are audible and visual alarms.
[0069] In some embodiments of this utility model, the audible and visual alarm includes a buzzer 321 and an alarm light 322. The control circuit of the buzzer 321 is provided with a boost circuit; the driving voltage of the buzzer 322 is 5-12V.
[0070] Because the voltage of the battery power supply 410 is generally around 3.3V, while the driving voltage of the buzzer 321 needs to reach 5-12V, therefore, referring to... Figure 4 As shown, chip U2001 is the switching circuit for buzzer 321. Its IN pin is connected to the battery power supply 410, and its OUT pin is connected to the boost circuit.
[0071] The boost circuit uses chip U2002, whose IN and EN pins are connected to the OUT pin of chip U2001; its LX pin is connected in series with a diode and a capacitor to output a 5-12V drive voltage.
[0072] In some embodiments of this utility model, the control circuit of the buzzer 321 is further connected to a cancel button control unit. (See reference...) Figure 6 As shown, the CNT4002 chip is the control chip for canceling the button, meaning that staff can cancel the alarm signal of the audible and visual alarm by pressing the button. This chip is controlled by the battery power supply 410.
[0073] The second alarm unit 320 located in the receiving module 200 is also equipped with a voice prompt unit 323. When the high-level sensor 113 detects an oil spill signal, the chip controls the voice prompt unit 323 to start, which is used to broadcast warning information by voice, so as to improve the response speed of personnel to the warning information.
[0074] In some embodiments of this utility model, there are multiple sensors, which are respectively installed at different heights on the inner wall of the refueling vessel; the multiple sensors are used to detect multiple liquid level heights;
[0075] Specifically, there are three sensors, which are respectively installed at different heights on the inner wall of the refueling vessel, including: a low-position sensor 111, a middle-position sensor 112, and a high-position sensor 113, which are used to output low-position alarm signals, middle-position alarm signals, and high-position alarm signals of the refueling vessel in sequence.
[0076] When the chip receives a low-level alarm signal or a medium-level alarm signal, the chip only controls the buzzer 321 or the alarm light 322 to start.
[0077] When the chip receives a high-level alarm signal, the chip controls the buzzer 321 and the alarm light 322 to start simultaneously, thereby upgrading the alarm level.
[0078] Reference Figure 11 As shown, when the low-position sensor 111 or the middle-position sensor 112 detects an oil spill signal, the buzzer 321 or the alarm light 322 emits an alarm signal; when the high-position sensor 113 detects an oil spill signal, the buzzer 321, the alarm light 322 and the voice prompt unit 323 emit alarm signals simultaneously.
[0079] In some embodiments of this utility model, the high-level sensor 113 is linked to the oil delivery valve of the refueling vessel for control; when the high-level sensor 113 detects an oil spill signal, the oil delivery valve is in a closed state.
[0080] Specifically, when the high-level sensor 113 detects an oil spill signal, it indicates that the current oil spill signal is a warning signal requiring emergency handling. Using a valve controlled in conjunction with the sensor, when the high-level sensor 113 collects the oil spill signal, the valve is directly closed, meaning the valve is in a closed state, controlling the continued occurrence of oil spills from the input source.
[0081] In some embodiments of this utility model, in order to improve the reliability of the alarm signal, multiple sensors can be set at the same liquid level. When the MCU receives the oil spill signal from at least two sensors located at the same liquid level, the alarm unit is activated.
[0082] Specifically, when one of the sensors detects an oil spill signal, the chip can actively query whether another sensor at the same liquid level has also detected an oil spill signal; or when one of the sensors detects an oil spill signal, and within a certain time limit another sensor at the same liquid level also detects an oil spill signal, the MCU controls the alarm unit to operate.
[0083] In some embodiments of this utility model, the control circuit of the sensor 110 is as follows: Figure 7 As shown, it is controlled by the CNT4001 chip, and its connection method is the same as that of the CNT4002 chip. It is also controlled by the battery power supply 410.
[0084] In some embodiments of this utility model, in order to adapt to the installation environment of refueling vessels, the sensor can be a non-contact sensor, such as an optical sensor or an ultrasonic sensor.
[0085] In some embodiments of this utility model, reference is made to Figure 8 The diagram shows the circuit schematic of a toggle switch. The middle pin of the toggle switch is connected to the GPIO pin of the MCU chip, and the other two pins are connected to high level and ground, respectively. When the toggle switch is set to the high level, the MCU chip first detects that the GPIO pin is high, and the software enters the code branch of the transmitter module 100. When the toggle switch is set to ground, the software enters the code branch of the receiver module after power-on.
[0086] In some embodiments of this utility model, reference is made to Figure 9 As shown, this is the circuit schematic of the download and update unit. The CN4001 chip implements the download and update of the MCU chip. Its pin 1 is connected to the battery power supply 410, and its pins 2 and 3 are connected to the PA13 pin of the MCU chip to realize communication between the two.
[0087] In some embodiments of this utility model, the receiving module 200 further includes a display module, which is powered by an external power source. Specifically, refer to... Figure 10 As shown, chip U4003 is the driving circuit of the display module. Its VIN pin is connected to an external power supply, and its EN pin is connected to the PA15 pin of chip U4002. This display module can display alarm information.
[0088] The display module has a low-power mode. When the oil spill alarm device is not in an alarm state, the display module is in a low-power mode, and the display can enter a sleep state to reduce power consumption.
[0089] Specifically, the display module can use an e-ink screen or an OLED display to further reduce power consumption.
[0090] In some embodiments of this utility model, the display module can be a capacitive or resistive touch screen, which can support direct operation input.
[0091] The display module can serve as an input device for the MCU, allowing users to set alarm thresholds, view historical alarm data, and cancel alarm signals.
[0092] The technical solution of this utility model has the following technical advantages over the prior art:
[0093] This invention achieves low-power, long-distance data transmission by employing a LoRa communication chip, thereby increasing the communication range. The control units of the transmitting module 100 and the receiving module 200 can use the same PCB circuit, and the transmitting module PCB and the receiving module PCB can be switched by a toggle switch. Furthermore, by utilizing the LoRa communication chip, frequency switching can be performed when the wireless signal is interfered with, providing good anti-interference capability.
[0094] In the description of the above embodiments, specific features, structures, materials, or characteristics may be combined in any suitable manner in one or more embodiments or examples.
[0095] The above are merely specific embodiments of this utility model, but the protection scope of this utility model is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in this utility model should be included within the protection scope of this utility model. Therefore, the protection scope of this utility model should be determined by the scope of the claims.
Claims
1. An oil spill alarm device, characterized in that, include: A transmitting module is installed inside the vessel being refueled; the transmitting module includes a sensor, a first control unit, and a first communication unit; the sensor is used to collect oil spill signals; the first control unit is connected to the sensor and is used to receive the oil spill signals; The receiving module is located at the control end, and the transmitting module includes a second control unit and a second communication unit; wherein both the first communication unit and the second communication unit adopt LoRa chips; An alarm module is connected to both the first control unit and the second control unit; the alarm module is used to receive alarm commands and send alarm signals. A battery management module is connected to both the first control unit and the second control unit; the battery management module is used to supply power to the first control unit and the second control unit. Both the first control unit and the second control unit are equipped with a toggle switch; the toggle switch located in the first control unit is connected to a high-level terminal, and the toggle switch located in the second control unit is connected to a ground terminal; The sensor is a plurality of sensors, which are respectively installed at different heights on the inner wall of the refueling vessel; the multiple sensors are used to detect multiple liquid level heights. The high-position sensor is linked to the oil delivery valve of the refueling vessel for control; when the high-position sensor detects an oil spill signal, the oil delivery valve is closed.
2. The oil spill alarm device according to claim 1, characterized in that, The alarm module includes a first alarm unit and a second alarm unit; wherein the first alarm unit is connected to the first control unit, and the second alarm unit is connected to the second control unit; both the first alarm unit and the second alarm unit are audible and visual alarms.
3. The oil spill alarm device according to claim 2, characterized in that, The audible and visual alarm includes a buzzer and an alarm light. The control circuit of the buzzer is equipped with a boost circuit. The driving voltage of the buzzer is 5-12V.
4. The oil spill alarm device according to claim 3, characterized in that, The buzzer's control circuit is also connected to a cancel button control unit.
5. An oil spill alarm device according to claim 2, characterized in that, The battery management module includes a charging management unit and a voltage conversion unit; the charging management unit includes an external power supply and a battery power supply.
6. An oil spill alarm device according to claim 5, characterized in that, The receiving module also includes a display module, which is powered by an external power source.
7. An oil spill alarm device according to claim 6, characterized in that, Both the first control unit and the second control unit use MCU chips; the PA1-PA7 and PB0-PB1 pins of the MCU chip are connected to the LoRa chip.
8. An oil spill alarm device according to claim 7, characterized in that, The PB7 pin of the MCU chip is the detection pin for the toggle switch; the PB8 pin of the MCU chip is the charging status detection pin for the charging management unit; and the PB9 pin of the MCU chip is the detection pin for the oil overflow signal of the sensor.
9. An oil spill alarm device according to claim 7, characterized in that, The PB3 pin of the MCU chip is connected to the alarm light, the PB13 pin of the MCU chip is connected to the buzzer, and the PB6 pin of the MCU chip is connected to the cancel button unit. When the MCU chip receives a high liquid level overflow signal, the PB3 pin and the PB13 pin of the MCU chip simultaneously output a start signal; The second alarm unit is also equipped with a voice prompt unit; when the MCU chip receives a high liquid level oil overflow signal, the MCU chip outputs a start signal to the voice prompt unit.
10. An oil spill alarm device according to claim 7, characterized in that, The PA15 pin of the MCU chip is connected to the display module, and the PB4-PB5 pins of the MCU chip are connected to the control signals of the display module.
Citation Information
Patent Citations
Wireless liquid level sensor based on LoRa technology
CN211013145U