Summary of the invention
Therefore, the objective of the invention is to solve at least one or more problems that the shortcoming of prior art recited above causes.
The purpose of this invention is to provide the system's Centralized Controller and the data processing method thereof of a kind of air environment monitoring publicity system, it can be managed effectively for the data of collecting from each sensor, and exports treated data result.
The system controller and the data processing method thereof that the purpose of this invention is to provide a kind of air environment monitoring publicity system, it can need offer data other management node or directly output to the LED screen and show with setting and system's setting in advance according to the user according to the user.
According to an aspect of the present invention, the system controller of a kind of air environment monitoring publicity system is provided, be to provide, and comprise following parts with integration mode as the autonomous device that separates with the transmitter and the display device of air environment monitoring publicity system:
Central processing portion, be used for handling procedure by setting in advance by the user, the data that receive from the outside via communications portion are handled, so that being converted to, these data are suitable for the form that the LED screen shows, wherein the data that should receive from the outside comprise the environmental data that receives from one or more transmitters, wherein under the situation of user setup data that does not receive and the user setup data input that receives from outer PC from the infrared remote control hardware interface from telepilot, every parameter that is provided with about the data that receive of this central processing portion reading pre-stored from data-carrier store, comprise supplemental characteristic, title data, the crawl data, text data and GB2312 word-base data, thus complete video data exported again in conjunction with the environmental data that receives from sensor;
Power unit, its various piece for system controller provides its work required power supply;
The clock part, it is used to produce the work schedule of clock with the control various piece;
Communications portion, provide multiple communication interface to connect peripherals, described communication interface also comprises the infrared remote control hardware interface, described a plurality of communication interface is connected with the remote monitoring server or the external communications equipment of this system controller, to receive data from peripherals and to send data to each equipment, wherein, the data that receive from peripherals comprise by the infrared remote control hardware interface from the user setup data of telepilot reception and the user setup data that receives from outer PC;
The led driver interface section, it is used to connect led driver, shows so that the data of central processing department divisional processing are sent to led driver.
Wherein, this central processing portion further comprises data-carrier store, so that storage via the data of the routine processes of central processing portion, is perhaps directly stored from the outside data that receive, untreated.
Wherein, the data that should receive from the outside comprise from the user setup data of telepilot reception and the user setup data that receives from external PC.
According to a further aspect in the invention, the data processing method of a kind of air environment monitoring publicity system is provided, this method is used in the system controller of the autonomous device that conduct and the transmitter and the display device of air environment monitoring publicity system are separated, the system data of environmental data, user setup data and storage in advance is converted to the form that is suitable for the demonstration of LED screen together, thereby as video data output, the step of this data processing method is as follows:
This system controller is provided with the sensor interface subroutine, receives temperature data (S101) through hardware interface from temperature sensor;
Whether the central processing portion inspection utilizes infrared scan and decoding subroutine to receive the supplemental characteristic (S102) that the user is provided with through telepilot from the infrared remote control hardware interface;
The perhaps data (S103) that are provided with of the user who receives from short range PC or long-range PC;
Do not receive under the situation of related data in inspection, this central processing portion reads the system data (S104) that sets in advance from data-carrier store;
Clock read-write subroutine is from clock hardware interface receive clock (S105);
After having read required video data from the peripherals reception of connection or from data-carrier store, this central processing portion will be through infrared remote control hardware and the user setup data that receives from external PC, from data-carrier store reading system data, and environmental data is formed complete video data (S106) together;
Utilize LED screen scanning subroutine, this central processing portion is with video data, comprising the temperature data that receives, the Show Color, brightness, the pattern that are provided with, current time, title, crawl and other text send to external LED screen through LED screen hardware interface together, thereby show (S107) at the enterprising line data of display screen;
This central processing portion can be according to user's setting, and with the above-mentioned total data that receives from telepilot or external PC, perhaps the part of data is stored in the data-carrier store with as system data (S108);
According to user's needs, this central processing portion is also with the whole or a part of long-range PC or short range PC (S109) that send to connection of video data.
By system controller of the present invention and data processing method, the present invention can effectively handle and manage for the environmental data that receives, thereby is convenient to user's use.
Embodiment
Describe specific embodiments of the invention below with reference to the accompanying drawings in detail.
Fig. 2 is the block diagram according to air environment monitoring publicity of the present invention system.
As shown in Figure 2, air environment monitoring publicity of the present invention system 100 mainly contains three parts and forms, that is, and and LED screen 100, system controller 200 and one or more transmitter 300.
According to the present invention, this electronics publicity system 100 has one or more transmitters 300, and for example, it can be CO
2+ CO+ temperature+humidity network transmitter, or other kind network transmitter are such as F2000TSM-IAQ-S401-N.This transmitter 300 can adopt the infrared CO of NDIR
2Sensor, CO sensor, NTC thermistor, capacitance/resistance formula humidity sensor are monitored airborne CO
2, CO concentration, and the temperature and humidity of air.This transmitter 300 also comprises intelligent AVR chip, high-speed communication chip etc., thus the carbon dioxide (CO in the monitored site space that will gather
2) concentration, carbon monoxide (CO) concentration, temperature, humidity raw data is sent to system controller 200 by the communication interface of himself after treatment.In the present invention, transmitter 300 gather the concentration of airborne multiple gases and temperature, humidity, etc. environmental parameter, carry out data processing such as A/D conversion and linearization, filtering by embedded microprocessor microcontroller itself, obtain the measured value of respective environment parameter, directly be sent to system controller 200 by the RS485 communication interface again.This system controller 200 can adopt the processor of high-speed high capacity, for example, 32 little process chip of ARM series A T91SAM7S256, it can carry out high-speed communication, and have RS232, RS485, usb communication interface and the interface that docks with the GPRS module, led driver driving interface, thereby can be connected with opertaing device that has above interface arbitrarily and display terminal.This system controller 200 receives data by communication interface from one or more transmitters 300, and further handles for the data that receive, and is sent in real time on the LED display 100 by the led driver driving interface afterwards.Simultaneously, can connect with miscellaneous equipment, data are sent in the supervising the network by communication interface.In the present invention, system controller 200 has the partial data that substitutes DDC (field controller)+PC in the present application model to be handled and control function, and adopt embedded microprocessor microcontroller to accept the data of transmitter 100 by the RS485 interface, control the display mode and the displaying contents of LED screen after being handled again.According to a preferred embodiment of the invention, system controller 200 of the present invention can provide the display mode of 5 kinds of LED screens, comprises selections such as font size, color, position.
Describe system controller 200 of the present invention in detail below with reference to Fig. 3.
As shown in Figure 3, system controller 200 of the present invention comprises central processing portion 201, power unit 202, clock part 203, communications portion 204 and led driver interface section 205.
Wherein, central processing portion 201 adopts the form of integrated chip, for example, can be the ARM series monolithic AT91SAM7S256 of American ATMEL, thereby for handling from the data that one or more transmitters 300 receive through communications portion 204, and the data that control will be handled are sent to LED display 100 through led driver interface section 205.Wherein, this central processing portion 201 can further comprise storer, and this storer can be connected with central processing portion 201 by serial ports, is used to store the character library of LED display.
In certain embodiments of the invention, communications portion 204 can comprise two-way RS485 communication interface and one road RS232 communication interface, and USB interface.For example, this RS485 communication interface adopts the U.S. letter MAX487E of company of the U.S. chip of two 5V, by level transferring chip (for example, 74LVC07AD) link to each other with central processing portion 201, this two-way RS485 communication interface wherein one the road and the RS232 communication interface public, can select RS485 by the jumper terminal on the wiring board still is the RS232 interface.In addition, this communications portion 204 can also comprise the usb communication interface, and for example, its USB interface that adopts single chip computer AT 91SAM7S256 to carry is equipped with peripheral circuit and constitutes.This Universal USB interface makes the very easy to use of communications portion.
In certain embodiments of the invention, for example, clock part 203 is made up of HT1381 clock chip, battery, crystal oscillator etc., and it can show and comprises year, month, day, ten, minute, second, week equal time.
Power unit 202 is applicable to wide in range voltage input, for example AC/DC12V-40V.This power unit 202 can have high performance power management chip, such as, LM2576-5V,, the voltage used for LED display board, remote control, RS485 signal post with output, and this power unit 202 can utilize voltage stabilizer with output voltage, for example, 5V is converted to the voltage that is applicable to central processing portion, storer and communications portion, for example, and 3.3V.
Led driver interface section 205 is used to provide display board data and control timing by high-speed bus driver chip and multiple connector, a plurality of high speed or door and a plurality of pin jack.
Here, multiple communication interface that system controller of the present invention 200 is integrated, for example, RS232 interface, RS485 interface, USB interface and led driver interface.This system controller can connect peripheral processing unit by these communication interfaces, as remote monitoring server, perhaps external communications equipment, such as GPRS equipment directly to carry out radio communication.Like this, system controller of the present invention can with remote monitoring server and other communication apparatus communication, thereby receive various instruction and datas from it.And this system controller 200 can be carried out corresponding operation after the instruction that receives remote monitoring server, and, after the data that receive from remote monitoring server or other communication facilities, can further send to display screen to show.Like this, air monitering publicity of the present invention system can also be used to issue commonweal informations such as public good safe and sanitary information, public service ads information, Weather information.And according to embodiments of the invention, this system controller 200 can also have calendar clock, multiple function such as infrared remote control.
Below with reference to Fig. 4, it shows the explanatory view of whole processing of public place air environment monitoring display system of the present invention.
As shown in Figure 4, storage is used to control the master routine of total system in the central processing portion of system controller of the present invention, its subroutine cycle of carrying out for each interface calls, with predetermined time interval (for example, 10 seconds) inquire about each sensor, thereby by with the interface receiving sensor data of each sensor, and by clock interface receive clock program.In processing procedure, the external user order that this central processing portion utilization receives from telepilot by the infrared remote control hardware interface, for example, order about Show Color, brightness, pattern and clock setting handles for the data that receive, and every parameter that is provided with that will receive is stored in the data-carrier store.Simultaneously, not under the situation of the correlation parameter of outside input, the every parameter that is provided with about the data that receive of this central processing portion reading pre-stored from data-carrier store.For example, central processing portion reads supplemental characteristic, title data, crawl data, text data and GB2312 word-base data etc. from data-carrier store.Thereby export complete video data again in conjunction with the environmental data that receives from sensor.In addition, this central processing portion can be utilized RS232 interface subroutine, through the RS232 interface data is sent to peripheral PC, perhaps sends to long-range PC by the GPRS module, and receives from every display parameter of short range or the input of long-range PC.
Below, will the indicative flowchart of handling according to the exemplary temperature data of air environment monitoring publicity of the present invention system be described with reference to figure 5.
At first, this system controller utilizes the sensor interface subroutine, receives temperature data (S101) through hardware interface from temperature sensor, and for example, the temperature of current induction is 30 degrees centigrade.After this, whether the central processing portion inspection utilizes infrared scan and decoding subroutine to receive the supplemental characteristic (S102) that the user is provided with through telepilot from the infrared remote control hardware interface, the perhaps data (S103) that are provided with of the user who receives from short range PC or long-range PC, do not receive under the situation of related data in inspection, this central processing portion reads the system data (S104) that sets in advance from data-carrier store, for example, supplemental characteristic, title data, crawl data or the like, and utilize clock read-write subroutine from clock hardware interface receive clock (S105), after having read required video data from the peripherals reception of connection or from data-carrier store, this central processing portion will be through infrared remote control hardware and the user setup data that receives from external PC, the system data that reads from data-carrier store, and environmental data is formed complete video data (S106) together.Here, do not show under the required data conditions system data of storage in advance that reads from data-carrier store receiving from telepilot or external PC.Utilize LED screen scanning subroutine, this central processing portion is with video data, in the present embodiment, the temperature data that receives, the Show Color that is provided with, brightness, pattern etc., current time, title, crawl and other text send to external LED screen through LED screen hardware interface together, thereby show (S107).Simultaneously, this central processing portion can be according to user's setting, and with the above-mentioned total data that receives from telepilot or external PC, perhaps the part of data is stored in the data-carrier store with as system data (S108).According to user's needs, this central processing portion is also with the whole or a part of long-range PC or short range PC (S109) that send to connection of video data.
According to top described, system controller of the present invention can effectively be handled and manage for the environmental data that receives, thereby setting according to the user, other supplemental characteristic that needs with the user together, the display format of wishing with the user sends to the LED screen showing, thereby is convenient to watching of user.In addition, system controller of the present invention can also optionally send to external PC with data, or through communication interface data is sent to other network, thereby is convenient to the management for Monitoring Data.
Those of ordinary skills can know that above-mentioned is the schematic description of the control method of system controller of the present invention.The environmental data of wherein each kind induction can be according to user's the change that needs through various supplemental characteristics and other demonstration related data of telepilot or PC setting by the user.The present invention is not limited to particular data recited above.In addition, the order of above-mentioned step is exemplary, and the present invention is not limited to this particular order, but can change, for example, central processing portion can at first be checked the data that are provided with from external PC, check the data that are provided with from telepilot afterwards, perhaps both carry out simultaneously.
In addition, each above-mentioned subroutine, for example infrared scan and decoding subroutine, clock read-write subroutine, perhaps each interface subroutine is for well known to a person skilled in the art, as long as it can satisfy function of the present invention, the present invention does not specifically limit these subroutines.