Background technology
The control mode of at present traditional indoor electric appliance is to realize control one to one to electrical equipment by the industrial siding routing switch, though it has advantages such as reliability, and shortcoming such as its construction is loaded down with trivial details, and quantities is big.For this reason, when dividing into groups to control as bull light fixture etc., be extensive use of a kind of mode of program loop grouping control at present, by the accumulation loop of make-break operation energising repeatedly on same switch, can realize lamp holder by each group of set order conducting successively, its advantage is to install simply, cost is lower, but because can only be in using by the conducting that circulates successively of set order, its control degrees of freedom is little, can not freely select as required and directly settle at one go and feel inconvenient, and every group power controlling can not be too big, otherwise can lose use value because of volume of switch is excessive.
Chinese patent ZL200720080622.5 provides a kind of electronic intelligence switchgear, resistive structure by different resistances (perhaps the controlled oscillating unit of frequency etc.) is formed switch element, produce the voltage or the current controling signal of different values, and send to MCU by each transmitting branch, MCU will judge that the execution signal of operation result exports through output unit, control corresponding electrical equipment, thereby reduce the transmission line quantity that is connected with switch, solve the wiring in the house electrical equipment control, some problems of secure context are installed.
Yet, because being the voltage or the current controling signal of the analog quantity of employing, the switch element of above-mentioned electronic intelligence switchgear judges computing by MCU as input control signal, in actual use, need to use and have the MCU chip of A/D translation function or the A/D converting unit is set separately, therefore cost is higher, the control mode of simulating signal also causes control signal wrong judgement to occur easily simultaneously, perhaps is subjected to temperature, the influence of factors such as humidity.In addition,, can make like this user does not know whether electrical equipment moves, in the use inconvenience to some extent because switch element is not used in the mechanism of indicating status.
Summary of the invention
At the problems referred to above, the purpose of this utility model provides a kind of two-wire system intelligent switch, can have more reliable and more stable serviceability and reach deixis more easily, and cost be lower when reduce the conventional switch transmission line.
Technical solution adopted in the utility model is:
A kind of two-wire system intelligent switch is provided, comprise the D.C. regulated power supply and the output control unit that are connected with external power source, also comprise the digital quantity input block, the encode processor that is connected with the digital quantity input block, indicating member that is connected with encode processor and decoding processor respectively, described D.C. regulated power supply is connected with decoding processor with encode processor respectively, and described output control unit is connected with the output terminal of decoding processor.
The digital quantity input block is transferred to encode processor with the control signal of digital quantity form, encode processor is exported to the indicating member display working condition according to the control signal of input, and control signal encoded, be transferred to decoding processor by transmission line, be decoded into the execution signal by decoding processor and be transferred to output control unit, control corresponding topworks (as household electrical appliance) and switch on or off external power source.
Further, the utility model intelligent switch also comprises the time-sharing multiplex unit that is connected with D.C. regulated power supply, be connected by the time-sharing multiplex unit between described encode processor and the decoding processor, described D.C. regulated power supply is powered to encode processor by the time-sharing multiplex unit.
Also comprise a charge storage unit that is connected with the time-sharing multiplex unit, described time-sharing multiplex unit powers to encode processor by this charge storage unit.
Described charge storage unit is to be composed in parallel by at least one electric capacity.
Adopt the two-wire system transmission line to be connected between described encode processor and the decoding processor.
The utility model has the advantages that:
As above-mentioned structure, the utility model intelligent switch adopts the digital quantity input block to come input control signal, thereby avoided employing voltage or current analog amount control signal may be subjected to temperature, the influence of factors such as humidity and cause the situation of erroneous judgement has improved the reliability and the accuracy of control.In addition, owing to directly adopt the digital signal input, the respective coding processor also need not to adopt microprocessor (MCU) chip that has the A/D translation function, when being applied to manufacture, even the encode processor of the utility model intelligent switch and decoding processor need two MCU chips, but its cost is still comparatively cheap than having A/D translation function MCU on the market.
As above-mentioned structure, the utility model intelligent switch adopt indicating member with the state of a control working condition of switch by simple and clear the showing of forms such as LED light, be convenient to the user and check at any time, the convenient use.
As above-mentioned structure, adopt the two-wire system transmission line to be connected between described encode processor and the decoding processor, reduced the quantity of the transmission line that is connected with switch, especially can under the situation that does not change existing indoor two-wire system transferring electric power line layout setting, only use the control of the pair of control circuit realization of ordinary tap to a plurality of different electrical equipment.
As above-mentioned structure, be connected by the time-sharing multiplex unit between described encode processor and the decoding processor, make general indoor two-wire system operation circuit can either play the effect of feed power supply, the control signal that can when needing transmission of control signals encode processor be exported is transferred to decoding processor again, improve the work efficiency of circuit, more adapted to the practicality needs of indoor two-wire system transmission line.
Embodiment
Further specify architectural feature of the present utility model below in conjunction with drawings and Examples.
Fig. 1 is the structural representation of the utility model intelligent switch.As shown in Figure 1, the utility model two-wire system intelligent switch, it comprises D.C. regulated power supply 2 and the output control unit 3 that is connected with external power source 1, also comprise digital quantity input block 4, the encode processor 5 that is connected with digital quantity input block 4, indicating member 6 that is connected with encode processor 5 and decoding processor 7 respectively, described D.C. regulated power supply 2 is connected with decoding processor 7 with encode processor 5 respectively, and described output control unit 3 is connected with the output terminal of decoding processor 7.
The utility model intelligent switch also comprises the time-sharing multiplex unit 8 that is connected with D.C. regulated power supply 2, be connected by time-sharing multiplex unit 8 between described encode processor 5 and the decoding processor 7, described D.C. regulated power supply 2 by time-sharing multiplex unit 8 to encode processor 5 power supplies;
Further, also comprise a charge storage unit 9 that is connected with time-sharing multiplex unit 8, described time-sharing multiplex unit 8 powers to encode processor 5 by this charge storage unit 9.
Described charge storage unit 9 is to be composed in parallel by at least one electric capacity.
The digital switch network that described digital quantity input block 4 is made up of at least one digital quantity input button.
Described indicating member 6 adopts the LED display lamp.
Described output control unit 3 is relay or thyristor.
Adopt the two-wire system transmission line to be connected between described encode processor 5 and the decoding processor 7.
Further specify the particular circuit configurations and the working method of the utility model intelligent switch below in conjunction with embodiment.
Embodiment 1
Fig. 2 is the electrical schematic diagram of the utility model intelligent switch one embodiment.In the present embodiment, the PIC16C5X series microprocessor chip that is provided by the U.S. little core company all is provided for described encode processor 5 and decoding processor 7.
As shown in Figure 2, the external power source 1 of family expenses alternating current 220V carries out rectification and voltage stabilizing by D.C. regulated power supply 2, output+5V and V
CCThe two-way d. c. voltage signal is supplied with each relay coil in decoding processor 7 and the output control unit 3, and encode processor 5 is given in 8 power supplies through the time-sharing multiplex unit, simultaneously charge storage unit 9 chargings to being made up of capacitor C 3, C6, stabilivolt D10.
In the present embodiment, the 2*4 numerical coding network that digital quantity input block 4 is made up of switch S 1~S8, the user is by switch S 1-S8 input control signal, encode processor 5 is exported to indicating member 6 according to the control signal of receiving by Out0~Out4 pin, by LED light D1~D8 indication control corresponding state, encode processor 5 is exported to metal-oxide-semiconductor field effect transistor Q1 in the time-sharing multiplex unit 8 with coding control signal by the send pin after the control signal of input is encoded simultaneously.
Time-sharing multiplex unit 8 is not when receiving the coding control signal that the send pin transmits, and the drain electrode of metal-oxide-semiconductor field effect transistor Q1 (A point) is in high level, and time-sharing multiplex unit 8 powers to encode processor 5 and charge storage unit 9 by diode D9; Receive the coding control signal of send pin output when the grid of metal-oxide-semiconductor field effect transistor Q1, the drain electrode conducting of metal-oxide-semiconductor field effect transistor Q1, the saltus step of A point is a low level, coding control signal is transferred to decoding processor 7, capacitor C 3, C6 in the charge storage unit 9 will discharge automatically at this moment, thereby bear power supply to encode processor 5, behind the coding control signal end of transmission (being no longer output signal of send pin), the drain electrode of Q1 recovers high level again, promptly power by 2 pairs of encode processors of D.C. regulated power supply 5 again, and continue capacitor C 3, C6 charging.Like this, two-wire system transmission line (i.e. A, B among the figure) serves as the power lead of carrying power supply at ordinary times, serves as data line when control signal is arranged, and has improved the work efficiency of circuit greatly, has simplified line construction.
Time-sharing multiplex unit 8 flows to decoding processor 7 with coding control signal, the setting and the encode processor 5 of decoding processor 7 inside are complementary, the coding control signal of receiving is decoded into control carries out signal, by corresponding output pin output, carry out flowing to after the level conversion relay K 1~K7 of output control unit 3 by U3, the contact of controlling corresponding relay disconnects or adhesive, makes corresponding electrical equipment switch on or off the alternating current 220V power supply.
Embodiment 2
Fig. 3 is the electrical schematic diagram of another embodiment of the utility model intelligent switch.In the present embodiment, described encode processor 5 and decoding processor 7 all adopt Taiwan to fly the FM8PS series microprocessor chip that icepro company provides.
As shown in Figure 3, present embodiment provides the D.C. regulated power supply 2 of another kind of structure, and the external power source 1 of alternating current 220V carries out rectification and voltage stabilizing, output+5V and V by this D.C. regulated power supply 2
CCThe two-way d. c. voltage signal is supplied with decoding processor 7 and output control unit 3, and encode processor 5 is given in 8 power supplies through the time-sharing multiplex unit, simultaneously charge storage unit 9 chargings to being made up of capacitor C 2, C3, stabilivolt D3.
In the present embodiment, the 4 position digital coding networks that digital quantity input block 4 is made up of switch S 1~S4, the user is by switch S 1-S4 input control signal, encode processor 5 is encoded according to the control signal of receiving, encode processor 5 is divided into two-way by the coding control signal of send pin output, one the tunnel exports to external indicating member (for example, the indication interface in the outside power-supply management system) indicates or other monitoring processing, improves applying flexible degree and extensibility; Another road then outputs to the grid of metal-oxide-semiconductor field effect transistor Q1 in the time-sharing multiplex unit 8 by the send pin.
Time-sharing multiplex unit 8 is not when receiving the coding control signal that the send pin transmits, and the drain electrode of metal-oxide-semiconductor field effect transistor Q1 (A point) is in high level, and time-sharing multiplex unit 8 powers to encode processor 5 and charge storage unit 9 by diode D9; Receive the coding control signal of send pin output when the grid of metal-oxide-semiconductor field effect transistor Q1, the drain electrode conducting saltus step of Q1 is a low level, coding control signal is transferred to decoding processor 7, capacitor C 2, C3 in the charge storage unit 9 will discharge automatically at this moment, thereby bear power supply to encode processor 5, behind the coding control signal end of transmission (being no longer output signal of send pin), the drain electrode of Q1 will recover high level, again by 2 pairs of encode processors 5 of D.C. regulated power supply, indicating member 6 power supplies, and to capacitor C 3, C6 charging.Same, the two-wire system transmission line in this switch (i.e. A, B among the figure) serves as the power lead of carrying power supply at ordinary times, serves as data line when control signal is arranged, and has played the effect of time-sharing multiplex.
Time-sharing multiplex unit 8 flows to decoding processor 7 with coding control signal, the setting and the encode processor 5 of decoding processor 7 inside are complementary, the coding control signal of receiving is decoded into control carries out signal, export to thyristor (thyristor) Q1, Q2 and the relay K 1 of output control unit 3 respectively by OUT1~OUT3 pin, the path of control thyristor Q1, Q2 and relay K 1 or open circuit makes electrical equipment switch on or off the alternating current 220V power supply.In the present embodiment, less according to using needs can adopt thyristor to substitute relay to make full use of the thyristor volume as the control device in the output control unit 3, lower-cost advantage.
The above only is preferred embodiment of the present utility model.Structural attitude of the present utility model is not limited thereto, those skilled in the art in the utility model field, according to the disclosed technology contents of the utility model, can think easily and equivalence change, all should belong to protection category of the present utility model.