[go: up one dir, main page]

CN201928254U - Automatic wire holder for serial-port link-line decoding-type managed household electronic and electric appliance - Google Patents

Automatic wire holder for serial-port link-line decoding-type managed household electronic and electric appliance Download PDF

Info

Publication number
CN201928254U
CN201928254U CN2010205317528U CN201020531752U CN201928254U CN 201928254 U CN201928254 U CN 201928254U CN 2010205317528 U CN2010205317528 U CN 2010205317528U CN 201020531752 U CN201020531752 U CN 201020531752U CN 201928254 U CN201928254 U CN 201928254U
Authority
CN
China
Prior art keywords
circuit
power supply
terminals
resistor
pin
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
CN2010205317528U
Other languages
Chinese (zh)
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.)
Chongqing Technology and Business University
Original Assignee
Chongqing Technology and Business 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 Chongqing Technology and Business University filed Critical Chongqing Technology and Business University
Priority to CN2010205317528U priority Critical patent/CN201928254U/en
Application granted granted Critical
Publication of CN201928254U publication Critical patent/CN201928254U/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Electronic Switches (AREA)

Abstract

The utility model relates to an automatic wire holder for serial-port link-line decoding-type managed household electronic and electric appliances, belonging to an interface device for a computer and household electric appliances. The automatic wire holder uses the computer as a main machine, is matched with four switching value output sensors, can automatically detect relevant conditions and can automatically run three pairs of electronic and electric appliances. The automatic wire holder comprises an RS232C interface, a universal serial bus (USB) interface, a USB-to-serial-port conversion circuit, four pairs of sensor interface terminals, a decoding, pulse width discrimination and output signal latch circuit, three groups of electronic switching circuits, a regulated power supply circuit and a lightning and surge protection circuit, wherein the pin CD, the pin DSR, the pin CTS and the pin RI of the RS232C interface and the cathode of a power supply respectively form the four pairs of sensor interface terminals through four pull-up resistors, and the pin DTR and the pin RTS of the serial port control the three groups of electronic switching circuits through voltage stabilizing diodes which are used for limiting voltage and the decoding, pulse width discrimination and output signal latch circuit. By using two groups of computer-managed-to-common power supply socket circuits, the device can be used for directly controlling the operation of the household electronic and electric appliances through sensors or can be used as a common power supply wire holder.

Description

串行口联络线译码型管理的家用电子电器自动化接线座Serial port connection line decoding type management of household electronic appliances automation terminal block

技术领域technical field

本实用新型属于应用电子技术领域,特别是涉及一种实现家用电器自动化的计算机与家用电子和电器的接口装置。The utility model belongs to the technical field of applied electronics, in particular to an interface device between a computer and household electronics and electric appliances for realizing the automation of household appliances.

背景技术Background technique

最近准备提交国家知识产权局专利局审查的实用新型专利“可以计算机管理的家用电子电器自动化接线座”分析了目前国内市场上实现家用电子和电器自动化运行的产品与技术状况,其提出的实用新型以个人计算机为主机,能够配合4个开关量输出型传感器,按照预设的计划自动检测外部环境的相应状况,自动运行两对家用电子或两对电器,也可以独立地配合开关量输出型传感器控制家电运行,或当作普通的电源插座使用。该实用新型使用市电作为其工作电源,其交流电电子开关电路和弱电电子开关电路通过并联的方式还可以扩展,但是,由于控制电子电器运行的RS232C接口的握手联络线只有RTS,DTR两路,因此,这种并联扩展带来的多路电器的使用也仍然是并联方式的,不能够独立地控制运行。The utility model patent "automated terminal block for household electronics and appliances that can be managed by computer" that is to be submitted to the Patent Office of the State Intellectual Property Office for review recently analyzes the current domestic market for products and technologies that realize the automatic operation of household electronics and appliances, and the proposed utility model With a personal computer as the host, it can cooperate with 4 switch output sensors, automatically detect the corresponding conditions of the external environment according to the preset plan, automatically run two pairs of household electronics or two pairs of electrical appliances, and can also independently cooperate with switch output sensors Control the operation of home appliances, or use it as an ordinary power socket. This utility model uses commercial power as its working power supply, and its alternating current electronic switch circuit and weak current electronic switch circuit can be expanded through parallel connection. However, since the handshake connection line of the RS232C interface that controls the operation of electronic appliances is only RTS and DTR, Therefore, the use of multiple electrical appliances brought about by this parallel expansion is still in parallel mode, and the operation cannot be controlled independently.

实用新型内容Utility model content

本实用新型的目的在于提供一款串行口联络线译码型管理的家用电子电器自动化接线座,它能够配合4个开关量输出型传感器,以计算机为主机,自动检测外部环境的相应状况,自动运行3对家用电子或电器;也可以独立使用;包括:9针RS232C接口、USB接口、USB转串行口电路、4对传感器接口接线端、译码、脉宽鉴别及输出信号锁存电路、3组电子开关电路、稳压电源电路、防雷击和浪涌电路、2组计算机管理转普通电源插座电路以及市电电源线及其插头。The purpose of this utility model is to provide a serial port connection line decoding type management of household electronic appliance automatic terminal block, which can cooperate with 4 switch output type sensors, with a computer as the host, to automatically detect the corresponding conditions of the external environment, Automatically run 3 pairs of household electronics or electrical appliances; can also be used independently; including: 9-pin RS232C interface, USB interface, USB to serial port circuit, 4 pairs of sensor interface terminals, decoding, pulse width identification and output signal latch circuit , 3 sets of electronic switching circuits, regulated power supply circuits, lightning protection and surge circuits, 2 sets of computer management to ordinary power socket circuits, and mains power cords and their plugs.

本实用新型解决其技术问题所采用的技术方案是:The technical scheme that the utility model solves its technical problem adopts is:

USB接口连接到USB转串行口电路的相应的信号输入端,后者的信号输出端与RS232C接口的相应端口线并联;RS232C接口的第一针CD、第六针DSR、第八针CTS与第九针R1分别连接一个上拉电阻到电源正极,这四针与电源负极分别构成了4对传感器接口接线端;RS232C接口的第四针DTR、第七针RTS各自通过一只发光二极管连接到译码、脉宽鉴别及输出信号 锁存电路的2个信号输入端,这2个信号输入端还分别连接一只下拉电阻与一只稳压二极管的负极,该下拉电阻的另一端与稳压二极管的正极都连接到电源负极;译码、脉宽鉴别及输出信号锁存电路的输出端中的三个分别连接到3组电子开关电路的控制信号输入端;稳压电源电路的交流输入端与防雷击和浪涌电路并联,通过市电电源线及其插头接到市电,稳压电源电路的负极与RS232C接口的第五针GND相连。The USB interface is connected to the corresponding signal input terminal of the USB-to-serial port circuit, and the signal output terminal of the latter is connected in parallel with the corresponding port line of the RS232C interface; the first pin CD of the RS232C interface, the sixth pin DSR, the eighth pin CTS and The ninth pin R1 is respectively connected to a pull-up resistor to the positive pole of the power supply. These four pins and the negative pole of the power supply respectively constitute 4 pairs of sensor interface terminals; the fourth pin DTR and the seventh pin RTS of the RS232C interface are respectively connected to the Decoding, pulse width identification and output signal Two signal input terminals of the latch circuit, these two signal input terminals are also connected to a pull-down resistor and the negative pole of a Zener diode, the other end of the pull-down resistor is connected to the voltage regulator The anodes of the diodes are all connected to the negative pole of the power supply; three of the output terminals of the decoding, pulse width discrimination and output signal latch circuits are respectively connected to the control signal input terminals of the three sets of electronic switch circuits; the AC input terminals of the regulated power supply circuit It is connected in parallel with the lightning protection and surge circuit, connected to the mains through the mains power cord and its plug, and the negative pole of the regulated power supply circuit is connected to the fifth pin GND of the RS232C interface.

所述稳压电源电路由电源变压器、二极管桥式整流电路、电容滤波电路以及三端稳压集成电路7806组成,7806的两个输出端分别构成了本装置的电源正极与电源负极。The stabilized power supply circuit is composed of a power transformer, a diode bridge rectifier circuit, a capacitor filter circuit and a three-terminal stabilized voltage integrated circuit 7806, and the two output terminals of the 7806 respectively constitute the positive pole and the negative pole of the power supply of the device.

所述防雷击和浪涌电路由一只熔断器和一个压敏电阻串连组成。The lightning strike and surge protection circuit is composed of a fuse and a varistor connected in series.

所述3组电子开关电路的结构相同,各自包括:1路交流电电子开关电路和1路弱电电子开关电路。The three groups of electronic switch circuits have the same structure, and each includes: 1 AC electronic switch circuit and 1 weak current electronic switch circuit.

所述交流电电子开关电路包括:1只NPN三极管、1只PNP三极管、1个基极电阻、1个基极偏置电阻、1个集电极电阻、1个限流用集电极电阻和一块固态继电器;其中,基极电阻的一端接NPN三极管的基极,另一端作为该电子开关电路的控制信号输入端,基极偏置电阻并联在PNP三极管的发射结上,该PNP三极管的发射极接电源正极,其基极串联一个集电极电阻连接到NPN三极管的集电极,NPN三极管的发射极连接到电源负极,PNP三极管的集电极串联一个限流用集电极电阻连接到固态继电器的控制信号输入端中的正极,固态继电器的控制信号输入端中的负极连接到电源负极;固态继电器的两个输出端构成该交流电电子开关电路的输出端。The alternating current electronic switch circuit includes: 1 NPN transistor, 1 PNP transistor, 1 base resistor, 1 base bias resistor, 1 collector resistor, 1 current limiting collector resistor and a solid state relay; Among them, one end of the base resistor is connected to the base of the NPN transistor, and the other end is used as the control signal input end of the electronic switch circuit. The base bias resistor is connected in parallel to the emitter junction of the PNP transistor, and the emitter of the PNP transistor is connected to the positive pole of the power supply. , the base of which is connected in series with a collector resistor to the collector of the NPN transistor, the emitter of the NPN transistor is connected to the negative pole of the power supply, and the collector of the PNP transistor is connected in series with a current-limiting collector resistor to the control signal input of the solid-state relay. The positive pole and the negative pole of the control signal input terminal of the solid state relay are connected to the negative pole of the power supply; the two output terminals of the solid state relay constitute the output terminal of the alternating current electronic switch circuit.

所述弱电电子开关电路包括:一只三极管及其基极电阻、一只二极管、一只发光二极管和一个直流继电器;其中,基极电阻的一端接三极管的基极,另一端作为该电子开关电路的控制信号输入端,三极管的发射极连接到电源负极,其集电极连接到发光二极管的负极,发光二极管的正极分别连接到二极管的正极和直流继电器的线圈的一端,二极管的负极与直流继电器的线圈的另一端都连接到电源正极;直流继电器的两对单刀双掷开关的六个接线端构成了该弱电电子开关电路的输出端。The weak current electronic switch circuit includes: a triode and its base resistor, a diode, a light-emitting diode and a DC relay; wherein, one end of the base resistor is connected to the base of the triode, and the other end is used as the electronic switch circuit The control signal input terminal of the triode, the emitter of the triode is connected to the negative pole of the power supply, the collector is connected to the negative pole of the light-emitting diode, the positive pole of the light-emitting diode is respectively connected to the positive pole of the diode and one end of the coil of the DC relay, and the negative pole of the diode is connected to the negative pole of the DC relay. The other end of the coil is connected to the positive pole of the power supply; the six terminals of the two pairs of single-pole double-throw switches of the DC relay constitute the output end of the weak current electronic switch circuit.

所述2组计算机管理转普通电源插座电路的结构相同,各自包括1个限流隔离电阻、1个开关和一个隔离用二极管;其中,限流隔离电阻的一端连接开关的一端,其另一端连接到电源正极,开关的另一端连接二极管的正极,并从开关的两端引出1对接线柱,构成了独立使用时的传感器接线端;这两个串联电路中的二极管的负极分别连接到译码、脉宽鉴别及输出信号锁存电路的2个信号输入端。The two groups of computer management circuits have the same structure, each including a current-limiting isolation resistor, a switch and an isolation diode; wherein, one end of the current-limiting isolation resistor is connected to one end of the switch, and the other end is connected to To the positive pole of the power supply, the other end of the switch is connected to the positive pole of the diode, and a pair of binding posts are drawn from both ends of the switch to form the sensor terminal for independent use; the negative poles of the diodes in the two series circuits are respectively connected to the decoding , 2 signal input ends of pulse width discrimination and output signal latch circuit.

所述译码、脉宽鉴别及输出信号锁存电路包括:一块译码器集成电路、三块单稳态触发器电路与三块D触发器及其上电置1电路;其中,上电置1电路是由电源正极、一只电解电 容、一个电阻与电源负极所组成的串联电路,并从电解电容的负极与电阻的联接点引出导线连接到三块D触发器的置1端;每一块单稳态触发器电路都由一块单稳态触发器与其定时电阻和定时电容组成,一块单稳态触发器电路与一块D触发器构成一路脉宽鉴别及输出信号锁存电路;译码器的两个输入信号端构成本电路的2个信号输入端,其译码输出端中的三个分别连接到一路脉宽鉴别及输出信号锁存电路中的单稳态触发器中的下降沿触发信号输入端与D触发器中的D输入端;每一路脉宽鉴别及输出信号锁存电路中的单稳态触发器的反相输出端 

Figure DEST_PATH_GSB00000495518400031
连接到相应的D触发器的时钟信号输入端,而D触发器的反相输出端 
Figure DEST_PATH_GSB00000495518400032
作为本电路的输出信号;译码器的使能端及其接地端、三块单稳态电路的上升沿触发信号输入端及其接地端、三块D触发器的复位端都连接到电源负极,它们的电源端与三块单稳态触发器的复位端都连接到电源正极。The decoding, pulse width discrimination and output signal latching circuits include: a decoder integrated circuit, three monostable flip-flop circuits, three D flip-flops and power-on reset 1 circuits; wherein, power-on reset 1 The circuit is a series circuit composed of the positive pole of the power supply, an electrolytic capacitor, a resistor, and the negative pole of the power supply, and the wires are drawn from the connection point between the negative pole of the electrolytic capacitor and the resistor to connect to the 1 terminal of the three D flip-flops; each The monostable flip-flop circuit is composed of a monostable flip-flop and its timing resistor and timing capacitor. A monostable flip-flop circuit and a D flip-flop form a pulse width discrimination and output signal latch circuit; The two input signal terminals constitute the two signal input terminals of this circuit, and three of the decoding output terminals are respectively connected to the falling edge trigger signal in the monostable flip-flop in the one-way pulse width discrimination and output signal latch circuit The input terminal and the D input terminal in the D flip-flop; the inverting output terminal of the monostable flip-flop in each pulse width discrimination and output signal latch circuit
Figure DEST_PATH_GSB00000495518400031
Connect to the clock signal input of the corresponding D flip-flop, while the inverting output of the D flip-flop
Figure DEST_PATH_GSB00000495518400032
As the output signal of this circuit; the enabling terminal of the decoder and its grounding terminal, the rising edge trigger signal input terminal of the three monostable circuits and its grounding terminal, and the reset terminals of the three D flip-flops are all connected to the negative pole of the power supply , their power terminals and the reset terminals of the three monostable flip-flops are all connected to the positive pole of the power supply.

本实用新型构成了计算机与家用电子电器之间的接口,在计算机软件的管理下,可以配合多类市售传感器工作,包括:输出信号为开关型、+3V~+15V的电平型或脉冲信号型或电阻跳变型的传感器,有利于检测和自动运行所连接的家用电子或家用电器,并且,传感器与家电的组合适应于多种场合;其优点是:采用了译码、脉宽鉴别及输出信号锁存电路,使得计算机通过两根串行口输出联络线可以分别控制3组电子开关电路,同时,本实用新型也可以配合传感器直接控制电子电器的运行,或者独立地当作一般的电源插座使用,安全、便利。The utility model constitutes the interface between the computer and the household electronic appliances. Under the management of the computer software, it can work with many kinds of commercially available sensors, including: the output signal is switch type, +3V~+15V level type or pulse Signal type or resistance jump type sensors are beneficial to detect and automatically operate connected household electronics or household appliances, and the combination of sensors and household appliances is suitable for various occasions; its advantages are: it adopts decoding, pulse width identification and The output signal latch circuit enables the computer to control three groups of electronic switch circuits respectively through two serial port output connection lines. At the same time, the utility model can also cooperate with the sensor to directly control the operation of electronic appliances, or it can be used as a general power supply independently The use of sockets is safe and convenient.

附图说明Description of drawings

下面结合附图,进一步说明本实用新型。Below in conjunction with accompanying drawing, further illustrate the utility model.

图1是本实用新型的电路原理图。Fig. 1 is the schematic circuit diagram of the utility model.

图2是译码、脉宽鉴别及输出信号锁存电路的原理图。Figure 2 is a schematic diagram of decoding, pulse width discrimination and output signal latch circuit.

图3是一组电子开关电路的原理图。Figure 3 is a schematic diagram of a group of electronic switching circuits.

图中,1.译码、脉宽鉴别及输出信号锁存电路,2.-4.电子开关电路,5.稳压电源电路,51.防雷击和浪涌电路,6.USB接口,7.USB转串行口电路,8.RS232C接口,11.译码器,12.-14.单稳态触发器电路,15.-17.D触发器,31.单刀双掷直流电磁继电器,32.固态继电器SSR。In the figure, 1. Decoding, pulse width identification and output signal latch circuit, 2.-4. Electronic switch circuit, 5. Regulated power supply circuit, 51. Lightning strike and surge protection circuit, 6. USB interface, 7 .USB to serial port circuit, 8. RS232C interface, 11. Decoder, 12.-14. Monostable trigger circuit, 15.-17. D flip-flop, 31. Single-pole double-throw DC electromagnetic relay, 32 . Solid state relay SSR.

具体实施方式Detailed ways

如图1所示,本实用新型包括下列主要部分:用Rs1,Rs2,Rs3,Rs4表示的4个传感器;译码、脉宽鉴别及输出信号锁存电路(1)及其RS232C→CMOS接口保护电路:工作状态指示 灯LED1与稳压二极管DZ1、工作状态指示灯LED2与稳压二极管DZ2串联到电源负极的电路;电子开关电路(2)、(3)和(4);2组计算机管理转普通电源插座电路:R5,S1,D1,R7和R6,S2,D2,R8;+9V稳压电源电路(5)与防雷击和浪涌电路(51);USB接口(6)、USB转串行口电路(7)以及RS232C接口(8)。As shown in Figure 1, the utility model comprises the following main parts: 4 sensors represented by Rs1, Rs2, Rs3, Rs4; decoding, pulse width discrimination and output signal latch circuit (1) and its RS232C→CMOS interface protection Circuit: working status indicator LED1 and Zener diode DZ1, working status indicator LED2 and Zener diode DZ2 connected in series to the negative pole of the power supply; electronic switch circuits (2), (3) and (4); 2 groups of computer management switches Ordinary power outlet circuit: R5, S1, D1, R7 and R6, S2, D2, R8; +9V regulated power supply circuit (5) and lightning protection and surge protection circuit (51); USB interface (6), USB transfer Serial port circuit (7) and RS232C interface (8).

计算机的RS232C接口的传输距离可达15米,传输速率可达19200baud,逻辑0对应电平+3V~+15V,逻辑1对应电平-3V~(-15)V。因此,如图1所示,采用上拉电阻R1,R2,R3,R4与Rs1,Rs2,Rs3,Rs4接地的方式构成了传感器的接口电路,适应多类传感器工作,包括:输出信号为开关型、+3V~+15V的电平型或脉冲信号型或电阻跳变型的传感器。The transmission distance of the RS232C interface of the computer can reach 15 meters, and the transmission rate can reach 19200baud. Logic 0 corresponds to a level of +3V~+15V, and logic 1 corresponds to a level of -3V~(-15)V. Therefore, as shown in Figure 1, the interface circuit of the sensor is formed by using the pull-up resistors R1, R2, R3, R4 and Rs1, Rs2, Rs3, Rs4 to be grounded, which is suitable for the operation of many types of sensors, including: the output signal is switch type , +3V ~ +15V level or pulse signal or resistance jump sensor.

通过串行通信控件MSComm32.OCX的事件属性来检测传感器感应事件所输出的信号:The signal output by the sensor sensing event is detected through the event property of the serial communication control MSComm32.OCX:

1 ComEvSend:传输寄存器中的字符数比Sthreshold还少;1 ComEvSend: The number of characters in the transmission register is less than Sthreshold;

2 ComEvReceive:收到Sthreshold个字符,该事件持续产生直到用Input属性从接收寄存器中移除;2 ComEvReceive: Sthreshold characters are received, and the event continues to be generated until it is removed from the receiving register with the Input attribute;

3 ComEvCTS:Clear_to_Send线的状态发生变化;3 ComEvCTS: The state of the Clear_to_Send line changes;

4 ComEvDSR:Data_Set_Ready线的状态从1变到0;4 ComEvDSR: The state of the Data_Set_Ready line changes from 1 to 0;

5 ComEvCD:Carrier_Detect线的状态发生变化;5 ComEvCD: The status of the Carrier_Detect line changes;

6 ComEvRing:检测到振铃信号,但是,不具备串口通信控件的属性MSComm32.CTSholding/.DSRholding/.DCDholding,无法查询检测其电平的高低情况,一些UART(非同步接收-传输器)可能不支持此事件;6 ComEvRing: A ringing signal is detected, but it does not have the attributes MSComm32.CTSholding/.DSRholding/.DCDholding of the serial port communication control, and cannot query and detect its level. Some UARTs (asynchronous receiver-transmitters) may not support this event;

7 ComEvEOF:收到数据结尾(ASCII为26)字符。7 ComEvEOF: End of data (ASCII is 26) characters received.

一般情况下,家用传感器的工作电源为<15V的直流电源,工作在室内,所以,图1没有考虑在传感器Rs1,Rs2,Rs3,Rs4与RS232C接口之间安排光电耦合电路作电气隔离,降低了成本。In general, the working power supply of household sensors is <15V DC power supply and works indoors. Therefore, Figure 1 does not consider arranging photoelectric coupling circuits between sensors Rs1, Rs2, Rs3, Rs4 and RS232C interface for electrical isolation, which reduces the cost.

但是,为了防范雷击或浪涌电流的破坏,在市电的输入端并联有防雷击和浪涌电路(51);其中,估算压敏电阻的压敏电压的方法是:V1mA=1.5VP=1.5×220V=476V,V1mA=2.2VAC=2.2×220V=484V,所以,压敏电阻的击穿电压选470-480V,其通流容量选2-20KA;熔断器的规格视电子开关电路(2)-(4)中所采用的固态继电器SSR(32)(参 见图3)的额定工作电流之和确定。But, in order to prevent the damage of lightning strike or surge current, the input terminal of commercial power is connected with lightning strike and surge circuit (51) in parallel; Wherein, the method for estimating the varistor voltage of varistor is: V1mA=1.5V P = 1.5 × 220V = 476V, V1mA = 2.2VAC = 2.2 × 220V = 484V, so the breakdown voltage of the varistor is selected as 470-480V, and its flow capacity is selected as 2-20KA; the specification of the fuse depends on the electronic switch circuit ( 2) The sum of the rated operating currents of the solid state relays SSR (32) (see Figure 3) used in (4) is determined.

例如北京科通电子继电器总厂生产的JGX-10F固态继电器的输入控制电压是DC3.2~14V,输入电流的典型值是5~20mA(VDC=5V),而其额定输出电压是AC25~250V,额定输出电流为10A,足以驱动1匹的空调。For example, the input control voltage of JGX-10F solid state relay produced by Beijing Ketong Electronic Relay General Factory is DC3.2~14V, the typical value of input current is 5~20mA (VDC=5V), and its rated output voltage is AC25~250V , the rated output current is 10A, which is enough to drive a 1HP air conditioner.

图1中,RS232C接口的握手联络线RTS,DTR是计算机的输出信号,其脚位电压由串行通信控件MSComm32.OCX中的属性DTREnable,RTSEnable分别控制,该属性的数据形式均为布尔值(Boolean),以True表示高电位,以False表示低电位,适合于控制电子电器的运行。发光二极管LED1,LED2用于指示RTS,DTR的工作状态,也用于隔离计算机的串行口与电子开关电路(2)-(4),避免外部电路可能发生的大的反馈脉冲损坏计算机。由RTS,DTR脚位送出的电压经测试介于±9V~±12V之间,所送出的电流介于4mA~20mA之间,没有限流电阻也不会烧毁发光二极管。发光二极管的正向压降约为1.3V~2.4V,由RTS,DTR脚位送出的电压经过LED2或LED1以后如果还高于Vz~+5V,则由稳压二极管DZ2或DZ1实行稳压,保证后接的CMOS电路的正常工作。In Fig. 1, the handshake connection lines RTS and DTR of the RS232C interface are the output signals of the computer, and the pin voltages are respectively controlled by the attributes DTREnable and RTSEnable in the serial communication control MSComm32.OCX, and the data forms of the attributes are all Boolean values ( Boolean), with True representing high potential and False representing low potential, suitable for controlling the operation of electronic appliances. Light-emitting diodes LED1 and LED2 are used to indicate the working status of RTS and DTR, and are also used to isolate the serial port of the computer from the electronic switch circuit (2)-(4), so as to avoid possible large feedback pulses from external circuits from damaging the computer. The voltage sent by the RTS and DTR pins is tested to be between ±9V~±12V, and the sent current is between 4mA~20mA. There is no current limiting resistor and the LED will not be burned. The forward voltage drop of the light-emitting diode is about 1.3V~2.4V. If the voltage sent by the RTS and DTR pins is higher than Vz~+5V after passing through LED2 or LED1, the voltage will be stabilized by the voltage regulator diode DZ2 or DZ1. Ensure the normal operation of the subsequent CMOS circuit.

图1所示译码、脉宽鉴别及输出信号锁存电路(1)中的译码器(11)可以采用2-4译码器74HC139或3-8译码器74HC138。RTS,DTR的二进制组合形成四个状态,设置其常态00为空闲,而其余的三种状态01,10,11为运行电器指令,用于控制三路电器的运行。但是,从00→11需要两句指令以分别指定串行通信控件MSComm32.OCX中的属性DTREnable,RTSEnable,即需要经过01或10之一的中间状态,经历两条指令的执行时间,所需时间虽然在微秒级,但的确会影响到其它两路电器之一的的电子或电器的工作,因此,严格地说,不应当把译码器的输出直接地用于控制电器的运行。此外,后面连接的电子开关电路(2)-(4)应当能够独立地启动或停止工作。为此,为译码器(11)设计了配套的三路独立的“单稳态触发器+D触发器”电路即脉宽鉴别及输出信号锁存电路:每一路都能够完成鉴别信号脉冲宽度、锁存运行电器指令、更改运行电器指令的任务。具体的译码、脉宽鉴别及输出信号锁存电路(1)如图2所示。The decoder (11) in the decoding, pulse width discrimination and output signal latch circuit (1) shown in Fig. 1 can adopt 2-4 decoder 74HC139 or 3-8 decoder 74HC138. The binary combination of RTS and DTR forms four states, set its normal state 00 as idle, and the remaining three states 01, 10, 11 are instructions for running electrical appliances, which are used to control the operation of three-way electrical appliances. However, two instructions are required from 00→11 to respectively specify the attributes DTREnable and RTSEnable in the serial communication control MSComm32. Although it is at the microsecond level, it will indeed affect the electronics or electrical work of one of the other two electrical appliances. Therefore, strictly speaking, the output of the decoder should not be used directly to control the operation of electrical appliances. In addition, the electronic switch circuits (2)-(4) connected behind should be able to start or stop working independently. For this reason, for the decoder (11) designed supporting three-way independent " monostable trigger+D flip-flop " circuit namely pulse width discrimination and output signal latch circuit: each road can complete the discrimination signal pulse width , Latch the instruction to run the electric appliance, and change the task of the instruction to run the electric appliance. The specific decoding, pulse width identification and output signal latching circuit (1) is shown in Figure 2.

图2中,C0,R0串联电路在上电时引入一个高电平使得三个D触发器(15)、(16)和(17)的置1端有效,其Q1Q2Q3=111,译码、脉宽鉴别及输出信号锁存电路(1)的输出信号 

Figure DEST_PATH_GSB00000495518400051
几秒钟以后,C0,R0串联电路在上电时所引入的高电平变成了低电平,三个 D触发器(15)、(16)和(17)的置1端无效。串行口的初始状态是:DTR=LOW,RTS=LOW,译码器(11)的输出常态为 
Figure DEST_PATH_GSB00000495518400061
In Fig. 2, C0, R0 series circuit introduces a high level when power-on so that the 1 terminals of three D flip-flops (15), (16) and (17) are effective, and its Q1Q2Q3=111, decoding, pulse The output signal of wide discrimination and output signal latch circuit (1)
Figure DEST_PATH_GSB00000495518400051
After several seconds, C0, the high level that R0 series circuit introduces when power-on becomes low level, and the 1 end of three D flip-flops (15), (16) and (17) is invalid. The initial state of serial port is: DTR=LOW, RTS=LOW, the output normal state of decoder (11) is
Figure DEST_PATH_GSB00000495518400061

假设需要 

Figure DEST_PATH_GSB00000495518400062
我们分四步来实现这一目标。assume need
Figure DEST_PATH_GSB00000495518400062
We achieve this in four steps.

第一步,计算机串口线先输出DTR=HIGH,经过译码器(11)译码以后,有 

Figure DEST_PATH_GSB00000495518400063
上发生了上跳变脉冲,我们不关心它,而 上发生了不希望出现的下跳变脉冲,对于单稳态触发器(12)的触发信号输入端TR-有效,单稳态触发器(12)开始产生一个单稳态脉冲,其反相输出端 
Figure DEST_PATH_GSB00000495518400065
由高跳变为低电平,但对D触发器(15)的时钟脉冲信号输入端CLK无效。不过,经过一个单稳态触发器(12)的延时时间常数τ=(Rx×Cx)/2以后,其反相输出端 
Figure DEST_PATH_GSB00000495518400066
会由低跳变为高电平,该上跳变脉冲对D触发器(15)的时钟脉冲信号输入端CLK有效,这时,有:The first step, the computer serial port line outputs DTR=HIGH earlier, after decoder (11) decoding, there is
Figure DEST_PATH_GSB00000495518400063
An up transition pulse occurs on the , we don't care about it while An undesirable lower jump pulse has occurred on the top, and the trigger signal input terminal TR- of the monostable trigger (12) is effective, and the monostable trigger (12) begins to generate a monostable pulse, and its inverted output end
Figure DEST_PATH_GSB00000495518400065
It changes from high jump to low level, but it is invalid to the clock pulse signal input terminal CLK of D flip-flop (15). However, after the delay time constant τ=(Rx×Cx)/2 of a monostable flip-flop (12), its inverting output terminal
Figure DEST_PATH_GSB00000495518400066
Can change from low jump to high level, and this upper jump pulse is effective to the clock pulse signal input terminal CLK of D flip-flop (15), at this moment, have:

(a)如果 

Figure DEST_PATH_GSB00000495518400067
一直保持不变,则D触发器(15)的输出变成 启动了后面连接的电子开关电路(2);(a) if
Figure DEST_PATH_GSB00000495518400067
remains unchanged, the output of the D flip-flop (15) becomes The electronic switch circuit (2) connected behind is started;

(b)如果 

Figure DEST_PATH_GSB00000495518400069
已经回位到无效的高电平状态: 
Figure DEST_PATH_GSB000004955184000610
则D触发器(15)的输出变成 
Figure DEST_PATH_GSB000004955184000611
停止了后面连接的电子开关电路(2)的工作。(b) if
Figure DEST_PATH_GSB00000495518400069
has been reset to an inactive high state:
Figure DEST_PATH_GSB000004955184000610
Then the output of D flip-flop (15) becomes
Figure DEST_PATH_GSB000004955184000611
The work of the electronic switch circuit (2) connected behind is stopped.

显然,应当根据后面连接的电子开关电路(2)当前的工作状态来选择上述两种情况之一,事实上,也是可以做到这一选择的:计算机串口线输出DTR=HIGH的时间长度与单稳态触发器(12)的延时时间常数τ=(Rx×Cx)/2相匹配。Obviously, one of the above-mentioned two situations should be selected according to the current working state of the electronic switch circuit (2) connected behind. The delay time constant τ=(Rx*Cx)/2 of the steady-state trigger (12) is matched.

第二步,计算机串口线接着输出RTS=HIGH,经过译码器(11)译码以后,有 

Figure DEST_PATH_GSB000004955184000612
上发生了上跳变脉冲,但是它对后面的单稳态触发器(12)的时钟脉冲信号输入端无效,而 
Figure DEST_PATH_GSB000004955184000613
上发生了下跳变脉冲,出现了希望出现的状态,该下跳变脉冲使得单稳态触发器(14)发生动作,其反相输出端 
Figure DEST_PATH_GSB000004955184000614
由高变低电平,但它对其后接的D触发器(17)的时钟脉冲信号输入端无效。经过一个单稳态触发器(14)的延时时间常数τ=(Rx×Cx)/2以后,其反相输出端 
Figure DEST_PATH_GSB000004955184000615
会由低跳变为高电平,该上跳变脉冲对D触发器(17)的时钟脉冲信号输入端CLK有效,这时,有:In the second step, the computer serial port line then outputs RTS=HIGH, after decoder (11) decoding, there is
Figure DEST_PATH_GSB000004955184000612
The upper jump pulse has occurred on the upper, but it is invalid to the clock pulse signal input end of the monostable flip-flop (12) behind, and
Figure DEST_PATH_GSB000004955184000613
A lower jump pulse has occurred on the top, and the desired state has occurred. This lower jump pulse makes the monostable flip-flop (14) take action, and its inverting output terminal
Figure DEST_PATH_GSB000004955184000614
From high to low level, but it is invalid to the clock pulse signal input end of the D flip-flop (17) connected afterwards. After the delay time constant τ=(Rx×Cx)/2 of a monostable trigger (14), its inverting output terminal
Figure DEST_PATH_GSB000004955184000615
Can change from low jump to high level, and this upper jump pulse is effective to the clock pulse signal input terminal CLK of D flip-flop (17), at this moment, have:

(c)如果 

Figure DEST_PATH_GSB000004955184000616
一直保持不变,则D触发器(17)的输出变成 
Figure DEST_PATH_GSB000004955184000617
启动后 面连接的电子开关电路(4);(c) if
Figure DEST_PATH_GSB000004955184000616
remains unchanged, the output of the D flip-flop (17) becomes
Figure DEST_PATH_GSB000004955184000617
Start the electronic switch circuit (4) connected behind;

(d)如果 

Figure DEST_PATH_GSB00000495518400071
已经回位到无效的高电平状态: 
Figure DEST_PATH_GSB00000495518400072
则D触发器(17)的输出变成 
Figure DEST_PATH_GSB00000495518400073
停止后面连接的电子开关电路(4)的工作。(d) if
Figure DEST_PATH_GSB00000495518400071
has been reset to an inactive high state:
Figure DEST_PATH_GSB00000495518400072
Then the output of D flip-flop (17) becomes
Figure DEST_PATH_GSB00000495518400073
Stop the work of the electronic switch circuit (4) connected behind.

显然,为了启动后面连接的电子开关电路(4)工作,应当使得计算机串口线输出RTS=HIGH的时间长度长于单稳态触发器(14)的延时时间常数τ=(Rx×Cx)/2。Obviously, in order to start the work of the electronic switch circuit (4) that connects behind, should make the time length of computer serial line output RTS=HIGH be longer than the delay time constant τ=(Rx*Cx)/2 of monostable flip-flop (14) .

第三步,计算机串口线输出RTS=LOW,经过译码器(11)译码以后,有 

Figure DEST_PATH_GSB00000495518400074
上发生了上跳变脉冲,对其后面连接的单稳态触发器(14)无效,而 
Figure DEST_PATH_GSB00000495518400075
上发生了不应当出现的下跳变脉冲,对于单稳态触发器(12)的触发信号输入端TR-有效,这一情况与第一步出现的相同。The 3rd step, computer serial port line output RTS=LOW, after decoder (11) decoding, there is
Figure DEST_PATH_GSB00000495518400074
The upper jump pulse has occurred on the upper, and the monostable flip-flop (14) connected behind it is invalid, and
Figure DEST_PATH_GSB00000495518400075
The lower jump pulse that should not occur occurs on the upper side, which is valid for the trigger signal input terminal TR- of the monostable flip-flop (12), and this situation is the same as that of the first step.

第四步,计算机串口线输出DTR=LOW,经过译码器(11)译码以后,有 

Figure DEST_PATH_GSB00000495518400076
恢复到了原状态,这时, 
Figure DEST_PATH_GSB00000495518400077
上发生了上跳变脉冲,但它对后面连接的单稳态触发器(12)无效, 
Figure DEST_PATH_GSB00000495518400078
发生了下跳变脉冲,不用考虑。The 4th step, computer serial port line output DTR=LOW, after decoder (11) decoding, there is
Figure DEST_PATH_GSB00000495518400076
returned to its original state, at this time,
Figure DEST_PATH_GSB00000495518400077
The upper jump pulse occurs on the , but it has no effect on the monostable flip-flop (12) connected behind,
Figure DEST_PATH_GSB00000495518400078
A lower jump pulse has occurred and is ignored.

总之,为了准确地设置好/Q3=1,需要设置一个记忆三路电子开关(2)-(4)的工作状态的寄存器。In short, in order to accurately set /Q3=1, it is necessary to set a register for memorizing the working states of the three electronic switches (2)-(4).

对于需要 

Figure DEST_PATH_GSB00000495518400079
或 即启动或关闭电子开关电路(2)或(3),这两种情况简单些,其实已经包括在上述分析过程中。启动电子开关电路对应(a)或(c)情形:设置对应的译码器的输出端输出相应结果的时间要略长于单稳态触发器的延时时间常数τ=(Rx×Cx)/2,而关闭电子开关电路对应(b)或(d)情形:设置对应的译码器的输出端输出相应结果的时间要短于单稳态触发器的延时时间常数τ=(Rx×Cx)/2。for needs
Figure DEST_PATH_GSB00000495518400079
or That is to start or close the electronic switch circuit (2) or (3), these two cases are simpler, and have actually been included in the above analysis process. Start the electronic switch circuit corresponding to (a) or (c) situation: the time for setting the output terminal of the corresponding decoder to output the corresponding result will be slightly longer than the delay time constant τ=(Rx*Cx)/2 of the monostable trigger, And closing the electronic switch circuit corresponds to (b) or (d) situation: the time for setting the output terminal of the corresponding decoder to output the corresponding result will be shorter than the delay time constant τ=(Rx*Cx)/ 2.

图1冲的USB转串行口电路(7)可以采用南京沁恒电子有限公司的“USB转串口芯片,USB转IrDA红外,USB转打印口”芯片CH340来完成,以备某些没有配置RS232C接口的笔记本计算机使用。The USB-to-serial port circuit (7) in Figure 1 can be completed by using the "USB to serial port chip, USB to IrDA infrared, USB to printer port" chip CH340 from Nanjing Qinheng Electronics Co., Ltd., in case some do not configure RS232C interface for laptop use.

使用过程中,本实用新型的一端通过电缆接计算机的USB或RS232C接口,另一端通过电源线插入市电插座,像平时家里使用电源接线板一样把电器插入相应的插座,而4对传感器则通过接线柱来连接。对传感器不熟悉的人,可以暂时不管它,运行计算机的程序就可以管理电子或电器的运行。During use, one end of the utility model is connected to the USB or RS232C interface of the computer through a cable, and the other end is inserted into the mains socket through the power cord, and the electrical appliance is inserted into the corresponding socket like the power wiring board used at home, and the 4 pairs of sensors are connected through terminal to connect. People who are not familiar with sensors can temporarily ignore them, and run computer programs to manage the operation of electronics or electrical appliances.

如果没有使用计算机的串行口,或没有联接计算机,可以通过2组“计算机管理转普通电源插座电路”中的开关,把本实用新型当作普通的电源插座来使用;或者,从该电路中开关的两端所引出的1对接线柱,接入某种开关量输出型的传感器,或对地接入电平输出型的传感器,都可以构成传感器直接控制运行的家用电子或电器接线座。If the serial port of the computer is not used, or the computer is not connected, the utility model can be used as a common power socket through the switches in 2 groups of "computer management to common power socket circuit"; or, from the circuit A pair of binding posts drawn from both ends of the switch, connected to some kind of switch output type sensor, or connected to the ground level output type sensor, can constitute a household electronic or electrical terminal block that the sensor directly controls the operation of.

Claims (8)

1.串行口联络线译码型管理的家用电子电器自动化接线座,其特征是,包括:9针RS232C接口、USB接口、USB转串行口电路、4对传感器接口接线端、译码、脉宽鉴别及输出信号锁存电路、3组电子开关电路、稳压电源电路、防雷击和浪涌电路、2组计算机管理转普通电源插座电路以及市电电源线及其插头;其中,USB接口连接到USB转串行口电路的相应的信号输入端,后者的信号输出端与RS232C接口的相应端口线并联;RS232C接口的第一针CD、第六针DSR、第八针CTS与第九针RI分别连接一个上拉电阻到电源正极,这四针与电源负极分别构成了4对传感器接口接线端;RS232C接口的第四针DTR、第七针RTS各自通过一只发光二极管连接到译码、脉宽鉴别及输出信号锁存电路的2个信号输入端,这2个信号输入端还分别连接一只下拉电阻与一只稳压二极管的负极,该下拉电阻的另一端与稳压二极管的正极都连接到电源负极;译码、脉宽鉴别及输出信号锁存电路的输出端中的三个分别连接到3组电子开关电路的控制信号输入端;稳压电源电路的交流输入端与防雷击和浪涌电路并联,通过市电电源线及其插头接到市电,稳压电源电路的负极与RS232C接口的第五针GND相连。1. The automatic terminal block for household electronic appliances with serial port connection line decoding type management, which is characterized by: 9-pin RS232C interface, USB interface, USB to serial port circuit, 4 pairs of sensor interface terminals, decoding, Pulse width identification and output signal latch circuit, 3 sets of electronic switch circuits, regulated power supply circuit, lightning strike and surge protection circuit, 2 sets of computer management to ordinary power socket circuit, mains power cord and its plug; among them, USB The interface is connected to the corresponding signal input terminal of the USB-to-serial port circuit, and the signal output terminal of the latter is connected in parallel with the corresponding port line of the RS232C interface; the first pin CD, the sixth pin DSR, the eighth pin CTS and the first pin CTS of the RS232C interface Nine pins RI are respectively connected to a pull-up resistor to the positive pole of the power supply. These four pins and the negative pole of the power supply respectively constitute 4 pairs of sensor interface terminals; the fourth pin DTR and the seventh pin RTS of the RS232C interface are respectively connected to the translator through a light-emitting diode. Code, pulse width identification and output signal latch circuit of the two signal input terminals, these two signal input terminals are connected to a pull-down resistor and a negative voltage Zener diode, the other end of the pull-down resistor and Zener diode The positive poles of all are connected to the negative pole of the power supply; three of the output terminals of the decoding, pulse width discrimination and output signal latch circuits are respectively connected to the control signal input terminals of the three sets of electronic switch circuits; the AC input terminals of the regulated power supply circuit are connected to the The lightning protection and surge circuits are connected in parallel, connected to the mains through the mains power cord and its plug, and the negative pole of the regulated power supply circuit is connected to the fifth pin GND of the RS232C interface. 2.根据权利要求1所述的串行口联络线译码型管理的家用电子电器自动化接线座,其特征是,所述稳压电源电路由电源变压器、二极管桥式整流电路、电容滤波电路以及三端稳压集成电路组成,三端稳压集成电路的两个输出端分别构成了本装置的电源正极与电源负极。2. the household electrical appliance automation terminal block of the serial port connection line decoding type management according to claim 1, it is characterized in that, described stabilized power supply circuit is made up of power transformer, diode bridge rectifier circuit, capacitance filter circuit and Composed of a three-terminal voltage stabilizing integrated circuit, the two output terminals of the three-terminal voltage stabilizing integrated circuit respectively constitute the positive pole and negative pole of the power supply of the device. 3.根据权利要求1所述的串行口联络线译码型管理的家用电子电器自动化接线座,其特征是,所述防雷击和浪涌电路由一只熔断器和一个压敏电阻串连组成。3. The automatic terminal block of household electronic appliances according to claim 1, characterized in that, the lightning protection and surge circuit is composed of a fuse and a varistor string Even composition. 4.根据权利要求1所述的串行口联络线译码型管理的家用电子电器自动化接线座,其特征是,所述3组电子开关电路的结构相同,各自包括:1路交流电电子开关电路和1路弱电电子开关电路。4. The automatic terminal block for household electronic appliances managed by serial port connection line decoding type according to claim 1, characterized in that, the structures of the 3 groups of electronic switch circuits are the same, each comprising: 1-way AC electronic switch circuit And 1 weak current electronic switch circuit. 5.根据权利要求1所述的串行口联络线译码型管理的家用电子电器自动化接线座,其特征是,所述2组计算机管理转普通电源插座电路的结构相同,各自包括1个限流隔离电阻、1个开关和一个隔离用二极管;其中,限流隔离电阻的一端连接开关的一端,其另一端连接到电源正极,开关的另一端连接二极管的正极,并从开关的两端引出1对接线柱,构成了独立使用时的传感器接线端;这两个串联电路中的二极管的负极分别连接到译码、脉宽鉴别及输出信号锁存电路的2个信号输入端。5. The household electrical appliance automation terminal block of serial port connection line decoding type management according to claim 1, it is characterized in that, the structure of described 2 groups of computer management turns common power outlet circuit is identical, comprises 1 limiter respectively One end of the current-limiting isolation resistor is connected to one end of the switch, the other end is connected to the positive pole of the power supply, the other end of the switch is connected to the positive pole of the diode, and is drawn from both ends of the switch A pair of binding posts constitutes the sensor terminal for independent use; the cathodes of the diodes in the two series circuits are respectively connected to the two signal input terminals of the decoding, pulse width discrimination and output signal latch circuits. 6.根据权利要求1所述的串行口联络线译码型管理的家用电子电器自动化接线座,其特征是,所述译码、脉宽鉴别及输出信号锁存电路包括:一块译码器集成电路、三块单稳态触发器电路与三块D触发器及其上电置1电路;其中,上电置1电路是由电源正极、一只电解电容、一个电阻与电源负极所组成的串联电路,并从电解电容的负极与电阻的联接点引出导 线连接到三块D触发器的置1端;每一块单稳态触发器电路都由一块单稳态触发器与其定时电阻和定时电容组成,一块单稳态触发器电路与一块D触发器构成一路脉宽鉴别及输出信号锁存电路;译码器的两个输入信号端构成本电路的2个信号输入端,其译码输出端中的三个分别连接到一路脉宽鉴别及输出信号锁存电路中的单稳态触发器中的下降沿触发信号输入端与D触发器中的D输入端;每一路脉宽鉴别及输出信号锁存电路中的单稳态触发器的反相输出端 
Figure DEST_PATH_FSB00000495518300021
连接到相应的D触发器的时钟信号输入端,而D触发器的反相输出端 
Figure DEST_PATH_FSB00000495518300022
作为本电路的输出信号;译码器的使能端及其接地端、三块单稳态电路的上升沿触发信号输入端及其接地端、三块D触发器的复位端都连接到电源负极,它们的电源端与三块单稳态触发器的复位端都连接到电源正极。
6. The automatic terminal block for household electronic appliances with decoding type management of serial port connection line according to claim 1, characterized in that, the decoding, pulse width discrimination and output signal latch circuit comprises: a decoder Integrated circuit, three monostable flip-flop circuits, three D flip-flops and their power-on-set 1 circuit; among them, the power-on-set 1 circuit is composed of the positive pole of the power supply, an electrolytic capacitor, a resistor and the negative pole of the power supply A series circuit, and lead wires from the junction point of the negative pole of the electrolytic capacitor and the resistor to connect to the 1-set terminals of three D flip-flops; each monostable flip-flop circuit is composed of a monostable flip-flop and its timing resistor and timing capacitor Composition, a monostable flip-flop circuit and a D flip-flop form a pulse width discrimination and output signal latch circuit; two input signal terminals of the decoder constitute two signal input terminals of this circuit, and its decoding output terminal Three of them are respectively connected to the falling edge trigger signal input terminal in the monostable flip-flop in the one-way pulse width discrimination and output signal latch circuit and the D input terminal in the D flip-flop; each pulse width discrimination and output signal The inverting output of the monostable flip-flop in the latch circuit
Figure DEST_PATH_FSB00000495518300021
Connect to the clock signal input of the corresponding D flip-flop, while the inverting output of the D flip-flop
Figure DEST_PATH_FSB00000495518300022
As the output signal of this circuit; the enabling terminal of the decoder and its grounding terminal, the rising edge trigger signal input terminal of the three monostable circuits and its grounding terminal, and the reset terminals of the three D flip-flops are all connected to the negative pole of the power supply , their power terminals and the reset terminals of the three monostable flip-flops are all connected to the positive pole of the power supply.
7.根据权利要求4所述的串行口联络线译码型管理的家用电子电器自动化接线座,其特征是,所述交流电电子开关电路包括:1只NPN三极管、1只PNP三极管、1个基极电阻、1个基极偏置电阻、1个集电极电阻、1个限流用集电极电阻和一块固态继电器;其中,基极电阻的一端接NPN三极管的基极,另一端作为该电子开关电路的控制信号输入端,基极偏置电阻并联在PNP三极管的发射结上,该PNP三极管的发射极接电源正极,其基极串联一个集电极电阻连接到NPN三极管的集电极,NPN三极管的发射极连接到电源负极,PNP三极管的集电极串联一个限流用集电极电阻连接到固态继电器的控制信号输入端中的正极,固态继电器的控制信号输入端中的负极连接到电源负极;固态继电器的两个输出端构成该交流电电子开关电路的输出端。7. The automatic terminal block for household electronic appliances managed by serial port connection line decoding type according to claim 4, characterized in that, the AC electronic switch circuit includes: 1 NPN triode, 1 PNP triode, 1 Base resistor, 1 base bias resistor, 1 collector resistor, 1 collector resistor for current limiting and a solid state relay; wherein, one end of the base resistor is connected to the base of the NPN transistor, and the other end is used as the electronic switch The control signal input terminal of the circuit, the base bias resistor is connected in parallel to the emitter junction of the PNP transistor, the emitter of the PNP transistor is connected to the positive pole of the power supply, and its base is connected in series with a collector resistor to the collector of the NPN transistor. The emitter is connected to the negative pole of the power supply, and the collector of the PNP transistor is connected in series with a current-limiting collector resistor to the positive pole of the control signal input terminal of the solid-state relay, and the negative pole of the control signal input terminal of the solid-state relay is connected to the negative pole of the power supply; the solid-state relay The two output terminals form the output terminals of the alternating current electronic switching circuit. 8.根据权利要求4所述的串行口联络线译码型管理的家用电子电器自动化接线座,其特征是,所述弱电电子开关电路包括:一只三极管及其基极电阻、一只二极管、一只发光二极管和一个直流继电器;其中,基极电阻的一端接三极管的基极,另一端作为该电子开关电路的控制信号输入端,三极管的发射极连接到电源负极,其集电极连接到发光二极管的负极,发光二极管的正极分别连接到二极管的正极和直流继电器的线圈的一端,二极管的负极与直流继电器的线圈的另一端都连接到电源正极;直流继电器的两对单刀双掷开关的六个接线端构成了该弱电电子开关电路的输出端。 8. The automatic terminal block for household electronic appliances managed by serial port connection line decoding type according to claim 4, characterized in that, the weak current electronic switch circuit comprises: a triode and its base resistance, a diode , a light-emitting diode and a DC relay; wherein, one end of the base resistor is connected to the base of the triode, and the other end is used as the control signal input end of the electronic switch circuit, the emitter of the triode is connected to the negative pole of the power supply, and the collector is connected to the The negative pole of the light-emitting diode and the positive pole of the light-emitting diode are respectively connected to the positive pole of the diode and one end of the coil of the DC relay, and the negative pole of the diode and the other end of the coil of the DC relay are connected to the positive pole of the power supply; the two pairs of single-pole double-throw switches of the DC relay The six terminals constitute the output terminals of the weak current electronic switch circuit. the
CN2010205317528U 2010-09-16 2010-09-16 Automatic wire holder for serial-port link-line decoding-type managed household electronic and electric appliance Expired - Fee Related CN201928254U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010205317528U CN201928254U (en) 2010-09-16 2010-09-16 Automatic wire holder for serial-port link-line decoding-type managed household electronic and electric appliance

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010205317528U CN201928254U (en) 2010-09-16 2010-09-16 Automatic wire holder for serial-port link-line decoding-type managed household electronic and electric appliance

Publications (1)

Publication Number Publication Date
CN201928254U true CN201928254U (en) 2011-08-10

Family

ID=44432088

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010205317528U Expired - Fee Related CN201928254U (en) 2010-09-16 2010-09-16 Automatic wire holder for serial-port link-line decoding-type managed household electronic and electric appliance

Country Status (1)

Country Link
CN (1) CN201928254U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102176590A (en) * 2011-03-01 2011-09-07 成都医学院 Wire holder for automatically managing household electric appliances by computer

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102176590A (en) * 2011-03-01 2011-09-07 成都医学院 Wire holder for automatically managing household electric appliances by computer
CN102176590B (en) * 2011-03-01 2013-10-30 成都医学院 Wire holder for automatically managing household electric appliances by computer

Similar Documents

Publication Publication Date Title
CN105491730B (en) A kind of LED lamp with USB interface string control system
CN200980086Y (en) A controllable high-power power supplying equipment for the industrial Ethernet
CN201928254U (en) Automatic wire holder for serial-port link-line decoding-type managed household electronic and electric appliance
CN210119553U (en) Detection apparatus for whether short circuit exists between each pin of DB plug
CN201928255U (en) Household electronic appliance automation wire holder with sending data line management by serial port
CN102176590B (en) Wire holder for automatically managing household electric appliances by computer
CN207625291U (en) A kind of protection circuit for preventing control panel band to be electrically interposed in BLDC motors
CN201828910U (en) Eight-path sensor and four-set domestic appliance wire holder for tie line management of serial port
CN201927018U (en) 28N/2-way home appliance automation terminal block for serial port connection line output data management
CN104349528B (en) LED status display system
CN101763332A (en) Parallel communication bus interface
CN205754934U (en) A kind of LED lamp with USB interface string control system
CN202034633U (en) Wire holder used for automatically managing household electronic product and electric appliance with computer
CN211236623U (en) Industrial electronic lock
CN201878125U (en) Serial port connecting line power supply-managed automatic home appliance wiring seat
CN202075730U (en) Command-type household appliance automation wire holder for verifying data output by junctor of serial port
CN201928258U (en) Serial port connection line output data check instruction type 28N/2 way home appliance automation wiring seat
CN222052877U (en) A circuit for identifying in-place and avoiding hot plugging
CN102446148B (en) 2&lt;8N&gt;/2 paths domestic electric appliance automatic wire holder for tie line output data management of serial port
CN201928256U (en) Household electronic and electrical-appliance automatic-wiring seat for managing output data of serial-port connecting line
CN202206364U (en) Serial-port inquiring and managing eight-way automation wire holder for household electronics
CN201898499U (en) Serial port TXD line management check command type 24N/2 groups of household electronic appliances wiring seat
CN203734755U (en) HDMI interface circuit and TV set
CN201828909U (en) Household electronic product automatic wire holder capable of realizing inquiry management of serial ports
CN201937568U (en) Serial port query management check instruction type automatic wire holder for household electric appliance

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

Termination date: 20120916