Abstract:
An optics device with an optics module that includes at least one optical element and a control module for controlling the optics device is provided. The optics module includes a sub-system with a memory as well as at least one of an actuator and a sensor. An instruction for setting the actuator and/or the sensor of the sub-system is stored in the memory. The control module is formed such that, during operation of the optics device, it reads the instructions from the memory of the sub-system and activates the actuator and/or the sensor of the sub-system according to the instruction.

Description:
PRIORITY 
       [0001]    This application claims the benefit of German Patent Application No. 102015110795.3, filed on Jul. 3, 2015, which is hereby incorporated herein by reference in its entirety. 
       FIELD 
       [0002]    The present invention relates to an optics device with an optics module that comprises at least one optical element, such as e.g. a microscope. 
       BACKGROUND 
       [0003]    In developing optics devices, there is always the challenge that there are sub-systems which are intended to perform complex processes in the complete system but about which the complete system for a start does not exactly know how the processes are to be executed in the sub-system. 
         [0004]    The complete system can be equipped, during development, with complete knowledge of the capabilities and the use of the sub-system. A disadvantage of this is that, with every change in the properties of the sub-system made during development, the complete system must also be revised in order to be able to apply the new properties. 
         [0005]    Furthermore, it is possible to equip the sub-system completely with computing capability, with the result that it can perform its processes in the complete system itself. The complete system would then have to initiate the execution of the sub-system processes via suitable commands at the appropriate moment. A disadvantage of this is that the development of the sub-system becomes significantly more complex. A corresponding computing capability needs to be incorporated, a command structure needs to be developed in order to be able to communicate with the outside world, and both the sub-system and also the complete system and the associated commands need to be revised if new or amended functionalities of the sub-system are to be developed. 
       SUMMARY 
       [0006]    An object of the invention is to provide an optics device with an optics module that comprises at least one optical element and a sub-module in such a way that the difficulties described in the Background section herein are resolved as completely as possible. 
         [0007]    The disclosure includes an optics device with an optics module that comprises at least one optical element and a sub-system, and a control module for controlling the optics device, wherein the sub-system comprises a memory as well as an actuator and/or a sensor, wherein an instruction (or a provision) for setting the actuator and/or the sub-system is stored in the memory, wherein the control module is formed in such a way that, during operation of the optics device, it reads the instruction from the memory of the sub-system and activates the actuator and/or the sensor of the sub-system according to the instructions. 
         [0008]    The sub-system can thus be developed very easily. It can be designed concentrating on the use of the actuator and/or of the sensor. It is not necessary to use an extended computing capability, which would lead to higher costs and greater complexity. An additional command structure is also not required. However, the optics device as complete system is nevertheless capable of using the sub-system effectively in complex scenarios. 
         [0009]    The sub-system can be formed in such a way that it provides two basic functions. On the one hand, it offers (very fundamental) control of its actuator and/or of its sensor. The control or activation of the actuator can be the movement by means of a motor and the setting of a position. On the other hand, the sub-system offers a storage capability. 
         [0010]    An instruction (or provision) of the optics device can include a mathematical provision (or a mathematical formula) and the control module can comprise an arithmetic unit which, during operation of the optics device, calculates a result of the mathematical provision and takes it into account during the activation (or control) of the actuator and/or of the sensor of the sub-system. 
         [0011]    At least one first parameter which describes a property of the sub-system and is taken into account in the instruction can be stored in the memory, and the control module can be formed in such a way that, during operation of the optics device, it reads the first parameter or the first parameters and takes it/them into account during the activation (or control) of the actuator and/or sensor of the sub-system according to the instructions. 
         [0012]    At least one second parameter, which describes a property of the optics device or a property to be taken into account during the operation of the optics device but not a property of the sub-system and is taken into account in the instruction, can be supplied to the control module, and the control module can be formed in such a way that, during operation of the optics device, it takes into account the second parameter or the second parameters in activating (or in controlling) the actuator and/or the sensor of the sub-system according to the instruction. 
         [0013]    Furthermore, the instruction can be stored in textual form in the memory of the sub-system. In particular, they can be stored as an XML file. 
         [0014]    The textual form can be read and interpreted by the control module. The sub-system itself does not need to be capable of also carrying out this interpretation. It can thus be said that the sub-system does not need to know about its own role in the complete system. 
         [0015]    In particular, the sub-system can be provided in the optics device in such a way that it can be exchanged. 
         [0016]    Furthermore, the sub-system can be formed in such a way that it cannot itself carry out the instruction(s) stored in its memory. 
         [0017]    The optics device according to the invention can, for example, be formed as a measuring device, capturing device and/or as a processing device. In particular, the optics device according to the invention can be formed as a microscope. The sub-system can be an objective of the microscope. The first parameter can be, e.g., a calibration parameter of the objective. The second parameter can be, e.g., the thickness of a cover glass which carries a sample to be examined, or the thickness of a base of a vessel in which the sample is located. 
         [0018]    It is understood that the features mentioned above and those yet to be explained below can be used not only in the stated combinations but also in other combinations or alone, without departing from the scope of the present invention. 
     
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         [0019]      FIG. 1  is a schematic view of an embodiment of the optics device according to the invention. 
           [0020]      FIG. 2  is a schematic functional representation to explain the operation of the optics device according to the invention of  FIG. 1 . 
           [0021]      FIG. 3  is a user interface generated by the control module of the optics equipment. 
           [0022]      FIG. 4  is a flow diagram to explain the operation of the optics device. 
           [0023]      FIG. 5  is a representation of a further user interface which can be generated by the control module. 
       
    
    
       [0024]    While the invention is amenable to various modifications and alternative forms, specifics thereof have been shown by way of example in the drawings and will be described in detail. It should be understood, however, that the intention is not to limit the invention to the particular example embodiments described. On the contrary, the invention is to cover all modifications, equivalents, and alternatives falling within the scope of the invention as defined by the appended claims. 
       DETAILED DESCRIPTION 
       [0025]    In the following descriptions, the present invention will be explained with reference to various exemplary embodiments. Nevertheless, these embodiments are not intended to limit the present invention to any specific example, environment, application, or particular implementation described herein. Therefore, descriptions of these example embodiments are only provided for purpose of illustration rather than to limit the present invention. 
         [0026]    In the embodiment shown in  FIG. 1 , the optics device according to the invention is formed as a microscope which comprises a holder  2 , an objective  3 , a first partial lens system  4  as well as a camera  5 . In addition, the microscope  1  comprises a first light source  6 , the illumination light of which is coupled into the imaging beam path via a partially transparent mirror  7  arranged between the objective  3  and the first partial lens system  4  and can thus be directed via the objective  3  onto a sample  8  which is mounted in the holder  2 . The sample  8  can, for example, be arranged on a sample holder or cover glass  9  which is mounted in the holder  2 . An immersion medium (such as e.g. water, oil or glycerol) (not shown) can be provided between the objective  3  and the cover glass. Alternatively, the immersion medium can also be dispensed with. In this case there is, for example, air between the objective  3  and the cover glass  9 . 
         [0027]    In addition, the microscope  1  comprises a control module  10  which serves to control the microscope  1  during the operation of the microscope. The objective  3  comprises a schematically drawn-in correction ring  11  which is motor-driven and can be adjusted and set by means of the control module  10 . 
         [0028]    The sample  8  illuminated with the light of the light source  6  is imaged, magnified, on the camera  5  in a known manner via the objective  3  and the first partial lens system. In order to produce a sharp image, the objective  3  can be moved, for example, along the z direction, as is indicated by the double arrow P 1  in  FIG. 1 . By this means, the focal position of the object  3  or the corresponding image on the camera  5  can be shifted in the z direction such that it coincides with the sample  8  to be imaged. 
         [0029]    The objective  3  forms, together with the first partial lens system  4 , an optics module  12  of the microscope  1 , which module comprises the objective  3  as sub-system. In the embodiment described here, in addition to the motor-driven correction collar  11 , the objective  3  comprises, as is indicated in the schematic representation in  FIG. 2 , a control unit  13 , which sets the position of the correction collar  11  contained in a command in reaction to the command, an imaging optical system  14  which is represented schematically as a lens, and a memory  15  in which an internal parameter is stored. The internal parameter can be, but does not have to be, stored in the memory  15 . It can also be stored elsewhere in the objective  3 . The internal parameter can be, e.g., a calibration value Cal 0  which was individually calibrated during the manufacture of the objective  3  and then stored in the objective  3 . 
         [0030]    Instructions (e.g. a mathematical formula) are stored in the memory  15  which indicate the position of the correction collar CR 0  in dependence on the calibration value Cal 0 , a thickness of the cover glass  9  to be entered (variable name CBT) as well as a depth of field (variable name ID). The corresponding formula 1 can read as follows for example: 
         [0000]        CR 0= Cal 0+136.892×( CBT− 170)+140.562×ID  (1)
 
         [0000]    This concept is clarified in  FIG. 2 . 
         [0031]    The control module  10  reads the formula stored in the memory  15  (arrow P 2 ) as well as the internal parameter CR 0  (arrow P 2 ) from the objective  3  (here from the memory  15 ) and then calculates from this and from the externally entered cover glass thickness CBT (arrow P 4 ) the position CR 0  of the correction collar  11  and activates the latter correspondingly (arrow P 5 ) with the result that it is brought into the calculated position and brings about the desired correction. 
         [0032]    Thus, the description for adjusting the correction collar of the objective  3  is stored in the objective  3  itself (and not in the control module  10 ). Since the objective  3  does not comprise its own arithmetic unit for evaluating the mathematical formula, it cannot evaluate it itself. The control module  10 , which reads and evaluates the mathematical formula in the described manner during the operation of the microscope  1 , is provided for this. Because the objective  3  only provides the basic activation of the correction collar  11  and provides the storage capability by means of the memory  15 , it can be developed very easily. It is thus not necessary to use an extended computing capability in the objective  3  which would lead to higher costs and greater complexity. In particular, no additional command structure is required, which would be necessary if the formula were to be evaluated in the objective  3  itself. In this case, this would have to be initiated by the control module  10  at the correct moment during the operation of the microscope. 
         [0033]    The control module  10  only needs to be designed in such a way that it can evaluate the formula stored in the memory. For example, the formula can be stored in the objective  3  in a textual format (such as e.g. XML). Then, the control module  10  is designed in such a way that it can read and interpret the formula as well as the corresponding parameters and calculate therefrom the corresponding setting value for the correction collar  11 . For this, the control module  10  can compile the formula present as text into machine code by means of a parser and execute it. The result of the calculation is used directly by the control module  10  as a position value to which the correction collar  11  needs to be adjusted. The objective  3  can comprise firmware for activating the correction collar  11  (“go to position x”) by means of the control unit  13 . In response to an enquiry from the control module  10 , the firmware provides an XML text with the mathematical instructions for adjusting the correction collar in dependence on the external and internal parameters. The XML text can read as follows for example 
         [0000]    &lt;?xml version=‘1.0’ encoding-,Windows-1252’?&gt;
 
&lt;obj&gt;
 
         [0034]    &lt;mode id=‘Thin glass 23&amp;#x008B;C’&gt;
       &lt;var id=‘Cover glass thickness’ symbol=‘CBT’ unit=‘&amp;#x00B5;m’ min=‘130’ max=‘210’ default=‘170’/&gt;   &lt;var id=‘Depth of field’ symbol=‘ID’ unit=‘&amp;#00B5;m’ min=‘0’ max=‘50’ default=‘0’/&gt;   &lt;calc symbol=‘CR 0 ’&gt;Cal 0 +136.892*(CBT−170)+140.562*ID&lt;/calc&gt;   &lt;calc symbol=‘WD’&gt;1698.51−0.20061*(CBT−170)−0.29045*ID&lt;/calc&gt;       
 
         [0039]    &lt;/mode&gt; 
         [0000]    &lt;/obj&gt; 
         [0040]    This XML text indicates that the objective  3  can be controlled in a mode “Thin glass 23° C.”. Here there is the external parameter “Cover glass thickness” (variable name CBT) with possible values in the range of from 130-210 μm and “Depth of field” (variable name ID) with possible values in the range of from 0 μm to 50 μm. An external parameter is a parameter the value of which is not stored in the objective  3 . The value of the external parameter must therefore come from outside the objective  3 . 
         [0041]    The adjustment of the correction collar CR 0  is calculated using Formula 1 stated above. With the further Formula 2, the change of the working distance WD through the adjustment can also be calculated as follows. 
         [0000]        WD= 1698.51−0.20061×( CBT− 170)−0.290045×ID  (2)
 
         [0000]    The control module  10  or the software running on it reads this XML text and the calibration value Cal 0  from the objective firmware, interprets them and is thus in a position to display via a monitor  16  ( FIG. 1 ) e.g. the user interface E 1  shown in  FIG. 3  for activating the objective  3 . 
         [0042]    Here, the values of the external parameters “Cover glass thickness” and “Depth of field” can be set with the schematically represented slide controls. The value set is, in each case, shown in the box arranged next to it on the right. If the “apply” button next to the text “Parameter” is selected, the values set for cover glass thickness and depth of field are used in Formula 1 and the correction collar  11  is set to the determined value by a command to the objective firmware. In addition, the values set are applied in Formula 2 and the result is indicated in the box next to the text “Working distance”. After selection of the “apply” button, this is represented by a tick in the box next to the text “applied”. 
         [0043]    The process is to be described again in detail in conjunction with the flow diagram of  FIG. 4 . 
         [0044]    In step S 1 , the corresponding program is launched in the control module  10 . In step S 2 , the XML file is read from the objective  3 . In step S 3 , it is checked whether an XML text for CR 0  is contained or not. If this is not the case, the program ends, otherwise it continues with step S 4 . In step S 4 , the name and value ranges of the variables are read from the XML text for CR 0 . In step S 5 , the input interface is generated and displayed (E 1 ). In step S 6 , the calibration value Cal 0  is read from the memory  15 . In step S 7 , the formula for CR 0  is parsed. In step S 8 , the values for the cover glass thickness and depth of field set via the user interface E 1  are retrieved and the position for the correction collar  11  is calculated with them in step S 9 . In step S 10 , the motor of the correction collar  11  of the object  3  is set to the calculated value and the process ends with step S 11 . 
         [0045]    In the embodiment described here, the objective  3  is provided in the microscope  1  in such a way that it can be exchanged. Thus, a further objective  3  can be used which comprises the same firmware as the objective  3  already described. However, it differs in terms of the mathematical instructions and the calibration values specific to the example. In the case of this objective, only the cover glass thickness has an influence on the correction collar adjustment. For this, however, two correction collars (CR 0  and CR 1 ) are to be set. The corresponding XML text is indicated below. 
         [0000]                                                                                                                          &lt;?xml version= ‘1.0’ encoding=‘Windows-1252’?&gt;       &lt;obj&gt;                &lt;mode id=’Thin glass 238&amp;#x00B0;C’&gt;”                &lt;var id=’Cover glass thickness’ symbol=‘CBT‘ unit=‘&amp;#00B5;m‘ min=‘130‘ max=‘210‘            default=‘170‘ /&gt;                &lt;calc symbol=‘CR0‘&gt;Cal0 − 905455796e−12*CBT{circumflex over ( )}4 + 662348212e−9*CBT{circumflex over ( )}3 − 178102295e−            6*CBT{circumflex over ( )}2 + 21129542e−3*CBT − 942737&lt;/calc&gt;                &lt;cal symbol=‘CR1‘&gt;Cal1 + 24028955e−15*CBT{circumflex over ( )}5 + 260876589e−12*CBT{circumflex over ( )}4 − 229321295e−            9*CBT{circumflex over ( )}3 + 68903597e−6*CBT{circumflex over ( )}2 − 9138458e−3*CBT + 467581&lt;/calc&gt;                 &lt;calc symbol=‘WD‘&gt;12236850.26 + 11766.11462*CBT + 83.300329511*CBT{circumflex over ( )}1.5 +            0.19835205355*CBT{circumflex over ( )}2.5 − 12229113.1*Exp(CBT/1000)&lt;/calc&gt;                &lt;/mode&gt;            &lt;/obj&gt;                    
On the basis of this XML text, the control module  10  can display the user interface E 2  shown in  FIG. 5 . For this, no changes are necessary at all in the control module  10 . This is effected with software which is identical to that which also generated the user interface according to  FIG. 3 .
 
         [0046]    By selecting the “apply” button next to the text “Parameter”, the set value for the cover glass thickness is used in the corresponding formulae. The corresponding values are given to the objective firmware so that this sets the correction collars CR 0  and CR 1  to these values. 
         [0047]    While the invention has been described in connection with what is presently considered to be the most practical and preferred embodiments, it will be apparent to those of ordinary skill in the art that the invention is not to be limited to the disclosed embodiments. It will be readily apparent to those of ordinary skill in the art that many modifications and equivalent arrangements can be made thereof without departing from the spirit and scope of the present disclosure, such scope to be accorded the broadest interpretation of the appended claims so as to encompass all equivalent structures and products. Moreover, features or aspects of various example embodiments may be mixed and matched (even if such combination is not explicitly described herein) without departing from the scope of the invention.