CN106100946A - A kind of household electric appliances remote control system - Google Patents

A kind of household electric appliances remote control system Download PDF

Info

Publication number
CN106100946A
CN106100946A CN201610448512.3A CN201610448512A CN106100946A CN 106100946 A CN106100946 A CN 106100946A CN 201610448512 A CN201610448512 A CN 201610448512A CN 106100946 A CN106100946 A CN 106100946A
Authority
CN
China
Prior art keywords
time
cycle
signal
voltage
true
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610448512.3A
Other languages
Chinese (zh)
Other versions
CN106100946B (en
Inventor
张金木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xuzhou Bochuang Construction Development Group Co.,Ltd.
Original Assignee
Fuzhou Taijiang Chaoren Electronic Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuzhou Taijiang Chaoren Electronic Co Ltd filed Critical Fuzhou Taijiang Chaoren Electronic Co Ltd
Priority to CN201610448512.3A priority Critical patent/CN106100946B/en
Publication of CN106100946A publication Critical patent/CN106100946A/en
Application granted granted Critical
Publication of CN106100946B publication Critical patent/CN106100946B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM]
    • G05B19/4185Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM] characterised by the network communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2816Controlling appliance services of a home automation network by calling their functionalities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/72415User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories for remote control of appliances
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house

Abstract

The present invention relates to a kind of household electric appliances remote control system, comprise multiple appliance controller and a master controller, master controller is communicated with owner by GSM net, and owner can Remote household electric appliances equipment.Master controller and each appliance controller are respectively mounted cycle discriminator circuit, keep system acting the most consistent for producing the lock in time of system.

Description

A kind of household electric appliances remote control system
(1) technical field:
The present invention relates to a kind of household electric appliances remote control system, comprise multiple appliance controller and a master controller, master control Device processed is communicated with owner by GSM net, and owner can Remote household electric appliances equipment.In master controller and each appliance controller all Cycle discriminator circuit is installed, keeps system acting the most consistent for producing the lock in time of system.
(2) background technology:
Thered is provided the control system of power supply by power network, its each electronic equipment or intermodule are all to be communicated by special circuit, Correct the timing time of each electronic equipment or electronic module, reach to run simultaneously purpose.Owing to using special circuit communication to make Wiring complicates and increases cost, if timing time is not corrected by line traffic, then due to tradition timing error, runs number After hour, its accumulation timing error can make system control action inconsistent, is likely to result in system crash, often changes at some and sets Meter, its products application of occasion that wiring installation amount is big is restricted.
(3) summary of the invention:
A kind of household electric appliances remote control system, comprises multiple appliance controller and a master controller.On household main switchboard Comprising multichannel air switch, it is guide tracked installation and presser type wiring reconfiguration convenience, and each air switch controls a road electricity Device loads, and needs to select a road air switch according to system, fills an electrical switch after air switch, and this electrical switch is also Connection isolating diode, during communication, master controller turns off electrical switch and connects its communications electronics switch, by civil power through isolating two poles System sent into by pipe, and system is in half wave communication half-wave power supply state of electric lines of force.The output of each appliance controller through photoelectricity every It is serially connected with in former socket or on-off circuit from bidirectional triode thyristor, it is achieved its load energized power and control of time, change sets Meter is convenient, need not break wall paper line.Select the stewing of 2 to 3 preset optimizations of appliance controller, boil, boil in a covered pot over a slow fire, simmer, endure, boil medicine and electric fan The multiple utility program such as natural wind, ordinary appliances such as electric food warmer, electric frying pan, medicine decocting tank, electric fan and illuminating lamp etc. insert Any one socket described, inputs the pattern of above-mentioned utility program, just makes above-mentioned ordinary appliances intellectuality run.Master controller passes through GSM net communicates with owner, and owner can Remote household electric appliances equipment.Master controller and each appliance controller are respectively mounted cycle Discriminator circuit, keeps system acting consistent for producing the lock in time of system, each installation one in its telecommunication circuit simultaneously Communications electronics switch, switch drive module.Master controller, at setting time or the mobile phone short message instructions that receives, needs communication Time, i.e. perform the switching action from all-wave to half-wave.When each appliance controller at the half-wave call duration time set or and detects Power network is isolated half-wave that diode blocks when not having signal, and system is in half-wave state, i.e. cuts off its electric appliance load power supply, It is then turn on communications electronics switch, makes system be in the half-wave communications status of electric lines of force;Otherwise, when switching to all-wave from half-wave Time, master controller first sends switching command to each appliance controller, turns off communications electronics switch, connects appliances power source.
The LED of appliance controller panel 3-5 different colours of dress, when after off-line is the most just started shooting one section is specific Between when showing redness, shutdown start again enters numbering, and its panel sequentially shows 1 time or 2 LED modules with different colors lamps are one group Close (be for such as the 1st time or the 2nd time: red, green, blue, red indigo plant green, bluish-green, red, RGB etc. one of them), be shown as one 2 times During combination, the 1st display time controls in the 1-2 second, according to the preset dead time shown as the end identification combined, Each combination is all corresponding with the number of numbering, and this corresponding relation is affixed on panel.Select a combination shutdown, obtain and this combination phase Corresponding uniquely numbers and preserves, and labeling is known, and it is that single-chip microcomputer depends in the numbering period when can't detect grid cyclic wave signal Numbering data are stored in nonvolatile storage by the energy storage by its power capacitor.Described numbering is easily changed numbering, is not subject to Dust, water droplet etc. corrode, safe and reliable.
The switch drive module of communications electronics switch is that one tunnel is used for each electricity from electric power netting twine point two-way after resistance blood pressure lowering Device controller, it is connected to the single-chip processor i/o mouth of each appliance controller through reversal connection diode, bears in clock timer timing to cycle During half-wave, scan this I/O mouth, be in half-wave communications status without signal i.e. system;Another road is used for master controller with each Appliance controller, communication therebetween is consistent over a long time by controlling lock in time with holding action, and this Lu Jingzheng connects diode and enters one After step isolation cycle bears half-wave, being connected to comparator input terminal, its reference voltage is 100Mv to 200Mv, available diode drop Obtaining through electric resistance partial pressure, therefore the outfan of comparator is square-wave signal, and it creates correspondence after the diode rectification just connect Power network cycle bears the positive square-wave signal of half-wave, is connected to the I/O mouth of single-chip microcomputer, and single-chip microcomputer performs logical when scanning positive square-wave signal Letter operation, this positive square-wave signal is additionally operable to drive communications electronics switch, and therefore communications electronics switch turns off when cycle positive half-wave, Cycle is connected when bearing half-wave.Communications electronics switch is connected to single-chip microcomputer corresponding port according to used communication mode, and carries out signal tune Reason, during sign off under main controller controls, makes drive circuit turn off communications electronics switch.
System is provided with SMS R-T unit, utilizes GSM network, communicate, at present receiving and dispatching short message mode The SMS messaging service of GSM remains the SMS of the highest a kind of short message service GSM of domestic popularity rate itself and possesses data transmission merit Can, the transmission of a message just constitutes and once communicates, and the transmission of message is by the SMS service center being in outside GSM (SMSC) relay, the SMS service SMS of GSM it need not dial and can set up connection, user adds information to be sent out Stay of two nights data are sent to short message service center, are then forwarded to the final stay of two nights after short message service center completes storage.So When the no start of GSM terminal, information will not be lost.
The present invention utilizes the positive half cycle ascent stage of power network cycle, takes three examination points and realizes sentencing the identification of cycle signal Fixed, the recycling cycle time sets up lock in time, it is achieved master controller and the synchronous operation of each appliance controller in system.
The cycle discriminator circuit structural representation of master controller and each appliance controller is as in figure 2 it is shown, stagnant by three employings Return the voltage comparator composition of comparator, each voltage comparator all comprises filter circuit, the benchmark electricity of its voltage comparator Pressure is provided by mu balanced circuit.System arranges clock timer and synchrotimer.If be detected that adjacent two cycle signals It is true, then takes out the clock timer timing time between these two adjacent cycle signal zero passages, when being sequentially stored in cycle Between in memory element, this cycle time memory cell can deposit 100 cycle times, is often stored in a cycle time when being filled with, The most first remove the cycle time being stored at first, and calculate meansigma methods Tz of the cycle time being stored in and preserve, utilize Tz value Differentiating cycle signal to be identified, to reduce the impact of power network frequency fluctuation, use three examination points to reduce erroneous judgement may simultaneously Property.
Three comparators are respectively used to three and screen point, i.e. screen point 0, examination point 1, screen point 2, as shown in Figure 1.In week At the cycle zero passage of ripple positive half cycle ascent stage, i.e. screen point 0 and voltage zero-crossing comparator is set, due to power network cycle negative half period quilt Commutation diode is isolated, and in order to improve accuracy of detection, the signal input part series diode again in voltage zero-crossing comparator is isolated Negative half period, its reference voltage brings up to 10mv to 100mv from zero, and depending on the offset voltage of comparator, this reference voltage can profit Obtain through electric resistance partial pressure with diode drop.Remaining two comparator is separately positioned on cycle positive half cycle ascent stage, crest voltage 35% to 50% place screen point 1 and 50% to the 70% examination point 2 at place.
Cycle signal determining: single-chip microcomputer is had no progeny in the setting time opens, and clock timer resets and starts timing, works as cycle During voltage zero-cross, it is arranged on the output voltage upset of voltage zero-crossing comparator V0 screening point 0, produces at its voltage trailing edge Interrupt, record its zero crossing break period Th0 and close interruption;Hereafter, voltage comparator V1 at point 1 is screened in single-chip microcomputer scanning Output voltage, when week, wave voltage reached the threshold voltage of V1, output voltage overturns from high to low, when scanning records its upset Between Th1;Voltage comparator V2 output voltage Th2 flip-flop transition at point 2 screened in same scanning record.By Th0 and voltage zero-cross Output voltage setting value Ts0 flip-flop transition of comparator V0 is made comparisons;The output voltage upset of Th1 and voltage comparator V1 Output voltage setting value Ts2 flip-flop transition of time setting value Ts1 and Th2 and voltage comparator V2 is made comparisons respectively, as Fruit is in the range of allowable error, then this discriminator signal detected is true, is otherwise false.Above-mentioned judge discriminator signal as true time, Calculate the clock timer meter between this cycle signal zero passage with the cycle signal zero passage that an adjacent front discriminator signal is true time Time time Tzu, it is made comparisons with meansigma methods Tz of cycle time, if less than set cycle time error Tzv; cycle Signal is true, at this moment preserves Tzu and takes 20ms and be added with synchrotimer timing time, and the value that will add up is stored in synchrotimer In.
When clock timer starts timing with cycle voltage zero-cross, then timing is to opening the break period between 16ms to 18.5ms Open interruption during setting value Tk, close during pass break period setting value Tn between clock timer timing to 25ms to 27ms and interrupt.
After system boot, clock timer starts timing, when first cycle voltage zero-cross being detected, is arranged on examination The output voltage upset of voltage zero-crossing comparator V0 of point 0, thus produce interruption, take out the time T0 of cycle voltage over zero Preserving, reset by clock timer and start timing, at this moment cycle time voltage crosses zero Th0 is 0, and above-mentioned side pressed by single-chip microcomputer simultaneously Method scans and judges discriminator signal.Due to detection is first cycle, and clock timer is to start when cycle voltage zero-cross Timing, the value of its Th0, Th1 and Th2 must deduct open the difference of break period setting value Tk plus cycle time 20ms, if Three discriminator signals are true, i.e. for the first time open the break period next time and take Tk.It is otherwise fictitious time, now clock timer time palpus Plus T0, continue detection.
When detecting first and during adjacent second cycle voltage zero-cross, owing to not preserving the cycle time of detection, Therefore the clock timer timing time between twice cycle signal zero passage is to make comparisons with cycle time 20ms, it is determined that cycle signal For true time, then take out clock timer cumulative time T1=T0+Tk when opening interruption and be stored in synchrotimer as initial time In, clock timer of having no progeny in opening reset, otherwise judges cycle signal as fictitious time, now the clock timer time must add T1, Continue first cycle of detection the most again.After first cycle signal of detection is very, recover above-described week Ripple signal determining.
As it is shown in figure 1, if be detected that cycle signal is false, opens the break period and all open the break period at this next time After, when meansigma methods Tz of time delay cycle time, open interruption, and have no progeny in opening time delay Tns time close and interrupt, pass is set when interrupting Between be when cycle signal screen point 0 time do not produce interruption, at this moment must be at the setting time point more than Ts0 allowable error scope Starting scanning, and scanning examination point 1 is with when screening point 2, voltage comparator output voltage does not produce upset, all interrupts in pass Time Tns closes and interrupts and stop scanning, and Tns is:
Tns=Tn-Tk
If be detected that cycle signal is true, then next cycle is opened break period Tks and is:
Tks=Tk+Th0
I.e. from opening for the first time after the break period takes Tk, clock timer is all timing opens interruption to Tks, and weight after resetting Newly start timing, close during timing to Tns and interrupt, so that the synchrotimer time is corrected by cycle time voltage crosses zero.
Repeat said process.If the upper cycle signal detected described in is true, and when this cycle judges, discriminator signal is Vacation, or the cycle time detected compare with meansigma methods Tz of cycle time and exceed setting cycle time error Tzv, or clock meter Time device timing to when closing break period setting value Tns, voltage zero-crossing comparator V0 output voltage does not overturns, in not producing Disconnected, then close when clock timer timing to Tns and interrupt, at this moment remember that not counting cycle N is 1 and stores, when opening interruption next time Between be to open the break period in last time after Tz, open interruption, clock timer have no progeny in opening clearing and timing, during timing to Tns Close and interrupt, judge the cycle signal true and false the most every time, though if false or this detection discriminator signal is true last time is false, then take N, restores after N+1 in memorizer.
When detecting that cycle signal is true time, then take out N in memorizer and preserve, and by N zero setting in memorizer, and recover to make Using setting value Tks, the value at this moment taking (N+1) × 20ms is added in synchrotimer.
The system synchronization time is the time of synchrotimer, adds current the most just in time of clock timer of timing.
When judging to screen the some signal true and false, Th0, Th1, Th2 are by setting flip-flop transition with voltage comparator output voltage Definite value Ts0, Ts1, Ts2 make comparisons and see the most overproof, judge to screen a some signal true and false, can select: Th0, Th1, Th2 are This cycle discriminator signal of true time is true, or Th0 is true, and one of Th1, Th2 are true time simultaneously, or Th1, Th2 are true time, should Cycle discriminator signal is true, depending on to judging that cycle signal true and false difference requires.
If system fault, when N is more than a setting value between 25 to 70, due to master controller and each electricity in system Device controller, the Tz value of its detection may be different with N value, at this moment, and power network frequency cumulative error, it is likely to result in synchrotimer Time cannot by true cycle signal being detected time corrected, when detecting that cycle signal is true time, at this moment use clock The accumulative clocking value of timer is directly added in synchrotimer, to reduce the asynchronous time of system, accumulative clocking value be N × Tz+20ms.In the case of power network normal operation, N is much smaller than 25.
The cycle time error Tzv allowed and setting value flip-flop transition of voltage comparator output voltage, by test assessment Take its meansigma methods to obtain.
(4) accompanying drawing explanation:
Fig. 1 is that cycle screens data relationship schematic diagram;
Fig. 2 is cycle discriminator circuit structural representation;
Fig. 3 is the circuit structure block diagram of a kind of household electric appliances remote control system.
(5) detailed description of the invention:
Fig. 3 is that the circuit structure block diagram of a kind of household electric appliances remote control system includes: master controller 10, communications electronics leave Pass 11, switch drive module 12, SMS R-T unit 13, SIM 14, electrical equipment 15, cycle discriminator circuit 16, appliance controller 17, electrical switch 18.Wherein communications electronics switch 11, switch drive module 12 and cycle are discriminated In other circuit 16 and Fig. 2, single-chip microcomputer U0 is included in appliance controller 17, master controller 10 respectively.Its electronic cutting Pass 18, communications electronics switch 11 use bidirectional triode thyristors are as switch.Original in on-off circuit of electrical equipment 15 finger Electrical equipment.
Fig. 2 is the structural representation of cycle discriminator circuit 16, by: input circuit S0, voltage zero-cross detection module V0, voltage comparator V1 and voltage comparator V2 are constituted.Single-chip microcomputer U0 refers to appliance controller 17 and main control Single-chip microcomputer in device 10.Input circuit S0 for passing through resistance and the dividing potential drop of diode, conversion by mains AC voltage For the input voltage that voltage comparator is the most stable.Single-chip microcomputer U0 use 89C55WD, voltage zero-cross detection module V0, Voltage comparator V1, voltage comparator V2 all use special voltage comparator LM339, and its reference voltage is to use voltage stabilizing The mu balanced circuit of pipe carrys out the threshold voltage of burning voltage comparator.
When mains AC voltage cycle signal zero passage, the output voltage saltus step of voltage zero-cross detection module V0, single Sheet machine U0 produces interruption, records the break period, and single-chip microcomputer U0 is additionally operable to scanning voltage comparator V1 and voltage ratio simultaneously The relatively output voltage of device V2, records bound-time, is used for judging power network cycle signal thus produces when output voltage saltus step Raw lock in time.
In SMS R-T unit, single chip computer89C51 realizes serial communication by I2C bus and master controller, this monolithic Machine 89C51 is connected also by serial line interface integrated circuit MAX232 and gsm module TC35i and carries out data exchange, gsm module chip TC35i is RS232 data port, supports AT Command Set, wherein contains the control to SMS, and single chip computer89C51 is by GSM mould Block sends a series of AT instruction, completes the initialization to gsm module and receiving short message.The transmitting-receiving of SMS uses TEXT pattern, TEXT pattern is a kind of structural models based on ASCII character.

Claims (2)

1. a household electric appliances remote control system, is characterized in that, fills an electrical switch after air switch, and this electrical switch is also Connection isolating diode, during communication, master controller turns off electrical switch and connects its communications electronics switch, by civil power through isolating two poles Pipe send into system, system use electric lines of force half wave communication half-wave power supply state, the output of each appliance controller through photoelectricity every It is serially connected with in former socket or on-off circuit from bidirectional triode thyristor, it is achieved its load energized power and control of time, and selects 2 To the stewing of 3 preset optimizations of appliance controller, boil, boil in a covered pot over a slow fire, simmer, endure, boil medicine and the multiple utility program of electric fan natural wind, commonly electricity Device inserts any one socket described, inputs the pattern of described utility program, just makes above-mentioned ordinary appliances intellectuality run;Main control Device is communicated with owner by GSM net, owner can Remote household electric appliances equipment, master controller and each appliance controller are all pacified Dress cycle discriminator circuit, simultaneously communications electronics switch, switch drive module of each installation in its telecommunication circuit, when each electrical equipment Controller set half-wave call duration time or and detect power network be isolated diode block half-wave there is no signal time, be System is in the half-wave communications status of electric lines of force;
The LED of appliance controller panel 3-5 different colours of dress, when just the display of start special time is red, shutdown is opened again Machine enters numbering, and sequentially display 1 time or 2 LED modules with different colors lamps are a combination, and the 1st display time controls at 1-2 Second, according to the preset dead time shown as the end identification of a combination, select a combination shutdown, obtain and this combination phase Corresponding numbering also preserves, and it is that single-chip microcomputer relies on its power capacitor in the numbering period when can't detect grid cyclic wave signal Energy storage numbering data are stored in nonvolatile storage;
The switch drive module of communications electronics switch is that one tunnel is used for each electrical equipment control from electric power netting twine point two-way after resistance blood pressure lowering Device processed, it is connected to the single-chip processor i/o mouth of each appliance controller through reversal connection diode, bears half-wave in clock timer timing to cycle Time, scan this I/O mouth, be in half-wave communications status without signal i.e. system;Another road is used for master controller and each electrical equipment Controller, this Lu Jingzheng connects diode and isolates after cycle bears half-wave further, is connected to comparator input terminal, and its reference voltage is 100Mv to 200Mv, utilizes diode drop to obtain through electric resistance partial pressure, and it creates corresponding electricity after the diode rectification just connect Power net cycle bears the positive square-wave signal of half-wave, is connected to the I/O mouth of single-chip microcomputer, and single-chip microcomputer performs communication when scanning positive square-wave signal Operation, this positive square-wave signal is additionally operable to drive communications electronics switch;
Cycle discriminator circuit is the positive half cycle ascent stage utilizing power network cycle, takes three and screens the some realization knowledge to cycle signal Not judging, the recycling cycle time sets up lock in time, and system arranges clock timer and synchrotimer, if be detected that phase Two the cycle signals faced are very, then when taking out the clock timer timing between these two adjacent cycle signal zero passages Between, sequentially it is stored in cycle time memory cell, is often stored in a cycle time when being filled with 100 cycle time, the most first removes The cycle time being stored at first, and calculate meansigma methods Tz of the cycle time being stored in and preserve, utilize Tz value to differentiate to wait to know Other cycle signal;
Three comparators are respectively used to three and screen point, i.e. screen point 0, examination point 1, screen point 2, in the cycle positive half cycle ascent stage Cycle zero passage at, i.e. screen point and 0 voltage zero-crossing comparator be set, the signal input part in voltage zero-crossing comparator concatenates two again Pole pipe isolation negative half period, its reference voltage is 10mv to 100mv, and depending on the offset voltage of comparator, this reference voltage can profit Obtaining through electric resistance partial pressure with diode drop, remaining two comparator is separately positioned on cycle positive half cycle ascent stage, crest voltage 35% to 50% place screen point 1 and 50% to the 70% examination point 2 at place;
Cycle signal determining: single-chip microcomputer is had no progeny in the setting time opens, and clock timer resets and starts timing, when week wave voltage During zero passage, it is arranged on the output voltage upset of the voltage zero-crossing comparator screening point 0, produces at its voltage trailing edge and interrupt, note Record its zero crossing break period Th0 and close interruption;Hereafter, the output electricity of voltage comparator V1 at point 1 is screened in single-chip microcomputer scanning Pressure, when week, wave voltage reached the threshold voltage of voltage comparator V1, output voltage overturns from high to low, and scanning records it and turns over Turn time Th1;Th2 flip-flop transition of voltage comparator V2 output voltage at point 2 screened in same scanning record, if described in turn over The time that turns, this discriminator signal then detected was true in the range of allowable error, was otherwise false, above-mentioned judged that discriminator signal is as true Time, calculate the clock timer between this cycle signal zero passage with the cycle signal zero passage that an adjacent front discriminator signal is true time Timing time Tzu, makes comparisons it with meansigma methods Tz of cycle time, if less than setting cycle time error Tzv, all Ripple signal is true, at this moment preserves Tzu and takes 20ms and be added with synchrotimer timing time, and the value that will add up is stored in time synchronisation In device;
When clock timer starts timing with cycle voltage zero-cross, then timing set to the break period of opening between 16ms to 18.5ms Open interruption during value Tk, close during pass break period setting value Tn between clock timer timing to 25ms to 27ms and interrupt;
When first cycle voltage zero-cross being detected, it is arranged on the output voltage upset of the voltage zero-crossing comparator screening point 0, Thus producing interruption, the time T0 taking out cycle voltage over zero preserves, and is reset by clock timer and starts timing, at this moment week Wave voltage zero-crossing timing Th0 is 0, and single-chip microcomputer scans as stated above and judges discriminator signal, and the value of its Th0, Th1 and Th2 is equal The difference of break period setting value Tk must be deducted open plus cycle time 20ms, if three discriminator signals are true, be next time Opening for the first time the break period takes Tk, be otherwise fictitious time, and now the clock timer time must continue to detect plus T0;
When detect first and adjacent second cycle voltage zero-cross judges cycle signal as true time, then when interruption is opened in taking-up Clock timer cumulative time T1=T0+Tk be stored in synchrotimer as initial time, clock timer of having no progeny in opening Reset, otherwise judges cycle signal as fictitious time, now the clock timer time must be plus T1, and continuation detects the most again First cycle, after first cycle signal of detection is very, recovers above-described cycle signal determining;
If be detected that cycle signal is false, open the break period all after this opens the break period, when time delay cycle next time Between meansigma methods Tz time open interruption, and have no progeny in opening time delay Tns time close and interrupt, arranging the pass break period is when cycle signal is discriminated Not Wei fictitious time, close break period Tns close interrupt and stop scanning, Tns is:
Tns=Tn-Tk
If be detected that cycle signal is true, then next cycle is opened break period Tks and is:
Tks=Tk+Th0
I.e. from opening for the first time after the break period takes Tk, clock timer is all timing opens interruption to Tks, and again opens after resetting Beginning timing, closes during timing to Tns and interrupts, repeat said process, if described in the upper cycle signal that detects be true, this cycle During judgement, discriminator signal is false, then close when clock timer timing to Tns and interrupt, at this moment remember that not counting cycle N is 1 and deposits Storage, open the break period is to open the break period in last time to open interruption after Tz next time, and clock timer is had no progeny clearing in opening And timing, during timing to Tns close interrupt, the most every time judge the cycle signal true and false, though if false or this detection discriminator signal It is true but last time is false, then takes N, restore after N+1 in memorizer;
When detecting that cycle signal is true time, then take out N in memorizer and preserve, and by N zero setting in memorizer, and recover use and set Definite value Tks, the value at this moment taking (N+1) × 20ms is added in synchrotimer;
The system synchronization time is the time of synchrotimer, adds current the most just in time of clock timer of timing;
When judging to screen the some signal true and false, select: it is true that Th0, Th1, Th2 are this cycle discriminator signal of true time, or Th0 is Very, one of Th1, Th2 are true time simultaneously, or Th1, Th2 are true time, and this cycle discriminator signal is true, depending on to judging cycle letter Depending on number true and false difference requires;
If N is more than a setting value between 25 to 70, the accumulative clocking value of clock timer is used directly to be added on synchrometer Time device in, accumulative clocking value is N × Tz+20ms.
A kind of household electric appliances remote control system the most according to claim 1, it is characterised in that including:
Master controller 10, communications electronics switch 11, switch drive module 12, SMS R-T unit 13, SIM Card 14, cycle discriminator circuit 16, appliance controller 17, electrical switch 18, wherein single-chip microcomputer U0 and communications electronics Switch 11, switch drive module 12 and cycle discriminator circuit 16 are included in appliance controller 17 and main control respectively In device 10;
Cycle discriminator circuit 16 is by input circuit S0, voltage zero-cross detection module V0, voltage comparator V1 and voltage Comparator V2 is constituted, and input circuit S0, for mains AC voltage is passed through resistance and the dividing potential drop of diode, is converted to The input voltage that voltage comparator is the most stable;
In SMS R-T unit, single chip computer89C51 realizes serial communication by I2C bus and master controller, this single-chip microcomputer 89C51 is connected with gsm module TC35i also by serial port MAX232 and carries out data exchange.
CN201610448512.3A 2016-06-20 2016-06-20 A kind of household electric appliances remote control system Active CN106100946B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610448512.3A CN106100946B (en) 2016-06-20 2016-06-20 A kind of household electric appliances remote control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610448512.3A CN106100946B (en) 2016-06-20 2016-06-20 A kind of household electric appliances remote control system

Publications (2)

Publication Number Publication Date
CN106100946A true CN106100946A (en) 2016-11-09
CN106100946B CN106100946B (en) 2018-09-14

Family

ID=57238235

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610448512.3A Active CN106100946B (en) 2016-06-20 2016-06-20 A kind of household electric appliances remote control system

Country Status (1)

Country Link
CN (1) CN106100946B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN88100030A (en) * 1988-01-12 1988-07-27 潘大金 The digital coding carrier wave is notified from a phone call conversational system
US20060232387A1 (en) * 1995-03-20 2006-10-19 Wheelock Inc. Apparatus and method for synchronizing visual/audible alarm units in an alarm system
CN102571150A (en) * 2011-03-22 2012-07-11 张广涵 Time-sharing communication system on basis of power grid
US20130334201A1 (en) * 2012-06-19 2013-12-19 Larry Nicholson Portable Spa Monitoring And Control Circuitry
CN103743944A (en) * 2014-01-16 2014-04-23 贵州省计量测试院 Alternating current and direct current voltage true virtual value measurement method capable of automatically identifying type of signal
CN104821806A (en) * 2015-05-12 2015-08-05 广东美的厨房电器制造有限公司 Clock control device and control method thereof
CN105445546A (en) * 2015-12-31 2016-03-30 杭州海兴电力科技股份有限公司 Fiber access type electric energy meter with function of harmonic detection

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN88100030A (en) * 1988-01-12 1988-07-27 潘大金 The digital coding carrier wave is notified from a phone call conversational system
US20060232387A1 (en) * 1995-03-20 2006-10-19 Wheelock Inc. Apparatus and method for synchronizing visual/audible alarm units in an alarm system
CN102571150A (en) * 2011-03-22 2012-07-11 张广涵 Time-sharing communication system on basis of power grid
US20130334201A1 (en) * 2012-06-19 2013-12-19 Larry Nicholson Portable Spa Monitoring And Control Circuitry
CN103743944A (en) * 2014-01-16 2014-04-23 贵州省计量测试院 Alternating current and direct current voltage true virtual value measurement method capable of automatically identifying type of signal
CN104821806A (en) * 2015-05-12 2015-08-05 广东美的厨房电器制造有限公司 Clock control device and control method thereof
CN105445546A (en) * 2015-12-31 2016-03-30 杭州海兴电力科技股份有限公司 Fiber access type electric energy meter with function of harmonic detection

Also Published As

Publication number Publication date
CN106100946B (en) 2018-09-14

Similar Documents

Publication Publication Date Title
CN106094620A (en) Remote analog amount gathers warning system
CN105931414A (en) Warehouse fire alarm control system
CN105867160B (en) A kind of home furnishings intelligent networked control systems
CN105848370B (en) Household intelligent lamplight control system body
CN106100946A (en) A kind of household electric appliances remote control system
CN106020030A (en) Intelligent control system for catering shop
CN105955050B (en) Home furnishings intelligent networked control systems
CN105955052A (en) Household electric appliance remote control system
CN106054635B (en) Electrical device intelligent control system in cell home services
CN106054986B (en) Crop greenhouse atmosphere control system
CN105955369A (en) Agricultural greenhouse climate control system
CN106228730A (en) A kind of fire alarm control system
CN106054711B (en) Intelligent control system for restaurant
CN105911927B (en) Dormitory intelligent control system
CN105867263B (en) A kind of barber shop's intelligence control system
CN105847100B (en) Mobile phone household intelligent control system
CN106054710B (en) eating house intelligent control system
CN105955222A (en) Household remote intelligence control system
CN106054712B (en) Electrical device intelligent control system in community service
CN106125594B (en) Hotel intelligence control system
CN106092152A (en) A kind of warehouse humiture information acquisition system
CN105955372B (en) Green house of vegetables temperature and humidity control system
CN105955370A (en) Grain warehouse humiture control system
CN106101237A (en) A kind of green house of vegetables temperature and humidity control system
CN106153036A (en) Market shopping guides system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20180427

Address after: 350208 Fujian, Fuzhou, Changle District, Changle Shang Shang Town logistics park furniture hardware market, building 4, 906 shops

Applicant after: Fuzhou alignment Mdt InfoTech Ltd

Address before: 350004 No. 180 Riverside Road, Taijiang District, Fuzhou, Fuzhou, Fujian

Applicant before: Fuzhou Taijiang Chaoren Electronic Co., Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20201104

Address after: 221000 No. 88 Liaohe West Road, Pizhou Economic Development Zone, Xuzhou City, Jiangsu Province

Patentee after: SU Normal University Semiconductor Materials and Equipment Research Institute (Pizhou) Co.,Ltd.

Address before: 350208 Shop No. 4, building materials market, building materials market, Fuzhou, Changle District, Changle District, Changle District

Patentee before: FUZHOU ZHUNDIAN INFORMATION TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20211230

Address after: 221300 506, block B, electronic industrial park, Pizhou Economic Development Zone, Xuzhou City, Jiangsu Province

Patentee after: Xuzhou Bochuang Construction Development Group Co.,Ltd.

Address before: 221000 No.88, Liaohe West Road, Pizhou Economic Development Zone, Xuzhou City, Jiangsu Province

Patentee before: SU Normal University Semiconductor Materials and Equipment Research Institute (Pizhou) Co.,Ltd.

TR01 Transfer of patent right