CN105527887B - A kind of automatic film covering temperature control moving nursery bed controller and control method - Google Patents
A kind of automatic film covering temperature control moving nursery bed controller and control method Download PDFInfo
- Publication number
- CN105527887B CN105527887B CN201510892305.2A CN201510892305A CN105527887B CN 105527887 B CN105527887 B CN 105527887B CN 201510892305 A CN201510892305 A CN 201510892305A CN 105527887 B CN105527887 B CN 105527887B
- Authority
- CN
- China
- Prior art keywords
- control
- microcontroller
- relay
- seedbed
- interface
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 16
- 238000004891 communication Methods 0.000 claims abstract description 34
- 238000001514 detection method Methods 0.000 claims abstract description 22
- 239000004973 liquid crystal related substance Substances 0.000 claims abstract description 8
- 239000012528 membrane Substances 0.000 claims description 24
- 238000010438 heat treatment Methods 0.000 claims description 21
- 230000006870 function Effects 0.000 claims description 17
- 238000006243 chemical reaction Methods 0.000 claims description 13
- 102100031145 Probable low affinity copper uptake protein 2 Human genes 0.000 claims description 11
- 101710095010 Probable low affinity copper uptake protein 2 Proteins 0.000 claims description 11
- 238000012545 processing Methods 0.000 claims description 11
- 102100031577 High affinity copper uptake protein 1 Human genes 0.000 claims description 9
- 101710196315 High affinity copper uptake protein 1 Proteins 0.000 claims description 9
- 238000005259 measurement Methods 0.000 claims description 9
- 230000005611 electricity Effects 0.000 claims description 5
- 230000008569 process Effects 0.000 claims description 5
- 238000012986 modification Methods 0.000 claims description 4
- 230000004048 modification Effects 0.000 claims description 4
- 101100156949 Arabidopsis thaliana XRN4 gene Proteins 0.000 claims description 3
- 101100215777 Schizosaccharomyces pombe (strain 972 / ATCC 24843) ain1 gene Proteins 0.000 claims description 3
- 238000001914 filtration Methods 0.000 claims description 3
- 238000005286 illumination Methods 0.000 claims description 3
- 230000036961 partial effect Effects 0.000 claims description 3
- 230000001131 transforming effect Effects 0.000 claims description 3
- 230000001960 triggered effect Effects 0.000 claims description 3
- 241000208340 Araliaceae Species 0.000 claims description 2
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 claims description 2
- 235000003140 Panax quinquefolius Nutrition 0.000 claims description 2
- 235000008434 ginseng Nutrition 0.000 claims description 2
- 230000001681 protective effect Effects 0.000 claims description 2
- 230000002441 reversible effect Effects 0.000 claims description 2
- 239000002985 plastic film Substances 0.000 abstract description 6
- 229920006255 plastic film Polymers 0.000 abstract description 6
- 230000007613 environmental effect Effects 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 7
- 238000013461 design Methods 0.000 description 5
- 239000000306 component Substances 0.000 description 3
- 238000003860 storage Methods 0.000 description 3
- 230000002159 abnormal effect Effects 0.000 description 2
- 238000005284 basis set Methods 0.000 description 2
- 230000008901 benefit Effects 0.000 description 2
- 238000005265 energy consumption Methods 0.000 description 2
- 238000002955 isolation Methods 0.000 description 2
- 230000007257 malfunction Effects 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 206010037660 Pyrexia Diseases 0.000 description 1
- 238000009825 accumulation Methods 0.000 description 1
- 238000007792 addition Methods 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 239000003990 capacitor Substances 0.000 description 1
- 238000004140 cleaning Methods 0.000 description 1
- 238000001816 cooling Methods 0.000 description 1
- 239000008358 core component Substances 0.000 description 1
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 238000005485 electric heating Methods 0.000 description 1
- 238000004134 energy conservation Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000010030 laminating Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000004886 process control Methods 0.000 description 1
- 230000000384 rearing effect Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 230000002829 reductive effect Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000000087 stabilizing effect Effects 0.000 description 1
Classifications
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P80/00—Climate change mitigation technologies for sector-wide applications
- Y02P80/10—Efficient 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 a kind of automatic film covering temperature control moving nursery bed controller and control methods.Controller includes power module, temperature sensing detection unit, humidity sensor detection unit, control driving unit, RS-485 communication interface, data memory module, clock module, liquid crystal display, external key interface, microcontroller, the environmental quality at the agricultural scene fully considered, it is simple and practical, it is at low cost, anti-interference ability is good.Epidemic disaster information inside and outside controller automatic collection seedbed automatically controls related covering, retracting plastic film equipment and heated by electrothermal film equipment and carries out intelligent adjusting, and realization is precisely controlled;Control model is more flexible, can default preset parameter control, local control and centralized control mode or remotely be controlled by Internet of Things;Centralized control system completion cluster management can further be formed by having reserved RS-485 communication interface.The controller and control method improve nursery enterprise automation management level, energy-saving, save human cost.
Description
Technical field
The present invention relates to moving nursery bed fields, cover receiving apparatus and infrared electric heating for a kind of included plastic film automation
Moving nursery bed (201320756222.7), and in particular to a kind of automatic film covering temperature control moving nursery bed controller in such seedbed and
Control method.
Background technique
Seedbed includes fixed seedbed and moving nursery bed, is mainly used for the nursery of garden crop.In winter, when the low temperature such as early spring
In the nursery operation of section, need to heat entire temperature indoor environment using greenhouse heating system, energy consumption is high, operating cost
It is high;To put up plastic film on seedbed also simultaneously to increase accumulation of heat, the moisture-retaining capacity in seedbed, heavy workload, inefficiency.
To solve the above problems, Wang Rui, Liao Jian etc. have invented a kind of novel arched shed formula on original moving nursery bed basis
Automatic volume laminating machine, independent heating keep the temperature subenvironment, and realization is energy-saving, and can be realized the automatic volume of plastic film on seedbed
Receipts and covering function.Such seedbed also provides possibility for automatic management and control.
Nursery enterprise generally requires that the seedbed of scale group is managed concentratedly and controlled, this seedbed system structure it
On, it how to be further reduced manual work, realizes that accurate, automatic, the flexible control of seedbed " subenvironment " are an important classes
Topic.Research in response to this problem is also in blank both at home and abroad, and not similar control system and equipment can be used directly.
Summary of the invention
The present invention mainly solves technical problem present in the prior art;The seedbed for providing a kind of pair of scale carries out
Precisely, it automatically controls, reduces manual work, energy efficiency improves a kind of automatic film covering control of seedbed automation control efficiency
Warm moving nursery bed controller and control method.
Above-mentioned technical problem of the invention is mainly to be addressed by following technical proposals:
A kind of automatic film covering temperature control moving nursery bed controller characterized by comprising
Several seedbed controllers: cable or wireless device are communicated to connect by RS485 and connect with moving nursery bed centralized control center;
The structure of each seedbed controller is identical, includes:
One microcontroller: using based on Cotex-M3 core A RM32 bit processor;It controls in entire seedbed controller
The work of unit, module;
One humidity sensor detection unit: connecting with the IIC interface of microcontroller, is used for on-line measurement air humidity, together
When be converted to digital quantity for microcontroller read;
One temperature sensing detection unit: connecting with the I/O interface of microcontroller, is used for on-line measurement air themperature, together
When be converted to digital quantity for microcontroller read
One control driving unit: it is connect with the I/O interface of microcontroller, for controlling seedbed wound membrane tube shaped electric machine and red
The work of outer Electric radiant Heating Film;
One RS-485 communication interface: connecting with the USART interface of microcontroller,
One external key interface: connecting with the I/O interface of microcontroller, manually sets seedbed controller phase for user
Close parameter, equipment state;Including target temperature parameter setting, wound membrane expansion or gathering, heated by electrothermal film control;
One liquid crystal display: connecting with the USART interface of microcontroller,
One data memory module: connecting with the SPI interface of microcontroller, and the operation for storing seedbed controller is joined
Several and sensing data;
One clock module: connecting with the IIC interface of microcontroller, including reserve battery and model DS3231 when
The IIC interface of clock chip, clock chip and microcontroller connects;Clock circuit provides accurately in real time for entire controller
Time, the reserve battery are used to continue in power module power-off to guarantee clock circuit operation;
One power module 201: connecting with above-mentioned all units, module and interface and microcontroller, for institute
There are unit, module and interface and microcontroller power supply.
In a kind of above-mentioned automatic film covering temperature control moving nursery bed controller, the control driving unit includes seedbed wound membrane pipe
Shape motor control driving unit and infrared electrothermal film control driving unit;Wherein, wound membrane tube shaped electric machine in seedbed controls driving unit
Including two seedbed wound membrane tube shaped electric machine control driving subelements, for controlling rotating and reverse for seedbed wound membrane tube shaped electric machine;
Infrared electrothermal film control driving unit is used to control the folding of infrared electrothermal film, and the structure of all control driving units is identical,
Including low-voltage control circuit and high-pressure work circuit;
The low-voltage control circuit includes: photoelectrical coupler, photoelectrical coupler input by protection circuit one with it is micro-
The I/O port of controller MCU connects;The output of photoelectrical coupler is connect by a resistance with controlled motor or Electric radiant Heating Film, and passes through guarantor
Protection circuit two is connect with MOS switch pipe;
The high-pressure work circuit includes: the electromagnetic relay with normally opened contact, the electromagnetic relay connection AC electricity
It connect behind source with controlled motor or Electric radiant Heating Film, and is also connect simultaneously with MOS switch pipe;
Control triggers the LEDs ON of photoelectrical coupler when the CTR of microcontroller mouth exports high level,
After light-sensitive element is by illumination, phototriode conducting, the conducting of driving switch pipe, the conducting of trigger relay wire loop, relay
Device electromagnetic coil generates magnetic field, and relay normally open contact is promoted to be closed, and the conducting of high-tension circuit circuit, tube shaped electric machine or Electric radiant Heating Film are opened
Beginning work;
When the CTR of microcontroller mouth exports low level, the light emitting diode cut-off of photoelectrical coupler is triggered, it is photosensitive
Triode cut-off, switching tube cut-off, relay coil circuit are not turned on, and promote relay normally open contact to disconnect, high-tension circuit returns
Road is not turned on, and tube shaped electric machine or Electric radiant Heating Film stop working;
Control seedbed wound membrane tube shaped electric machine rotate forward, reversion when, work as CTR1=0, when CTR2=1, relay K1 wire loop
It is not turned on, the normally opened contact of relay K1 disconnects, the conducting of relay K2 wire loop, and the normally opened contact closure of relay K2 makes
220V control power supply is connect with the normally-closed contact of relay K1, and motor rotates forward port and obtains electric rotating forward, wound membrane expansion;Work as CTR1=1,
When CTR2=1, the conducting of relay K1 wire loop, the normally opened contact closure of relay K1, the conducting of relay K2 wire loop, after
The normally opened contact of electric appliance K2 is closed, and connect 220V control power supply with the normally opened contact of relay K1, motor reversal port obtains electric
Reversion, wound membrane collapse;As CTR2=0, no matter CTR1=0 or 1, relay K2 wire loop is not turned on, and relay K2's is normal
Contact disconnection is opened, motor rotates forward, reversion port cannot control power supply with 220V always and connect, so that motor is out of service;Tubulose
Motor status control logic is as shown in Figure 6;This design effectively avoids tubulose caused by microcontroller I/O port abnormal state
Motor malfunction, to cause the damage of equipment.
In a kind of above-mentioned automatic film covering temperature control moving nursery bed controller, the humidity sensor detection unit includes a capacitor
Formula Linear voltage output humidity module;The output voltage signal of condenser type Linear voltage output humidity module accesses electric resistance partial pressure net
Network, partial pressure are followed by an AD analog-digital converter, make voltage value in the conversion range of AD analog-digital converter, then by voltage division signal through filtering
The port AD analog-digital converter AIN1 is accessed after wave decoupling circuit, microcontroller passes through iic bus again and reads transforming numerical;It is micro-
The digital quantity conversion value that controller MCU is read obtains actually surveying in air after zero crossing-full scale mathematics conversion formula calculates
The humidity value of amount.
A kind of automatic film covering temperature control moving nursery bed control method characterized by comprising
Step 1: initialization relevant parameter equipment is arranged timing cycle, predeterminated target is arranged;
Step 2: entering main flow, opens interrupters communication check waits timing cycle;
Step 3: thering is external key to interrupt and reach, analyze the instruction, respective interrupt processing function is entered according to specific instruction;
Step 4: thering are data communications packets to interrupt and reach, parsing communication bag data is gone forward side by side according to communication bag data modification target
Enter respective interrupt processing function,
The interrupt processing function is as follows including receipts, overlay film, A.T.C humidity, process automatically: step 4.1: sentencing
Whether disconnected external command is direct operation volume overlay film and heater, be then directly into
Row operation;Otherwise enter automatic comparison control model 4.2;
Step 4.2: voluntarily acquiring current data of the Temperature and Humidity module and be compared with setting target component, according to certain algorithm
Control volume overlay film and heater work, and result phase is shown, it stores, feedback;
Step 5: timing cycle is to interruption is not detected, then basis sets target in advance and controlled;
Step 6: waiting reported result to be feedback, and enter next cycle and wait subsequent operation instruction, until major cycle knot
Beam;
It is received automatically in interrupt processing function, overlay film, the process of A.T.C humidity is as follows:
Step 7: judging whether external command is direct operation volume overlay film and heater, is directly to be operated;Otherwise
Into automatic comparison control model 8;
Step 8: voluntarily acquiring current data of the Temperature and Humidity module and be compared with setting target component, control volume overlay film and heating
Device work, and result phase is shown, it stores, feedback.
Therefore, the present invention has the advantage that
1, disclosure sets forth a kind of for the Novel movable seedbed controller with electronic overlay film and heating function, passes through
The cooperation of hardware circuit and embedded software, controller can epidemic disaster information inside and outside automatic collection seedbed, while covering automatically
Lid, retracting seedbed on plastic film and heated by electrothermal film control, thus be finally reached temperature control, control it is wet, built one be suitble to
" subenvironment " of nursery growth.When sensor parameters are exceeded, system will appear environmental threshold value alarm, and can automatically control phase
It closes equipment and carries out intelligent adjusting, realization is precisely controlled;
2, it generally requires to manage and control in the seedbed cluster to scale in view of nursery enterprise, this seedbed controller is reserved
RS-485 communication interface, multiple seedbed controllers can form bus communication system, be articulated to central controller centralized management
With monitoring, the requirement of enterprise intensification management has been adapted to;
3, specific control mode is more flexible, can be with preset parameter, can be with local control, can also be long-range by Internet of Things
Process control.It realizes that user passes through arbitrary network terminal at any time and any place, can be achieved to carry out the various equipment in seedbed
Long-range control, control receive, roll up overlay film, heating, humidifier;
4, Novel movable seedbed cooperates the embodiment of the present invention, can provide personalization for the agriculture requirement of different seedlings
Control is provided convenience for industrial seedling rearing cluster management and Flexible Production in same greenhouse, can fast responding market it is more
Sample, personalized seedling product demand, while nursery enterprise automation management level is improved, save human cost, energy conservation
Consumption reduction.
Detailed description of the invention
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 schematic diagram 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 a control driving unit circuit diagram of the tube shaped electric machine of the embodiment of the present invention.
Fig. 4 b is another control driving unit circuit diagram of the tube shaped electric machine of the embodiment of the present invention.
Fig. 5 is the tube shaped electric machine control schematic diagram of the embodiment of the present invention
Fig. 6 is the tube shaped electric machine control 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.
Specific embodiment
Below with reference to the embodiments and with reference to the accompanying drawing the technical solutions of the present invention will be further described.
Embodiment:
One, particular circuit configurations of the invention are introduced first.
It is the architecture diagram of seedbed centralized control system shown in Fig. 1, moving nursery bed centralized control center 101, seedbed controller 102 lead to
Cross 103RS485 communication connection cable or wireless device connection.The all regular Founder in general existing seedbed, live overlay film heating system
Also there is the ready-made route that has, therefore generally use wireline mode;And the wireless device for abiding by RS485 communication protocol then makes controller
Position distribution is then more flexible.This flat framework has the function of that structure is simple, at low cost, networking is convenient, strong, anti-interference ability
The advantages of good and Control-oriented.Seedbed controller 102 has reserved RS-485 communication interface, guarantees that multiple seedbed controllers can be with
Bus communication system is formed, is articulated to central controller centralized management and monitoring, centralized control center only needs support RS485 communication protocols
View, can be general with seedbed enterprise original management hardware compatibility.
The hardware configuration of seedbed controller 102 is as shown in Figure 2.Seedbed controller 102 includes power module 201, humidity biography
Feel detection unit 203, temperature sensing detection unit 202, control driving unit 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, the above present implementation are the preferred implementation scheme of this example.
Temperature sensing detection unit, humidity sensor detection unit, control driving unit, RS-485 communication interface, data are deposited
Storage module, clock module, liquid crystal display, external key interface and microcontroller are connect with power module;The temperature
The connection of the I/O interface of sensing detection unit and microcontroller;The IIC interface of humidity sensor detection unit and microcontroller
Connection;The I/O interface for controlling driving unit and microcontroller connects;The RS-485 communication interface and microcontroller
The connection of USART interface;The connection of the SPI interface of data memory module and microcontroller, clock module and microcontroller
The USART interface connection of the connection of IIC interface, liquid crystal display and microcontroller, external key and microcontroller
I/O interface connection.
Power module 201 includes alternating current 220V power-supply system, direct current 5V and 12V power-supply system.Entire controller input electricity
There are two parts in source, and a part is alternating current 220V, the driving power as plastic film motor and far-infrared electrothermal film;Another part
It is 12V DC power supply, as the input power of entire controller weak current part, on the one hand turns by DC-DC voltage dropping power supply module
Direct current 5V power supply is turned to, is microcontroller and other function module and chip power supply;On the other hand pass through DC-DC pressure stabilizing
Power module is converted into the direct current 12V power supply of isolation, is relay coil loop power supply.
DC-DC voltage dropping power supply module uses the K7805-500R2 of Jin Shengyang company, has Width funtion input, non-isolated steady
Pressure output, it is high-efficient, loss is small, the low characteristic of fever;DC-DC power module of voltage regulation uses the BS1212XT- of Jin Shengyang company
1WR2 has high conversion efficiency, isolation voltage 1500VDC characteristic.
Humidity sensor detection unit 203 mainly realizes the on-line measurement of air humidity, while being converted to digital quantity for micro-control
Device MCU processed is read.Humidity sensor detection unit includes humidity sensor, resistance pressure-dividing network, filter protective circuit, AD modulus turn
Parallel operation.
Humidity sensor uses HM1500LF, it is a kind of condenser type Linear voltage output humidity module, has highly reliable
Property and long-time stability, in 5V direct current supply, the corresponding output 1-3.6VDC linear voltage of 0-100%RH, temperature dependency
It is very low.Guarantee accuracy, consistency, the stability of acquisition sensor rotor signal.
As shown in figure 3, the voltage signal S1 of HM1500LF output is accessed resistance pressure-dividing network Ra1.1 and Ra1.2
(Ra1.1=15K, Ra1.2=12K, precision 0.1%) makes its voltage value in AD analog-digital converter after dividing by a certain percentage
In conversion range, then the port AD analog-digital converter AIN1 will be accessed after voltage division signal filtering decoupling, microcontroller passes through again
Iic bus reads transforming numerical.The digital quantity conversion value that microcontroller is read is through zero crossing-full scale mathematics conversion formula
After calculating, the humidity value of actual measurement in air is obtained.
AD analog-digital converter uses 18 A/D conversion chip MCP3424 of Microchip company, it has low noise, high
Precision is automatically corrected imbalance and gain error, and resolution ratio is adjustable, provides two kinds of translative mode features.
Temperature sensing detection unit 202 mainly realizes the on-line measurement of air themperature, while being converted to digital quantity for micro-control
Device MCU processed is read.Air themperature information is acquired using digital temperature sensor DS18B20, there is easy-to-connect, wear-resisting
It is resistance to touch, is small in size, is adaptable, being suitable for various small space thermometrics and control field.Due to its direct output digit signals,
It can directly be connect with the I/O port of microcontroller, read temperature data by specific protocol.Since controller will complete seedbed arch
The epidemic disaster of canopy subenvironment controls, therefore the epidemic disaster sensing detection unit of controller has separately designed two-way detection interface,
The epidemic disaster information of subenvironment in the arched shed of seedbed, Air Temperature, humidity information outside another way measurement seedbed arched shed are measured all the way.
Control the control function that driving unit 204 mainly completes seedbed wound membrane tube shaped electric machine and infrared electrothermal film.Preferably,
As shown in Fig. 4 a to Fig. 4 b, driving unit is controlled mainly by optical coupling isolator TLP181, Song Le SLA-12VDC-SL-C type relay
Device, switching tube NUD3160 composition.Low-voltage control circuit and high-pressure work circuit two parts, low pressure control can be logically divided into again
Circuit processed includes I/O port, photoelectrical coupler, MOS switch pipe, electromagnetic relay coil and the protection circuit of microcontroller;
High-pressure work circuit includes AC power supplies, electromagnetic relay normally opened contact, controlled motor or Electric radiant Heating Film.
When the CTR2 of microcontroller mouth exports high level, the LEDs ON of TLP181, light-sensitive element are triggered
After illumination, phototriode conducting, driving switch pipe NUD3160 conducting, the conducting of trigger relay wire loop, relay
Electromagnetic coil generates magnetic field, and relay normally open contact is promoted to be closed, and the conducting of high-tension circuit circuit, tube shaped electric machine or Electric radiant Heating Film start
Work.Similarly, when the CTR2 of microcontroller mouth exports low level, the light emitting diode cut-off of TLP181, phototriode
Cut-off, switching tube NUD3160 cut-off, relay coil circuit are not turned on, and promote relay normally open contact to disconnect, high-tension circuit returns
Road is not turned on, and tube shaped electric machine or Electric radiant Heating Film stop working.
The forward and backward start-up and shut-down control schematic illustration of wound membrane tube shaped electric machine is as shown in figure 5, the two-way control of this controller design
Driving circuit processed presses its on-off of certain logic control by the two-way I/O port of microcontroller, combination completes to rotate forward tube shaped electric machine,
Reversion, the control for stopping three states.Work as CTR1=0, when CTR2=1, relay K1 wire loop is not turned on, relay K1's
Normally opened contact disconnects, the conducting of relay K2 wire loop, and the normally opened contact closure of relay K2 makes 220V control power supply and relay
The normally-closed contact of device K1 connects, and motor rotates forward port and obtains electric rotating forward, wound membrane expansion;Work as CTR1=1, when CTR2=1, relay K1
Wire loop conducting, the normally opened contact closure of relay K1, the conducting of relay K2 wire loop, the normally opened contact of relay K2 close
It closes, connect 220V control power supply with the normally opened contact of relay K1, motor reversal port obtains electric reversion, and wound membrane collapses;When
When CTR2=0, no matter CTR1=0 or 1, relay K2 wire loop is not turned on, and the normally opened contact of relay K2 disconnects, and motor is just
Turn, reversion port always cannot with 220V control power supply connect, so that motor is out of service.Tube shaped electric machine state control logic is such as
Shown in Fig. 6.This design effectively avoids the malfunction of tube shaped electric machine caused by microcontroller I/O port abnormal state, to cause
The damage of equipment.
Electric radiant Heating Film control need to only design controls driving unit all the way, can be completed by an I/O port of microcontroller
The start-up and shut-down control of heating.
Clock circuit unit 209 includes the clock chip of reserve battery and model DS3231, clock chip and microcontroller
The IIC interface of device MCU connects.Clock circuit provides accurately real-time time for entire controller.Reserve battery is used in power supply
Module continues to guarantee clock circuit operation when powering off.
Data memory module 208 is used to store the operating parameter and sensing data of seedbed controller.Data memory module
It is connect by SPI interface with microcontroller, data memory module uses memory capacity for the storage chip of 128M.
Liquid crystal display 207 includes RS-485 communication chip 3082 and LCD MODULE.LCD MODULE uses
In Wuhan show intelligent display terminal, model SDW4027-042-TS40W, intelligent display terminal by RS-485 bus interface with
Communication chip 3082 connects, and communication chip 3082 is connect by USART interface with microcontroller.Liquid crystal display conduct
This equipment and extraneous man-machine interactive interface, real-time display sensing data, control equipment state and relevant parameter information.
External key interface 206, which is mainly realized, artificially manually sets seedbed controller relevant parameter, equipment state, such as target
Temperature parameter setting, wound membrane expansion or gathering, heated by electrothermal film control.External key interface passes through microswitch and microcontroller
The IO connection of MCU, MCU inquiry detect corresponding I/O state to judge whether key switch is pressed.This controller devise altogether 6 by
Key is that wound membrane collapses, expansion, stops, target temperature heating, cooling, determination respectively.
RS-485 communication interface 205 is articulated to RS-485 bus and external device communication by communication chip 3082.Seedbed
Controller can be used as RS-485 from equipment, establish two-way communication with center station control, can be realized the various configuration ginsengs in seedbed
Number, the write-in of control instruction and sensing data, the reading for controlling equipment state, parameter information.
Microcontroller 210, which uses, is based on Cotex-M3 core A RM32 bit processor, model STM32F103RCT6,
Powerful, Peripheral Interface are abundant, low in energy consumption, meet such Embedded Application demand.
Two, specific control method of the invention is described below.
The core component MCU210 of moving nursery bed controller completes corresponding equipment by executing the program code write
Function.Controller main program uses running background mode, shown in the specific implementation step flow chart 7 of the controller, committed step
It is as follows:
Step 1: initialization relevant parameter equipment is arranged timing cycle, predeterminated target is arranged.
Step 2: entering main flow, opens interrupters communication check waits timing cycle.
Step 3: thering is external key to interrupt and reach, analyze the instruction, respective interrupt processing function is entered according to specific instruction.
Step 4: thering are data communications packets to interrupt and reach, parsing communication bag data is gone forward side by side according to communication bag data modification target
Enter respective interrupt processing function.
Step 5: timing cycle is to interruption is not detected, then basis sets target in advance and controlled.
Step 6: waiting reported result to be feedback, and enter next cycle and wait subsequent operation instruction, until major cycle knot
Beam.
It is received automatically in interrupt processing function, overlay film, the process of A.T.C humidity is as follows:
Step 7: judging whether external command is direct operation volume overlay film and heater, is directly to be operated.Otherwise
Into automatic comparison control model 708.
Step 8: voluntarily acquiring current data of the Temperature and Humidity module and be compared with setting target component, according to certain algorithm control
System volume overlay film and heater work, and result phase is shown, it stores, feedback.
It is to be noted that the controller is there are three types of operating mode, mode one: default mode, self-timing with deposit in advance
The value of the setting of storage carries out detection comparison and carries out and control again;Mode two, centralized control mode, according to the communication instruction of centralized control center into
The instruction of row operation, centralized control center can also be issued by Internet of Things;Mode three: existing ground mode passes through this controller tyre
Screen external key carries out goal-setting and carries out terrain exercise.Mode two and mode three, which have also reserved interface, can directly set behaviour
Make executing agency's state, be switched on or off convenient for armamentarium, can be adapted for cleaning, maintenance model.
In the present invention, a kind of automatic film covering temperature control moving nursery bed controller is provided, hardware configuration modularized design is filled
Divide the environmental quality at the agricultural scene considered, it is simple and practical, it is at low cost;And centralized control system can be further formed, it supports a variety of
Control model such as pre-sets target value, local control, long-range control, meets the scale, fine-grained management and control of nursery enterprise
System.
Specific embodiment described herein is only an example for the spirit of the invention.The neck of technology belonging to the present invention
The technical staff in domain can make various modifications or additions to the described embodiments or replace by a similar method
In generation, however, it does not deviate from the spirit of the invention or beyond the scope of the appended claims.
Claims (2)
1. a kind of automatic film covering temperature control moving nursery bed controller characterized by comprising
Several seedbed controllers: cable or wireless device are communicated to connect by RS485 and connect with moving nursery bed centralized control center;Each
The structure of seedbed controller is identical, includes:
One microcontroller: using based on Cotex-M3 core A RM32 bit processor;Control unit in entire seedbed controller,
The work of module;
One humidity sensor detection unit: connecting with the IIC interface of microcontroller, is used for on-line measurement air humidity, turns simultaneously
Digital quantity is changed to read for microcontroller;
One temperature sensing detection unit: connecting with the I/O interface of microcontroller, is used for on-line measurement air themperature, turns simultaneously
Digital quantity is changed to read for microcontroller;
One control driving unit: it is connect with the I/O interface of microcontroller, for controlling seedbed wound membrane tube shaped electric machine and infrared electricity
The work of hotting mask;
One RS-485 communication interface: connecting with the USART interface of microcontroller,
One external key interface: connecting with the I/O interface of microcontroller, manually sets seedbed controller correlation ginseng for user
Number, equipment state;Including target temperature parameter setting, wound membrane expansion or gathering, heated by electrothermal film control;
One liquid crystal display: connecting with the USART interface of microcontroller,
One data memory module: connecting with the SPI interface of microcontroller, for store seedbed controller operating parameter and
Sensing data;
One clock module: connecting with the IIC interface of microcontroller, the clock core including reserve battery and model DS3231
The IIC interface of piece, clock chip and microcontroller connects;Clock circuit provides accurately real-time time for entire controller,
The reserve battery is used to continue in power module power-off to guarantee clock circuit operation;
One power module: connecting with above-mentioned all units, module and interface and microcontroller, for all units,
Module and the power supply of interface and microcontroller;
The humidity sensor detection unit includes humidity sensor, resistance pressure-dividing network, filter protective circuit, AD analog-to-digital conversion
Device;
The humidity sensor detection unit includes condenser type Linear voltage output humidity module;Condenser type Linear voltage output humidity
The output voltage signal of module accesses resistance pressure-dividing network, and partial pressure is followed by AD analog-digital converter, makes voltage value in AD analog-to-digital conversion
In the conversion range of device, then voltage division signal accessed into the port AD analog-digital converter AIN1, microcontroller after filtering decoupling circuit
MCU passes through iic bus again and reads transforming numerical;The digital quantity conversion value that microcontroller is read is through zero crossing-full scale mathematics
After conversion formula calculates, the humidity value of actual measurement in air is obtained;
The control driving unit includes seedbed wound membrane tube shaped electric machine control driving unit and infrared electrothermal film control driving unit;
Wherein, seedbed wound membrane tube shaped electric machine control driving unit includes two seedbed wound membrane tube shaped electric machine control driving subelements, is used for
Control seedbed wound membrane tube shaped electric machine rotates and reverse;Infrared electrothermal film control driving unit is for controlling opening for infrared electrothermal film
It closes, it includes low-voltage control circuit and high-pressure work circuit that the structure of all control driving units is identical;
The low-voltage control circuit includes: photoelectrical coupler, and the photoelectrical coupler input passes through protection circuit one and microcontroller
The I/O port of device MCU connects;The output of photoelectrical coupler is connect by a resistance with controlled motor or Electric radiant Heating Film, and passes through protection electricity
The connection of Lu Eryu MOS switch pipe;
The high-pressure work circuit includes: the electromagnetic relay with normally opened contact, after the electromagnetic relay connection AC power supplies
It connect with controlled motor or Electric radiant Heating Film, and is also connect simultaneously with MOS switch pipe;
Control triggers the LEDs ON of photoelectrical coupler when the CTR of microcontroller mouth exports high level, photosensitive
After element is by illumination, phototriode conducting, the conducting of driving switch pipe, the conducting of trigger relay wire loop, relay electricity
Magnetic coil generates magnetic field, and relay normally open contact is promoted to be closed, and the conducting of high-tension circuit circuit, tube shaped electric machine or Electric radiant Heating Film start work
Make;
When the CTR of microcontroller mouth exports low level, the light emitting diode cut-off of photoelectrical coupler, photosensitive three pole are triggered
Pipe cut-off, switching tube cut-off, relay coil circuit are not turned on, and promote relay normally open contact to disconnect, high-tension circuit circuit is not
Conducting, tube shaped electric machine or Electric radiant Heating Film stop working;
Control seedbed wound membrane tube shaped electric machine rotate forward, reversion when, work as CTR1=0, when CTR2=1, relay K1 wire loop is not led
Logical, the normally opened contact of relay K1 disconnects, the conducting of relay K2 wire loop, and the normally opened contact closure of relay K2 makes 220V
Control power supply is connect with the normally-closed contact of relay K1, and motor rotates forward port and obtains electric rotating forward, wound membrane expansion;Work as CTR1=1, CTR2
When=1, the conducting of relay K1 wire loop, the normally opened contact closure of relay K1, the conducting of relay K2 wire loop, relay
The normally opened contact of K2 is closed, and connect 220V control power supply with the normally opened contact of relay K1, and motor reversal port obtains electric reversion,
Wound membrane collapses;As CTR2=0, no matter CTR1=0 or 1, relay K2 wire loop is not turned on, the normally opened contact of relay K2
It disconnects, motor rotates forward, reversion port cannot control power supply with 220V always and connect, so that motor is out of service.
2. a kind of using a kind of control method of automatic film covering temperature control moving nursery bed controller described in claim 1, feature
It is, comprising:
Step 1: initialization relevant parameter equipment is arranged timing cycle, predeterminated target is arranged;
Step 2: entering main flow, opens interrupters communication check waits timing cycle;
Step 3: thering is external key to interrupt and reach, analyze the instruction, respective interrupt processing function is entered according to specific instruction;
Step 4: thering are data communications packets to interrupt and reach, parsing communication bag data according to communication bag data modification target, and enters phase
Interrupt processing function is answered,
The interrupt processing function is as follows including receipts, overlay film, A.T.C humidity, process automatically: step 4.1: judgement is outer
Whether portion's instruction is direct operation volume overlay film and heater, is directly to be operated;Otherwise enter automatic comparison control model,
That is step 4.2;
Step 4.2: voluntarily acquiring current data of the Temperature and Humidity module and be compared with setting target component, controlled according to certain algorithm
Overlay film and heater work are rolled up, and result phase is shown, is stored, feedback;
Step 5: timing cycle is to interruption is not detected, then basis presets target and controlled;
Step 6: waiting reported result to be feedback, and enter next cycle and wait subsequent operation instruction, until major cycle terminates;
It is received automatically in interrupt processing function, overlay film, the process of A.T.C humidity is as follows:
Step 7: judging whether external command is direct operation volume overlay film and heater, is directly to be operated;Otherwise enter
Automatic comparison control model, i.e. step 8;
Step 8: voluntarily acquiring current data of the Temperature and Humidity module and be compared with setting target component, control volume overlay film and heater work
Make, and result phase is shown, stores, feedback.
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 CN105527887A (en) | 2016-04-27 |
CN105527887B true CN105527887B (en) | 2019-07-23 |
Family
ID=55770179
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510892305.2A Expired - Fee Related 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) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110639631B (en) * | 2019-10-18 | 2021-08-31 | 迈普通信技术股份有限公司 | Temperature and humidity test box high temperature protection device |
Citations (4)
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 |
-
2015
- 2015-11-27 CN CN201510892305.2A patent/CN105527887B/en not_active Expired - Fee Related
Patent Citations (4)
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)
Title |
---|
傅仕杰.基于STM32的分布式智能温室控制***.《中国优秀硕士学位论文全文数据库•信息科技辑》.2011,(第8期), |
温室育苗自动覆膜控温移动苗床;王锐 等;《长江蔬菜》;20141231(第21期);第2.1-2.2节 |
Also Published As
Publication number | Publication date |
---|---|
CN105527887A (en) | 2016-04-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102436734B (en) | Intelligent energy-saving monitoring management data collecting concentrator and collecting method thereof | |
CN203454309U (en) | Special central air conditioning energy-saving control system for operating room | |
CN207094770U (en) | A kind of intelligent heating system based on Internet of Things | |
CN101900394A (en) | Building air-conditioner control system and method based on ZigBee wireless technology | |
CN107608318A (en) | A kind of intelligent home control system based on NB IOT | |
CN204406166U (en) | A kind of home environment controller based on human comfort | |
CN111930055B (en) | Comprehensive energy sensing device with optimized control | |
CN107091535A (en) | A kind of household solar energy water heater intelligent control system | |
CN208205335U (en) | Device driver for wireless networking environmental control system | |
CN205920424U (en) | Electric blanket controller based on remote control | |
CN105527887B (en) | A kind of automatic film covering temperature control moving nursery bed controller and control method | |
CN102679498B (en) | Self-correcting variable parameter fan coil temperature control method and special equipment | |
CN105352020A (en) | Active energy-saving management method | |
CN205176706U (en) | Automatic tectorial membrane accuse temperature removes seedbed controller | |
CN207019238U (en) | A kind of intelligent air condition monitoring device based on ZigBee mechanicss of communication | |
CN205450821U (en) | Greenhouse control system based on zigBee and PLC | |
Jin et al. | Design an intelligent environment control system for greenhouse based on rs485 bus | |
CN207473330U (en) | A kind of wisdom home energy source central controller | |
CN204595660U (en) | A kind of seedling rearing room humiture wireless control system | |
CN207249520U (en) | A kind of intelligent greenhouse Internet of things system | |
CN202649854U (en) | Temperature-humidity intelligent monitoring system for standardization safe tool-apparatus storehouse for live-wire work | |
CN208537936U (en) | A kind of acquisition of Agriculture Image and transmission control system | |
CN201355092Y (en) | General type intelligent energy-saving linked controller | |
CN209639215U (en) | A kind of intelligent air condition energy-saving constant-temperature control system | |
CN103558823B (en) | A kind of open cattle farm cooling inter-linked controlling method based on respiratory rate and device |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190723 |