<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Research on Intelligent Alarm Garbage Processing System Based on Internet of Things 1</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Xiaotong Zhao</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Song Jia</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Xiaoxia Yang</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Chengming Zhang</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Hui Wang</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>China Unicom Tai'an Branch</institution>
          ,
          <addr-line>Taian City Shandong Province</addr-line>
          ,
          <country country="CN">China</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Shandong Agricultural University College of Information Science and Engineering</institution>
          ,
          <addr-line>Taian City Shandong Province</addr-line>
          ,
          <country country="CN">China</country>
        </aff>
      </contrib-group>
      <fpage>40</fpage>
      <lpage>45</lpage>
      <abstract>
        <p>The Internet of Things is the use of sensing technologies to obtain various parameters of objects, environmental information, and back-end data analysis and processing through various wireless communication technologies to enable intelligent control of the real world[1]. At the core of IoT is connecting objects to the network. The future of the Internet of Things is an artificial intelligence that perceives life and makes decisions about actions. It can integrate blockchain, artificial intelligence[2], wearable devices, robotics, augmented reality, autonomous driving, vehicular networking[3], drones and other technologies. As people's perceptions of fire safety have improved, fire accident detection and alarm technologies are gaining more attention. A set of smart garbage alarm processing systems based on the Internet of Things has been designed to address the problem of spontaneous combustion in garbage cans that cannot be extinguished in time and cause fires. The system is based on sensor detection technology, under the control of STM32 microcontroller control system, combined with LoRa communication technology[4] and GPS positioning technology, to achieve remote automatic alarm function[5]. This research on such a system has enabled intelligent alarm processing techniques based on the Internet of Things that can accurately and timely warn of fires and can be used for garbage can alarms in communities and other public places. It is a new type of Internet of Things-based fire alarm technology that can be used in garbage alarm systems in public places.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;Internet of Things</kwd>
        <kwd>sensor</kwd>
        <kwd>Real-time monitoring</kwd>
        <kwd>single chip microcomputer</kwd>
        <kwd>GPS</kwd>
        <kwd>LoRa</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1 Introduction</title>
      <p>From the perspective of today 's social environment, there are some people who put unextinguished
cigarette butts and other items with Mars into the garbage can, causing the spontaneous combustion of
the garbage can, leading to the occurrence of fires and other problems, which brings great pressure to
the urban environment and safety assurance. Therefore, the design of an intelligent garbage alarm
system has become an urgent problem that needs to be addressed. This design takes STM32 single chip
microcomputer as the leading controller, and realizes the smoke and temperature measurement of the
garbage can by means of smoke sensor and temperature sensor. When the collected data information
exceeds the set threshold, the sound and light alarm immediately works to realize the close alarm
processing. At the same time, the information is sent through the LoRa module, so that the staff can
immediately grasp the current situation of the garbage can, so as to take certain effective measures, and
then complete the function of intelligent alarm. The system can be applied to community fire alarm
systems with the advantages of simplicity of construction, low cost and high stability.</p>
      <p>
        At present, Bu Y[
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] and others have realized a fire alarm system based on 51 single chip
microcomputer, through the setting of sensors and single chip microcomputers, when the smoke
concentration and temperature of environmental reach a certain threshold, it will be fed back to the fire
      </p>
      <sec id="sec-1-1">
        <title>Transmission distance</title>
      </sec>
      <sec id="sec-1-2">
        <title>Transmission speed</title>
        <p>
          Frequency range
2 Research content
protection system, which solves the fire alarm system in fixed places. However, due to the lack of
positioning devices, it cannot be applied to moving items such as garbage cans. Xu B[
          <xref ref-type="bibr" rid="ref7">7</xref>
          ]and others have
realized a fire alarm system based on ZigBee technology, using ZigBee technology to send and receive
fire information, but Zigbee technology is far less than LoRa in terms of wireless transmission distance
and wireless penetration ability. See Table 1 for specific performance comparisons. Compared with
similar devices, the system has realized multi-function, intelligence and automation, combined with the
current situation of the product market, not only the equipment cost is low, but also can achieve the
effect of timely alarm and timely treatment.
        </p>
        <p>The research of intelligent alarm garbage processing system based on Internet of Things mainly
includes the research of real-time monitoring system, GPS positioning system, communication system,
single chip microcomputer control system and mobile terminal function.</p>
      </sec>
    </sec>
    <sec id="sec-2">
      <title>2.1 Real-time monitoring module</title>
      <p>The research of real-time monitoring module mainly includes the research of real-time monitoring
of smoke concentration and real-time monitoring of temperature. The module is combined with the
ground sensor network to comprehensively analyze the running condition and status of the equipment,
so as to realize the function of real-time monitoring. For the development of this module can promote
cloud computing, big data and other new generation of information technology applied to fire safety
work, which is conducive to the realization of fire rescue and fire prevention of scientific, accurate,
improve the fire safety equipment monitoring system intelligence and automation level. The real-time
monitoring and intelligent early-warning system is connected with the fire control remote monitoring
platform, so as to further study the implementation scheme of data fusion technology to realize
realtime monitoring and information transmission.
2.2</p>
    </sec>
    <sec id="sec-3">
      <title>GPS positioning module</title>
      <p>The research of GPS positioning module mainly includes the research of automatic navigation
system for GPS positioning, including position analysis, real-time positioning management and precise
navigation of GPS positioning information, and how to ensure the accuracy of positioning on the basis
of positioning. In addition, it is necessary to realize the path planning of the receiving position and the
sending position, such as the combination of vehicle information service and positioning tracking
service in smart city and smart countryside, tracking management in logistics, accurate positioning in
agriculture, real-time monitoring of geological disasters and meteorological conditions.
2.3</p>
    </sec>
    <sec id="sec-4">
      <title>Communication module</title>
      <p>The research and application of the communication module mainly includes how to intelligently
process and reliably transmit the information such as smoke concentration and temperature in the
garbage can, and send it to the remote terminal in low power consumption, long distance and in time.
The staff of the remote fire monitoring platform can predict and process the data transmitted by the
communication module to realize intelligent monitoring and timely control, so as to ensure the accuracy,
high efficiency and reliability of information transmission.
2.4</p>
    </sec>
    <sec id="sec-5">
      <title>Single Chip Microcomputer control module</title>
      <p>The research and application of single chip microcomputer control module mainly include overall
perception, intelligent processing and reliable transmission. The branch transfer ability, logical
operation of I/O port and position processing ability of alarm system are realized. While integrating
resources, setting functions and initializing modules of the whole system, the whole peripheral circuit
is controlled to make each system module run smoothly and efficiently. Real-time monitoring and
intelligent control can be achieved through the above application while utilizing smoke and temperature
sensors.
2.5</p>
    </sec>
    <sec id="sec-6">
      <title>Mobile intelligent terminal module</title>
      <p>The research and application of mobile intelligent terminal module mainly include how to realize
the monitoring of remote equipment through the software design of the received information, so as to
ensure the safety and high efficiency of garbage can alarm. Mobile intelligent terminal module
integrates smoke concentration display, temperature information display, alarm reminder, docking
remote fire platform and other functions to ensure the normal operation of the system.</p>
    </sec>
    <sec id="sec-7">
      <title>3 System principle</title>
      <p>The intelligent alarm garbage processing system based on the Internet of Things uses smoke and
temperature sensors to monitor the garbage in the garbage can in real time, so as to avoid the occurrence
of fire caused by the spontaneous combustion of the garbage can. The project is based on real-time
monitoring technology, using positioning technology and communication technology to achieve the
effect of timely alarm. In order to ensure the performance of the system, the power supply part of the
system adopts AC step-down, and supplies power to the system through voltage stabilization,
rectification and filtering. See Figure 1 for a schematic diagram of this system.</p>
      <sec id="sec-7-1">
        <title>The schematic representation of the system.</title>
        <p>
          Real-time monitoring module includes smoke concentration detection module and temperature
monitoring module. The photoelectric smoke sensor is used in the smoke concentration detection
module. The function of the photoelectric smoke sensor is to realize the fire prevention function by
detecting the concentration of smoke in the environment. It is an advanced, stable and reliable sensor.
It has also been widely used in various fire alarm systems, including public places, smart homes. The
performance is far superior to most of the gas-sensitive resistance fire alarm sensors. This temperature
detection module adopts DS18B20 temperature sensor[
          <xref ref-type="bibr" rid="ref8">8</xref>
          ]. This sensor outputs digital signals and is
characterized by low overhead, high accuracy, small size and strong anti-jamming capability. Under the
premise of setting the smoke concentration and temperature threshold by the single chip microcomputer,
the photoelectric smoke sensor and the DS18B20 temperature sensor are detected in real time. Once the
preset threshold is reached or exceeded, the alarm is sent to the single chip microcomputer and the
smoke concentration and temperature information are sent.
        </p>
        <p>LoRa communication module is adopted in the communication module. LoRa is a long-distance
radio, which is a low-power, LAN wireless standard, and also a modulation method based on spread
spectrum. The corresponding sensitivities of different spreading factors are shown in Table 2.</p>
        <p>LoRa modulation signal usually adopts rising linear frequency modulation, and its frequency
function is expressed as a piecewise function in a signal period. The LoRa signal frequency function
can be expressed as:</p>
        <p>, 
, 0</p>
        <p />
        <p>In the formula: f (t) is the signal frequency function; t is the effective duration of the signal; µ&gt;0
represents rising linear frequency modulation; f0 is the initial frequency after modulation; B is the LoRa
signal bandwidth. The time-varying frequency of the LoRa signal corresponding to the formula is
shown in Figure 2.</p>
      </sec>
      <sec id="sec-7-2">
        <title>LoRa signal frequency change diagram.</title>
        <p>Under the same power consumption condition, it can spread farther than other wireless methods,
which is its biggest feature. It achieves both low power consumption and long-distance transmission. It
can expand the distance by 3-5 times compared with other traditional radio frequency communication
under the same power consumption. Under the control of the single chip microcomputer, the LoRa
transmitter sends the information in the garbage can, including smoke concentration information,
temperature information, and location information, to the remote mobile terminal in time for remote
alarm and early treatment of the spontaneous combustion of the garbage can.</p>
        <p>The positioning module uses GPS positioning device, which is a kind of radio frequency chip module
integrated in the motherboard. It can communicate with the global positioning system of the United
States and realize positioning and navigation functions without consuming traffic. Moreover, the
manufacturer of GPS chip has signed an agreement with the operator. All devices equipped with GPS
modules can communicate with GPS synchronous satellites anywhere, anytime, and for free.</p>
        <p>
          The single chip microcomputer control module uses STM32 MCU[
          <xref ref-type="bibr" rid="ref9">9</xref>
          ], which is a powerful and
costeffective single chip microcomputer, and has a good performance in power consumption and integration.
The STM32 single chip microcomputer control module includes setting the alarm threshold of the
photoelectric smoke sensor and the DS18B20 temperature sensor, controlling the GPS positioning
module to obtain the position information, and sending the smoke concentration information,
temperature information and position information through the transmitter of the LoRa communication
module to the remote mobile terminal for remote alarm. At the same time, the module is also equipped
with a sound and light alarm, after receiving smoke, temperature and other alarm information,
immediately send out sound and light signals for close alarm.
        </p>
        <p>The mobile intelligent terminal module mainly receives alarm information such as smoke and
temperature on the mobile terminal, and connects with the fire remote monitoring platform. The
information sensed by the sensor is sent to the mobile intelligent terminal of the staff through the LoRa
transmitter under the control of the single chip microcomputer control module, and the staff is reminded
in time, so that the staff can receive the smoke and temperature information in time and make the
corresponding processing strategy, so as to carry out timely fire extinguishing and avoid the happening
of the fire to bring unnecessary security hidden danger.</p>
      </sec>
    </sec>
    <sec id="sec-8">
      <title>4 Hardware design of the system</title>
      <p>The hardware part of the system circuit consists of several circuits: smoke, temperature sensor circuit,
STM32 single chip microcomputer control circuit, GPS positioning module circuit, LoRa
communication module circuit. In order to facilitate circuit design, the output signals of various sensors
are relay on-off signal. The LoRa module is connected to the microcontroller via a UART
communication serial port. (UART is a full-duplex, asynchronous, serial communication protocol,
which is widely used in the field of embedded technology.)</p>
      <p>The microcontroller of the system adopts STM32 microcontroller, which has the characteristics of
high performance, low cost and low power consumption, and is suitable for embedded development.
The hardware of the system uses the wiring principle of double-layer boards, and most of the
components are packaged in SMD (Surface Mounted Devices) patches to reduce the volume of the PCB
board. Because the system involves some RF circuits, in order to enhance the electromagnetic
compatibility of the system, the digital circuit part and the radio-frequency circuit part are isolated
during PCB layout.</p>
    </sec>
    <sec id="sec-9">
      <title>5 Software design of the system</title>
      <p>The main function module of the intelligent alarm garbage processing system software based on the
Internet of Things is to initialize each module through the remote mobile terminal control single chip
microcomputer. Among them, the real-time monitoring module is used to initialize the smoke
concentration sensor and temperature sensor and determine the threshold to complete the information
monitoring function; the communication module is used to initialize the LoRa transmitter and receiver
to complete the information transmission function; the positioning module is used to initialize the GPS
locator to complete the positioning and navigation functions, ensuring real-time and accuracy. The
mobile terminal module is used to realize the real-time monitoring of the device and the operation of
various practical functions through smart mobile terminals such as mobile phones to ensure the efficient
operation and safe use of each function.</p>
    </sec>
    <sec id="sec-10">
      <title>6 Experimental analysis</title>
      <p>In order to verify the accuracy and timeliness of the alarm system in this paper, the experimental
object is selected in a community, and the ZigBee alarm system is selected for comparative analysis
with the alarm system. Among them, the lower limits of the smoke concentration features for the fire
alarm, temperature alarm threshold and other systems are 25 percent, 25 percent and 5 percent,
respectively, and the smoke, temperature alarm limit is 1 percent. The experimental results are shown
in Table 3.</p>
      <p>Table 3 Comparison of alarm time and accuracy of two systems.</p>
      <sec id="sec-10-1">
        <title>ZigBee alarm system This alarm system</title>
        <p>check</p>
        <p>Alarm Alarm
point Accuracy/% Accuracy/%</p>
        <p>time/s time/s
1 6.9 88 2.3 93
2 5.6 90 1.9 96
3 5.8 82 2.4 92
4 6.7 85 2.6 95
5 6.2 87 1.2 94
6 6.2 80 2.5 97</p>
        <p>As can be seen from Table 3, the detection time of different detection points of smoke concentration
in the area is significantly lower than that of the ZigBee alarm system. Among them, the alarm time of
this alarm system is 3 to 5 s faster compared to the ZigBee type. In Table, the detection accuracy of this
alarm system is 5 to 10 percent higher than that of the ZigBee type automatic alarm system, indicating
that the system can accurately detect the garbage fire situation and achieve timely and accurate alarm.</p>
      </sec>
    </sec>
    <sec id="sec-11">
      <title>7 Conclusion</title>
      <p>The system makes full use of the information transfer between the sensing layer, the network layer
and the application layer using IoT technology. Combined with the demand for such products in today
's society, the system meets the needs of the construction trash can alarm system. It enables real-time
monitoring of the spontaneous combustion of garbage cans and automatic remote alarm functions, and
can fully exploit the role of intelligence and automation. It can be alerted in a timely manner and dealt
with in a timely manner, so as to avoid as much as possible the occurrence of fires caused by
spontaneous combustion of garbage bins, thus reducing financial losses, avoiding casualties and
protecting the living environment.</p>
    </sec>
    <sec id="sec-12">
      <title>8 References</title>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <surname>Xu</surname>
            <given-names>Y</given-names>
          </string-name>
          and
          <string-name>
            <surname>Wang</surname>
            <given-names>Y 2020</given-names>
          </string-name>
          <article-title>Design and research on intelligent control system of intelligent agriculture based on internet of things</article-title>
          .
          <source>J. Agriculture of Henan</source>
          ,
          <year>2020</year>
          (
          <volume>20</volume>
          ) :
          <fpage>63</fpage>
          -
          <lpage>64</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <surname>Ye</surname>
            <given-names>N 2021</given-names>
          </string-name>
          <article-title>Research on intelligent baggage security check system based on internet of things and artificial intelligence technology</article-title>
          .
          <source>J. Wireless Internet Technology</source>
          ,
          <volume>18</volume>
          (
          <issue>04</issue>
          ):
          <fpage>16</fpage>
          -
          <lpage>17</lpage>
          +
          <fpage>60</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <surname>Xiong</surname>
            <given-names>F</given-names>
          </string-name>
          and
          <string-name>
            <surname>Mei G 2022</surname>
          </string-name>
          <article-title>Application of space-based internet of things in vehicle networking</article-title>
          .
          <source>J. Digital Communication World</source>
          ,
          <year>2022</year>
          (
          <volume>04</volume>
          ):
          <fpage>72</fpage>
          -
          <lpage>74</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <surname>Qi</surname>
            <given-names>B</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hu</surname>
            <given-names>B</given-names>
          </string-name>
          and
          <string-name>
            <surname>Wang</surname>
            <given-names>X 2021</given-names>
          </string-name>
          <article-title>Design of wireless fire alarm system based on lora and gprs</article-title>
          .
          <source>J. Fire Science and Technology</source>
          ,
          <volume>40</volume>
          (
          <issue>02</issue>
          ):
          <fpage>242</fpage>
          -
          <lpage>245</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <surname>Ruan</surname>
            <given-names>C</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Li</surname>
            <given-names>Q</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zeng</surname>
            <given-names>D</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Yang</surname>
            <given-names>J</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Li</surname>
            <given-names>Q</given-names>
          </string-name>
          and
          <string-name>
            <surname>Wu</surname>
            <given-names>H 2021</given-names>
          </string-name>
          <article-title>Design and implementation of intelligent smoke alarm control system J</article-title>
          .
          <source>Journal of Heilongjiang University of Technology(Comprehensive Edition)</source>
          ,
          <volume>21</volume>
          (
          <issue>09</issue>
          ):
          <fpage>48</fpage>
          -
          <lpage>53</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <surname>Bu</surname>
            <given-names>Y</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Guo</surname>
            <given-names>J</given-names>
          </string-name>
          and
          <string-name>
            <surname>Liu</surname>
            <given-names>H 2021</given-names>
          </string-name>
          <article-title>Design and implementation of intelligent fire alarm system based on 51 mcu</article-title>
          .J. Journal of Qilu University of Technology,
          <volume>35</volume>
          (
          <issue>04</issue>
          ):
          <fpage>53</fpage>
          -
          <lpage>58</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <surname>Xu</surname>
            <given-names>B</given-names>
          </string-name>
          and
          <string-name>
            <surname>Wei L 2022</surname>
          </string-name>
          <article-title>Design of fire alarm system for distribution low-voltage electrical appliances based on zigbee technology</article-title>
          .
          <source>J. Electrical Appliances</source>
          ,
          <year>2022</year>
          (
          <volume>07</volume>
          ):
          <fpage>47</fpage>
          -
          <lpage>50</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <surname>Jia</surname>
            <given-names>H 2021</given-names>
          </string-name>
          <article-title>Design of intelligent temperature measurement system based on ds18b20</article-title>
          .
          <source>J. Computer Knowledge and Technology</source>
          ,
          <volume>17</volume>
          (
          <issue>09</issue>
          ):
          <fpage>251</fpage>
          -
          <lpage>252</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <surname>Zhu</surname>
            <given-names>S</given-names>
          </string-name>
          and
          <string-name>
            <surname>Liang</surname>
            <given-names>J 2021</given-names>
          </string-name>
          <article-title>Design of narrowband internet of things oven based on stm32</article-title>
          .
          <source>J. Computing Technology and Automation</source>
          ,
          <volume>40</volume>
          (
          <issue>02</issue>
          ):
          <fpage>25</fpage>
          -
          <lpage>30</lpage>
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>