CN108646636A - Intelligent aquarium complex control system - Google Patents
Intelligent aquarium complex control system Download PDFInfo
- Publication number
- CN108646636A CN108646636A CN201810716262.6A CN201810716262A CN108646636A CN 108646636 A CN108646636 A CN 108646636A CN 201810716262 A CN201810716262 A CN 201810716262A CN 108646636 A CN108646636 A CN 108646636A
- Authority
- CN
- China
- Prior art keywords
- feet
- circuit
- foot
- interfaces
- aquarium
- 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
Links
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 claims abstract description 135
- 238000001514 detection method Methods 0.000 claims abstract description 80
- 238000001816 cooling Methods 0.000 claims abstract description 30
- 238000001914 filtration Methods 0.000 claims abstract description 21
- 238000010438 heat treatment Methods 0.000 claims abstract description 21
- 238000012544 monitoring process Methods 0.000 claims abstract description 7
- 230000035611 feeding Effects 0.000 claims description 28
- 230000005611 electricity Effects 0.000 claims description 20
- QVGXLLKOCUKJST-UHFFFAOYSA-N atomic oxygen Chemical compound [O] QVGXLLKOCUKJST-UHFFFAOYSA-N 0.000 claims description 18
- 229910052760 oxygen Inorganic materials 0.000 claims description 18
- 239000001301 oxygen Substances 0.000 claims description 18
- 239000013589 supplement Substances 0.000 claims description 15
- 238000004891 communication Methods 0.000 claims description 12
- 230000003020 moisturizing effect Effects 0.000 claims description 12
- 238000006213 oxygenation reaction Methods 0.000 claims description 10
- 238000009736 wetting Methods 0.000 claims description 10
- 230000008859 change Effects 0.000 claims description 9
- 238000005286 illumination Methods 0.000 claims description 9
- 238000000034 method Methods 0.000 claims description 9
- 238000005259 measurement Methods 0.000 claims description 8
- 238000012545 processing Methods 0.000 claims description 7
- 230000008878 coupling Effects 0.000 claims description 6
- 238000010168 coupling process Methods 0.000 claims description 6
- 238000005859 coupling reaction Methods 0.000 claims description 6
- 230000003750 conditioning effect Effects 0.000 claims description 5
- 238000002955 isolation Methods 0.000 claims description 5
- 230000004048 modification Effects 0.000 claims description 3
- 238000012986 modification Methods 0.000 claims description 3
- 238000011084 recovery Methods 0.000 claims description 3
- 230000000087 stabilizing effect Effects 0.000 claims description 3
- 238000007689 inspection Methods 0.000 claims description 2
- 241000251468 Actinopterygii Species 0.000 abstract description 9
- 238000005516 engineering process Methods 0.000 abstract description 4
- 241001465754 Metazoa Species 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 9
- 230000000694 effects Effects 0.000 description 6
- 230000008901 benefit Effects 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 4
- 238000013461 design Methods 0.000 description 4
- 230000004089 microcirculation Effects 0.000 description 4
- 230000000737 periodic effect Effects 0.000 description 4
- 206010016256 fatigue Diseases 0.000 description 3
- 230000002093 peripheral effect Effects 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 2
- 238000004134 energy conservation Methods 0.000 description 2
- 230000007613 environmental effect Effects 0.000 description 2
- 238000009434 installation Methods 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 238000003825 pressing Methods 0.000 description 2
- 239000000047 product Substances 0.000 description 2
- 238000009395 breeding Methods 0.000 description 1
- 230000001488 breeding effect Effects 0.000 description 1
- 239000013078 crystal Substances 0.000 description 1
- 230000003760 hair shine Effects 0.000 description 1
- 239000007788 liquid Substances 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 230000004083 survival effect Effects 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
- 239000002351 wastewater Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05D—SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G05D27/00—Simultaneous control of variables covered by two or more of main groups G05D1/00 - G05D25/00
- G05D27/02—Simultaneous control of variables covered by two or more of main groups G05D1/00 - G05D25/00 characterised by the use of electric means
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/26—Pc applications
- G05B2219/2639—Energy management, use maximum of cheap power, keep peak load low
Abstract
Intelligence aquarium complex control system of the present invention, including cylinder body (1), circuit structure, its cylinder body (1) includes front panel (1 1), rear panel (1 2), left panel (1 3), right panel (1 4) and bottom plate (1 5), set water filtering device (2) respectively above cylinder body, breed pond (3), feeder (4), cooling fan (6), heating device (5) is respectively provided in cylinder body, water level detecting (7), water temperature detection sensor (8) and water quality detection (9), replenishing water tank of water (10) is housed on the right side of cylinder body;The present invention is controlled using single-chip microcomputer control technology, in conjunction with sensor, photocoupling relay, integrates various control function, is changed traditional aquarium culture of fish pattern, is realized aquarium automation control;Realize long-range monitoring and control function;Control parameter can be adjusted according to user demand, meet a variety of demands of user, have vast market prospect in aquatic animal cultivating field.
Description
Technical field
The present invention relates to a kind of aquariums, more specifically to a kind of intelligent aquarium complex control system.
Background technology
Aquarium only has part control function currently on the market, and the degree of automation is low, and labor intensity is larger, intelligent
Degree is not high, waste water resource, must there is special messenger's treatment, and nursery is inconvenient, does not have teledata monitoring and control function etc..In recent years
There is a kind of aquarium, such as:Patent of invention CN206760470U discloses " a kind of aquarium intelligent control system in this way
System " uses Siemens Logo!Controller come control solenoid valve, water pump, heater, oxygen increasing pump, light and by temperature sensor,
Information in liquid level sensor, pH value detection sensor Real-time Feedback aquarium, to realize the cultivating system of intelligent control.It should
Invention has some shortcomings:1. not having teledata monitoring and control function;2. not having water turbidity detection and intelligent water
Circulating filtration;3. not having alternating current burst power-off automatically switches function of supplying power;4. not having automatic aquarium microcirculation moisturizing work(
Energy;5. not having automatic aquarium cooling function etc..
Invention content
The technical problem to be solved by the present invention is to:A kind of intelligent aquarium complex control system is provided, microcontroller control is utilized
Technology processed is controlled in conjunction with sensor, photocoupling relay, is integrated various control function, is changed traditional aquarium culture of fish
Pattern realizes aquarium temperature automatic control;The control illumination of automatic Light degree;Automated periodic quantifies feeding;Automatic water level is examined
It surveys and shows;Automatic aquarium microcirculation moisturizing;Power supply is automatically switched in alternating current burst power-off;Water turbidity detects and intelligent water circulating
Filtering;Automated periodic oxygenation;Automatic aquarium cooling;It is semi-automatic to change water;Installation breeds the functions such as case;It is passed with teledata
Transmission function is, it can be achieved that long-range monitoring and control function.And control parameter can be adjusted according to user demand, it is suitable for different users
Demand, especially suitable for often going on business, travelling, overtime work for a long time and more tired out but want the ornamental crowd that breeds fish.In the Shui nationality
Cultivation has a vast market foreground and economic benefit in field, has filled up the market vacancy.
The present invention includes cylinder body, circuit structure, and cylinder body includes front panel, rear panel, left panel, right panel and bottom plate,
It is equipped with water filtration device above cylinder body, breeds case, feeding equipment, cooling system, heating device, water level are respectively provided in cylinder body
Detection sensor, water temperature detection sensor, water quality detection module, cylinder body right side are equipped with replenishing water tank of water;Circuit structure includes:Function
Socket, PIC single chip microcomputer minimum system circuit, time display circuit, detection circuit, power circuit, function-driven circuit, data
Telecommunication circuit, feature are:A, PIC single chip microcomputer minimum system circuit JP07, JP03, JP05 interface are electric with time display respectively
Road J1, J2, J3 interface is connected;Wherein:38 foot of the ports microcontroller RB5 passes through 1 foot of JP07 and the 1 foot phase of time display circuit JI
Even;37 foot of the ports microcontroller RB4 is connected by 2 feet of JP07 with 2 feet of time display circuit JI;36 foot of the ports microcontroller RB3
It is connected with 3 feet of time display circuit JI by 3 feet of JP07;35 foot of the ports microcontroller RB2 is aobvious by 4 feet of JP07 and timing
Show that 4 feet of circuit JI are connected;34 foot of the ports microcontroller RB1 is connected by 5 feet of JP07 with 5 feet of time display circuit JI;It is single
33 foot of the ports piece machine RB0 is connected by 6 feet of JP07 with 6 feet of time display circuit JI;10 foot of the ports microcontroller RE2 passes through
1 foot of JP03 is connected with 2 feet of time display circuit J2;2 feet and time display electricity that 9 foot of the ports microcontroller RE1 passes through JP03
1 foot of road J2 is connected;18 foot of the ports microcontroller RC3 is connected by 2 feet of JP05 with 1 foot of time display circuit J3;Microcontroller
23 foot of the ports RC4 is connected by 1 foot of JP05 with 2 feet of time display circuit J3.
B, PIC single chip microcomputer minimum system circuit JP08 interfaces are connected with function-driven circuit JZ1 interfaces, realize to various work(
It can equipment and illumination, the control of cooling system;Wherein:1 foot and function-driven circuit that 30 foot of the ports microcontroller RD7 passes through JP08
1 foot of JZ1 is connected, and the oxygenation of microcontroller output is controlled 2 feet of the signal by interface input optocoupler U16, by U16
The output of 4 feet, 7 feet of input Darlington driving chip U6 export by 10 feet of U6, go the coil of control relay K3, relay
The normally opened contact of device K3 controls the power firestreak of oxygen increasing equipment, that is, oxygen increasing pump, and output connects 7 feet of JZ3 interfaces.Microcontroller RD6
29 foot of port is connected by 2 feet of JP08 with 2 feet of function-driven circuit JZ1, the water filtered control signal that microcontroller is exported
It by 2 feet of interface input optocoupler U15, is exported by 4 feet of U15,6 feet of input Darlington driving chip U6, by
11 feet of U6 export, and remove the coil of control relay K2, the electricity of the normally opened contact of relay K2 to water filtration device, that is, filter pump
Source firewire control, output connect 6 feet of JZ3 interfaces.3 feet and function-driven circuit that 28 foot of the ports microcontroller RD5 passes through JP08
3 feet of JZ1 are connected, by the thermal control signals of microcontroller output by 2 feet of interface input optocoupler U14, by U14
The output of 4 feet, 5 feet of input Darlington driving chip U6 export by 12 feet of U6, go the coil of control relay K1, relay
The normally opened contact of device K1 controls the power firestreak of heating equipment, that is, heater, and output connects 5 feet of JZ3 interfaces.Microcontroller RD4
27 foot of port is connected by 4 feet of JP08 with 4 feet of function-driven circuit JZ1, and the illumination control signal that microcontroller exports is led to
2 feet for crossing interface input optocoupler U13 are exported by 4 feet of U13,4 feet of input Darlington driving chip U6, by U6
The output of 13 feet, remove the coil of control relay K4, the power supply of the normally opened contact of relay K4 to lighting apparatus, that is, houselights
Firewire controls, and output connects 4 feet of JZ3 interfaces.5 feet and function-driven circuit JZ1 that 24 foot of the ports microcontroller RC5 passes through JP08
5 feet be connected, by microcontroller output feeding control 2 feet of the signal by interface input optocoupler U12, by the 4 of U12
Foot exports, and 3 feet of input Darlington driving chip U6 are exported by 14 feet of U6, remove the coil of control relay K5, relay K5
Normally opened contact the power firestreak of feeding equipment, that is, feeding device is controlled, output connects 3 feet of JZ3 interfaces.The ports microcontroller RD3
22 feet are connected by 6 feet of JP08 with 6 feet of function-driven circuit JZ1, and the aquarium moisturizing of microcontroller output is controlled signal
It by 2 feet of interface input optocoupler U11, is exported by 4 feet of U11,2 feet of input Darlington driving chip U6, by
15 feet of U6 export, and remove the coil of control relay K6, the normally opened contact of relay K6 is to aquarium water supplement apparatus, that is, small pump
Power firestreak control, output connects 2 feet of JZ3 interfaces.7 feet and function-driven that 21 foot of the ports microcontroller RD2 passes through JP08
7 feet of circuit JZ1 are connected, and the aquarium cooling control signal of microcontroller output is passed through interface input optocoupler U10
2 feet, exported by 4 feet of U10,1 foot of input Darlington driving chip U6 is exported by 16 feet of U6, removes control relay K7
Coil, the normally opened contact of relay K7 controls the power firestreak of aquarium cooling system, that is, small-sized axial flow fan, output
Connect 1 foot of JZ3 interfaces.
C, PIC single chip microcomputer minimum system circuit JP01, JP02, JP04, JP09 interface respectively with detection circuit JC4, JC1,
JC3, JC6 interface are connected, and realize the detection to brightness, water level, water temperature, water quality.Wherein:4 foot of the ports microcontroller RA2 passes through
3 feet of JP02 are connected with 3 feet of detection circuit JC1;2 feet and the 2 of detection circuit JC1 that 5 foot of the ports microcontroller RA3 passes through JP02
Foot is connected;7 foot of the ports microcontroller RA5 is connected by 1 foot of JP02 with 1 foot of detection circuit JC1.
D, PIC single chip microcomputer minimum system circuit JP10 interfaces are connected with datel circuit JC8 interfaces, realize the intelligent Shui nationality
Information mutual communication between case and user mobile phone.Wherein:1 foot and datel circuit that 26 foot of the ports microcontroller RX passes through JP10
1 foot of JC8 is connected;25 foot of the ports microcontroller TX is connected by 2 feet of JP10 with 2 feet of datel circuit JC8;The 3 of JP10
Foot is grounded.
E, PIC single chip microcomputer minimum system circuit JP06 interfaces are connected with emulator, realize the on-line debugging and program of system
It downloads.
Present invention has the advantages that:It is controlled using single-chip microcomputer control technology, in conjunction with sensor, photocoupling relay, collection
Various control function changes traditional aquarium culture of fish pattern, realizes aquarium temperature automatic control in one;Automatic brightness control
System illumination;Automated periodic quantifies feeding;Automatic water level detects and display;Automatic aquarium microcirculation moisturizing;Alternating current burst is disconnected
Electricity automatically switches power supply;Water turbidity detects and intelligent water circulating filtering;Automated periodic oxygenation;Automatic aquarium cooling;Half certainly
Move water;Installation breeds the functions such as case.And control parameter can be adjusted according to user's use demands, it is suitable for the need of different users
It asks.Automation, intelligence degree are higher, solve the trouble and worry of aquarist, such as go on business, work overtime for a long time, travel, and mitigate
Labor intensity, saves water resource, energy conservation and environmental protection, especially suitable for office space, family and more tired out but want to breed fish ornamental
Crowd use, have a vast market foreground and economic benefit, filled up the market vacancy.
Description of the drawings
Invention is further described in detail with specific implementation method below in conjunction with the accompanying drawings.
Fig. 1 is 1 structural schematic diagram of aquarium complex control system cylinder body of the present invention.
Fig. 2 is 11 structural schematic diagram of functional socket plate of the present invention.
Fig. 3 is that circuit structure of the present invention connects block diagram.
Fig. 4 is the circuit diagram of PIC single chip microcomputer minimum system circuit 23 in Fig. 3 of the present invention.
Fig. 5 is the schematic diagram of time display circuit 24 in Fig. 3 of the present invention.
Fig. 6 be Fig. 3 of the present invention in detection circuit 25, data communication module 28 circuit diagram.
Fig. 7 is the circuit diagram of function-driven circuit 27 in Fig. 3 of the present invention.
Fig. 8 is the circuit diagram of the direct current 5V and 12V in power circuit 26 in Fig. 3 of the present invention.
Fig. 9 is the circuit diagram of the stand-by power supply control in power circuit 26 in Fig. 3 of the present invention.
Figure 10 is present procedure control flow chart.
Specific implementation mode
In Fig. 1:Cylinder body 1 is made of front panel 1-1, rear panel 1-2, left panel 1-3, right panel 1-4 and bottom plate 1-5,
It is equipped with water filtration device 2 respectively above cylinder body 1, breeds case 3, feeding equipment 4, cooling system i.e. small-sized axial flow fan 6, cylinder body
It is right to be inside respectively provided with heating equipment 5, level detection sensor 7, water temperature detection sensor 8, water turbidity detection sensor 9, cylinder body
Side is equipped with replenishing water tank of water 10.
The effect of wherein water filtration device 2 is:The water turbidity of aquarium is detected by water turbidity detection sensor 9,
Control 2 circulating filtration of water filtration device, it is ensured that water quality is in setting range.Breeding the effect of case 3 is:Breed fry, it is ensured that educate
Shoot survival percent.The effect of feeding equipment 4 is:Fish food is launched by the setup parameter period;Water temperature detection sensor 8, cooling system 6,
The effect of heating equipment 5 is:By the temperature of the detection water outlet of water temperature detection sensor 8, adjusted by cooling system 6 and heating equipment 5
Water temperature in aquarium is saved in setting range.The effect of level detection sensor 7 is:The high and low of aquarium water level is detected, by mending
Water tank 10 carries out microcirculation moisturizing.
In fig. 2:Functional socket plate 11 is made of 10 jacks, has power switch 12, aquarium feeding equipment to insert above
Hole 13, aquarium water filter plant jack 14, aquarium oxygen increasing equipment jack 15, aquarium heating equipment jack 16, aquarium
Water supplement apparatus jack 17, lighting device of aquarium jack 18, aquarium cooling system jack 19, aquarium is semi-automatic changes wetting system
Jack 20, microcontroller power supply jack 21, switched power sockets 22, each jack have the function of it is different, can facilitate plug and
More exchange device provides Alternating Current Power Supply for equipment.
In Fig. 3, Tu10Zhong:Singlechip minimum system circuit 23 is made of PIC single chip microcomputer U1 and interface socket;Wherein:It is fixed
When display circuit 24 in key circuit singlechip minimum system circuit JP07 interfaces are connected to by J1 interfaces, realize and microcontroller
B mouthfuls are connected, and are interrupted by B mouthfuls of level changes and scan mode judges key assignments, set the cycle of operation of aquarium oxygen increasing equipment,
Through software programming technique, high and low level is exported by U1, realizes and the switching that oxygen increasing equipment is powered is controlled.Wherein:Oxygenation level
It controls signal to be exported by 30 foot of the ports RD7,1 foot through JP08 is connected to 1 foot of function-driven circuit JZ1, through photoelectrical coupler
U16 is isolated, and is sent into 7 feet of Darlington driving chip U6, is exported by 10 feet of U6, removes the coil of control relay K3, relay
The normally opened contact of K3 controls the power firestreak of oxygen increasing equipment.Water level detection circuit in detection circuit 25 is connected by JC1 interfaces
To monolithic pole minimum system circuit JP02 interfaces, microcontroller is judged by the situation of change of three pin level on JP02 interfaces
Aquarium water level controls level signal, 6 feet through JP08 are connected to through software programming by the ports the RC6 25 foot output moisturizing of U1
6 feet of function-driven circuit JZ1 are isolated through photoelectrical coupler U11,2 feet of Darlington driving chip U6 are sent into, by 15 feet of U6
Output goes the coil of control relay K6, the normally opened contact of relay K6 to control the power firestreak of water supplement apparatus.Detection circuit
Light detection circuit in 25 is connected to singlechip minimum system circuit JP01 interfaces by JC4 interfaces, realize in single chip microcomputer
A/D converter is connected, and obtains luminous intensity digital quantity, through software programming technique, by the ports the RD4 27 foot output Lighting control electricity of U1
Ordinary mail number, 4 feet through JP08 are connected to 4 feet of function-driven circuit JZ1, are isolated through photoelectrical coupler U13, are sent into Darlington and drive
4 feet of dynamic chip U6, are exported by 13 feet of U6, and the coil of control relay K4, the normally opened contact of relay K4 is gone to set illumination
Standby power firestreak control.Temperature sensing circuit in detection circuit 25 is connected to singlechip minimum system circuit by JC3 interfaces
JP04 interfaces, monobus transmits temperature digital amount between temperature sensor and U1, through software programming technique, when aquarium temperature is low
In system set point temperature, computer heating control level signal is exported by 28 foot of the ports RD5 of U1,3 feet through JP08 are connected to function drive
3 feet of dynamic circuit JZ1, are isolated through photoelectrical coupler U14, are sent into 5 feet of Darlington driving chip U6, are exported by 12 feet of U6,
It goes the coil of control relay K1, the normally opened contact of relay K1 to control the power firestreak of heating equipment, works as water temperature in aquarium
Degree is higher than system set point temperature, and by the ports the RD2 21 foot output aquarium cooling control level signal of U1,7 feet through JP08 connect
7 feet of function-driven circuit JZ1 are connected to, are isolated through photoelectrical coupler U10,1 foot of Darlington driving chip U6 are sent into, by U6's
16 feet export, and remove the coil of control relay K7, the normally opened contact of relay K7 is to aquarium cooling system, that is, small-size shaft stream wind
The power firestreak of machine controls.Water quality, that is, Turbidity measurement circuit in detection circuit 25 is connected to microcontroller minimum system by JC6 interfaces
It unites circuit JP09 interfaces, the analog signal of water quality detection module output is sent into A/D converter in U1 pieces, through software programming technique,
Filter plant level controling signal is exported by 29 foot of the ports RD6 of U1, and 2 feet through JP08 are connected to the 2 of function-driven circuit JZ1
Foot is isolated through photoelectrical coupler U15, is sent into 6 feet of Darlington driving chip U6, is exported by 11 feet of U6, and control relay is removed
The normally opened contact of the coil of K2, relay K2 controls the power firestreak of filter plant.Power supply use+5V power supplys, system energization
Afterwards, I/O port initializations, singlechip interruption setting, A/D transition initializations in piece, I in piece are first carried out2C bus initializations, just
Beginningization LED display module, the setting of function-driven circuit original state, then execute keyboard processing routine, water temperature detection and control journey
Sequence, water level detecting and moisturizing control program, brightness detection and Lighting control program, feeding, oxygenation, water filter controlling program,
To complete corresponding function (see Figure 10).
A, PIC single chip microcomputer minimum system circuit JP07, JP03, JP05 interface connect with time display circuit J1, J2, J3 respectively
Mouth is connected;Wherein:38 foot of the ports microcontroller RB5 is connected by 1 foot of JP07 with 1 foot of time display circuit JI;Microcontroller RB4
37 foot of port is connected by 2 feet of JP07 with 2 feet of time display circuit JI;3 feet that 36 foot of the ports microcontroller RB3 passes through JP07
It is connected with 3 feet of time display circuit JI;4 feet that 35 foot of the ports microcontroller RB2 passes through 4 feet and time display circuit JI of JP07
It is connected;34 foot of the ports microcontroller RB1 is connected by 5 feet of JP07 with 5 feet of time display circuit JI;The ports microcontroller RB0 33
Foot is connected by 6 feet of JP07 with 6 feet of time display circuit JI;1 foot and timing of 10 foot of the ports microcontroller RE2 by JP03
2 feet of display circuit J2 are connected;9 foot of the ports microcontroller RE1 is connected by 2 feet of JP03 with 1 foot of time display circuit J2;It is single
18 foot of the ports piece machine RC3 is connected by 2 feet of JP05 with 1 foot of time display circuit J3;23 foot of the ports microcontroller RC4 passes through
1 foot of JP05 is connected with 2 feet of time display circuit J3;
B, PIC single chip microcomputer minimum system circuit 23JP08 interfaces are connected with function-driven circuit JZ1 interfaces, realize to various
The control of function device and lighting apparatus, cooling system.Wherein:30 foot of the ports microcontroller RD7 is driven by 1 foot of JP08 with function
1 foot of dynamic circuit JZ1 is connected, and the oxygenation control signal of microcontroller output is passed through the 2 of interface input optocoupler U16
Foot is exported by 4 feet of U16, and 7 feet of input Darlington driving chip U6 are exported by 10 feet of U6, remove the line of control relay K3
The normally opened contact of circle, relay K3 controls the power firestreak of oxygen increasing equipment, and the 10 feet output of U6 connects 7 feet of JZ3 interfaces.Monolithic
29 foot of the ports machine RD6 is connected by 2 feet of JP08 with 2 feet of function-driven circuit JZ1, and the water of microcontroller output is filtered control
Signal is exported by 2 feet of interface input optocoupler U15 by 4 feet of U15, and the 6 of input Darlington driving chip U6
Foot is exported by 11 feet of U6, goes the coil of control relay K2, the normally opened contact of relay K2 fiery to the power supply of water filtration device
Line traffic control, the 11 feet output of U6 connect 6 feet of JZ3 interfaces.3 feet and function-driven electricity that 28 foot of the ports microcontroller RD5 passes through JP08
3 feet of road JZ1 are connected, by the thermal control signals of microcontroller output by 2 feet of interface input optocoupler U14, by
4 feet of U14 export, and 5 feet of input Darlington driving chip U6 are exported by 12 feet of U6, remove the coil of control relay K1, after
The normally opened contact of electric appliance K1 controls the power firestreak of heating equipment, and the 12 feet output of U6 connects 5 feet of JZ3 interfaces.Microcontroller RD4
27 foot of port is connected by 4 feet of JP08 with 4 feet of function-driven circuit JZ1, and the illumination control signal that microcontroller exports is led to
2 feet for crossing interface input optocoupler U13 are exported by 4 feet of U13,4 feet of input Darlington driving chip U6, by U6
The output of 13 feet, go the coil of control relay K4, the normally opened contact of relay K4 to control the power firestreak of lighting apparatus, U6
13 feet output connect 5 feet that 4 ports foot microcontroller RC5,24 foot of JZ3 interfaces passes through 5 feet and function-driven circuit JZ1 of JP08
It is connected, the feeding of microcontroller output is controlled into 2 feet of the signal by interface input optocoupler U12, it is defeated by 4 feet of U12
Go out, 3 feet of input Darlington driving chip U6 are exported by 14 feet of U6, remove the coil of control relay K5, relay K5's is normal
It opens contact to control the power firestreak of feeding equipment, the 14 feet output of U6 connects 3 feet of JZ3 interfaces.22 foot of the ports microcontroller RD3
It is connected with 6 feet of function-driven circuit JZ1 by 6 feet of JP08, the aquarium moisturizing control signal of microcontroller output is passed through
2 feet of interface input optocoupler U11 are exported by 4 feet of U11,2 feet of input Darlington driving chip U6, by U6's
15 feet export, and remove the coil of control relay K6, the power firestreak control of the normally opened contact of relay K6 to aquarium water supplement apparatus
System, the 15 feet output of U6 connect 2 feet of JZ3 interfaces.7 feet and function-driven circuit that 21 foot of the ports microcontroller RD2 passes through JP08
7 feet of JZ1 are connected, and the aquarium cooling control signal of microcontroller output is passed through the 2 of interface input optocoupler U10
Foot is exported by 4 feet of U10, and 1 foot of input Darlington driving chip U6 is exported by 16 feet of U6, removes the line of control relay K7
The normally opened contact of circle, relay K7 controls the power firestreak of aquarium cooling system, and the 16 feet output of U6 connects JZ3 interfaces
1 foot.
C, PIC single chip microcomputer minimum system circuit JP01, JP02, JP04, JP09 interface respectively with detection circuit JC4, JC1,
JC3, JC6 interface are connected, and realize the detection to brightness, water level, water temperature, water quality, wherein:4 foot of the ports microcontroller RA2 passes through
3 feet of JP02 are connected with 3 feet of detection circuit JC1;2 feet and the 2 of detection circuit JC1 that 5 foot of the ports microcontroller RA3 passes through JP02
Foot is connected;7 foot of the ports microcontroller RA5 is connected by 1 foot of JP02 with 1 foot of detection circuit JC1.
D, PIC single chip microcomputer minimum system circuit JP10 interfaces are connected with datel circuit JC8 interfaces, realize the intelligent Shui nationality
Information mutual communication between case and user mobile phone, wherein:1 foot and datel circuit that 26 foot of the ports microcontroller RX passes through JP10
1 foot of JC8 is connected;25 foot of the ports microcontroller TX is connected by 2 feet of JP10 with 2 feet of datel circuit JC8;The 3 of JP10
Foot is grounded.
E, PIC single chip microcomputer minimum system circuit JP06 interfaces are connected with emulator, realize the on-line debugging and program of system
It downloads.
Time display circuit 24 is shown by key circuit, clock circuit, LCD and is formed;It is respectively equipped on key circuit
KEY1- cancel keys, KEY2- increasing keys, KEY3- feedings manual key, KEY4- cursor lefts key, KEY5- modifications and acknowledgement key,
KEY6- cursor rights key, KEY7- operational modes selection key, KEY8- reduce key, KEY9- spare keys.
Detection circuit 25, by water level detection circuit, brightness detection circuit, water quality detection circuit, temperature sensing circuit, light
Electric isolating circuit, signal conditioning circuit composition;Wherein:Water level detecting has four electrodes for placing fish jar different location.One electricity
Pole is connected by resistance R53 with+12v power supplys, and excess-three electrode is respectively installed in high, medium and low three positions, passes through water resistance
With the partial pressure of concatenated resistance R54, R55, R56, the voltage signal of three positions is obtained, is obtained by phase inverter 74LS04 processing
The level signal of three positions is isolated with photoelectrical coupler U19, U18, U17, through JC1 interfaces and singlechip minimum system circuit
JP02 interfaces are connected, and water level signal is sent into microcontroller.Brightness detection circuit is made of photo resistance 5516 and resistance R11,
Signal conditioning circuit is made of R28, C17, OPA2333, is obtained and luminous intensity pair using photo resistance 5516 and resistance R11 partial pressures
The voltage signal answered, the filter circuit formed through R28, C17 are sent by 3 feet of the OPA2333 voltage follower U2 constituted, by
1 foot of U2 exports, and is connected with singlechip minimum system circuit JP01 interfaces through JC4 interfaces.Temperature sensing circuit is passed using temperature
Sensor DS18B20, wherein:1 foot is grounded, and 3 feet connect+5v power supplys, and 2 feet export digital quantity signal by pull-up resistor R21, through JC3
Interface is connected with the JP04 of singlechip minimum system circuit.Water quality detection circuit using Turbidity measurement sensor to water quality detection,
Wherein:1 foot is grounded, and 3 feet connect+5v power supplys, and 2 feet export analog signal, singlechip minimum system circuit is connected to by JC6 interfaces
JP09 interfaces.
Power circuit 26 is made of AC power and stand-by power supply automatic switching circuit ,+5v power supplys ,+12v power supplys;Wherein
The JD1 interfaces of AC power and stand-by power supply automatic switching circuit are connected with mains 220V, and stand-by power supply is by 12V, 80A
Accumulator and inverter are constituted, and the switching between alternating current and stand-by power supply is realized by relay J1, K8, K9, when alternating current burst stops
When electric stand-by power supply is cut off when city power recovery powers by stand-by power supply to system power supply.AC power and stand-by power supply are automatic
The JD2 interfaces of switching circuit are connected with the switched power sockets 22 of functional socket plate 11, generation+5B ,+12v power supplys;AC power
And the JD3 interfaces of stand-by power supply automatic switching circuit are connected with the microcontroller power supply jack 21 of functional socket plate 11, by small-sized
+ 5v the power supplys that transformer, rectification, filtering, three-terminal voltage-stabilizing link output singlechip minimum system circuit need.AC power and standby
The JD4 interfaces of electricity consumption source automatic switching circuit change wetting system jack 20 with the semi-automatic of functional socket plate 11 and are connected, and are set to change water
It is standby that power supply is provided;The aquarium feeding of the JD5 interfaces of AC power and stand-by power supply automatic switching circuit and functional socket plate 11
Equipment jack 13 is connected, and through miniature transformer, rectification, filtering, three ends are adjustable, and voltage stabilizing link output+1.5v supplies for feeder
Electricity.The JD6 interfaces of AC power and stand-by power supply automatic switching circuit are connected with the water of functional socket plate 11 filtering jack 14,
JD7 interfaces are connected with the aquarium water supplement apparatus jack 17 of functional socket plate 11.
Function-driven circuit 27 is made of photoelectric coupling, driving circuit, relay module;From PIC single chip microcomputer minimum system
The control level signal of system circuit, is connected through interface JP08 with the JZ1 interfaces of function-driven circuit, by photoelectrical coupler to letter
Number it is isolated, output is sent into Darlington and drives integrated chip U6, then drives relay coil, and the normally opened contact of relay is logical
JZ3 interfaces are crossed with functional socket plate 11 to be connected.Functional socket plate 11 is made of 10 jacks, has power switch 12, aquarium to throw
Eat equipment jack 13, aquarium water filter plant jack 14, aquarium oxygen increasing equipment jack 15, aquarium heating equipment jack
16, aquarium water supplement apparatus jack 17, lighting device of aquarium jack 18, aquarium cooling system jack 19, aquarium half from
Move wetting system jack 20, microcontroller power supply jack 21, switched power sockets 22, each jack have the function of it is different, can be with
Facilitate swappable device, Alternating Current Power Supply is provided for equipment;The firewire of each jack is directly connected with AC power firewire, and firewire is by work(
It can the control of driving circuit 27;The firewire of aquarium feeding equipment jack 13 is connected with 3 feet of function-driven circuit JZ3 interfaces;Water
The firewire of filter plant jack 14 is connected with 6 feet of function-driven circuit JZ3 interfaces;The firewire of aquarium oxygen increasing equipment jack 15
It is connected with 7 feet of function-driven circuit JZ3 interfaces;The firewire of aquarium heating equipment jack 16 connects with function-driven circuit JZ3
6 feet of mouth are connected;The firewire of aquarium water supplement apparatus jack 17 is connected with 2 feet of function-driven circuit JZ3 interfaces;Aquarium shines
The firewire of bright equipment jack 18 is connected with 4 feet of function-driven circuit JZ3 interfaces;The firewire of aquarium cooling system jack 19 with
1 foot of function-driven circuit JZ3 interfaces is connected;Aquarium is semi-automatic change wetting system jack 20 be operated with manual switches directly with exchange
Power supply is connected;Microcontroller power supply jack 21, switched power sockets 22 are not controlled by function-driven circuit 27, directly and AC power
It is connected.
In Fig. 4:PIC single chip microcomputer minimum system circuit is made of PIC single chip microcomputer U1 and its interface circuit, PIC single chip microcomputer
Port function is defined as follows:
1. 2 ports foot RA0, which are brightness, detects signal input part, which generates (see Fig. 6) by brightness detection circuit,
It is connected with resistance R11 partial pressure by photo resistance 5516, light intensity signal is converted into voltage signal, then pass through signal condition
Circuit is sent into the ports RA0, and A/D completes the analog-to-digital conversion to voltage signal in single chip microcomputer.
2. 4 ports foot RA2,5 ports foot RA3,7 ports foot RA5 are water level detecting signal input part, which is examined by water level
Slowdown monitoring circuit generates (see Fig. 6), installs electrode in high, medium and low three positions of aquarium, passes through water resistance and concatenated resistance
Partial pressure, obtains the voltage signal of three positions, then obtain the level signal of three positions by phase inverter 74LS04 processing, uses up
It is sent into microcontroller after electric coupler processing, realizes water level detecting.
3. 8 ports foot RE0 are Turbidity measurement input end of analog signal, which is generated by Turbidity measurement module and is connect by JC6
Mouth (see Fig. 6) output, send to JP09 interfaces (see Fig. 4), to complete the detection to aquarium water turbidity.
4. 9,10 ports foot RE1, RE2 are LCD display controls end, (see Fig. 4) is exported by JP03 interfaces, is sent to time display
Circuit (see Fig. 5) J2 interfaces, as the control signal wire that the serial data between microcontroller and LCD liquid crystal displays is transmitted, wherein:
RE1 is serial clock port, and RE2 is serial data port.
5. 16 ports foot RC1 are temperature sensor signal input terminal, the signal by temperature sensor DS18B20 generate by
JC3 interfaces (see Fig. 6) export, and send to JP04 interfaces (see Fig. 4), complete to input digital amount temperature to microcontroller in a manner of monobus
Signal.
6. 18 ports foot RC3,23 ports foot RC4 are I2C bus interface, by JP05 interfaces (see Fig. 4) and time display electricity
Road J3 interfaces (see Fig. 5) are connected, and microcontroller passes through I2C buses obtain clock information from clock chip PCF8563.
7. 21,22,24 ports foot RD2, RD3, RC5,27~30 ports foot RD4~RD7 are the control of function-driven circuit 27
Signal port processed exports (see Fig. 4) by JP08 interfaces, send to function-driven circuit (see Fig. 7) JZ1 interfaces, by photoelectric coupling
Circuit isolation, Darlington driving chip remove control relay coil, to complete corresponding function control task.
8. 33~38 ports foot RB0~RB7 are keyboard interface, connect by JP07 interfaces (see Fig. 4) and time display circuit J1
Mouth (see Fig. 5) is connected.
9. 25,26 ports foot TX, RX are data communication interface, by JP10 interfaces (see Fig. 4) and data communication module circuit
JC8 interfaces (see Fig. 6) are connected, and realize the information mutual communication between intelligent aquarium and user mobile phone.
It is defined by above-mentioned PIC single chip microcomputer port function, carries out Software for Design:
All ports I/O are first initialized after system energization, and singlechip interruption is set, A/D conversions, I in piece2At the beginning of C buses
Then beginningization initializes LCD display module (see Figure 10):
Configuration the 2nd foot of microcontroller is input port, and converts input channel as A/D, what receiving was detected from brightness
Voltage analog signal.
Configuration microcontroller the 4th, 5,7 feet are ordinary numbers input port, receive the low and high level signal from water level detecting.
Configuration the 8th foot of microcontroller is input port, and converts input channel as A/D, receives to come from Turbidity measurement module
Analog signal.
Microcontroller the 9th, 10 feet are configured for ordinary numbers output port, as the control port of LCD liquid crystal displays, output string
Row clock and data-signal.
It is ordinary numbers input, output port to configure the 16th foot of microcontroller, realizes microcontroller to temperature sensor DS18B20
Write operation and read temperature information.
Configuration microcontroller the 18th is ordinary numbers output port, 23 feet are ordinary numbers input, output port, as monolithic
The I communicated between machine and clock chip PCF85632C bus interface, 18 feet export clock signal, and 23 feet are as reading and writing data terminal
Mouthful.
Configuration the 24th~30 foot of microcontroller is ordinary numbers output port, as function-driven circuit control port, output
High and low level controling signal.
Configuration the 26th foot of microcontroller is input port, and 27 feet are output port, as the string between data communication module
Row data transmission channel.
Configuration the 33rd~35 foot of microcontroller is ordinary numbers input port, the 36th~38 foot is that ordinary numbers output port is made
For keyboard port.
It initializes microcontroller timer 0 to interrupt, microcontroller crystal oscillator is 20MHz, and the initial value of setting timer 0 is 0X05, is opened
Open after timer 0 when value is more than 0XFF, timer 0 generates primary interruption, i.e., every 0.1ms generate it is primary interrupt, often generate 100
After secondary such interruption, i.e., goes to check whether the level of keyboard port changes every 10ms, determine whether key pressing successively, if
There is key pressing to determine key assignments by way of keyboard scan again.
In device power-up, the JP08 interface pins of singlechip minimum system circuit export low level, that is, function is arranged and drives
Dynamic circuit portions original state is to close, and aquarium feeding, oxygenation are opened according to the time cycle of program setting, aquarium
Water filtration device is automatically turned on or is closed according to water quality detection result, and lighting device of aquarium is opened automatically according to brightness is strong and weak
It opens, water temperature in aquarium detection device is the basis that heating or cooling are opened.Mains system or peripheral circuit interference are single in order to prevent
Piece machine, influences equipment reliability of operation, and spy devises photoelectric coupling circuit (see Fig. 6, Fig. 7), completes the isolation of signal;It will
Microcontroller is sent by the signal that JP08 interfaces (see Fig. 4) export to JZ1 interfaces (see Fig. 7), by photoelectrical coupler U10~U16
It is isolated;Water level detecting signal is first passed through photoelectrical coupler U17~U19 to be isolated (see Fig. 6), output passes through again
JC1 interfaces (see Fig. 6) are connected with JP02 interfaces (see Fig. 4), and water level detecting signal is sent into microcontroller.Control is realized in such design
Circuit processed is completely isolated with execution circuit, improves the stability and reliability of control system.
In Figure 5:Time display circuit 24 is shown by key circuit, clock circuit, LCD and is formed, mainly completes aquarium
Feeding, the setting of the oxygenation cycle of operation, setting and modification real-time time, show time and aquarium mode of operation state.Circuit connects
It connects as follows:Keyboard scan level signal is exported from singlechip minimum system circuit 23, through 1~3 foot of JP07 interfaces, is sent to timing
1~3 foot of J1 interfaces of display circuit 24 (see Fig. 5);Level signal after scanning is sent to microcontroller most through 4~6 foot of J1 interfaces
4~6 foot of JP07 interfaces of mini system circuit 23, completes the determination of key assignments.The LCD exported from singlechip minimum system circuit 23
Display control signal send to sending to the J2 interfaces (see Fig. 5) of time display circuit 24, realizes real-time through JP03 interfaces (see Fig. 4)
Time showing and aquarium operating status are shown.The I exported from singlechip minimum system circuit 232C bus control signals, warp
JP05 interfaces (see Fig. 4) are sent to the J3 interfaces (see Fig. 5) of time display circuit 24, realize that microcontroller passes through I2C buses are from clock
Chip PCF8563 obtains clock information.
In figure 6:Detection circuit 25 is made of water level detecting, brightness detection, temperature detection, water quality detection circuit, main
Complete aquarium water level detecting, luminous intensity detection, the detection of water temperature, Turbidity measurement, be aquarium moisturizing, illumination, heating or
The operation offer foundation of cooling, water filtering.Circuit connection is as follows:Water level detection circuit has (see Fig. 6) places aquarium difference deeply
Four electrodes of degree, an electrode are connected by resistance R53 with+12v power supplys, and excess-three electrode is respectively installed in high, medium and low
Three positions are obtained the voltage signal of three positions, are passed through by the partial pressure of water resistance and concatenated resistance R54, R55, R56
Phase inverter 74LS04 processing obtains the level signal of three positions, is isolated with photoelectrical coupler U19, U18, U17, through JC1 interfaces
It is connected (see Fig. 4) with singlechip minimum system circuit JP02 interfaces, water level signal is sent into microcontroller, completes the inspection of aquarium water level
It surveys.Brightness detection circuit is made of photo resistance 5516 and resistance R11 (see Fig. 6), signal conditioning circuit by R28, C17,
OPA2333 is formed, and voltage signal corresponding with luminous intensity is obtained using photo resistance 5516 and resistance R11 partial pressures, through R28, C17
The filter circuit of composition is sent by 3 feet of the OPA2333 voltage follower U2 constituted, is exported by 1 foot of U2, through JC4 interfaces with
Singlechip minimum system circuit JP01 interfaces (see Fig. 4) are connected, and light intensity signal is made a gift to someone microcontroller.Temperature sensing circuit uses
Temperature sensor DS18B20 (see Fig. 6), wherein:1 foot is grounded, and 3 feet connect+5v power supplys, and 2 feet pass through pull-up resistor R21 output numbers
Signal is measured, is connected (see Fig. 4) with the JP04 of singlechip minimum system circuit through JC3 interfaces, water temperature in aquarium signal is sent into single
Piece machine;Water quality detection uses Turbidity measurement sensor assembly (see Fig. 6), 1 foot ground connection, 3 feet to connect+5v power supplys, 2 feet output simulation letter
Number, singlechip minimum system circuit JP09 interfaces (see Fig. 4) are connected to by JC6 interfaces.Data communication module 28 uses GPRS moulds
Block (see Fig. 6), wherein 1 foot is grounded, 2 feet receive data RXD, 3 foot transmission data TXD, through JC8 interfaces and single-chip minimum system
Circuit JP10 interfaces (see Fig. 4) are connected.
In the figure 7:Function-driven circuit 27 is made of photoelectric coupling, driving circuit, relay module, main to complete list
The driving task of signal isolation and each functional circuit between piece machine and peripheral circuit.Circuit connection is as follows:Most from microcontroller
The drive control level signal (see Fig. 4) of mini system circuit 23, the JZ1 interfaces through JP08 interfaces and function-driven circuit are (see figure
7) it is connected, 7 road signals are isolated by photoelectrical coupler U10~U16 again, and Darlington driving integrated chip U6 is sent into output
1~7 foot, exported by 16~10 feet of U6, the coil of control driving relay K1~K7, the normally opened contact of relay gone to pass through
JZ3 interfaces are connected with functional socket plate 11.Functional socket plate 11 is made of 10 jacks, there is power switch 12, aquarium feeding
Equipment jack 13, aquarium water filter plant jack 14, aquarium oxygen increasing equipment jack 15, aquarium heating equipment jack 16,
Aquarium water supplement apparatus jack 17, lighting device of aquarium jack 18, aquarium cooling system jack 19, aquarium is semi-automatic changes
Wetting system jack 20, microcontroller power supply jack 21, switched power sockets 22, each jack have the function of different, can facilitate
Swappable device provides Alternating Current Power Supply for equipment;The firewire of each jack is directly connected with AC power firewire, and firewire is driven by function
Dynamic circuit 27 controls, to realize the drive control task to each functional circuit.
In Fig. 8, Fig. 9:Power circuit 26, by AC power and stand-by power supply automatic switching circuit ,+5v power supplys ,+12v
Power supply forms, and main task is to provide DC power supply and when alternating current breaks suddenly for singlechip minimum system circuit and peripheral circuit
Alternate power autocast restores electricity after electricity, makes the reliable and stable operation of system.Circuit connection is as follows:Wherein AC power and standby
The JD1 interfaces (see Fig. 9) of electricity consumption source automatic switching circuit are connected with mains 220V, stand-by power supply by 12V, 80A electric power storage
Pond and inverter are constituted, and the switching between alternating current and stand-by power supply are realized by relay J1, K8, K9, when mains failure by standby
Intelligent aquarium complex control system power supply is given with power supply, stand-by power supply is cut off when city power recovery powers.AC power and standby
The JD2 interfaces of electricity consumption source automatic switching circuit are connected with the switched power sockets 22 of functional socket plate 11, generation+5B ,+12v electricity
Source.The JD3 interfaces (see Fig. 9) of AC power and stand-by power supply automatic switching circuit and the microcontroller power supply of functional socket plate 10 are inserted
Hole 21 is connected, and+the 5v that singlechip minimum system circuit needs is exported by miniature transformer, rectification, filtering, three-terminal voltage-stabilizing link
Power supply (see Fig. 8).The JD4 interfaces (see Fig. 9) of AC power and stand-by power supply automatic switching circuit and the half of functional socket plate 11
Automatic water-replacing equipment jack 20 is connected, and power supply is provided to change wetting system.The JD5 of AC power and stand-by power supply automatic switching circuit
Interface (see Fig. 9) is connected with the aquarium feeding equipment jack 13 of functional socket plate 11, through miniature transformer, rectification, filtering, three
Adjustable voltage stabilizing link output+1.5v (see Fig. 8) is held to power for feeding equipment 4;AC power and stand-by power supply automatic switching circuit
JD6 interfaces (see Fig. 9) be connected with the water filtration device jack 14 of functional socket plate 11, JD7 interfaces (see Fig. 9) and functional socket
The aquarium water supplement apparatus jack 17 of plate 11 is connected, complete system power supply and power failure after the automatic switching in standby electricity source.
In summary:The present invention has the intelligent control function to aquarium, simple in structure, easy to operate.Relay drives
Dynamic part and microcontroller weak electricity system set up two separate unit circuits separately, realize the isolation processing of signal, improve product
Anti-interference ability.The design of aquarium multi-parameters sampling and control so that product is more intelligent and hommization, fully meets foster
The demand and trouble and worry of fish fan.Unique alternate power autocast Functional Design, the system after burst alternating current power-off
It still being capable of long period stable operation.Integrate various control function, changes traditional aquarium culture of fish pattern, mitigate labour
Intensity saves water resource, energy conservation and environmental protection, and the present invention has remote data transmission function, it can be achieved that remotely monitoring and controlling, and can
Control parameter is adjusted according to user demand, is suitable for the demand of different users, especially suitable for often going on business, travelling, for a long time
Overtime work and more tired out but want the ornamental crowd that breeds fish.Foreground and economic effect are had a vast market in aquatic animal cultivating field
Benefit has filled up the market vacancy.
Claims (7)
1. a kind of intelligence aquarium complex control system, including cylinder body (1), circuit structure, cylinder body (1) they include front panel (1-
1), rear panel (1-2), left panel (1-3), right panel (1-4) and bottom plate (1-5), in cylinder body (1), left upper portion was equipped with respectively
Filter equipment (2) breeds case (3), feeding equipment (4), cooling system (6), and heating equipment (5), water level are respectively provided in cylinder body (1)
Detection sensor (7), water temperature detection sensor (8) and water turbidity detection sensor (9), cylinder body (1) right side are equipped with water supplement apparatus
(10);Circuit structure includes:Functional socket plate (11), PIC single chip microcomputer minimum system circuit (23), time display circuit (24),
Detection circuit (25), power circuit (26), function-driven circuit (27), data communication module (28), it is characterised in that:
A, PIC single chip microcomputer minimum system circuit (23) JP07, JP03, JP05 interface respectively with time display circuit (24) J1, J2,
J3 interfaces are connected;Wherein:38 foot of the ports microcontroller RB5 is connected by 1 foot of JP07 with 1 foot of time display circuit JI;Monolithic
37 foot of the ports machine RB4 is connected by 2 feet of JP07 with 2 feet of time display circuit JI;36 foot of the ports microcontroller RB3 passes through JP07
3 feet be connected with 3 feet of time display circuit JI;4 feet and time display circuit JI that 35 foot of the ports microcontroller RB2 passes through JP07
4 feet be connected;34 foot of the ports microcontroller RB1 is connected by 5 feet of JP07 with 5 feet of time display circuit JI;The ends microcontroller RB0
33 feet of mouth are connected by 6 feet of JP07 with 6 feet of time display circuit JI;10 foot of the ports microcontroller RE2 by 1 foot of JP03 with
2 feet of time display circuit J2 are connected;9 foot of the ports microcontroller RE1 passes through 2 feet of JP03 and the 1 foot phase of time display circuit J2
Even;18 foot of the ports microcontroller RC3 is connected by 2 feet of JP05 with 1 foot of time display circuit J3;23 foot of the ports microcontroller RC4
It is connected with 2 feet of time display circuit J3 by 1 foot of JP05;
B, PIC single chip microcomputer minimum system circuit (23) JP08 interfaces are connected with function-driven circuit (27) JZ1 interfaces, realize to each
Kind function device and illumination, the control of cooling system;Wherein:1 foot and function-driven that 30 foot of the ports microcontroller RD7 passes through JP08
1 foot of circuit JZ1 is connected, and the oxygenation of microcontroller output is controlled 2 feet of the signal by JZ1 interface input optocouplers U16,
It being exported by 4 feet of U16,7 feet of input Darlington driving chip U6 are exported by 10 feet of U6, remove the coil of control relay K3,
The normally opened contact of relay K3 controls the power firestreak of oxygen increasing equipment, that is, oxygen increasing pump, and K3 exports 7 feet for connecing JZ3 interfaces.Monolithic
29 foot of the ports machine RD6 is connected by 2 feet of JP08 with 2 feet of function-driven circuit JZ1, and the water of microcontroller output is filtered control
Signal is exported by 2 feet of JZ1 interface input optocouplers U15 by 4 feet of U15, and the 6 of input Darlington driving chip U6
Foot is exported by 11 feet of U6, removes the coil of control relay K2, the normally opened contact of relay K2 is to filter plant, that is, filter pump
Power firestreak controls, and K2 exports 6 feet for connecing JZ3 interfaces;3 feet and function-driven electricity that 28 foot of the ports microcontroller RD5 passes through JP08
3 feet of road JZ1 are connected, by the thermal control signals of microcontroller output by 2 feet of JZ1 interface input optocouplers U14, by
4 feet of U14 export, and 5 feet of input Darlington driving chip U6 are exported by 12 feet of U6, remove the coil of control relay K1, after
The normally opened contact of electric appliance K1 controls the power firestreak of heating equipment, that is, heater, and K1 connects 5 feet of JZ3 interfaces.Microcontroller RD4
27 foot of port is connected by 4 feet of JP08 with 4 feet of function-driven circuit JZ1, and the illumination control signal that microcontroller exports is led to
2 feet for crossing JZ1 interface input optocouplers U13 are exported by 4 feet of U13,4 feet of input Darlington driving chip U6, by U6
The output of 13 feet, remove the coil of control relay K4, the power supply of the normally opened contact of relay K4 to lighting apparatus, that is, houselights
Firewire controls, and K4 exports 4 feet for connecing JZ3 interfaces.5 feet and function-driven circuit JZ1 that 24 foot of the ports microcontroller RC5 passes through JP08
5 feet be connected, by microcontroller output feeding control 2 feet of the signal by JZ1 interface input optocouplers U12, by U12's
4 feet export, and 3 feet of input Darlington driving chip U6 are exported by 14 feet of U6, remove the coil of control relay K5, relay
The normally opened contact of K5 controls the power firestreak of feeding equipment, that is, feeding device, and K5 exports 3 feet for connecing JZ3 interfaces.The ends microcontroller RD3
22 feet of mouth are connected by 6 feet of JP08 with 6 feet of function-driven circuit JZ1, and the aquarium moisturizing of microcontroller output is controlled letter
Number by 2 feet of JZ1 interface input optocouplers U11, exported by 4 feet of U11,2 feet of input Darlington driving chip U6,
It is exported by 15 feet of U6, removes the coil of control relay K6, the normally opened contact of relay K6 is to aquarium water supplement apparatus, that is, moisturizing
The power firestreak of pump controls, and K6 exports 2 feet for connecing JZ3 interfaces;21 foot of the ports microcontroller RD2 is driven by 7 feet of JP08 with function
7 feet of dynamic circuit JZ1 are connected, and the aquarium cooling control signal of microcontroller output is passed through JZ1 interface input optocouplers
2 feet of U10 are exported by 4 feet of U10, and 1 foot of input Darlington driving chip U6 is exported by 16 feet of U6, removes control relay
The normally opened contact of the coil of K7, relay K7 controls the power firestreak of aquarium cooling system (6) i.e. small-sized axial flow fan, K7
Output connects 1 foot of JZ3 interfaces;
C, PIC single chip microcomputer minimum system circuit (23) JP01, JP02, JP04, JP09 interface respectively with detection circuit (25) JC4,
JC1, JC3, JC6 interface are connected, and realize the detection to brightness, water level, water temperature, water quality;Wherein:4 foot of the ports microcontroller RA2 is logical
3 feet for crossing JP02 are connected with 3 feet of detection circuit JC1;2 feet and detection circuit JC1 that 5 foot of the ports microcontroller RA3 passes through JP02
2 feet be connected;7 foot of the ports microcontroller RA5 is connected by 1 foot of JP02 with 1 foot of detection circuit JC1;
D, PIC single chip microcomputer minimum system circuit (23) JP10 interfaces are connected with data communication module (28) JC8 interfaces, realize intelligence
Information mutual communication between aquarium and user mobile phone;Wherein:26 foot of the ports microcontroller RX communicates mould by 1 foot of JP10 with data
1 foot of block JC8 is connected;25 foot of the ports microcontroller TX is connected by 2 feet of JP10 with 2 feet of data communication module JC8;JP10's
3 feet are grounded;
E, PIC single chip microcomputer minimum system circuit (23) JP06 interfaces are connected with emulator, realize the on-line debugging and program of system
It downloads.
2. intelligence aquarium complex control system according to claim 1, it is characterised in that:Singlechip minimum system circuit
(23) it is made of PIC single chip microcomputer U1 and functional socket plate (11);Wherein:Key circuit in time display circuit (24) is connect by J1
Mouth is connected to singlechip minimum system circuit JP07 interfaces, realizes and is connected for B mouthfuls with microcontroller, by B mouthfuls of level changes interruptions and
Scan mode judges key assignments the cycle of operation of setting aquarium oxygen increasing equipment is exported high and low through software programming technique by U1
Level is realized and is controlled the switching that oxygen increasing equipment is powered;Wherein:Oxygenation level controling signal is exported by 30 foot of the ports RD7, warp
1 foot of JP08 is connected to 1 foot of function-driven circuit (27) JZ1, is isolated through photoelectrical coupler U16, is sent into Darlington and drives core
7 feet of piece U6 are exported by 10 feet of U6, remove the coil of control relay K3, the normally opened contact of relay K3 is to oxygen increasing equipment
Power firestreak controls;Water level detection circuit in detection circuit (25) is connected to monolithic pole minimum system circuit by JC1 interfaces
JP02 interfaces, microcontroller judge aquarium water level by the situation of change of three pin level on JP02 interfaces, are compiled through software
Journey controls level signal by the ports the RD3 22 foot output moisturizing of U1, and 6 feet through JP08 are connected to the 6 of function-driven circuit JZ1
Foot is isolated through photoelectrical coupler U11, is sent into 2 feet of Darlington driving chip U6, is exported by 15 feet of U6, and control relay is removed
The normally opened contact of the coil of K6, relay K6 controls the power firestreak of water supplement apparatus;Brightness inspection in detection circuit (25)
Slowdown monitoring circuit is connected to singlechip minimum system circuit JP01 interfaces by JC4 interfaces, realizes and A/D converter phase in single chip microcomputer
Even, luminous intensity digital quantity is obtained, through software programming technique, Lighting control level signal, warp is exported by 27 foot of the ports RD4 of U1
4 feet of JP08 are connected to 4 feet of function-driven circuit JZ1, are isolated through photoelectrical coupler U13, are sent into Darlington driving chip U6
4 feet, exported by 13 feet of U6, remove the coil of control relay K4, the power supply of the normally opened contact of relay K4 to lighting apparatus
Firewire controls;Temperature sensing circuit in detection circuit (25) is connected to singlechip minimum system circuit JP04 by JC3 interfaces and connects
Mouthful, monobus transmits temperature digital amount between temperature sensor and U1, through software programming technique, when aquarium temperature is less than system
Set temperature exports computer heating control level signal by 28 foot of the ports RD5 of U1, and 3 feet through JP08 are connected to function-driven circuit
3 feet of JZ1 are isolated through photoelectrical coupler U14, are sent into 5 feet of Darlington driving chip U6, are exported by 12 feet of U6, are gone to control
The normally opened contact of the coil of relay K1, relay K1 controls the power firestreak of heating equipment;It is when aquarium temperature is higher than
System set temperature, by the ports the RD2 21 foot output aquarium cooling control level signal of U1,7 feet through JP08 are connected to function
7 feet of driving circuit JZ1 are isolated through photoelectrical coupler U10, are sent into 1 foot of Darlington driving chip U6, defeated by 16 feet of U6
Go out, removes the coil of control relay K7, the electricity of the normally opened contact of relay K7 to aquarium cooling system, that is, small-sized axial flow fan
Source firewire control;Water quality detection, that is, water turbidity detection circuit in detection circuit (25) is connected to microcontroller minimum by JC6 interfaces
Circuit system JP09 interfaces, the analog signal of water quality detection module output, are sent into A/D converter in U1 pieces, through software programming skill
Art, water filter RD6 port 29 foot output of the level controling signal by U1, and 2 feet through JP08 are connected to function-driven circuit JZ1's
2 feet are isolated through photoelectrical coupler U15, are sent into 6 feet of Darlington driving chip U6, are exported by 11 feet of U6, and control relay is removed
The normally opened contact of the coil of K2, relay K2 controls the power firestreak of filter plant;The power supply of PIC single chip microcomputer minimum system U1
For+5V power supplys.
3. intelligence aquarium complex control system according to claim 1, it is characterised in that:Time display circuit (24),
It is shown and is formed by key circuit, clock circuit, LCD;Be respectively equipped on key circuit KEY1- cancel keys, KEY2- increasing keys,
KEY3- feedings manual key, KEY4- cursor lefts key, KEY5- modifications and acknowledgement key, KEY6- cursor rights key, KEY7- operations
Mode selecting key, KEY8- reduce key, KEY9- spare keys.
4. intelligence aquarium complex control system according to claim 1, it is characterised in that:Detection circuit (25), by water
Position detection circuit, brightness detection circuit, water quality detection circuit, temperature sensing circuit, photoelectric coupling circuit, signal conditioning circuit
Composition;Wherein:Water level detecting has four electrodes for placing different depth, an electrode to be connected with+12v power supplys by resistance R53,
Its excess-three electrode is respectively installed in high, medium and low three positions, passes through point of water resistance and concatenated resistance R54, R55, R56
Pressure, obtains the voltage signal of three positions, the level signal of three positions is obtained by phase inverter 74LS04 processing, with light thermocouple
Clutch U19, U18, U17 isolation, is connected with singlechip minimum system circuit JP02 interfaces through JC1 interfaces, water level signal is sent into
Microcontroller;Brightness detection circuit is made of photo resistance 5516 and resistance R11, signal conditioning circuit by R28, C17,
OPA2333 is formed, and is obtained and the strong and weak corresponding voltage signal of brightness, warp using photo resistance 5516 and resistance R11 partial pressures
The filter circuit of R28, C17 composition is sent by 3 feet of the OPA2333 voltage follower U2 constituted, is exported by 1 foot of U2, warp
JC4 interfaces are connected with singlechip minimum system circuit JP01 interfaces;Temperature sensing circuit uses temperature sensor DS18B20,
In:1 foot is grounded, and 3 feet connect+5v power supplys, and 2 feet export digital quantity signal by pull-up resistor R21, most through JC3 interfaces and microcontroller
The JP04 of mini system circuit is connected;Water quality detection circuit uses Turbidity measurement sensor to water quality detection, wherein:1 foot is grounded, and 3
Foot connects+5v power supplys, and 2 feet export analog signal, singlechip minimum system circuit JP09 interfaces are connected to by JC6 interfaces.
5. intelligence aquarium complex control system according to claim 1, it is characterised in that:Power circuit (26), by handing over
Galvanic electricity source and stand-by power supply automatic switching circuit ,+5v power supplys ,+12v power supplys composition;Wherein AC power and stand-by power supply is automatic
The JD1 interfaces of switching circuit are connected with mains 220V, and stand-by power supply is made of the accumulator of 12V, 80A and inverter, by
Relay J1, K8, K9 realize the switching between alternating current and stand-by power supply, when alternating current, which happens suddenly, to have a power failure by stand-by power supply to intelligent water
Race's case complex control system power supply, stand-by power supply is cut off when city power recovery powers;AC power and stand-by power supply automatic switching
The JD2 interfaces of circuit are connected with the switched power sockets (22) of functional socket plate (11), generation+5B ,+12v power supplys;AC power
And the JD3 interfaces of stand-by power supply automatic switching circuit are connected with the microcontroller power supply jack (21) of functional socket plate (11), pass through
+ 5v the power supplys that miniature transformer, rectification, filtering, three-terminal voltage-stabilizing link output singlechip minimum system circuit need;AC power
And the JD4 interfaces of stand-by power supply automatic switching circuit are connected with the semi-automatic wetting system jack (20) that changes of functional socket plate (11),
Power supply is provided to change wetting system;The JD5 interfaces of AC power and stand-by power supply automatic switching circuit and functional socket plate (11)
Aquarium feeding equipment jack (13) is connected, and through miniature transformer, rectification, filtering, three ends are adjustable, and voltage stabilizing link output+1.5v is
Feeder is powered;The JD6 interfaces of AC power and stand-by power supply automatic switching circuit and the water of functional socket plate (11) filter
Equipment jack (14) is connected, and JD7 interfaces are connected with the aquarium water supplement apparatus jack (17) of functional socket plate (11).
6. intelligence aquarium complex control system according to claim 1, it is characterised in that:Function-driven circuit (27),
It is made of photoelectric coupling, driving circuit, relay module;Control level letter from PIC single chip microcomputer minimum system circuit (23)
Number, it is connected with the JZ1 interfaces of function-driven circuit through interface JP08, signal is isolated by photoelectrical coupler, exports
Signal is sent into Darlington driving chip U6, then drives relay coil, and the normally opened contact of relay is inserted by JZ3 interfaces and function
Seat board (11) is connected.
7. intelligence aquarium complex control system according to claim 1, it is characterised in that:Functional socket plate (11) is by 10
A jack composition, there is power switch (12), aquarium feeding equipment jack (13), aquarium water filter plant jack (14), water
Race's case oxygen increasing equipment jack (15), aquarium heating equipment jack (16), aquarium water supplement apparatus jack (17), aquarium illuminating
Equipment jack (18), aquarium cooling system jack (19), aquarium be semi-automatic to change wetting system jack (20), microcontroller power supply is inserted
Hole (21), switched power sockets (22), the firewire of each jack are directly connected with AC power firewire, and firewire is by function-driven electricity
Road (27) controls;The firewire of aquarium feeding equipment jack (13) is connected with 3 feet of function-driven circuit JZ3 interfaces;Water filters
The firewire of equipment jack (14) is connected with 6 feet of function-driven circuit JZ3 interfaces;The firewire of aquarium oxygen increasing equipment jack (15)
It is connected with 7 feet of function-driven circuit JZ3 interfaces;The firewire of aquarium heating equipment jack (16) and function-driven circuit JZ3
6 feet of interface are connected;The firewire of aquarium water supplement apparatus jack (17) is connected with 2 feet of function-driven circuit JZ3 interfaces;The Shui nationality
The firewire of case lighting apparatus jack (18) is connected with 4 feet of function-driven circuit JZ3 interfaces;Aquarium cooling system jack (19)
Firewire be connected with 1 foot of function-driven circuit JZ3 interfaces;The semi-automatic wetting system jack (20) that changes of aquarium is operated with manual switches
Directly it is connected with AC power;Microcontroller power supply jack (21), switched power sockets (22) are not by function-driven circuit control, directly
It connects and is connected with AC power.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810716262.6A CN108646636B (en) | 2018-07-03 | 2018-07-03 | Intelligent aquarium integrated control system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810716262.6A CN108646636B (en) | 2018-07-03 | 2018-07-03 | Intelligent aquarium integrated control system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108646636A true CN108646636A (en) | 2018-10-12 |
CN108646636B CN108646636B (en) | 2023-11-10 |
Family
ID=63750129
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810716262.6A Active CN108646636B (en) | 2018-07-03 | 2018-07-03 | Intelligent aquarium integrated control system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108646636B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109541999A (en) * | 2018-11-15 | 2019-03-29 | 浙江理工大学 | A kind of wireless aquarium monitoring system |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2010025606A1 (en) * | 2008-09-02 | 2010-03-11 | 湖南紫光道然电器有限责任公司 | Safety fire-proofing electric-control device |
CN201725191U (en) * | 2010-04-02 | 2011-01-26 | 黄有全 | Aquarium intelligent controller |
CN203633341U (en) * | 2013-12-20 | 2014-06-11 | 西安科技大学 | Multifunctional aquarium intelligence control system |
CN106954580A (en) * | 2017-05-03 | 2017-07-18 | 龙岩学院 | A kind of aquarium intelligence control system |
CN206760470U (en) * | 2017-05-03 | 2017-12-19 | 龙岩学院 | A kind of aquarium intelligence control system |
CN208421588U (en) * | 2018-07-03 | 2019-01-22 | 兰州工业学院 | Intelligent aquarium complex control system |
-
2018
- 2018-07-03 CN CN201810716262.6A patent/CN108646636B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2010025606A1 (en) * | 2008-09-02 | 2010-03-11 | 湖南紫光道然电器有限责任公司 | Safety fire-proofing electric-control device |
CN201725191U (en) * | 2010-04-02 | 2011-01-26 | 黄有全 | Aquarium intelligent controller |
CN203633341U (en) * | 2013-12-20 | 2014-06-11 | 西安科技大学 | Multifunctional aquarium intelligence control system |
CN106954580A (en) * | 2017-05-03 | 2017-07-18 | 龙岩学院 | A kind of aquarium intelligence control system |
CN206760470U (en) * | 2017-05-03 | 2017-12-19 | 龙岩学院 | A kind of aquarium intelligence control system |
CN208421588U (en) * | 2018-07-03 | 2019-01-22 | 兰州工业学院 | Intelligent aquarium complex control system |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109541999A (en) * | 2018-11-15 | 2019-03-29 | 浙江理工大学 | A kind of wireless aquarium monitoring system |
Also Published As
Publication number | Publication date |
---|---|
CN108646636B (en) | 2023-11-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN204883271U (en) | Intelligence farming systems based on thing networking | |
CN204904002U (en) | Pond water quality monitoring system | |
CN105432544A (en) | Intelligent fish tank control system | |
CN202722223U (en) | Livestock feeding device capable of supplying food and water in timing and quantitative mode | |
CN104456398B (en) | For the far red four look LED light supplement lamp of turquoise ultraviolet of pigeon for meat cultivation | |
CN208421588U (en) | Intelligent aquarium complex control system | |
CN108646636A (en) | Intelligent aquarium complex control system | |
CN204616773U (en) | A kind of intelligent aquarium | |
CN205106030U (en) | Multichannel intelligence aquarium fish feeder | |
CN202043353U (en) | Intelligent illuminating control system | |
CN209498291U (en) | A kind of Shui nationality lamp system of cell phone application control | |
CN214962038U (en) | Novel intelligent fish tank | |
CN201029360Y (en) | Poultry cultivation illumination controller | |
CN207792738U (en) | A kind of Drinking fountain automatic watering control device | |
CN206101335U (en) | Intelligent monitoring control system of fish bowl | |
CN214954626U (en) | Intelligent aquaculture system | |
CN210671728U (en) | Intelligent fish tank | |
CN210929110U (en) | Automatic control system that feeds of porkling | |
CN205594475U (en) | Shui nationality box controller can report to police based on infrared remote control and LCD | |
CN208047767U (en) | A kind of novel fish box for breeding | |
CN204090224U (en) | A kind ofly meet growth and development of chickens and the energy-saving light lighting system of demand of laying eggs | |
CN208190969U (en) | A kind of intelligent lamp that ultraviolet light is controllable | |
CN112051790A (en) | Multichannel pond environment monitoring system based on Internet of things | |
CN207301674U (en) | Intelligent domestic system | |
CN206498761U (en) | A kind of potted plant cultivating system of wisdom |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |