CN100485559C - Communication transmit-receiver switch controller and its control method - Google Patents

Communication transmit-receiver switch controller and its control method Download PDF

Info

Publication number
CN100485559C
CN100485559C CNB2006100013365A CN200610001336A CN100485559C CN 100485559 C CN100485559 C CN 100485559C CN B2006100013365 A CNB2006100013365 A CN B2006100013365A CN 200610001336 A CN200610001336 A CN 200610001336A CN 100485559 C CN100485559 C CN 100485559C
Authority
CN
China
Prior art keywords
flop
rest
reset
counter
pulse
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
CNB2006100013365A
Other languages
Chinese (zh)
Other versions
CN1821908A (en
Inventor
李茂堂
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Institute of Water Resources and Hydropower Research
Original Assignee
China Institute of Water Resources and Hydropower Research
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 China Institute of Water Resources and Hydropower Research filed Critical China Institute of Water Resources and Hydropower Research
Priority to CNB2006100013365A priority Critical patent/CN100485559C/en
Publication of CN1821908A publication Critical patent/CN1821908A/en
Application granted granted Critical
Publication of CN100485559C publication Critical patent/CN100485559C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

This invention relates to a communication T-R switch controller and its control method, in which, a serial interface connected to a computer is included, which is connected to a RS-232 interface chip connected with two counters, the outputs of which are connected with a RS trigger made up of 4 NAND gates, the output of the trigger is connected to a transistor amplifier then to a relay to output switch control signals finally. The control software is responsible for judging and giving set pulses and reset pulses and clear signals of the counters, the set and reset pulses can be designed in the control software.

Description

A kind of communication transmit-receiver switch controller and control method thereof
Technical field
The invention belongs to the electric device field, specially refer in the electronic technology, be used for the on-off controller and the control method thereof of transceiver communication.
Background technology
In actual applications, many operational systems do not need whole day all to move in fact, need only allow system works when needed, just needn't be in unloaded power consumption state when not required, just can halt system work, so not only electric energy can be saved, and the serviceable life of operational system can be prolonged.And existing switch control technology is to belong to manual control mostly, needs manually-operated, and not only precision is not high, and brings a lot of inconvenience to real work.If utilize current advanced computer technology, we can design a kind of on-off controller of realizing system switching is reached automatically manual control by computing machine, with the system that satisfies needs time switch in the real work or needs under certain condition just the system of operation fit real control, but thereby energy savings, raise the efficiency, for producing and life is provided convenience.
Summary of the invention
The technical issues that need to address of the present invention are, in existing on-off controller, majority is manual control, take a lot of work, take manpower, and it is very inconvenient in actual the carrying out, in order to overcome these weak points, just need to redesign a kind of artificial gauge tap that do not rely on, the purpose of this invention is to provide a kind of communication transmit-receiver switch controller, it can be realized the automatic control of system switching and manually control by serial ports of computers, needing in the real work to be very suitable for the system of time switch or the on-off control system under the condition control.
Communication transmit-receiver switch controller provided by the invention, realize by the following technical solutions: a kind of communication transmit-receiver switch controller, comprise the serial line interface that is connected to computing machine, it is characterized in that: this serial line interface is connected to a RS-232 interface chip, be connected to two counters by this RS-232 interface chip again, be connected to the rest-set flip-flop that constitutes by 4 Sheffer stroke gates by these two counter outputs, be connected to transistor amplifier by this trigger output terminal, two counters are counted the pulse signal that computing machine is sent respectively, counting output is connected respectively to the set end and the reset terminal of rest-set flip-flop, thereby exports by the signal of relay control switch.
Described two counters are counted set pulse and reset pulse that computing machine is sent respectively, count down to certain effective pulse of value output, a set end of exporting to rest-set flip-flop, a reset terminal of exporting to rest-set flip-flop, the output of one of them counter is connected to the set end of rest-set flip-flop, the output of another counter is connected to the reset terminal of this rest-set flip-flop, corresponding switch closure during the rest-set flip-flop set; The rest-set flip-flop reseting period disconnects inductive switch.
Described transistor amplifier amplifies the signal of rest-set flip-flop output, to drive the relay of back; Described 2 relays constitute 2 grades of relays that are in series, and with the direct current output driving second level relay of first order relay, export this switch controlling signal.
Described RS-232 interface chip becomes Transistor-Transistor Logic level with the EIA level conversion of computing machine output, exports to the counter chip of back again and handles.
In the present invention, Control Software is responsible for judging and providing the reset pulse and the counter O reset signal of set arteries and veins under situation about satisfying condition.Set pulse and reset pulse can be pre-set in Control Software, regularly provide parameter; Also can under condition control, provide when satisfying certain condition; Or manual control software provides in good time.
The control method of described communication transmit-receiver switch controller, Control Software is carried out according to following steps, and: a. selects to judge, or for the time of satisfying or for satisfying controlled condition or the button trigger condition is selected; B. give a string count pulse of one of them counter, make it export asserts signal to rest-set flip-flop; C. give two counter O reset signals, make its output low level keep RS SM set mode; D. satisfy the condition of above-mentioned a and then give a string count pulse of another counter, make it export reset signal to rest-set flip-flop; E. give two counter O reset signals, make their output low levels, keep the RS reset mode.F. withdraw from control program, finish.
Beneficial effect of the present invention is, this controller utilizes advanced computer technology, adopts microcomputer robotization control mode, is controlled by Control Software, the control accuracy height, and can be adapted to multiple control modes, have advantages such as simple to operate, easy to use, that working stability is reliable.
Description of drawings
Fig. 1 a is the contained each several part block scheme of communication transmit-receiver switch controller;
Fig. 1 b is the parts connection diagram in each square frame of last figure,
Fig. 2 is the circuit theory diagrams of described communication transmit-receiver switch controller;
The Control Software process flow diagram that Fig. 3 uses for this controller.
Embodiment
Further specify the present invention below in conjunction with drawings and Examples.
Represented each several part block scheme and each parts connection diagram among the embodiment of communication transmit-receiver switch controller of the present invention with reference to Fig. 1 a, Fig. 1 b and Fig. 2, comprise among the figure, computing machine 1, it is connected to RS-232 interface chip 2 by RS232 standard serial interface 13, counter 3 and counter 4, these 2 counter outputs are connected respectively to set end and the reset terminal by Sheffer stroke gate 5,6,7,8 rest-set flip-flops of being formed.Output terminal by rest-set flip-flop is connected to little relay 10 and big relay 11 by transistor amplifier 9, finally by 12 outputs of communication transmit-receiver switch signal output port.
Rest-set flip-flop that four Sheffer stroke gate 5-8 are constituted and counter 3, counter 4 are counted set pulse and reset pulse that computing machine is sent respectively, count down to certain value and just export effective pulse, a set end of exporting to rest-set flip-flop, another exports to the reset terminal of rest-set flip-flop, corresponding switch closure during the rest-set flip-flop set, output signal, the rest-set flip-flop reseting period disconnects inductive switch, not output signal; Transistor amplifier 9 amplifies the signal of rest-set flip-flop output, and to drive the little relay 10 of back, the direct current output of little relay 10 drives the output signal that big relay 11 big relay 11 outputs are described on-off controller.
With reference to Fig. 3, represent the employed Control Software process flow diagram of this controller, this Control Software is responsible for judging and provides set pulse and reset pulse that under situation about satisfying condition set pulse and reset pulse can be pre-set in Control Software, regularly provide; Under condition control, provide when satisfying certain condition; Also can be by Control Software by manually providing at any time.
The concrete course of work of this Control Software is as follows:
Computing machine 1 provides set pulse, reset pulse and reset signal by rs-232 standard serial line interface 13.These signals all are the EIA signals that satisfies rs-232 standard, after the RS-232 interface chip becomes Transistor-Transistor Logic level with the EIA level conversion, just can export to the counter chip of back and handle.Set pulse after the level conversion outputs to the input end of clock of counter 3, and the reset pulse after the level conversion outputs to the input end of clock of counter 4, and the reset signal after the level conversion outputs to the clear terminal of counter 3 sum counters 4 simultaneously.
Sheffer stroke gate 5 was given in effective impulse of output when 3 pairs of inputs of counter set pulse wherein count down to certain value, it is the set end of rest-set flip-flop, the Sheffer stroke gate 7 output high level of rest-set flip-flop, promptly enter SM set mode, the TTL high level of Sheffer stroke gate 7 outputs amplifies through transistor amplifier 9, drive the little relay 10 of back, the Chang Kaiduan closure of little relay 10, output direct current 12v voltage, drive the big relay 11 of back, the Chang Kaiduan closure of big relay 11 is exported the switch controlling signal of described controller.
Sheffer stroke gate 6 was given in effective impulse of output when 4 pairs of inputs of counter reset pulse wherein count down to certain value, it is the reset terminal of rest-set flip-flop, Sheffer stroke gate 7 output low levels of rest-set flip-flop, promptly enter reset mode, the TTL low level of Sheffer stroke gate 7 outputs is amplified through transistor amplifier 9, to the little relay 10 of back, the normal-closed end closure of little relay 10, output 0v DC voltage can not drive the big relay 11 in back, thereby not export this switch controlling signal.
For guaranteeing described on-off controller stabilizing output level under SM set mode and reset mode, not disturbed by signal, when the design Control Software, done following design: provide set pulse to counter 3 at computing machine 1, after entering SM set mode Deng rest-set flip-flop, computing machine provides a reset signal immediately to counter 3 sum counters 4, make their output low levels, according to the Sheffer stroke gate characteristic, Sheffer stroke gate 5 output high level are to Sheffer stroke gate 7, Sheffer stroke gate 6 output high level are to Sheffer stroke gate 8, the output state of Sheffer stroke gate 7 and Sheffer stroke gate 8 remains unchanged like this, and rest-set flip-flop stably maintains SM set mode; Computing machine 1 provides reset pulse to counter 4, wait rest-set flip-flop to enter reset mode after, computing machine 1 provides a reset signal immediately to counter 3 sum counters 4, in like manner, rest-set flip-flop stably maintains reset mode.
Be responsible for judging and under situation about satisfying condition, providing set pulse reset pulse sum counter reset signal by following instantiation explanation Control Software.Set pulse and reset pulse can regularly provide; When satisfying certain condition, provide; Also can be: if desired in 6 opening power early by Control Software by artificial providing at any time, late 12 powered-downs, the time of just can establishing in Control Software is judged statement, write-in program, just regularly provide set pulse and reset pulse if satisfy time conditions, trigger rest-set flip-flop set and reset corresponding switch closure and disconnection; Opening power when satisfying certain condition if desired, powered-down when not satisfying condition just can configure the condition judgment statement in Control Software, and write-in program provides set pulse and reset pulse when satisfying condition; Trigger rest-set flip-flop set and reset corresponding switch closure and disconnection; If when operation demonstration or debugging, need provide set pulse and reset pulse at random, just can in Control Software, add button, write-in program, provide set pulse and reset pulse by the trigger button incident, trigger rest-set flip-flop set and reset, corresponding switch closure and disconnection, intuitive and convenient operates.Thereby the present invention is the controller product that an extremely has prospect and use value.

Claims (4)

1. communication transmit-receiver switch controller, comprise the serial line interface that is connected to computing machine, it is characterized in that: this serial line interface is connected to a RS-232 interface chip that the EIA level conversion is become Transistor-Transistor Logic level, be connected to two counters by this RS-232 interface chip again, be connected to the rest-set flip-flop that constitutes by 4 Sheffer stroke gates by these two counter outputs, be connected to transistor amplifier by this trigger output terminal, two counters are counted by set pulse and reset pulse that the rs-232 standard serial line interface provides computing machine respectively, two counting outputs are connected respectively to the set end and the reset terminal of rest-set flip-flop, reset signal after the level conversion outputs to the clear terminal of two counters simultaneously, thereby exports by the signal of relay control switch.
2. according to the described communication transmit-receiver switch controller of claim 1, it is characterized in that: described two counters, the output of one of them counter is connected to the set end of rest-set flip-flop, the output of another counter is connected to the reset terminal of this rest-set flip-flop, corresponding switch closure during the rest-set flip-flop set; The rest-set flip-flop reseting period disconnects inductive switch.
3. control method according to the described communication transmit-receiver switch controller of claim 1, it is characterized in that: Control Software is carried out according to following steps:
A. select to judge, or for the time of satisfying or for satisfying controlled condition or the button trigger condition is selected;
B. give a string set pulse of one of them counter, make it to rest-set flip-flop output set pulse signal;
C. give two counter O reset signals, make its output low level keep RS SM set mode;
D. satisfy the condition of above-mentioned a and then give a string reset pulse of another counter, make it export reseting pulse signal to rest-set flip-flop;
E. give two counter O reset signals, make their output low levels, keep the RS reset mode.
F. withdraw from control program, finish.
4. control method according to claim 3 is characterized in that, described Control Software is responsible for judging and providing set pulse and reset pulse, can preestablish and provide parameter, also can provide parameter under condition control or manual control in good time.
CNB2006100013365A 2006-01-19 2006-01-19 Communication transmit-receiver switch controller and its control method Expired - Fee Related CN100485559C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100013365A CN100485559C (en) 2006-01-19 2006-01-19 Communication transmit-receiver switch controller and its control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100013365A CN100485559C (en) 2006-01-19 2006-01-19 Communication transmit-receiver switch controller and its control method

Publications (2)

Publication Number Publication Date
CN1821908A CN1821908A (en) 2006-08-23
CN100485559C true CN100485559C (en) 2009-05-06

Family

ID=36923318

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100013365A Expired - Fee Related CN100485559C (en) 2006-01-19 2006-01-19 Communication transmit-receiver switch controller and its control method

Country Status (1)

Country Link
CN (1) CN100485559C (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109152137B (en) * 2018-09-03 2020-12-15 深圳市汇德科技有限公司 Anti-interference decoding device based on LED control system and LED control system
CN109446124B (en) * 2018-12-11 2024-03-19 西安热工研究院有限公司 Driving stage structure and method for motor and electromagnetic valve equipment of thermal power generating unit
CN110928824B (en) * 2019-11-27 2021-06-15 西安紫光国芯半导体有限公司 High frequency off-line driver

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4445193A (en) * 1981-06-16 1984-04-24 International Business Machines Corporation Bisynchronous host/terminal communication system with non-clock-generating modem & PLL generated clock signal
US4918630A (en) * 1988-12-07 1990-04-17 Gte North Incorporated Computer timing system having backup trigger switches for timing competitive events

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4445193A (en) * 1981-06-16 1984-04-24 International Business Machines Corporation Bisynchronous host/terminal communication system with non-clock-generating modem & PLL generated clock signal
US4918630A (en) * 1988-12-07 1990-04-17 Gte North Incorporated Computer timing system having backup trigger switches for timing competitive events

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
用PC机串口做的自动控制开关. 陈川.电子世界. 2005
用PC机串口做的自动控制开关. 陈川.电子世界. 2005 *

Also Published As

Publication number Publication date
CN1821908A (en) 2006-08-23

Similar Documents

Publication Publication Date Title
CN102972261B (en) irrigation control system based on FPGA
CN100485559C (en) Communication transmit-receiver switch controller and its control method
CN101969275B (en) Programmable nanosecond double-pulse integrated power supply
CN203275602U (en) Stepper motor lifespan test system
CN203658852U (en) Water supply control circuit
CN210954661U (en) Remote wake-up controller for gate
CN202616774U (en) Simple DC power supply current-sharing parallel system
CN203584853U (en) Intelligent energy-conservation control device used for electric fan
CN204062096U (en) A kind of intelligent tap
CN209725389U (en) Intelligent tap circuit control device
CN204695144U (en) A kind of power equipment outdoor case environment real-time monitoring system
CN103338031A (en) Special driving method of RS485 circuit in dual opto-isolator periphery application
CN203588022U (en) Isolating switch intelligent controller
CN203587764U (en) Breaker monitoring device
CN201556834U (en) Control system of laser
CN201576325U (en) Room pre-paid intelligent terminal
CN210830672U (en) Voice control water yield system
CN105606173A (en) Flow meter with low power consumption
CN203658853U (en) Water supply controller
CN204557100U (en) Time delay on-off controlling system
CN204789003U (en) Indoor heater test system
CN204009469U (en) A kind of Novel meter power-down control circuit
CN204677854U (en) A kind of solenoid directional control valve of automatic timing counting
CN201985781U (en) Programmable nanosecond double-pulse integrated power supply
CN207067748U (en) A kind of control system of full-automatic network DC resistance box

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
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: 20090506

Termination date: 20140119