CN105955050B - Home furnishings intelligent networked control systems - Google Patents

Home furnishings intelligent networked control systems Download PDF

Info

Publication number
CN105955050B
CN105955050B CN201610447668.XA CN201610447668A CN105955050B CN 105955050 B CN105955050 B CN 105955050B CN 201610447668 A CN201610447668 A CN 201610447668A CN 105955050 B CN105955050 B CN 105955050B
Authority
CN
China
Prior art keywords
cycle
time
signal
voltage
wave
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.)
Active
Application number
CN201610447668.XA
Other languages
Chinese (zh)
Other versions
CN105955050A (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 Alignment Mdt Infotech 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 Alignment Mdt Infotech Ltd filed Critical Fuzhou Alignment Mdt Infotech Ltd
Priority to CN201610447668.XA priority Critical patent/CN105955050B/en
Publication of CN105955050A publication Critical patent/CN105955050A/en
Application granted granted Critical
Publication of CN105955050B publication Critical patent/CN105955050B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • 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]
    • 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 home furnishings intelligent networked control systems, including multiple appliance controllers and a main controller.When communication, main controller turns off electronic switch and alternating current is sent into system through isolating diode, and system is in half wave communication and half-wave power supply state of power line.The output of each appliance controller is serially connected on former socket or switch, realizes that it loads the control of energized power and time.Main controller is communicated by telephone network with owner, and owner can remote control household electric appliances equipment.

Description

Home furnishings intelligent networked control systems
(1) technical field:
The present invention relates to home furnishings intelligent networked control systems, including multiple appliance controllers and a main controller.It is main when communication It controls device shutdown electronic switch and alternating current is sent into system through isolating diode, system is in half wave communication and the half-wave power supply of power line State.The output of each appliance controller is serially connected on former socket or switch, realizes that it loads the control of energized power and time System.Main controller is communicated by telephone network with owner, and owner can remote control household electric appliances equipment.
(2) background technology:
The control system of power supply is provided by power network, each electronic equipment or intermodule are communicated by special circuit, The timing time of each electronic equipment or electronic module is corrected, reaches synchronous operation purpose.Due to being made using special circuit communication Wiring complicates and increases cost, if timing time is not corrected by line traffic, due to traditional timing error, runs number After hour, accumulation timing error can make system control action inconsistent, may cause system crash, and at some, often change is set Meter, its products application of the big occasion of wiring installation amount are restricted.
(3) invention content:
The present invention relates to home furnishings intelligent networked control systems, and it includes multiple appliance controllers and a main controller.Household is total Miniature circuit breaker is switched comprising multichannel independent air on switchboard, it is that guide tracked installation and presser type wiring reconfiguration are convenient, often One air switch controls electric appliance load all the way, such as socket, illumination are electric appliance load etc. all the way, select a sky as needed Air cock, installs an electronic switch after air switch, the electronic switch parallel connection isolating diode, when communication, main controller Shutdown electronic switch simultaneously connects its communications electronics switch, alternating current is sent into system through isolating diode, system is in power line Half wave communication and half-wave power supply state.The output of each appliance controller is serially connected with former socket through Phototube Coupling and bidirectional triode thyristor Or in switching circuit, realize that it loads the control of energized power and time, and change design conveniently, without broken wall paper line, electricity Preset optimization is stewed, is boiled, boiling in a covered pot over a slow fire, simmering, enduring, boils medicine and the utility programs such as electric fan natural wind in device controller, common electric food warmer, Electric frying pan, medicine decocting tank, electric fan and headlamp etc. are inserted into any one described socket, input above procedure pattern, just make above-mentioned Ordinary appliances intelligence is run;Main controller is communicated by telephone network with owner, and owner can remote control household electric appliances equipment.Master control It is respectively mounted cycle discriminator circuit in device and each appliance controller, the synchronization time for generation system keeps system to keep strokes, One communications electronics switch, switch drive module are respectively installed in its telecommunication circuit simultaneously.Main controller is in setting time or reception When the telephone communication instruction arrived, that is, execute the switching action from all-wave to half-wave.When each appliance controller is logical in the half-wave of setting The letter time or and detect that power network is isolated the half-wave of diode blocking when not having signal, that is, cut off its electric appliance load power supply, Then communications electronics switch is connected;Conversely, when being switched to all-wave from half-wave, main controller, which is first sent to each appliance controller, to be switched Instruction, shutdown communications electronics switch.
Appliance controller panel fills the LED light of 3-5 different colours, when one section after offline individually just booting is specific Between when being displayed in red, shutdown is switched on again into numbering, and panel is sequentially shown 1 time or 2 LED modules with different colors lamps are one group Close (such as be for the 1st time or the 2nd time:Red, green, blue, red green, bluish-green, red indigo plant, RGB etc. one of them), be shown as one 2 times When combination, at 1-2 seconds, the end combined as one according to the preset dead time of display identified the 1st display time control, Each combination is corresponding with the number of number, which is affixed on panel.One combination shutdown of selection, obtains combining phase with this Corresponding unique number simultaneously preserves, labeling know, it be in the number period when can't detect grid cyclic wave signal, microcontroller according to Number data are stored in nonvolatile storage by the energy storage by its power capacitor.The numbering is easily changed number number, Not by erosions such as dust, water droplets, securely and reliably.
The switch drive module of communications electronics switch is to divide two-way after resistance is depressured from electric power cable, is used for each electricity all the way Device controller, it is connected to the single-chip processor i/o mouth of each appliance controller through reversal connection diode, negative to cycle in clock timer timing When half-wave, the I/O mouthfuls is scanned, if being in half-wave communications status without signal, that is, system;Another way is used for main controller and each electricity Device controller, therebetween communication are controlled by synchronization time to be kept for action long-term consistent, and it is further which connects diode After the negative half-wave of cycle is isolated, it is connected to comparator input terminal, reference voltage is 100Mv to 200Mv, is passed through using diode drop Electric resistance partial pressure obtains, therefore the output end of comparator is square-wave signal, it produces corresponding electricity after the diode rectification just connect Power net week wave bears the positive square-wave signal of half-wave, is connected to the I/O mouths of microcontroller, communication is executed when microcontroller scanning is to positive square-wave signal Operation, which is additionally operable to driving communications electronics switch, therefore communications electronics switch is turned off in cycle positive half-wave, week Wave is connected when bearing half-wave.Communications electronics switch is connected to microcontroller corresponding port according to used communication mode, and carries out signal condition, When sign off under main controller control, make driving circuit shutdown communications electronics switch.
Household need to install a babyphone programme-controlled exchange, and one of extension number is remotely controlled for household electric appliances.It should Extension number and instruction code and the table of comparisons of instruction are stored in mobile phone, and the methods of screen-lock password is used in combination to prevent the number of instruction code According to divulging a secret.When communication, owner sends the number of instruction code from base or mobile phone, and interchanger is after caller dialing by dual-tone multifrequency After decoder obtains the extension set calling telephone number, off-hook is simulated, and keep dual-tone multifrequency reception state, to receive instruction code Signal can such as be sent out with mobile phone:" exchanging telephone number " P " number of instruction code ", wherein " P " can pin mobile phone simulating keyboard * keys obtain, loom be to press * keys to obtain for 2-3 times, or key in again after waiting for the voice prompt of interchanger solidification in the chips Instruction code, after sign off, interchanger sends the digital signal for receiving instruction code to main controller through interface circuit, by leading Corresponding operating is executed after control device decoding.
The present invention utilizes the positive half cycle ascent stage of power network cycle, takes three to screen point and realize and sentences to the identification of cycle signal It is fixed, recycle the cycle time to establish synchronization time, the synchronous operation of main controller and each appliance controller in realization system.
The cycle discriminator circuit structural schematic diagram of main controller and each appliance controller by two as shown in Fig. 2, use hysteresis The voltage comparator of comparator forms, and includes filter circuit, the reference voltage of voltage comparator in each voltage comparator It is provided by regulator circuit.Clock timer and synchrotimer is arranged in system.If detecting that two adjacent cycle signals are equal It is true, then takes out the clock timer timing time between two adjacent cycle signal zero passages, is sequentially stored in the cycle time In storage unit, which can store 100 cycle times, a cycle time is often stored in when being filled with, The cycle time being stored at first is first removed, and calculates the average value Tz of the cycle time of deposit and preserves, is reflected using Tz values Cycle signal not to be identified reduces erroneous judgement possibility to reduce the influence of power network frequency fluctuation, while screen point using three.
Two comparators are respectively used to screen point 1, screen point 2, as shown in Figure 1.In the cycle of cycle positive half cycle ascent stage At zero passage, that is, screen point 0 setting a voltage zero-cross detection module, it using cycle positive half-wave signal through electric resistance partial pressure, diode into The clock end CLK of feeding d type flip flop after negative half period, signal condition is isolated in one step, and the Q of d type flip flop terminates microcontroller external interrupt Mouthful, which is arranged to level triggers, the ends the D ground connection of d type flip flop, and S terminates single-chip processor i/o mouth, usually sets for the I/O mouthfuls 1.When cycle positive half-wave zero cross signal arrives, cycle signal rising edge immediately after makes the ends d type flip flop Q be 0, outside microcontroller Fracture low level in portion is interrupted to generate, is executed instruction in interrupt service routine:Described I/O mouthfuls set to 0, the Central Shanxi Plain is disconnected, meter When, described I/O mouthfuls set 1, open interruption.Remaining two comparator is separately positioned on the cycle positive half cycle ascent stage, crest voltage The examination point 2 of the examination point 1 and 50% to 70% place at 35% to 50% place.
Cycle signal determining:For microcontroller after setting time opens interruption, clock timer resets and starts timing, works as cycle When voltage zero-cross, the output voltage jump that the d type flip flop in the voltage zero-cross inspection survey mould block ﹙ V0 ﹚ for screening point 0 is arranged becomes zero, and produces It is raw to interrupt, record its zero crossing break period Th0;Hereafter, the output electricity of electricity pressure comparator ﹙ V1 ﹚ at point 1 is screened in microcontroller scanning Pressure, when all wave voltages are reached to the threshold voltage of ﹙ V1 ﹚, output voltage saltus step from high to low, scanning records its bound-time Th1; Same scanning record screens electricity at point 2 and presses comparator ﹙ V2 ﹚ output voltage bound-time Th2, and Th0 and voltage zero-cross are detected mould The output voltage bound-time setting value Ts0 of Kuai ﹙ V0 ﹚ makes comparisons;The output voltage bound-time of Th1 and electricity pressure comparator ﹙ V1 ﹚ Setting value Ts1 and Th2 makes comparisons respectively with the output voltage bound-time setting value Ts2 of electricity pressure comparator ﹙ V2 ﹚, if Within the scope of allowable error, then the discriminator signal detected is true, is otherwise false.When above-mentioned judgement discriminator signal is true, calculate When clock timer timing between cycle signal zero passage when this cycle signal zero passage and an adjacent preceding discriminator signal are true Between Tzu, it is made comparisons with the average value Tz of cycle time, the cycle signal if no more than setting cycle time error Tzv It is true, at this moment preserves Tzu and 20ms is taken to be added with synchrotimer timing time, in the value deposit synchrotimer that will add up.
When clock timer starts timing with cycle voltage zero-cross, then timing to 16ms opens the break period between 18.5ms Open interruption when setting value Tk, clock timer timing to 25ms is disconnected to Central Shanxi Plain when pass break period setting value Tn between 27ms.
After system boot, clock timer starts timing, and when detecting first cycle voltage zero-cross, setting is being screened The voltage zero-cross Jian of point 0 surveys the output voltage saltus step of Mo Kuai ﹙ V0 ﹚, is interrupted to generate, and takes out the time of cycle voltage over zero T0 is preserved, and clock timer is reset to and started timing, and at this moment cycle time voltage crosses zero Th0 is 0, while microcontroller is by above-mentioned Method scans and judges discriminator signal.What it is due to detection is first cycle, and clock timer is opened in cycle voltage zero-cross The value of beginning timing, Th0, Th1 and Th2 must add the difference that cycle time 20ms subtracts out break period setting value Tk, such as Three discriminator signals of fruit are true, and i.e. opening the break period for the first time takes Tk next time.Otherwise it is fictitious time, at this time clock timer time T0 must be added, continues to detect.
When detecting first and second adjacent cycle voltage zero-cross, due to not preserving the cycle time of detection, Therefore the clock timer timing time twice between cycle signal zero passage is made comparisons with cycle time 20ms, judges cycle signal When being true, then takes out clock timer cumulative time T1=T0+Tk when opening interruption and be stored in synchrotimer as initial time In, open interruption after clock timer reset, otherwise judge cycle signal be fictitious time, at this time the clock timer time must add T1, Continue to detect first cycle again as stated above.After it is very to detect first cycle signal, restore above-described week Wave signal determining.
As shown in Figure 1, if detecting that cycle signal is false, the break period is opened next time and opens the break period at this Afterwards, open interruptions when average value Tz through the cycle time that is delayed, and open interrupt after be delayed Tns when the Central Shanxi Plain it is disconnected, when the setting Central Shanxi Plain is broken Between be when cycle signal screen point 0 when do not generate interruption, at this moment must be in the setting time point more than Ts0 allowable error ranges Start to scan, and when scanning examination point 1 and examination point 2, voltage comparator output voltage does not generate saltus step, all breaks in the Central Shanxi Plain The time Tns Central Shanxi Plain is disconnected and stops scanning, and Tns is:
Tns=Tn-Tk
If detecting that cycle signal is true, next cycle opens 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 that timing opens interruption to Tks, and weight after resetting New to start timing, timing is disconnected to Central Shanxi Plain when Tns, to make the synchrotimer time be corrected by cycle time voltage crosses zero.
It repeats the above process.If the upper cycle signal detected is true, when this cycle judges, discriminator signal is Vacation, or the cycle time detected is more than setting cycle time error Tzv or clock meter compared with the average value Tz of cycle time When device timing to close break period setting value Tns when, voltage zero-cross inspection survey the non-saltus step of mould block ﹙ V0 ﹚ output voltages, in not generating Disconnected, then when clock timer timing is to Tns, the Central Shanxi Plain is disconnected, at this moment remembers that not counting cycle N is 1 and stores, when opening interruption next time Between be to open the break period in last time to open interruption after Tz, hereafter every time judgement the cycle signal true and false, if false or this detection Though discriminator signal is true but last time is false, then N is taken, will be restored after N+1 in memory, clock timer is not reset after opening interruption Continue timing, at this moment, next cycle of setting opens the break period and temporarily uses out break period interim setting value Tkz instead:
Tkz=(N+1) × Tz
Meanwhile next cycle closes break period temporary use instead and closes break period interim setting value Tnz:
Tnz=Tkz+Tns
When clock timer to after Tkz, the time that point is screened in scanning can be obtained by simple computation.If at this moment examined It is true to measure cycle signal, then takes out N in memory and preserve, and by N zero setting in memory, make clock timer clocking value Ts For:(Ts-Tkz) at this moment → Ts takes the value of (N+1) × 20ms to be added in synchrotimer, and restore using setting value Tks with Tns, recovered clock timer are reset after opening interruption.
The system synchronization time is the time of synchrotimer, along with current just in the time of the clock timer of timing.
When the point signal true and false is screened in judgement, Th0, Th1, Th2 are by being set with voltage comparator output voltage bound-time Definite value Ts0, Ts1, Ts2 make comparisons see it is whether overproof, come judge screen point a signal true and false, can select:Th0, Th1, Th2 are The cycle discriminator signal is true when true or Th0 is true, while when one of Th1, Th2 are true or when Th1, Th2 are true, should Cycle discriminator signal is true, depending on requiring judgement cycle signal true and false difference.
If system fault, when N is more than a setting value between 25 to 70, due to main controller in system and each electric appliance Controller, the Tz values and N values of detection may be different, at this moment, power network frequency accumulated error, when may cause synchrotimer Between corrected when can not be by detecting true cycle signal, when it is true to detect cycle signal, using clock timer Clocking value at Tkz is directly added in synchrotimer, to reduce the asynchronous time of system, power network normal operation situation Lower N is much smaller than 25.
The cycle time error Tzv of permission and the flip-flop transition setting value of voltage comparator output voltage, by test assessment Its average value is taken to obtain.
(4) it illustrates:
Fig. 1 is that cycle screens data relationship schematic diagram;
Fig. 2 is cycle discriminator circuit structural schematic diagram;
Fig. 3 is the circuit structure block diagram of home furnishings intelligent networked control systems.
(5) specific implementation mode:
Fig. 3 is that home intelligence control system circuit block diagram includes:10 ﹚ of Zhu Kong Qi ﹙, communications electronics Kai Guan ﹙ 11 ﹚, switch Qu dynamic model Kuai ﹙ 12 ﹚, Jie mouthfuls of 14 ﹚, electricity device She Bei ﹙ of electricity Lu ﹙ 13 ﹚, electricity words Cheng Kong Jiao Huan Ji ﹙, 15 ﹚, cycles screen electricity 16 ﹚, electricity device Kong Qi ﹙ of Lu ﹙, 17 ﹚, 18 ﹚ of electricity Kai Guan ﹙.Wherein 11 ﹚ of communications electronics Kai Guan ﹙, 12 ﹚ of switch Qu dynamic model Kuai ﹙, cycle Dan Pian Ji ﹙ U0 ﹚ in 16 ﹚ and Fig. 2 of electricity Lu ﹙ are screened respectively to be included in 17 ﹚ and Zhu Kong Qi ﹙ of electricity device Kong Qi ﹙, 10 ﹚.Electronic cutting 18 ﹚ of Guan ﹙, 11 ﹚ of communications electronics Kai Guan ﹙ use bidirectional triode thyristor as switch, and 15 ﹚ of electricity device She Bei ﹙, which refer to, to be connected in switching circuit Original electric appliance.
Fig. 2 is the structural schematic diagram that cycle screens 16 ﹚ of electricity Lu ﹙, by:Shu enters electricity Lu ﹙ S0 ﹚, voltage zero-cross Jian surveys Mo Kuai ﹙ V0 ﹚, electricity pressure comparator ﹙ V1 ﹚ and electricity pressure comparator ﹙ V2 ﹚ are constituted.Dan Pian Ji ﹙ U0 ﹚ refer to each 17 ﹚ of electricity devices Kong Qi ﹙ and master control Microcontroller in 10 ﹚ of Qi ﹙.Shu enters electricity Lu ﹙ S0 ﹚ for the partial pressure by mains AC voltage by resistance and diode, conversion For the input voltage that voltage comparator is suitably stable.Single piece machine ﹙ U0 ﹚ use 89C55WD, electricity pressure comparator ﹙ V1 ﹚, voltage ratio Compare Qi ﹙ V2 ﹚ use dedicated voltage comparator LM339, and reference voltage is to stablize electricity using the regulator circuit of voltage-stabiliser tube Press the threshold voltage of comparator.
When mains AC voltage cycle signal zero passage, voltage zero-cross Jian surveys the output voltage saltus step of Mo Kuai ﹙ V0 ﹚, single Pian Ji ﹙ U0 ﹚ generate interruption, record the break period, while Dan Pian Ji ﹙ U0 ﹚ are additionally operable to scanning voltage Bi compare Qi ﹙ V1 ﹚ and voltage ratio The output voltage of compare Qi ﹙ V2 ﹚, records bound-time, for judging power network cycle signal to produce when output voltage saltus step Raw synchronization time.
Microprocessor AT89C2051 in Jie mouthfuls of 13 ﹚ of electricity Lu ﹙ is equipped with I2C serial communication modules, between main controller into Row communication, EEPRAM is for preserving data.When communication, from cell-phone function interface select institute must a code, by telephone network to small Type telephone exchanger transmission data is translated into corresponding function and carries out after main controller receives relevant character string Control or communication.

Claims (2)

1. a kind of home furnishings intelligent networked control systems, characterized in that install an electronic switch, the electronic cutting after air switch Close isolating diode in parallel, when communication, main controller shutdown electronic switch simultaneously connects its communications electronics switch, by alternating current through isolation two Pole pipe is sent into system, and system is in half wave communication and half-wave power supply state of power line, and the output of each appliance controller is gone here and there It is connected on former socket or switch, realizes that it loads the control of energized power and time, the reality of preset optimization in appliance controller With program, common electric food warmer, electric frying pan, medicine decocting tank, electric fan and headlamp are inserted into any one socket, input above procedure Pattern just runs above-mentioned ordinary appliances intelligence, is respectively mounted cycle discriminator circuit in main controller and each appliance controller, is used for The synchronization time of generation system, while communications electronics switch, a switch drive module, each electric appliance being respectively installed in telecommunication circuit Controller is cut off when the half-wave call duration time of setting detects that the half-wave that power network is isolated diode blocking does not have signal Then its electric appliance load power supply connects communications electronics switch;
Appliance controller panel fills the LED light of 3-5 different colours, and when just booting specific time is displayed in red, shutdown is opened again Machine enters numbering, sequentially shows 1 time or 2 LED modules with different colors lamps are a combination, the 1st display time control is in 1-2 Second, the end combined as one according to the preset dead time of display identifies, selects a combination shutdown, obtains combining phase with this Corresponding number simultaneously preserves, and in the number period when can't detect grid cyclic wave signal, microcontroller relies on the storage of its power capacitor Number data can be stored in nonvolatile storage;
Switch drive module is to divide two-way after resistance is depressured from electric power cable, is used for each appliance controller all the way, negative through cycle The diode of the reversal connection of half-wave conducting is connected to the single-chip processor i/o mouth of each appliance controller, negative to cycle in clock timer timing When half-wave, the I/O mouthfuls is scanned, if being in half-wave communications status without signal, that is, system;Another way is used for main controller and each electricity Device controller is connected to comparator after the negative half-wave of cycle is further isolated in the diode just connect that the road is connected through cycle positive half-wave Input terminal, reference voltage are 100Mv to 200Mv, are obtained through electric resistance partial pressure using diode drop, therefore comparator is defeated Outlet is square-wave signal, and corresponding power network cycle is produced after the rectifier diode of cycle positive half-wave conducting just connect and bears half-wave Positive square-wave signal, be connected to the I/O mouths of microcontroller, execute traffic operation when microcontroller scanning is to positive square-wave signal, the positive square wave Signal is additionally operable to driving communications electronics switch;
Babyphone programme-controlled exchange extension number and instruction code and the table of comparisons of instruction are stored in mobile phone, owner from base or Mobile phone sends the number of instruction code, and interchanger sends the digital signal for receiving instruction code to main controller through interface circuit, Corresponding operating is executed after being decoded by main controller;
Cycle discriminator circuit is the positive half cycle ascent stage using power network cycle, takes three to screen knowledge of the point realization to cycle signal Do not judge, recycle the cycle time to establish synchronization time, clock timer and synchrotimer is arranged in system, if detecting phase Two adjacent cycle signals are true, then take out the clock timer timing time between two adjacent cycle signal zero passages That is the cycle time is sequentially stored in cycle time memory cell, when being filled with 100 cycle time, is often stored in a cycle time, The cycle time being stored at first is first removed, and calculates the average value Tz of the cycle time of deposit, is waited for using the discriminating of Tz values Identify cycle signal;
Two comparators are respectively used to screen point 1, screen point 2, at the cycle zero passage of cycle positive half cycle ascent stage, that is, screen a little Negative half period, signal tune is further isolated through electric resistance partial pressure, diode in 0 setting voltage zero-cross detection module, cycle positive half-wave signal The clock end CLK of d type flip flop is sent into after reason, when cycle positive half-wave zero cross signal arrives, cycle signal immediately after rises Along making the ends d type flip flop Q be 0, microcontroller external interrupt mouth low level is interrupted to generate, and two comparators are separately positioned on week The examination of the examination point 1 at 35% to 50% place of the crest voltage of wave positive half cycle ascent stage and 50% to 70% place of crest voltage Point 2;
Cycle signal determining process:For microcontroller after setting time opens interruption, clock timer resets and starts timing, works as cycle When voltage zero-cross, the output voltage jump that the d type flip flop in the voltage zero-cross detection module for screening point 0 is arranged becomes zero, in generation It is disconnected, record its zero crossing break period Th0;Hereafter, the output electricity of first voltage Bi compare Qi ﹙ V1 ﹚ at point 1 is screened in microcontroller scanning Pressure, when all wave voltages reach first voltage than threshold voltage compared with device ﹙ V1 ﹚, output voltage saltus step from high to low, scanning record Its bound-time Th1;Same scanning record screens second voltage Bi compare Qi ﹙ V2 ﹚ output voltage bound-time Th2 at point 2, if For the bound-time Th1 and Th2 within the scope of allowable error, then the discriminator signal detected is true, is otherwise false, above-mentioned judgement When discriminator signal is true, calculate between cycle signal zero passage when this cycle signal zero passage and an adjacent preceding discriminator signal are true Clock timer timing time Tzu, it is made comparisons with the average value Tz of cycle time, if no more than setting the cycle time Then cycle signal is true to error Tzv, at this moment preserves Tzu and 20ms is taken to be added with synchrotimer timing time, the value that will add up It is stored in synchrotimer;
When clock timer starts timing with cycle voltage zero-cross, then timing to 16ms opens break period setting between 18.5ms Open interruption when value Tk, clock timer timing to 25ms is disconnected to Central Shanxi Plain when pass break period setting value Tn between 27ms;
When detecting first cycle voltage zero-cross, the output voltage being arranged in the voltage zero-cross detection module for screening point 0 is jumped Becoming, is interrupted to generate, time T0 for taking out cycle voltage over zero preserves, and clock timer is reset to and started timing, this Shi Zhoubo time voltage crosses zeros Th0 is 0, and microcontroller scans and judge that discriminator signal, the value of Th0, Th1 and Th2 must add The cycle time, 20ms subtracted out the difference of break period setting value Tk, if three discriminator signals are true, detected cycle next time The break period of opening of voltage over zero takes Tk, is otherwise fictitious time, at this time the clock timer time must add T0, continue to detect;
When it is true to detect first and second adjacent cycle voltage zero-cross, judgement cycle signal, then takes out and open interruption When clock timer cumulative time T1=T0+Tk as initial time be stored in synchrotimer in, open interruption after clock timing Device reset, otherwise judge cycle signal be fictitious time, at this time the clock timer time must add T1, again detect first cycle, After it is very to detect first cycle signal, restore above-described cycle signal determining;
If detecting that cycle signal is false, the break period is opened next time after this opens the break period, when through delay cycle Between average value Tz when open interruption, and open interrupt after be delayed Tns when the Central Shanxi Plain it is disconnected, it is when cycle signal is discriminated that the break period is closed in setting Not Wei fictitious time, the break period Tns Central Shanxi Plain is disconnected and stop scanning, and Tns is closing:
Tns=Tn-Tk
If detecting that cycle signal is true, next cycle opens 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 that timing opens interruption to Tks, and is opened again after resetting Beginning timing, timing are disconnected to Central Shanxi Plain when Tns;
Above-mentioned cycle signal determining process is repeated, if the upper cycle signal detected is true, when this cycle judges, is discriminated Level signal is false, then when clock timer timing is to Tns, the Central Shanxi Plain is disconnected, at this moment remembers that cycle N is 1 and stores, open next time in The disconnected time is to open the break period in last time to open interruption after Tz, if hereafter the judgement cycle signal true and false remains as vacation every time, Though or this detection discriminator signal is true but last time is false, then takes out stored N, and will be restored in the storage of storage N after N+1 In device, clock timer does not reset continuation timing after opening interruption, and at this moment, next cycle of setting is opened the break period and temporarily used instead Open break period interim setting value Tkz:
Tkz=(N+1) × Tz
Meanwhile next cycle closes break period temporary use instead and closes break period interim setting value Tnz:
Tnz=Tkz+Tns
When clock timer to after Tkz, if at this moment detecting that cycle signal is true, takes out N in memory and preserve, and By N zero setting in memory, the clock timer clocking value Ts is set to be:First calculate Ts-Tkz again with results modification Ts values are calculated, at this moment It takes the value of (N+1) × 20ms to be added in synchrotimer, and restores that setting value Tks and Tns, recovered clock timer is used to open It is reset after interruption;
The system synchronization time is the time of synchrotimer, along with current just in the time of the clock timer of timing;
And it selects:Cycle discriminator signal is true when Th0, Th1, Th2 are true or Th0 is true, while one of Th1, Th2 are When true or when Th1, Th2 are true, cycle discriminator signal is true, if N is more than a setting value between 25 to 70, is used Clocking value of the clock timer at Tkz is directly added in synchrotimer.
2. home furnishings intelligent networked control systems according to claim 1, it is characterised in that including:
﹚, Jie mouthfuls of 10 ﹚ of Zhu Kong Qi ﹙, 11 ﹚ of communications electronics Kai Guan ﹙, switch Qu dynamic model Kuai ﹙ 12 electricity Lu ﹙ 13 ﹚, electricity words Cheng Kong Jiao Huan Ji ﹙ 14 ﹚, cycle screen 16 ﹚, electricity device Kong Qi ﹙ of electricity Lu ﹙, 17 ﹚, 18 ﹚ of electricity Kai Guan ﹙, and wherein Dan Pian Ji ﹙ U0 ﹚ and communications electronics are opened 11 ﹚ of Guan ﹙, 12 ﹚ of switch Qu dynamic model Kuai ﹙ and cycle screen 16 ﹚ of electricity Lu ﹙ and are respectively included in 17 ﹚ and Zhu Kong Qi ﹙ of electricity device Kong Qi ﹙ In 10 ﹚;
Cycle screen 16 ﹚ of electricity Lu ﹙ by:Shu enters electricity Lu ﹙ S0 ﹚, voltage zero-cross Jian surveys Mo Kuai ﹙ V0 ﹚, screens first voltage ratio at point 1 Compare Qi ﹙ V1 ﹚ are constituted with second voltage Bi compare Qi ﹙ V2 ﹚ at point 2 are screened, and Shu enters electricity Lu ﹙ S0 ﹚ for leading to mains AC voltage The partial pressure for crossing resistance and diode is converted to the suitably stable input voltage of voltage comparator;
Microcontroller in Jie mouthfuls of 13 ﹚ of electricity Lu ﹙ is equipped with I2C serial communication modules, for being communicated between main controller, EEPRAM is for preserving data.
CN201610447668.XA 2016-06-20 2016-06-20 Home furnishings intelligent networked control systems Active CN105955050B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610447668.XA CN105955050B (en) 2016-06-20 2016-06-20 Home furnishings intelligent networked control systems

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610447668.XA CN105955050B (en) 2016-06-20 2016-06-20 Home furnishings intelligent networked control systems

Publications (2)

Publication Number Publication Date
CN105955050A CN105955050A (en) 2016-09-21
CN105955050B true CN105955050B (en) 2018-10-02

Family

ID=56906054

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610447668.XA Active CN105955050B (en) 2016-06-20 2016-06-20 Home furnishings intelligent networked control systems

Country Status (1)

Country Link
CN (1) CN105955050B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107943640B (en) * 2017-11-15 2023-08-08 中国科学技术大学 Automatic daisy chain based single-ring JTAG backboard test bus circuit

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0853368A2 (en) * 1996-12-03 1998-07-15 Kabushiki Kaisha Toshiba Electric power control system
CN102571150A (en) * 2011-03-22 2012-07-11 张广涵 Time-sharing communication system on basis of power grid
CN203554737U (en) * 2013-09-29 2014-04-16 刘付光 Color-temperature adjustable LED lamp
CN104684204A (en) * 2013-10-10 2015-06-03 Zf腓德烈斯哈芬股份公司 Method and control device for operating at least one light source
CN104821806A (en) * 2015-05-12 2015-08-05 广东美的厨房电器制造有限公司 Clock control device and control method thereof
CN105490262A (en) * 2016-01-15 2016-04-13 史晓平 System and method for load monitoring of smart home

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0853368A2 (en) * 1996-12-03 1998-07-15 Kabushiki Kaisha Toshiba Electric power control system
CN102571150A (en) * 2011-03-22 2012-07-11 张广涵 Time-sharing communication system on basis of power grid
CN203554737U (en) * 2013-09-29 2014-04-16 刘付光 Color-temperature adjustable LED lamp
CN104684204A (en) * 2013-10-10 2015-06-03 Zf腓德烈斯哈芬股份公司 Method and control device for operating at least one light source
CN104821806A (en) * 2015-05-12 2015-08-05 广东美的厨房电器制造有限公司 Clock control device and control method thereof
CN105490262A (en) * 2016-01-15 2016-04-13 史晓平 System and method for load monitoring of smart home

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
单片机在交流接触器触头参数测试中的应用;张金木;《工业仪表与自动化装置》;19890829;第54-55页 *
家用智能控制器;张金木;《家用电器》;19991115;第17页 *

Also Published As

Publication number Publication date
CN105955050A (en) 2016-09-21

Similar Documents

Publication Publication Date Title
CN106094620B (en) Remote analog amount acquires alarm system
CN105955050B (en) Home furnishings intelligent networked control systems
CN105931414B (en) A kind of Warehouse Fire alarm control system
CN106054635B (en) Electrical device intelligent control system in cell home services
CN105847100B (en) Mobile phone household intelligent control system
CN105848370B (en) Household intelligent lamplight control system body
CN105867160B (en) A kind of home furnishings intelligent networked control systems
CN106020030B (en) Eating house intelligence control system
CN106125594B (en) Hotel intelligence control system
CN106100946B (en) A kind of household electric appliances remote control system
CN106054711B (en) Intelligent control system for restaurant
CN105867263B (en) A kind of barber shop's intelligence control system
CN105955369B (en) Agricultural greenhouse climate control system
CN105955372B (en) Green house of vegetables temperature and humidity control system
CN105955052A (en) Household electric appliance remote control system
CN106054712B (en) Electrical device intelligent control system in community service
CN106054986B (en) Crop greenhouse atmosphere control system
CN106054710B (en) eating house intelligent control system
CN105911927B (en) Dormitory intelligent control system
CN106101237B (en) A kind of green house of vegetables temperature and humidity control system
CN105955370B (en) Grain depot temperature and humidity control system
CN106102226B (en) Restaurant LED point light source control system of lamp decoration
CN105929748B (en) Traditional Chinese medicine decocting room intelligence control system
CN106102225B (en) Bridge guardrail pipe control system of lamp decoration
CN105872112A (en) Remote communication control system for traditional Chinese medicine decoction room

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
TA01 Transfer of patent application right

Effective date of registration: 20180425

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 Jiang Bian Road, Taijiang District, Fuzhou, Fujian Province, No. 180

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

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

Effective date of registration: 20201106

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: 20211229

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.