Summary of the invention
The invention provides a kind of control circuit for operating Wearable microscope equipment, be intended to solve the existing reduction operation efficiency of prior art and be difficult to microscopical amplification and focal length to be realized the problem of fine adjustment.
The present invention realizes like this, a kind of control circuit for operating Wearable microscope equipment, be connected with the second motor with microscopical the first motor, described the first motor and described the second motor are respectively used to control microscopical convergent-divergent and focusing operation, described microscope outputting video signal is to micro-glasses, and described control circuit comprises:
Foot switch module, for exporting convergent-divergent triggering signal or focusing triggering signal according to operator's foot switch action;
Head movement induction module, is built in described micro-glasses, for generating corresponding position signalling according to moving up and down of described operator's head;
Main control module, convergent-divergent triggering signal end is connected with focusing triggering signal outfan with the convergent-divergent triggering signal outfan of described foot switch module respectively with focusing triggering signal end, primary importance signal end, second position signal end, three position singal end and mode select signal outfan respectively with the primary importance signal output part of described head movement induction module, second position signal output part, three position singal outfan and mode select signal end are connected, for entering convergent-divergent mode of operation or focusing mode of operation according to the convergent-divergent triggering signal of described foot switch module output or focusing triggering signal, generate simultaneously and export corresponding mode select signal to described head movement induction module, and according to described position signalling, generate corresponding resizing control signal or focusing control signal under described convergent-divergent mode of operation or described focusing mode of operation,
Convergent-divergent control module, first input end is connected with the second control signal end with the first control signal end of described main control module respectively with the second input, the first outfan and the second outfan connect respectively the first terminals and second terminals of described microscopical the first motor, for control described the first motor according to described resizing control signal, carry out forward rotation or rotate backward;
Focusing control module, first input end is connected with the 4th control signal end with the 3rd control signal end of described main control module respectively with the second input, the first outfan and the second outfan connect respectively the first terminals and second terminals of described microscopical the second motor, for controlling described the second motor according to described focusing control signal, carry out forward rotation or rotate backward.
It is a kind of for operating Wearable microscope equipment that another object of the present invention is also to provide, and described Wearable microscope equipment comprises described control circuit.
In the present invention, by adopting described foot switch module at the described control circuit for operating Wearable microscope equipment, described head movement induction module, described main control module, described convergent-divergent control module and described focusing control module, according to operator's foot switch action, enter convergent-divergent mode of operation or focusing mode of operation, and correspondingly control the rotation direction of microscopical the first motor or the second motor, to reach, automatically follow the realization that moves up and down of operator's head and microscope is carried out to the object of accurate convergent-divergent or focusing control, thereby solved the existing reduction operation efficiency of prior art and be difficult to microscopical amplification and focal length mobile phone to be realized the problem of fine adjustment.
The specific embodiment
In order to make object of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
In embodiments of the present invention, by the control circuit for operating Wearable microscope equipment, adopt foot switch module, head movement induction module, main control module, convergent-divergent control module and focusing control module, according to operator's foot switch action, enter convergent-divergent mode of operation or focusing mode of operation, and correspondingly control the rotation direction of microscopical the first motor or the second motor, to reach, automatically follow moving up and down of operator's head and realize microscope is carried out to the object that accurate convergent-divergent or focusing are controlled.
Fig. 1 shows the modular structure of the control circuit for operating Wearable microscope equipment that the embodiment of the present invention provides, and for convenience of explanation, only shows the part relevant to the embodiment of the present invention, and details are as follows:
Control circuit 100 for operating Wearable microscope equipment is connected with the second motor 300 with microscopical the first motor 200, the first motor 200 and the second motor 300 are respectively used to control microscopical convergent-divergent and focusing operation, microscope outputting video signal is to micro-glasses, and this control circuit comprises:
Foot switch module 101, for exporting convergent-divergent triggering signal or focusing triggering signal according to doctor's foot switch action;
Head movement induction module 102, is built in micro-glasses, for generating corresponding position signalling according to moving up and down of doctor's head;
Main control module 103, convergent-divergent triggering signal end is connected with focusing triggering signal outfan with the convergent-divergent triggering signal outfan of foot switch module 101 respectively with focusing triggering signal end, primary importance signal end, second position signal end, three position singal end and mode select signal outfan respectively with the primary importance signal output part of head movement induction module 102, second position signal output part, three position singal outfan and mode select signal end are connected, for entering convergent-divergent mode of operation or focusing mode of operation according to the convergent-divergent triggering signal of foot switch module 101 outputs or focusing triggering signal, generate simultaneously and export corresponding mode select signal to head movement induction module 102, and according to the position signalling of head movement induction module 102 outputs, generate corresponding resizing control signal or focusing control signal under convergent-divergent mode of operation or described focusing mode of operation,
Convergent-divergent control module 104, first input end is connected with the second control signal end with the first control signal end of main control module 103 respectively with the second input, the first outfan and the second outfan connect respectively the first terminals and second terminals of microscopical the first motor 200, control the first motor 200 carry out forward rotation or rotate backward for the resizing control signal generating according to main control module 103;
Focusing control module 105, first input end is connected with the 4th control signal end with the 3rd control signal end of main control module 103 respectively with the second input, the first outfan and the second outfan connect respectively the first terminals and second terminals of microscopical the second motor 300, control the second motor 300 carry out forward rotation or rotate backward for the focusing control signal generating according to main control module 103.
In the invention process, microscope is realized convergent-divergent and focusing function under the control of above-mentioned control circuit 100, and outputting video signal micro-glasses extremely in real time, thereby the doctor who makes to wear these micro-glasses can clearly obtain the fact of microscope monitoring site.
Fig. 2 shows the exemplary circuit structure of the control circuit for operating Wearable microscope equipment that the embodiment of the present invention provides, and for convenience of explanation, only shows the part relevant to the embodiment of the present invention, and details are as follows:
As one embodiment of the present invention, foot switch module 101 comprises:
Resistance R 1, capacitor C 1, switch S 1, resistance R 2, capacitor C 2 and switch S 2;
The first termination of resistance R 1+3.3V DC source, the second end of resistance R 1 is the convergent-divergent triggering signal outfan of foot switch module 101, the first end of the first end of capacitor C 1 and switch S 1 is connected to the second end of resistance R 1 altogether, the second end of capacitor C 1 and the second end of switch S 1 are connected to ground altogether, the first end of the first end resistance R 1 of resistance R 2, the second end of resistance R 2 is the focusing triggering signal outfan of foot switch module 101, the first end of the first end of capacitor C 2 and switch S 2 is connected to the second end of resistance R 2 altogether, the second end of capacitor C 2 and the second end of switch S 2 are connected to ground altogether.
As one embodiment of the present invention, head movement induction module 102 comprises:
3-axis acceleration sensor U1, capacitor C 3, resistance R 3, resistance R 4, resistance R 5, capacitor C 4, capacitor C 5 and capacitor C 6;
The supply pin Vdd of the first end of capacitor C 3 and 3-axis acceleration sensor U1, the first logic input pin g_select1 and the second connect altogether+3.3V of logic input pin g_select2 DC source, the second end of capacitor C 3 and the grounding leg Vss of 3-axis acceleration sensor U1 are connected to ground altogether, the first end of resistance R 3, the first end of the first end of resistance R 4 and resistance R 5 meets respectively the X-axis signal output pin Xout of 3-axis acceleration sensor U1, Y-axis signal output pin Yout and Z axis signal output pin Zout, the second end of resistance R 3, the second end of resistance R 4 and the second end of resistance R 5 are respectively the primary importance signal output part of head movement induction module 102, second position signal output part and three position singal outfan, capacitor C 4 is connected between second end and ground of resistance R 3, capacitor C 5 is connected between second end and ground of resistance R 4, capacitor C 6 is connected between second end and ground of resistance R 5, the model selection foot select_mode of 3-axis acceleration sensor U1 is the mode select signal end of head movement induction module 102.Wherein, 3-axis acceleration sensor U1 can be MMA7260 3-axis acceleration sensing chip.
As one embodiment of the present invention, main control module 103 comprises:
Microcontroller U2, capacitor C 7, capacitor C 8, crystal oscillator Y1, resistance R 6, capacitor C 9, switch S 3, crystal oscillator Y2, capacitor C 10 and capacitor C 11;
The first general purpose I of microcontroller U2/O pin PA0-WKUP and the second general purpose I/O pin PA1 are respectively convergent-divergent triggering signal end and the focusing triggering signal end of main control module 103, the 3rd general I/O pin PA2 of microcontroller U2, I/O pin PA3 for four-way, five-way is respectively the primary importance signal end of main control module 103 with I/O pin PA4 and clematis stem with I/O pin PA8, second position signal end, three position singal end and mode select signal outfan, the first end of the first end of capacitor C 7 and capacitor C 8 is connected to ground altogether, the second end of capacitor C 7 is connected with the first clock output pin OSC_OUT/PD1 with the first clock input pin OSC_IN/PD0 of microcontroller U2 respectively with the second end of capacitor C 8, crystal oscillator Y1 is connected between the first clock input pin OSC_IN/PD0 and second clock output pin OSC_OUT/PD1 of microcontroller U2, the first termination of resistance R 6+3.3V DC source, the second end of resistance R 6, the inverted reset pin NRST of microcontroller U2 and the first end of switch S 3 are connected to the first end of capacitor C 9 altogether, the second end of capacitor C 9 and the second end of switch S 3 are connected to ground altogether, the first power pins VDD_1 of microcontroller U2, second source pin VDD_2, the 3rd power pins VDD_3, the 4th power pins VDD_4 and connect altogether+3.3V of analog power pin VDDA DC source, seven general purpose I of microcontroller U2/O pin PC0, eight general purpose I/O pin PC1, nine general purpose I/O pin PC2 and ten general purpose I/O pin PC3 are respectively the first control signal end of main control module 103, the second control signal end, the 3rd control signal end and the 4th control signal end, the first end of the first end of capacitor C 10 and capacitor C 11 meets respectively second clock input pin PC14-OSC32_IN and the second clock output pin PC15-OSC32_OUT of microcontroller U2, the second end of capacitor C 10 and the second end of capacitor C 11 are connected to ground altogether, crystal oscillator Y2 is connected between the second clock input pin PC14-OSC32_IN and second clock output pin PC15-OSC32_OUT of microcontroller U2, the first grounding pin VSS_1 of microcontroller U2, the second grounding pin VSS_2, the 3rd grounding pin VSS_3, the 4th grounding pin VSS_4 and analogue ground pin VSSA are connected to ground altogether.Wherein, microcontroller U2 can be the ARM microprocessor of STM32F103RBT6 for model.
As one embodiment of the present invention, convergent-divergent control module 104 comprises:
Capacitor C 12, digital isolator U3, capacitor C 13, resistance R 7, resistance R 8, NMOS pipe Q1, dpdt relay K1, resistance R 9, NPN type audion Q2, resistance R 10 and diode D1;
The first supply pin VCC1 of the first end of capacitor C 12 and digital isolator U3 and connect altogether+3.3V of second source foot VCC2 DC source, the first grounding leg GND1 of the second end of capacitor C 12 and digital isolator U3 is connected to ground altogether, the input pin IN of digital isolator U3 is the first input end of convergent-divergent control module 104, connect altogether+12V of the first end DC source of the 3rd supply pin VCC3 of digital isolator U3 and capacitor C 13, the second grounding leg GND2 of the second end of capacitor C 13 and digital isolator U3 and the 3rd grounding leg GND3 are connected to ground altogether, the output pin OUT of digital isolator U3 is connected with the first end of resistance R 7 and the first end of resistance R 8 simultaneously, the grid of the second termination NMOS pipe Q1 of resistance R 7, the NMOS pipe source electrode of Q1 and the second end of resistance R 8 are connected to ground altogether, the first switch contact 1 of dpdt relay K1 and second switch contact 2 connect respectively the drain electrode of the 3rd supply pin VCC3 and the NMOS pipe Q1 of digital isolator U3, the first normally-closed contact 3 of dpdt relay K1 and the second normally-closed contact 5 are respectively the first outfan and second outfan of convergent-divergent control module 104, the control contact 7 of dpdt relay K1 and connect altogether+3.3V of the negative electrode DC source of diode D1, the earthing contact 8 of dpdt relay K1 and the anode of diode D1 are connected to the first end of resistance R 10 altogether, the colelctor electrode of NPN type audion Q2 and emitter stage be the second end and ground of connecting resistance R10 respectively, the first end of resistance R 9 is the second input of convergent-divergent control module 104, the base stage of the second termination NPN type audion Q2 of resistance R 9.Wherein, digital isolator U3 can be ISO721 high-speed figure isolating chip, for isolate and convert microcontroller U2+3.3V DC voltage and the first motor 200+12V motor driven voltage.
As one embodiment of the present invention, focusing control module 105 comprises:
Capacitor C 14, digital isolator U4, capacitor C 15, resistance R 11, resistance R 12, NMOS pipe Q3, dpdt relay K2, resistance R 13, NPN type audion Q4, resistance R 14 and diode D2;
The first supply pin VCC1 of the first end of capacitor C 14 and digital isolator U4 and connect altogether+3.3V of second source foot VCC2 DC source, the first grounding leg GND1 of the second end of capacitor C 14 and digital isolator U4 is connected to ground altogether, the input pin IN of digital isolator U4 is the first input end of focusing control module 105, connect altogether+12V of the first end DC source of the 3rd supply pin VCC3 of digital isolator U4 and capacitor C 15, the second grounding leg GND2 of the second end of capacitor C 15 and digital isolator U4 and the 3rd grounding leg GND3 are connected to ground altogether, the output pin OUT of digital isolator U4 is connected with the first end of resistance R 11 and the first end of resistance R 12 simultaneously, the grid of the second termination NMOS pipe Q3 of resistance R 11, the NMOS pipe source electrode of Q3 and the second end of resistance R 12 are connected to ground altogether, the first switch contact 1 of dpdt relay K2 and second switch contact 2 connect respectively the drain electrode of the 3rd supply pin VCC3 and the NMOS pipe Q3 of digital isolator U4, the first normally-closed contact 3 of dpdt relay K2 and the second normally-closed contact 5 are respectively the first outfan and second outfan of focusing control module 105, the control contact 7 of dpdt relay K2 and connect altogether+3.3V of the negative electrode DC source of diode D2, the earthing contact 8 of dpdt relay K2 and the anode of diode D1 are connected to the first end of resistance R 14 altogether, the colelctor electrode of NPN type audion Q4 and emitter stage be the second end and ground of connecting resistance R14 respectively, the first end of resistance R 13 is the second input of focusing control module 105, the base stage of the second termination NPN type audion Q4 of resistance R 13.Wherein, digital isolator U4 can be ISO721 high-speed figure isolating chip, for isolate and convert microcontroller U2+3.3V DC voltage and the second motor 300+12V motor driven voltage.
Below in conjunction with operation principle, the control circuit of above-mentioned Wearable microscope equipment is described further:
Doctor, having worn micro-glasses carries out in microsurgery process patient, if doctor need to carry out convergent-divergent control to microscope, now only need press the switch S 1 in foot switch module 101 with foot, capacitor C 1 is by short circuit, the second end direct output of DC current (this unidirectional current is as convergent-divergent triggering signal) of resistance R 1 is to the second general purpose I/O pin PA1 of microcontroller U2, microcontroller U2 exports a high level and triggers 3-axis acceleration sensor U1 work as mode select signal after receiving this unidirectional current, so, 3-axis acceleration sensor U1 can moving up and down from its X-axis signal output pin Xout according to doctor's head, Y-axis signal output pin Yout and Z axis signal output pin Zout export corresponding three-dimensional coordinate signal, when doctor's head moves down, microcontroller U2 exports respectively high level and low level (high level and low level are jointly as resizing control signal) to the input pin IN of digital isolator U3 and the first end of resistance R 7 according to corresponding three-dimensional coordinate signal from its seven general purpose I/O pin PC0 and eight general purpose I/O pin PC1, the high level of the output pin OUT of digital isolator U3 output subsequently triggers NMOS pipe Q1 conducting, and NPN type audion Q2 cannot obtain bias voltage from resistance R 9 because of base stage to be ended, so, dpdt relay K1 no power, its first switch contact 1 and second switch contact 2 are still communicated with respectively the first normally-closed contact 3 and the second normally-closed contact 5, the first normally-closed contact 3 output+12V unidirectional currents of dpdt relay K1, and the second normally-closed contact 5 is managed Q1 ground connection by NMOS, and then make the first motor 200 forward rotation to increase microscopical amplification, when doctor's head up moves, microcontroller U2 all exports high level (high level is as resizing control signal) to the input pin IN of digital isolator U3 and the first end of resistance R 7 according to corresponding three-dimensional coordinate signal from its seven general purpose I/O pin PC0 and eight general purpose I/O pin PC1, the high level of the output pin OUT of digital isolator U3 output subsequently makes NMOS pipe Q1 conducting, and NPN type audion Q2 is because base stage is from resistance R 9 acquisition bias voltage conductings, so, dpdt relay K1 energising, its first switch contact 1 and second switch contact 2 are communicated with respectively the first normally opened contact 4 and the second normally opened contact 6, because the first normally opened contact 4 and the second normally opened contact 6 connect respectively the second normally-closed contact 5 and the first normally-closed contact 3, the second normally-closed contact 5 output+12V unidirectional currents of dpdt relay K1 now, and the first normally-closed contact 3 is managed Q1 ground connection by NMOS, and then make the first motor 200 rotate backward to dwindle microscopical amplification.
Doctor, to microscopical, complete after convergent-divergent control, if doctor need to be to the microscope control of focusing, now only need press the switch S 2 in foot switch module 101 with foot, capacitor C 2 is by short circuit, the second end direct output of DC current of resistance R 2 (this unidirectional current is as focusing triggering signal) is to the first general purpose I/O pin PA0-WKUP of microcontroller U2, microcontroller U2 exports a low level and triggers 3-axis acceleration sensor U1 work as mode select signal after receiving this unidirectional current, so, 3-axis acceleration sensor U1 can moving up and down from its X-axis signal output pin Xout according to doctor's head, Y-axis signal output pin Yout and Z axis signal output pin Zout export corresponding three-dimensional coordinate signal, when doctor's head moves down, microcontroller U2 exports respectively high level and low level (high level and low level are common as focusing control signal) to the input pin IN of digital isolator U4 and the first end of resistance R 13 according to corresponding three-dimensional coordinate signal from its nine general purpose I/O pin PC2 and ten general purpose I/O pin PC3, the high level of the output pin OUT of digital isolator U4 output subsequently triggers NMOS pipe Q3 conducting, NPN type audion Q4 cannot obtain bias voltage from resistance R 13 because of base stage to be ended, so, dpdt relay K2 no power, its first switch contact 1 and second switch contact 2 are still communicated with respectively the first normally-closed contact 3 and the second normally-closed contact 5, the first normally-closed contact 3 output+12V unidirectional currents of dpdt relay K2, and the second normally-closed contact 5 is managed Q3 ground connection by NMOS, and then make the second motor 300 forward rotation to lengthen microscopical focal length, when doctor's head up moves, microcontroller U2 all exports high level (high level is as resizing control signal) to the input pin IN of digital isolator U4 and the first end of resistance R 13 according to corresponding three-dimensional coordinate signal from its nine general purpose I/O pin PC2 and ten general purpose I/O pin PC3, the high level of the output pin OUT of digital isolator U4 output subsequently makes NMOS pipe Q3 conducting, and NPN type audion Q4 is because base stage is from resistance R 13 acquisition bias voltage conductings, so, dpdt relay K2 energising, its first switch contact 1 and second switch contact 2 are communicated with respectively the first normally opened contact 4 and the second normally opened contact 6, because the first normally opened contact 4 and the second normally opened contact 6 connect respectively the second normally-closed contact 5 and the first normally-closed contact 3, the second normally-closed contact 5 output+12V unidirectional currents of dpdt relay K2 now, and the first normally-closed contact 3 is managed Q3 ground connection by NMOS, and then make the second motor 300 rotate backward to shorten microscopical focal length.
It is a kind of for operating Wearable microscope equipment that another object of the embodiment of the present invention is also to provide, and this Wearable microscope equipment comprises above-mentioned control circuit.
In embodiments of the present invention, by the control circuit for operating Wearable microscope equipment, adopt foot switch module, head movement induction module, main control module, convergent-divergent control module and focusing control module, according to operator's foot switch action, enter convergent-divergent mode of operation or focusing mode of operation, and correspondingly control the rotation direction of microscopical the first motor or the second motor, to reach, automatically follow the realization that moves up and down of operator's head and microscope is carried out to the object of accurate convergent-divergent or focusing control, thereby solved the existing reduction operation efficiency of prior art and be difficult to microscopical amplification and focal length mobile phone to be realized the problem of fine adjustment.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any modifications of doing within the spirit and principles in the present invention, be equal to and replace and improvement etc., within all should being included in protection scope of the present invention.