CN106054712B - Electrical device intelligent control system in community service - Google Patents

Electrical device intelligent control system in community service Download PDF

Info

Publication number
CN106054712B
CN106054712B CN201610448513.8A CN201610448513A CN106054712B CN 106054712 B CN106054712 B CN 106054712B CN 201610448513 A CN201610448513 A CN 201610448513A CN 106054712 B CN106054712 B CN 106054712B
Authority
CN
China
Prior art keywords
cycle
time
voltage
signal
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.)
Active
Application number
CN201610448513.8A
Other languages
Chinese (zh)
Other versions
CN106054712A (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 CN201610448513.8A priority Critical patent/CN106054712B/en
Publication of CN106054712A publication Critical patent/CN106054712A/en
Application granted granted Critical
Publication of CN106054712B publication Critical patent/CN106054712B/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
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • 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/24Pc safety
    • G05B2219/24215Scada supervisory control and data acquisition

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Alarm Systems (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The present invention relates to electrical device intelligent control systems in a kind of community service, using common electric caldron and electric caldron controller, by preset infusion program infusion food, main controller notifies waiter, host computer computer to show that infusion terminates personnel's name by LED screen by babyphone programme-controlled exchange at the end of infusion.

Description

Electrical device intelligent control system in community service
(1) technical field:
The present invention relates to electrical device intelligent control systems in a kind of community service, are controlled using common electric caldron and electric caldron Device, by preset infusion program infusion food, main controller notifies waiter by babyphone programme-controlled exchange at the end of infusion, on The electromechanical brain in position shows that infusion terminates personnel's name by LED screen.
(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:
Electrical device intelligent control system in community service of the present invention, using common electric caldron and electric caldron controller, each electricity boils The panel of pot controller is equipped with 3 to 5 LED modules with different colors, is first numbered before access system.Appliance controller after rigid booting one Section the time, sequentially show different colours different number LED combination (such as:It is red, green, blue, red green, bluish-green, red blue, red green It is blue), each combination is corresponding with the number of number, and when selection shows LED modules with different colors combination, shutdown obtains corresponding number simultaneously It preserves, it is in the number period when can't detect grid cyclic wave signal, and microcontroller will be numbered by the energy storage of its power capacitor Data are stored in nonvolatile storage.Many common electric caldrons are arranged on Community Service Center's desktop, are put food and water into, are sticked After name mark, it can be inserted at any time on the socket of electric caldron controller and choose culinary art pattern and start to endure by preset infusion program Cook product, then main controller input socket number, start the infusion time, need after informant person's telephone number i.e. beginning oneself Dynamic infusion.Main controller also passes through RS232 interface and host computer compunlcation.General infusion food begins with 10 minutes or more temperature Water soak period then has very hot oven, slow fire phase etc., and main controller notifies to service by babyphone programme-controlled exchange at the end of infusion Member, host computer computer show personnel's name by LED screen.Its power supply of the socket of electric caldron controller passes through bidirectional triode thyristor list It is solely connected on power network, and after being isolated by photoelectronic coupler by electric caldron controller, the load for controlling bidirectional triode thyristor is powered Power and time, each electric caldron controller is preset, and there are many operational modes of utility program may be selected, and can use common Electric caldron makes the processes intelligence such as stew, boil, boil in a covered pot over a slow fire, simmer, endure and boil medicine.Cycle Zhen is respectively mounted in main controller and each electric caldron controller Other circuit, communications electronics switch and its switch drive module, the synchronization time for generation system keeps system to keep strokes, real Now power through half wave communication half-wave of power line.Main controller and each electric caldron controller are connected on same electric power cable and are arranged total Switch, isolating diode is followed by master switch.
Communication is to be controlled by synchronization time to keep each electric caldron controller consistent with main controller communication operation.Each electric caldron The switch drive module of the communications electronics of controller and main controller switch is depressured again after electric resistance partial pressure from power line through resistance The ends CLK of d type flip flop, the external interrupt mouth (INT0 or INT1) of the Q termination microcontrollers of d type flip flop are connect, which sets It is set to level triggers.The ends D of d type flip flop are grounded, and the ends S connect with the I/O of microcontroller mouths, and original state S sets 1 in end.When the ends CLK Positive square-wave signal arrive when, rising edge makes d type flip flop set to 0, external interrupt mouth low level generate interruption, interrupt service journey Setting to 0 first the ends S in sequence makes that d type flip flop sets the 1 i.e. ends Q as 1 and the Central Shanxi Plain is disconnected, is then communicated, and communications electronics switch is according to being used Communication mode is connected to microcontroller corresponding port, and carries out signal condition, and S sets at end 1 and makes out under interrupt latency one week before sign off Half wave communication is so realized in the communication of wave in cycles.
Infusion is very time-consuming, and waiter can control a part by telephone network has the infusion process of particular/special requirement.Community A babyphone programme-controlled exchange is installed by service centre, and one of extension number is remotely controlled for infusion.The extension number and refer to It enables the table of comparisons of code and instruction be stored in mobile phone, the methods of screen-lock password is used in combination to prevent the leakage of data of instruction code.It is logical When letter, the number of instruction code is sent from base or mobile phone, interchanger is somebody's turn to do after caller dialing by dual-tone multifrequency decoder After extension set calling telephone number, off-hook is simulated, and keep dual-tone multifrequency reception state, to receive instruction code signal, such as use hand Machine can be sent out:" exchanging telephone number " P " number of instruction code ", wherein the * keys that " P " can pin mobile phone simulating keyboard obtain, Type be to press * keys to obtain for 2-3 times, or instruction code is keyed in again after waiting for the voice prompt of interchanger solidification in the chips, After sign off, interchanger sends the digital signal for receiving instruction code to main controller through interface circuit, is decoded by main controller After execute corresponding operating.
Cycle discriminator circuit of the present invention as shown in Fig. 2, using power network cycle the positive half cycle ascent stage, take three examination points It realizes the identification decision to cycle signal, recycles the cycle time to establish synchronization time, main controller and each electricity boil in realization system The synchronous operation of pot controller.
The cycle identification circuit of main controller and each electric caldron controller is as shown in Fig. 2, by three using hysteresis loop comparator Voltage comparator forms, and includes filter circuit in each voltage comparator, the reference voltage of voltage comparator is by voltage stabilizing electricity Road provides.The input circuit of voltage comparator is the both ends for being connected to mains AC power supply respectively by two dropping resistors, decompression The other end of resistance, parallel connection are connected to diode string, and the number of diode is by maximum in two comparators being arranged in diode string Input voltage is set to determine, each diode drop is 0.7V, and the input terminal of two comparators is connected to diode string both ends, Wherein one end is grounded.
Clock timer and synchrotimer is arranged in system.If detect two adjacent cycle signals be it is true, The clock timer timing time between two adjacent cycle signal zero passages is taken out, cycle time memory cell is sequentially stored in In, which can store 100 cycle times, and a cycle time is often stored in when being filled with, and first remove most The cycle time being first stored in, and calculate the average value Tz of the cycle time of deposit and preserve, differentiated using Tz values to be identified Cycle signal reduces erroneous judgement possibility to reduce the influence of power network frequency fluctuation, while screen point using three.
Three comparators are respectively used to three examination points, that is, screen point 0, screen point 1, screen point 2, as shown in Figure 1.Cycle The positive half cycle ascent stage accounts for 1/4 period of cycle, the total 5ms times screen at the cycle zero passage of cycle positive half cycle ascent stage 0 setting voltage zero-crossing comparator of point, since power network cycle negative half period is rectified diode-isolated, in order to improve accuracy of detection, Voltage zero-crossing comparator signal input part again series diode be isolated negative half period, reference voltage from zero be increased to 10mv to 100mv, depending on the offset voltage of comparator, which can be obtained using diode drop through electric resistance partial pressure.Remaining two A comparator is separately positioned on the cycle positive half cycle ascent stage, the examination point 1 and 50% at 35% to 50% place of crest voltage to Examination point 2 at 70%.
Cycle signal determining:For microcontroller after setting time opens interruption, clock timer resets and starts timing, works as cycle When voltage zero-cross, it is arranged in the output voltage overturning for screening the voltage Zero-cross comparator Qi ﹙ V0 ﹚ of point 0, is generated in its voltage failing edge It interrupts, records its zero crossing break period Th0 and the Central Shanxi Plain is disconnected;Hereafter, electricity pressure comparator ﹙ V1 ﹚ at point 1 are screened in microcontroller scanning Output voltage, when all wave voltages are reached to the threshold voltage of ﹙ V1 ﹚, output voltage is overturn from high to low, when scanning records its overturning Between Th1;Same scanning record screens electricity at point 2 and presses comparator ﹙ V2 ﹚ output voltage flip-flop transition Th2, by Th0 and voltage zero-cross The output voltage flip-flop transition setting value Ts0 of Bi compare Qi ﹙ V0 ﹚ makes comparisons;The output voltage of Th1 and electricity pressure comparator ﹙ V1 ﹚ are overturn Time setting value Ts1 and Th2 makes comparisons respectively with the output voltage flip-flop transition setting value Ts2 of electricity pressure comparator ﹙ V2 ﹚, such as For fruit 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 the clock timer meter between cycle signal zero passage when this cycle signal zero passage and an adjacent preceding discriminator signal are true When time Tzu, it is made comparisons with the average value Tz of cycle time, the cycle if no more than setting cycle time error Tzv Signal is true, at this moment preserves Tzu and 20ms is taken to be added with synchrotimer timing time, the value deposit synchrotimer that will add up In.
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 output voltage overturning of the voltage Zero-cross comparator Qi ﹙ V0 ﹚ of point 0, interrupts to generate, takes out the time T0 of cycle voltage over zero It preserves, clock timer is reset to and started timing, at this moment cycle time voltage crosses zero Th0 is 0, while microcontroller presses above-mentioned side Method scans and judges discriminator signal.What it is due to detection is first cycle, and clock timer is started in cycle voltage zero-cross The value of timing, Th0, Th1 and Th2 must add the difference that cycle time 20ms subtracts out break period setting value Tk, if Three discriminator signals 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 palpus In addition T0, 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 overturning, 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 comparator device ﹙ V0 ﹚ output voltages are not overturn, 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 flip-flop transition 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, since main controller in system and each electricity boil Pot controller, the Tz values and N values of detection may be different, and at this moment, power network frequency accumulated error may cause synchrotimer Time is corrected when can not be by detecting true cycle signal, when it is true to detect cycle signal, using clock timing Clocking value of the device at Tkz is directly added in synchrotimer, to reduce the asynchronous time of system, power network normal operation feelings N is much smaller than 25 under condition.
It generates electricity and is carried out at the same time for electric process, the power that generator is sent out, the work(that is consumed with electrical equipment always Rate keeps balance, when power network frequency drops to certain degree, i.e., carries out frequency modulation by opening the means such as stand-by generator, Frequency is set to restore rapidly, therefore power network frequency fluctuation is very little under normal circumstances.Installed capacity is 3000MW's or more System, frequency tolerance are (50 ± 0.2) Hz, installed capacity in 3000MW systems below, frequency tolerance be (50 ± 0.5)Hz.The above method can greatly improve system rejection to disturbance ability.
The cycle time error Tzv of permission and the flip-flop transition setting value of voltage comparator output voltage are using experiment The week of test data sheet and permission of the software through 100 to 500 voltage comparator output voltages flip-flop transition Th0, Th1 and Th2 Wave time error Tzv test data sheets are assessed respectively takes its average value 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 electrical device intelligent control system in community service.
(5) specific implementation mode:
Fig. 3 is electrical device intelligent control system circuit structure block diagram in community service, including:10 ﹚ of Zhu Kong Qi ﹙, communication electricity 11 ﹚ of sub- Kai Guan ﹙, ﹚, Jie mouthfuls of 16 ﹚ of electricity Lu ﹙ of switch Qu dynamic model Kuai ﹙ 12,17 ﹚ of babyphone Cheng Kong Jiao Huan Ji ﹙, 13 ﹚ of electricity Nao ﹙, cycle Screen 14 ﹚ of electricity Lu ﹙, 15 ﹚ of electric caldron Kong Qi ﹙.Wherein 11 ﹚ of communications electronics Kai Guan ﹙, 12 ﹚ of switch Qu dynamic model Kuai ﹙, cycle are screened Dan Pian Ji ﹙ U0 ﹚ are respectively included in 15 ﹚ and Zhu Kong Qi ﹙ of electric caldron Kong Qi ﹙, 10 ﹚ in 14 ﹚ and Fig. 2 of electricity Lu ﹙.Wherein communicate 11 ﹚ of electricity Kai Guan ﹙ use bidirectional triode thyristor as switch.
Fig. 2 is the structural schematic diagram that cycle screens 14 ﹚ 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 15 ﹚ of electric caldron 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.Dan Pian Ji ﹙ U0 ﹚ use 89C55WD, voltage zero-cross Jian survey Mo Kuai ﹙ V0 ﹚, It is to use voltage stabilizing that electricity pressure comparator ﹙ V1 ﹚, electricity pressure comparator ﹙ V2 ﹚, which use dedicated voltage comparator LM339, reference voltage, The regulator circuit of pipe carrys out the threshold voltage of burning voltage 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 16 ﹚ of electricity Lu ﹙ is equipped with I2C serial communication modules, for 10 ﹚ of Zhu Kong Qi ﹙ it Between communicated, EEPRAM is for preserving data.When communication, institute's palpus code is selected from cell-phone function interface, passes through telephone network To babyphone programme-controlled exchange transmission data, after main controller receives relevant character string, it is translated into corresponding function.

Claims (2)

1. electrical device intelligent control system in community service, characterized in that the panel of each electric caldron controller is equipped with 3 to 5 differences Color LED is first numbered before access system, and a period of time of appliance controller after rigid booting, selection shows LED modules with different colors group When conjunction, shutdown obtains corresponding number and preserves, and is that the energy storage of the power capacitor after shutdown is non-volatile by the deposit of number data In memory;Many common electric caldrons are arranged on Community Service Center's desktop, and the socket of electric caldron controller can be inserted at any time On choose culinary art pattern and start infusion food, then in main controller input socket number, the time for starting infusion, need to notify Personnel's telephone number after i.e. start automatic infusion, also by RS232 interface and host computer compunlcation, infusion terminates main controller When main controller waiter is notified by babyphone programme-controlled exchange, host computer computer passes through LED screen and shows personnel's name, electricity The power supply of the socket of saucepan controller is individually connected on power network by bidirectional triode thyristor, reduces interference, and controlled by electric caldron After device is isolated by photoelectronic coupler, load energized power and the time of bidirectional triode thyristor, each electric caldron controller are controlled Preset there are many operational modes of utility program may be selected, and can make to stew, boil, boil in a covered pot over a slow fire, simmer, endure and boil medicine with common electric caldron Process is intelligent, and cycle discriminator circuit, communications electronics switch and its switch are respectively mounted in main controller and each electric caldron controller and is driven Dynamic model block is used for the synchronization time of generation system;
The switch drive module of each electric caldron controller and main controller is to be followed by D through electric resistance partial pressure again from power line through resistance decompression The ends CLK of trigger, the external interrupt mouth of the Q termination microcontrollers of d type flip flop, when the positive square-wave signal at the ends CLK arrives, thereon It rises along making d type flip flop set to 0, external interrupt mouth low level generates interruption, is communicated, and waiter can control one by telephone network Part has the infusion process of particular/special requirement, babyphone programme-controlled exchange, the table of comparisons of extension number and instruction code and instruction It is stored in mobile phone, the number of instruction code is sent from base or mobile phone, interchanger passes the digital signal for receiving instruction code Main controller is given, corresponding operating is executed after being decoded by main controller;
Cycle discriminator circuit is made of three voltage comparators using hysteresis loop comparators, system be arranged clock timer with it is synchronous Timer takes out if detecting that two adjacent cycle signals are true between two adjacent cycle signal zero passages Clock timer timing time, sequentially be stored in cycle time memory cell in, one is often stored in when being filled with 100 cycle time The cycle time first removes the cycle time being stored at first, and calculates the average value Tz of the cycle time of deposit and preserve, Differentiate cycle signal to be identified using Tz values;
At the cycle zero passage of cycle positive half cycle ascent stage, that is, 0 setting voltage zero-crossing comparator of point is screened, is compared in voltage zero-cross Negative half period is isolated in series diode to the signal input part of device again, and reference voltage is 10mv to 100mv, depending on the imbalance electricity of comparator Depending on pressure, which can be obtained using diode drop through electric resistance partial pressure, remaining two comparator is separately positioned on cycle Positive half cycle ascent stage, the examination point 2 of the examination point 1 and 50% to 70% place at 35% to 50% place of crest voltage;
Cycle signal determining process:For microcontroller after setting time opens interruption, clock timer resets and starts timing, works as cycle When voltage zero-cross, it is arranged in the output voltage overturning for screening the voltage Zero-cross comparator Qi ﹙ V0 ﹚ of point 0, is generated in its voltage failing edge It interrupts, records its zero crossing break period Th0 and the Central Shanxi Plain is disconnected;Hereafter, electricity pressure comparator ﹙ V1 ﹚ at point 1 are screened in microcontroller scanning Output voltage, when all wave voltages are reached to the threshold voltage of ﹙ V1 ﹚, output voltage is overturn from high to low, when scanning records its overturning Between Th1;Same scanning record screens electricity at point 2 and presses comparator ﹙ V2 ﹚ output voltage flip-flop transition Th2, if the flip-flop transition Within the scope of allowable error, then the discriminator signal detected is true, is otherwise false, when above-mentioned judgement discriminator signal is true, is calculated 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 break period setting value Tk between 18.5ms When open interruption, 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 in the voltage Zero-cross comparator Qi ﹙ V0 ﹚ for screening point 0 is set Overturning is interrupted to generate, and time T0 for taking out cycle voltage over zero preserves, and clock timer is reset to and started timing, At this moment cycle time voltage crosses zero Th0 is 0, while microcontroller scans and judge that discriminator signal, the value of Th0, Th1 and Th2 are equal The difference of break period setting value Tk must be subtracted open plus cycle time 20ms is next time if three discriminator signals are true Opening the break period takes Tk for the first time, is otherwise fictitious time there are one discriminator signal, at this time the clock timer time must add T0, continue Detection;
When detecting first and second adjacent cycle voltage zero-cross, when judgement cycle signal is true, then take out in opening Clock timer cumulative time T1=T0+Tk when disconnected is stored in as initial time in synchrotimer, opens clock meter after interruption When device reset, otherwise judge cycle signal be fictitious time, at this time the clock timer time must add T1, again detect the first week Wave restores above-described cycle signal determining after it is very to detect first cycle signal;
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, when cycle signal screening is fictitious time, all closing The break period 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 is opened again after resetting Beginning timing, timing is disconnected to Central Shanxi Plain when Tns, to make the synchrotimer time be corrected by cycle time voltage crosses zero,
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 not counting cycle N is 1 and stores, next time It is to open the break period in last time to open interruption after Tz to open the break period, hereafter every time judgement the cycle signal true and false, if false or Though this detection discriminator signal is true but last time is false, then N is taken, will be restored after N+1 in memory, clock timer is opening interruption Continuation timing is not reset afterwards, at this moment, next cycle of setting opens the break period and temporarily uses out break period interim setting value instead 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, the time that point is screened in scanning can be obtained by simple computation, if at this moment detected Cycle signal is true, then takes out in memory N and preserve, and by N zero setting in memory, makes the clock timer clocking value Ts be: (Ts-Tkz) at this moment → Ts takes the value of (N+1) × 20ms to be added in synchrotimer, and restore to use setting value Tks and Tns, Recovered clock timer is 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, selection:The cycle discriminator signal is true when Th0, Th1, Th2 are true or Th0 is Very, when while one of Th1, Th2 are true or when Th1, Th2 are true, which is true, depending on to judgement cycle letter Depending on number true and false difference requires, when N is more than a setting value between 25 to 70, using timing of the clock timer at Tkz Value is directly added in synchrotimer, to reduce the asynchronous time of system.
2. electrical device intelligent control system in community service according to claim 1, it is characterised in that including:
10 ﹚ of Zhu Kong Qi ﹙, 11 ﹚ of communications electronics Kai Guan ﹙, switch Qu dynamic model Kuai ﹙ 12 ﹚, Jie mouthfuls of 16 ﹚ of electricity Lu ﹙, the program-controlled friendships of babyphone 17 ﹚ of Huan Ji ﹙, 13 ﹚ of electricity Nao ﹙, cycle screen 14 ﹚ of electricity Lu ﹙, 15 ﹚ of electric caldron Kong Qi ﹙.Wherein Dan Pian Ji ﹙ U0 ﹚ and communications electronics 11 ﹚ of Kai Guan ﹙, 12 ﹚ of switch Qu dynamic model Kuai ﹙ and cycle screen 14 ﹚ of electricity Lu ﹙ and are respectively included in 15 ﹚ of electric caldron Kong Qi ﹙ and master control In 10 ﹚ of Qi ﹙;
Cycle screens 14 ﹚ of electricity Lu ﹙, by:The roads Shu Ru electricity ﹙ S0 ﹚, voltage Zero-cross comparator device ﹙ V0 ﹚, electricity pressure comparator ﹙ at point 1 is screened V1 ﹚ are constituted with electricity pressure comparator ﹙ V2 ﹚ at point 2 are screened, and the roads Shu Ru electricity ﹙ S0 ﹚ by mains AC voltage for passing through resistance and two The partial pressure of pole pipe is converted to the suitably stable input voltage of voltage comparator;
Microcontroller in Jie mouthfuls of 16 ﹚ of electricity Lu ﹙ is equipped with I2C serial communication modules, for being communicated between 10 ﹚ of Zhu Kong Qi ﹙, EEPRAM is for preserving data.
CN201610448513.8A 2016-06-20 2016-06-20 Electrical device intelligent control system in community service Active CN106054712B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610448513.8A CN106054712B (en) 2016-06-20 2016-06-20 Electrical device intelligent control system in community service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610448513.8A CN106054712B (en) 2016-06-20 2016-06-20 Electrical device intelligent control system in community service

Publications (2)

Publication Number Publication Date
CN106054712A CN106054712A (en) 2016-10-26
CN106054712B true CN106054712B (en) 2018-08-17

Family

ID=57168906

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610448513.8A Active CN106054712B (en) 2016-06-20 2016-06-20 Electrical device intelligent control system in community service

Country Status (1)

Country Link
CN (1) CN106054712B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4361273A (en) * 1981-02-25 1982-11-30 Levine Michael R Electronic humidity control
CN101447847A (en) * 2008-06-19 2009-06-03 张广涵 Method for time base determination of simple and convenient multi-node synchrosystem and system thereof
CN102571150A (en) * 2011-03-22 2012-07-11 张广涵 Time-sharing communication system on basis of power grid
CN203722894U (en) * 2014-03-10 2014-07-16 成都芯源系统有限公司 Driving circuit for lighting system and timing circuit thereof
CN104360144A (en) * 2014-12-08 2015-02-18 广东美的环境电器制造有限公司 Method for determining zero crossing point of alternating current signal and system for determining zero crossing point of alternating current signal
CN104684204A (en) * 2013-10-10 2015-06-03 Zf腓德烈斯哈芬股份公司 Method and control device for operating at least one light source

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10439508B2 (en) * 2010-07-27 2019-10-08 Stmicroelectronics S.R.L. Control device of a switching power supply

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4361273A (en) * 1981-02-25 1982-11-30 Levine Michael R Electronic humidity control
CN101447847A (en) * 2008-06-19 2009-06-03 张广涵 Method for time base determination of simple and convenient multi-node synchrosystem and system thereof
CN102571150A (en) * 2011-03-22 2012-07-11 张广涵 Time-sharing communication system on basis of power grid
CN104684204A (en) * 2013-10-10 2015-06-03 Zf腓德烈斯哈芬股份公司 Method and control device for operating at least one light source
CN203722894U (en) * 2014-03-10 2014-07-16 成都芯源系统有限公司 Driving circuit for lighting system and timing circuit thereof
CN104360144A (en) * 2014-12-08 2015-02-18 广东美的环境电器制造有限公司 Method for determining zero crossing point of alternating current signal and system for determining zero crossing point of alternating current signal

Also Published As

Publication number Publication date
CN106054712A (en) 2016-10-26

Similar Documents

Publication Publication Date Title
CN106094620B (en) Remote analog amount acquires alarm system
CN106054712B (en) Electrical device intelligent control system in community service
CN106054635B (en) Electrical device intelligent control system in cell home services
CN105955050B (en) Home furnishings intelligent networked control systems
CN105867160B (en) A kind of home furnishings intelligent networked control systems
CN105872112B (en) A kind of Traditional Chinese medicine decocting room Telecommunications Control System
CN105847100B (en) Mobile phone household intelligent control system
CN106125594B (en) Hotel intelligence control system
CN105955369B (en) Agricultural greenhouse climate control system
CN106100946B (en) A kind of household electric appliances remote control system
CN106101237B (en) A kind of green house of vegetables temperature and humidity control system
CN106054986B (en) Crop greenhouse atmosphere control system
CN106054711B (en) Intelligent control system for restaurant
CN105955052A (en) Household electric appliance remote control system
CN105867263B (en) A kind of barber shop's intelligence control system
CN105929748B (en) Traditional Chinese medicine decocting room intelligence control system
CN105955372B (en) Green house of vegetables temperature and humidity control system
CN106020030B (en) Eating house intelligence control system
CN105911927B (en) Dormitory intelligent control system
CN106102226B (en) Restaurant LED point light source control system of lamp decoration
CN105955370B (en) Grain depot temperature and humidity control system
CN106054710B (en) eating house intelligent control system
CN105869543B (en) The column LED Chinese character placards of both sides of the road
CN105960060B (en) Park L ED landscape lamp post control system
CN105869538B (en) Road roadside LED Chinese character advertisement placards

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

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

Applicant after: Fuzhou alignment Mdt InfoTech Ltd

Address before: 350004 Jiang Bian Road, Taijiang District, Fuzhou City, 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: 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: 20211224

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.