Summary of the invention
The technical issues that need to address of the present invention are to provide a kind of 8 * 8 array light switchs, with the modular design that realizes simplifying and being easy to control.
Technical scheme of the present invention is as follows:
A kind of 8 * 8 array switch, comprise optical module and circuit module, it is characterized in that: described optical module comprises 82 * 2 optical switch elements and 24 * 4 photoswitches, its unit combination is, in 4 * 4 photoswitch both sides 42 * 2 photoswitches are set respectively, wherein 82 * 2 optical switch elements respectively are divided into two groups, and import as the ground floor of light signal respectively and last one deck output, and 4 * 4 middle photoswitches carry out light path switching arbitrarily; Described circuit module comprises MCU control circuit, serial ports control circuit, feed circuit and optical switch control circuit, wherein feed circuit provide power supply for MCU control circuit and optical switch control circuit, the MCU control circuit carries out programmed control to the relay in the optical switch control circuit, the output of MCU connects the input of serial ports control circuit, and the output of serial ports control circuit is promptly as any connector that has the serial ports device in the practical application.
The invention has the beneficial effects as follows, compared with prior art, owing to adopted modular light path design, and combine circuit design, and making that whole 8 * 8 optical switch constructions are simplified, photoswitch control is more rationally with effective, thereby reduced technology difficulty and greatly saved production cost
Description of drawings
Fig. 1 is a system schematic of the present invention;
Fig. 2 is the present invention's 8 * 8 photoswitch optical textures;
Fig. 3 is a circuit structure block diagram of the present invention;
Fig. 4 is the MCU control circuit figure in the circuit part of the present invention;
Fig. 5 is the serial ports control circuit figure in the circuit part of the present invention;
Fig. 6 is the power supply circuit in the circuit part of the present invention;
Fig. 7 is that optical switch control circuit figure in the circuit part of the present invention is (because optical switch control circuit forms by many groups, the circuit structure of cutting every group is identical, so clear for figure only taken passages wherein one group, this group comprises that 6 relays and corresponding 6 prisms leave light path);
Fig. 8 is for to leave the interactional synoptic diagram of light path to Fig. 7 repeat circuit and prism, and promptly 2 * 2 the light path that realizes of light path refraction process is switched.
Embodiment
Below in conjunction with the drawings and specific embodiments the present invention is elaborated.
As Fig. 1,8 * 8 array switch comprise optical module and circuit module, and wherein, optical module i.e. optical device part among the figure, and circuit module refers to hardware circuit and the MCU control circuit among the figure, serial communication circuit, power supply mu balanced circuit and circuit interface.
As Fig. 2,8 * 8 photoswitch optical modules comprise 82 * 2 optical switch elements and 24 * 4 photoswitches, adopt optical fiber to connect between the individuality, its unit combination is: in 4 * 4 photoswitch both sides 42 * 2 photoswitches are set respectively, wherein 82 * 2 optical switch elements respectively are divided into two groups, and export with last one deck as the ground floor input of light signal respectively, and 4 * 4 middle photoswitches can be realized the choke free switching of light path arbitrarily in the middle of light path.Clog-free is a notion on the photoswitch, refers to select any one tunnel light path of any corresponding relation of input and output to connect, and can not impact other light paths.
Fig. 3 is a circuit structure block diagram of the present invention, wherein, the input of feed circuit is VCC that the output VCC5 of the AC of 220V connects the MCU control circuit, i.e. power supply input, simultaneously VCC5 also is connected with any pin of relay in the optical switch element control circuit, its power supply function, be VCC5 corresponding among Fig. 6, and the CTRL pin in the optical switch element control circuit is connected with the CTRL pin of MCU respectively accordingly one by one, thereby the MCU control circuit plays control action to optical switch control circuit, MCU control circuit and optical switch control circuit provide power supply, the single-chip microcomputer of MCU control circuit carries out programmed control to the relay in the optical switch control circuit, realizes the switching of light path by the IO output control relay.
The output of MCU connects the input TX (see figure 5) of serial ports control circuit, it is the input control signal level conversion, and the output of serial ports control circuit is promptly as any connector that has the serial ports device in the practical application, and the optical path array that needs to switch is the RX (see figure 5) that another input port by the serial ports control circuit enters.The optical path array that needs to switch is to link to each other with each relay in fact, in the time of the circuit control relay activity, is exactly that the light transmission path that changes each optical switch element makes light carry out switching between the difference in the path of Fig. 2 by optical path array.Because switchable light path number of combinations is huge, reach 8! In.Adopt single-chip microcomputer to carry out program quick control and routing, realize that choke free light path freely switches.
Be illustrated in figure 4 as the MCU control circuit, 8 * 8 array light switchs adopt the 89C52 Single-chip Controlling, 20 IO pin of single-chip microcomputer are responsible for controlling 20 switchings of controlling the relay unit of photoswitches, (each 2 * 2 photoswitch carries out light path control by a relay, and each 4 * 4 photoswitch carries out light path control by six relays) thus finish for the switching of light path and select control.
As Fig. 5 is the serial ports control circuit, uses the Max232 chip that RXD, the TXD level of 89C52 single-chip microcomputer are carried out conversion, and monolithic function and PC are communicated by serial ports, realizes the control of PC to 8 * 8 array light switchs.
As Fig. 6 is feed circuit, and 8 * 8 array light switchs adopt outside 220AC power supply, and the DC-DC power supply of built-in AC220~DC7V uses 7805 5V voltage stabilizing chip that total system is carried out the voltage stabilizing of 5V simultaneously, and wherein VCC is a power supply.
As Fig. 7 is the optical switch element control circuit, optical switch control circuit is divided into three groups of control circuits, every group of control circuit all adopts 2803 chips, wherein two groups have 6 relays, the 3rd group has 8 relays, each relay is connected one by one with the output pin of 2803 chips, and wherein VCC is a power supply.When the IO of MCU pin output high level, corresponding high level is by 2803 level flip-chip, and the voltage drop of 5V has appearred in the upset output low level at the pin two ends of optical switch element relay, and prism leaves light path in the driven optical switch unit.On the contrary, if in the IO of MCU pin output low level, corresponding low level is by chip 2803 upset output high level; The pin two ends all are 5V on optical switch element, and pressure drop is 0, prism inertia in the optical switch element.Thereby the IO by MCU exports the different conditions of controlling prism.Prism and relay constitute optical unit among the figure, and input-output optical fiber.
Fig. 8 is to be example explaining relay is how to change prism with one of them optical unit in several same structures, thereby light path is changed.When the upper part of Fig. 8 represents that relay is opened (such as figure mark switch on) prism bends (position of the visible prism of α angle from figure), light promptly reflects, figure below is then opposite, when cut-off (such as figure mark switch off), prism is replied the original position, and light is then pressed original direction and propagated.