CN210377462U - Data acquisition transmission frame structure - Google Patents
Data acquisition transmission frame structure Download PDFInfo
- Publication number
- CN210377462U CN210377462U CN201921766050.5U CN201921766050U CN210377462U CN 210377462 U CN210377462 U CN 210377462U CN 201921766050 U CN201921766050 U CN 201921766050U CN 210377462 U CN210377462 U CN 210377462U
- Authority
- CN
- China
- Prior art keywords
- data
- module
- data acquisition
- serial port
- main
- 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.)
- Expired - Fee Related
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 60
- 238000004891 communication Methods 0.000 claims abstract description 15
- 238000007405 data analysis Methods 0.000 claims abstract description 9
- 230000002159 abnormal effect Effects 0.000 claims description 3
- 238000000034 method Methods 0.000 description 7
- 238000004458 analytical method Methods 0.000 description 6
- XKMRRTOUMJRJIA-UHFFFAOYSA-N ammonia nh3 Chemical compound N.N XKMRRTOUMJRJIA-UHFFFAOYSA-N 0.000 description 2
- 239000010865 sewage Substances 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 1
Images
Landscapes
- Arrangements For Transmission Of Measured Signals (AREA)
Abstract
The utility model discloses a data acquisition transmission frame structure, it sends the processing task to parallel independent processing module through the serial ports of main singlechip, lets independent processing module handle by oneself for main singlechip's CPU performance keeps quick response speed, ensures that data transmission is high-efficient quick. The main singlechip is including four serial ports, be first serial ports, second serial ports, third serial ports, fourth serial ports respectively, the outside independent data display module of second serial ports connection, the outside independent data transmission module of third serial ports connection, the outside independent data acquisition module of fourth serial ports connection, the main singlechip passes through the serial ports mode and is connected with each module communication of outside independence, be provided with data analysis module in the main singlechip, data analysis module will carry out the logic judgement through the data that data acquisition module gathered, gives data display module to the data transmission who will show, gives data transmission to the network server to the data transmission who will send.
Description
Technical Field
The utility model relates to a technical field of data acquisition transmission specifically is a data acquisition transmission frame structure.
Background
The existing data acquisition instrument is developed by adopting an 8-bit or 32-bit singlechip, and because the singlechip is a single thread, each event, such as acquisition of one data and display of one data, occupies a CPU (central processing unit) independently, the response speed of the CPU is influenced when the number of the events needing to be managed is more than a certain degree, although the existing data acquisition instrument can basically meet the use requirement, the existing data acquisition instrument is not scientific in terms of a data acquisition transmission frame structure; the communication is basically selected to be a GPRS communication module, a relatively large difference is established between the communication and the current network bandwidth capacity, and 3G exits the stage slowly with the arrival of 5G, so that the existing communication also has the problems of slow speed and old technology.
Disclosure of Invention
To the problem, the utility model provides a data acquisition transmission frame structure, its serial ports through main singlechip send the processing task to parallel independent processing module, let independent processing module handle by oneself for main singlechip's CPU performance keeps the quick response speed, ensures that data transmission is high-efficient quick.
A data acquisition transmission frame structure is characterized in that: the system comprises a main singlechip, wherein the main singlechip comprises four serial ports, namely a first serial port, a second serial port, a third serial port and a fourth serial port, the second serial port is connected with an external independent data display module, the third serial port is connected with an external independent data transmission module, the fourth serial port is connected with an external independent data acquisition module, the main singlechip is in communication connection with each external independent module in a serial port mode, a data analysis module is arranged in the main singlechip, the data analysis module carries out logic judgment on data acquired by the data acquisition module, the data to be displayed is sent to the data display module, and the data to be sent to a network server is sent to the data transmission module; the power supply and drive module is connected with the main singlechip and provides power supply and drive circuit for the main singlechip and each function module connected with the main singlechip.
It is further characterized in that:
the data acquisition module can continuously and automatically acquire data after being normally powered and driven, and stores and transmits the data according to a Modbus protocol;
the data display module comprises a serial port display screen, and the data display module displays the updated typesetting data information through the serial port display screen after completing display updating and typesetting operations;
the data transmission module independently completes connection, data sending and feedback receiving with a network server, a communication module is arranged in the data transmission module, and the communication module comprises a wireless transmission module and a wired transmission module and covers 5G, 4G networks and WIFI;
the first external load and the second external load are respectively connected with corresponding IO ports of the single chip microcomputer through corresponding control switches, and the first external load and the second external load are arranged according to actual requirements;
the main single chip microcomputer is also respectively connected with a first state indicator lamp, a second state indicator lamp and a warning horn through independent IO ports, the first state indicator lamp is used for displaying a corresponding data acquisition state, and the data transmission state between the data acquisition module and the main single chip microcomputer is distinguished through the display states of different display lamps; the second state indicator light distinguishes the data transmission state between the data transmission module and the main singlechip through the display states of different display lights; the warning horn gives out sound alarm when the main singlechip is in an abnormal state.
By adopting the utility model, the single processing single thread of the single chip microcomputer is changed into the multi-processing multi-thread, the main program of the main single chip microcomputer sends the processing tasks to the parallel data display module, the data transmission module and the data acquisition module, the independent data display module, the data transmission module and the data acquisition module can process the processing tasks automatically, and the main single chip microcomputer processes the processing tasks in the same time without being busy; the processing tasks are sent to the parallel independent processing modules through the serial ports of the main single chip microcomputer, the independent processing modules are enabled to process automatically, the CPU performance of the main single chip microcomputer keeps the quick response speed, and the high efficiency and the high speed of data transmission are guaranteed.
Drawings
Fig. 1 is a schematic view of the frame structure of the present invention.
The names corresponding to the sequence numbers in the figure are as follows:
the device comprises a main singlechip 1, a second serial port 2, a third serial port 3, a fourth serial port 4, a data display module 5, a data transmission module 6, a data acquisition module 7, a warning horn 8, a data analysis module 9, a power supply and driving module 10, a serial port display screen 11, a communication module 12, a first external load 13, a second external load 14, a control switch 15, a first state indicator light 16 and a second state indicator light 17.
Detailed Description
A data acquisition and transmission framework structure, see fig. 1: the main singlechip 1 comprises four serial ports, namely a first serial port (unused in the figure and temporarily not marked), a second serial port 2, a third serial port 3 and a fourth serial port 4, wherein the second serial port 2 is connected with an external independent data display module 5, the third serial port 3 is connected with an external independent data transmission module 6, the fourth serial port 4 is connected with an external independent data acquisition module 7, the main singlechip 1 is in communication connection with each external independent module in a serial port mode, a data analysis module 9 is arranged in the main singlechip 1, the data analysis module 9 carries out logic judgment on data acquired by the data acquisition module 7, the data to be displayed is sent to the data display module 5, and the data to be sent to a network server is sent to the data transmission module 6; the intelligent control system also comprises an external power supply and drive module 10, wherein the power supply and drive module 10 is connected with the main singlechip 1 and provides power supply and drive circuits for the main singlechip 1 and each function module connected with the main singlechip.
The first serial port is reserved according to the condition of the external module which is actually set.
In a specific embodiment, the serial port mode includes but is not limited to TTL, RS232, and RS485 serial port connection mode.
The data acquisition module 7 can continuously and automatically acquire data after being normally powered and driven, and stores and transmits the data according to a Modbus protocol;
the data display module 5 comprises a serial port display screen 11, and the data display module 5 displays the updated typesetting data information through the serial port display screen 11 after completing the display updating and typesetting operations;
the data transmission module 6 independently completes connection, data sending and feedback receiving with a network server, a communication module 12 is arranged in the data transmission module 6, and the communication module 12 comprises a wireless transmission module and a wired transmission module and covers 5G and 4G networks and WIFI;
the first external load 13 and the second external load 14 are respectively connected with corresponding IO ports of the single chip microcomputer through corresponding control switches 15, and the first external load 13 and the second external load 14 are arranged according to actual requirements;
the main single chip microcomputer 1 is also respectively connected with a first status indicator lamp 16, a second status indicator lamp 17 and a warning horn 8 through independent IO ports, the first status indicator lamp 16 is used for displaying a corresponding data acquisition state and distinguishing a data transmission state between the data acquisition module 7 and the main single chip microcomputer 1 through display states of different display lamps; a second status indicator 17 for distinguishing the data transmission status between the data transmission module 6 and the master chip 1 by the display status of different display lamps; the warning horn 8 gives out sound alarm when the main singlechip 1 is in an abnormal state.
The working process comprises the following steps: the main single chip microcomputer reads data acquired by the data acquisition module according to set time, logic judgment is carried out on the read data, the data to be displayed are sent to the data display module, the data to be sent to the network server are sent to the data transmission module, the state of the counter indicator lamp, the state of the control switch and the state of the warning module are changed through the IO port according to data and logic analysis, and after the processing is finished, the main single chip microcomputer continues to wait for the arrival of the next time node and process related interrupt events.
The working principle is as follows: the single processing single thread of the single chip microcomputer is changed into multi-processing multi-thread, the main program of the main single chip microcomputer sends processing tasks to the parallel data display module, the data transmission module and the data acquisition module, the independent data display module, the independent data transmission module and the independent data acquisition module carry out self-processing, and the main single chip microcomputer processes the processing tasks in the same time and cannot be busy and unavailable; the processing tasks are sent to the parallel independent processing modules through the serial ports of the main single chip microcomputer, the independent processing modules are enabled to process automatically, the CPU performance of the main single chip microcomputer keeps the quick response speed, and the high efficiency and the high speed of data transmission are guaranteed.
When the data transmission frame structure is used for the data acquisition instrument, COD, ammonia nitrogen and PH automatic analysis instruments are installed in the sewage treatment plant, according to the management requirement, the automatic analysis data need to be transmitted to the management platform of the ecological environment hall in real time, but the automatic analysis instrument does not have the data transmission function, only the automatic analysis result is output outwards in the form of 4-20mA analog quantity, and the data acquisition instrument is connected to the data acquisition instrument adopting the utility model discloses data transmission frame structure, the data acquisition instrument can obtain the sewage treatment plant in real time and install COD, ammonia nitrogen and PH automatic analysis results, and send the real-time result to the server of the management platform of the ecological environment hall.
It is obvious to a person skilled in the art that the invention is not restricted to details of the above-described exemplary embodiments, but that it can be implemented in other specific forms without departing from the spirit or essential characteristics of the invention. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned.
Furthermore, it should be understood that although the present description refers to embodiments, not every embodiment may contain only a single embodiment, and such description is for clarity only, and those skilled in the art should integrate the description, and the embodiments may be combined as appropriate to form other embodiments understood by those skilled in the art.
Claims (6)
1. A data acquisition transmission frame structure is characterized in that: the system comprises a main singlechip, wherein the main singlechip comprises four serial ports, namely a first serial port, a second serial port, a third serial port and a fourth serial port, the second serial port is connected with an external independent data display module, the third serial port is connected with an external independent data transmission module, the fourth serial port is connected with an external independent data acquisition module, the main singlechip is in communication connection with each external independent module in a serial port mode, a data analysis module is arranged in the main singlechip, the data analysis module carries out logic judgment on data acquired by the data acquisition module, the data to be displayed is sent to the data display module, and the data to be sent to a network server is sent to the data transmission module; the power supply and drive module is connected with the main singlechip and provides power supply and drive circuit for the main singlechip and each function module connected with the main singlechip.
2. A data acquisition and transmission frame structure as claimed in claim 1, wherein: the data acquisition module can continuously and automatically acquire data after being normally powered and driven, and stores and transmits the data according to a Modbus protocol.
3. A data acquisition and transmission frame structure as claimed in claim 1, wherein: the data display module comprises a serial port display screen, and the data display module displays the updated typesetting data information through the serial port display screen after completing the display updating and typesetting operations.
4. A data acquisition and transmission frame structure as claimed in claim 1, wherein: the data transmission module independently accomplishes connection, data transmission, feedback receipt with network server, the data transmission module embeds there is communication module, communication module includes wireless transmission module, wired transmission module, and covers 5G, 4G network and WIFI.
5. A data acquisition and transmission frame structure as claimed in claim 1, wherein: and the first external load and the second external load are respectively connected with the corresponding IO ports of the main singlechip through corresponding control switches, and are arranged according to actual requirements.
6. A data acquisition and transmission frame structure as claimed in claim 1, wherein: the main single chip microcomputer is also respectively connected with a first state indicator lamp, a second state indicator lamp and a warning horn through independent IO ports, the first state indicator lamp is used for displaying a corresponding data acquisition state, and the data transmission state between the data acquisition module and the main single chip microcomputer is distinguished through the display states of different display lamps; the second state indicator light distinguishes the data transmission state between the data transmission module and the main singlechip through the display states of different display lights; the warning horn gives out sound alarm when the main singlechip is in an abnormal state.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201921766050.5U CN210377462U (en) | 2019-10-21 | 2019-10-21 | Data acquisition transmission frame structure |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201921766050.5U CN210377462U (en) | 2019-10-21 | 2019-10-21 | Data acquisition transmission frame structure |
Publications (1)
Publication Number | Publication Date |
---|---|
CN210377462U true CN210377462U (en) | 2020-04-21 |
Family
ID=70256550
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201921766050.5U Expired - Fee Related CN210377462U (en) | 2019-10-21 | 2019-10-21 | Data acquisition transmission frame structure |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN210377462U (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113075902A (en) * | 2020-05-18 | 2021-07-06 | 格联(上海)物联技术有限公司 | PLC data acquisition device |
-
2019
- 2019-10-21 CN CN201921766050.5U patent/CN210377462U/en not_active Expired - Fee Related
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113075902A (en) * | 2020-05-18 | 2021-07-06 | 格联(上海)物联技术有限公司 | PLC data acquisition device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1232559A (en) | Maintenance interface device for use in process control network | |
CN101022688A (en) | City road lamp remote monitoring high-efficiency energy-saving regulation and control method and device | |
CN210377462U (en) | Data acquisition transmission frame structure | |
CN101060736B (en) | Street lamp remote control system | |
CN104090549A (en) | Remote water supply control system | |
CN101571716A (en) | Workshop monitoring alarm system based on CAN bus | |
CN215374056U (en) | Temperature and humidity acquisition device with multi-machine cascade automatic address allocation function | |
CN207257386U (en) | A kind of vehicle-mounted liquid crystal combination instrument | |
CN210466052U (en) | Hardware-in-loop test system of hybrid power system | |
CN211653438U (en) | Sewing machine working state monitoring device | |
CN210670111U (en) | Be applied to communication debugging equipment of wisdom lamp pole | |
CN210377827U (en) | Data acquisition and transmission structure of equipment operation recorder | |
CN201323593Y (en) | Network device for automatic smooth switching between various network topology structures | |
CN1061806C (en) | Centralized operation and maintenance system of program-controlled exchanger | |
CN2711993Y (en) | Centralized monitoring automatic warning system for communication equipment | |
CN202197272U (en) | Indicating lamp panel device | |
US20030122679A1 (en) | Production system wherein fabrication data are collected using light tower control signals | |
CN215416337U (en) | Large-scale public building energy consumption collection system based on Niagara | |
Kulovits et al. | System architecture for variable message signs | |
JPH05211686A (en) | Gateway data collection system | |
CN216450092U (en) | Engineering big data overall process intelligent management platform | |
CN211047120U (en) | Comprehensive intelligent distribution frame management device suitable for private network | |
CN213875965U (en) | Monitoring module based on power supply system | |
CN112631188A (en) | Emergent debugging control system of wisdom lamp pole | |
CN210162971U (en) | Elevator control box control system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20200421 |