CN105527887A - Automatic film coating temperature control movement seedbed controller and control method - Google Patents

Automatic film coating temperature control movement seedbed controller and control method Download PDF

Info

Publication number
CN105527887A
CN105527887A CN201510892305.2A CN201510892305A CN105527887A CN 105527887 A CN105527887 A CN 105527887A CN 201510892305 A CN201510892305 A CN 201510892305A CN 105527887 A CN105527887 A CN 105527887A
Authority
CN
China
Prior art keywords
control
microcontroller
relay
film
seedbed
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.)
Granted
Application number
CN201510892305.2A
Other languages
Chinese (zh)
Other versions
CN105527887B (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.)
WUHAN CITY INST OF AGRICULTURAL MECHANIZATION SCIENCE
Original Assignee
WUHAN CITY INST OF AGRICULTURAL MECHANIZATION SCIENCE
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 WUHAN CITY INST OF AGRICULTURAL MECHANIZATION SCIENCE filed Critical WUHAN CITY INST OF AGRICULTURAL MECHANIZATION SCIENCE
Priority to CN201510892305.2A priority Critical patent/CN105527887B/en
Publication of CN105527887A publication Critical patent/CN105527887A/en
Application granted granted Critical
Publication of CN105527887B publication Critical patent/CN105527887B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/25Pc structure of the system
    • G05B2219/25257Microcontroller
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P80/00Climate change mitigation technologies for sector-wide applications
    • Y02P80/10Efficient use of energy, e.g. using compressed air or pressurized fluid as energy carrier

Landscapes

  • Greenhouses (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)

Abstract

The present invention relates to an automatic film coating temperature control movement seedbed controller and a control method. The controller comprises a power supply module, a temperature sensing detection unit, a humidity sensing detection unit, a control driving unit, an RS-485 communication interface, a data storage module, a clock module, a liquid crystal display unit, an external key interface, and a microcontroller MCU. The environmental characteristics of an agricultural field are fully considered, the controller has the advantages of high simplicity and practicability, low cost and good anti-interference ability. The controller automatically collects seedbed internal and external temperature and humidity information, related coverage and rolling plastic film equipment and electric heating film heating equipment are automatically controlled to carry out intelligent adjustment, and the precise control is realized. The control mode is more flexible, the parameter control, field control, and centralized control mode or remote control through IOT can be preset in a default way. The RS-485 communication interface is reserved, and a centralized control system can be further formed to complete cluster management. According to the controller and the control method, the seed breeding enterprise automation management level is raised, the energy is saved and the consumption is reduced, and the labor cost is saved.

Description

A kind of automatic film covering temperature control moving nursery bed controller and control method
Technical field
The present invention relates to moving nursery bed field, carry for a kind of the moving nursery bed (201320756222.7) that receiving apparatus and infrared electric heating are covered in plastic sheeting robotization, be specifically related to a kind of automatic film covering temperature control moving nursery bed controller and the control method in this type of seedbed.
Background technology
Seedbed comprises fixing seedbed and moving nursery bed, is mainly used in the nursery of garden crop.In the winter time, in the nursery operation in the low temperature time such as early spring, need to utilize greenhouse heating system to heat to whole greenhouse environment, energy consumption is large, operating cost is high; Also to put up plastic sheeting to increase accumulation of heat, the moisture-retaining capacity in seedbed simultaneously on seedbed, workload is large, inefficiency.
For solving the problem, on original moving nursery bed basis, Wang Rui, Liao Jian etc. have invented a kind of Novel arched shed formula automatic rolling laminating machine, independent heating insulation subenvironment, realize energy-saving and cost-reducing, and automatic rolling and the covering function of plastic sheeting on seedbed can be realized.This kind of seedbed is also for automatic management and control provide possibility.
Nursery enterprise often needs to manage concentratedly the seedbed group of scale and control, and on this seedbed system architecture, how to reduce manual work further, and accurate, automatic, the flexible control that realize seedbed " subenvironment " are important topics.Research both at home and abroad for this problem is also in blank, and does not have similar control system and equipment directly to use.
Summary of the invention
The present invention mainly solves the technical matters existing for prior art; Provide a kind of seedbed to scale to carry out precisely, automatically controlling, reduce manual work, energy efficiency, improve a kind of automatic film covering temperature control moving nursery bed controller and the control method of seedbed Automated condtrol efficiency.
Above-mentioned technical matters of the present invention is mainly solved by following technical proposals:
A kind of automatic film covering temperature control moving nursery bed controller, is characterized in that, comprising:
Some seedbeds controller: be connected with moving nursery bed centralized control center by RS485 communication connection cable or wireless device; The structure of each seedbed controller is identical, includes:
One microcontroller: adopt based on Cotex-M3 core A RM32 bit processor; Control the work of unit, module in the controller of whole seedbed;
One humidity sensor detecting unit: be connected with the IIC interface of microcontroller, for on-line measurement air humidity, is converted to digital quantity simultaneously and reads for microcontroller;
One temperature sensing detecting unit: be connected with the I/O interface of microcontroller, for on-line measurement air themperature, is converted to digital quantity simultaneously and reads for microcontroller
One controls driver element: be connected with the I/O interface of microcontroller, for controlling the work of seedbed volume film tube shaped electric machine and infrared electrothermal film;
One RS-485 communication interface: be connected with the USART interface of microcontroller,
One external key interface: be connected with the I/O interface of microcontroller, manually sets seedbed controller correlation parameter, equipment state for user; Comprise target temperature setting parameter, volume film launch or draw in, heated by electrothermal film control;
One liquid crystal display: be connected with the USART interface of microcontroller,
One data memory module: be connected with the SPI interface of microcontroller, for storing operational factor and the sensing data of seedbed controller;
One clock module: be connected with the IIC interface of microcontroller, comprises reserve battery and model is the clock chip of DS3231, and clock chip is connected with the IIC interface of microcontroller; Clock circuit provides real-time time accurately for whole controller, and described reserve battery is used for continuing when power module power-off to ensure that clock circuit runs;
One power module 201: be connected with above-mentioned all unit, module and interface and microcontroller, powers for giving all unit, module and interface and microcontroller.
At above-mentioned a kind of automatic film covering temperature control moving nursery bed controller, described control driver element comprises seedbed volume film tube shaped electric machine and controls driver element and infrared electrothermal film control driver element; Wherein, seedbed volume film tube shaped electric machine controls driver element and comprises two seedbed volume film tube shaped electric machines control driven element unit, rolls up rotating and reverse of film tube shaped electric machine for controlling seedbed; Infrared electrothermal film controls driver element for controlling the folding of infrared electrothermal film, and the structure of all control driver elements is identical, includes low-voltage control circuit and high-pressure work circuit;
Described low-voltage control circuit comprises: photoelectrical coupler, and described photoelectrical coupler input is connected with the I/O port of microcontroller by protection circuit one; The output of photoelectrical coupler is connected with controlled motor or Electric radiant Heating Film by a resistance, and is connected with MOS switching tube by protection circuit two;
Described high-pressure work circuit comprises: the electromagnetic relay with normally opened contact, and described electromagnetic relay is connected with controlled motor or Electric radiant Heating Film after connecting AC power supplies, and is also connected with MOS switching tube simultaneously;
Control when the CTR mouth of microcontroller exports high level, trigger the LEDs ON of photoelectrical coupler, after light activated element is subject to illumination, phototriode conducting, the conducting of driving switch pipe, the conducting of trigger relay wire loop, electromagnetic coil relay produces magnetic field, touch and relay normally open contact is closed, the conducting of high-tension circuit loop, tube shaped electric machine or Electric radiant Heating Film are started working;
When the CTR mouth output low level of microcontroller, trigger the light emitting diode cut-off of photoelectrical coupler, phototriode ends, switching tube ends, relay coil loop not conducting, touches and relay normally open contact is disconnected, high-tension circuit loop not conducting, tube shaped electric machine or Electric radiant Heating Film quit work;
When controlling seedbed volume film tube shaped electric machine rotating forward, reversion, work as CTR1=0, during CTR2=1, the not conducting of relay K 1 wire loop, the normally opened contact of relay K 1 disconnects, the conducting of relay K 2 wire loop, the normally opened contact of relay K 2 closes, make 220V control power supply to be connected with the normally closed contact of relay K 1, motor rotates forward port and obtains electric rotating forward, and volume film launches; Work as CTR1=1, during CTR2=1, the conducting of relay K 1 wire loop, the normally opened contact of relay K 1 closes, the conducting of relay K 2 wire loop, and the normally opened contact of relay K 2 closes, make 220V control power supply to be connected with the normally opened contact of relay K 1, motor reversal port obtains electric reversion, and volume film draws in; As CTR2=0, no matter CTR1=0 or 1, the not conducting of relay K 2 wire loop, the normally opened contact of relay K 2 disconnects, and motor rotates forward, reversion port can not control power supply with 220V all the time and be connected, thus motor is out of service; Tube shaped electric machine state control logic is as shown in chart 6; This design effectively avoids the tube shaped electric machine misoperation that microcontroller I/O port abnormal state causes, thus causes the damage of equipment.
At above-mentioned a kind of automatic film covering temperature control moving nursery bed controller, described humidity sensor detecting unit comprises a condenser type Linear voltage output humidity module; The output voltage signal access resistance pressure-dividing network of condenser type Linear voltage output humidity module, an AD analog to digital converter is connect after dividing potential drop, make magnitude of voltage in the conversion range of AD analog to digital converter, voltage division signal is accessed after filtering isolation circuit AD analog to digital converter AIN1 port again, microcontroller reads transforming numerical by iic bus again; The digital quantity conversion value that microcontroller reads, after zero crossing-full scale mathematics conversion formula calculates, obtains the humidity value of actual measurement in air.
A kind of automatic film covering temperature control moving nursery bed control method, is characterized in that, comprising:
Step 1: initialization correlation parameter equipment, arranges timing cycle, arrange intended target;
Step 2: enter main flow, opens interrupters communication check, waits for timing cycle;
Step 3: have external key to interrupt arriving, resolve instruction, enter respective interrupt process function according to concrete instruction;
Step 4: have data communications packets to interrupt arriving, resolve communications packet data, according to communications packet data modification target, and enter respective interrupt process function,
Described interrupt response function comprises automatic receipts, overlay film, A.T.C humidity, and flow process is as follows: step 4.1: judge whether external command is direct control volume overlay film and well heater, is directly enter
Line operate; Otherwise enter automatic comparison control model 4.2;
Step 4.2: gather current humiture data voluntarily and compare with target setting parameter, controls volume film according to certain algorithm and covers and well heater work, and result phase shown, store, feedback;
Step 5: timing cycle is not to interruption being detected, then basis establishes target to control in advance;
Step 6: wait reported result to be feedback, and enter the instruction of next cycle wait subsequent operation, until major cycle terminates;
In interrupt response function automatically receive, overlay film, the flow process of A.T.C humidity is as follows:
Step 7: judge whether external command is direct control volume overlay film and well heater, is directly operate; Otherwise enter automatic comparison control model 8;
Step 8: gather current humiture data voluntarily and compare with target setting parameter, controls volume film and covers and well heater work, and result phase shown, store, feedback.
Therefore, tool of the present invention has the following advantages:
1, disclosure sets forth a kind of Novel movable seedbed controller for having electronic overlay film and heating function, by coordinating of hardware circuit and embedded software, controller can gather epidemic disaster information inside and outside seedbed automatically, automatically cover simultaneously, furl plastic sheeting and heated by electrothermal film control on seedbed, thus finally reach temperature control, control is wet, built " subenvironment " of an applicable nursery growth.When sensor parameters exceeds standard, system there will be environmental threshold value alarm, and automatically can control relevant device and carry out Intelligent adjustment, realizes precisely controlling;
2, in view of nursery enterprise often needs to manage concentratedly the seedbed group of scale and control, RS-485 communication interface reserved by this seedbed controller, multiple seedbeds controller can form bus communication system, be articulated to central controller centralized management and monitoring, adapt to the requirement of enterprise intensification management;
3, concrete control mode is more flexible, can preset parameter, can local control, also can pass through the long-range process control of Internet of Things.Realize user at any time and any place by arbitrary network terminal, all can realize carrying out Long-distance Control to the various equipment in seedbed, control receive, volume overlay film, heat, damping device;
4, Novel movable seedbed coordinates the embodiment of the present invention, personalized control can be provided for the agriculture requirement of different seedling, for industrial seedling rearing cluster management and Flexible Production in same greenhouse are provided convenience, can fast responding market variation, personalized seedling product demand, improve nursery enterprise automation management level simultaneously, save human cost, energy-saving and cost-reducing.
Accompanying drawing explanation
Fig. 1 is that the embodiment of the present invention is applied to seedbed group's centralized management schematic diagram.
Fig. 2 is the controller system structural representation of the embodiment of the present invention.
Fig. 3 is the humidity sensor detection cell circuit schematic diagram of the embodiment of the present invention.
Fig. 4 a is that of the tube shaped electric machine of the embodiment of the present invention controls driver element circuit theory diagrams.
Fig. 4 b is another control driver element circuit theory diagrams of the tube shaped electric machine of the embodiment of the present invention.
Fig. 5 is that the tube shaped electric machine of the embodiment of the present invention controls schematic diagram
Fig. 6 is the tube shaped electric machine steering logic figure of the embodiment of the present invention.
Fig. 7 is the controller main program flow chart of the embodiment of the present invention.
Embodiment
Below by embodiment, and by reference to the accompanying drawings, technical scheme of the present invention is described in further detail.
Embodiment:
One, particular circuit configurations of the present invention is first introduced.
Be the Organization Chart of seedbed centralized control system shown in Fig. 1, moving nursery bed centralized control center 101, seedbed controller 102, communicate to connect cable by 103RS485 or wireless device connects.The all regular Founder in general existing seedbed, on-the-spot overlay film heating system also has and ready-made has circuit, therefore generally adopts wireline mode; The wireless device of observing RS485 communication protocol then makes location of controls distribution then more flexible.This flat framework has that structure is simple, cost is low, networking is convenient, function is strong, antijamming capability is good and the advantage of Control-oriented.RS-485 communication interface reserved by seedbed controller 102, ensure that multiple seedbeds controller can form bus communication system, be articulated to central controller centralized management and monitoring, centralized control center only needs to support RS485 communication protocol, can be general with seedbed enterprise original management hardware compatibility.
The hardware structure diagram of seedbed controller 102 as indicated with 2.Seedbed controller 102 comprises power module 201, humidity sensor detecting unit 202, temperature sensing detecting unit 203, controls driver element 204, RS-485 communication interface 205, external key interface 206, liquid crystal display 207, data memory module 208, clock module 209, microcontroller (MicrocontrollerUnit micro-control unit) 210, and above implementation method is the preferred implementation of this example.
Temperature sensing detecting unit, humidity sensor detecting unit, control driver element, RS-485 communication interface, data memory module, clock module, liquid crystal display, external key interface are connected with power module with microcontroller; Described temperature sensing detecting unit is connected with the I/O interface of microcontroller; Humidity sensor detecting unit is connected with the IIC interface of microcontroller; Control driver element to be connected with the I/O interface of microcontroller; Described RS-485 communication interface is connected with the USART interface of microcontroller; Data memory module is connected with the SPI interface of microcontroller, and clock module is connected with the IIC interface of microcontroller, and liquid crystal display is connected with the USART interface of microcontroller, and external key is connected with the I/O interface of microcontroller.
Power module 201 comprises alternating current 220V power-supply system, direct current 5V and 12V power-supply system.Whole controller input power has two parts, and a part is alternating current 220V, as the driving power of plastic sheeting motor and far-infrared electrothermal film; Another part is 12V direct supply, and as the input power of whole controller weak current part, being on the one hand direct current 5V power supply through DC-DC voltage dropping power supply module converter, is microcontroller and other functional modules and chip power supply; Being converted into the direct current 12V power supply of isolation on the other hand through DC-DC power module of voltage regulation, is relay coil loop power supply.
DC-DC voltage dropping power supply module adopts the K7805-500R2 of Jin Shengyang company, and have Width funtion input, non-isolated voltage stabilizing exports, and efficiency is high, loss is little, low characteristic of generating heat; DC-DC power module of voltage regulation adopts the BS1212XT-1WR2 of Jin Shengyang company, has that transformation efficiency is high, isolation voltage 1500VDC characteristic.
Humidity sensor detecting unit 203 mainly realizes the on-line measurement of air humidity, is converted to digital quantity simultaneously and reads for microcontroller.Humidity sensor detecting unit comprises humidity sensor, resistance pressure-dividing network, filter protective circuit, AD analog to digital converter.
Humidity sensor adopts HM1500LF, and it is a kind of condenser type Linear voltage output humidity module, has high reliability and long-time stability, and when 5V direct current supply, 0-100%RH correspondence exports 1-3.6VDC linear voltage, and temperature dependency is very low.Ensure the accuracy, consistance, the stability that gather sensor rotor signal.
As shown in Figure 3, the voltage signal S1 exported by HM1500LF accesses resistance pressure-dividing network Ra1.1 and Ra1.2(Ra1.1=15K, Ra1.2=12K, precision 0.1%), make its magnitude of voltage by a certain percentage after dividing potential drop in the conversion range of AD analog to digital converter, to access AD analog to digital converter AIN1 port after voltage division signal filtering decoupling again, microcontroller reads transforming numerical by iic bus again.The digital quantity conversion value that microcontroller reads, after zero crossing-full scale mathematics conversion formula calculates, obtains the humidity value of actual measurement in air.
AD analog to digital converter adopts 18 A/D conversion chip MCP3424 of Microchip company, and it has low noise, high precision, and automatically correct imbalance and gain error, resolution is adjustable, provides two kinds of translative mode features.
Temperature sensing detecting unit 202 mainly realizes the on-line measurement of air themperature, is converted to digital quantity simultaneously and reads for microcontroller.What gather that air themperature information adopts is digital temperature sensor DS18B20, has easy-to-connect, wear-resistingly resistance toly to touch, volume is little, strong adaptability, is applicable to various small space thermometric and control field.Due to its direct output digit signals, can directly be connected with the I/O port of microcontroller, by specific protocol reading temperature data.The epidemic disaster that will complete seedbed shed subenvironment due to controller controls, therefore the epidemic disaster sensing detection unit of controller devises two-way respectively and detects interface, the epidemic disaster information of subenvironment in one drive test amount seedbed shed, Air Temperature, humidity information outside another drive test amount seedbed shed.
Control the controlling functions that driver element 204 mainly completes seedbed volume film tube shaped electric machine and infrared electrothermal film.Preferably, as shown in Fig. 4 a to Fig. 4 b, control driver element and form primarily of optical coupling isolator TLP181, loose happy SLA-12VDC-SL-C type relay, switching tube NUD3160.Logically can be divided into again low-voltage control circuit and high-pressure work circuit two parts, low-voltage control circuit comprises the I/O port of microcontroller, photoelectrical coupler, MOS switching tube, electromagnetic relay coil and protection circuit; High-pressure work circuit comprises AC power supplies, electromagnetic relay normally opened contact, controlled motor or Electric radiant Heating Film.
When the CTR2 mouth of microcontroller exports high level, trigger the LEDs ON of TLP181, after light activated element is subject to illumination, phototriode conducting, driving switch pipe NUD3160 conducting, the conducting of trigger relay wire loop, electromagnetic coil relay produces magnetic field, touch and relay normally open contact is closed, the conducting of high-tension circuit loop, tube shaped electric machine or Electric radiant Heating Film are started working.In like manner, when the CTR2 mouth output low level of microcontroller, the light emitting diode cut-off of TLP181, phototriode ends, switching tube NUD3160 ends, relay coil loop not conducting, touches and relay normally open contact is disconnected, high-tension circuit loop not conducting, tube shaped electric machine or Electric radiant Heating Film quit work.
The forward and backward on off control principle schematic of volume film tube shaped electric machine as shown in Figure 5, this Controller gain variations two-way controls driving circuit, press its break-make of certain logic control by the two-way I/O port of microcontroller, combine the control to tube shaped electric machine rotating forward, reversion, stopping three states.Work as CTR1=0, during CTR2=1, the not conducting of relay K 1 wire loop, the normally opened contact of relay K 1 disconnects, the conducting of relay K 2 wire loop, and the normally opened contact of relay K 2 closes, make 220V control power supply to be connected with the normally closed contact of relay K 1, motor rotates forward port and obtains electric rotating forward, and volume film launches; Work as CTR1=1, during CTR2=1, the conducting of relay K 1 wire loop, the normally opened contact of relay K 1 closes, the conducting of relay K 2 wire loop, and the normally opened contact of relay K 2 closes, make 220V control power supply to be connected with the normally opened contact of relay K 1, motor reversal port obtains electric reversion, and volume film draws in; As CTR2=0, no matter CTR1=0 or 1, the not conducting of relay K 2 wire loop, the normally opened contact of relay K 2 disconnects, and motor rotates forward, reversion port can not control power supply with 220V all the time and be connected, thus motor is out of service.Tube shaped electric machine state control logic is as shown in chart 6.This design effectively avoids the tube shaped electric machine misoperation that microcontroller I/O port abnormal state causes, thus causes the damage of equipment.
Electric radiant Heating Film controls only to design a road and controls driver element, can be completed the on off control of heating by an I/O port of microcontroller.
Clock circuit unit 209 comprises reserve battery and model is the clock chip of DS3231, and clock chip is connected with the IIC interface of microcontroller.Clock circuit provides real-time time accurately for whole controller.Reserve battery is used for continuing when power module power-off to ensure that clock circuit runs.
Data memory module 208 is for storing operational factor and the sensing data of seedbed controller.Data memory module is connected with microcontroller by SPI interface, and data memory module adopts memory capacity to be the storage chip of 128M.
Liquid crystal display 207 comprises RS-485 communication chip 3082 and LCD MODULE.LCD MODULE adopts aobvious intelligent display terminal in Wuhan, and model is SDW4027-042-TS40W, and intelligent display terminal is connected with communication chip 3082 by RS-485 bus interface, and communication chip 3082 is connected with microcontroller by USART interface.Liquid crystal display, as this equipment and extraneous Man Machine Interface, shows sensing data, opertaing device state and correlation parameter information in real time.
External key interface 206 mainly realizes artificial manually setting seedbed controller correlation parameter, equipment state, as target temperature setting parameter, volume film launch or draw in, heated by electrothermal film controls.External key interface is connected with the IO of microcontroller by microswitch, and MCU inquiry detects corresponding I/O state and judges whether keyswitch is pressed.This controller devises 6 buttons altogether, is that volume film draws in, launches, stops respectively, target temperature heating, cooling, determines.
RS-485 communication interface 205 is articulated to RS-485 bus and external device communication by communication chip 3082.Seedbed controller as RS-485 from equipment, can set up two-way communication with central station controller, can realize the reading of the various configuration parameter in seedbed, the write of steering order and sensing data, opertaing device state, parameter information.
Microcontroller 210 adopts based on Cotex-M3 core A RM32 bit processor, and model is STM32F103RCT6, and powerful, Peripheral Interface are abundant, low in energy consumption, meet this type of Embedded Application demand.
Two, concrete control method of the present invention is introduced below.
The core component MCU210 of moving nursery bed controller completes corresponding functions of the equipments by performing the program code write.Controller master routine adopts running background pattern, and shown in the concrete implementation step process flow diagram 7 of this controller, committed step is as follows:
Step 1: initialization correlation parameter equipment, arranges timing cycle, arrange intended target.
Step 2: enter main flow, opens interrupters communication check, waits for timing cycle.
Step 3: have external key to interrupt arriving, resolve instruction, enter respective interrupt process function according to concrete instruction.
Step 4: have data communications packets to interrupt arriving, resolve communications packet data, according to communications packet data modification target, and enter respective interrupt process function.
Step 5: timing cycle is not to interruption being detected, then basis establishes target to control in advance.
Step 6: wait reported result to be feedback, and enter the instruction of next cycle wait subsequent operation, until major cycle terminates.
In interrupt response function automatically receive, overlay film, the flow process of A.T.C humidity is as follows:
Step 7: judge whether external command is direct control volume overlay film and well heater, is directly operate.Otherwise enter automatic comparison control model 708.
Step 8: gather current humiture data voluntarily and compare with target setting parameter, controls volume film according to certain algorithm and covers and well heater work, and result phase shown, store, feedback.
It is to be noted that this controller has three kinds of mode of operations, pattern one: default mode, self-timing and the value of setting prestored are carried out detection and are contrasted and carry out and control; Pattern two, centralized control mode, the communication instruction according to centralized control center carries out operation, and the instruction of centralized control center also can be issued by Internet of Things; Pattern three: existing ground mode, carries out goal-setting by this controller screen external key in addition and carries out terrain exercise.Pattern two and pattern three have also reserved interface can direct setting operation topworks state, is convenient to armamentarium and opens or turn off, go for cleaning, maintenance model.
In the present invention, provide a kind of automatic film covering temperature control moving nursery bed controller, its hardware configuration modular design, the environmental quality at the agricultural scene taken into full account, simple and practical, cost is low; And centralized control system can be formed further, supporting various control pattern, as pre-seted desired value, local control, Long-distance Control, meeting the scale of nursery enterprise, fine-grained management and control.
Specific embodiment described herein is only to the explanation for example of the present invention's spirit.Those skilled in the art can make various amendment or supplement or adopt similar mode to substitute to described specific embodiment, but can't depart from spirit of the present invention or surmount the scope that appended claims defines.

Claims (4)

1. an automatic film covering temperature control moving nursery bed controller, is characterized in that, comprising:
Some seedbeds controller: be connected with moving nursery bed centralized control center by RS485 communication connection cable or wireless device; The structure of each seedbed controller is identical, includes:
One microcontroller: adopt based on Cotex-M3 core A RM32 bit processor; Control the work of unit, module in the controller of whole seedbed;
One humidity sensor detecting unit: be connected with the IIC interface of microcontroller, for on-line measurement air humidity, is converted to digital quantity simultaneously and reads for microcontroller;
One temperature sensing detecting unit: be connected with the I/O interface of microcontroller, for on-line measurement air themperature, is converted to digital quantity simultaneously and reads for microcontroller
One controls driver element: be connected with the I/O interface of microcontroller, for controlling the work of seedbed volume film tube shaped electric machine and infrared electrothermal film;
One RS-485 communication interface: be connected with the USART interface of microcontroller,
One external key interface: be connected with the I/O interface of microcontroller, manually sets seedbed controller correlation parameter, equipment state for user; Comprise target temperature setting parameter, volume film launch or draw in, heated by electrothermal film control;
One liquid crystal display: be connected with the USART interface of microcontroller,
One data memory module: be connected with the SPI interface of microcontroller, for storing operational factor and the sensing data of seedbed controller;
One clock module: be connected with the IIC interface of microcontroller, comprises reserve battery and model is the clock chip of DS3231, and clock chip is connected with the IIC interface of microcontroller; Clock circuit provides real-time time accurately for whole controller, and described reserve battery is used for continuing when power module power-off to ensure that clock circuit runs;
One power module: be connected with above-mentioned all unit, module and interface and microcontroller, powers for giving all unit, module and interface and microcontroller.
2. a kind of automatic film covering temperature control moving nursery bed controller according to claim 1, is characterized in that, described control driver element comprises seedbed volume film tube shaped electric machine and controls driver element and infrared electrothermal film control driver element; Wherein, seedbed volume film tube shaped electric machine controls driver element and comprises two seedbed volume film tube shaped electric machines control driven element unit, rolls up rotating and reverse of film tube shaped electric machine for controlling seedbed; Infrared electrothermal film controls driver element for controlling the folding of infrared electrothermal film, and the structure of all control driver elements is identical, includes low-voltage control circuit and high-pressure work circuit;
Described low-voltage control circuit comprises: photoelectrical coupler, and described photoelectrical coupler input is connected with the I/O port of microcontroller by protection circuit one; The output of photoelectrical coupler is connected with controlled motor or Electric radiant Heating Film by a resistance, and is connected with MOS switching tube by protection circuit two;
Described high-pressure work circuit comprises: the electromagnetic relay with normally opened contact, and described electromagnetic relay is connected with controlled motor or Electric radiant Heating Film after connecting AC power supplies, and is also connected with MOS switching tube simultaneously;
Control when the CTR mouth of microcontroller exports high level, trigger the LEDs ON of photoelectrical coupler, after light activated element is subject to illumination, phototriode conducting, the conducting of driving switch pipe, the conducting of trigger relay wire loop, electromagnetic coil relay produces magnetic field, touch and relay normally open contact is closed, the conducting of high-tension circuit loop, tube shaped electric machine or Electric radiant Heating Film are started working;
When the CTR mouth output low level of microcontroller, trigger the light emitting diode cut-off of photoelectrical coupler, phototriode ends, switching tube ends, relay coil loop not conducting, touches and relay normally open contact is disconnected, high-tension circuit loop not conducting, tube shaped electric machine or Electric radiant Heating Film quit work;
When controlling seedbed volume film tube shaped electric machine rotating forward, reversion, work as CTR1=0, during CTR2=1, the not conducting of relay K 1 wire loop, the normally opened contact of relay K 1 disconnects, the conducting of relay K 2 wire loop, the normally opened contact of relay K 2 closes, make 220V control power supply to be connected with the normally closed contact of relay K 1, motor rotates forward port and obtains electric rotating forward, and volume film launches; Work as CTR1=1, during CTR2=1, the conducting of relay K 1 wire loop, the normally opened contact of relay K 1 closes, the conducting of relay K 2 wire loop, and the normally opened contact of relay K 2 closes, make 220V control power supply to be connected with the normally opened contact of relay K 1, motor reversal port obtains electric reversion, and volume film draws in; As CTR2=0, no matter CTR1=0 or 1, the not conducting of relay K 2 wire loop, the normally opened contact of relay K 2 disconnects, and motor rotates forward, reversion port can not control power supply with 220V all the time and be connected, thus motor is out of service; Tube shaped electric machine state control logic is as shown in chart 6; This design effectively avoids the tube shaped electric machine misoperation that microcontroller I/O port abnormal state causes, thus causes the damage of equipment.
3. a kind of automatic film covering temperature control moving nursery bed controller according to claim 1, is characterized in that, described humidity sensor detecting unit comprises a condenser type Linear voltage output humidity module; The output voltage signal access resistance pressure-dividing network of condenser type Linear voltage output humidity module, an AD analog to digital converter is connect after dividing potential drop, make magnitude of voltage in the conversion range of AD analog to digital converter, voltage division signal is accessed after filtering isolation circuit AD analog to digital converter AIN1 port again, microcontroller reads transforming numerical by iic bus again; The digital quantity conversion value that microcontroller reads, after zero crossing-full scale mathematics conversion formula calculates, obtains the humidity value of actual measurement in air.
4. an automatic film covering temperature control moving nursery bed control method, is characterized in that, comprising:
Step 1: initialization correlation parameter equipment, arranges timing cycle, arrange intended target;
Step 2: enter main flow, opens interrupters communication check, waits for timing cycle;
Step 3: have external key to interrupt arriving, resolve instruction, enter respective interrupt process function according to concrete instruction;
Step 4: have data communications packets to interrupt arriving, resolve communications packet data, according to communications packet data modification target, and enter respective interrupt process function,
Described interrupt response function comprises automatic receipts, overlay film, A.T.C humidity, and flow process is as follows: step 4.1: judge whether external command is direct control volume overlay film and well heater, is directly enter
Line operate; Otherwise enter automatic comparison control model 4.2;
Step 4.2: gather current humiture data voluntarily and compare with target setting parameter, controls volume film according to certain algorithm and covers and well heater work, and result phase shown, store, feedback;
Step 5: timing cycle is not to interruption being detected, then basis establishes target to control in advance;
Step 6: wait reported result to be feedback, and enter the instruction of next cycle wait subsequent operation, until major cycle terminates;
In interrupt response function automatically receive, overlay film, the flow process of A.T.C humidity is as follows:
Step 7: judge whether external command is direct control volume overlay film and well heater, is directly operate; Otherwise enter automatic comparison control model 8;
Step 8: gather current humiture data voluntarily and compare with target setting parameter, controls volume film and covers and well heater work, and result phase shown, store, feedback.
CN201510892305.2A 2015-11-27 2015-11-27 A kind of automatic film covering temperature control moving nursery bed controller and control method Active CN105527887B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510892305.2A CN105527887B (en) 2015-11-27 2015-11-27 A kind of automatic film covering temperature control moving nursery bed controller and control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510892305.2A CN105527887B (en) 2015-11-27 2015-11-27 A kind of automatic film covering temperature control moving nursery bed controller and control method

Publications (2)

Publication Number Publication Date
CN105527887A true CN105527887A (en) 2016-04-27
CN105527887B CN105527887B (en) 2019-07-23

Family

ID=55770179

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510892305.2A Active CN105527887B (en) 2015-11-27 2015-11-27 A kind of automatic film covering temperature control moving nursery bed controller and control method

Country Status (1)

Country Link
CN (1) CN105527887B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110639631A (en) * 2019-10-18 2020-01-03 迈普通信技术股份有限公司 Temperature and humidity test box high temperature protection device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202145631U (en) * 2011-07-07 2012-02-15 上海西门子线路保护系统有限公司 Circuit of drive DC motor
CN203933489U (en) * 2014-06-30 2014-11-05 常熟开关制造有限公司(原常熟开关厂) Motor positive and inverse control device
CN104472275A (en) * 2014-12-31 2015-04-01 成都市农林科学院 Temperature regulating and controlling device and breeding method for breeding detoxified seedlings by seedbed in winter
CN205176706U (en) * 2015-11-27 2016-04-20 武汉市农业机械化科学研究所 Automatic tectorial membrane accuse temperature removes seedbed controller

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202145631U (en) * 2011-07-07 2012-02-15 上海西门子线路保护系统有限公司 Circuit of drive DC motor
CN203933489U (en) * 2014-06-30 2014-11-05 常熟开关制造有限公司(原常熟开关厂) Motor positive and inverse control device
CN104472275A (en) * 2014-12-31 2015-04-01 成都市农林科学院 Temperature regulating and controlling device and breeding method for breeding detoxified seedlings by seedbed in winter
CN205176706U (en) * 2015-11-27 2016-04-20 武汉市农业机械化科学研究所 Automatic tectorial membrane accuse temperature removes seedbed controller

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
傅仕杰: "基于STM32的分布式智能温室控制系统", 《中国优秀硕士学位论文全文数据库•信息科技辑》 *
王锐 等: "温室育苗自动覆膜控温移动苗床", 《长江蔬菜》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110639631A (en) * 2019-10-18 2020-01-03 迈普通信技术股份有限公司 Temperature and humidity test box high temperature protection device

Also Published As

Publication number Publication date
CN105527887B (en) 2019-07-23

Similar Documents

Publication Publication Date Title
CN105122584A (en) System and method for monitoring and control of appliances
CN107608318A (en) A kind of intelligent home control system based on NB IOT
CN207094769U (en) A kind of smart home heating system
CN105650730A (en) Heat balance adjusting method and intelligent monitoring system based on heat balance adjusting method
CN107091535A (en) A kind of household solar energy water heater intelligent control system
CN103139026A (en) Intelligent household appliance controller based on wireless communication
CN107178879A (en) A kind of multi-functional room environmental detection set
CN205176706U (en) Automatic tectorial membrane accuse temperature removes seedbed controller
CN105527887A (en) Automatic film coating temperature control movement seedbed controller and control method
CN203366150U (en) Remote temperature monitoring device
Jin et al. Design an intelligent environment control system for greenhouse based on RS485 bus
CN107909796A (en) A kind of compound acquisition system of dual input multilist and method
CN207473330U (en) A kind of wisdom home energy source central controller
CN204244847U (en) A kind of Intelligent irrigation system
CN207249520U (en) A kind of intelligent greenhouse Internet of things system
CN112798834A (en) Metering box meter front switch device and metering box
CN205507511U (en) Networking breeding vernalization monitored control system towards precision agriculture
CN208537936U (en) A kind of acquisition of Agriculture Image and transmission control system
CN202003210U (en) Process data terminal for Internet of Things
CN104730970A (en) Intelligent control system of heat exchange unit
CN201155895Y (en) Heat pump hot water units multi-machine centralized remote control system
CN208490394U (en) A kind of heliogreenhouse insulation quilt control system
CN203480302U (en) Intelligent agriculture monitoring system based on the internet of things
CN104965548A (en) Clean room temperature and humidity measuring and controlling device
CN202309087U (en) Single-phase voltage adjusting device with core controller and combination switch

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant