A kind of automatic control aquatic farm master control platform control method
Technical field
The present invention relates to a kind of automatic control aquatic farm master control platform control methods.
Background technique
Scale automatic control aquaculture in the prior art, general two ways select one, and it is independent that one is each aquaculture ponds
Control, multiple aquaculture ponds are either still respectively adopted different control modes using same control mode, are required to each
The controller of aquaculture pond is independently arranged parameter, thus while single aquaculture pond adjusts control mode when replacing kind conveniently, but
It is extremely onerous if scale;Another kind is uniformly controlled using control or master control platform in one, for any aquaculture pond
Control mode setting can the mass processing in middle control or master control platform, but in scale, middle control or the calculating of master control platform
Pressure and communication pressure are all larger, and adjustment control mode is more troublesome when aquaculture pond replaces kind, and trouble place is main
After being embodied in repeatedly replacement kind, the breed variety distribution of aquaculture pond can be very random, and mass is set in middle control at this time or master control platform
When setting, operates and be easy to fault.On the other hand, no matter which kind of mode, at present be typically all temperature is independently arranged to each aquaculture pond
The electronic component of the environment measurings such as degree, humidity, cost are high.
For this purpose, a kind of automatic control aquatic farm control system (and in addition having applied for a patent) of our company's independent design, but
In the prior art lack can directly transplanting prosecutor method.
Summary of the invention
In order to solve the above technical problems, the present invention provides a kind of automatic control aquatic farm master control platform control method, it should be certainly
It controls aquatic farm master control platform control method to be arranged by reasonable step, can effectively realize to the more of scale aquaculture
Grade grouping control, efficiently accomplishes cultivation under the premise of the electronic component cost of the environment measurings such as temperature, humidity is greatly reduced
Control.
The present invention is achieved by the following technical programs.
A kind of automatic control aquatic farm master control platform control method provided by the invention, includes the following steps:
1. receiving environmental data: sending data request signal to Node Controller one by one, and wait each node control to be received
The environmental data of device feedback processed;
2. establishing distribution map: the Node Controller location information stored by the environmental data received, connecting inner, more
New environment data profile;
3. calculating controlling value: according to position of each aquaculture pond in environmental data distribution map, obtaining each aquaculture pond
Then environmental data calculates heating intensity, feeding period according to the control target value of each aquaculture pond;
4. comparison grouping: breed variety packet data set by user is extracted, by the heating intensity of aquaculture pond, feeding period
Data packet compression is at control data;
5. sending instruction: each grouping control data are sent to corresponding Node Controller.
The environmental data includes temperature value and humidity value.
The step 2. in when updating environmental data distribution map, as there is no the last environmental data being calculated in memory
Distribution map then creates environmental data distribution map.
The control target value of the aquaculture pond is set by user's batch.
The aquaculture pond control target value of each grouping is consistent.
The step 3. according to the control target value of each aquaculture pond calculate heating intensity, feeding period, calculated using PID
Method.
The environmental data distribution map is thermodynamic chart.
The breed variety grouping, one Node Controller of every group of distribution in user grouping setting, and when each setting
Packet data is updated in storage inside.
The beneficial effects of the present invention are: by reasonable step setting, can effectively realize to scale aquaculture
Multi-step grouping control, efficiently accomplished under the premise of the electronic component cost of the environment measurings such as temperature, humidity is greatly reduced
Cultivation control, is particularly based on the mode for updating environmental data distribution map, each aquaculture pond can be realized under conditions of non-straight control
PID control, so that being greatly reduced for electronic component cost does not interfere with going on smoothly for cultivation control.
Detailed description of the invention
Fig. 1 is the control system connection schematic diagram that the present invention applies.
Specific embodiment
Be described further below technical solution of the present invention, but claimed range be not limited to it is described.
The present invention provides a kind of automatic control aquatic farm master control platform control method, includes the following steps:
1. receiving environmental data: sending data request signal to Node Controller one by one, and wait each node control to be received
The environmental data of device feedback processed;
2. establishing distribution map: the Node Controller location information stored by the environmental data received, connecting inner, more
New environment data profile;
3. calculating controlling value: according to position of each aquaculture pond in environmental data distribution map, obtaining each aquaculture pond
Then environmental data calculates heating intensity, feeding period according to the control target value of each aquaculture pond;
4. comparison grouping: breed variety packet data set by user is extracted, by the heating intensity of aquaculture pond, feeding period
Data packet compression is at control data;
5. sending instruction: each grouping control data are sent to corresponding Node Controller.
The environmental data includes temperature value and humidity value.
The step 2. in when updating environmental data distribution map, as there is no the last environmental data being calculated in memory
Distribution map then creates environmental data distribution map.
The control target value of the aquaculture pond is set by user's batch.
The aquaculture pond control target value of each grouping is consistent.
The step 3. according to the control target value of each aquaculture pond calculate heating intensity, feeding period, calculated using PID
Method.
The environmental data distribution map is thermodynamic chart.
The breed variety grouping, one Node Controller of every group of distribution in user grouping setting, and when each setting
Packet data is updated in storage inside.
Present invention is mainly applied to automatic control aquatic farm control system as shown in Figure 1, the automatic control aquatic farm controls
System processed, including master control platform, Node Controller, terminal controller;Master control platform and Node Controller are logical by LoRaWAN module
Letter, Node Controller are communicated with terminal controller by LORA module, and Node Controller connects Temperature Humidity Sensor, end-of-pipe control
Device connection control heating module and drawing-in device;The quantity of Node Controller and terminal controller is multiple;Multiple end controls
Device processed is not to know quantity to the packet mode paired communication of a Node Controller;In master control platform and Node Controller
In LoRaWAN communication, master control platform connection control LORA gateway, Node Controller connection control LORA mode is as communication node;
During Node Controller and terminal controller are communicated by LORA module, using ad hoc mode.