PLC wireless expansion module based on LoRa communication
By introducing a timer-controlled power supply module into the LoRa communication module, power is only supplied to the wireless transmission module during data collection, which solves the problems of short communication distance and power consumption of LoRa underground in mines, improves communication distance, and extends battery life.
Patent Information
- Application Number
- CN202420020439.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-04
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2034-01-04
AI Technical Summary
In the underground mine environment, LoRa wireless communication cannot meet the communication needs of some special situations due to short communication distance and poor anti-interference. Moreover, adding a wireless expansion module increases the power consumption of wireless communication and affects the service life of dry batteries.
A PLC wireless expansion module based on LoRa communication is designed, including a data collection module, a power supply module and a wireless transmission module. The timer inside the controller controls the power supply module to only provide power to the wireless transmission module during the collection time, reducing non-transmission. time power consumption.
It effectively increases the communication distance, while reducing the power loss of wireless communication, extending the service life of the dry battery, and when there is no data transmission, the controller is in a static working mode, further reducing power consumption.
Smart Images

Figure CN221598060U
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of wireless communication, and specifically to a PLC wireless expansion module based on LoRa communication. Background Art
[0002] The underground environment of mines is special, and the mining process is often accompanied by toxic and harmful gases. When collecting and transmitting such environmental parameters, the commonly used wireless communication technology has the disadvantages of short communication distance and poor anti-interference. LoRa wireless communication has the characteristics of low operating power consumption and long communication distance. It is now widely used in the coal mining industry. Due to the complex environment in the mine and the long communication distance from the ground, although LoRa wireless communication has the advantage of long communication distance, it still cannot meet the requirements of some special situations. To solve this problem, a wireless expansion module is usually added on the basis of LoRa wireless communication to increase the communication distance. The wireless transmission module is usually powered by a dry battery. After adding the wireless expansion module, the communication distance is improved, but the power consumption of wireless communication is also increased, which affects the service life of the dry battery. Utility Model Content
[0003] The utility model proposes a PLC wireless expansion module based on LoRa communication, which solves the problem of large power loss of wireless communication modules in related technologies.
[0004] The technical solution of the utility model is as follows:
[0005] A PLC wireless expansion module based on LoRa communication, comprising:
[0006] Data acquisition module, power supply module, controller, wireless transmission module;
[0007] The data acquisition module is connected to the controller, and the data acquisition module is used to collect mine environment parameters;
[0008] The power supply module provides working power for the controller, and a timer is provided inside the controller;
[0009] The power supply module is configured to supply power to the wireless transmission module when the timing time of the controller is reached;
[0010] The controller is communicatively connected with the monitoring terminal via a wireless transmission module.
[0011] Furthermore, the controller described in the present invention is a PLC controller.
[0012] Furthermore, the wireless transmission module in the present invention is a LoRa communication module.
[0013] Furthermore, the power supply module in the utility model includes a switch tube Q5, a diode D2, a capacitor C2, a trigger U1, a dry battery B1, a switch tube Q1, a switch tube Q3, a switch tube Q4 and a switch tube Q2;
[0014] The control end of the switch tube Q5 is connected to the controller, the first end of the switch tube Q5 is connected to the positive electrode of the dry battery B1, the second end of the switch tube Q5 is connected to the input end of the trigger U1, the control end of the switch tube Q5 is connected to the anode of the diode D2, the cathode of the diode D2 is grounded through the capacitor C2, the cathode of the diode D2 is connected to the clock end of the trigger U1, and the output end of the trigger U1 is connected to the control end of the switch tube Q4;
[0015] The first end of the switch tube Q1 is connected to the positive electrode of the dry battery B1, the negative electrode of the dry battery B1 is grounded, the second end of the switch tube Q1 is connected to the power supply end of the controller, the control end of the switch tube Q1 is connected to the first end of the switch tube Q3, the second end of the switch tube Q3 is grounded, and the control end of the switch tube Q3 is connected to the positive electrode of the dry battery B1;
[0016] The first end of the switch tube Q2 is connected to the positive electrode of the dry battery B1, the second end of the switch tube Q2 is connected to the power supply end of the wireless transmission module, the control end of the switch tube Q2 is grounded, the first end of the switch tube Q2 is connected to the first end of the switch tube Q4, and the second end of the switch tube Q4 is grounded.
[0017] Furthermore, the power supply module in the present invention also includes a resistor R3 and a resistor R4, the first end of the resistor R3 is connected to the positive electrode of the dry battery B1, the second end of the resistor R3 is grounded through the resistor R4, and the second end of the resistor R3 is connected to the controller.
[0018] Furthermore, the power supply module in the utility model also includes a relay K1 and a switch tube Q6, the control end of the switch tube Q6 is connected to the control end of the switch tube Q4, the first end of the switch tube Q6 is connected to the first input end of the relay K1, the second input end of the relay K1 is connected to the positive electrode of the dry battery B1, the second end of the switch tube Q6 is grounded, the normally open end of the relay K1 is connected to the data acquisition module, and the common end of the relay K1 is connected to the controller.
[0019] The working principle and beneficial effects of the utility model are:
[0020] In the utility model, the data acquisition module is used to collect data signals of the working environment of the mine, and is used to convert the detected data information into an electrical signal and send it to the controller, and the controller sends the electrical signal to the monitoring terminal through the wireless transmission module. Since the environment of coal mine production is relatively complex, for some occasions with relatively special environments, the communication distance of the wireless transmission module cannot meet the requirements. Therefore, it is necessary to add a wireless expansion module on the basis of the wireless transmission module to increase the communication distance, and at the same time, the power consumption of wireless communication is increased, which affects the service life of the dry battery. A timer is provided inside the controller. When working, when the control time set by the controller has not arrived, the power supply module only supplies power to the controller, and the data acquisition module and the controller are disconnected. At this time, the controller is in a static working mode. When the control time set inside the controller arrives, the controller sends an instruction to the power supply module. At this time, the power supply module connects the power supply end of the wireless transmission module, wakes up the wireless transmission module, and the wireless transmission module enters the working state. At the same time, the power supply module can control the data acquisition module to be connected with the controller. At this time, the data acquisition module can send the collected environmental data information to the controller in the form of an electrical signal, and then the controller sends the electrical signal to the monitoring terminal through the wireless communication unit. After the collection time is over, the controller sends an instruction to the power supply module again. After receiving the instruction signal, the power supply module stops supplying power to the wireless transmission module and disconnects the connection between the controller and the data collection module. Then, a collection cycle of the mine environment data ends. In actual work, the collection frequency can be set according to needs.
[0021] Therefore, in the utility model, the wireless transmission module will only be connected to the power supply module when transmitting mine environment data, otherwise the power supply module only provides power supply to the controller, reducing power loss and increasing the service life of the dry battery. At the same time, the controller is disconnected from the data acquisition module when the timing time of the controller has not arrived. In this way, when no data transmission is performed, the controller is in a static working mode, further reducing power loss. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] The utility model is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0023] Figure 1 This is a block diagram of a PLC wireless expansion module based on LoRa communication in the utility model;
[0024] Figure 2 This is a circuit diagram of the power supply module in the utility model. DETAILED DESCRIPTION
[0025] In order to enable those skilled in the art to better understand the present solution, the technical solution in the embodiments of the present solution will be clearly described below in conjunction with the drawings in the embodiments of the present solution. Obviously, the described embodiments are embodiments of a part of the present solution, not all embodiments. Based on the embodiments in the present solution, all other embodiments obtained by ordinary technicians in the field without creative work should fall within the scope of protection of the present solution.
[0026] The term "including" and any other variations in the specification and claims of this solution and the above drawings mean "including but not limited to", and is intended to cover non-exclusive inclusions and is not limited to the examples listed in the text. In addition, the terms "first" and "second" are used to distinguish different objects, not to describe a specific order.
[0027] Example 1
[0028] like Figure 1 As shown, this embodiment proposes a PLC wireless expansion module based on LoRa communication, including: a data acquisition module, a power supply module, a controller, and a wireless transmission module; the data acquisition module is connected to the controller, and the data acquisition module is used to collect mine environmental parameters; the power supply module provides working power for the controller, and a timer is provided inside the controller; the power supply module is configured to power the wireless transmission module when the timing time of the controller is reached; the controller is connected to the monitoring terminal through the wireless transmission module.
[0029] The underground environment of the mine is special, and the mining process is often accompanied by toxic and harmful gases. Therefore, it is necessary to detect the environment in the mine during the collection process to avoid danger. In this embodiment, the data acquisition module is used to collect gas concentration data, temperature and humidity data, coal dust concentration data, ventilation conditions, etc., and is used to convert the detected data information into an electrical signal and send it to the controller. The controller sends the electrical signal to the monitoring terminal through the wireless transmission module. A PLC controller is used as the controller in this embodiment, and a LoRa communication module is used as the wireless transmission module in this embodiment. The wireless transmission module includes a wireless expansion module. Because LoRa wireless communication has the characteristics of low operating power consumption and long communication distance, it is more suitable for signal transmission in the mine environment. However, due to the complex environment of coal mine production, for some special occasions, the communication distance of the LoRa communication module still cannot meet the requirements. Therefore, it is necessary to add a wireless expansion module on the basis of the LoRa communication module to increase the communication distance. The LoRa communication module is usually powered by a dry battery. The communication distance is improved after adding the wireless expansion module, and the power consumption of wireless communication is also increased, which affects the service life of the dry battery.
[0030] There is a timer inside the controller. When the control time set by the controller has not been reached, the power supply module only supplies power to the controller, and the data acquisition module and the controller are disconnected. At this time, the controller is in a static working mode. When the control time set inside the controller is reached, the controller sends a command to the power supply module. At this time, the power supply module connects to the power supply end of the wireless transmission module, wakes up the wireless transmission module, and the wireless transmission module enters the working state. At the same time, the power supply module can control the data acquisition module to connect with the controller. At this time, the data acquisition module can send the collected environmental data information to the controller in the form of an electrical signal, and then the controller sends the electrical signal to the monitoring terminal through the wireless communication unit. After the collection time is over, the controller sends a command to the power supply module again. After receiving the command signal, the power supply module stops supplying power to the wireless transmission module and disconnects the connection between the controller and the data acquisition module. Then a collection cycle of the mine environmental data ends. The collection frequency can be set according to demand in actual work.
[0031] Therefore, in this embodiment, the wireless transmission module will only be connected to the power supply module when transmitting mine environment data. Otherwise, the power supply module only provides power supply to the controller, reducing power loss and increasing the service life of the dry battery. At the same time, the controller is disconnected from the data acquisition module when the timing of the controller has not expired. In this way, when no data transmission is performed, the controller is in a static working mode, further reducing power loss.
[0032] like Figure 2 As shown, in this embodiment, the power supply module includes a switch tube Q5, a diode D2, a capacitor C2, a trigger U1, a dry battery B1, a switch tube Q1, a switch tube Q3, a switch tube Q4 and a switch tube Q2; the control end of the switch tube Q5 is connected to the controller, the first end of the switch tube Q5 is connected to the positive electrode of the dry battery B1, the second end of the switch tube Q5 is connected to the input end of the trigger U1, the control end of the switch tube Q5 is connected to the anode of the diode D2, the cathode of the diode D2 is grounded through the capacitor C2, the cathode of the diode D2 is connected to the clock end of the trigger U1, and the output end of the trigger U1 is connected to the switch tube Q 4; the first end of the switch tube Q1 is connected to the positive electrode of the dry battery B1, the negative electrode of the dry battery B1 is grounded, the second end of the switch tube Q1 is connected to the power supply end of the controller, the control end of the switch tube Q1 is connected to the first end of the switch tube Q3, the second end of the switch tube Q3 is grounded, and the control end of the switch tube Q3 is connected to the positive electrode of the dry battery B1; the first end of the switch tube Q2 is connected to the positive electrode of the dry battery B1, the second end of the switch tube Q2 is connected to the power supply end of the wireless transmission module, the control end of the switch tube Q2 is grounded, the first end of the switch tube Q2 is connected to the first end of the switch tube Q4, and the second end of the switch tube Q4 is grounded.
[0033] The working principle of the power supply module is as follows: when the timing time of the internal timer of the controller has not arrived, the controller outputs a low-level signal to the control end of the switch tube Q5, and the switch tube Q5 is turned off. In this embodiment, a D flip-flop is used as the trigger U1. At this time, the clock end of the trigger U1 is at a low level, the output of the trigger U1 is at a low level, the switch tube Q4 is turned off, and the switch tube Q2 is also turned off, so the wireless transmission module is powered off. The positive pole of the dry battery B1 is connected to the control end of the switch tube Q3, the switch tube Q3 is turned on, the control end of the switch tube Q1 is at a low level, and the switch tube Q1 is turned on. Therefore, the dry battery B1 is connected to the power supply end of the controller after the switch tube Q1. At this time, the dry battery B1 only supplies power to the controller.
[0034] When the timing time of the internal timer of the controller arrives, the controller sends a high-level signal to the control end of the switch tube Q5. The high-level signal is added to the clock end of the trigger U1 after passing through the diode D2, and the capacitor C2 is charged at the same time. At the same time, the switch tube Q5 is turned on, and the input end of the trigger U1 is high level. Therefore, the trigger U1 outputs a high level. The high-level signal is added to the control end of the switch tube Q4, and the switch tube Q4 is turned on. The dry battery B1 is added to the control end of the switch tube Q2 through the switch tube Q4, and the switch tube Q2 is also turned on. At this time, in addition to supplying power to the controller, the dry battery B1 also provides working power for the wireless transmission module through the switch tube Q2. Then the wireless transmission module enters the working state, and the controller communicates with the monitoring terminal through the wireless transmission module to complete the transmission of the mine environment data signal. When the acquisition time is over, the controller outputs a low-level signal, the switch tube Q5 is turned off, and the input end of the trigger U1 becomes a low level. Due to the existence of capacitor C2, the clock end of the trigger U1 will not immediately become a low level, so the output end of the trigger U1 becomes a low-level signal, the switch tube Q4 is turned off, and the wireless transmission module is powered off and stops working. After the capacitor C2 is discharged, the clock end of the trigger U1 becomes a low level, and then waits for the arrival of the next acquisition cycle.
[0035] like Figure 2 As shown, the power supply module in this embodiment also includes a resistor R3 and a resistor R4, a first end of the resistor R3 is connected to the positive electrode of the dry cell B1, a second end of the resistor R3 is grounded through the resistor R4, and a second end of the resistor R3 is connected to the controller.
[0036] When the dry battery B1 is low on power, the dry battery should be replaced in time to avoid affecting the normal collection of mine environment data. Therefore, in this embodiment, a power monitoring circuit is added to monitor the remaining power of the dry battery B1. The power monitoring circuit is composed of resistors R3 and R4. Resistors R3 and R4 form a voltage divider circuit. The voltage on resistor R4 is taken as the sampling voltage. When the power of the dry battery B1 is lower than the set value, the controller will also send a high level to the control end of the switch tube Q5, and then transmit the remaining power of the dry battery B1 to the monitoring terminal to notify the staff to replace the battery.
[0037] like Figure 2 As shown, in this embodiment, the power supply module also includes a relay K1 and a switch tube Q6, the control end of the switch tube Q6 is connected to the control end of the switch tube Q4, the first end of the switch tube Q6 is connected to the first input end of the relay K1, the second input end of the relay K1 is connected to the positive electrode of the dry battery B1, the second end of the switch tube Q6 is grounded, the normally open end of the relay K1 is connected to the data acquisition module, and the common end of the relay K1 is connected to the controller.
[0038] In this embodiment, when the timing time of the internal timer of the controller has not arrived, the output end of the trigger U1 is at a low level, the switch tube Q6 is turned off, and the relay K1 does not operate. Therefore, the data acquisition module and the controller are disconnected. At this time, the controller cannot receive the electrical signal output by the data acquisition module; when the timing time of the internal timer of the controller arrives, the trigger U1 outputs a high level, the wireless transmission module is powered on and enters the working state, and at the same time, the switch tube Q6 is turned on, and the relay K1 is energized and closed. At this time, the common end of the relay K1 is connected to the normally open end of the relay K1, that is, the controller starts to receive the data information of the data acquisition module, and then sends the collected data information to the monitoring terminal through the wireless transmission module.
[0039] The above embodiments are only used to illustrate the technical solutions of the present disclosure, rather than to limit them. Although the present disclosure has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present disclosure.
Claims
1. A PLC wireless expansion module based on LoRa communication, characterized in that: include: Data acquisition module, power supply module, controller, wireless transmission module; The data acquisition module is connected to the controller, and the data acquisition module is used to collect mine environment parameters; The power supply module provides working power for the controller, and a timer is provided inside the controller; The power supply module is configured to supply power to the wireless transmission module when the timing time of the controller is reached; The controller is communicatively connected with the monitoring terminal via a wireless transmission module.
2. A PLC wireless expansion module based on LoRa communication according to claim 1, characterized in that: The controller is a PLC controller.
3. A PLC wireless expansion module based on LoRa communication according to claim 1, characterized in that: The wireless transmission module is a LoRa communication module.
4. A PLC wireless expansion module based on LoRa communication according to claim 1, characterized in that: The power supply module includes a switch tube Q5, a diode D2, a capacitor C2, a trigger U1, a dry battery B1, a switch tube Q1, a switch tube Q3, a switch tube Q4 and a switch tube Q2; The control end of the switch tube Q5 is connected to the controller, the first end of the switch tube Q5 is connected to the positive electrode of the dry battery B1, the second end of the switch tube Q5 is connected to the input end of the trigger U1, the control end of the switch tube Q5 is connected to the anode of the diode D2, the cathode of the diode D2 is grounded through the capacitor C2, the cathode of the diode D2 is connected to the clock end of the trigger U1, and the output end of the trigger U1 is connected to the control end of the switch tube Q4; The first end of the switch tube Q1 is connected to the positive electrode of the dry battery B1, the negative electrode of the dry battery B1 is grounded, the second end of the switch tube Q1 is connected to the power supply end of the controller, the control end of the switch tube Q1 is connected to the first end of the switch tube Q3, the second end of the switch tube Q3 is grounded, and the control end of the switch tube Q3 is connected to the positive electrode of the dry battery B1; The first end of the switch tube Q2 is connected to the positive electrode of the dry battery B1, the second end of the switch tube Q2 is connected to the power supply end of the wireless transmission module, the control end of the switch tube Q2 is grounded, the first end of the switch tube Q2 is connected to the first end of the switch tube Q4, and the second end of the switch tube Q4 is grounded.
5. A PLC wireless expansion module based on LoRa communication according to claim 4, characterized in that: The power supply module further includes a resistor R3 and a resistor R4, wherein a first end of the resistor R3 is connected to the positive electrode of the dry cell B1, a second end of the resistor R3 is grounded via the resistor R4, and a second end of the resistor R3 is connected to the controller.
6. A PLC wireless expansion module based on LoRa communication according to claim 4, characterized in that: The power supply module also includes a relay K1 and a switch tube Q6, the control end of the switch tube Q6 is connected to the control end of the switch tube Q4, the first end of the switch tube Q6 is connected to the first input end of the relay K1, the second input end of the relay K1 is connected to the positive electrode of the dry battery B1, the second end of the switch tube Q6 is grounded, the normally open end of the relay K1 is connected to the data acquisition module, and the common end of the relay K1 is connected to the controller.
