CN107885116A - A kind of intelligent switch system and its control method - Google Patents

A kind of intelligent switch system and its control method Download PDF

Info

Publication number
CN107885116A
CN107885116A CN201711093588.XA CN201711093588A CN107885116A CN 107885116 A CN107885116 A CN 107885116A CN 201711093588 A CN201711093588 A CN 201711093588A CN 107885116 A CN107885116 A CN 107885116A
Authority
CN
China
Prior art keywords
fuzzy
control
mrow
switch
chip microcomputer
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
CN201711093588.XA
Other languages
Chinese (zh)
Other versions
CN107885116B (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.)
CHINA HIGHWAY ENGINEERING CONSULTING GROUP Co Ltd
CHECC Data Co Ltd
Original Assignee
Changan University
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 Changan University filed Critical Changan University
Priority to CN201711093588.XA priority Critical patent/CN107885116B/en
Publication of CN107885116A publication Critical patent/CN107885116A/en
Application granted granted Critical
Publication of CN107885116B publication Critical patent/CN107885116B/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
    • G05B19/0428Safety, monitoring
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
    • 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

A kind of intelligent switch system and its control method, switching system include the wireless interaction module for being respectively arranged at user operating side and executing agency end, the wireless interaction module connection single-chip microcomputer at executing agency end;Executing agency end also includes switch executive mechanism, singly opens double control switch and by the various control objects for singly opening double control switch control;Described single-chip microcomputer can send control signal by switch executive mechanism to double control switch is singly opened, and single-chip microcomputer is also connected with sound detection module and light detection module;Switch executive mechanism connects household AC power, and household AC power connects the wireless interaction module of single-chip microcomputer and executing agency end by power transfer module respectively.Control method combines fuzzy control process, can according to residing for control object external environment condition sound and light characteristics, realize intelligent automatic adjusument.Present invention utilizes wireless technology to make the control range of switch and extension function be greatly improved, and using simply, easy to operate, cost is low.

Description

A kind of intelligent switch system and its control method
Technical field
The present invention relates to intelligent appliance field, and in particular to a kind of intelligent switch system and its control method.
Background technology
Traditional switch is exactly one and switched simultaneously with normally opened, normally closed two contacts (being a pair), using Mechanical course, system Cause low, but the shortcomings that one very big be present, the installation site for being exactly regular tap is fixed, and people must arrive fixation Position could touch switch.Therefore, people, which investigated, singly opens double control switch, that is, pass through two lists for being arranged on different positions Double control switch is opened to be used for realizing the control to same object, such as illuminator.But this needs extra increase by one singly to open Double control switch, while be also required to additionally lay corresponding control circuit.Make control object although singly opening the appearance of double control switch Controllable position becomes two fixing points by an original fixing point, and controlled range is still limited.It is traditional in recent years Household electrical appliances gradually develop rapidly to technicalization, intelligent household electrical appliances.Meanwhile with the raising of manufacturing process of chip, manufacturing cost Reduce and the development of digitizing technique, intelligent household electrical appliances have begun to step into family.Therefore, a kind of intelligentized switch is developed It is very necessary.
The content of the invention
It is an object of the invention to for above-mentioned the problems of the prior art, there is provided a kind of intelligent switch system and its control Method, control range can not only be expanded, and use simple, easy to operate, low processing cost.
To achieve these goals, the technical scheme that intelligent switch system of the present invention uses:
Wireless interaction module including being respectively arranged at user operating side and executing agency end, executing agency end it is wireless Interactive module connects single-chip microcomputer;Executing agency end also includes switch executive mechanism, singly opens double control switch and opened by dual control is singly opened Close the various control objects of control;Described single-chip microcomputer can send control letter by switch executive mechanism to double control switch is singly opened Number, single-chip microcomputer is also connected with sound detection module and light detection module;Switch executive mechanism connects household AC power, and family expenses are handed over Stream power supply connects the wireless interaction module of single-chip microcomputer and executing agency end by power transfer module respectively.
The wireless interaction module of user operating side is WIFI host computers, the wireless interaction module at executing agency end for WIFI without Line interactive module;Described WIFI host computers use smart mobile phone, tablet personal computer or desktop computer, and WIFI wireless interaction modules are adopted With USR-WIFI232-A modules.Described single-chip microcomputer uses STC12C5A60S2 single-chip microcomputers.
Described switch executive mechanism includes transistor amplifier and single-pole double-throw relay;Transistor amplifier is adopted With NPN type triode, its base stage is connected to the I/O mouths of single-chip microcomputer, and colelctor electrode is connected to the wire loop of single-pole double-throw relay In, grounded emitter;Described single-pole double-throw relay is connected with household AC power and control object respectively, and single-pole double throw Relay forms double control switch pair with singly opening double control switch.
The wireless interaction module at the executing agency end, single-chip microcomputer, switch executive mechanism, singly open double control switch and power supply Modular converter is each provided in switch magazine;Civil power hot terminal, civil power ground wire terminals are left on described switch magazine Son, civil power zero line binding post, control object hot terminal, control object ground wire binding post and control object zero line Binding post;The live wire of household AC power is connected by civil power hot terminal with the switch of single-pole double-throw relay, family It is connected with the zero line of AC power with civil power zero line binding post, ground wire and the civil power ground wire binding post phase of household AC power Even, double control switch is singly opened with control object hot terminal to be connected.
Described sound detection module includes sound transducer and voice signal modulate circuit, and light detection module includes light Line sensor and light signal modulate circuit.
The control method of intelligent switch system of the present invention, including:
Ai is defined, Bi, Vi are respectively that fuzzy variable voice signal S, light signal L and controller output variable S are subordinate to letter The fuzzy field of manifold;
S1:Voice signal S fuzzy design;
1) ambiguity in definition domain is [- 1,1], voice signal S, is comprising 4 fuzzy subsets:S=PB, PS, NS, NB }, wherein PB represents honest, and PS represents just small, and NS represents negative small, and NB represents negative big;
2) fuzzy subset is described using Triangleshape grade of membership function;
S2:Light signal L fuzzy design;
1) ambiguity in definition domain is [- 1,1], and torque deviation is variables L, is comprising 4 fuzzy subsets:L=PB, PS, NS, NB }, wherein PB represents honest, and PS represents just small, and NS represents negative small, and NB represents negative big;
2) fuzzy subset is described using Triangleshape grade of membership function;
S3:Controller output variable S fuzzy design;
1) it is variable C that definition, which controls output, in fuzzy controller, is comprising 2 fuzzy subsets:C={ C1, C2 }, mould Paste domain is [1,2], and wherein C1 and C2 represent two quantity of states of control output, and fuzzy subset S is clear subset;
Wherein, C1 represents that control is open-minded;C2 represents that control is closed;
2) fuzzy subset is described using Triangleshape grade of membership function;
S4:Establish fuzzy control rule;
According to variable S and L fuzzy subset fuzzy subset's corresponding relation with output variable C respectively, obtain system ambiguous Control rule table, according to fuzzy control rule table, it is controlled the adjustment of output;
S5:After fuzzy reasoning, the degree of membership of fuzzy variable membership function is exported;
S6:Choose the fuzzy controller with maximum likelihood to export and be used as final output value, judge residing for control object The sound and light characteristics of external environment condition, single-chip microcomputer is according to the break-make of final output value self_adaptive adjusting object.
In step S4, when variables L is the PB in its fuzzy subset, and variable S is the PB in its fuzzy subset, light is expressed as Line strength is maximum, and intensity of sound is maximum, executing agency need not be now opened, by the mould for selecting fuzzy controller output variable Subset C2 collection is pasted to be controlled the adjustment of output.
In step S5, fuzzy reasoning is carried out using Mamdani methods, i-th fuzzy rule Ri is in whole Fuzzy control system In weight be:
αi=min (μAi(S),μBi(L));
Wherein, μAi(S) degree of membership of the light signal S under different fuzzy fields, μ are representedBi(L) represent under different fuzzy fields Voice signal L degree of membership;
After fuzzy reasoning, the degree of membership for the membership function that every fuzzy rule is belonged to is:
μ'Vi(C)=min (αiVi(C));
Output fuzzy variable membership function degree of membership be:
The fuzzy controller output valve with maximum likelihood is chosen in step S6 by following formula:
Compared with prior art, the present invention it is traditional singly open double control switch on the basis of, used wireless interaction technology, used The wireless interaction module of family operating side sends switch order, is transmitted control instruction by the wireless interaction module at executing agency end To single-chip microcomputer, single-chip microcomputer receives and sends corresponding action command to switch executive mechanism to realize to control pair after control instruction The manipulation of elephant.At the same time, the tradition used in the present invention singly opens double control switch and remains on the manipulation row possessed to control object For.What is more important, light detection module and sound detection module are mounted with a device, and utilize the voice signal of detection And light signal, the Self Adaptive Control that fuzzy control technology realizes intelligent switch can be combined, therefore, present invention utilizes wireless Technology makes the control range of switch and extension function be greatly improved, and using simply, easy to operate, cost is low, not only The more efficient comfort level for improving life, also further meet the diversified demand of people's life.
Compared with prior art, the control method of intelligent switch system of the present invention, combines fuzzy control process, Fuzzy Control The output of device processed has been clearly to be worth, can by choosing the fuzzy controller with maximum likelihood to export without ambiguity solution Enough be used as final output value, control method of the present invention can according to residing for control object external environment condition sound and light characteristics, The automatic adjusument of intelligence is realized, and then effectively controls the waste of electric energy, reaches energy-saving purpose.
Brief description of the drawings
The structural representation of Fig. 1 intelligent switch systems of the present invention;
The scheme of installation of Fig. 2 intelligent switch systems of the present invention;
The structural representation of Fig. 3 present invention switch magazines;
The fuzzy domination structure figure of Fig. 4 present invention;
The membership function schematic diagram of the fuzzy audio input signal of Fig. 5 present invention;
The membership function schematic diagram of the fuzzy light input signal of Fig. 6 present invention;
The membership function schematic diagram of Fig. 7 fuzzy control output signals of the present invention;
Embodiment
The present invention is described in further detail below in conjunction with the accompanying drawings.
Referring to Fig. 1-3, intelligent switch system of the present invention includes being respectively arranged at user operating side and executing agency end Wireless interaction module, the wireless interaction module connection single-chip microcomputer 3 at executing agency end.The wireless interaction module of user operating side is WIFI host computers 1, the wireless interaction module at executing agency end is WIFI wireless interactions module 2;WIFI host computers 1 use intelligent hand Machine, tablet personal computer or desktop computer, WIFI wireless interactions module 2 use USR-WIFI232-A modules.Executing agency end also includes Switch executive mechanism 4, singly open double control switch 5 and by the various control objects 6 for singly opening the control of double control switch 5.Single-chip microcomputer 3 passes through Switch executive mechanism 4 can send control signal to double control switch 5 is singly opened, and single-chip microcomputer 3 is also connected with sound detection module 10 and light Line detection module 11.Sound detection module 10 includes sound transducer 12 and voice signal modulate circuit 13, light detection module 11 include light sensor 14 and light signal modulate circuit 15.
Switch executive mechanism 4 connects household AC power 8, and household AC power 8 connects respectively by power transfer module 7 Single-chip microcomputer 3 and the wireless interaction module at executing agency end.
Single-chip microcomputer 3 uses STC12C5A60S2 single-chip microcomputers.Switch executive mechanism 4 includes transistor amplifier and hilted broadsword is double Throw relay;Transistor amplifier uses NPN type triode, and its base stage is connected to the I/O mouths of single-chip microcomputer 3, colelctor electrode connection Into the wire loop of single-pole double-throw relay, grounded emitter;Single-pole double-throw relay respectively with household AC power 8 and control Object 6 processed is connected, and single-pole double-throw relay forms double control switch pair with singly opening double control switch 5.
The wireless interaction module at executing agency end, single-chip microcomputer 3, switch executive mechanism 4, singly open double control switch 5 and power supply Modular converter 7 is each provided in switch magazine 9;Civil power hot terminal 16, civil power ground wire binding post are left on switch magazine 9 17th, civil power zero line binding post 18, control object hot terminal 19, control object ground wire binding post 20 and control pair As zero line binding post 21;The live wire of household AC power 8 passes through civil power hot terminal 16 and single-pole double-throw relay Switch is connected, and the zero line of household AC power 8 is connected with civil power zero line binding post 18, the ground wire of household AC power 8 and city Electric ground wire binding post 17 is connected, and singly opens double control switch 5 and is connected with control object hot terminal 19.
The control object 6 of the present invention can be household electrical appliances or light fixture etc., and the voltage of household AC power 8 is 220V;Power supply turns Mold changing block 7 is mainly made up of power supply chip, transformer and level shifting circuit, and 220V standard household AC electrical source module is exported Alternating current generates 5V power supplys by transformer, then generates 3.3V power supplys by power supply chip.5V power supplys are that single-chip microcomputer 3 and switch are held Row mechanism 4 is powered.3.3V power supplys are that WIFI wireless interactions module 2 is powered.
USR-WIFI232-A modules are a integrated 802.11b/g/n used by WIFI wireless interactions module 2 Wi-Fi low-power consumption module, by USR-WIFI232-A modules, the equipment of traditional low side serial equipment or MCU controls Very easily to access Wi-Fi wireless networks.It is integrated with MAC on the module hardware, baseband chip, Transmit Receive Unit, and Power amplifier;Embedded firmware then supports Wi-Fi agreements and configuration, and the ICP/IP protocol of networking.Single-chip microcomputer 3 uses STC12C5A60S2 single-chip microcomputers, the serial ports of single-chip microcomputer 3 are connected with the serial communication interface of WIFI wireless interactions module 2.
Use HK4100F-DC5V-SHG single-pole double-throw relays in switch executive mechanism 4, switch executive mechanism 4 and singly open The action of double control switch 5 can manipulate the on/off of control object 6.
WIFI wireless interactions module 2 produces WAP, creates a wireless network, and WIFI host computers 1 access WIFI In wireless network caused by wireless interaction module 2, WIFI host computers 1 control WIFI wireless interactions module 2 to refer to the transmission of single-chip microcomputer 3 Order, single-chip microcomputer 4 are read serial ports instruction, analysis instruction, power supply connected by input/output interface controlling switch executing agency 4 And disconnection, or sound detection module and light detection module by the present apparatus, can using the intelligent control algorithm of proposition Self Adaptive Control switch executive mechanism 4 switches on and off to power supply, or carries out control electricity manually to singly opening double control switch 5 Source switches on and off, so as to be controlled to the break-make of control object 6.
The present invention devises special sound detection module 10 and light detection module 11, and utilizes the voice signal of detection And light signal, the intelligent switch self-adaptation control method based on fuzzy control technology is proposed, as shown in figure 4, specific practice:Will The voice signal EF and light signal ET of input single-chip microcomputer 3 are defined as discrete some grades, and fuzzy control is used as after blurring Device inputs, and good fuzzy control rule carries out fuzzy reasoning to Indistinct Input amount by definition, and last fuzzy decision obtains final defeated Go out, that is, obtain selected control make-and-break signal S.Because what is obtained after fuzzy decision is accurate output quantity, so need not solve It is fuzzy.The output signal of algorithm is sent directly to switch executive mechanism 4, the control then switched on and off to power supply.
Detailed fuzzy control adaptive approach is divided into six steps, as follows:
Ai is defined, Bi, Vi are respectively that fuzzy variable voice signal S, light signal L and controller output variable S are subordinate to letter The fuzzy field of manifold.
First, voice signal S fuzzy design, as shown in Figure 5.
1st, ambiguity in definition domain is [- 1,1], voice signal S, is comprising 4 fuzzy subsets:S=PB, PS, NS, NB }, wherein PB represents honest, and PS represents just small, and NS represents negative small, and NB represents negative big.
2nd, fuzzy subset is described using Triangleshape grade of membership function.
2nd, light signal L fuzzy design, as shown in Figure 6.
1st, ambiguity in definition domain is [- 1,1], and torque deviation is variables L, is comprising 4 fuzzy subsets:L=PB, PS, NS, NB }, wherein PB represents honest, and PS represents just small, and NS represents negative small, and NB represents negative big.
2nd, fuzzy subset is described using Triangleshape grade of membership function.
3rd, controller output variable S fuzzy design, as shown in Figure 7.
1st, it is variable C that definition, which controls output, in fuzzy controller, is comprising 2 fuzzy subsets:C={ C1, C2 }, mould It is [1,2] to paste domain.Wherein C1 and C2 represents two quantity of states of control output, and fuzzy subset S is clear subset, wherein, C1 Represent that control is open-minded;C2 represents that control is closed.
2nd, fuzzy subset is described using Triangleshape grade of membership function.
4th, fuzzy control rule
System mould can be obtained according to fuzzy subset corresponding relation of variable S and the L fuzzy subset respectively with output variable C Control rule table is pasted, it is as shown in the table.
The fuzzy control rule table of table 1
According to fuzzy control rule table it can be seen that:When variables L is the PB in its fuzzy subset, variable S is its fuzzy son During the PB of concentration, light intensity maximum is can be expressed as, intensity of sound is maximum, now avoids the need for opening executing agency.At this moment, The adjustment of output can be controlled by selecting the fuzzy subset C2 collection of fuzzy controller output variable.
5th, fuzzy reasoning method
Fuzzy reasoning uses the most frequently used Mamdani methods.
Weights of i-th fuzzy rule Ri in whole Fuzzy control system be:
αi=min (μAi(S),μBi(L));
Wherein, μAi(S) degree of membership of the light signal S under different fuzzy fields, μ are representedBi(L) represent under different fuzzy fields Voice signal L degree of membership.
After fuzzy reasoning, the degree of membership for the membership function that every fuzzy rule is belonged to is:
μ'Vi(C)=min (αiVi(C));
Output fuzzy variable membership function degree of membership be:
6th, ambiguity solution method
Because the output of fuzzy controller has been clearly to be worth, without ambiguity solution, maximum rule selection output is only selected Amount.It can thus choose the fuzzy controller with maximum likelihood to export and be used as final output value.
According to algorithm above, apparatus of the present invention can be realized intelligent according to device outside environment (sound and light) feature Automatic adjusument function, the waste of electric energy is effectively controlled, reaches energy-saving purpose.It is more suitable for the fields such as signal light control In.
Apparatus of the present invention only one it is common singly open add on the basis of double control switch wireless module (WIFI host computers, WIFI wireless modules) detection module (sound and light) and controller module (single-chip microcomputer, break-make executing agency), i.e., it can realize WIFI host computers (smart mobile phone, flat board or computer), external environment condition be adaptive and controls while regular tap.
Intelligence of the invention singly opens double control switch device and has used wireless WIFI module, external environment condition detection module and single-chip microcomputer Module.Mobile phone or tablet personal computer send control instruction data by WIFI to intelligent switch, and the single-chip microcomputer on intelligent switch connects After receiving control instruction, corresponding action command is sent to break-make executing agency, then the relay of break-make actuator is carried out Corresponding actions, the break-make in control system loop, the relay and manual mechanical switch of break-make actuator are combined as double control switch pair, So as to realize manual, Self Adaptive Control and the triple controls of controlled in wireless.Common double control switch of the invention and mobile phone wireless control are all Turning on and off for electrical equipment power supply can be controlled.Combinations thereof realizes standard machinery switch and wireless module to control The dual controllable ability of object, carried out by existing switch panel and Built-in terminal box in current family housing simple and quick Transformation can be realized, can reduce function modificationses cost payout.For example the household electrical appliances such as light fixture at home, refrigerator can be connect Power end, manipulated by the object of mobile phone can optional position at home.The electronic component that the present invention uses is equal For known product, those skilled in the art's technique according to the invention scheme is to understand the specific connected mode of electronic component.

Claims (10)

  1. A kind of 1. intelligent switch system, it is characterised in that:Nothing including being respectively arranged at user operating side and executing agency end Line interactive module, the wireless interaction module connection single-chip microcomputer (3) at executing agency end;Executing agency end also includes switch executive mechanism (4) double control switch (5), is singly opened and by the various control objects (6) for singly opening double control switch (5) control;Described single-chip microcomputer (3) Control signal can be sent to double control switch (5) is singly opened by switch executive mechanism (4), single-chip microcomputer (3) is also connected with sound detection Module (10) and light detection module (11);Switch executive mechanism (4) connection household AC power (8), household AC power (8) Connect the wireless interaction module of single-chip microcomputer (3) and executing agency end respectively by power transfer module (7).
  2. 2. intelligent switch system according to claim 1, it is characterised in that:The wireless interaction module of user operating side is WIFI host computers (1), the wireless interaction module at executing agency end is WIFI wireless interactions module (2).
  3. 3. intelligent switch system according to claim 2, it is characterised in that:Described WIFI host computers (1) are using intelligence Mobile phone, tablet personal computer or desktop computer, WIFI wireless interactions module (2) use USR-WIFI232-A modules.
  4. 4. intelligent switch system according to claim 1, it is characterised in that:Described single-chip microcomputer (3) uses STC12C5A60S2 single-chip microcomputers.
  5. 5. intelligent switch system according to claim 1, it is characterised in that:Described switch executive mechanism (4) includes three Pole pipe amplifying circuit and single-pole double-throw relay;Transistor amplifier uses NPN type triode, and its base stage is connected to single-chip microcomputer (3) I/O mouths, colelctor electrode are connected in the wire loop of single-pole double-throw relay, grounded emitter;
    Described single-pole double-throw relay is connected with household AC power (8) and control object (6) respectively, and single-pole double throw relay Device forms double control switch pair with singly opening double control switch (5).
  6. 6. intelligent switch system according to claim 1, it is characterised in that:The wireless interaction mould at the executing agency end Block, single-chip microcomputer (3), switch executive mechanism (4), singly open double control switch (5) and power transfer module (7) is each provided at switch magazine (9) in;Civil power hot terminal sub (16), civil power ground wire binding post (17), city's electrical zero are left on described switch magazine (9) Line binding post (18), control object hot terminal sub (19), control object ground wire binding post (20) and control object Zero line binding post (21);The live wire of household AC power (8) passes through civil power hot terminal sub (16) and single-pole double throw relay The switch of device is connected, and the zero line of household AC power (8) is connected with civil power zero line binding post (18), household AC power (8) Ground wire be connected with civil power ground wire binding post (17), singly open sub (19) phase of double control switch (5) and control object hot terminal Even.
  7. 7. intelligent switch system according to claim 1, it is characterised in that:Described sound detection module (10) includes sound Sound sensor (12) and voice signal modulate circuit (13), light detection module (11) includes light sensor (14) and light is believed Number modulate circuit (15).
  8. 8. the control method of intelligent switch system as described in any one claim in a kind of 1-7 such as claim, including:
    Ai is defined, Bi, Vi are respectively fuzzy variable voice signal S, light signal L and controller output variable S membership function collection Fuzzy field;
    S1:Voice signal S fuzzy design;
    1) ambiguity in definition domain is [- 1,1], voice signal S, is comprising 4 fuzzy subsets:S={ PB, PS, NS, NB }, Wherein PB represents honest, and PS represents just small, and NS represents negative small, and NB represents negative big;
    2) fuzzy subset is described using Triangleshape grade of membership function;
    S2:Light signal L fuzzy design;
    1) ambiguity in definition domain is [- 1,1], and torque deviation is variables L, is comprising 4 fuzzy subsets:L=PB, PS, NS, NB }, wherein PB represents honest, and PS represents just small, and NS represents negative small, and NB represents negative big;
    2) fuzzy subset is described using Triangleshape grade of membership function;
    S3:Controller output variable S fuzzy design;
    1) it is variable C that definition, which controls output, in fuzzy controller, is comprising 2 fuzzy subsets:C={ C1, C2 }, fuzzy theory Domain is [1,2], and wherein C1 and C2 represent two quantity of states of control output, and fuzzy subset S is clear subset;
    Wherein, C1 represents that control is open-minded;C2 represents that control is closed;
    2) fuzzy subset is described using Triangleshape grade of membership function;
    S4:Establish fuzzy control rule;
    According to variable S and L fuzzy subset fuzzy subset's corresponding relation with output variable C respectively, system ambiguous control is obtained Rule list, according to fuzzy control rule table, it is controlled the adjustment of output;
    S5:After fuzzy reasoning, the degree of membership of fuzzy variable membership function is exported;
    S6:Choose the fuzzy controller with maximum likelihood to export and be used as final output value, judge outer residing for control object (6) The sound and light characteristics of portion's environment, single-chip microcomputer (3) is according to the break-make of final output value self_adaptive adjusting object (6).
  9. 9. control method according to claim 8, it is characterised in that:In step S4, when variables L is in its fuzzy subset When PB, variable S are the PB in its fuzzy subset, light intensity maximum is expressed as, intensity of sound is maximum, need not now open and hold Row mechanism, the adjustment of output is controlled by selecting the fuzzy subset C2 collection of fuzzy controller output variable.
  10. 10. control method according to claim 8, it is characterised in that:In step S5, obscured using Mamdani methods Reasoning, weights of i-th fuzzy rule Ri in whole Fuzzy control system are:
    αi=min (μAi(S),μBi(L));
    Wherein, μAi(S) degree of membership of the light signal S under different fuzzy fields, μ are representedBi(L) sound under different fuzzy fields is represented Signal L degree of membership;
    After fuzzy reasoning, the degree of membership for the membership function that every fuzzy rule is belonged to is:
    μ'Vi(C)=min (αiVi(C));
    Output fuzzy variable membership function degree of membership be:
    <mrow> <msub> <mi>&amp;mu;</mi> <mrow> <mi>V</mi> <mi>i</mi> </mrow> </msub> <mrow> <mo>(</mo> <mi>C</mi> <mo>)</mo> </mrow> <mo>=</mo> <munderover> <mi>max</mi> <mrow> <mi>n</mi> <mo>=</mo> <mn>1</mn> </mrow> <mrow> <mi>n</mi> <mo>=</mo> <mn>16</mn> </mrow> </munderover> <mrow> <mo>(</mo> <msub> <mi>&amp;alpha;</mi> <mi>i</mi> </msub> <mo>,</mo> <msubsup> <mi>&amp;mu;</mi> <mrow> <mi>V</mi> <mi>i</mi> </mrow> <mo>&amp;prime;</mo> </msubsup> <mo>(</mo> <mi>C</mi> <mo>)</mo> <mo>)</mo> </mrow> <mo>;</mo> </mrow>
    The fuzzy controller output valve with maximum likelihood is chosen in step S6 by following formula:
    <mrow> <msub> <mi>&amp;mu;</mi> <mrow> <mi>S</mi> <mi>o</mi> <mi>u</mi> <mi>t</mi> </mrow> </msub> <mrow> <mo>(</mo> <mi>C</mi> <mo>)</mo> </mrow> <mo>=</mo> <munderover> <mi>max</mi> <mrow> <mi>n</mi> <mo>=</mo> <mn>1</mn> </mrow> <mrow> <mi>n</mi> <mo>=</mo> <mn>2</mn> </mrow> </munderover> <mrow> <mo>(</mo> <msub> <mi>&amp;alpha;</mi> <mi>i</mi> </msub> <mo>,</mo> <msubsup> <mi>&amp;mu;</mi> <mrow> <mi>V</mi> <mi>i</mi> </mrow> <mo>&amp;prime;</mo> </msubsup> <mo>(</mo> <mi>C</mi> <mo>)</mo> <mo>)</mo> </mrow> <mo>.</mo> </mrow>
CN201711093588.XA 2017-11-08 2017-11-08 Control method of intelligent switch system Active CN107885116B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711093588.XA CN107885116B (en) 2017-11-08 2017-11-08 Control method of intelligent switch system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711093588.XA CN107885116B (en) 2017-11-08 2017-11-08 Control method of intelligent switch system

Publications (2)

Publication Number Publication Date
CN107885116A true CN107885116A (en) 2018-04-06
CN107885116B CN107885116B (en) 2021-03-30

Family

ID=61779362

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711093588.XA Active CN107885116B (en) 2017-11-08 2017-11-08 Control method of intelligent switch system

Country Status (1)

Country Link
CN (1) CN107885116B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108882475A (en) * 2018-04-20 2018-11-23 周倩 Mechanical double control switch realizes more control bus intelligent wireless relay module
CN109362145A (en) * 2018-09-30 2019-02-19 联想(北京)有限公司 A kind of control method and electronic equipment
CN115508649A (en) * 2022-10-12 2022-12-23 广东浩博特科技股份有限公司 Darkroom acousto-optic test system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2117672U (en) * 1991-11-20 1992-09-30 王新生 Intellectural switch controlled with fuzzy logic
CN201219322Y (en) * 2008-06-27 2009-04-08 叶超 Intelligent controller for road lamp
CN201672337U (en) * 2010-06-07 2010-12-15 黄杏芳 Light/sound-controlled LED lamp
CN104407542A (en) * 2014-10-28 2015-03-11 长安大学 Intelligent single-switching double-control switch apparatus and application method thereof
CN104780680A (en) * 2015-04-10 2015-07-15 长安大学 Intelligent three-place control switch
CN106793379A (en) * 2016-12-01 2017-05-31 上海电机学院 A kind of control method for realizing permanent isolux street lamp
CN107018607A (en) * 2016-11-28 2017-08-04 贵州大学 A kind of street lighting energy-saving control system and its control method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2117672U (en) * 1991-11-20 1992-09-30 王新生 Intellectural switch controlled with fuzzy logic
CN201219322Y (en) * 2008-06-27 2009-04-08 叶超 Intelligent controller for road lamp
CN201672337U (en) * 2010-06-07 2010-12-15 黄杏芳 Light/sound-controlled LED lamp
CN104407542A (en) * 2014-10-28 2015-03-11 长安大学 Intelligent single-switching double-control switch apparatus and application method thereof
CN104780680A (en) * 2015-04-10 2015-07-15 长安大学 Intelligent three-place control switch
CN107018607A (en) * 2016-11-28 2017-08-04 贵州大学 A kind of street lighting energy-saving control system and its control method
CN106793379A (en) * 2016-12-01 2017-05-31 上海电机学院 A kind of control method for realizing permanent isolux street lamp

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
刘炜: "住宅人工照明光环境智能控制研究", 《中国优秀博硕士学位论文全文数据库(博士)》 *
刘睿刚: "基于GPRS路灯监控系统的设计", 《中国优秀硕士学位论文全文数据库》 *
刘秋霞: "一种声光双控节能开关的研制", 《数字技术与应用》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108882475A (en) * 2018-04-20 2018-11-23 周倩 Mechanical double control switch realizes more control bus intelligent wireless relay module
CN109362145A (en) * 2018-09-30 2019-02-19 联想(北京)有限公司 A kind of control method and electronic equipment
US11778714B2 (en) 2018-09-30 2023-10-03 Lenovo (Beijing) Limited Control method and electronic device
CN115508649A (en) * 2022-10-12 2022-12-23 广东浩博特科技股份有限公司 Darkroom acousto-optic test system

Also Published As

Publication number Publication date
CN107885116B (en) 2021-03-30

Similar Documents

Publication Publication Date Title
CN204215190U (en) A kind of intelligence singly opens double control switch device
CN107885116A (en) A kind of intelligent switch system and its control method
CN207133615U (en) A kind of intelligent switch
CN110109403A (en) A kind of double control switch
CN203745876U (en) Intelligent household control device
CN104407542A (en) Intelligent single-switching double-control switch apparatus and application method thereof
CN102291284A (en) Intelligent terminal device of wireless network digital home
CN103067492A (en) Communication control device, electrical device based on network and network control method of electrical device
CN107290971A (en) A kind of intelligent household appliances managing and control system based on Internet of Things
CN106302078B (en) Group network system
CN107689903A (en) Intelligent home equipment control method, system, storage medium and computer equipment
CN106154993A (en) A kind of device controller
CN104780680A (en) Intelligent three-place control switch
CN205540005U (en) Controlgear , system and remote controller of household electrical appliances
CN206757316U (en) A kind of intelligent switch and intelligent home control system
CN106707862A (en) Intelligent home electric box with man-machine interaction
CN101763715A (en) Transfer infrared control device in intelligent home furnishing
CN101924305B (en) Master-slave mode socket device with sequence control
CN109462528A (en) A kind of control system and method for variable connector controller pattern of double controlling
CN104298179B (en) Smart switch, smart control network and smart control method
CN206863939U (en) A kind of general bimodulus remote control with self-learning function
CN204576140U (en) A kind of three ground gauge tap
CN103885413B (en) Household appliance management method, system and device
CN206611625U (en) Intelligent switch with brightness control function
CN205103569U (en) Man electric installation control system of intelligence

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20211227

Address after: 908, block a, floor 8, No. 116, Zizhuyuan Road, Haidian District, Beijing 100089

Patentee after: ZHONGZI DATA CO.,LTD.

Patentee after: China Highway Engineering Consulting Group Co., Ltd.

Address before: 710064 No. 33, South Second Ring Road, Shaanxi, Xi'an

Patentee before: CHANG'AN University