Utility model content
In order to overcome the above-mentioned shortcoming of prior art, the utility model provides a kind of multi-parameter water-quality Acquisition Instrument based on ARM and GPRS technology.
In order to solve the problems of the technologies described above, the utility model is solved by following technical proposals:
A kind of multi-parameter water-quality Acquisition Instrument based on ARM and GPRS technology, comprise mainboard, 4.3 cun touch color LCD, analog acquisition plate and AV video acquisition plate, wherein analog acquisition plate, AV video acquisition plate adopts wired mode or wireless mode to be connected with mainboard respectively, mainboard adopts 32 level controller STM32, STM32 adopts COTEX-M3 kernel, analog acquisition plate is connected with multiple sensor input interface, described sensor is level sensor, rain sensor, wind detection sensor, Temperature Humidity Sensor, baroceptor, soil moisture content sensor, Dam Osmotic Pressure Automatic sensor, flow sensor, one or more in water quality sensor, analog acquisition plate is connected with 6 road 12V/24V power output interfaces, AV video acquisition plate is connected with AV video input interface, and AV video input interface is connected with video system, and AV video acquisition plate is connected with power output interface, and described power output interface is 1 road 12V/24V power output interface, mainboard has multiple RS232, RS485 data-interface.
In a preferred embodiment, analog acquisition plate, AV video acquisition plate adopt GPRS/CDMA, SMS, ultrashort wave (USW) or satellite channel mode to be connected with mainboard respectively.
In a preferred embodiment, 8 sensor input interfaces are connected in analog acquisition plate.
In a preferred embodiment, described level sensor is float-type, laser, ultrasound wave, pressure type or air bubble type water level sensor.
In a preferred embodiment, described rain sensor be 1mm, 0.5mm, 0.2mm mono-/two-man act tipping-bucket rain-gauge.
In a preferred embodiment, described STM32 inside comprises: inner 64K SRAM, lcd controller, is with the 5 passage UART shaken hands, 4 passage DMA, external storage controller, with 5 passage timers of PWM function, I/O port, RTC, 8 Channel 12-Bit ADC, 12C bus interface.
In a preferred embodiment, mainboard comprises crystal oscillating circuit and reset circuit and storer, and memory chip adopts SST25VF064.
In a preferred embodiment, also there is in mainboard 3 groups of 12V power output interfaces and 1 road 12V power input interface.
In a preferred embodiment, mainboard is touched color LCD by GPRS/CDMA, SMS, ultrashort wave (USW) or satellite channel mode be connected with 4.3 cun.
Multi-parameter water-quality Acquisition Instrument based on ARM and GPRS technology of the present utility model can carry out multiple spot, multi-parameters real-time monitoring, controls, convenient operation, each water quality parameter can be passed through GPRS module timing transmission feedwater matter monitoring management center quickly and easily.Should can be used for, in the systems such as hydrological telemetering, weather monitoring and environmental monitoring, completing field data collection, radio channels reportedly defeated control task based on the multi-parameter water-quality Acquisition Instrument of ARM and GPRS technology.Multi-parameter water quality online acquisition module is intelligentized design, and can monitor 12 parameters such as multiple water quality parameter, rainfall, water level and video, accessible sensor reaches kind more than 100, of many uses, strong adaptability simultaneously.By arranging the multi-parameter water-quality Acquisition Instrument based on ARM and GPRS technology of the present utility model, user in time, accurately can grasp the information such as regimen, rain condition, weather information and geological security, makes corresponding decision-making fast.
Embodiment
For making the object of the utility model embodiment, technical scheme and advantage clearly, below in conjunction with the accompanying drawing of the utility model embodiment, the technical scheme of the utility model embodiment is clearly and completely described.Obviously, described embodiment is a part of embodiment of the present utility model, instead of whole embodiments.Based on described embodiment of the present utility model, the every other embodiment that those of ordinary skill in the art obtain under without the need to the prerequisite of creative work, all belongs to the scope of the utility model protection.
As shown in Figure 1, multi-parameter water-quality Acquisition Instrument based on ARM and GPRS technology of the present utility model comprises mainboard, touches color LCD, analog acquisition plate and AV video acquisition plate, wherein analog acquisition plate, AV video acquisition plate can adopt wired mode preferably to adopt wireless mode such as GPRS/CDMA, SMS, ultrashort wave (USW) to be connected with mainboard with satellite channel mode respectively, thus carry out transmission and the transmission data of data message.Mainboard adopts 32 level controller STM32, STM32 adopts COTEX-M3 kernel, preferably touching color LCD adopts 4.3 cun to touch color LCD, further, analog acquisition plate is connected with multiple sensor input interface, wherein said sensor can be level sensor (float-type, laser, ultrasound wave, pressure type, bubble type etc.), rain sensor (1mm, 0.5mm, 0.2mm is mono-/two-man act tipping-bucket rain-gauge), wind detection sensor, Temperature Humidity Sensor, baroceptor, soil moisture content sensor, Dam Osmotic Pressure Automatic sensor, flow sensor, one or more in water quality sensor, also can be other digital sensors according to user's needs or analog sensor, in a preferred embodiment, 8 sensor input interfaces can be connected in analog acquisition plate.As shown in Fig. 9,10, further, analog acquisition plate is connected with multiple power output interface, and preferably, described multiple power output interface is 6 road 12V/24V power output interfaces.By connecting above-mentioned multiple different sensors, not only should can monitor water level, rainfall based on the multi-parameter water-quality Acquisition Instrument of ARM and GPRS technology, the different parameters such as other wind direction and wind velocities, humiture, air pressure, Dam Osmotic Pressure Automatic, soil moisture content, flow, water quality, evaporation capacity, work feelings parameter can also be monitored.AV video acquisition plate is connected with AV video input interface, AV video input interface can be connected with video system, the circuit structure of AV video input interface as shown in Figure 7, further, AV video acquisition plate is connected with power output interface, preferably, described power output interface is 1 road 12V/24V power output interface.
As shown in Figure 1, mainboard has multiple RS232, RS485 data-interface, and preferably adopting wireless mode such as GPRS/CDMA, SMS, ultrashort wave (USW) and satellite channel mode to touch color LCD be connected with 4.3 cun by wired mode, user directly can touch color LCDs by 4.3 cun and control mainboard.Information also can be sent to server or other control gears by described multiple RS232, RS485 data-interface by mainboard simultaneously.
Further, the hardware configuration of main board system comprises the design of minimum system and peripheral interface circuit, its control chip selected is the 32 level controller STM32 that ST releases, adopt COTEX-M3 kernel, STM32F103 series microprocessor is first 32 standard RISC (reduced instruction set computer) processors based on ARMv 7-M architecture, very high code efficiency is provided, there is low-power consumption, succinct and outstanding complete static characteristic.Most high primary frequency can reach 72MHz, and STM32 inside provides abundant parts, comprising: inner 64K SRAM, lcd controller, be with the 5 passage UART shaken hands, 4 passage DMA, external storage controller (chip selection logic, FP/EDO/SDRAM controller), with 5 passage timers of PWM function, I/O port, RTC, 8 Channel 12-Bit ADC, 12C bus interface etc.The high efficiency kernel of STM32 and abundant peripheral hardware, make it be applicable to very much being applied to embedded system, therefore selected STM32 as main control chip in the design.
As shown in Figure 1, 2, in the hardware configuration of main board system, minimum system needs to provide 5v, the voltage of 3.3v and 2.5v, the voltage of 5v required for driving circuit, and 3.3v is the IO voltage of STM32, and 2.5v is core voltage.Main board system outside adopts 12V DC power supply, and 5V, 3.3V and 2.5V voltage, by DC/DC circuit realiration, uses low pressure difference linear voltage regulator LDO (Low Dropout Regulator) chip AMSlll7-33 and AMSlll725 to export.1117 is the simplest power conversion chips of one, easy to use, cost is low, ripple is little, electromagnetic interference (EMI) is less.
Further, main board system comprises crystal oscillating circuit and reset circuit, and as shown in Figure 3, in main board system, CPU, system timer and the various clock control demands of CPU machine cycle in clock control.Crystal oscillating circuit is used for providing work clock to CPU and other circuit.In native system, STM32 uses the passive crystal oscillator of 8MHz, could produce oscillator signal by means of clock circuit, and PLL has the function of frequency amplification and purifying signal concurrently, and frequency multiplication puts 72MHz.Reset circuit adopts special chip to reset, the button reset function when electrification reset of main completion system and system cloud gray model.The chip reset function of reset signal and periphery is provided during system electrification.
As shown in Figure 4, main board system comprises storer, the SST25VF064 that memory chip adopts, and it is the CMOS multi-usage Flash of 1M × 16b, is used for storing the data of measurement parameter.
Multiple RS232 of mainboard, RS485 data-interface will complete the most basic Serial Communication Function, in fact only RXD is needed, TXD and GND, but due to the height that RS-232-C standard defines, the height that the LVTTL circuit of low level signal and S3C44BOX system defines, low level signal is completely different, standard logic " l " the corresponding 2V mono--3.3V level of LVTTL, standard logic " 0 " corresponding 0V "-0.4V level, and RS-232-C standard adopts negative logic mode, standard logic " l " corresponding .-5v ~-15V level, standard logic " O " correspondence+5V ~+15V level, obviously, to carry out communicating between the two having to pass through the conversion of signal level, therefore, signal level shift circuit is provided with in main board system, as shown in Figure 5.
As shown in Figure 6, the RS485 data-interface (being generally called RS485/EIA-485) of mainboard is that the electrical specification being under the jurisdiction of osi model Physical layer is defined as 2 lines, half-duplex, the standard of multi-point.Its electrical specification and RS-232 make a world of difference.Transmission of signal is represented with the voltage difference at cable two ends.RS485 merely specify the electrical specification of receiving terminal and transmitting terminal.It does not specify or recommends any data protocol.
As shown in Fig. 1,8, preferably, there is in main board system 3 groups of 12V power output interfaces and 1 road 12V power input interface.
Should touch Liquid Crystal Module in color LCD based on 4.3 cun of the multi-parameter water-quality Acquisition Instrument of ARM and GPRS technology is color touch screen, 4.3 inches, 480X272 resolution, 256TN type LCD display.LCD display buffer is mapped in the storage space of system, and program only needs vegetarian refreshments content to write the display that just can realize pixel color LCD screen from storer corresponding address.Following table is this Liquid Crystal Module signal:
Sequence number |
Indicate |
Function |
Remarks |
Sequence number |
Indicate |
Function |
Remarks |
1 |
5V |
Liquid crystal display power supply inputs |
5V |
2 |
GND |
Liquid crystal display ground |
0V |
3 |
D0 |
Data bus |
INOUT3.3V |
4 |
D1 |
Data bus |
INOUT3.3V |
5 |
D2 |
Data bus |
INOUT3.3V |
6 |
D3 |
Data bus |
INOUT3.3V |
7 |
D4 |
Data bus |
INOUT3.3V |
8 |
D5 |
Data bus |
INOUT3.3V |
9 |
D6 |
Data bus |
INOUT3.3V |
10 |
D7 |
Data bus |
INOUT3.3V |
11 |
D8 |
Data bus |
INOUT3.3V |
12 |
D9 |
Data bus |
INOUT3.3V |
13 |
D10 |
Data bus |
INOUT3.3V |
14 |
D11 |
Data bus |
INOUT3.3V |
15 |
D12 |
Data bus |
INOUT3.3V |
16 |
D13 |
Data bus |
INOUT3.3V |
17 |
D14 |
Data bus |
INOUT3.3V |
18 |
D15 |
Data bus |
INOUT3.3V |
19 |
CE |
LCD panel is selected, effectively low |
IN 3.3V |
20 |
RS |
* remarks are seen |
IN 3.3V |
21 |
WR |
Liquid crystal write signal is effectively low |
IN 3.3V |
22 |
RD |
Liquid crystal read signal is effectively low |
IN 3.3V |
23 |
PWM |
Backlight illumination adjustment end |
IN 3.3V |
24 |
RST |
Liquid crystal resets, effectively low |
IN 3.3V |
25 |
INT |
Touch-screen triggered interrupts |
OUT 3.3V |
26 |
T_CS |
Touch-screen sheet choosing end |
IN 3.3V |
27 |
T_CK |
Touch-screen clock inputs |
IN 3.3V |
28 |
T_D0 |
Touch screen data exports |
OUT 3.3V |
29 |
D_DI |
Touch screen data inputs |
IN 3.3V |
30 |
F_CS |
Word-base chip choosing end |
IN 3.3V |
As shown in figure 11, for 4.3 cun of this multi-parameter water-quality Acquisition Instrument based on ARM and GPRS technology touch the operation logic figure of color LCDs, user touches color LCDs by these 4.3 cun and carrys out touch operation and obtain the information data that this multi-parameter water-quality Acquisition Instrument based on ARM and GPRS technology gathers.
In sum, multi-parameter water quality online acquisition module can be used as solid storage equipment, during as single precipitation station, stores the rainfall per minute of 1 year, during as rainfall gaging station, stores every 5 minutes rainfall and the water level information of 1 year.The rainfall of storage can import server Computer, is written in materials compilation database.
The above, it is only the utility model preferred embodiment, not technical scope of the present utility model is imposed any restrictions, therefore every above embodiment is done according to technical spirit of the present utility model any trickle amendment, equivalent variations and modification, all still belong in the scope of technical solutions of the utility model.