A kind of driveway controller interface detection protection circuit
Technical field
This utility model belongs to remote traffic monitoring technical field, particularly to a kind of driveway controller interface inspection
Survey protection circuit.
Background technology
At present, monitor technical field at remote traffic, when abnormal condition occurs in field computer operation peripheral hardware,
Maintainer is difficult to determine to be " system " fault?Still " peripheral hardware " fault?Certainly " peripheral hardware fault " also
Including the wiring etc. to peripheral hardware;Owing to test device uses " single-chip microcomputer " to operate, unavoidable existence is " dead
Machine " danger, once occur, the properly functioning of whole system will be affected because of local fault.
Therefore, a kind of driveway controller interface detection protection circuit is needed now badly, it is possible to set outside and break down
Or when computer system crashes, it is automatically obtained upset, it is to avoid system is run limited.
Utility model content
The utility model proposes a kind of driveway controller interface detection protection circuit, solve in prior art
The problem that whole long distance control system is paralysed due to local fault.
The technical solution of the utility model is achieved in that driveway controller interface detects protection circuit, bag
Including drive circuit and the binding post being connected with drive circuit, described binding post connects outer computer,
Described binding post connects test circuit, and described test circuit and outer computer connect selection circuit,
Described selection circuit connects on-off circuit, and described on-off circuit connects industrial computer.
As one preferred embodiment, described binding post is 25 pin binding posts: the first pin arrives
25th pin.
As one preferred embodiment, described on-off circuit includes a monostable gate circuit, described monostable
State gate circuit passes through the first resistance access circuit voltage, and described monostable door connects the 6th crystal oscillator, described list
Stable state gate circuit passes through the 20th electric capacity, the 25th capacity earth end and circuit voltage.
As one preferred embodiment, described selection circuit includes three data selectors: the first data
Selector, the second data selector and the 3rd data selector, the first data selector connects binding post
The 14th pin to the 17th pin;Second data selector connects the 18th pin of binding post to the 21st
Pin;3rd data selector connects the 22nd pin of binding post to the 25th pin.
As one preferred embodiment, described test circuit includes three photoelectrical couplers: the first photoelectricity
Bonder, the second photoelectrical coupler and the 3rd photoelectrical coupler, the first photoelectrical coupler is by the 59th electricity
Resistance, the 60th resistance, the 61st resistance and the 62nd resistance connect the first plug and supply voltage;
Second photoelectrical coupler passes through the 63rd resistance, the 64th resistance, the 65th resistance and the 66th
Resistance connects the second plug and supply voltage;3rd photoelectrical coupler lead to the 67th resistance, the 68th
Resistance, the 69th resistance and the 70th resistance connect the 3rd plug and supply voltage;First photoelectric coupling
Device connects the first data selector, and the second photoelectrical coupler connects the second data selector, the 3rd photoelectric coupling
Device connects the 3rd data selector.
As one preferred embodiment, described first photoelectrical coupler, the second photoelectrical coupler and the 3rd
Photoelectrical coupler is connected to the 13rd diode to second by the 71st resistance to the 82nd resistance
14 diodes.
As one preferred embodiment, described drive circuit includes a three terminal regulator and power isolator,
Be provided with the first crystal oscillator between input and the earth terminal of three terminal regulator, the outfan of three terminal regulator with connect
Being provided with the second crystal oscillator between ground end, the input of three terminal regulator connects supply voltage;Described isolated from power
The 3rd crystal oscillator, the 25th electric capacity and the 31st electric capacity it is provided with, electricity between input and the earth terminal of device
It is provided with the 29th electric capacity and the 4th crystal oscillator, power isolator between outfan and the earth terminal of source isolator
Input connect supply voltage.
As one preferred embodiment, described drive circuit connects indicating circuit, described indicating circuit
Including the first instruction diode between holding with being connected to supply voltage and simulation, the positive pole of the first instruction diode
Connecting supply voltage by the second resistance, negative pole connects simulation ground end;Between simulation ground end and negative voltage power supply
Connecting and have the second instruction diode, being connected between the positive pole of the second instruction diode with simulation ground end has the 3rd electricity
Resistance, negative pole connects negative voltage power supply;It is connected between circuit voltage with earth terminal and has the 3rd instruction diode, the
The positive pole of three instruction diodes connects circuit voltage by the 4th resistance, and negative pole connects earth terminal.
As a kind of preferential embodiment, between described on-off circuit and industrial computer, it is provided with control circuit,
Described control circuit includes that the 4th photoelectrical coupler, the 4th photoelectrical coupler connection have its of four pin connector sockets
In the 3rd contact pin and the 4th contact pin, the first contact pin of four pin connector sockets is by the 4th instruction diode and the
Five resistance connect circuit voltage, and the 5th resistance connects the positive pole of the 4th instruction diode, four pin connector sockets
First contact pin connects circuit voltage also by the 5th instruction diode and the 6th resistance, and the 6th resistance connects five
The positive pole of instruction diode, the second pin of four pin connector sockets connects the emitter stage of the first audion, and the one or three
The base stage of pole pipe connects the 8th resistance, and the colelctor electrode of the first audion connects earth terminal, the 4th photoelectrical coupler
One output head grounding end, the other end connects circuit voltage by the 6th instruction diode and the 7th resistance,
7th resistance connects the positive pole of the 6th instruction diode.
After have employed technique scheme, the beneficial effects of the utility model are: this circuit had both connected computer
The driving of input/output interface, support local microcontroller is for the Test driver of output circuit again, when scene is counted
When abnormal condition occurs in calculation machine operation peripheral hardware, maintainer can control peripheral hardware by local operation, with really
Determine the system failure or peripheral hardware fault, also computer system and test system used the logic circuit of alternative,
Differentiation becomes two parts, when needing test, by test Systematic selection part of detecting, thus shuts down computer
Components of system as directed, after test terminates, utilizes on-off circuit, recovers computer control system and controls;Once go out
During now deadlock situation, it is automatically obtained upset, is switched to the control of computer system, no matter test system
" crash ", or " not reset ", including " there is no grafting CPU ", " cpu chip does not program " etc.,
Run all without affecting system.
Accompanying drawing explanation
In order to be illustrated more clearly that this utility model embodiment or technical scheme of the prior art, below by right
In embodiment or description of the prior art, the required accompanying drawing used is briefly described, it should be apparent that below,
Accompanying drawing in description is only embodiments more of the present utility model, for those of ordinary skill in the art,
On the premise of not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is circuit block diagram of the present utility model;
Fig. 2 is the schematic diagram of Fig. 1 middle connecting terminal;
Fig. 3 is the circuit diagram of Fig. 1 breaker in middle circuit;
Fig. 4 is the circuit diagram of selection circuit in Fig. 1;
Fig. 5 is the circuit diagram of drive circuit in Fig. 1;
Fig. 6 is the circuit diagram of indicating circuit in Fig. 1;
Fig. 7 is the circuit diagram testing circuit in Fig. 1;
Fig. 8 is the circuit diagram of control circuit in Fig. 1.
In figure, J1-25 pin binding post;U1-power isolator;U2-three terminal regulator;U3A-is monostable
State gate circuit;U4-the first data selector;U5-the second data selector;U6-the 3rd data selector;U7-
First photoelectrical coupler;U8-the second photoelectrical coupler;U9-the 3rd photoelectrical coupler;U10-the 4th photoelectric coupling
Device;C1-the first crystal oscillator;C2-the second crystal oscillator;C3-the 3rd crystal oscillator;C4-the 4th crystal oscillator;C29-the 29th electric capacity;
C30-the 30th electric capacity;C31-the 31st electric capacity;R1-the first resistance;R2-the second resistance;R3-the 3rd electricity
Resistance;R4-the 4th resistance;R5-the 5th resistance;R6-the 6th resistance;R7-the 7th resistance;R8-the 8th resistance;R59-
59th resistance;R60-the 60th resistance;R61-the 61st resistance;R62-the 62nd resistance;R63-
63rd resistance;R64-the 64th resistance;R65-the 65th resistance;R66-the 66th resistance;
R67-the 67th resistance;R68-the 68th resistance;R69-the 69th resistance;R70-the 70th resistance;
D1-D12-the 13rd diode is to the 24th diode;R71-R82-the 71st resistance is to the 82nd electricity
Resistance;LV1-first indicates diode;LV2-second indicates diode;LV3-the 3rd indicates diode;LV4-
4th instruction diode;LV5-the 5th indicates diode;LV6-the 6th indicates diode;Q1-the first audion.
Detailed description of the invention
Below in conjunction with the accompanying drawing in this utility model embodiment, to the technical side in this utility model embodiment
Case is clearly and completely described, it is clear that described embodiment is only that this utility model part is real
Execute example rather than whole embodiments.Based on the embodiment in this utility model, ordinary skill people
The every other embodiment that member is obtained under not making creative work premise, broadly falls into this utility model
The scope of protection.
As Figure 1-Figure 8, this driveway controller interface detection protection circuit, including drive circuit and with
The binding post that drive circuit connects, described binding post connects outer computer, and described binding post connects
Having test circuit, described test circuit connects selection circuit, and described selection circuit connects on-off circuit,
Described on-off circuit connects industrial computer.
Described binding post is that 25 pin binding post the J1: the first pins are to the 25th pin.
Described on-off circuit includes that a monostable gate circuit U3A, described monostable gate circuit U3A are by the first electricity
Resistance R1 accesses circuit voltage, and described monostable door connects the 6th crystal oscillator, and described monostable gate circuit U3A leads to
Cross the 20th electric capacity, the 25th capacity earth end and circuit voltage.
Described selection circuit includes three data selectors: the first data selector U4, the second data selector
U5 and the 3rd data selector U6, the first data selector U4 connect the 14th pin of binding post to the
17 pins;Second data selector U5 connects the 18th pin of binding post to the 21st pin;3rd data
Selector U6 connects the 22nd pin of binding post to the 25th pin.
Described test circuit includes three photoelectrical couplers: the first photoelectrical coupler U7, the second photoelectrical coupler
U8 and the 3rd photoelectrical coupler U9, the first photoelectrical coupler U7 are by the 59th resistance R59, the 60th electricity
Resistance R60, the 61st resistance R61 and the 62nd resistance R62 connect the first plug and supply voltage;The
Two photoelectrical coupler U8 pass through the 63rd resistance R63, the 64th resistance R64, the 65th resistance R65
The second plug and supply voltage is connected with the 66th resistance R66;3rd photoelectrical coupler U9 leads to the 60th
Seven resistance R67, the 68th resistance R68, the 69th resistance R69 and the 70th resistance R70 connect the 3rd
Plug and supply voltage;First photoelectrical coupler U7 connects the first data selector U4, the second photoelectric coupling
Device U8 connects the second data selector U5, the 3rd photoelectrical coupler U9 and connects the 3rd data selector U6.
Described first photoelectrical coupler U7, the second photoelectrical coupler U8 and the 3rd photoelectrical coupler U9 are by the
71 resistance are connected to the 13rd diode to the 24th diode to the 82nd resistance.
Described drive circuit includes a three terminal regulator U2 and power isolator U1, and three terminal regulator U2's is defeated
Enter and be provided with the first crystal oscillator C1 between end and earth terminal, set between outfan and the earth terminal of three terminal regulator U2
Being equipped with the second crystal oscillator C2, the input of three terminal regulator U2 connects supply voltage;Described power isolator U1
Input and earth terminal between be provided with the 3rd crystal oscillator C3, the 30th electric capacity C30 and the 31st electric capacity
The 29th electric capacity C29 and the 4th it is provided with brilliant between outfan and the earth terminal of C31, power isolator U1
Shake C4, and the input of power isolator U1 connects supply voltage.
Described drive circuit connects has indicating circuit, described indicating circuit to include being connected to supply voltage and simulation
First instruction diode LV1 between ground end, the positive pole of the first instruction diode LV1 is by the second resistance R2 even
Connecing supply voltage, negative pole connects simulation ground end;Connect between simulation ground end and negative voltage power supply and have the second instruction
Diode LV2, is connected between the positive pole of the second instruction diode LV2 with simulation ground end and has the 3rd resistance R3,
Negative pole connects negative voltage power supply;It is connected between circuit voltage with earth terminal and has the 3rd instruction diode LV3, the 3rd
The positive pole of instruction diode LV3 connects circuit voltage by the 4th resistance R4, and negative pole connects earth terminal.
Being provided with control circuit between described on-off circuit and industrial computer, described control circuit includes the 4th photoelectricity
Bonder U10, the 4th photoelectrical coupler U10 connect has wherein the 3rd contact pin and the 4th of four pin connector sockets to insert
Pin, the first contact pin of four pin connector sockets connects electricity by the 4th instruction diode LV4 and the 5th resistance R5
Road voltage, the 5th resistance R5 connects the positive pole of the 4th instruction diode LV4, and the first of four pin connector sockets inserts
Pin connects circuit voltage also by the 5th instruction diode LV5 and the 6th resistance R6, and the 6th resistance R6 is even
Connecing the positive pole of five instruction diodes, the second pin of four pin connector sockets connects the emitter stage of the first audion Q1,
The base stage of the first audion Q1 connects the 8th resistance R8, and the colelctor electrode of the first audion Q1 connects earth terminal, the
One output head grounding end of four photoelectrical coupler U10, the other end by the 6th instruction diode LV6 and
7th resistance R7 connects circuit voltage, and the 7th resistance R7 connects the positive pole of the 6th instruction diode LV6.
The operation principle of this driveway controller interface detection protection circuit is: this circuit had both connected computer input
The driving of output interface, supports that again local microcontroller, for the Test driver of output circuit, works as field computer
When abnormal condition occurs in operation peripheral hardware, maintainer can control peripheral hardware by local operation, to determine is
System fault or peripheral hardware fault, use the logic circuit of alternative, district by also computer system and test system
It is divided into two parts, when needing test, by test Systematic selection part of detecting, thus shuts down computer and be
System part, after test terminates, utilizes on-off circuit, recovers computer control system and controls;Once occur
During deadlock situation, it is automatically obtained upset, is switched to the control of computer system, f) no matter tests system
" crash ", or " not reset ", including " there is no grafting CPU ", " cpu chip does not program " etc.,
Run all without affecting system.
The foregoing is only preferred embodiment of the present utility model, not in order to limit this utility model,
All within spirit of the present utility model and principle, any modification, equivalent substitution and improvement etc. made, all
Within protection domain of the present utility model should be included in.