CN110162122B - Greenhouse control system with double central control - Google Patents

Greenhouse control system with double central control Download PDF

Info

Publication number
CN110162122B
CN110162122B CN201910355216.2A CN201910355216A CN110162122B CN 110162122 B CN110162122 B CN 110162122B CN 201910355216 A CN201910355216 A CN 201910355216A CN 110162122 B CN110162122 B CN 110162122B
Authority
CN
China
Prior art keywords
central
unit
control
communication module
model calculation
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.)
Active
Application number
CN201910355216.2A
Other languages
Chinese (zh)
Other versions
CN110162122A (en
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.)
Guizhou Guigu Agricultural Co ltd
Original Assignee
Guizhou Guigu Agricultural 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 Guizhou Guigu Agricultural Co ltd filed Critical Guizhou Guigu Agricultural Co ltd
Priority to CN201910355216.2A priority Critical patent/CN110162122B/en
Publication of CN110162122A publication Critical patent/CN110162122A/en
Application granted granted Critical
Publication of CN110162122B publication Critical patent/CN110162122B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D27/00Simultaneous control of variables covered by two or more of main groups G05D1/00 - G05D25/00
    • G05D27/02Simultaneous control of variables covered by two or more of main groups G05D1/00 - G05D25/00 characterised by the use of electric means

Abstract

The invention provides a double-central-control greenhouse control system, which comprises a local execution control assembly and a central deployment control assembly; the local execution control assembly comprises an execution mechanism, a sensing mechanism, an execution control unit and a terminal communication module, and the central deployment control assembly comprises a central communication module, a storage controller, a storage unit, a central control unit, a model calculation unit and a coordination arbitration unit; according to the invention, through a time-sharing operation mode of the central control unit and the model calculation unit, the energy consumption can be effectively reduced, the intelligent control of greenhouse planting is in a more reasonable and higher automation level, the defect of unstable long-time operation of the high-performance ARM core microprocessor is overcome at an extremely low cost, the system energy consumption is effectively reduced in a dual-mode switching mode, and meanwhile, the normal updating of a deep learning model is not influenced, so that the maintenance cost of a large-scale greenhouse control system with higher intelligent degree is finally greatly reduced.

Description

Greenhouse control system with double central control
Technical Field
The invention relates to a greenhouse control system with double central control units.
Background
At present, the related technology of a control system of a vegetable planting greenhouse is still developed more thoroughly, for example, the invention patent with the application number of CN201710873496.7 discloses an intelligent control system of the vegetable planting greenhouse, which can automatically control the environment of the vegetable greenhouse, for example, the invention patent with the application number of CN201811270003.1 discloses a crop growth model selection method and a device based on a neural network, which can effectively optimize the control of the planting environment by using a deep learning technology, and for example, the invention patent with the application number of CN201811281366.5 discloses an intelligent control system of the agricultural greenhouse based on raspberry group, which can enable complex automatic control logic to be loaded on a low-cost high-performance ARM kernel microprocessor development board.
Through rationally integrating above-mentioned scheme can obtain the higher big-arch shelter control system of intelligent degree, but problem wherein is also very obvious:
1. the high-performance ARM core microprocessor development board is adopted for control, so that the deep learning technology can be effectively applied to greenhouse planting, the stability of the high-performance ARM core microprocessor development board in daily control is low, and the cost of the high-performance ARM core microprocessor development board is low.
2. Compared with a conventional single chip microcomputer, the high-performance ARM core microprocessor development board is high in energy consumption, although the ARM core microprocessor has a sleep mode to reduce power consumption, in conventional control, a central control unit must continuously run to ensure that a system is normal, and therefore sleep time is almost impossible.
3. The effective application of the deep learning technology is characterized in that data are continuously acquired for a long time, although the data volume can meet the requirement of effective application, the data distribution has a great problem, if the data distribution is reasonable, the period for acquiring the data is obviously longer, data filtering needs to be added in the data acquisition process, a large amount of conventional operation data are deleted based on the data filtering to enable the data distribution to be more reasonable, and therefore the updating period of a deep learning model is actually far longer than the expected updating period.
Disclosure of Invention
In order to solve the technical problems, the invention provides a double-central-control greenhouse control system, which can effectively reduce energy consumption and enable intelligent control of greenhouse planting to be in a more reasonable and higher-automation-degree level in a time-sharing operation mode of a central control unit and a model calculation unit.
The invention is realized by the following technical scheme.
The invention provides a double-central-control greenhouse control system, which comprises a local execution control assembly and a central deployment control assembly; the local execution control assembly comprises an execution mechanism, a sensing mechanism, an execution control unit and a terminal communication module, and the central deployment control assembly comprises a central communication module, a storage controller, a storage unit, a central control unit, a model calculation unit and a coordination arbitration unit;
the execution control unit is connected with the control execution mechanism and the sensing mechanism and realizes communication with the central deployment control component through the terminal communication module;
the storage controller is connected with the control storage unit and realizes communication with the local execution control assembly through the central communication module;
the storage controller, the central control unit and the model calculation unit are connected to the same data bus;
the coordination arbitration unit is respectively connected with the storage controller, the central control unit and the model calculation unit through GPIOs;
the central control unit and the model calculation unit have two working states, namely a control state and a sleep state respectively, and when any one of the central control unit and the model calculation unit is awakened from the sleep state to the control state through the GPIO connection of the coordination arbitration unit, the other one initiates data transmission through the data bus and enters the sleep state after the data transmission is finished.
The central communication module comprises a first communication module and a second communication module, and the storage controller controls the first communication module and the second communication module through serial connection or SPI communication connection.
First communication module and second communication module are the loRa module, and terminal communication module also is the loRa module.
The four GPIO pins of the coordination arbitration unit are connected to the storage controller, wherein two outputs respectively mark the working states of the central control unit and the model calculation unit, the other two inputs receive the working states of the storage controller, and the working states of the storage controller comprise central control unit reading, model calculation unit reading, central control unit writing and model calculation unit writing.
And two paths of GPIO pins of the coordination arbitration unit are connected to the central control unit, wherein one path of output is connected to a wakeup interrupt pin of the central control unit and is used for waking up the central control unit, and the other path of input receives the working state of the central control unit.
And two paths of GPIO pins of the coordination arbitration unit are connected to the model calculation unit, one path of output is connected to the awakening interrupt pin of the model calculation unit and is used for awakening the model calculation unit, and the other path of output is used for receiving the working state of the model calculation unit.
The actuating mechanism comprises at least two of a spraying electromagnetic valve, a water suction pump, a fan, a warm air blower and an illuminating lamp.
The sensing mechanism comprises at least two of an air temperature sensor, an air humidity sensor, a photosensitive sensor and a carbon dioxide concentration sensor.
The storage controller and the central control unit are both microcontrollers of Cortex-M3 or Cortex-M4 kernels, the storage unit is an EMMC chip, the model computing unit is an ARM kernel microprocessor with a main frequency above 500MHz, and the coordination arbitration unit is an MSP430 series 16-bit microcontroller.
The invention has the beneficial effects that: through the mode of time-sharing operation of the central control unit and the model calculation unit, the energy consumption can be effectively reduced, the intelligent control of greenhouse planting is in a more reasonable level with higher automation degree, the defect that the high-performance ARM core microprocessor is unstable in long-time operation is overcome with extremely low cost, the system energy consumption is effectively reduced in a dual-mode switching mode, meanwhile, the normal updating of a deep learning model is not influenced, and finally the maintenance cost of a large-scale greenhouse control system with higher intelligent degree is greatly reduced.
Drawings
Fig. 1 is a schematic diagram of the connection of the present invention.
Detailed Description
The technical solution of the present invention is further described below, but the scope of the claimed invention is not limited to the described.
The greenhouse control system with double central control units as shown in fig. 1 comprises a local execution control component and a central deployment control component; the local execution control assembly comprises an execution mechanism, a sensing mechanism, an execution control unit and a terminal communication module, and the central deployment control assembly comprises a central communication module, a storage controller, a storage unit, a central control unit, a model calculation unit and a coordination arbitration unit;
the execution control unit is connected with the control execution mechanism and the sensing mechanism and realizes communication with the central deployment control component through the terminal communication module;
the storage controller is connected with the control storage unit and realizes communication with the local execution control assembly through the central communication module;
the storage controller, the central control unit and the model calculation unit are connected to the same data bus;
the coordination arbitration unit is respectively connected with the storage controller, the central control unit and the model calculation unit through GPIOs;
the central control unit and the model calculation unit have two working states, namely a control state and a sleep state respectively, and when any one of the central control unit and the model calculation unit is awakened from the sleep state to the control state through the GPIO connection of the coordination arbitration unit, the other one initiates data transmission through the data bus and enters the sleep state after the data transmission is finished.
The central communication module comprises a first communication module and a second communication module, and the storage controller controls the first communication module and the second communication module through serial connection or SPI communication connection.
First communication module and second communication module are the loRa module, and terminal communication module also is the loRa module.
The four GPIO pins of the coordination arbitration unit are connected to the storage controller, wherein two outputs respectively mark the working states of the central control unit and the model calculation unit, the other two inputs receive the working states of the storage controller, and the working states of the storage controller comprise central control unit reading, model calculation unit reading, central control unit writing and model calculation unit writing.
And two paths of GPIO pins of the coordination arbitration unit are connected to the central control unit, wherein one path of output is connected to a wakeup interrupt pin of the central control unit and is used for waking up the central control unit, and the other path of input receives the working state of the central control unit.
And two paths of GPIO pins of the coordination arbitration unit are connected to the model calculation unit, one path of output is connected to the awakening interrupt pin of the model calculation unit and is used for awakening the model calculation unit, and the other path of output is used for receiving the working state of the model calculation unit.
The actuating mechanism comprises at least two of a spraying electromagnetic valve, a water suction pump, a fan, a warm air blower and an illuminating lamp.
The sensing mechanism comprises at least two of an air temperature sensor, an air humidity sensor, a photosensitive sensor and a carbon dioxide concentration sensor.
The storage controller and the central control unit are both microcontrollers of Cortex-M3 or Cortex-M4 kernels, the storage unit is an EMMC chip, the model computing unit is an ARM kernel microprocessor with a main frequency above 500MHz, and the coordination arbitration unit is an MSP430 series 16-bit microcontroller.
Therefore, the deep learning model is deployed on the model calculation unit and runs in a periodic updating mode, after each updating, the central control unit is awakened through the coordination arbitration unit, then the updated control parameter value is sent to the central control unit, and then the central control unit enters a dormant state to wait for the coordination arbitration unit to be awakened, so that the energy consumption is saved; the coordination arbitration unit can be awakened by a built-in timer, and adopts a low-power MSP430 series microcontroller, so that the power consumption can be almost ignored; the central control unit adopts a microcontroller with a Cortex-M3 or a Cortex-M4 kernel, the energy consumption is much lower than that of an ARM kernel microprocessor, the performance of the central control unit is enough to meet the conventional control execution function, when the model calculation unit updates the deep learning model, the time consumption is long, the central control unit enters a sleep mode at the moment to further reduce the overall energy consumption of the system, and the conventional control requirement of the system after the central control unit enters the sleep mode can be ensured to be successfully completed through an on-chip timer interrupt service function of the model calculation unit.
For large-scale planting, the greenhouse is large in number, so that the local execution control assembly adopts an LoRa mode for communication on the basis of the prior art, the LoRa communication can support longer communication distance and more node number, and in order to deal with the condition that the node number is large, the central communication module consists of the first communication module and the second communication module, a two-way communication channel can be provided, and communication data are ensured to be timely and effective.

Claims (9)

1. The utility model provides a big-arch shelter control system of two accuses, includes local execution control assembly and central deployment control assembly, its characterized in that: the local execution control assembly comprises an execution mechanism, a sensing mechanism, an execution control unit and a terminal communication module, and the central deployment control assembly comprises a central communication module, a storage controller, a storage unit, a central control unit, a model calculation unit and a coordination arbitration unit;
the execution control unit is connected with the control execution mechanism and the sensing mechanism and realizes communication with the central deployment control component through the terminal communication module;
the storage controller is connected with the control storage unit and realizes communication with the local execution control assembly through the central communication module;
the storage controller, the central control unit and the model calculation unit are connected to the same data bus;
the coordination arbitration unit is respectively connected with the storage controller, the central control unit and the model calculation unit through GPIOs;
the central control unit and the model calculation unit have two working states, namely a control state and a sleep state respectively, and when any one of the central control unit and the model calculation unit is awakened from the sleep state to the control state through the GPIO connection of the coordination arbitration unit, the other one initiates data transmission through the data bus and enters the sleep state after the data transmission is finished.
2. The dual-central-control greenhouse control system of claim 1, wherein: the central communication module comprises a first communication module and a second communication module, and the storage controller controls the first communication module and the second communication module through serial connection or SPI communication connection.
3. The dual-central-control greenhouse control system of claim 2, wherein: first communication module and second communication module are the loRa module, and terminal communication module also is the loRa module.
4. The dual-central-control greenhouse control system of claim 1, wherein: the four GPIO pins of the coordination arbitration unit are connected to the storage controller, wherein two outputs respectively mark the working states of the central control unit and the model calculation unit, the other two inputs receive the working states of the storage controller, and the working states of the storage controller comprise central control unit reading, model calculation unit reading, central control unit writing and model calculation unit writing.
5. The dual-central-control greenhouse control system of claim 1, wherein: and two paths of GPIO pins of the coordination arbitration unit are connected to the central control unit, wherein one path of output is connected to a wakeup interrupt pin of the central control unit and is used for waking up the central control unit, and the other path of input receives the working state of the central control unit.
6. The dual-central-control greenhouse control system of claim 1, wherein: and two paths of GPIO pins of the coordination arbitration unit are connected to the model calculation unit, one path of output is connected to the awakening interrupt pin of the model calculation unit and is used for awakening the model calculation unit, and the other path of output is used for receiving the working state of the model calculation unit.
7. The dual-central-control greenhouse control system of claim 1, wherein: the actuating mechanism comprises at least two of a spraying electromagnetic valve, a water suction pump, a fan, a warm air blower and an illuminating lamp.
8. The dual-central-control greenhouse control system of claim 1, wherein: the sensing mechanism comprises at least two of an air temperature sensor, an air humidity sensor, a photosensitive sensor and a carbon dioxide concentration sensor.
9. The dual-central-control greenhouse control system of claim 1, wherein: the storage controller and the central control unit are both microcontrollers of Cortex-M3 or Cortex-M4 kernels, the storage unit is an EMMC chip, the model computing unit is an ARM kernel microprocessor with a main frequency above 500MHz, and the coordination arbitration unit is an MSP430 series 16-bit microcontroller.
CN201910355216.2A 2019-04-29 2019-04-29 Greenhouse control system with double central control Active CN110162122B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910355216.2A CN110162122B (en) 2019-04-29 2019-04-29 Greenhouse control system with double central control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910355216.2A CN110162122B (en) 2019-04-29 2019-04-29 Greenhouse control system with double central control

Publications (2)

Publication Number Publication Date
CN110162122A CN110162122A (en) 2019-08-23
CN110162122B true CN110162122B (en) 2021-02-12

Family

ID=67633150

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910355216.2A Active CN110162122B (en) 2019-04-29 2019-04-29 Greenhouse control system with double central control

Country Status (1)

Country Link
CN (1) CN110162122B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1117318A (en) * 1993-11-01 1996-02-21 艾利森.Ge.流动通讯有限公司 Multiprocessor data memory sharing
WO1997007604A1 (en) * 1995-08-14 1997-02-27 Nokia Telecommunications Oy Synchronizing a telecommunications connection in a mobile communications system
CN105184366A (en) * 2015-09-15 2015-12-23 中国科学院计算技术研究所 Time-division-multiplexing general neural network processor
CN206787614U (en) * 2017-05-07 2017-12-22 福建强闽信息科技有限公司 A kind of intelligent agricultural greenhouse system based on arrowband Internet of Things
CN207528705U (en) * 2017-11-28 2018-06-22 山西大学 The system being monitored to the greenhouse gases content in farm's colony house

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102568155A (en) * 2010-12-31 2012-07-11 富泰华工业(深圳)有限公司 Baby wakeup alarm device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1117318A (en) * 1993-11-01 1996-02-21 艾利森.Ge.流动通讯有限公司 Multiprocessor data memory sharing
WO1997007604A1 (en) * 1995-08-14 1997-02-27 Nokia Telecommunications Oy Synchronizing a telecommunications connection in a mobile communications system
CN105184366A (en) * 2015-09-15 2015-12-23 中国科学院计算技术研究所 Time-division-multiplexing general neural network processor
CN206787614U (en) * 2017-05-07 2017-12-22 福建强闽信息科技有限公司 A kind of intelligent agricultural greenhouse system based on arrowband Internet of Things
CN207528705U (en) * 2017-11-28 2018-06-22 山西大学 The system being monitored to the greenhouse gases content in farm's colony house

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
《基于农业物联网的智能温室***架构与实现》;高浩天 等;《农机化研究》;20180131;全文 *

Also Published As

Publication number Publication date
CN110162122A (en) 2019-08-23

Similar Documents

Publication Publication Date Title
CN103035112A (en) Wireless acquisition terminal for crop-atmosphere-soil information and acquisition method
CN204516015U (en) A kind of multifunctional low power consumption water environment Wireless data acquisition unit
CN209690904U (en) A kind of storage medium realizing BMC and being interacted with BIOS information
CN109952948A (en) A kind of remote visualization Intelligent irrigation system based on Internet of Things
CN103988771A (en) Household vegetable cultivation equipment
CN205138556U (en) Agricultural thing networking monitoring system based on zigBee
CN110162122B (en) Greenhouse control system with double central control
CN110166971A (en) Low-consumption wireless communication device and system applied to inspection shaft pipe network
CN203178820U (en) Embedded liquid level monitoring device based on ARM
Jin et al. Design an intelligent environment control system for greenhouse based on RS485 bus
CN105700588A (en) Multi-span vegetable greenhouse environment monitoring system
CN204595660U (en) A kind of seedling rearing room humiture wireless control system
CN101691943A (en) Remote control device and method for realizing control by sleep parameters customized by user over operation of air conditioner
CN208000509U (en) Scale based on wireless sense network supports fowl environment automatic control system
CN109041737A (en) A kind of wind-light-electricity complementary intelligent irrigation fertilization system
CN207369672U (en) Planting unit and system
CN206223238U (en) A kind of cold chain car transports tracking system
CN201926071U (en) Computer-vision-based energy saving device for automatic control of air-conditioner
CN208092578U (en) A kind of incubator control system based on pid algorithm
CN204609405U (en) A kind of berth lock based on BLE-SoC
Shang et al. Greenhouse wireless monitoring system based on the zigbee
CN203799254U (en) Breeding shed wireless sensor network node controlling device
Li et al. An irrigation control system based on C8051F and ARM
CN202771225U (en) Family environment monitoring device based on SimpliciTI
CN205302605U (en) Long -haul telemetry terminal

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
GR01 Patent grant
GR01 Patent grant