CN202374242U - Serial port query management separate household electrical appliance automatic connection terminal - Google Patents

Serial port query management separate household electrical appliance automatic connection terminal Download PDF

Info

Publication number
CN202374242U
CN202374242U CN2011202486590U CN201120248659U CN202374242U CN 202374242 U CN202374242 U CN 202374242U CN 2011202486590 U CN2011202486590 U CN 2011202486590U CN 201120248659 U CN201120248659 U CN 201120248659U CN 202374242 U CN202374242 U CN 202374242U
Authority
CN
China
Prior art keywords
terminal
circuit
pairs
decoder
serial port
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.)
Expired - Fee Related
Application number
CN2011202486590U
Other languages
Chinese (zh)
Inventor
曾艺
张海明
徐其明
Original Assignee
向娇
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 向娇 filed Critical 向娇
Priority to CN2011202486590U priority Critical patent/CN202374242U/en
Application granted granted Critical
Publication of CN202374242U publication Critical patent/CN202374242U/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

A serial port query management separate household electrical appliance automatic connection terminal is composed of an interface portion and a terminal portion. The interface portion comprises an RS232C interface, an RS232C interface level converting circuit, two 4bit ternary gate circuits, three pairs of sensor terminals, a 2-4 decoder, a binary counter, a 3-8 decoder, four pairs of starting and stopping instruction data output terminals, and a stabilized power supply circuit. The terminal portion comprises an RS trigger, a solid state relay, a solid state relay electronic switching circuit, and three pairs of sensor terminals. A pair of control signal input terminals, the anode terminal and the cathode terminal of a work power supply, and the three pairs of sensor terminals on the terminal portion are respectively and correspondingly connected with one of the four pairs of starting and stopping instruction data output terminals, the anode terminal and the cathode terminal of a work power supply, and the three pairs of sensor terminals on the interface portion. The interface portion is equipped with four terminals which cooperate with three sensors and an electric appliance nearby. The connection terminal of the utility model is used for a computer to detect the sensors and operate the electric appliance.

Description

Serial port searching and managing separate type household electrical appliance automation junction block
Technical field
The utility model belongs to the application electric technology field, particularly relates to a kind of domestic electronic and the computer of electrical automation operation and interface arrangement of domestic electronic and electrical equipment realized.
Background technology
Utilize the serial data transmission mouthful line TXD of computer serial port to send instruction; Start or stop instruction electric operation; The form of this instruction is a serial data, needs to use binary counter to convert it to parallel data, carries out binary system then and changes the decimal system; Can be used to control each road electronic switch, make electrical automation move.If be equipped with transducer, can detect relevant operational environment with CD, intelligent operation electrical equipment through input interconnection CTS, the DSR of computer serial port in good time.Input interconnection CTS, DSR and CD that said serial data instruction also can be passed through serial port return into computer and carry out verification, and instruction just discharges to electronic switch through the system change-over circuit after overcorrect.Above-mentioned " correction instruction, decoding output, detecting sensor " three kinds of actions are by the output interconnection RTS and the DTR integrated command of serial port.In order to put into practice this idea; Begin from " the home electronic appliance automation junction block of serial port searching and managing " (ZL 2,010 2 0531787.1); Is keyword with " serial port searching and managing " with " home electronic appliance automation junction block ", has submitted serial utility model design to.And wherein several have also adopted radio transmission techniques to realize getting in touch between they and the computer serial port, have made things convenient for use.Their something in common is; Each utility model all arrange to be related single-phase socket of four groups or four groups above household electrical appliance; Certainly; The relevant solid-state relay more than four or four can produce the heat more than four parts or four parts when working, and these heat accumulations need in time distribute in this device.In addition, the power cable of domestic electronic or electrical equipment generally is about 1-2 meter long, and not necessarily concentrating on this device is that center, radius are about 2 meters place use, still inconvenient to some extent in the use.
Summary of the invention
The purpose of the utility model is to provide a kind of serial port searching and managing separate type household electrical appliance automation junction block; It is main frame with the computer; Be received from the serial data instruction that the transmission data wire TXD of computer serial port transfers out; It is decoded into the 3bit binary number; And transmitting this 3bit director data and three sensor status are gone into computer by the input interconnection CTS of computer serial port, DSR and CD, director data through 3-8 decoding output, is managed No. four household electrical appliance after overcorrect.The utility model is made up of interface and terminal two parts; Interface comprises: 9 pin RS232C interfaces, RS232-TTL/CMOS level shifting circuit, two groups of 4bit tri-state gate circuits, the 3 pairs of sensor terminals, 2-4 decoders, binary counter, 3-8 decoders, 4 pairs open, stop instruction data output end, voltage-stabilized power supply circuit, anti-thunderbolt and surge circuit and supply main and plug thereof; The terminal comprises: rest-set flip-flop, pair of control signal lead-in clamp, solid-state relay and electronic switching circuit thereof, the positive pole of working power, negative terminal and 3 pairs of sensor terminals.4 couple that pair of control signal lead-in clamp on the terminal is connected to the interface section opens, one of stop instruction data output end; The positive pole of the working power on the terminal, negative terminal are connected respectively to positive pole, the negative pole of the working power of interface section, and 3 pairs of sensor terminals on the terminal are connected respectively to 3 pairs of sensor terminals on the interface.
The utility model solves the technical scheme that its technical problem adopted:
The 4th pin DTR of RS232C interface, the 7th pin RTS, the 3rd pin TXD are connected respectively to separately RS232, and < three RS232C level signal inputs of-TTL/>CMOS level shifting circuit, corresponding three the TTL/CMOS level signal outputs of this level shifting circuit are connected respectively to two signal input parts of 2-4 decoder and the clock signal input terminal of binary counter; Two groups of 4bit tri-state gate circuits, four signal output parts separately are parallel connection in twos; Constitute four public signal output parts; Pull-up resistor of each public signal output part series connection is to positive source; Be also connected to RS232 one of four TTL/CMOS level signal inputs of-TTL/CMOS level shifting circuit, corresponding four the RS232C level signal outputs of this level shifting circuit are connected respectively to the first pin CD, the 6th pin DSR, the 8th pin CTS and the nine kinds of needles RI of RS232C interface; Four signal input parts of one group of 4bit tri-state gate circuit are connected respectively to four count signal outputs of binary counter, and four signal input parts of another group 4bit tri-state gate circuit have constituted 4 pairs of sensor terminals with power cathode respectively; Four decoded signal outputs of 2-4 decoder it/Y0 ,/Y1 is connected respectively to two groups of 4bit tri-state gate circuits and 3-8 decoder (low level is effective) output enable end separately with/Y3; The 2-4 decoder is made up of 74HC139, and its low level effectively enables the termination power cathode; Binary counter is made up of CD4516, its reset terminal, presets several Enable Pins, carry input and all connects power cathode, and the count mode termination power is anodal, low three three signal input parts that are connected respectively to the 3-8 decoder in its count signal output; The effective Enable Pin of the high level of 3-8 decoder is received the positive pole of power supply; Its 8 decoded signal outputs are connected to the base stage of a PNP triode respectively through a base resistance; Like this one has 8 PNP triodes; Their emitter is all received positive source, their collector electrode constituted in regular turn 4 pairs open, the stop instruction data output end; The ac input end of voltage-stabilized power supply circuit is parallelly connected with anti-thunderbolt and surge circuit, receives civil power through supply main and plug thereof, and the output negative pole of voltage-stabilized power supply circuit links to each other with the 5th pin GND of RS232C interface.
Said voltage-stabilized power supply circuit is made up of power transformer, diode bridge rectifier circuit, capacitor filter and circuit of three-terminal voltage-stabilizing integrated 7806, and two outputs of 7806 have constituted the positive source and the power cathode of this device respectively.
Said anti-thunderbolt and surge circuit are made up of a fuse and a piezo-resistance polyphone.
<-TTL/>CMOS level shifting circuit combines four electrochemical capacitors to form by two MAX232 to said RS232.
The control end R of rest-set flip-flop and S constitute pair of control signal lead-in clamp, and the pull down resistor of connecting respectively is to power cathode, and its output Q is connected to the signal input part of solid-state relay and electronic switching circuit thereof.
Solid-state relay and electronic switching circuit thereof comprise a base resistance, a base biasing resistor, a NPN triode, a solid-state relay, a light-emitting diode and a single-phase socket; Wherein, Base resistance is parallelly connected with an end of base biasing resistor; Signal input part as solid-state relay and electronic switching circuit thereof; Its other end of two is connected respectively to the base stage and the power cathode of triode; The collector electrode of the positive polarity input of positive source, solid-state relay and negative polarity input thereof, light-emitting diode, triode and emitter thereof and power cathode are formed series loop, and two ac output ends of solid-state relay are parallel with the metal oxide piezo-resistance, and are connected respectively to the phase line utmost point (the L utmost point) and the working zero line utmost point (the N utmost point) of single-phase socket.
The utility model has constituted the serial port of computer and the interface between the home electronic appliance; Under the management of computer software, through RTS combination, respectively one of two groups of 4bit tri-state gate circuits of gating and 3-8 decoder; Perhaps obtain three sensor status; Perhaps the verification serial port sends the instruction of data terminal TXD output, perhaps exports this instruction through the later director data of decoding, manages 4 groups of electronic switching circuits.Used transducer comprises: Switch-Output Type ,+3V--the transducer of level output type, pulse signal output type or the resistance saltus step type of+6V.
The utility model is separated 4 groups of electronic switching circuits from interface arrangement; Independently be arranged to the terminal, be repeated to arrange to have sensor terminals on each terminal, the similar interface arrangement of mentioning in the background technology relatively; Its advantage is: be convenient to four terminals and combine home electronic appliance to use separately nearby; Simultaneously, only need to solve the heat dissipation problem of a solid-state relay, be suitable for the multiple household electrical appliance of automatic operating and detect the occasion of related sensor.
Description of drawings
Below in conjunction with accompanying drawing, further specify the utility model.
Fig. 1 is the schematic diagram (I) of the utility model interface section, comprising: 9 pin RS232C interfaces, RS232 <-TTL/>CMOS level shifting circuit, two groups of 4bit tri-state gate circuit, transducer RS1, RS2, RS3 and RS4,2-4 decoding circuit, binary counter and voltage-stabilized power supply circuits.
Fig. 2 is the schematic diagram (II) of the utility model interface section, comprising: binary counter, 3-8 decoder and 4 pairs are opened, the stop instruction data output end.
Fig. 3 is the schematic diagram of the utility model terminal part, comprising: rest-set flip-flop and solid-state relay and electronic switching circuit thereof.
Fig. 4 is the solid-state relay and the electronic switching circuit thereof of the schematic diagram of the utility model terminal part.
Among Fig. 1,5. voltage-stabilized power supply circuit, 51. anti-thunderbolts and surge circuit, the 8.RS232C interface, <-TTL/>CMOS level shifting circuit is organized 4bit tri-state gate circuits, 14.2-4 decoding circuit, 21. binary counters for 13. liang to 11.-12. RS232.
Among Fig. 2,21. binary counters, 22. 3-8 decoders.
Among Fig. 3,1. solid-state relay and electronic switching circuit thereof, 24.RS trigger.
Among Fig. 4,91. solid-state relay SSR.
Embodiment
From the foundation of the instruction of the TXD mouth line transfer operation electronic switch of computer serial port action be:
1) can select the information format of asynchronous serial communication through the Settings attribute of revising serial communication control MSComm32.OCX: " character+parity check bit of (1 low level) start bit+transmission+(1,1.5 or 2 high level) position of rest ".For example, its default parameter value is " 9600, N, 8,1 ", and the meaning is " employed COM1 is not done parity check with the speed transmission of per second 9600 Bit, and each data cell is 8 Bit, and position of rest is 1 Bit ".Use following order also can realize this attribute: MSComm1.Settings=" 9600, n, 8,1 ".
When program need transfer out a character string; Use the Output attribute of control MSComm32.OCX that character string is write in the output register; For example: MSComm1.Output=" ABCDE ", this is about to five characters of ABCDE and sends out in regular turn through the RS232C interface.
2) serial port transmission line is in high level at ordinary times.Its front of character of every transmission is superimposed with a low level beginning flag position.Transmit letter " B ", its ASCII character is " 42H=0100 0010B ", and in the transport process, the waveform that TXD sends is: 11110010000101, can produce 3 rising edge positive transition pulses; And transmit letter " A "=" 41H=0100 0001B ", and the waveform that TXD sends is: 11110010000011, only produce 2 rising edge positive transition pulses.
As shown in Figure 2, the clock pulse signal input of binary counter (21) is that just to jump the limit effective.The state of supposing the output of binary counter (21) is Q3Q2Q1Q0=0000.Continuously transmit now several letters " B ", the count results that can make the output of binary counter (21) take place successively is: 0011=3,0110=6,1001=9; 1100=12,1111=15,10010=18,10101=21; 11000=24,11011=27,11110=30, or the like.Till 11000=24, low three have occurred 8 assembled state: Q2Q1Q0=3,6 completely, 1,4,7,2,5,0 successively.
3) still, serial port only has two output interconnections, the unable binary counter of zero clearing again (21).So; Designed one group of 4bit tri-state gate circuit; By four decoded signal outputs of 2-4 decoder (14) it/Y1 comes gating; Thereby the count status of inquiry binary counter (21) is so that transfer out the letter " B " of suitable number, correction instruction data through the transmission data wire TXD of serial port again.
4) in the correction instruction data procedures, the count status at random of binary counter (21) must not pass through arbitrarily output of 3-8 decoder (22), otherwise can cause the action that makes a mistake of solid-state relay and electronic switching circuit (1) thereof.This by four decoded signal outputs of 2-4 decoder (14) it/Y3 ensures as the gating signal of 3-8 decoder (22).But; Generally can't help/Y1 or/Y2 controls the output of 3-8 decoder (22); Because, if other circuit by/Y3 control the time, needs intermediatenesses 01 of experience or 10 from DTR/RTS=00-01-11; It is lasted for carries out some microseconds that instruction is required, but can have influence on solid-state relay and electronic switching circuit thereof (1) after all.
The foundation that computer uses input interconnection CTS, DSR and the CD of serial port to detect 3bit director data and three sensor status is the event attribute of serial communication control MSComm32.OCX, comprising:
A. ComEvSend: the number of characters in the transmission register also lacks than Sthreshold;
B. ComEvReceive: receive Sthreshold character, this incident continues to produce up to removing from receiving register with the Input attribute;
C. the state of ComEvCTS:Clear_to_Send line changes;
D. the state of ComEvDSR:Data_Set_Ready line changes to 0 from 1;
E. the state of ComEvCD:Carrier_Detect line changes;
F. ComEvRing: detect bell signal; But; The attribute MSComm32.CTSholding, MSComm32.DSRholding or the MSComm32.DCDholding that do not possess the serial communication control; Can't inquire about the height situation that detects its level, some UART (asynchronous reception-transmitter) possibly not support this incident;
G. ComEvEOF: receive the end of data (ASCII is 26) character.
According to above-mentioned f, relate to the transducer RS1 of mouthful line RI and certain 1bit in two groups of 4bit tri-state gate circuits (13) among Fig. 1 and in fact do not use, belong to unnecessary.
In the use; The interface section of the utility model is connected through cable with terminal part; Its corresponding relation is: the pair of control signal lead-in clamp on the terminal-->4 couple on the interface opens, one of stop instruction data output end; The positive pole of the working power on the terminal, negative terminal-->positive pole, the negative pole of working power on the interface, 3 pairs of sensor terminals on the terminal--RS2, RS3 and RS4 on the interface.Wherein, In order to guarantee the distance of wire transmission; 8 decoded signal outputs of 3-8 decoder are exported through the open collector of a PNP triode respectively; Constituted altogether 4 pairs open, the stop instruction data output end, the electric pulse that had both prevented possibly to occur in the connection procedure damages integrated circuit, has strengthened power output again.

Claims (6)

1. serial port searching and managing separate type household electrical appliance automation junction block, it is characterized in that: it is made up of interface and terminal two parts; The interface section comprises: 9 pin RS232C interfaces, RS232-TTL/CMOS level shifting circuit, two groups of 4bit tri-state gate circuits, the 4 pairs of sensor terminals, 2-4 decoder, binary counter, 3-8 decoder, 4 pairs open, stop instruction data output end, voltage-stabilized power supply circuit, anti-thunderbolt and surge circuit and supply main and plug thereof; The terminal comprises: the positive pole of rest-set flip-flop, pair of control signal lead-in clamp, solid-state relay and electronic switching circuit thereof, working power, negative terminal and 3 pairs of sensor terminals; Wherein, 4 couple that pair of control signal lead-in clamp on the terminal is connected to the interface section opens, one of stop instruction data output end; The positive pole of the working power on the terminal, negative terminal are connected respectively to positive pole, the negative pole of the working power of interface section, and 3 pairs of sensor terminals on the terminal are connected respectively to 3 pairs of sensor terminals on the interface.
2. serial port searching and managing separate type household electrical appliance automation junction block according to claim 1; It is characterized in that: in the interface section; The 4th pin DTR of 9 pin RS232C interfaces, the 7th pin RTS, the 3rd pin TXD are connected respectively to separately RS232, and < three RS232C level signal inputs of-TTL/>CMOS level shifting circuit, corresponding three the TTL/CMOS level signal outputs of this level shifting circuit are connected respectively to two signal input parts of 2-4 decoder and the clock signal input terminal of binary counter; Two groups of 4bit tri-state gate circuits, four signal output parts separately are parallel connection in twos; Constitute four public signal output parts; Pull-up resistor of each public signal output part series connection is to positive source; Be also connected to RS232 one of four TTL/CMOS level signal inputs of-TTL/CMOS level shifting circuit, corresponding four the RS232C level signal outputs of this level shifting circuit are connected respectively to the first pin CD, the 6th pin DSR, the 8th pin CTS and the nine kinds of needles RI of RS232C interface; Four signal input parts of one group of 4bit tri-state gate circuit are connected respectively to four count signal outputs of binary counter, and four signal input parts of another group 4bit tri-state gate circuit have constituted 4 pairs of sensor terminals with power cathode respectively; Four decoded signal outputs of 2-4 decoder it/Y0 ,/Y1 is connected respectively to two groups of 4bit tri-state gate circuits and 3-8 decoder output enable end separately with/Y3; Low three three signal input parts that are connected respectively to the 3-8 decoder in its count signal output of binary counter; The effective Enable Pin of the high level of 3-8 decoder is received the positive pole of power supply; Its 8 decoded signal outputs are connected to the base stage of a PNP triode respectively through a base resistance; Like this one has 8 PNP triodes; Their emitter is all received positive source, their collector electrode constitute in regular turn 4 pairs open, the stop instruction data output end; The ac input end of voltage-stabilized power supply circuit is parallelly connected with anti-thunderbolt and surge circuit, receives civil power through supply main and plug thereof, and the output negative pole of voltage-stabilized power supply circuit links to each other with the 5th pin GND of RS232C interface.
3. serial port searching and managing separate type household electrical appliance automation junction block according to claim 1; It is characterized in that: in the terminal; The corresponding pair of control signal lead-in clamp that is connected to of the control end R of rest-set flip-flop with S; And the pull down resistor of connecting separately is to power cathode, and the output of rest-set flip-flop is connected to the signal input part of solid-state relay and electronic switching circuit thereof.
4. serial port searching and managing separate type household electrical appliance automation junction block according to claim 1 is characterized in that: solid-state relay and electronic switching circuit thereof comprise a base resistance, a base biasing resistor, a NPN triode, a solid-state relay, a light-emitting diode and a single-phase socket; Wherein, Base resistance is parallelly connected with an end of base biasing resistor; Signal input part as solid-state relay and electronic switching circuit thereof; Its other end of two is connected respectively to the base stage and the power cathode of triode; The collector electrode of the positive polarity input of positive source, solid-state relay and negative polarity input thereof, light-emitting diode, triode and emitter thereof and power cathode are formed series loop, and two ac output ends of solid-state relay are parallel with the metal oxide piezo-resistance, and are connected respectively to the phase line utmost point and the working zero line utmost point of single-phase socket.
5. serial port searching and managing separate type household electrical appliance automation junction block according to claim 1; It is characterized in that: said voltage-stabilized power supply circuit is made up of power transformer, diode bridge rectifier circuit, capacitor filter and circuit of three-terminal voltage-stabilizing integrated, and two outputs of circuit of three-terminal voltage-stabilizing integrated have constituted the positive source and the power cathode of this device respectively.
6. serial port searching and managing separate type household electrical appliance automation junction block according to claim 1, it is characterized in that: said anti-thunderbolt and surge circuit are composed in series by a fuse and a piezo-resistance.
CN2011202486590U 2011-07-14 2011-07-14 Serial port query management separate household electrical appliance automatic connection terminal Expired - Fee Related CN202374242U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011202486590U CN202374242U (en) 2011-07-14 2011-07-14 Serial port query management separate household electrical appliance automatic connection terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011202486590U CN202374242U (en) 2011-07-14 2011-07-14 Serial port query management separate household electrical appliance automatic connection terminal

Publications (1)

Publication Number Publication Date
CN202374242U true CN202374242U (en) 2012-08-08

Family

ID=46597933

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011202486590U Expired - Fee Related CN202374242U (en) 2011-07-14 2011-07-14 Serial port query management separate household electrical appliance automatic connection terminal

Country Status (1)

Country Link
CN (1) CN202374242U (en)

Similar Documents

Publication Publication Date Title
CN103929169A (en) Sensor output level isolation and conversion circuit, level isolation and conversion circuit and device
CN202374242U (en) Serial port query management separate household electrical appliance automatic connection terminal
CN201928255U (en) Household electronic appliance automation wire holder with sending data line management by serial port
CN201828910U (en) Eight-path sensor and four-set domestic appliance wire holder for tie line management of serial port
CN201927018U (en) Automatic wire holder for 2&lt;8N&gt;/2 paths of household appliances capable of realizing output data management through interconnecting lines of serial port
CN102231930B (en) Light-control digital interface circuit
CN201937568U (en) Serial port query management check instruction type automatic wire holder for household electric appliance
CN202206364U (en) Serial-port inquiring and managing eight-way automation wire holder for household electronics
CN203301380U (en) An AC null line and live wire intelligent identifying and converting circuit
CN202050398U (en) Command-type 8-circuit sensor 28N/2 group appliance wire holder managed and checked by serial port junctor
CN201828909U (en) Household electronic product automatic wire holder capable of realizing inquiry management of serial ports
CN202206368U (en) Automatic bidirectional wireless wiring seat for checking and managing separable home appliances through serial port
CN201928256U (en) Household electronic and electrical-appliance automatic-wiring seat for managing output data of serial-port connecting line
CN201928258U (en) Serial port junctor output data instruction type 2&lt;8N&gt;/2-channel automatic connector base for electrical household appliances
CN201878127U (en) Serial port TXD (transmit data) line management type automated connector base for eight sets of household appliances
CN206341229U (en) A kind of telecommunication circuit and household electrical appliance
CN102446148B (en) 2&lt;8N&gt;/2 paths domestic electric appliance automatic wire holder for tie line output data management of serial port
CN203733294U (en) Remote control circuit and remote controller
CN201878126U (en) Serial port TXD (transmit data) line management instruction-checking type automated connector base for eight sets of household appliances
CN201898499U (en) Serial-port instruction checking type wire holder for managing 24N/2 groups of household electronic products by TXD wire
CN202435375U (en) Serial port query/management separating household electric product automatic connector
CN102447464B (en) Serial port TXD (transmit data) line management check indicator type 24N/2 group household electronic wire holder
CN202206369U (en) Serial-port inquired and managed disconnect-type automation wireless holder for household electronics
CN202050399U (en) Serial port tie line management instruction-check-type 8K-channel sensor 128-group home appliance wire holder
CN202424675U (en) Serial port query management power saving type divided electric appliance automation bidirectional wireless connection terminal

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120808

Termination date: 20130714