CN116074133A - Data acquisition device and data acquisition system - Google Patents

Data acquisition device and data acquisition system Download PDF

Info

Publication number
CN116074133A
CN116074133A CN202310099426.6A CN202310099426A CN116074133A CN 116074133 A CN116074133 A CN 116074133A CN 202310099426 A CN202310099426 A CN 202310099426A CN 116074133 A CN116074133 A CN 116074133A
Authority
CN
China
Prior art keywords
control unit
main control
data acquisition
logic
power supply
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
CN202310099426.6A
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.)
Wuhan Huace Satellite Technology Co ltd
Original Assignee
Wuhan Huace Satellite 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 Wuhan Huace Satellite Technology Co ltd filed Critical Wuhan Huace Satellite Technology Co ltd
Priority to CN202310099426.6A priority Critical patent/CN116074133A/en
Publication of CN116074133A publication Critical patent/CN116074133A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0047Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with monitoring or indicating devices or circuits
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0047Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with monitoring or indicating devices or circuits
    • H02J7/0048Detection of remaining charge capacity or state of charge [SOC]
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0063Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with circuits adapted for supplying loads from the battery
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage
    • H02J7/00712Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage
    • H02J7/00712Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters
    • H02J7/007182Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters in response to battery voltage
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/12Arrangements for remote connection or disconnection of substations or of equipment thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Power Sources (AREA)

Abstract

The application provides a data acquisition device and a data acquisition system, which relate to the technical field of data acquisition, wherein the data acquisition device comprises a logic main control unit and an acquisition main control unit, and the logic main control unit is electrically connected with the acquisition main control unit; the logic main control unit is used for controlling the power supply of the acquisition main control unit to be turned on and sending a data acquisition instruction to the acquisition main control unit; the acquisition main control unit is used for acquiring corresponding sensor data according to the data acquisition instruction after the power supply is started so as to obtain target data, and transmitting the target data to the logic main control unit; the logic main control unit is also used for controlling the power supply of the acquisition main control unit to be turned off after receiving the target data; and uploading the target data to the cloud, and setting the target data to be in a sleep mode after the target data is uploaded, so that the power consumption of the whole data acquisition device is reduced, and the endurance time and the reliability of data acquisition can be improved under the abnormal condition of an external power supply system.

Description

Data acquisition device and data acquisition system
Technical Field
The application relates to the technical field of data acquisition, in particular to a data acquisition device and a data acquisition system.
Background
In field monitoring scenes such as a dam reservoir, a data acquisition unit is connected with different kinds of sensor equipment and is used for monitoring precipitation, flow, osmotic pressure, water level and the like of the dam reservoir.
In order to ensure that the data acquisition unit on the market can work normally under the abnormal condition of the external power supply system, a built-in battery is generally added as an emergency power supply to supply power under the abnormal condition of the external power supply system.
However, most of the data acquisition units are always in a working state to ensure optimal performance, so that an emergency power supply cannot work for a long time under the abnormal condition of an external power supply system, and the problems of low endurance time and low reliability of the data acquisition units are caused.
Disclosure of Invention
An object of the embodiment of the application is to provide a data acquisition device and a data acquisition system, which are used for solving the problems of low endurance time and low reliability of a current data acquisition unit under the abnormal condition of an external power supply system.
In a first aspect, the present invention provides a data acquisition device, the data acquisition device including a logic main control unit and an acquisition main control unit, the logic main control unit being electrically connected with the acquisition main control unit; the logic main control unit is used for controlling the power supply of the acquisition main control unit to be turned on and sending a data acquisition instruction to the acquisition main control unit; the acquisition main control unit is used for acquiring corresponding sensor data according to the data acquisition instruction after the power supply is started so as to obtain target data, and transmitting the target data to the logic main control unit; the logic main control unit is also used for controlling the power supply of the acquisition main control unit to be turned off after receiving the target data; and uploading the target data to the cloud end, and setting the target data to be in a sleep mode after the target data is uploaded.
The data acquisition device is designed by adopting two main control designs, namely a logic main control unit and an acquisition main control unit, the logic main control unit designed by the scheme can control the power state of the acquisition main control unit, control the power on of the acquisition main control unit in a data acquisition stage, and send a data acquisition instruction to the acquisition main control unit, so that the acquisition main control unit can acquire target data according to the data acquisition instruction after the power on and transmit the target data back, and the logic main control unit turns off the power of the acquisition main control unit after the target data back is finished, so that the acquisition main control unit does not work under the condition of not carrying out data acquisition, and further the power consumption of the data acquisition device is reduced; in addition, after the target data is uploaded to the cloud, the logic main control unit designed by the scheme can set the logic main control unit into a sleep mode, so that the power consumption brought by the logic main control unit is further reduced under the condition that data acquisition is not carried out, and the power consumption of the whole data acquisition device is further reduced, and the endurance time and the reliability of the data acquisition can be improved under the abnormal condition of an external power supply system.
In an optional implementation manner of the first aspect, the logic main control unit includes a communication module and a power supply battery; the logic main control unit is specifically used for uploading target data to the cloud through the communication module, and controlling the working state of the communication module according to the battery voltage of the power supply battery and the external power supply state after the target data is uploaded.
In an optional implementation manner of the first aspect, the logic main control unit is specifically configured to set the communication module to a sleep state after determining that the external power supply state is power failure and the battery voltage of the power supply battery is greater than a preset voltage threshold and the uploading of the target data is completed. According to the method, when the external power supply state is power failure, the battery voltage of the power supply battery is larger than the preset voltage threshold, and the uploading of the target data is completed, the communication module is set to be in a sleep state, the remote uploading of the target data is guaranteed under the condition that the battery power is sufficient, meanwhile, the power consumption brought by the communication module is reduced, and the cruising duration of the power supply battery is improved.
In an optional implementation manner of the first aspect, the logic main control unit is further specifically configured to control the communication module to stop working after determining that the external power supply state is power failure, the battery voltage of the power supply battery is not greater than a preset voltage threshold, and the uploading of the target data is completed. According to the method, when the external power supply state is judged to be power-off, the battery voltage of the power supply battery is not greater than the preset voltage threshold, and the target data uploading is completed, the communication module is controlled to stop working, so that under the condition that the battery power is insufficient, the communication module is controlled to stop working, the power consumption brought by the communication module is cut off, and the endurance of the power supply battery is further improved.
In an optional implementation manner of the first aspect, the logic main control unit is further configured to send a heartbeat packet to the acquisition main control unit after controlling the power supply of the acquisition main control unit to be turned on; the acquisition main control unit is also used for sending a reply instruction corresponding to the heartbeat data packet to the logic main control unit after the power supply is started. The logic main control unit of the embodiment sends the heartbeat data packet to the acquisition main control unit, so that the time for the completion of the initialization of the acquisition main control unit can be determined through the reply instruction of the acquisition main control unit, and further, the acquisition main control unit is ensured to complete the initialization when the data acquisition instruction is sent.
In an optional implementation manner of the first aspect, the logic main control unit is further configured to control, with the sending data acquisition instruction as a timing start point, to turn on a power supply of the acquisition main control unit again after a preset time interval, and to send a second data acquisition instruction to the acquisition main control unit. In this embodiment, the logic main control unit automatically and periodically controls the acquisition main control to perform data acquisition, thereby improving the automation of data acquisition.
In an optional implementation manner of the first aspect, the data acquisition device further comprises a display unit; the logic main control unit is also used for receiving the first mode switching information; the first mode switching information comprises information for switching the data acquisition device into a debugging mode; the logic main control unit is also used for controlling the display unit to work according to the first mode switching information and opening the debugging serial port so as to switch the data acquisition device into a debugging mode. The data acquisition device designed by the embodiment has a debugging mode, so that the data acquisition device can perform a data debugging function in the debugging mode, and the data acquisition accuracy and maintainability are improved.
In an optional implementation manner of the first aspect, the logic main control unit is further configured to receive second mode switching information; the second mode switching information comprises information for switching the data acquisition device to be in a field mode; the logic main control unit is also used for controlling the display unit to stop working according to the second mode switching information and closing the debugging serial port so as to switch the data acquisition device into a field mode.
In an optional implementation manner of the first aspect, the logic main control unit is further configured to receive an externally transmitted wake-up signal; and finishing logic main control initialization according to the wake-up signal, and starting a power supply of the acquisition main control unit.
In a second aspect, the present invention provides a data acquisition system, which includes a data acquisition device according to any one of the alternative embodiments of the first aspect.
The data acquisition system comprises the data acquisition device in the first aspect, so that the designed data acquisition system adopts two main control designs, namely a logic main control unit and an acquisition main control unit, the logic main control unit designed according to the scheme can control the power state of the acquisition main control unit, control the power on of the acquisition main control unit in a data acquisition stage, send a data acquisition instruction to the acquisition main control unit, enable the acquisition main control unit to acquire target data according to the data acquisition instruction after the power on and return the target data, and enable the logic main control unit to close the power of the acquisition main control unit after the return of the target data is finished, so that the acquisition main control unit does not work under the condition of not carrying out data acquisition, and further reduce the power consumption of the data acquisition device; in addition, after the target data is uploaded to the cloud, the logic main control unit designed by the scheme can set the logic main control unit into a sleep mode, so that the power consumption brought by the logic main control unit is further reduced under the condition that data acquisition is not carried out, and the power consumption of the whole data acquisition device is further reduced, and the endurance time and the reliability of the data acquisition can be improved under the abnormal condition of an external power supply system.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and should not be considered as limiting the scope, and other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a first schematic structural diagram of a data acquisition device according to an embodiment of the present application;
fig. 2 is a second schematic structural diagram of the data acquisition device according to the embodiment of the present application;
fig. 3 is a third schematic structural diagram of the data acquisition device according to the embodiment of the present application;
fig. 4 is a fourth schematic structural diagram of a data acquisition device according to an embodiment of the present application.
Icon: 10-a logic main control unit; 110-a communication module; 20-collecting a main control unit; 30-a power supply battery; 40-a display unit; a-sensor.
Detailed Description
Embodiments of the technical solutions of the present application will be described in detail below with reference to the accompanying drawings. The following examples are only for more clearly illustrating the technical solutions of the present application, and thus are only examples, and are not intended to limit the scope of protection of the present application.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs; the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application; the terms "comprising" and "having" and any variations thereof in the description and claims of the present application and in the description of the figures above are intended to cover non-exclusive inclusions.
In the description of the embodiments of the present application, the technical terms "first," "second," etc. are used merely to distinguish between different objects and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated, a particular order or a primary or secondary relationship. In the description of the embodiments of the present application, the meaning of "plurality" is two or more unless explicitly defined otherwise.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the present application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
In the description of the embodiments of the present application, the term "and/or" is merely an association relationship describing an association object, which means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist together, and B exists alone. In addition, the character "/" herein generally indicates that the front and rear associated objects are an "or" relationship.
In the description of the embodiments of the present application, the term "plurality" refers to two or more (including two), and similarly, "plural sets" refers to two or more (including two), and "plural sheets" refers to two or more (including two).
In the description of the embodiments of the present application, the orientation or positional relationship indicated by the technical terms "center", "longitudinal", "transverse", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", "axial", "radial", "circumferential", etc. are based on the orientation or positional relationship shown in the drawings, and are merely for convenience of describing the embodiments of the present application and for simplifying the description, rather than indicating or implying that the apparatus or element referred to must have a specific orientation, be configured and operated in a specific orientation, and therefore should not be construed as limiting the embodiments of the present application.
In the description of the embodiments of the present application, unless explicitly specified and limited otherwise, the terms "mounted," "connected," "secured" and the like are to be construed broadly and may be, for example, fixedly connected, detachably connected, or integrally formed; or may be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communicated with the inside of two elements or the interaction relationship of the two elements. The specific meaning of the above terms in the embodiments of the present application will be understood by those of ordinary skill in the art according to the specific circumstances.
In monitoring scenes, such as outdoor monitoring scenes of a dam reservoir, the data acquisition device is connected with different kinds of sensor equipment and used for monitoring precipitation, flow, osmotic pressure, water level and the like of the dam reservoir.
In order to ensure that the data acquisition unit on the market can work normally under the abnormal condition of the external power supply system, a built-in battery is generally added as an emergency power supply to supply power under the abnormal condition of the external power supply system.
The inventor finds that most of data acquisition units are always in a working state for ensuring the optimal acquisition performance, however, the electric quantity of a rechargeable battery built in the data acquisition unit is limited, so that the built-in battery serving as an emergency power supply cannot work for a long time under the abnormal condition of an external power supply system (such as power supply line abnormality caused by a large amount of rainfall) and further the problem that the endurance time of the data acquisition unit is low under the abnormal condition of the external power supply system and further the reliability of data acquisition is low is caused.
For the problems, the inventor designs a data acquisition device and a data acquisition system, the data acquisition is realized by matching a logic main control unit and an acquisition main control unit, the logic main control unit can control the power supply of the acquisition main control unit, the power supply of the acquisition main control unit can be controlled to be turned on in a data acquisition time period, the power supply of the acquisition main control unit can be controlled to be turned off in a data acquisition non-time period, and the data acquisition non-time period is set to be in a sleep mode, so that the whole power consumption of the data acquisition unit is saved, and the endurance time and the reliability of the data acquisition can be improved under the abnormal condition of an external power supply system.
Based on the foregoing, the present application provides a data acquisition device, as shown in fig. 1, where the data acquisition device may include a logic main control unit 10 and an acquisition main control unit 20, and the logic main control unit 10 is electrically connected with the acquisition main control unit 20.
In the data acquisition device designed as above, the power supply of the acquisition main control unit 20 is controlled by the logic main control unit 10, and during the data acquisition period, the logic main control unit 10 can firstly control the power supply of the acquisition main control unit 20 to be turned on and send a data acquisition instruction to the acquisition main control unit 20, wherein the data acquisition instruction can include information such as the data type of the sensor to be acquired.
After the power is turned on, the acquisition main control unit 20 firstly completes initialization, acquires corresponding sensor data according to the received data acquisition instruction after the initialization operation is completed, obtains target data, and then transmits the target data back to the logic main control unit 10. The collection master control unit 20 may collect sensor data in any current collection mode. For example, as shown in fig. 1, the acquisition master unit 20 may be electrically connected to a plurality of sensors a, which are different types of sensors, so as to acquire sensor data of the plurality of sensors a. As another example, as shown in fig. 2, the data acquisition device is a multi-channel multi-sampling data acquisition device, each channel is correspondingly connected with one type of sensor a to perform data acquisition, on this basis, the data acquisition device may further include multiple types of sampling circuits, sampling selection circuits and channel selection circuits, the acquisition main control unit 20 is electrically connected with the multiple types of sampling circuits, sampling selection circuits and channel selection circuits, and after receiving an acquisition instruction, the acquisition main control unit 20 controls the sampling selection circuits and the channel selection circuits to conduct the target sampling circuits and the target acquisition channels, so that the data acquisition of the corresponding sensors is performed through the conducted target sampling circuits and the sensors connected with the target acquisition channels and the corresponding channels.
The logic main control unit 10 can receive the target data returned by the acquisition main control unit 20, the logic main control unit 10 can control the power supply of the acquisition main control unit 20 to be turned off after the acquisition main control unit 20 finishes transmitting the target data, the target data is uploaded to the cloud, and the logic main control unit 10 sets itself to be in a sleep mode after the uploading of the target data is completed. The sleep mode refers to a mode in which the logic main control unit 10 is in a standby state, and may be awakened by an external signal or automatically awakened by a preset time interval, etc.
The data acquisition device is designed by adopting two main control designs, namely a logic main control unit and an acquisition main control unit, the logic main control unit designed by the scheme can control the power state of the acquisition main control unit, control the power on of the acquisition main control unit in a data acquisition stage, and send a data acquisition instruction to the acquisition main control unit, so that the acquisition main control unit can acquire target data according to the data acquisition instruction after the power on and transmit the target data back, and the logic main control unit turns off the power of the acquisition main control unit after the target data back is finished, so that the acquisition main control unit does not work under the condition of not carrying out data acquisition, and further the power consumption of the data acquisition device is reduced; in addition, after the target data is uploaded to the cloud, the logic main control unit designed by the scheme can set the logic main control unit into a sleep mode, so that the power consumption brought by the logic main control unit is further reduced under the condition that data acquisition is not carried out, and the power consumption of the whole data acquisition device is further reduced, and the endurance time and the reliability of the data acquisition can be improved under the abnormal condition of an external power supply system.
In an alternative implementation manner of the present embodiment, as shown in fig. 3, the logic main control unit 10 further includes a communication module 110, the data collecting device further includes a power supply battery 30, the power supply battery 30 may be electrically connected with the logic main control unit 10, and on this basis, a manner in which the logic main control unit 10 uploads the target data to the cloud end may specifically use the communication module 110 to communicate with the cloud end, so that the communication module 110 uploads the target data to the cloud end.
In the case that the logic main control unit 10 includes the communication module 110, the present solution may further control the operation state of the communication module according to the battery voltage of the power supply battery 30 and the power supply state of the external power source. Specifically, since the logic main control unit 10 is electrically connected to the power supply battery 30, the logic main control unit 10 may obtain battery information of the power supply battery 30, for example, obtain information such as an electric quantity or a battery voltage of the power supply battery 30, and the logic main control unit 10 may obtain a power supply state of the external power supply, then determine whether the power supply state of the external power supply is a power-off state, if the power supply state of the external power supply is the power-off state, further determine whether the battery voltage of the power supply battery 30 is greater than a preset voltage threshold, and if it is determined that the battery voltage of the power supply battery 30 is greater than the preset voltage threshold, it is indicated that the current remaining electric quantity of the power supply battery 30 is greater, and on this basis, after the logic main control unit 10 uploads the target data to the cloud, the communication module 110 may be set to a sleep state.
If the logic main control unit determines that the power supply state of the external power supply is the power-off state and the battery voltage of the power supply battery is not greater than the preset voltage threshold, it indicates that the residual electric quantity of the power supply battery 30 is small, and for this purpose, after the logic main control unit 10 uploads the target data to the cloud, the communication module 110 can be controlled to stop working, so that the power consumption of the data acquisition device is further reduced and the endurance of the data acquisition device is improved.
It should be noted that, after the communication module 110 is controlled to stop working, the logic main control unit 10 may assume that the data acquisition is performed subsequently, and then the target data obtained by the subsequent data acquisition may be stored in the memory or the cache of the logic main control unit 10, so that after the external power supply of the data acquisition device is restored, the logic main control unit 10 may control the communication module 110 to work again, so that the target data stored in the memory or the cache is uploaded to the cloud through the communication module 110.
In addition, in the case that the logic main control unit 10 and the communication module 110 are in the sleep state, the communication module 110 and the logic main control unit 10 can be awakened by sending the awakening information through the cloud, or an interval time is set, and the communication module and the logic main control unit 10 are automatically awakened after the interval time.
In an alternative implementation manner of this embodiment, after the logic master control unit 10 controls the power of the acquisition master control unit 20 to be turned on, in addition to sending a data acquisition instruction, in order to ensure that the acquisition master control unit 20 completes the initialization operation, the logic master control unit 10 may also send a heartbeat data packet to the acquisition master control unit 20, and after completing the initialization operation, the acquisition master control unit 20 may reply a reply instruction corresponding to the heartbeat data packet, for example, an ACK instruction corresponding to the heartbeat data packet, to the logic master control unit 10, so that the logic master control unit 10 knows that the acquisition master control unit 20 has completed the initialization operation at this time, that is, the acquisition master control unit 20 is ready for sensor data acquisition.
In an alternative implementation manner of this embodiment, the logic main control unit 10 designed in this embodiment may take the sending data acquisition instruction as a timing start point, and after a preset time interval, may control the power supply of the acquisition main control unit 20 to turn on again, and send the second data acquisition instruction to the acquisition main control unit 20.
As another possible implementation manner, the present solution may take, in addition to the data acquisition instruction as a timing start point, a time point for controlling the acquisition main control unit 20 to turn on a power supply as a timing start point, and a time point for sending the heartbeat data packet as a timing start point, which is not limited in this application, and the specific manner may be adaptively adjusted according to actual situations.
In an alternative implementation of the present embodiment, as shown in fig. 4, the data acquisition device may further include a display unit 40, where the display unit 40 may specifically include a power lamp that indicates a power state, a status lamp that indicates an operating state, and a network lamp that indicates a communication state, etc.
The logic main control unit 10 may receive first mode switching information, where the first mode switching information includes switching the data acquisition device to a debug mode, and on the basis of this, the logic main control unit 10 controls the display unit 40 to operate according to the first mode switching information, and opens a debug serial port, so as to switch the data acquisition device to the debug mode. The data acquisition device can output debugging data in the debugging process through the opened debugging serial port, so that a worker can debug the data acquisition device according to the debugging data output by the debugging serial port.
As a possible implementation, in the debug mode, the logic master control unit 10 may turn on peripherals including: debug serial ports, communication serial ports, network communications, display unit control, data storage, external interrupts, and the like.
In an alternative implementation manner of this embodiment, the logic main control unit may further receive second mode switching information, where the second mode switching information includes switching the data acquisition device to the field mode, and on this basis, the logic main control unit 10 controls the display unit 40 to stop working according to the second mode switching information, and closes the debug serial port, so that the data acquisition device is switched to the field mode. The difference between the field mode and the debug mode is that the debug serial port is turned off and the display unit stops working, and then, based on the foregoing example, in the field mode, the logic main control unit 10 may turn on the following peripherals, including: debug serial port, communication serial port, network communication, data storage, external interrupt.
In an optional implementation manner of this embodiment, the first mode switching information and the second mode switching information described above may be obtained through external device transmission, and specifically may be sent through the cloud server to enable the data acquisition device to perform mode switching; the mode switching of the data acquisition device can be realized by stirring the mode switching button on the data acquisition device on site, so that the first mode switching information or the second mode switching information is sent to the logic main control unit 10.
The present application provides a data acquisition system comprising a data acquisition device as described in any one of the preceding alternative embodiments.
The data acquisition system comprises the data acquisition device in the first aspect, so that the designed data acquisition system adopts two main control designs, namely a logic main control unit and an acquisition main control unit, the logic main control unit designed according to the scheme can control the power state of the acquisition main control unit, control the power on of the acquisition main control unit in a data acquisition stage, send a data acquisition instruction to the acquisition main control unit, enable the acquisition main control unit to acquire target data according to the data acquisition instruction after the power on and return the target data, and enable the logic main control unit to close the power of the acquisition main control unit after the return of the target data is finished, so that the acquisition main control unit does not work under the condition of not carrying out data acquisition, and further reduce the power consumption of the data acquisition device; in addition, after the target data is uploaded to the cloud, the logic main control unit designed by the scheme can set the logic main control unit into a sleep mode, so that the power consumption brought by the logic main control unit is further reduced under the condition that data acquisition is not carried out, and the power consumption of the whole data acquisition device is further reduced, and the endurance time and the reliability of the data acquisition can be improved under the abnormal condition of an external power supply system.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the embodiments, and are intended to be included within the scope of the claims and description. In particular, the technical features mentioned in the respective embodiments may be combined in any manner as long as there is no structural conflict. The present application is not limited to the specific embodiments disclosed herein, but encompasses all technical solutions falling within the scope of the claims.

Claims (10)

1. The data acquisition device is characterized by comprising a logic main control unit and an acquisition main control unit, wherein the logic main control unit is electrically connected with the acquisition main control unit;
the logic main control unit is used for controlling the power supply of the acquisition main control unit to be turned on and sending a data acquisition instruction to the acquisition main control unit;
the acquisition main control unit is used for acquiring corresponding sensor data according to the data acquisition instruction after the power supply is started so as to obtain target data, and transmitting the target data to the logic main control unit;
the logic main control unit is also used for controlling the power supply of the acquisition main control unit to be turned off after receiving the target data; and uploading the target data to the cloud end, and setting the target data to be in a sleep mode after the target data is uploaded.
2. The data acquisition device of claim 1, wherein the logic master control unit comprises a communication module, the data acquisition device further comprising a power supply battery, the logic master control unit being electrically connected to the power supply battery;
the logic main control unit is specifically configured to upload the target data to the cloud end through the communication module, and control the working state of the communication module according to the battery voltage of the power supply battery and the external power supply state after the uploading of the target data is completed.
3. The data acquisition device according to claim 2, wherein the logic main control unit is specifically configured to control the communication module to be set to a sleep state after determining that the external power supply state is power off and the battery voltage of the power supply battery is greater than a preset voltage threshold and the uploading of the target data is completed.
4. The data acquisition device according to claim 2, wherein the logic main control unit is further specifically configured to control the communication module to stop working after determining that the external power supply state is power off, the battery voltage of the power supply battery is not greater than a preset voltage threshold, and the uploading of the target data is completed.
5. The data acquisition device of claim 1, wherein the logic master control unit is further configured to send a heartbeat packet to the acquisition master control unit after a power supply controlling the acquisition master control unit is turned on;
the acquisition main control unit is also used for sending a reply instruction corresponding to the heartbeat data packet to the logic main control unit after the power supply is started.
6. The data acquisition device of claim 1, wherein the logic master control unit is further configured to control the power of the acquisition master control unit to be turned on again after a preset time interval by using the transmitted data acquisition command as a timing start point, and to transmit a second data acquisition command to the acquisition master control unit.
7. The data acquisition device of claim 1, further comprising a display unit, wherein the logic master control unit is electrically connected to the display unit; the logic main control unit is also used for receiving first mode switching information; the first mode switching information comprises information for switching the data acquisition device into a debugging mode;
the logic main control unit is further configured to control the display unit to work according to the first mode switching information, and open a debug serial port to switch the data acquisition device to a debug mode.
8. The data acquisition device of claim 6, wherein the logic master control unit is further configured to receive second mode switching information; the second mode switching information comprises information for switching the data acquisition device to a field mode;
the logic main control unit is also used for controlling the display unit to stop working according to the second mode switching information and closing the debugging serial port so as to switch the data acquisition device into a field mode.
9. The data acquisition device of claim 1, wherein the logic master control unit is further configured to receive an externally transmitted wake-up signal; and finishing logic main control initialization according to the wake-up signal, and starting a power supply of the acquisition main control unit.
10. A data acquisition system, characterized in that it comprises a data acquisition device according to any one of claims 1-9.
CN202310099426.6A 2023-02-02 2023-02-02 Data acquisition device and data acquisition system Pending CN116074133A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310099426.6A CN116074133A (en) 2023-02-02 2023-02-02 Data acquisition device and data acquisition system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310099426.6A CN116074133A (en) 2023-02-02 2023-02-02 Data acquisition device and data acquisition system

Publications (1)

Publication Number Publication Date
CN116074133A true CN116074133A (en) 2023-05-05

Family

ID=86169636

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310099426.6A Pending CN116074133A (en) 2023-02-02 2023-02-02 Data acquisition device and data acquisition system

Country Status (1)

Country Link
CN (1) CN116074133A (en)

Similar Documents

Publication Publication Date Title
US11094969B2 (en) Battery pack and data transmission method between the battery pack and electrical device
US20230127497A1 (en) Electrical device and program update method thereof
CN108495224B (en) Communication system
CN201983828U (en) Real-time groundwater level, temperature and air temperature monitor
CN110941677B (en) Gateway device, control method and Internet of things control system based on edge calculation
CN108168048B (en) Method and device for identifying air conditioner circuit and air conditioner
CN101917285A (en) Three-machine realization method for moonlet service host machine double-machine cooling structure
CN106332248B (en) Low-power-consumption meter reading method and system
EP2586131A1 (en) Power control module
CN105509325A (en) Water heater and water usage data collecting method thereof
EP2551683A1 (en) Data transmission device
CN204875926U (en) Intelligent information acquisition terminal among no negative pressure water supply system
CN116074133A (en) Data acquisition device and data acquisition system
CN113380015A (en) Wireless passive sensor and working method of wireless passive controller thereof
CN204586748U (en) Can the OBD smart machine of auto-breaking
CN116723424A (en) Power saving method and system for intelligent water meter communication scene
CN113259904B (en) Marine network system, method and computer readable storage medium
CN108695566B (en) Synchronous control system architecture for improving energy-saving efficiency
CN111083756B (en) Communication channel switching method of dual communication modules
CN114779694A (en) Double-backup data acquisition control circuit and control method for large buoy
CN104375152A (en) Electricity-saving satellite positioning method and terminal
CN112540566A (en) Programmable controller with mobile communication function
CN107172691B (en) Dormancy method of communication module of meter and meter
CN213659229U (en) Programmable controller with mobile communication function
CN115035700B (en) Train water-supply remote control automatic code matching method and device based on UWB positioning

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