A kind of wireless position inspection circuit
Technical field
The present invention relates to a kind of circuit of gathering deciliter state of equipment such as disconnecting link, switch by wireless mode, be applied in the preventing faulty operation of electric power system device.
Background technology
The microcomputer anti-error operating means is the important device that guarantees grid switching operation safety, and at present, the microcomputer anti-error device has obtained using widely in electric system, and its technology is more and more ripe.Wherein, the anti-misoperation apparatus of key operated type is adopted widely owing to have advantages such as construction is simple, reasonable price.But key operated type error-proof device also has its intrinsic shortcoming, promptly can not detect the state of on-the-spot primary equipment in real time.And according to the recent statistics of state net company, in all kinds of misoperation faults, in the actual grid switching operation of each power supply enterprise, because equipment state has occupied very high ratio with the not corresponding misoperation fault that causes in scene.
Have real-time checkout equipment state at line style microcomputer anti-error operating means, operate advantages such as online, but the error-proof device with online function need be realized measurement and control network by wiring, need cable to be connected between the measure and control device of anti-error main frame and primary equipment, therefore difficulty of construction and investment are all very big, transform at particularly old station, is not easy more to implement.Simultaneously, the wiring of long distance and make electromagnetic interference (EMI) be introduced in the system influences the reliability of system.
Summary of the invention
For solving the deficiency that existing microcomputer anti-error operating system exists, the invention provides a kind of wireless position inspection circuit, the technical scheme of being taked is:
This circuit comprises the sensor that connects successively, single-chip microcomputer U1 and wireless communication module U2, and for they provide the battery BT1 of power supply, sensor acquisition equipment deciliter state, and generation and the corresponding high voltage signal of equipment deciliter state or low voltage signal are delivered to single-chip microcomputer U1, single-chip microcomputer U1 generation and high voltage signal or low voltage signal message corresponding and that comprise the unique coding of wireless position inspection is delivered to wireless communication module U2, wireless communication module U2 is converted to radiowave with this message and is sent to anti-error main frame, simultaneously wireless communication module U2 receives the radiowave that anti-error main frame sends, and is converted to message and is transmitted to single-chip microcomputer U1.
Sensor is made up of with the magnet on the gear train that is fixed on equipment magnetic reed switch S1, when equipment is in the branch position or closes, can make magnetic reed switch S1 closed or open with the magnet of gear train motion, 1 pin of single-chip microcomputer U1 connects battery BT1's+the 3V end, 20 pin of single-chip microcomputer U1 connect the GND end of battery BT1,2 pin of single-chip microcomputer U1 connect 8 pin of wireless communication module U2,9 pin of single-chip microcomputer U1 connect 3 pin of wireless communication module U2,11 pin of single-chip microcomputer U1 connect 4 pin of wireless communication module U2,13 pin of single-chip microcomputer U1 connect 5 pin of wireless communication module U2,19 pin of single-chip microcomputer U1 connect 7 pin of wireless communication module U2, resistance R 1 one termination battery BT1+the 3V end, the other end connects 5 pin of single-chip microcomputer U1, resistance R 2 one termination battery BT1+the 3V end, the other end connects 4 pin of single-chip microcomputer U1, capacitor C 1 one termination battery BT1+the 3V end, the GND end of another termination battery BT1,4 pin of magnetic reed switch S1 one termination single-chip microcomputer U1, the GND end of another termination battery BT1, connect after 1 pin of wireless communication module U2 and the 2 pin parallel connections battery BT1+3V end, connect the GND end of battery BT1 after 9 pin of wireless communication module U2 and the 10 pin parallel connections.
Single-chip microcomputer U1 model is PIC16F690, and resistance R 1, R2 resistance are 10K, and resistance C1 is 0.1uF, and wireless communication module U2 model is RF1100SE, and magnetic reed switch S1 model is MKA-10110.
This circuit will use wireless telecommunications to replace at the anti-error main frame and the communication cable between the lockset of line style anti-misoperation apparatus, directly control unblocking of lockset and collecting device deciliter state by wireless telecommunications by anti-error main frame.This circuit can be applicable in a kind of anti-misoperation apparatus that uses wireless lockset, can the status information of equipment that collect be sent to anti-error main frame in real time by radio communication, with the state of the on-the-spot primary equipment of real-time detection of realizing anti-misoperation apparatus with reduce the purpose of electromagnetic interference (EMI), has reliable operation, the outstanding effect characteristics.This circuit adopts powered battery, need not wiring, helps less construction working amount, and the components and parts of use are less, can save investment, improves reliability.
Description of drawings
Fig. 1 is a circuit block diagram of the present invention;
Fig. 2 is the circuit diagram of magnetic reed switch S1 of the present invention and single-chip microcomputer U1 coupling part;
Fig. 3 is the circuit diagram of battery BT1 part of the present invention;
Fig. 4 is the circuit diagram of wireless communication module U2 part of the present invention;
Fig. 5 is applied in the synoptic diagram in the anti-misoperation apparatus that uses wireless lockset for the present invention.
Embodiment
The present invention will be further described below in conjunction with accompanying drawing:
As shown in Figure 1, sensor, single-chip microcomputer U1 is connected successively with wireless communication module U2, battery BT1 provides power supply for them, sensor acquisition equipment deciliter state, and generation and the corresponding high voltage signal of equipment deciliter state or low voltage signal are delivered to single-chip microcomputer U1, single-chip microcomputer U1 generation and high voltage signal or low voltage signal message corresponding and that comprise the unique coding of wireless position inspection is delivered to wireless communication module U2, wireless communication module U2 is converted to radiowave with this message and is sent to anti-error main frame, simultaneously wireless communication module U2 receives the radiowave that anti-error main frame sends, and is converted to message and is transmitted to single-chip microcomputer U1.
As Fig. 2, Fig. 3 and shown in Figure 4,1 pin of single-chip microcomputer U1 connects battery BT1's+the 3V end, 20 pin of single-chip microcomputer U1 connect the GND end of battery BT1,2 pin of single-chip microcomputer U1 connect 8 pin of wireless communication module U2,9 pin of single-chip microcomputer U1 connect 3 pin of wireless communication module U2,11 pin of single-chip microcomputer U1 connect 4 pin of wireless communication module U2,13 pin of single-chip microcomputer U1 connect 5 pin of wireless communication module U2,19 pin of single-chip microcomputer U1 connect 7 pin of wireless communication module U2, resistance R 1 one termination battery BT1+the 3V end, the other end connects 5 pin of single-chip microcomputer U1, resistance R 2 one termination battery BT1+the 3V end, the other end connects 4 pin of single-chip microcomputer U1, capacitor C 1 one termination battery BT1+the 3V end, the GND end of another termination battery BT1,4 pin of magnetic reed switch S1 one termination single-chip microcomputer U1, the GND of another termination battery BT1 end, connect after 1 pin of wireless communication module U2 and the 2 pin parallel connections battery BT1+the 3V end, connect the GND end of battery BT1 after 9 pin of wireless communication module U2 and the 10 pin parallel connections.
Wherein, 1 pin of single-chip microcomputer U1 be the VDD power supply just, 20 pin are VSS power supply ground, 2 pin are the OSC1 crystal oscillator, 9 pin are the output of SDO data, 11 pin are the SCK clock, 13 pin are the inputs of SDI data, 19 pin are the RA0 data.1 pin of wireless communication module U2,2 pin be the VDD power supply just, 9 pin, 10 pin are GND power supply ground, 3 pin are the input of SI data, 4 pin are the SCLK clock, 5 pin are the outputs of SO data, 7 pin are the choosing of CSn sheet, 8 pin are the GDO0 crystal oscillator.The single-chip microcomputer model is U1PIC16F690, and resistance R 1, R2 resistance are 10K, and resistance C1 is 0.1uF, and wireless communication module U2 model is RF1100SE, and magnetic reed switch S1 model is MKA-10110.
As shown in Figure 5, anti-misoperation apparatus comprises anti-error main frame, radio receiver and n this wireless position inspection circuit.The software that moves in the anti-error main frame can be by message and this wireless position inspection circuit communication, the software of radio receiver and anti-error main frame is connected, and can receive the information that this wireless position inspection circuit signal of sending and the software that sends anti-error main frame send by radio communication.
Concrete working method is: fix a magnet on the gear train of equipment such as switch, disconnecting link, magnet can be followed the gear train motion, this is wireless, and an other parts of inspection circuit is installed in the appropriate location, can make equipment be in the branch position or when closing, this magnet alignment magnetic reed switch S1, by magnetic force magnetic reed switch S1 closure.With the normal opened contact type is example, this moment magnetic reed switch S1 closure, 5 pin of single-chip microcomputer U1 are dragged down, be the 5 pin output LOW voltage signals of magnetic reed switch S1 to single-chip microcomputer U1, single-chip microcomputer U1 generates the message that comprises magnetic reed switch S1 folding condition and the unique coding of wireless position inspection and sends to wireless communication module U2, and wireless communication module U2 is converted to electromagnetic wave with this message and sends.The software package of anti-error main frame contains installation corresponding tables and magnetic reed switch state and the equipment deciliter state corresponding tables of equipment and wireless position inspection, receives message and resolves by radio receiver, just can the equipment of analyzing be in the information of a branch position (or close).When equipment varies to another state, magnet is away from magnetic reed switch S1, because the effect of pull-up resistor R1,5 pin of single-chip microcomputer U1 are high level, single-chip microcomputer U1 sends to wireless communication module U2 with at this moment magnetic reed switch S1 folding condition and the unique coding generation of wireless position inspection message again, wireless communication module U2 is converted to electromagnetic wave with this message and sends, and after the software of anti-error main frame receives message, can analyze equipment state and change.