CN201945885U - Single-port relay control feedback circuit - Google Patents
Single-port relay control feedback circuit Download PDFInfo
- Publication number
- CN201945885U CN201945885U CN2011200447089U CN201120044708U CN201945885U CN 201945885 U CN201945885 U CN 201945885U CN 2011200447089 U CN2011200447089 U CN 2011200447089U CN 201120044708 U CN201120044708 U CN 201120044708U CN 201945885 U CN201945885 U CN 201945885U
- Authority
- CN
- China
- Prior art keywords
- chip microcomputer
- circuit
- relay
- port
- input
- 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
Links
Images
Landscapes
- Relay Circuits (AREA)
Abstract
The utility model relates to a single-port relay control feedback circuit, belonging to a single-chip microcomputer control circuit. The single-port relay control feedback circuit is characterized in that one input/output port of a single-chip microcomputer is connected with a relay through a triode, the relay controls a load, a load circuit is connected with a transmission part of a light coupling circuit in series, and a reception part of the light coupling circuit is still connected back to the input/output port of the single-chip microcomputer. The functions of control and feedback detection can be achieved through one input/output port by setting programs of the single-chip microcomputer, using mechanical characteristics of actions of relay contacts and switching input and output of one individual port of the single-chip microcomputer MCU (micro control unit), resources of the single-chip microcomputer can be saved, and the use efficiency of the control circuit can be increased.
Description
Technical field
The utility model relates to a kind of control circuit, especially a kind of feedback sense circuit of having utilized the relay control load of single-chip microcomputer single port.
Background technology
The existing small-sized Control and Feedback circuit that relates to single-chip microcomputer; particularly be applied on the household electrical appliance; except using single-chip microcomputer (MCU) as the core processor; also generally use relay to come the various loads of working control to move; for critical loads or powerful load, also require usually it is monitored (detection feedback just) or the break-make of the forceful electric power contact of relay is had detection.General detection method is to adopt the light-coupled isolation forceful electric power, utilizes two input/output ports (I/O mouth) of single-chip microcomputer to carry out the signal input and output respectively, detects the information of optocoupler feedback side.
Fig. 1 is exactly a typical control circuit that detects, and in this circuit, uses the control mouth of the P01 mouth of single-chip microcomputer as load, and the actual break-make control to load is finished in the action of output control signal pilot relay then; P02 detects mouth as the break-make of load, after the load energising work, produces electric signal through after the light-coupled isolation, feeds back to the P02 mouth, and single-chip microcomputer is adjusted output by the on off operating mode of internal processes judgement load then.
This traditional actuating of relay detection method, shortcoming is that mcu resource is had relatively high expectations, and promptly will take 2 input/output ports.The MCU that uses in the single-chip microcomputer, particularly domestic electric appliances controller, its port resource is most valuable, and the port that takies is many more, and work efficiency is also just low more relatively.
On the other hand, action element---relay as control, be characterized in having certain mechanical property, be that its forceful electric power contact action has a switching time, be generally 8 ~ 15 microseconds (μ s) this switching time, this switching time, the nanoscale signal for MCU transmitted and arithmetic speed, was very very long.
Summary of the invention
The purpose of this utility model is to utilize the mechanical property of the described relay contact of background technology, invents a kind of circuit that can realize the control of MCU single port, detect feedback.
Circuit of the present utility model is such: an input/output port of single-chip microcomputer, connect relay later on through a triode, the relay control load, the emission part of a photoelectric coupled circuit of serial connection in the load circuit, the photoelectric coupled circuit acceptance division still connects that input/output port of getting back to single-chip microcomputer.
Circuit of the present utility model, can be by the program setting of single-chip microcomputer, utilized the mechanical property of the contact action of relay again, by switching to the input/output state of the independent port of single-chip microprocessor MCU, realize that an input/output port finishes the control and the function of detection feedback, can save the resource of single-chip microcomputer, improve the service efficiency of control circuit.Be used on the household electrical appliance controller, benefit is particularly evident.
Description of drawings
Fig. 1, the control detection circuit diagram of existing two ports;
Fig. 2, the circuit embodiments of single port of the present utility model.
Embodiment
Circuit embodiments of the present utility model as Fig. 2, different with available circuit shown in Figure 1 is, load control port of the present invention and detection feedback mouth do not have to use respectively the P01 and the P02 port of single-chip microcomputer as available circuit, but a shared input/output port P01.Port P01 is by the action of triode 3 pilot relays 4, and relay is connected in series photoelectric coupled circuit 6 by the contact action control load 5 of self in the circuit of load 5, feedback signal is taken back the input/output port P01 of single-chip microcomputer.
In the operate as normal, this port is the switch as delivery outlet pilot relay 4.By the program of single-chip microcomputer, when needs are collected feedback information, allow the state of this port switch to the input port, in an extremely short time-delay, the duty of relay is collected storage, make to detect feedback ratio to single-chip microcomputer and use.Because the information transmission speed of photoelectric coupled circuit is a nanosecond, and the reaction time of the actuating of relay is Millisecond, differs greatly, so in the complete responseless time, be enough to finish collection and storage to the relay job information at relay.
Claims (1)
1. the relay Control and Feedback circuit of a single port, it is characterized in that: an input/output port (P01) of single-chip microcomputer, through connecting relay (4) after the triode (3), relay control load (5), the emission part of a photoelectric coupled circuit of serial connection (6) in the load circuit, photoelectric coupled circuit (6) acceptance division still connects that input/output port (P01) of getting back to single-chip microcomputer.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011200447089U CN201945885U (en) | 2011-02-23 | 2011-02-23 | Single-port relay control feedback circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011200447089U CN201945885U (en) | 2011-02-23 | 2011-02-23 | Single-port relay control feedback circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
CN201945885U true CN201945885U (en) | 2011-08-24 |
Family
ID=44473222
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2011200447089U Expired - Fee Related CN201945885U (en) | 2011-02-23 | 2011-02-23 | Single-port relay control feedback circuit |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN201945885U (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102540633A (en) * | 2011-12-27 | 2012-07-04 | 中国科学院长春光学精密机械与物理研究所 | Quick opening and retaining control system for electromagnetic mechanical shutter |
CN111762112A (en) * | 2019-10-24 | 2020-10-13 | 广州瑞修得信息科技有限公司 | OBD (on-board diagnostics) diagnosis equipment and OBD diagnosis equipment interface switching method and device |
-
2011
- 2011-02-23 CN CN2011200447089U patent/CN201945885U/en not_active Expired - Fee Related
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102540633A (en) * | 2011-12-27 | 2012-07-04 | 中国科学院长春光学精密机械与物理研究所 | Quick opening and retaining control system for electromagnetic mechanical shutter |
CN111762112A (en) * | 2019-10-24 | 2020-10-13 | 广州瑞修得信息科技有限公司 | OBD (on-board diagnostics) diagnosis equipment and OBD diagnosis equipment interface switching method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CA2753456C (en) | Power supply control device and ventilating device using same | |
CN202679467U (en) | Power socket system controlled by intelligent mobile phone | |
CN101369136A (en) | Power supply distribution unit capable of time-sharing power supply | |
CN103116296B (en) | A kind of energy-saving socket | |
CN201945885U (en) | Single-port relay control feedback circuit | |
CN102176126B (en) | Single-port relay control circuit feedback detecting method | |
CN202837868U (en) | Standby zero power consumption circuit and dishwasher | |
CN101938071A (en) | Energy-saving socket for printer and operating method thereof | |
CN201887277U (en) | Automatic load induction type safe and energy-saving socket | |
CN203953257U (en) | Intelligent electric cooker based on Internet of Things | |
CN213846702U (en) | Wired control system for power supply on-off of equipment | |
CN206193447U (en) | Intelligence house energy -saving system | |
CN201876695U (en) | Household appliance control circuit with low standby power | |
CN201821378U (en) | Novel router | |
CN204156739U (en) | A kind of DC fan circuit of low standby power loss | |
CN202372818U (en) | Multi-mode infrared control switch | |
CN201909984U (en) | Device for realizing timing control of on and off of load by power line carrier communication | |
CN205141822U (en) | Novel two power automatic transfer switch controllers | |
CN104199357A (en) | Intelligent electric cooker based on Internet of Things and working method of intelligent electric cooker | |
CN201156206Y (en) | Bi-directional control system for multiple electric appliance | |
CN201110951Y (en) | Automatic change-over switch with programmable contacts output functions | |
CN207753740U (en) | A kind of WIFI boxcars | |
CN203070026U (en) | Signal transmitting circuit board | |
CN201837081U (en) | Temperature control system of water heater | |
CN203243352U (en) | Router with remote control and timing functions |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20110824 Termination date: 20190223 |