CN115951608A - Data acquisition equipment and system - Google Patents

Data acquisition equipment and system Download PDF

Info

Publication number
CN115951608A
CN115951608A CN202211697623.XA CN202211697623A CN115951608A CN 115951608 A CN115951608 A CN 115951608A CN 202211697623 A CN202211697623 A CN 202211697623A CN 115951608 A CN115951608 A CN 115951608A
Authority
CN
China
Prior art keywords
module
power supply
chip microcomputer
communication module
single chip
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211697623.XA
Other languages
Chinese (zh)
Inventor
李鑫
任志超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Longxin Zhongke Taiyuan Technology Co ltd
Original Assignee
Longxin Zhongke Taiyuan Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Longxin Zhongke Taiyuan Technology Co ltd filed Critical Longxin Zhongke Taiyuan Technology Co ltd
Priority to CN202211697623.XA priority Critical patent/CN115951608A/en
Publication of CN115951608A publication Critical patent/CN115951608A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

An embodiment of the present invention provides a data acquisition device, including: the device comprises a communication module, a sensor module, a singlechip and a power supply control module; the power supply control module is used for converting the power supply voltage into target voltages matched with the connected target components respectively and providing the target voltages for the target components respectively; the sensor module is used for acquiring environmental information and transmitting the environmental information to the single chip microcomputer; the singlechip is used for processing the environmental information and sending the processed environmental information to the communication module; and the communication module is used for submitting the environment information processed by the singlechip to a gateway in an external system. In the embodiment of the invention, the communication module, the singlechip or the sensor module are independently powered, so that the power supply of each module is not influenced mutually, and the running reliability of each module is ensured. Meanwhile, the singlechip is isolated from other modules in a power supply manner, so that the condition that the actual use performance of the singlechip is influenced due to unstable power supply of other modules is avoided.

Description

Data acquisition equipment and system
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a data acquisition device and a data acquisition system.
Background
Currently, in the field of internet of things communication, a plurality of modules, such as a communication module, a sensor module, a processor module, and the like, are often involved for data transmission and data acquisition.
In the prior art, in the actual use process, a group of power supplies are often used for supplying power to the plurality of modules, but in the power supply mode, in the power supply process of the communication module or the sensor module, unstable power supply of the processor module (such as a singlechip) is easy to occur due to voltage fluctuation, and the performance of the processor module (such as the singlechip) is influenced.
Disclosure of Invention
In view of the above, embodiments of the present invention have been developed to provide a data acquisition apparatus that overcomes or at least partially solves the above-mentioned problems to avoid the situation where the processor module is powered unstably.
Correspondingly, the embodiment of the invention also provides a data acquisition system, which comprises one or more data acquisition devices.
In order to solve the above problem, an embodiment of the present invention discloses a data acquisition device, which is characterized by including: the sensor comprises a communication module, a sensor module and a single chip microcomputer which is respectively connected with the sensor module and the communication module, wherein the communication module, the single chip microcomputer and the sensor module are respectively connected with a power supply control module;
the power supply control module is used for respectively converting power supply voltage into target voltage matched with the connected target components and respectively providing the target voltage for the target components; the target component is the communication module, the single chip microcomputer or the sensor module;
the sensor module is used for acquiring environmental information and transmitting the environmental information to the single chip microcomputer;
the single chip microcomputer is used for processing the environmental information acquired by the sensor module and sending the processed environmental information to the communication module;
and the communication module is used for submitting the environment information processed by the singlechip to a gateway in an external system.
Optionally, the acquisition module further includes a dc voltage-stabilized power supply, a battery and a battery management chip, and the battery management chip is connected to the dc voltage-stabilized power supply and the battery;
the direct current stabilized voltage supply is used for directly outputting the power supply voltage to the power supply control module respectively;
and the battery management chip controls the battery to respectively output the power supply voltage to the power supply control module under the condition that the direct current stabilized voltage power supply has a fault.
Optionally, the power supply control module includes a linear regulator; the first end of the linear voltage stabilizer is connected with the target component, and the second end of the linear voltage stabilizer is respectively connected with the direct current voltage stabilizing power supply and the battery management chip;
the linear voltage stabilizer is used for converting the power supply voltage into the target voltage correspondingly adapted to the target component so as to supply power to the target component.
Optionally, the linear regulator comprises a controllable linear regulator; the third end of the controllable linear voltage stabilizer is connected with a control pin of the singlechip;
if the target component is the communication module or the sensor module, the controllable linear voltage regulator is used for outputting the target voltage correspondingly adapted to the target component under the condition that the control pin outputs an effective level signal, so that the target component is conducted with the single chip microcomputer.
Optionally, the sensor module includes a temperature and humidity detection module and an air quality detection module;
the temperature and humidity detection module is used for detecting temperature and humidity to obtain temperature and humidity data;
the temperature and humidity detection module is also used for transmitting data information corresponding to the temperature and humidity data to the single chip microcomputer;
the air quality detection module is used for detecting the local air quality to obtain air quality data;
the air quality detection module is also used for transmitting data information corresponding to the air quality data to the single chip microcomputer under the control of the switch module.
Optionally, the sensor module further includes at least one gas detection module and a switch module, and the switch module is respectively connected to the at least one gas detection module and the single chip microcomputer;
the gas detection module is used for detecting local gas to obtain gas data;
the gas detection module is also used for transmitting data information corresponding to the gas data to the single chip microcomputer.
Optionally, the communication module includes a long-distance wireless antenna;
the communication module is specifically configured to submit the environment information to the gateway based on the long-distance wireless antenna;
the gateway is used for receiving the environment information submitted by the communication module and uploading the environment information to a given cloud server;
and the cloud server is used for receiving and storing the environment information sent by the gateway.
Optionally, the collecting device further includes a plurality of dial switches;
the single chip microcomputer is also used for inquiring the current states corresponding to the dial switches respectively and determining the identity identification information corresponding to the acquisition equipment based on the current states of the dial switches;
the single chip microcomputer is further used for sending the identification information to the gateway based on the communication module so that the gateway can carry out identity verification on the acquisition equipment.
Optionally, the acquisition device further includes a memory chip, and the memory chip is connected to the single chip via a serial peripheral interface bus;
the storage chip is used for temporarily storing the environmental information.
The embodiment of the invention also discloses a data acquisition system which comprises one or more data acquisition devices.
The embodiment of the invention has the following advantages:
the data acquisition equipment provided by the embodiment of the invention comprises: the communication module, the singlechip and the sensor are respectively connected with a power supply control module; the power supply control module is used for respectively converting the power supply voltage into target voltages matched with the connected target components and respectively providing the target voltages for the target components; the target component is a communication module, a single chip microcomputer or a sensor module; the sensor module is used for acquiring environmental information and transmitting the environmental information to the singlechip; the singlechip is used for processing the environmental information acquired by the sensor module and sending the processed environmental information to the communication module; and the communication module is used for submitting the environment information processed by the singlechip to a gateway in an external system. In the embodiment of the invention, the power supply control module is respectively connected with the communication module, the singlechip or the sensor module, namely the communication module, the singlechip or the sensor module are respectively and correspondingly provided with the power supply control module for converting the power supply voltage into the target voltage, so that the communication module, the singlechip or the sensor module can be independently powered. Therefore, the communication module, the single chip microcomputer or the sensor module are independently powered, so that the power supply of each module is not influenced, and the operation reliability of each module is ensured. Meanwhile, the singlechip is isolated from other modules in a power supply mode, so that the situation that the actual use performance of the singlechip is influenced due to unstable power supply of other modules in the power supply mode is avoided.
Drawings
FIG. 1 is a block diagram of an embodiment of an acquisition device of the present invention;
FIG. 2 is a block diagram of another embodiment of the acquisition device of the present invention;
FIG. 3 is a schematic illustration of a connection according to the present invention;
FIG. 4 is a schematic diagram of a controllable linear regulator in accordance with the present invention;
FIG. 5 is a schematic diagram of another controllable linear regulator of the present invention;
FIG. 6 is a detailed schematic diagram of a switch module of the present invention;
FIG. 7 is a block diagram of a specific example of an acquisition device of the present invention;
FIG. 8 is a schematic diagram of a data acquisition system according to an exemplary embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention more comprehensible, the present invention is described in detail with reference to the accompanying drawings and the detailed description thereof.
Referring to fig. 1, a block diagram of an embodiment of an acquisition device of the present invention is shown.
The acquisition device includes: the sensor module comprises a communication module 101, a sensor module 102 and a single chip microcomputer 103 which is respectively connected with the sensor module 102 and the communication module 101, wherein the communication module 101, the single chip microcomputer 103 and the sensor module 102 are respectively connected with a power supply control module 104.
In the embodiment of the present invention, the acquisition device includes a communication module 101, a sensor module 102, and a single chip microcomputer 103, wherein the single chip microcomputer 103 is respectively connected to the communication module 101 and the sensor module 102, the communication module 101 may be connected to the single chip microcomputer 103 through a Universal Asynchronous Receiver/Transmitter (UART), and the communication module 101, the single chip microcomputer 103, and the sensor module 102 are all connected to a power control module 104.
The power control module 104 is configured to convert power voltages into target voltages adapted to the connected target components, and provide the target voltages to the target components; the target component is the communication module 101, the single chip microcomputer 103 or the sensor module 102.
In the embodiment of the present invention, the power voltage outputted by the power supply is converted into the target voltage by the power control module 104, wherein the power control module 104 may be a linear regulator, and the target voltage may be a voltage with a specified size adapted to a target component connected to the power control module 104. Illustratively, in the case that the target component is the communication module 101, the communication module 101 is connected to a power control module 104, the voltage magnitude adapted to the communication module 101 is 3.3V, and if the power voltage is 5V, the power control module 104 is configured to convert the 5V power voltage into 3.3V so as to adapt to the communication module 101, thereby supplying power to the communication module.
The sensor module 102 is configured to collect environmental information and transmit the environmental information to the single chip microcomputer 103.
In the embodiment of the present invention, the sensor module 102 is deployed in an environment where data acquisition is required, and the sensor module 102 is configured to detect local environment data, acquire environment information corresponding to the local environment data, and transmit the acquired environment information to the single chip microcomputer 103 based on an interface. The environmental information may be environmental data parameters of the measured object monitored by the sensor module, and the environmental data parameters are converted into electric signals or other information in a required form according to a certain rule.
Sensor module 102 may include pressure and force sensitive sensors, position sensors, fluid level sensors, energy consumption sensors, speed sensors, acceleration sensors, radiation sensors, thermal sensors, and the like, among others. Specifically, the sensor may be an air quality sensor, a temperature and humidity sensor, a smoke sensor, a natural gas sensor, a liquid level sensor, a vibration sensor, a displacement sensor, or the like. The application scenarios of the sensor module 102 may include scenarios such as factories, schools, and the like, which are not limited in the embodiment of the present invention.
The single chip microcomputer 103 is configured to process the environmental information collected by the sensor module, and send the processed environmental information to the communication module 101.
In the embodiment of the present invention, after receiving the environmental information transmitted by the sensor module 102 based on the interface, the single chip microcomputer 103 collects and arranges the environmental information, and transmits the arranged environmental information to the communication module 101 based on the communication protocol for subsequent transmission. The communication protocol may be an RS232 serial port communication protocol, and the single chip microcomputer 103 and the communication module 101 may perform data interaction based on the communication protocol.
The communication module 101 is configured to submit the environment information processed by the single chip to a gateway in an external system.
The communication module 101 may include a chip for performing communication and a communication antenna.
In the embodiment of the present invention, the communication module 101 receives the environment information sent by the single chip microcomputer 103 based on the communication protocol, and submits the environment information to the gateway in the external system through the communication antenna in the communication module 101. The gateway establishes connection with a communication antenna of a communication module in the acquisition equipment through an antenna in the gateway, communication is carried out based on a communication protocol, and the external system can be a data acquisition system.
Optionally, the communication module 101 is further configured to submit the environment information to the gateway in real time when receiving a data acquisition request sent by the gateway.
Or, the communication module 101 is further configured to submit the environment information to the gateway every time a preset time threshold is set.
In summary, the data acquisition device provided in the embodiment of the present invention includes: the communication module, the single chip microcomputer and the sensor are respectively connected with a power supply control module; the power supply control module is used for converting the power supply voltage into a target voltage matched with the connected target component and providing the target voltage for the target component; the target component is a communication module, a single chip microcomputer or a sensor module; the sensor module is used for acquiring environmental information and transmitting the environmental information to the single chip microcomputer; the singlechip is used for processing the environmental information and sending the processed environmental information to the communication module; and the communication module is used for submitting the environment information to a gateway in the data acquisition system. In the embodiment of the invention, the power supply control module is respectively connected with the communication module, the single chip microcomputer or the sensor module, namely the communication module, the single chip microcomputer or the sensor module are respectively and correspondingly provided with the power supply control module for converting the power supply voltage into the target voltage, so that the communication module, the single chip microcomputer or the sensor module can be independently powered. Therefore, the communication module, the single chip microcomputer or the sensor module are independently powered, so that the power supply of each module is not influenced mutually, and the running reliability of each module is ensured. Meanwhile, the singlechip is isolated from other modules in power supply, so that the condition that the actual use performance of the singlechip is influenced due to unstable power supply caused by power supply fluctuation of the singlechip due to power supply and power failure of other modules is avoided.
Optionally, fig. 2 shows a block diagram of another embodiment of the acquisition device of the present invention. As shown in fig. 2, the acquisition module further includes a regulated dc power supply 105, a battery 106, and a battery management chip 107, where the battery management chip 107 is connected to the regulated dc power supply 105 and the battery 106.
In the embodiment of the present invention, a switch may be disposed between the dc regulated power supply 105 and the battery management chip 107, and the switch is closed when the dc regulated power supply 105 is connected.
The dc voltage-stabilized power supply 105 is configured to directly output the power supply voltage to the power control module 104, so as to supply power to each target component through the power control module.
In the embodiment of the present invention, a dc regulated power supply 105 is used as a main power supply, and a power supply voltage is directly output to the power supply control module 104 to supply power to the communication module 101, the sensor module 102, and the single chip 103.
The battery management chip 107 is used for controlling the dc regulated power supply 105 to charge the battery 106.
In the embodiment of the invention, when the battery capacity is lower than the preset threshold, the battery management chip 107 controls the direct current stabilized voltage power supply 105 to charge the battery. For example, in the case that the battery management chip 107 detects that the charge level of the battery 106 is lower than the preset threshold, the dc regulated power supply 105 may be controlled to charge the battery 106 until the charge level of the battery 106 reaches the preset charge level.
The battery management chip 107 is further configured to control the battery 106 to output the power voltages to the power control module 104, respectively, in case of a fault of the dc regulated power supply 105.
In the embodiment of the present invention, the battery 106 is used as a power supply reserve means, and the battery 106 is normally in a standby state. Under the condition that the direct current stabilized power supply 105 has a fault, that is, under the condition that the direct current stabilized power supply 105 cannot output the power supply voltage, in order to ensure the normal operation of the acquisition equipment, the battery 106 is converted into a main power supply, the battery management chip 107 controls the battery 106, and the power supply voltage is output to the power supply control module 104 through the electric quantity in the battery 106 so as to supply power to the power supply control module 104.
Optionally, the working conditions of the direct current stabilized power supply and the battery can be indicated through an LED indicator lamp.
For example, fig. 3 shows a connection diagram in which a dc regulated power supply (not shown) may be connected to the battery 106 and the battery management chip 107. The power voltage output by the DC stabilized power supply is 5V voltage in FIG. 3.
In the embodiment of the invention, the power supply mode is dynamically managed by the battery management chip, the battery can be charged while the DC stabilized power supply preferentially uses the DC stabilized power supply to supply power when the DC stabilized power supply exists, and the battery is used to supply power when the DC stabilized power supply does not exist. Through two kinds of power supply modes of direct current constant voltage power supply and battery activestandby, not only guaranteed collection equipment's power supply stability, simultaneously under the condition of battery power loss, in time charge, improved the life of battery to a certain extent.
Optionally, the power supply control module includes a linear regulator; the first end of the linear voltage stabilizer is connected with the target assembly, and the second end of the linear voltage stabilizer is respectively connected with the direct current voltage stabilizing power supply and the battery management chip.
In the embodiment of the present invention, as shown in fig. 2, the power control module 104 may be a linear regulator, a first end of the linear regulator is connected to a communication module, a sensor module or a single chip (not shown in the figure), and a second end of the linear regulator is connected to the dc regulated power supply and the battery management chip, respectively.
The linear voltage stabilizer is used for converting the power supply voltage into the target voltage correspondingly adapted to the target component so as to supply power to the target component.
In the embodiment of the invention, the linear voltage stabilizer is used for converting the input power voltage into the target voltage and outputting the target voltage to the communication module, the sensor module or the singlechip so as to supply power to the communication module, the sensor module or the singlechip. The target voltage may be a voltage of a specified size correspondingly adapted to the target component, and the power supply voltage input to the linear regulator may be output by a dc regulated power supply or may be output by a battery.
In the embodiment of the invention, the power supply voltage is converted into the target voltage through the linear voltage stabilizer, and the power supply voltage can be converted into the target voltage so as to supply power to the target assembly. Because the linear voltage stabilizer has a simple structure, the cost can be reduced to a certain extent, and the stability of the circuit is improved by outputting the voltage with the specified size.
Optionally, the linear regulator comprises a controllable linear regulator; and the third end of the controllable linear voltage stabilizer is connected with a control pin of the singlechip.
In the embodiment of the invention, the controllable linear voltage stabilizer refers to a linear voltage stabilizer which can be controlled by a single chip microcomputer to be turned on or turned off through a control pin. The third end of the controllable linear voltage stabilizer is connected with a control pin of the single chip microcomputer, namely the first end of the controllable linear voltage stabilizer is connected with one communication module 101, one sensor module 102 or one single chip microcomputer 103 and used for supplying power to the one communication module 101, the one sensor module 102 or the one single chip microcomputer 103; the second end is respectively connected with a direct current stabilized voltage power supply 105 and a battery management chip 107 and is used for accessing power supply voltage; the third end is connected with a control pin of the singlechip and is used for controlling the switch of the controllable linear voltage stabilizer.
If the target component is the communication module 101 or the sensor module 102, the controllable linear regulator is configured to output the target voltage correspondingly adapted to the target component under the condition that the control pin outputs an active level signal, so that the target component is connected to the single chip microcomputer.
In the embodiment of the present invention, when the target component is the communication module 101 or the sensor module 102, the control pin of the single chip microcomputer 103 inputs an effective level signal to the enable pin of the controllable linear regulator, and the controllable linear regulator is turned on, i.e., activated, and then the controllable linear regulator converts the power voltage into the target voltage and outputs the target voltage to the communication module 101 or the sensor module 102, so that the target component is connected to the single chip microcomputer 103, and thus data interaction between the target component and the single chip microcomputer 103 can be achieved. The active level signal is a signal which can enable an enable pin of the controllable linear voltage regulator to enter a specified state.
For example, fig. 4 shows a schematic diagram of a controllable linear regulator, as shown IN fig. 4, an EN pin represents an enable pin connected to a control pin LORA _ EN of a single chip, an OUT pin represents a pin connected to a communication module for outputting a target voltage of 3.3v to the communication module, and an IN pin represents a pin connected to a dc regulated power supply and a battery management chip. Specifically, under the condition that the LORA _ EN pin of the single chip outputs a high-level signal, the controllable linear voltage regulator can output a target voltage of 3.3v to the communication module. It is understood that fig. 5 shows a schematic diagram of another controllable linear regulator, as shown in fig. 5, the controllable linear regulator can output a target voltage of 3.3v to the sensor module through a pin of a 3v3 \ u sensor, and the operation principle of the controllable linear regulator connected to the sensor module is similar to that of the controllable linear regulator connected to the communication module, and is not described herein again.
In the embodiment of the invention, the controllable linear voltage stabilizer is connected with the control pin of the singlechip, so that the singlechip can independently control the communication module or the sensor module, and the function matching can be realized according to the requirement. Meanwhile, when the sensor module or the communication module does not need to work, the power supply voltage of the sensor module or the communication module can be independently controlled to be disconnected, so that the electric quantity loss is reduced, and the electric quantity resource is saved.
Optionally, the sensor module 102 includes a temperature and humidity detection module and an air quality detection module, and the temperature and humidity detection module and the air quality detection module are connected to the single chip microcomputer through an integrated circuit bus.
In the embodiment of the invention, the temperature and humidity detection module may comprise a temperature sensor and a humidity sensor, and the air quality detection module may comprise an air quality sensor. The temperature and humidity detection module and the air quality detection module are connected to the single chip microcomputer 103 through an Inter-Integrated Circuit (IIC) bus.
The temperature and humidity detection module is used for detecting temperature and humidity to obtain temperature and humidity data.
In the embodiment of the invention, the temperature and humidity detection module is arranged at a position where temperature and humidity detection is required, and the temperature and humidity data are obtained by detecting the ambient temperature and ambient humidity of the position through the temperature sensor and the humidity sensor.
The temperature and humidity detection module is also used for transmitting data information corresponding to the temperature and humidity data to the single chip microcomputer.
In the embodiment of the invention, after the temperature and humidity data of the position is acquired, the temperature and humidity data is converted into an electric signal and transmitted to the singlechip 103 through the IIC interface.
The air quality detection module is used for detecting the local air quality to obtain air quality data.
In the embodiment of the invention, the air quality sensor is arranged at the position where the air quality detection is needed, and the air quality at the position is detected by the air quality sensor to obtain the air quality data.
The air quality detection module is further configured to transmit data information corresponding to the air quality data to the single chip microcomputer 103.
In the embodiment of the invention, after the air quality data of the position is collected, the air quality data is converted into an electric signal and is transmitted to the singlechip 103 through the IIC interface.
In the embodiment of the invention, the temperature and humidity detection module and the air quality detection module are connected with the singlechip through the integrated circuit bus, so that the integrated circuit bus is multiplexed for data transmission while the stability of data transmission is ensured, the cost is reduced, and the circuit structure in the acquisition equipment is more simplified.
Optionally, the sensor module 102 further includes at least one gas detection module and a switch module, and the switch module is connected to the at least one gas detection module and the single chip microcomputer 103 respectively.
Wherein, gaseous detection module can include gaseous detection sensor, like sensors such as ammonia sensor, methane sensor, carbon monoxide sensor, sulfur dioxide sensor for detect the content of single gas in the air. The switch module may be a FSUSB30 analog switch.
In the embodiment of the invention, one end of the switch module can be connected with the singlechip through the UART, and the other end of the switch module is connected with at least one gas detection module.
The gas detection module is used for detecting local gas to obtain gas data.
In the embodiment of the invention, the gas detection sensor is arranged at the position where the air quality detection is needed, and the gas detection sensor is used for detecting the environmental gas at the position to obtain the gas data.
The gas detection module is further configured to transmit data information corresponding to the gas data to the single chip microcomputer 103 under the control of the switch module.
In the embodiment of the invention, after the gas data at the position is collected, the gas data is converted into an electric signal and is transmitted to the singlechip under the control of the switch module through the UART interface.
For example, fig. 6 shows a specific schematic diagram of a switch module, and as shown in fig. 6, the analog switch may be connected to the UART interface, the NH3 (ammonia) sensor, and the CO (carbon monoxide) sensor based on the UART TX, the NH3TX, and the CO TX, respectively.
In the embodiment of the invention, one path of serial port is expanded into at least one path of serial port through the switch module for communication, so that the requirement of accessing a plurality of gas detection modules can be met. Meanwhile, the cost is reduced, and the circuit structure in the acquisition equipment is more simplified.
Optionally, the communication module 101 includes a long-distance wireless antenna.
The long-distance wireless antenna can be a lora antenna, and the lora antenna is communicated with the gateway through a long-distance low-power-consumption data transmission technology.
The communication module 101 is specifically configured to submit the environment information to the gateway based on the long-distance wireless antenna.
In the embodiment of the invention, the gateway can comprise a remote wireless antenna, the input end of the gateway is connected with the acquisition equipment, and the output end of the gateway is connected with the cloud server, so that the gateway is used for summarizing the environmental information transmitted by the acquisition equipment, converting the data format and transmitting the data format to the cloud server. The communication between the gateway and the cloud server may adopt fourth generation mobile communication and its technology (4G), or fifth generation mobile communication and its technology (5G), or WiFi or other networks.
And the gateway is used for receiving the environment information submitted by the communication module and uploading the environment information to a given cloud server.
And the cloud server is used for receiving and storing the environment information sent by the gateway.
In the embodiment of the invention, the cloud server receives the environmental information sent by the gateway through the fourth-generation mobile communication and the technology (4G) thereof, the fifth-generation mobile communication and the technology (5G) thereof, wiFi or other networks, and stores the environmental information in the cloud server so that a user can obtain the environmental information in time.
In the prior art, the acquisition device mostly adopts a narrowband internet of things communication technology (NB-IOT) or a fourth-generation mobile communication technology of three operators to communicate with the gateway, but the two technologies need corresponding base station service signal coverage in communication to perform effective communication. For a remote area or a field mountain area uncovered by an NB-IOT and 4G signal base station, because communication cannot be achieved or the signal quality is poor, there is a case that data is lost because the acquisition device cannot transmit the acquired data to the user, that is, the communication method cannot adapt to a complex and severe working environment.
In the embodiment of the invention, the communication module communicates with the gateway by adopting the long-distance wireless antenna, so that data transmission can be realized even in a remote area or a field mountain and forest area which is not covered by a signal base station, and the reliability and the stability of data transmission are improved.
Optionally, the collecting device further includes a plurality of dial switches.
In the embodiment of the invention, the acquisition equipment is provided with a plurality of dial switches which are connected in parallel. The dial switches correspond to two levels, namely a high level state and a low level state, and exemplarily, the number of the dial switches may be 6, and the dial switches are switched on to be in the high level state and switched off to be in the low level state. Accordingly, a high state may correspond to bit 1 and a low state may correspond to bit 0. Wherein, the dial switch can be manually set.
The single chip microcomputer is also used for inquiring the current states corresponding to the plurality of dial switches respectively and determining the identity identification information corresponding to the acquisition equipment based on the current states of the plurality of dial switches.
In the embodiment of the invention, one acquisition device corresponds to only one piece of identity identification information, and the identity identification information can be used for distinguishing different acquisition devices. The single chip microcomputer 103 can obtain the identification information corresponding to the acquisition device by inquiring the current state of the dial switch. Wherein the identification information may be a decimal code. Each dial switch corresponds to a binary digit, and the binary code corresponding to the current acquisition device can be obtained by querying the current state of the dial switch, for example, a string of binary codes with a length of 6 bits. Illustratively, the single chip microcomputer 103 queries the state of the current dial switch to obtain a binary code "111100", converts the binary code into a decimal code, and obtains the decimal code, that is, the identity information corresponding to the current acquisition device.
The single chip microcomputer 103 is further configured to send the identification information to the gateway based on the communication module 101, so that the gateway performs identity verification on the acquisition device.
In the embodiment of the invention, the single chip microcomputer sends the identification information to the communication module based on the communication protocol, and the communication module sends the identification information to the gateway based on the communication antenna. The gateway device may implement data interaction with one or more collection devices by matching the identification information, and specifically, after receiving the identification information, the gateway device may determine the collection device corresponding to the identification information, that is, the sending object of the identification information, according to the identification information. The gateway authenticates the identity of the acquisition equipment based on the identity information identifier, and only when the acquisition equipment passes the identity authentication, the gateway uploads the data submitted by the acquisition equipment to the cloud server. In a possible implementation manner, the single chip microcomputer can transmit the environmental information acquired by the sensor module to the gateway together with the identification information based on the communication module, so that the gateway confirms the acquisition equipment transmitting the environmental information.
In the embodiment of the application, through setting the dial switch, the identity information corresponding to the acquisition equipment can be acquired according to the state of the dial switch, and the identity information is sent to the gateway, so that the gateway can rapidly perform identity authentication on the acquisition equipment according to the identity information. Therefore, the gateway can distinguish different acquisition devices, the accuracy and the safety of data transmission are improved, and the efficiency of identifying the acquisition devices by the gateway is improved to a certain extent.
Optionally, the acquisition device further includes a memory chip, and the memory chip is connected to the single chip microcomputer through a serial peripheral interface bus.
In the embodiment of the present invention, the memory chip may be an internal nonvolatile memory (flash), and the memory chip is connected to the single chip microcomputer through a Serial Peripheral Interface (SPI).
The storage chip is used for temporarily storing the environmental information.
In the embodiment of the present invention, the memory chip may be used to temporarily store the environment information, and may also be used to store basic configuration information such as user-level configuration data.
In the embodiment of the invention, the environmental information is stored by the storage chip, so that the environmental information acquired by the sensor module can be stored, and the use efficiency of the environmental information is improved.
For example, fig. 7 shows a block diagram of a specific example of an acquisition device, where a single chip microcomputer is used as a loongson LS1C101 chip, a communication module is a lora wireless module, a gas detection module is an NH3/CH4 detection module and a CO/SO2 detection module, a storage chip is a flash, and a dial switch is a gateway dial key, and the single chip microcomputer has functions of an external interrupt, a timer, and the like. The data interaction and configuration management of the single chip microcomputer and the lora wireless module are carried out through a Universal Asynchronous Receiver Transmitter (UART), and the single chip microcomputer and the lora wireless module are communicated based on AT instructions; the singlechip sends out a switching signal through the general input/output interface so as to control the switch and the LED; the single chip microcomputer queries a level signal of a gateway dial key through the universal input/output interface to determine identity identification information corresponding to the acquisition equipment; the single chip microcomputer supplies power to the single chip microcomputer through a power management module, wherein the power management module comprises a direct-current stabilized power supply, a battery and a battery management chip; the single chip microcomputer is connected with the air quality monitoring module and the temperature and humidity detection module through IIC interfaces so as to carry out data interaction; the single chip microcomputer is connected with the NH3/CH4 detection module and the CO/SO2 detection module through a universal asynchronous receiver transmitter (UART 2) in combination with an expansion interface (a switch module) to carry out data interaction; the single chip microcomputer is connected with the flash through the SPI interface so as to carry out equipment configuration information interaction.
Referring to fig. 8, fig. 8 shows a schematic diagram of a data acquisition system comprising one or more data acquisition devices as described above.
In the embodiment of the invention, the data acquisition system can further comprise a gateway and a cloud server. The relevant descriptions of the gateway and the cloud server are detailed in the above embodiments of the data acquisition device, and are not described here again to avoid repetition.
In one possible implementation manner, the data acquisition system comprises a plurality of acquisition devices, a gateway and a cloud server. Each of the acquisition devices and the gateway is provided with a communication module, the communication module is taken as a lora communication module as an example, the lora communication module comprises a lora chip and a lora antenna, after the wiping and mixing sensor module in each acquisition device acquires the environmental information again, the wiping and mixing sensor module responds to a data acquisition request sent by the gateway, the environmental information acquired by each acquisition device is submitted to the gateway based on the lora communication module, the gateway gathers the received environmental information, and the environmental information is sent to the cloud server based on fourth-generation mobile communication and technology (4G) thereof or fifth-generation mobile communication and technology (5G) thereof or WiFi or other networks.
In another possible implementation manner, the data acquisition system comprises a plurality of acquisition devices, a gateway and a cloud server. Each of the acquisition equipment and the gateway is provided with a communication module, and the communication module is taken as a lora communication module as an example, so that the distance between part of the acquisition equipment and the gateway is far and the distance exceeds the coverage range of the lora antenna of the gateway, and the environmental information acquired by the sensor module in part of the remote acquisition equipment can be sent to any target acquisition equipment in the coverage range of the lora antenna. And the remote acquisition equipment and the target acquisition equipment are communicated through a lora antenna. The target acquisition equipment sends the environmental information sent by the remote acquisition equipment and the self environmental information to the gateway together. Therefore, the limitation of the coverage range of the antenna can be avoided, and a plurality of acquisition devices can transmit the environmental information to the gateway, so that the large-scale data transmission is realized. It can be understood that the environment information acquired by the multiple acquisition devices may be sent to one main acquisition device, and data transmission of the multiple acquisition devices is realized through communication between the main acquisition device and the gateway, which is not limited in this embodiment of the present invention.
It should be noted that all actions of acquiring signals, information or data in the present application are performed under the premise of complying with the corresponding data protection regulation policy of the country of the location and obtaining the authorization given by the owner of the corresponding device.
It should be noted that those skilled in the art will also appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the embodiments of the invention.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrases "comprising one of \ 8230; \8230;" does not exclude the presence of additional like elements in a process, method, article, or terminal device that comprises the element.
The data acquisition device and the data acquisition system provided by the invention are described in detail, and the principle and the implementation mode of the invention are explained by applying specific examples, and the description of the embodiments is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A data acquisition device, comprising: the system comprises a communication module, a sensor module and a single chip microcomputer which is respectively connected with the sensor module and the communication module, wherein the communication module, the single chip microcomputer and the sensor module are respectively connected with a power supply control module;
the power supply control module is used for respectively converting power supply voltage into target voltage matched with the connected target components and respectively providing the target voltage for the target components; the target component is the communication module, the single chip microcomputer or the sensor module;
the sensor module is used for acquiring environmental information and transmitting the environmental information to the single chip microcomputer;
the single chip microcomputer is used for processing the environmental information acquired by the sensor module and sending the processed environmental information to the communication module;
and the communication module is used for submitting the environment information processed by the singlechip to a gateway in an external system.
2. The apparatus of claim 1, wherein the acquisition module further comprises a regulated dc power supply, a battery, and a battery management chip, the battery management chip being connected to the regulated dc power supply and the battery;
the direct current stabilized voltage supply is used for directly outputting the power supply voltage to the power supply control module respectively;
the battery management chip is used for controlling the battery to respectively output the power supply voltage to the power supply control module under the condition that the direct current stabilized voltage power supply has a fault.
3. The apparatus of claim 2, wherein the power control module comprises a linear regulator; the first end of the linear voltage stabilizer is connected with the target assembly, and the second end of the linear voltage stabilizer is respectively connected with the direct current voltage stabilizer and the battery management chip;
the linear voltage regulator is used for converting the power supply voltage into the target voltage correspondingly adapted to the target component so as to supply power to the target component.
4. The apparatus of claim 3, wherein the linear regulator comprises a controllable linear regulator; the third end of the controllable linear voltage stabilizer is connected with a control pin of the singlechip;
if the target component is the communication module or the sensor module, the controllable linear voltage regulator is used for outputting the target voltage correspondingly adapted to the target component under the condition that the control pin outputs an effective level signal, so that the target component is conducted with the single chip microcomputer.
5. The apparatus of claim 1, wherein the sensor module comprises a temperature and humidity detection module and an air quality detection module;
the temperature and humidity detection module is used for detecting temperature and humidity to obtain temperature and humidity data;
the temperature and humidity detection module is also used for transmitting data information corresponding to the temperature and humidity data to the single chip microcomputer;
the air quality detection module is used for detecting the local air quality to obtain air quality data;
the air quality detection module is also used for transmitting data information corresponding to the air quality data to the single chip microcomputer.
6. The apparatus of claim 5, wherein the sensor module further comprises at least one gas detection module and a switch module, the switch module being connected to the at least one gas detection module and the single-chip microcomputer, respectively;
the gas detection module is used for detecting local gas to obtain gas data;
the gas detection module is also used for transmitting data information corresponding to the gas data to the single chip microcomputer under the control of the switch module.
7. The device of claim 1, wherein the communication module comprises a long-range wireless antenna;
the communication module is specifically configured to submit the environment information to the gateway based on the long-distance wireless antenna;
the gateway is used for receiving the environmental information submitted by the communication module and uploading the environmental information to a set cloud server;
and the cloud server is used for receiving and storing the environment information sent by the gateway.
8. The apparatus of claim 1, wherein the acquisition device further comprises a plurality of dip switches;
the single chip microcomputer is also used for inquiring the current states corresponding to the dial switches respectively and determining the identity identification information corresponding to the acquisition equipment based on the current states of the dial switches;
the single chip microcomputer is further used for sending the identification information to the gateway based on the communication module so that the gateway can carry out identity verification on the acquisition equipment.
9. The device of claim 1, wherein the acquisition device further comprises a memory chip connected to the single-chip via a serial peripheral interface bus;
the storage chip is used for temporarily storing the environmental information.
10. A data acquisition system, characterized in that it comprises a data acquisition device according to one or more of claims 1-9.
CN202211697623.XA 2022-12-28 2022-12-28 Data acquisition equipment and system Pending CN115951608A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211697623.XA CN115951608A (en) 2022-12-28 2022-12-28 Data acquisition equipment and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211697623.XA CN115951608A (en) 2022-12-28 2022-12-28 Data acquisition equipment and system

Publications (1)

Publication Number Publication Date
CN115951608A true CN115951608A (en) 2023-04-11

Family

ID=87287396

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211697623.XA Pending CN115951608A (en) 2022-12-28 2022-12-28 Data acquisition equipment and system

Country Status (1)

Country Link
CN (1) CN115951608A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117032040A (en) * 2023-08-31 2023-11-10 中科驭数(北京)科技有限公司 Sensor data acquisition method, device, equipment and readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101355575A (en) * 2008-09-04 2009-01-28 上海交通大学 System and method for monitoring civil engineering strained base on CAN network
CN206818846U (en) * 2017-05-22 2017-12-29 李卫国 A kind of energy-storage battery detection management device
CN109933036A (en) * 2017-12-15 2019-06-25 中核兰州铀浓缩有限公司 A kind of centrifuge intermediate frequency power supply system comprehensive parameters network monitoring module
CN110471321A (en) * 2018-05-10 2019-11-19 视联动力信息技术股份有限公司 A kind of environment measuring equipment
CN111856556A (en) * 2020-07-21 2020-10-30 中协(天津)科学技术应用研究有限公司 Anti-seismic support and hanger state data acquisition system and working method thereof
CN113391342A (en) * 2021-05-26 2021-09-14 哈尔滨工业大学 Dual-power self-adaptive switching seismic data acquisition system and implementation method
CN215491849U (en) * 2021-08-04 2022-01-11 河北工大科雅能源科技股份有限公司 Room temperature collection system and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101355575A (en) * 2008-09-04 2009-01-28 上海交通大学 System and method for monitoring civil engineering strained base on CAN network
CN206818846U (en) * 2017-05-22 2017-12-29 李卫国 A kind of energy-storage battery detection management device
CN109933036A (en) * 2017-12-15 2019-06-25 中核兰州铀浓缩有限公司 A kind of centrifuge intermediate frequency power supply system comprehensive parameters network monitoring module
CN110471321A (en) * 2018-05-10 2019-11-19 视联动力信息技术股份有限公司 A kind of environment measuring equipment
CN111856556A (en) * 2020-07-21 2020-10-30 中协(天津)科学技术应用研究有限公司 Anti-seismic support and hanger state data acquisition system and working method thereof
CN113391342A (en) * 2021-05-26 2021-09-14 哈尔滨工业大学 Dual-power self-adaptive switching seismic data acquisition system and implementation method
CN215491849U (en) * 2021-08-04 2022-01-11 河北工大科雅能源科技股份有限公司 Room temperature collection system and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117032040A (en) * 2023-08-31 2023-11-10 中科驭数(北京)科技有限公司 Sensor data acquisition method, device, equipment and readable storage medium
CN117032040B (en) * 2023-08-31 2024-06-07 中科驭数(北京)科技有限公司 Sensor data acquisition method, device, equipment and readable storage medium

Similar Documents

Publication Publication Date Title
US7882725B2 (en) Sensor
CN101620771B (en) Remote wireless environment real-time data acquisition method and device
CN100561926C (en) A kind of remote wakening system and terminal based on WAN module
CN115951608A (en) Data acquisition equipment and system
CN201314243Y (en) Gas content detection wireless transmitting and receiving device based on radio frequency technique
CN109244566B (en) Battery with built-in wireless communication
CN112489412A (en) Intelligent meter reading system and method
CN104506645A (en) Data collection terminal for Internet of Things and communication method and communication system of data collection terminal
CN206593768U (en) A kind of device for detecting temperature sent based on raspberry
CN201508408U (en) Intelligent device for wirelessly monitoring state of storage batteries used for direct current screen of transformer substation
JPH02285900A (en) Monitoring system for industrial facility
CN106368680B (en) Wireless measurement while drilling device
KR100986982B1 (en) Gateway for mobile terminal and method thereof
CN106321079B (en) Rotary test nipple for measurement while drilling instrument
US20200227926A1 (en) Remote connectivity using a battery
KR102382196B1 (en) a ship including a battery
CN210295227U (en) Shared bicycle and electronic lock device based on NB-IoT communication
CN101431813A (en) Radio communication system and apparatus
CN1162012C (en) Wired TV network equipment radio detection method
CN216820098U (en) Thing networking coupling module based on zigbee communication protocol
CN114567862B (en) Pipe network monitoring terminal system
KR101742591B1 (en) Method and Apparatus to Control Wireless Power Transform
CN209460622U (en) Portable signal collecting cassette
CN105915175A (en) Photovoltaic generating monitoring apparatus
CN211699200U (en) Traffic information detector

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination