Summary of the invention
The invention provides a kind of control circuit that is used for operating Wearable microscope equipment, be intended to solve existing in prior technology and reduce the problem that operation efficient and the amplification that is difficult to adjust the telescope to one's eyes and focal length realize accurate adjusting.
The present invention realizes like this; A kind of control circuit that is used for operating Wearable microscope equipment; Be connected with second motor with microscopical first motor; Said first motor and said second motor are respectively applied for microscopical convergent-divergent of control and focusing operation, said microscope outputting video signal to micro-glasses, and said control circuit comprises:
The foot switch module is used for foot switch action output convergent-divergent triggering signal or focusing triggering signal according to operator;
The head movement induction module is built in the said micro-glasses, is used for generating corresponding position signalling according to moving up and down of said operator's head;
The main control module; Convergent-divergent triggering signal end is connected with focusing triggering signal outfan with the convergent-divergent triggering signal outfan of said 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 are connected with primary importance signal output part, second position signal output part, three position singal outfan and the mode select signal end of said head movement induction module respectively; Be used for getting into convergent-divergent mode of operation or focusing mode of operation according to the convergent-divergent triggering signal or the focusing triggering signal of said foot switch module output; Generate and export corresponding mode select signal to said head movement induction module simultaneously, and under said convergent-divergent mode of operation or said focusing mode of operation, generate corresponding resizing control signal or focusing control signal according to said position signalling;
The convergent-divergent control module; First input end is connected with the second control signal end with the first control signal end of said main control module respectively with second input; First outfan and second outfan connect first terminals and second terminals of said microscopical first motor respectively, are used for controlling said first motor according to said resizing control signal and carry out forward rotation or backward rotation;
The focusing control module; First input end is connected with the 4th control signal end with the 3rd control signal end of said main control module respectively with second input; First outfan and second outfan connect first terminals and second terminals of said microscopical second motor respectively, are used for controlling said second motor according to said focusing control signal and carry out forward rotation or backward rotation.
Another object of the present invention also is to provide a kind of operating Wearable microscope equipment that is used for, and said Wearable microscope equipment comprises said control circuit.
In the present invention; Through adopting said foot switch module, said head movement induction module, said main control module, said convergent-divergent control module and said focusing control module at the said control circuit that is used for operating Wearable microscope equipment; Foot switch action according to operator gets into convergent-divergent mode of operation or focusing mode of operation; And correspondingly control the rotation direction of microscopical first motor or second motor; To reach the purpose that realizing adjusts the telescope to one's eyes carries out accurate scaled or focus and control that moves up and down of following operator's head automatically, reduce the problem that operation efficient and the amplification that is difficult to adjust the telescope to one's eyes and focal length mobile phone realize accurate adjusting thereby solved existing in prior technology.
The specific embodiment
In order to make the object of the invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with accompanying drawing and embodiment.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
In embodiments of the present invention; Through adopt foot switch module, head movement induction module, main control module, convergent-divergent control module and focusing control module at the control circuit that is used for operating Wearable microscope equipment; Foot switch action according to operator gets into convergent-divergent mode of operation or focusing mode of operation; And correspondingly control the rotation direction of microscopical first motor or second motor, to reach the purpose that realizing adjusts the telescope to one's eyes carries out accurate scaled or focusing control that moves up and down of following operator's head automatically.
Fig. 1 shows the modular structure of the control circuit that is used for operating Wearable microscope equipment that the embodiment of the invention provides, and for the ease of explanation, only shows the part relevant with the embodiment of the invention, and details are as follows:
The control circuit 100 that is used for operating Wearable microscope equipment is connected with second motor 300 with microscopical first motor 200; First motor 200 and second motor 300 are respectively applied for microscopical convergent-divergent of control and focusing operation; Microscope outputting video signal to micro-glasses, this control circuit comprises:
Foot switch module 101 is used for foot switch action output convergent-divergent triggering signal or focusing triggering signal according to the doctor;
Head movement induction module 102 is built in the micro-glasses, is used 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 are connected with primary importance signal output part, second position signal output part, three position singal outfan and the mode select signal end of head movement induction module 102 respectively; Be used for getting into convergent-divergent mode of operation or focusing mode of operation according to the convergent-divergent triggering signal or the focusing triggering signal of 101 outputs of foot switch module; Generate and export corresponding mode select signal to head movement induction module 102 simultaneously, and the position signalling according to 102 outputs of head movement induction module generates corresponding resizing control signal or focusing control signal under convergent-divergent mode of operation or said 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 second input; First outfan and second outfan connect first terminals and second terminals of microscopical first motor 200 respectively, are used for controlling first motor 200 according to the resizing control signal that main control module 103 generates and carry out forward rotation or backward rotation;
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 second input; First outfan and second outfan connect first terminals and second terminals of microscopical second motor 300 respectively, are used for controlling second motor 300 according to the focusing control signal that main control module 103 generates and carry out forward rotation or backward rotation.
In the present invention implemented, microscope was realized convergent-divergent and focusing function under the control of above-mentioned control circuit 100, and real-time outputting video signal micro-glasses extremely, thereby made the doctor who wears these micro-glasses can clearly obtain the live telecast of microscope monitoring site.
Fig. 2 shows the exemplary circuit structure of the control circuit that is used for operating Wearable microscope equipment that the embodiment of the invention provides, and for the ease of explanation, only shows the part relevant with the embodiment of the 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;
First termination of resistance R 1+3.3V dc source; Second end of resistance R 1 is the convergent-divergent triggering signal outfan of foot switch module 101; First end of capacitor C 1 and first end of switch S 1 are connected to second end of resistance R 1 altogether; Second end of capacitor C 1 and second end of switch S 1 are connected to ground altogether, and first end of the first end resistance R 1 of resistance R 2, second end of resistance R 2 are the focusing triggering signal outfan of foot switch module 101; First end of capacitor C 2 and first end of switch S 2 are connected to second end of resistance R 2 altogether, and second end of capacitor C 2 and 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;
First end of capacitor C 3 and the supply pin Vdd of 3-axis acceleration sensor U1, the first logic input pin g_select1 and the second logic input pin g_select2 connect+the 3.3V dc source altogether; Second end of capacitor C 3 and the grounding leg Vss of 3-axis acceleration sensor U1 are connected to ground altogether; First end of first end of resistance R 3, first end of resistance R 4 and resistance R 5 meets X axis signal output pin Xout, Y axis signal output pin Yout and the Z axis signal output pin Zout of 3-axis acceleration sensor U1 respectively; Second end of second end of resistance R 3, second end of resistance R 4 and resistance R 5 is respectively primary importance signal output part, second position signal output part and the three position singal outfan of head movement induction module 102; 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, and 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;
First general purpose I of the microcontroller U2/O pin PA0-WKUP and second general purpose I/O pin PA1 is respectively the convergent-divergent triggering signal end and focusing triggering signal end of main control module 103; The 3rd general I/O pin PA2 of microcontroller U2, four-way are respectively main control module 103 with I/O pin PA8 with I/O pin PA4 and clematis stem with I/O pin PA3, five-way primary importance signal end, second position signal end, three position singal end and mode select signal outfan; First end of capacitor C 7 and first end of capacitor C 8 are connected to ground altogether; 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 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; First termination of resistance R 6+3.3V dc source; First end of second end of resistance R 6, the inverted reset pin NRST of microcontroller U2 and switch S 3 is connected to first end of capacitor C 9 altogether; Second end of capacitor C 9 and 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 analog power pin VDDA connect+the 3.3V dc source altogether; The 7th general purpose I of microcontroller U2/O pin PC0, the 8th general purpose I/O pin PC1, the 9th general purpose I/O pin PC2 and the tenth general purpose I/O pin PC3 are respectively the first control signal end, the second control signal end, the 3rd control signal end and the 4th control signal end of main control module 103; First end of capacitor C 10 and first end of capacitor C 11 meet second clock input pin PC14-OSC32_IN and the second clock output pin PC15-OSC32_OUT of microcontroller U2 respectively; Second end of capacitor C 10 and 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, and 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 and the second source foot VCC2 of first end of capacitor C 12 and digital isolator U3 connect+the 3.3V dc source altogether; The first grounding leg GND1 of 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; The 3rd supply pin VCC3 of digital isolator U3 and first end of capacitor C 13 connect+the 12V dc source altogether; The second grounding leg GND2 and the 3rd grounding leg GND3 of second end of capacitor C 13 and digital isolator U3 are connected to ground altogether; The output pin OUT of digital isolator U3 is connected with first end of resistance R 7 and first end of resistance R 8 simultaneously; The grid of the second termination NMOS pipe Q1 of resistance R 7; The source electrode of NMOS pipe Q1 and second end of resistance R 8 are connected to ground altogether; First switch contact 1 and the second switch contact 2 of dpdt relay K1 connects the drain electrode of the 3rd supply pin VCC3 and the NMOS pipe Q1 of digital isolator U3 respectively, and first normally-closed contact 3 of dpdt relay K1 and second normally-closed contact 5 are respectively first outfan and second outfan of convergent-divergent control module 104, and the control contact 7 of dpdt relay K1 connects+the 3.3V dc source with the negative electrode of diode D1 altogether; The earthing contact 8 of dpdt relay K1 and the anode of diode D1 are connected to first end of resistance R 10 altogether; The colelctor electrode of NPN type audion Q2 and emitter stage be second end and ground of connecting resistance R10 respectively, and first end of resistance R 9 is 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, be used to isolate with conversion microcontroller U2+3.3V DC voltage and first motor 200+the 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 and the second source foot VCC2 of first end of capacitor C 14 and digital isolator U4 connect+the 3.3V dc source altogether; The first grounding leg GND1 of 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; The 3rd supply pin VCC3 of digital isolator U4 and first end of capacitor C 15 connect+the 12V dc source altogether; The second grounding leg GND2 and the 3rd grounding leg GND3 of second end of capacitor C 15 and digital isolator U4 are connected to ground altogether; The output pin OUT of digital isolator U4 is connected with first end of resistance R 11 and first end of resistance R 12 simultaneously; The grid of the second termination NMOS pipe Q3 of resistance R 11; The source electrode of NMOS pipe Q3 and second end of resistance R 12 are connected to ground altogether; First switch contact 1 and the second switch contact 2 of dpdt relay K2 connects the drain electrode of the 3rd supply pin VCC3 and the NMOS pipe Q3 of digital isolator U4 respectively, and first normally-closed contact 3 of dpdt relay K2 and second normally-closed contact 5 are respectively first outfan and second outfan of focusing control module 105, and the control contact 7 of dpdt relay K2 connects+the 3.3V dc source with the negative electrode of diode D2 altogether; The earthing contact 8 of dpdt relay K2 and the anode of diode D1 are connected to first end of resistance R 14 altogether; The colelctor electrode of NPN type audion Q4 and emitter stage be second end and ground of connecting resistance R14 respectively, and first end of resistance R 13 is 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, be used to isolate with conversion microcontroller U2+3.3V DC voltage and second motor 300+the 12V motor driven voltage.
Be described further below in conjunction with the control circuit of operation principle above-mentioned Wearable microscope equipment:
Having worn micro-glasses the doctor carries out in the microsurgery process patient; If need adjusting the telescope to one's eyes, the doctor carries out convergent-divergent control; This moment, only using foot was pressed the switch S 1 in the foot switch module 101; Then capacitor C 1 is by short circuit; The second end direct output of DC current (this unidirectional current is as the convergent-divergent triggering signal) of resistance R 1 is to 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 export corresponding three-dimensional coordinate signal according to moving up and down from its X axis signal output pin Xout, Y axis signal output pin Yout and Z axis signal output pin Zout of doctor's head; When doctor's head moves down; Microcontroller U2 exports high level and low level (high level and low level are jointly as resizing control signal) respectively to the input pin IN of digital isolator U3 and first end of resistance R 7 according to corresponding three-dimensional coordinate signal from its 7th general purpose I/O pin PC0 and the 8th general purpose I/O pin PC1, and the output pin OUT of digital isolator U3 exports high level triggering NMOS and manages the Q1 conducting subsequently, and NPN type audion Q2 can't obtain bias voltage from resistance R 9 because of base stage and ends; So; Dpdt relay K1 no power, its first switch contact 1 still is communicated with first normally-closed contact 3 and second normally-closed contact 5 respectively with second switch contact 2, then first normally-closed contact, the 3 output+12V unidirectional currents of dpdt relay K1; And second normally-closed contact 5 is managed Q1 ground connection through NMOS, and then makes 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 first end of resistance R 7 according to corresponding three-dimensional coordinate signal from its 7th general purpose I/O pin PC0 and the 8th 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 obtains the bias voltage conducting because of base stage from resistance R 9; So, dpdt relay K1 energising, its first switch contact 1 is communicated with first normally opened contact 4 and second normally opened contact 6 respectively with second switch contact 2; Because first normally opened contact 4 and second normally opened contact 6 connect second normally-closed contact 5 and first normally-closed contact 3 respectively; Then this moment dpdt relay K1 second normally-closed contact, 5 output+12V unidirectional currents, and first normally-closed contact 3 manages Q1 ground connection through NMOS, and then makes first motor, 200 backward rotation to dwindle microscopical amplification.
After the completion convergent-divergent control that the doctor adjusts the telescope to one's eyes; The control of focusing if the doctor need adjust the telescope to one's eyes; This moment, only using foot was pressed the switch S 2 in the foot switch module 101; Then capacitor C 2 is by short circuit; The second end direct output of DC current of resistance R 2 (this unidirectional current is as the focusing triggering signal) is to 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 export corresponding three-dimensional coordinate signal according to moving up and down from its X axis signal output pin Xout, Y axis signal output pin Yout and Z axis signal output pin Zout of doctor's head; When doctor's head moves down; Microcontroller U2 exports high level and low level (high level and low level are common as the focusing control signal) respectively to the input pin IN of digital isolator U4 and first end of resistance R 13 according to corresponding three-dimensional coordinate signal from its 9th general purpose I/O pin PC2 and the tenth general purpose I/O pin PC3, and the output pin OUT of digital isolator U4 exports high level triggering NMOS and manages the Q3 conducting subsequently, and NPN type audion Q4 can't 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 still is communicated with first normally-closed contact 3 and second normally-closed contact 5 respectively with second switch contact 2, then first normally-closed contact, the 3 output+12V unidirectional currents of dpdt relay K2; And second normally-closed contact 5 is managed Q3 ground connection through NMOS, and then makes second motor, 300 forward rotation to extend 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 first end of resistance R 13 according to corresponding three-dimensional coordinate signal from its 9th general purpose I/O pin PC2 and the tenth 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 obtains the bias voltage conducting because of base stage from resistance R 13; So, dpdt relay K2 energising, its first switch contact 1 is communicated with first normally opened contact 4 and second normally opened contact 6 respectively with second switch contact 2; Because first normally opened contact 4 and second normally opened contact 6 connect second normally-closed contact 5 and first normally-closed contact 3 respectively; Then this moment dpdt relay K2 second normally-closed contact, 5 output+12V unidirectional currents, and first normally-closed contact 3 manages Q3 ground connection through NMOS, and then makes second motor, 300 backward rotation to shorten microscopical focal length.
Another purpose of the embodiment of the invention also is to provide a kind of operating Wearable microscope equipment that is used for, and this Wearable microscope equipment comprises above-mentioned control circuit.
In embodiments of the present invention; Through adopt foot switch module, head movement induction module, main control module, convergent-divergent control module and focusing control module at the control circuit that is used for operating Wearable microscope equipment; Foot switch action according to operator gets into convergent-divergent mode of operation or focusing mode of operation; And correspondingly control the rotation direction of microscopical first motor or second motor; To reach the purpose that realizing adjusts the telescope to one's eyes carries out accurate scaled or focus and control that moves up and down of following operator's head automatically, reduce the problem that operation efficient and the amplification that is difficult to adjust the telescope to one's eyes and focal length mobile phone realize accurate adjusting thereby solved existing in prior technology.
The above is merely preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of within spirit of the present invention and principle, being done, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.