CN106054769A - Intelligent switch system - Google Patents
Intelligent switch system Download PDFInfo
- Publication number
- CN106054769A CN106054769A CN201610484193.1A CN201610484193A CN106054769A CN 106054769 A CN106054769 A CN 106054769A CN 201610484193 A CN201610484193 A CN 201610484193A CN 106054769 A CN106054769 A CN 106054769A
- Authority
- CN
- China
- Prior art keywords
- circuit
- display
- temperature
- intelligent switch
- switch system
- 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.)
- Pending
Links
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/048—Monitoring; Safety
-
- 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
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Electric Clocks (AREA)
Abstract
The present invention discloses an intelligent switch system. The intelligent switch system comprises a display circuit, a relay switch circuit, a buzzer timer, a power circuit part, a reset circuit and a temperature acquisition circuit that are connected with a central processing unit, the display circuit includes a processor, a video display circuit, and a display screen, the processor, the video display circuit, and the display screen are successively connected, the display circuit further includes a display content discriminating circuit for discriminating the formats of the selected files and a display brightness adjusting circuit for adjusting the brightness of the display screen, the display brightness adjusting circuit is connected with the video display circuit and the display content discriminating circuit, and the display content discriminating circuit is connected with the processor. The system completes the lamp on and off during the working and rest time, the time display, the circuit resetting, and the temperature monitoring based on the design of a single-chip microcomputer controlled multifunctional intelligent switch integrating working and rest time regular waking up and temperature monitoring alarm.
Description
Technical field
The invention belongs to field of intelligent control technology, be specifically related to a kind of intelligent switch system.
Background technology
In 20 end of the centurys, electronic technology obtains development at full speed, and under it promotes, modern electronic product has almost permeated society
The every field of meeting, has effectively promoted development and the raising of social informatization degree of social productive forces, also makes the modern times simultaneously
Electronic product performance improves further, and the rhythm of model change is more and more faster.
At present, single-chip microcomputer just towards high-performance and multi items direction development trend will be further towards CMOSization, low merit
Several aspects development such as consumption, small size, Large Copacity, high-performance, low price and peripheral circuit built-inization.The master of single-chip microcomputer is presented herein below
Want development trend.
The significance of single chip application also resides in, and it fundamentally changes traditional Control System Design thought and sets
Meter method.In the past the most software can must be passed through with single-chip microcomputer by analog circuit or most of function of digital circuit
Method achieves.This software replace hardware control technology be also referred to as Micro-control Technology, be Traditional control technology once
Revolution.
Intelligent switch be the most timing automatic warning, on time automatic ringing, temporal sequence automatically control, fixed time broadcast, from
Move and closed electric light, time switch baking oven, break-make power-equipment, air-conditioning regulation and control, electric automatically the enabling of the most various timing.
Therefore, study intelligent switch and expand its application, having the most real meaning.
Summary of the invention
For the deficiencies in the prior art, it is an object of the invention to provide a kind of intelligent switch system, it is achieved that based on monolithic
The daily schedule timing wake-up of machine control and the design of monitoring temperature warning Multifunctional intelligent switch.
A kind of intelligent switch system, described intelligent switch system includes the display electricity being connected respectively with CPU
Give the correct time in road, relay switch circuit, buzzer, power circuit part, reset circuit and temperature collection circuit, described display circuit bag
Including processor, video display circuit and display screen, described processor, video display circuit, display screen are sequentially connected with, and also include using
Display content in the form detecing other selected file detects other circuit;Electricity is regulated for regulating the display brightness of the brightness of display screen
Road;Described display brightness regulation circuit is detectd other circuit be connected with video display circuit, display content respectively;Described display content is detectd
Other circuit is connected with described processor.
Preferably, described CPU is AT89C52 single-chip microcomputer.
Preferably, described temperature collection circuit uses digital temperature chip DS18B20 to measure temperature, and output signal is digital
Change.
Preferably, described display circuit includes that MAX7219 and two 4 Digital sum pipes are constituted.
Technical scheme has the advantages that
A kind of intelligent switch system that the present invention provides, based on monolithic processor controlled daily schedule timing wake-up and monitoring temperature report
The design of alert Multifunctional intelligent switch, completes the lamp opening and closing during daily schedule, time showing, reset circuit and
Monitoring to temperature.
Accompanying drawing explanation
Below by drawings and Examples, technical scheme is described in further detail.
Fig. 1 is the system architecture diagram of the present invention a kind of intelligent switch system.
Detailed description of the invention
In order to have a clear understanding of technical scheme, its detailed structure be will be set forth in the description that follows.Obviously, originally
The concrete also deficiency of implementing of inventive embodiments is limited to the specific details that those skilled in the art is familiar with.The present invention's is preferred real
Execute example to be described in detail as follows, in addition to these embodiments described in detail, it is also possible to there is other embodiments.
With embodiment, the present invention is described in further details below in conjunction with the accompanying drawings.
In conjunction with Fig. 1, described intelligent switch system includes display circuit, the relay switch being connected respectively with CPU
Circuit, buzzer give the correct time, power circuit part, reset circuit and temperature collection circuit.Whole intelligent switch circuit system can divide
It is seven major parts: CPU (CPU), display circuit, power circuit part, reset circuit, temperature collection circuit, buzzing
Device gives the correct time, relay circuit, and described CPU is AT89C52 single-chip microcomputer;Described temperature collection circuit uses numeral temperature
Degree chip DS18B20 measures temperature, and output signal total digitalization, described display circuit includes MAX7219 and two 4 Digital sum pipes
Constituting, described display circuit includes processor, video display circuit and display screen, described processor, video display circuit, display
Screen is sequentially connected with, and also includes that the display content of the form for detecing other selected file detects other circuit;For regulating the bright of display screen
The display brightness regulation circuit of degree;Described display brightness regulation circuit detects other circuit with video display circuit, display content respectively
Connect;Described display content is detectd other circuit and is connected with described processor.
AT89C52 provides following standard feature: 8K byte FLASH flash memory, 256 byte inner RAM, 32 I/O mouth lines, and 3
Individual 16 bit timings/enumerator, one 6 vector two-stage interrupt structure, a full duplex serial communication port, sheet internal oscillator and clock
Circuit.Meanwhile, AT89C52 can be down to the static logic operation of 0Hz, and supports two kinds of software optional power saving operation patterns.Empty
Not busy mode stops CPU work, but allows RAM, and Timer/Counter, serial communication port and interruption system work on.Power-down mode
Preserve the content in RAM, but agitator quits work and forbids that other all component workings are until next hardware reset.
Because single-chip microcomputer working power is+5V, and bottom circuit power consumption is the least.7805 three-terminal voltage-stabilizing sheets are used to meet
Requirement.
Temperature sensor DS18B20 obtains collection from the diverse location collecting temperature of facility environment, single-chip computer AT89C52
Temperature value, obtains a more stable temperature value in current environment after treatment, further according to the current temperature bound set
Value, is adjusted Current Temperatures by heating and cooling.When the temperature gathered exceedes the upper limit of design temperature after treatment,
Single-chip microcomputer drives relay to open cooling system (air-conditioning) by audion, when the temperature gathered is after treatment higher than design temperature
Upper time, single-chip microcomputer by audion drive relay open heating device (air-conditioning).
When owing to variation of ambient temperature is too acutely or owing to heating or cooling system break down, or Temperature probe goes out
The when of in now fault causes the temperature that ambient temperature can not be adjusted within a period of time regulation to limit, single-chip microcomputer passes through three poles
Pipe drives speaker to send police whistle sound.
Native system arranges 5 buttons, respectively stepping selection, add-substract key, mode selecting key, movement by the way of interruption
Key and mode switching key, it is achieved the manual setting of temperature bound, and to the typing of bound temperature, the inquiry of historical temperature
Switch with system model.
For realizing the Based Intelligent Control to temperature, it is upper and lower that native system also supports to preset one group of temperature changed over and change
Limit, controls ambient temperature and changes over and constantly adjust, and reaches to allow ambient temperature follow the change of predetermined temperature value
Effect, thus the change limit realizing ambient temperature controls.
Operation principle is as follows: the frequency of oscillation temperature influence of DS18B20 low-temperature coefficient crystal oscillator is the least, is used for producing intrinsic
The pulse signal of frequency gives enumerator 1;High temperature coefficient crystal oscillator varies with temperature its oscillation rate and changes substantially, and the signal of generation is made
Pulse for enumerator 2 inputs.Enumerator 1 is preset at-55 DEG C of corresponding base value with temperature register.Enumerator 1
The pulse signal producing low-temperature coefficient crystal oscillator enters subtraction numeration, when the preset value of enumerator 1 reduces to 0, temperature register
Value will add 1, and the value of enumerator 2 subtracts 1;Reload the preset value of enumerator 1 again, then restart low-temperature coefficient crystal oscillator
The pulse signal produced counts, and so circulation is until enumerator 2 counts after 0, stops the cumulative of temperature register value, this
Time temperature register in numerical value be dut temperature value.
Host computer control DS18B20 completes temperature transition and needs initialized, ROM operational order, memory operation instruction three
Instruction.Crystal oscillator frequency used by Single Chip Microcomputer (SCM) system is 6MHz, according to the initialization sequential of DS18B20, writes sequential and reads sequential, point
Do not write 3 subprograms.All of reading and writing data is started by lowest order, adds the pull-up resistor of 4.3kQ on the data line, other
2 foot ground connection.Owing to using single bus data transmission means, data I/O of DS18B20 are completed by the same line, therefore, right
The time sequential routine of read-write requires strict.For the I/O sequential of strict guarantee DS18B20, need to do more accurate time delay.?
In DS18B820 operation, the time delay used has 15 μ s, 90 μ s, 270 μ s, 540 μ s.
When the temperature gathered exceedes the set point of temperature upper limit after treatment, single-chip microcomputer is driven by P1.4 output control signal
Audion D1, makes relay K 1 open cooling system (air-conditioning): when the temperature gathered is after treatment higher than design temperature lower limit,
Single-chip microcomputer drives audion D2 by P1.5 output control signal, makes relay K 2 open cooling system (air-conditioning).
Display part is made up of MAX7219 and two 4 Digital sum pipes, and specific works principle is as follows: display driver
MAX7219 is the common cathode LED display driver of highly integrated serial input/output, and every can drive 87 sections to add decimal
The common cathode charactron of point, can cascade with several pieces, need only 3 lines [8] with being connected of microprocessor.MAX7219 has been internally integrated
Binary-coded decimal decoder, many bit scan circuit, segment decoder, bit driver and for deposit the 8 × 8 of each data bit static RAM with
And each work register, different work registers is set by instruction, MAX7219 can be made to enter different duties
[7].The transfer rate of serial line interface is up to 10MHz: independent light-emitting diodes pipeline section controls: decoding and two kinds of display sides of non-decoding
Formula is optional;Numeral and two kinds of brilliance control modes of simulation;Use can be cascaded.Native system uses serial port to transmit to MAX7219
Data, display uses any 3 ports that are connected by of 8 LEDMAX7219 with 89C52 single-chip microcomputers to be connected.System is in display temperature
Before degree, first entering to initialize to display unit, i.e. show pattern, scanning figure place, display brightness, display control, and then display are delayed
The data to be displayed rushing in district 8 bytes delivers to the internal storage of MAX7219, transmits number by serial port to display unit
According to, and combine P2.6 to MAX7219 transmission loading signal.
This system is provided with five buttons, is Schema control key (MOD), plus key (ADD) respectively, subtracts key (SUB), stepping control
Key processed (BUJIIN) and amendment shift key (MOVE), MOVE, ADD, SUB, BUJIN connect respectively single-chip microcomputer AT89S52P1.7,
P1.6, P1.1, P2.5I/O mouth, and use a piece of 74LS04, it is then connected to after the input signal elder generation "AND" of MOVE, ADD, SUB
P3.3 (INT1) mouth of AT89S52, MOD key-press input signal is directly connected to P3.2 (INTO) mouth of AT89S51.System works
Time, button MOD is circulated switching to the mode of operation of system, when system is in mode of operation for the moment, is selected by BUJIN key
Adjust the stepping amplitude of bound, by ADD, SUBB key, bound can be added simultaneously, subtract adjustment: when system is in pattern
When two, system enters temperature control status, does not allow to carry out pattern switching when system is in and heats or lower the temperature state: work as system
During the pattern three of being in, by ADD and SUBB key historical temperature carried out on turn over and under thumb inquiry.
Reset circuit, when the reset pin RST (full name RESET) of MCS-5l series monolithic occur 2 machine cycles with
On high level time, single-chip microcomputer be carried out reset operation.If RST is continuously high level, single-chip microcomputer is at cycle reset shape
State.According to the requirement of application, the operation that resets generally has two kinds of primitive forms: electrification reset and power on or switch reset.On reply by cable
After position requires to switch on power, it is automatically obtained reset operation.
Clock circuit: necessary clock signal when clock circuit is used to produce the work of AT89C52 single-chip microcomputer,
An AT89C52 inherently complicated synchronizing sequential circuit, for ensureing the realization of working method, AT89C52 is when unique
The instruction of execution chronologically strict under the control of clock signal is operated, and the speed of the frequency influence single-chip microcomputer of clock is with stable
Property.Generally clock is due to two kinds of forms: internal clocking and external clock.Our system uses internal clocking mode to carry for system
For have inside clock signal AT89C52 one for the high-gain sign-changing amplifier constituting agitator, the input of this amplifier is defeated
Going out pin is XTAL1 and XTAL2, and they are connected across crystal oscillator and the electric capacity for fine setting, just constitute an autoexcitation
Agitator.
The selection of C1, C2 in circuit is at about 30PF, but electric capacity is the least can affect the frequency of vibration, stability and quickly
Property.Crystal oscillator frequency is between 1.2MHZ~12MHZ, and the speed of the highest single-chip microcomputer of frequency is the fastest, but wants memory speed
Ask the highest.In order to improve stability, we use the NPO electric capacity that temperature stability is good, and the crystal oscillator frequency of employing is 12MHZ.
Clock circuit: necessary clock signal when clock circuit is used to produce the work of AT89C52 single-chip microcomputer,
An AT89C52 inherently complicated synchronizing sequential circuit, for ensureing the realization of working method, AT89C52 is when unique
The instruction of execution chronologically strict under the control of clock signal is operated, and the speed of the frequency influence single-chip microcomputer of clock is with stable
Property.Generally clock is due to two kinds of forms: internal clocking and external clock.
Our system uses internal clocking mode to provide for system has one for constituting inside clock signal AT89C52
The high-gain sign-changing amplifier of agitator, the input and output pin of this amplifier is XTAL1 and XTAL2, and they are connected across crystal
Agitator and the electric capacity for fine setting, just constitute a self-excited oscillation device.
The selection of C1, C2 in circuit is at about 30PF, but electric capacity is the least can affect the frequency of vibration, stability and quickly
Property.Crystal oscillator frequency is between 1.2MHZ~12MHZ, and the speed of the highest single-chip microcomputer of frequency is the fastest, but wants memory speed
Ask the highest.In order to improve stability, we use the NPO electric capacity that temperature stability is good, and the crystal oscillator frequency of employing is 12MHZ.
Speech chronopher circuit: active buzzer internal band concussion source directly connects rated power supply just can sounding continuously;And nothing
Source buzzer is then the same with magnetic speaker, internal without concussion source, it cannot be made to pipe with direct current signal, it is necessary to 2K ~ 5K
Square wave go to drive it, and need to be connected in audio output circuit could sounding, its hardware circuit is more complicated.Active single
The direct low and high level of the common I/O port of sheet machine drives, if your one-chip machine port driving force can also be driven with audion not
Dynamic, program is the simplest.Wanting frequency to drive if passive, different frequency driving can send different sound.In I/O selection preferably
Select the I/O output of intervalometer, PWM output or other convenient ports generating different frequency output.Program is the most complicated, sees monolithic
Machine the most convenient programming output frequency signal.For these reasons, active buzzer is best selection.
A kind of intelligent switch system that the present invention provides, supervises based on monolithic processor controlled daily schedule timing wake-up and temperature
The design of control warning Multifunctional intelligent switch, completes the lamp opening and closing during daily schedule, time showing, reset circuit
And the monitoring to temperature.
Finally should be noted that: above example is only in order to illustrate that technical scheme is not intended to limit, to the greatest extent
The present invention has been described in detail by pipe with reference to above-described embodiment, and those of ordinary skill in the field still can be to this
Bright detailed description of the invention is modified or equivalent, these without departing from spirit and scope of the invention any amendment or
Equivalent, all within the claims that application is awaited the reply.
Claims (4)
1. an intelligent switch system, it is characterised in that described intelligent switch system includes being connected with CPU respectively
Display circuit, relay switch circuit, buzzer give the correct time, power circuit part, reset circuit and temperature collection circuit, described
Display circuit includes that processor, video display circuit and display screen, described processor, video display circuit, display screen connect successively
Connect, also include that the display content of the form for detecing other selected file detects other circuit;For regulating the display of the brightness of display screen
Brightness regulating circuit;Described display brightness regulation circuit is detectd other circuit be connected with video display circuit, display content respectively;Described
Display content is detectd other circuit and is connected with described processor.
Intelligent switch system the most according to claim 1, it is characterised in that described CPU is that AT89C52 is mono-
Sheet machine.
Intelligent switch system the most according to claim 1, it is characterised in that described temperature collection circuit uses digital temperature
Chip DS18B20 measures temperature, output signal total digitalization.
Intelligent switch system the most according to claim 1, it is characterised in that described display circuit includes MAX7219 and two
Individual 4 Digital sum pipes are constituted.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610484193.1A CN106054769A (en) | 2016-06-28 | 2016-06-28 | Intelligent switch system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610484193.1A CN106054769A (en) | 2016-06-28 | 2016-06-28 | Intelligent switch system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106054769A true CN106054769A (en) | 2016-10-26 |
Family
ID=57165818
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610484193.1A Pending CN106054769A (en) | 2016-06-28 | 2016-06-28 | Intelligent switch system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106054769A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5132681A (en) * | 1989-07-05 | 1992-07-21 | Ryoichi Yabe | Intelligent switch system |
CN2535984Y (en) * | 2002-04-01 | 2003-02-12 | 但红跃 | Wireless auto-dial alarming device |
CN201119069Y (en) * | 2007-11-13 | 2008-09-17 | 昆明理工大学 | Intelligent control device for classroom light and air-conditioner |
CN202183056U (en) * | 2011-08-22 | 2012-04-04 | 程智龙 | Digital display type intelligent temperature controller |
CN202217489U (en) * | 2011-07-20 | 2012-05-09 | 广州商科信息科技有限公司 | Intelligent display circuit |
CN202563782U (en) * | 2012-05-22 | 2012-11-28 | 浙江师范大学 | Singlechip experiment teaching development system |
-
2016
- 2016-06-28 CN CN201610484193.1A patent/CN106054769A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5132681A (en) * | 1989-07-05 | 1992-07-21 | Ryoichi Yabe | Intelligent switch system |
CN2535984Y (en) * | 2002-04-01 | 2003-02-12 | 但红跃 | Wireless auto-dial alarming device |
CN201119069Y (en) * | 2007-11-13 | 2008-09-17 | 昆明理工大学 | Intelligent control device for classroom light and air-conditioner |
CN202217489U (en) * | 2011-07-20 | 2012-05-09 | 广州商科信息科技有限公司 | Intelligent display circuit |
CN202183056U (en) * | 2011-08-22 | 2012-04-04 | 程智龙 | Digital display type intelligent temperature controller |
CN202563782U (en) * | 2012-05-22 | 2012-11-28 | 浙江师范大学 | Singlechip experiment teaching development system |
Non-Patent Citations (1)
Title |
---|
付先成 华中科技大学出版社: "《单片机原理与C语言程序设计》", 31 August 2015 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI317468B (en) | Method for controlling power consumption and multi-processor system using the same | |
CN101477350A (en) | Function-adjustable intelligent switch and its implementing method | |
CN203225046U (en) | Electromechanical system PID automatic control experiment teaching platform based on single chip microcomputer | |
CN203288224U (en) | Liquid crystal screen display system having multiple communication interfaces | |
CN107388457A (en) | Human-computer interaction intelligent humidifier and its air-humidification method | |
CN200990088Y (en) | Eight-bit RISC micro controller constitution | |
CN201569497U (en) | Control system for temperature measurement and alarm | |
CN105407613A (en) | Novel classroom lighting control system | |
CN107608256A (en) | A kind of SCM Based intelligence is dried in the air clothing system | |
CN200990087Y (en) | Eight-bit simple instruction set micro-controller | |
CN106154910A (en) | A kind of intelligent switch system | |
CN106054769A (en) | Intelligent switch system | |
CN106054721A (en) | Intelligent switch system | |
CN202217153U (en) | Measure and control circuit for embedded 1553B remote terminal | |
CN106094627A (en) | A kind of intelligent switch system | |
CN201230537Y (en) | Wireless master-slave mode voice animal-driving device | |
CN105929758A (en) | Smart switch system | |
CN106054720A (en) | Intelligent switch system | |
CN105929759A (en) | Smart switch system | |
CN105892380A (en) | Intelligent switch system | |
CN105766689A (en) | Intelligent necklace for pet cat | |
CN205750914U (en) | Basketball Match control system based on Internet of Things | |
CN202096722U (en) | Programmable learning robot | |
CN201788603U (en) | Electromechanical control experimental teaching platform based on single chip microprocessor | |
CN209858986U (en) | Electronic scale dormancy awakening equipment based on ESP32 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20161026 |