Parameter adjusting method and system for operating shadowless lamp and computer readable storage medium
By using an automatic parameter adjustment method, the light source parameters of the surgical shadowless lamp can be quickly adjusted using a reflective structure and control unit, solving the problems of long parameter adjustment time and visual impairment in existing technologies, and achieving efficient parameter adjustment.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-24
- Publication Date
- 2026-03-24
AI Technical Summary
The parameter adjustment process of existing surgical shadowless lamps is too time-consuming and can damage the operator's eyesight. In particular, in various application states, the central illuminance, color temperature and spot distribution diameter need to be manually adjusted, which causes the total parameter adjustment time to exceed the acceptable range for industrial production.
An automatic parameter adjustment method is adopted to acquire the light spot image of the surgical shadowless lamp through a reflective structure. The control unit automatically adjusts the light source parameters to achieve preset performance values, including center illuminance, color temperature, and light spot distribution diameter. Three strategies are provided to update the light source parameters to achieve rapid adjustment.
It significantly shortens the parameter adjustment time, improves industrial production efficiency, and reduces damage to the operator's eyesight, increasing the parameter adjustment speed by 60 times.
Smart Images

Figure CN121728639A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The application belongs to the technical field of medical devices, and particularly relates to a parameter adjusting method and system of a surgical shadowless lamp and a computer readable storage medium. BACKGROUND
[0002] The performance parameters of the surgical shadowless lamp include center illuminance (Ec), color temperature (CCT), and light spot distribution diameter (Dm), wherein the light spot distribution diameter is related to the light spot size of the surgical shadowless lamp, and the light spot distribution diameter is usually represented by D10 and D50, D10 refers to the diameter of a circle with the center of which being the center illuminance point of the surgical shadowless lamp and the edge of which being the circle with the illuminance of 10% of the center illuminance, and D50 refers to the diameter of a circle with the center of which being the center illuminance point of the surgical shadowless lamp and the edge of which being the circle with the illuminance of 50% of the center illuminance. The surgical shadowless lamp can have different application states, and for the surgical shadowless lamp in any application state, the center illuminance, the color temperature, D10 and D50 all have corresponding standard values, and for the surgical shadowless lamp in different application states, at least one of the center illuminance, the color temperature, D10 and D50 is different. After the surgical shadowless lamp is assembled, the light source in the surgical shadowless lamp needs to be adjusted to make the center illuminance, the color temperature, D10 and D50 of the surgical shadowless lamp in any specified application state be at the corresponding standard values.
[0003] In the prior art, the parameter adjusting operation of the surgical shadowless lamp is manually performed, which generally includes the following steps performed for each application state: manually determining the light source parameters of the light source, then manually measuring the center illuminance of the surgical shadowless lamp by using an illuminance meter, then mechanically finding the 10% brightness point of the surgical shadowless lamp to obtain D10 and the 50% brightness point to obtain D50, and manually testing the color temperature of the surgical shadowless lamp by using a spectrometer; then, the obtained center illuminance, D10, D50 and color temperature are compared with the standard values corresponding to each parameter, if all of them are consistent, the current light source parameters are taken as the actual light source parameters corresponding to the application state, if at least one parameter is inconsistent with the standard value corresponding thereto, the above steps are re-executed. Generally, it takes at least 5 minutes for a skilled operator to obtain the center illuminance by using the illuminance meter, and then calculate D10 and D50, and obtain the color temperature, and according to experience, for any application state, the above operation needs to be repeatedly executed about 200 times on average to complete the parameter adjustment in the corresponding application state. That is, for one application state, it takes about 1000 minutes for a skilled operator to complete the parameter adjustment.
[0004] If the application states of the surgical shadowless lamp are more, the total parameter adjusting time of the surgical shadowless lamp will be extremely long. For example, for the surgical shadowless lamp with 10 application states, it takes about 10000 minutes for a skilled operator to complete the parameter adjustment. For the surgical shadowless lamp, the center illuminance has two optional levels, the color temperature has four optional levels, the light spot has three optional levels, that is, a total of 24 application states need to be adjusted, and the total time for a skilled operator to complete the parameter adjustment of the surgical shadowless lamp in all application states will reach 24000 minutes, that is, 400 hours, which is far beyond the acceptable range of industrial production. In addition, the above parameter adjustment process will also cause certain damage to the operator's vision. SUMMARY
[0005] The purpose of the present application is to provide a parameter adjustment method and system for a surgical shadowless lamp, and a computer readable storage medium, aiming to improve the parameter adjustment efficiency of the surgical shadowless lamp and reduce or even avoid damage to the operator.
[0006] To achieve the above-mentioned purpose, the present application provides a parameter adjustment method for a surgical shadowless lamp, comprising the following steps performed for each application state of the surgical shadowless lamp:
[0007] Step S1, making the light source of the surgical shadowless lamp work based on the set light source parameters; the light emitting surface of the surgical shadowless lamp is arranged in parallel and face-to-face with a light reflecting structure;
[0008] Step S2, acquiring an image of the light reflecting structure, and the image of the light reflecting structure displays the light spot of the surgical shadowless lamp;
[0009] Step S3, acquiring a first performance parameter, a second performance parameter and a third performance parameter of the surgical shadowless lamp based on the image of the light reflecting structure; one of the first performance parameter, the second performance parameter and the third performance parameter is the actual center illuminance of the surgical shadowless lamp, another is the actual color temperature of the surgical shadowless lamp, and the other is the actual light spot distribution diameter of the surgical shadowless lamp;
[0010] Step S4, judging whether the first performance parameter is equal to a first preset value, if yes, executing step S5, if not, executing step S7;
[0011] Step S5, judging whether the second performance parameter is equal to a second preset value, if yes, executing step S6, if not, executing step S7;
[0012] Step S6, judging whether the third performance parameter is equal to a third preset value, if yes, taking the current light source parameter as the expected light source parameter, and then executing step S7;
[0013] Step S7, judging whether to continue parameter adjustment, if yes, updating the light source parameter and returning to execute the step S1 based on the new light source parameter, if not, determining that the parameter adjustment fails.
[0014] Optionally, the step S7 comprises:
[0015] Step S71, judging whether the number of consecutive executions of the first strategy is less than a first preset number, if yes, determining to continue parameter adjustment, and executing step S72, if not, executing step S73;
[0016] Step S72, executing the first strategy to obtain new light source parameters;
[0017] Step S73, judging whether the number of executions of the second strategy is less than a second preset number, if yes, determining to continue parameter adjustment, and executing step S74, if not, executing step S75;
[0018] Step S74, executing the second strategy to obtain new light source parameters;
[0019] Step S75, judging whether the number of executions of the third strategy is less than a third preset number, if yes, determining to continue parameter adjustment, and executing step S76, if not, determining that parameter adjustment fails;
[0020] Step S76, executing the third strategy to obtain new light source parameters.
[0021] Optionally, one of the first preset value, the second preset value, and the third preset value is a preset central illuminance corresponding to the actual central illuminance, and the light source parameters include a plurality of sub-parameters;
[0022] When the actual central illuminance is not equal to the preset central illuminance, the first strategy includes:
[0023] obtaining a sub-parameter with the largest value in the current light source parameters as a first target parameter;
[0024] obtaining first update data based on the current value of the first target parameter, the preset central illuminance, and the actual central illuminance;
[0025] replacing the first target parameter in the current light source parameters with the first update data to obtain new light source parameters;
[0026] wherein, the ratio of the first update data to the current value of the first target parameter is equal to the ratio of the preset central illuminance to the actual central illuminance.
[0027] Optionally, one of the first preset value, the second preset value, and the third preset value is a preset central illuminance corresponding to the actual central illuminance, and the light source parameters include a plurality of sub-parameters;
[0028] When the actual central illuminance is less than the preset central illuminance, the second strategy includes:
[0029] acquire a maximum value of each of the sub-parameters of the current light source parameter as a first reference value;
[0030] acquire a ratio of a fourth preset value to the first reference value as a first amplification ratio;
[0031] amplify all the sub-parameters of the current light source parameter based on the first amplification ratio to obtain new light source parameters;
[0032] When the actual center illuminance is greater than the preset center illuminance, the second strategy includes:
[0033] amplify all the sub-parameters of the current light source parameter based on a first reduction ratio to obtain new light source parameters.
[0034] Optionally, one of the first preset value, the second preset value, and the third preset value is a preset color temperature corresponding to the actual color temperature; and the light source parameter includes a plurality of sub-parameters.
[0035] When the actual color temperature is greater than the preset color temperature, the first strategy includes:
[0036] acquire a sub-parameter with a maximum value in the current light source parameter as a second target parameter;
[0037] acquire a first preset multiple of the current value of the second target parameter as second update data, the first preset multiple being a positive number less than 1;
[0038] replace the second target parameter in the current light source parameter with the second update data to obtain new light source parameters;
[0039] When the actual color temperature is less than the preset color temperature, the first strategy includes:
[0040] acquire a sub-parameter with a minimum value in the current light source parameter as a third target parameter;
[0041] acquire a second preset multiple of the current value of the third target parameter as third update data, the second preset multiple being a positive number less than 1;
[0042] replace the third target parameter in the current light source parameter with the third update data to obtain new light source parameters.
[0043] Optionally, one of the first preset value, the second preset value, and the third preset value is a preset color temperature corresponding to the actual color temperature; and the light source parameter includes a plurality of sub-parameters.
[0044] when the actual color temperature is not equal to the preset color temperature, the second strategy comprises:
[0045] obtaining a maximum value of each of the sub-parameters in the current light source parameter as a second reference value;
[0046] obtaining a ratio of the fifth preset value to the second reference value as a second amplification ratio;
[0047] amplifying all the sub-parameters of the current light source parameter based on the second amplification ratio to obtain new light source parameters.
[0048] Optionally, one of the first preset value, the second preset value and the third preset value is a preset spot distribution diameter corresponding to the actual spot distribution diameter; the light source parameter comprises a plurality of sub-parameters.
[0049] when the actual spot distribution diameter is greater than the preset spot distribution diameter, the first strategy comprises:
[0050] obtaining the sub-parameter with the minimum value in the current light source parameter as a fourth target parameter;
[0051] obtaining a third preset multiple of the current value of the fourth target parameter as fourth update data, the third preset multiple being a positive number less than 1;
[0052] replacing the fourth target parameter in the current light source parameter with the fourth update data to obtain new light source parameters;
[0053] when the actual spot distribution diameter is less than the preset spot distribution diameter, the first strategy comprises:
[0054] obtaining the sub-parameter with the maximum value in the current light source parameter as a fifth target parameter;
[0055] obtaining a fourth preset multiple of the current value of the fifth target parameter as fifth update data, the fourth preset multiple being a positive number less than 1;
[0056] replacing the fifth target parameter in the current light source parameter with the fifth update data to obtain new light source parameters.
[0057] Optionally, one of the first preset value, the second preset value and the third preset value is a preset spot distribution diameter corresponding to the actual spot distribution diameter; the light source parameter comprises a plurality of sub-parameters.
[0058] When the actual spot distribution diameter is not equal to the preset spot distribution diameter, the second strategy includes:
[0059] Based on the second reduction ratio, all the sub-parameters of the current light source parameters are reduced to obtain new light source parameters.
[0060] Optionally, the first strategy includes randomly selecting new light source parameters within a first preset range, or selecting new light source parameters within the first preset range at a first predetermined interval; the first preset range is the current initial light source parameter ± X%; the current initial light source parameter is the light source parameter when the first step S1 is executed, or the light source parameter obtained from the previous execution of the second strategy;
[0061] The second strategy includes randomly selecting new light source parameters within a second preset range, or selecting new light source parameters within the second preset range at a second predetermined interval; the second preset range is the original light source parameters ± Y%, where the original light source parameters are the light source parameters when step S1 is executed for the first time, and Y is greater than X.
[0062] Optionally, the third strategy includes calling an alternate parameter as the new light source parameter.
[0063] Optionally, the parameter tuning method further includes:
[0064] Step S8: Obtain the actual light source parameters based on the expected light source parameters and the preset correction parameters.
[0065] Optionally, the light source parameters include multiple sub-parameters; the correction parameters include multiple sub-correction parameters, and each of the multiple sub-correction parameters corresponds one-to-one with the multiple sub-parameters.
[0066] Step S8 includes: obtaining each of the sub-parameters of the actual light source parameters based on each of the sub-parameters of the expected light source parameters and the sub-correction parameters for the domestic context.
[0067] Optionally, the correction parameters are obtained based on the mapping relationship between the expected light source parameters and the standard light source parameters for several specified application states of the surgical shadowless lamp.
[0068] Optionally, the step of acquiring the first, second, and third performance parameters of the surgical shadowless lamp based on the image of the reflective structure includes:
[0069] The image of the reflective structure is corrected so that the light spot on the corrected image of the reflective structure appears as a circle;
[0070] The first performance parameter, the second performance parameter, and the third performance parameter are obtained based on the image of the corrected reflective structure.
[0071] Optionally, if there was a surgical shadowless lamp that was successfully calibrated before the one currently being calibrated, and when step S1 is executed for the first time for the current application state of the surgical shadowless lamp, the light source parameters are the actual light source parameters of the application state of the previous surgical shadowless lamp that was successfully calibrated.
[0072] To achieve the above objectives, the present invention also provides a parameter adjustment system for a surgical shadowless lamp, comprising a reflective structure, an image acquisition element, and a control unit. The reflective structure is used to reflect the light from a surgical shadowless lamp whose light-emitting surface is arranged parallel to and face-to-face with the reflective structure to form a light spot. The image acquisition element is used to acquire an image of the reflective structure. The control unit is communicatively connected to the image acquisition element and the surgical shadowless lamp, and is configured to execute the parameter adjustment method for the surgical shadowless lamp as described in any of the preceding claims.
[0073] To achieve the above objectives, the present invention also provides a computer-readable storage medium having a program stored thereon, which, when executed, performs the parameter adjustment method for the surgical shadowless lamp as described in any of the preceding claims.
[0074] Compared with the prior art, the parameter adjustment method and system for the surgical shadowless lamp and the computer-readable storage medium of the present invention have the following advantages:
[0075] The aforementioned parameter adjustment method for the surgical shadowless lamp includes the following steps performed for each application state of the surgical shadowless lamp: Step S1, making the light source of the surgical shadowless lamp operate based on set light source parameters; the light from the surgical shadowless lamp is perpendicularly irradiated onto a reflective structure; Step S2, acquiring an image of the reflective structure, the image of which displays the light spot of the surgical shadowless lamp; Step S3, acquiring a first performance parameter, a second performance parameter, and a third performance parameter of the surgical shadowless lamp based on the image of the reflective structure; one of the first performance parameter, the second performance parameter, and the third performance parameter is a center illuminance, another is a color temperature, and yet another is a light spot distribution. Fabric diameter; Step S4: Determine if the first performance parameter is equal to the first preset value. If yes, proceed to step S5; otherwise, proceed to step S7. Step S5: Determine if the second performance parameter is equal to the second preset value. If yes, proceed to step S6; otherwise, proceed to step S7. Step S6: Determine if the third performance parameter is equal to the third preset value. If yes, use the current light source parameter as the expected light source parameter for the current application state; otherwise, proceed to step S7. Step S7: Determine whether to continue parameter adjustment. If yes, update the light source parameter and return to step S1 based on the new light source parameter; otherwise, determine that parameter adjustment has failed. This parameter adjustment method is automatically executed by the control unit, and the control unit can quickly obtain the center illuminance, color temperature, and spot distribution diameter of the surgical shadowless lamp based on the image of the reflective structure, thereby shortening the parameter adjustment time. Attached Figure Description
[0076] The accompanying drawings are provided to better understand the invention and are not intended to unduly limit the scope of the invention. Wherein:
[0077] Figure 1 This is a schematic diagram of the parameter adjustment system for a surgical shadowless lamp according to an embodiment of the present invention;
[0078] Figure 2 This is a partial schematic diagram of the parameter adjustment system for a surgical shadowless lamp according to an embodiment of the present invention;
[0079] Figure 3 This is an overall flowchart of the parameter tuning method performed by the control unit of the parameter tuning system of the surgical shadowless lamp provided according to an embodiment of the present invention;
[0080] Figure 4 This is a more detailed flowchart of the parameter tuning method performed by the control unit of the surgical shadowless lamp parameter tuning system according to an embodiment of the present invention.
[0081] [The annotations in the attached figures are explained below]:
[0082] 11-Reflective structure, 12-Image acquisition element, 13-Control unit, 20-Surgical shadowless lamp, 21-Light-emitting surface. Detailed Implementation
[0083] The following specific examples illustrate the implementation of the present invention. Those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and various details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the illustrations provided in this embodiment are only schematic representations of the basic concept of the present invention. Therefore, the drawings only show components related to the present invention and are not drawn according to the actual number, shape, and size of components in the actual implementation. In the actual implementation, the type, quantity, and proportion of each component can be arbitrarily changed, and the component layout may also be more complex.
[0084] Furthermore, while each embodiment described below possesses one or more technical features, this does not imply that users of the present invention must simultaneously implement all technical features in any embodiment, or can only separately implement some or all technical features in different embodiments. In other words, provided it is feasible, those skilled in the art can, based on the disclosure of the present invention and depending on design specifications or implementation requirements, selectively implement some or all technical features in any embodiment, or selectively implement a combination of some or all technical features in multiple embodiments, thereby increasing the flexibility in implementing the present invention.
[0085] As used herein, the singular forms “a,” “an,” and “the” include plural objects, and the plural form “a plurality” includes two or more objects, unless otherwise expressly indicated. As used herein, the term “or” is generally used to include the meaning of “and / or,” unless otherwise expressly indicated, and the terms “installed,” “connected,” and “linked” should be interpreted broadly, for example, as a fixed connection, a detachable connection, or an integral connection. Connections can be mechanical or electrical. Connections can be direct or indirect through an intermediate medium, and can be internal communication between two elements or an interaction between two elements. Relational terms such as “first,” “second,” etc., are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations, nor do they indicate or imply relative importance or implicitly specify the number of indicated technical features. Those skilled in the art will understand the specific meaning of the above terms in this invention according to the specific circumstances.
[0086] One objective of this invention is to provide a parameter adjustment system for a surgical shadowless lamp. The application of this system can effectively shorten the parameter adjustment time of the surgical shadowless lamp, improve industrial production efficiency, and reduce or even avoid damage to the operator's eyesight. The surgical shadowless lamp mentioned here includes... This also includes other types of surgical shadowless lamps.
[0087] To make the objectives, advantages, and features of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings. It should be noted that the drawings are all in a very simplified form and use non-precise proportions, and are only used to facilitate and clearly illustrate the objectives of the embodiments of the present invention. The same or similar reference numerals in the drawings represent the same or similar parts.
[0088] Figure 1 This diagram illustrates a parameter adjustment system for a surgical shadowless lamp according to an embodiment of the present invention. Figure 2 A partial schematic diagram of the parameter tuning system is shown. (See attached diagram.) Figure 1 and Figure 2 As shown, the parameter adjustment system of the surgical shadowless lamp includes a reflective structure 11, an image acquisition element 12, and a control unit 13. The image acquisition element 12 is disposed on one side of the reflective structure 11, and the control unit 13 is communicatively connected to the image acquisition element 12.
[0089] The parameter adjustment system is used to adjust the parameters of the surgical shadowless lamp 20. In application, the entire parameter adjustment system is placed in an optical darkroom. The emitting surface 21 of the surgical shadowless lamp 20 is arranged parallel to and face-to-face with the reflective structure 11. The surgical shadowless lamp 20 includes a light source and a controller communicatively connected to the light source. The controller is communicatively connected to the control unit 13 and receives information from the control unit 13. This information includes, for example, light source parameters and instructions to control the light source to operate according to those parameters. Thus, the control unit 13 can execute a parameter adjustment method to achieve the parameter adjustment purpose of the surgical shadowless lamp.
[0090] The reflective structure 11 can be an optical screen, a diffuse whiteboard, or any other structure with similar properties. The area of the reflective structure 11 should be large enough so that the surgical shadowless lamp 20 can form a complete light spot on the reflective structure 11.
[0091] In a preferred embodiment, both the light-emitting surface 21 of the surgical shadowless lamp 20 and the reflective structure 11 are horizontally arranged, with the surgical shadowless lamp 20 located directly below the reflective structure 11. The image acquisition element 12 is disposed to the side and below the reflective structure 11 without obstructing the surgical shadowless lamp 20. Thus, when the image acquisition element acquires an image of the reflective structure 11, the light spot of the surgical shadowless lamp 20 can be fully displayed on the image of the reflective structure 11.
[0092] Those skilled in the art will understand that the surgical shadowless lamp 20 has three performance parameters: center illuminance (Ec), color temperature (CCT), and spot size. The center illuminance can have at least one selectable level, the color temperature can have at least one selectable level, and the spot size can have at least one selectable level. When at least one performance parameter has two or more selectable levels, the surgical shadowless lamp 20 has different application states. The difference between the different application states of the same surgical shadowless lamp 20 lies in the difference of at least one performance parameter. For example, when the center illuminance has three selectable levels—a first center illuminance, a second center illuminance, and a third center illuminance—a fixed color temperature level, and a fixed spot size level, the corresponding surgical shadowless lamp 20 has three application states: a first application state, a second application state, and a third application state. In the first application state, the center illuminance of the surgical shadowless lamp 20 is the first center illuminance, the color temperature is the fixed color temperature, and the light spot is the fixed light spot; in the second application state, the center illuminance of the surgical shadowless lamp 20 is the second center illuminance, the color temperature is the fixed color temperature, and the light spot is the fixed light spot; in the third application state, the center illuminance of the surgical shadowless lamp 20 is the third center illuminance, the color temperature is the fixed color temperature, and the light spot is the fixed light spot. In other words, when there are m selectable levels for the center illuminance, n selectable levels for the color temperature, and p selectable levels for the light spot, the surgical shadowless lamp 20 has m×n×p application states, where m, n, and p are all positive integers greater than or equal to 1. The light spot is generally characterized by its distribution diameter.
[0093] During operation, in each application state, the actual center illuminance of the surgical shadowless lamp 20 should be the preset center illuminance corresponding to the current application state, the actual color temperature should be the preset color temperature corresponding to the current application state, and the actual spot distribution diameter should be the preset spot distribution diameter corresponding to the current application state. Therefore, the so-called "parameter adjustment" refers to adjusting the parameters of the assembled surgical shadowless lamp 20 so that when the surgical shadowless lamp 20 is in a specified application state, its actual center illuminance is the corresponding preset center illuminance, its actual color temperature is the corresponding preset color temperature, and its actual spot distribution diameter is the preset spot distribution diameter.
[0094] In practice, the parameters of the surgical shadowless lamp 20 need to be adjusted for each application state in order to complete the parameter adjustment operation of the surgical shadowless lamp 20.
[0095] Those skilled in the art will understand that the center illuminance of the surgical shadowless lamp 20 refers to the maximum illuminance of the light spot at a distance of 1000mm from the surgical shadowless lamp 20. Therefore, when adjusting the parameters of the surgical shadowless lamp 20 using the parameter adjustment system, the distance h between the light-emitting surface 21 of the surgical shadowless lamp 20 and the reflective structure 11 should be approximately 1000mm, specifically 1000mm ± 10mm.
[0096] Figure 3 A schematic diagram of the overall process of the parameter tuning method is shown. Figure 3 As shown, the parameter tuning method includes the following operations performed for each application state of the surgical shadowless lamp 20:
[0097] Step S1: Control the light source of the surgical shadowless lamp 20 to operate based on preset light source parameters. In this way, the light emitted by the surgical shadowless lamp 20 shines vertically or substantially vertically onto the reflective structure 11, forming a light spot on the reflective structure 11.
[0098] Step S2: Control the image acquisition element 12 to acquire the image of the reflective structure 11. The image of the reflective structure 11 displays the light spot of the surgical shadowless lamp 12.
[0099] Step S3: Obtain the first performance parameter, the second performance parameter, and the third performance parameter of the surgical shadowless lamp 11 based on the image of the reflective structure 11.
[0100] Step S4: Determine whether the first performance parameter is equal to the first preset value. If yes, proceed to step S5; otherwise, proceed to step S7.
[0101] Step S5: Determine whether the second performance parameter is equal to the second preset value. If yes, proceed to step S6; otherwise, proceed to step S7.
[0102] Step S6: Determine whether the third performance parameter is equal to the third preset value. If yes, use the current light source parameter as the expected light source parameter for the current application state. If no, proceed to step S7.
[0103] Step S7: Determine whether to continue parameter adjustment. If yes, update the light source parameters and return to step S1 based on the new light source parameters. If no, determine that parameter adjustment has failed.
[0104] Wherein, one of the first performance parameter, the second performance parameter, and the third performance parameter is the current actual center illuminance of the surgical shadowless lamp 20, another is the current actual color temperature of the surgical shadowless lamp 20, and yet another is the current actual spot distribution diameter of the surgical shadowless lamp 20. Correspondingly, one of the first preset value, the second preset value, and the third preset value is a preset center illuminance, another is a preset color temperature, and yet another is a preset spot distribution diameter. The actual center illuminance corresponds to the preset center illuminance, the actual color temperature corresponds to the preset color temperature, and the actual spot distribution diameter corresponds to the preset spot distribution diameter.
[0105] The control unit 13 acquires the first, second, and third performance parameters of the surgical shadowless lamp 20 based on the image from the reflective structure 11. These parameters can be quickly obtained through a programmed sequence, shortening the parameter tuning time. Experiments show that by executing the parameter tuning method provided in this embodiment of the invention, with an average of 200 repetitions of step S1 for each application state, the time taken is approximately 1000 seconds. Compared to existing technologies, this represents a 60-fold increase in efficiency, significantly improving the parameter tuning speed of the surgical shadowless lamp 20. Furthermore, executing the parameter tuning method through the control unit 13 avoids eye damage caused by manual parameter tuning of the surgical shadowless lamp 20.
[0106] In some cases, when the determination result of step S6 is yes, the expected light source parameters are directly used as the actual light source parameters of the surgical shadowless lamp 20 in its current application state. However, in other cases, after the determination result of step S6 is yes, the parameter adjustment method further includes step S8, which includes obtaining the actual light source parameters in the current application state based on the expected light source parameters and pre-acquired correction parameters. By performing step S8, the accuracy of the actual light source parameters obtained by performing the parameter adjustment method can be improved.
[0107] Those skilled in the art will understand that after the parameter adjustment is successful, the control unit 13 will also send the actual light source parameters to the controller of the surgical shadowless lamp 20 so that the controller can store the actual light source parameters.
[0108] In practical applications, before performing parameter adjustment on the current surgical shadowless lamp 20, if there is no surgical shadowless lamp 20 that has been successfully adjusted, then when step S1 is executed for the first time for the current application state of the surgical shadowless lamp 20, the light source parameters, i.e., the original light source parameters, can be determined by the operator based on their personal experience. If there is a surgical shadowless lamp 20 that has already been successfully adjusted, then when adjusting the parameters for any application state of the current surgical shadowless lamp 20, and when step S1 is executed for the first time for the corresponding application state, the actual light source parameters of the previous surgical shadowless lamp 20 that has already been successfully adjusted can be used as the light source parameters. In this way, the parameter adjustment speed can be further accelerated because the properties of surgical shadowless lamps 20 in the same batch are similar, so their performance parameters are also similar.
[0109] When performing step S2, the image acquisition element 12 and the reflective structure 11 remain relatively stationary.
[0110] It is understood that since the image acquisition element 12 is located on one side of the reflective structure 11, the light spot of the surgical shadowless lamp 20 in the image of the reflective structure 11 acquired by the image acquisition element 12 is not circular, but elliptical. Therefore, step S3 should include steps S31 and S32. Step S31 includes correcting the image of the reflective structure 11 so that the light spot in the corrected image of the reflective structure 11 appears circular. Step S32 includes obtaining the center illuminance, color temperature, and light spot distribution diameter of the surgical shadowless lamp 20 in the current application state based on the corrected image of the reflective structure 11 (i.e., obtaining the first performance parameter, the second performance parameter, and the third performance parameter).
[0111] The operation of correcting the image of the reflective structure 11 includes obtaining the coordinates of the pixels of the light spots in the image of the reflective structure 11, and then converting the coordinates of the pixels of the light spots in the image of the reflective structure 11 into the coordinates of the pixels of the circular light spots based on a pre-calibrated mapping relationship between the coordinates of the pixels of the elliptical light spots and the coordinates of the pixels of the circular light spots. The specific operation of the pre-calibrated mapping relationship between the coordinates of the pixels of the elliptical light spots and the coordinates of the pixels of the circular light spots is well known to those skilled in the art and will not be elaborated here. The operation of obtaining the center illuminance of the surgical shadowless lamp 20 based on the corrected image of the reflective structure 11 includes finding the maximum brightness reference point in the corrected image of the reflective structure 11, which is the center illuminance point of the surgical shadowless lamp 20. Then, according to the relationship formula between diffuse reflection brightness and illuminance, the center of the surgical shadowless lamp 20 is obtained as the actual center illuminance of the surgical shadowless lamp 20. The actual light spot distribution diameter can then be determined based on the center illuminance point of the surgical shadowless lamp 20. Generally, the actual light spot distribution diameter includes a first actual light spot distribution diameter and a second actual light spot distribution diameter. The first actual light spot distribution diameter refers to the diameter of a circle with the center illuminance point of the surgical shadowless lamp 20 as the center and the illuminance at the edge of the circle being 10% of the center illuminance. In the art, the first actual light spot distribution diameter is generally represented as D10. The second actual light spot distribution diameter refers to the diameter of a circle with the center point of the surgical shadowless lamp 20 as the center and the illuminance at the edge of the circle being 50% of the center illuminance. In the art, the second actual light spot distribution diameter is generally represented as D50. The first actual light spot distribution diameter D10 is obtained by finding the average value of D10 obtained by measuring four coordinate positions on the cross-section of the optical axis passing through the center of the light spot where the illuminance reaches 10% of the actual center illuminance. The second actual light spot distribution diameter D50 is obtained by finding the average value of D50 obtained by measuring four coordinate positions on the cross-section of the optical axis passing through the center of the light spot where the illuminance reaches 50% of the center illuminance. The operation of obtaining the color temperature of the surgical shadowless lamp 20 based on the image of the corrected reflective structure 11 includes obtaining the chromaticity coordinates through the image of the corrected reflective structure 11, and then obtaining the color temperature of the surgical shadowless lamp 20 based on the chromaticity coordinates.
[0112] Taking the first performance parameter as the actual color temperature, the second performance parameter as the actual spot distribution diameter (including the first actual spot distribution diameter D10 and the second actual spot distribution diameter D50), and the third performance parameter as the actual center illuminance as an example, the first preset value is the preset color temperature, the second preset value includes the first preset spot distribution diameter and the second preset spot distribution diameter, and the third preset value includes the preset center illuminance. In this case, step S4 includes: determining whether the actual color temperature is equal to the preset color temperature; if yes, then proceeding to step S5; if no, then updating the light source parameters and returning to step S1 based on the new light source parameters, or determining that parameter adjustment failed (i.e., proceeding to step S7). Step S5 includes: determining whether the first actual spot distribution diameter D10 is equal to the first preset spot distribution diameter, and determining whether the second actual spot distribution diameter D50 is equal to the second preset spot distribution diameter; if the first actual spot distribution diameter D10 is equal to the first preset spot distribution diameter, and the second actual spot distribution diameter D50 is equal to the second preset spot distribution diameter, then proceeding to step S7. In step S6, if the first actual light spot distribution diameter D10 is not equal to the first preset light spot distribution diameter, and / or the second actual light spot distribution diameter D50 is not equal to the second preset light spot distribution diameter, then the light source parameters are updated and step S1 is returned based on the new light source parameters, or the parameter tuning fails (i.e., step S7 is executed). Step S6 includes: determining whether the actual center illuminance is equal to the preset center illuminance; if yes, then the current light source parameters are used as the expected light source parameters for the current application state; if no, then the light source parameters are updated and step S1 is returned based on the new light source parameters, or the parameter tuning fails (i.e., step S7 is executed).
[0113] It should be noted that when the first actual light spot distribution diameter D10 is equal to the first preset light spot distribution diameter, the second actual light spot distribution diameter D50 is also equal to the second preset light spot distribution diameter. When the first actual light spot distribution diameter D10 is not equal to the first preset light spot distribution diameter, the second actual light spot distribution diameter D50 is also not equal to the second preset light spot distribution diameter.
[0114] like Figure 3As shown, the method for determining whether to continue parameter adjustment in step S7 can be, for example, determining whether the number of times the light source parameters are updated is less than a preset number, such as 25 times. The operation of updating the light source parameters can be determined according to the actual situation. For example, values can be randomly selected within a certain parameter range, or values can be selected sequentially at certain intervals within a certain parameter range, or values can be randomly selected near the initial light source parameters, or values can be selected sequentially at certain intervals near the initial light source parameters. The method of selection depends on the size of the parameter range and whether there is already a successfully adjusted sample. If there is already a successfully adjusted sample, values can be randomly selected near the initial light source parameters or selected sequentially at certain intervals. If there is no successfully adjusted sample and the parameter range is small, values can be randomly selected within the parameter range. If there is no successfully adjusted sample and the parameter range is large, values can be selected sequentially at certain intervals within the parameter range. There are no particular limitations on the above method of updating the light source parameters; it can be selected according to the actual situation. Preferably, a successfully adjusted sample can be obtained first through the traditional manual parameter adjustment method, which yields a highly reliable initial light source parameter. Then, the method provided in this application is used for automatic parameter adjustment, selecting values near the initial light source parameters, for example, within the range of ±20% of the initial light source parameters.
[0115] Typically, the most difficult parameter to adjust is set as the first performance parameter and adjusted first, while the simplest parameter is adjusted last. For example, in this embodiment, the parameter adjustment order is color temperature → light spot → center illuminance, but this is not a limitation.
[0116] In a preferred embodiment, as follows: Figure 4 The method shown includes three strategies for updating the light source parameters: a first strategy, a second strategy, and a third strategy. In practice, the strategy for updating the light source parameters is selected based on the actual situation, or the parameter tuning is deemed unsuccessful. In step S7, the number of executions of the first strategy, the second strategy, and the third strategy determines whether further parameter tuning is needed. Furthermore, when parameter tuning is determined to be necessary, the number of executions of the first strategy and the second strategy is used to determine which strategy to use to update the light source parameters. Specifically, as shown... Figure 4 As shown, step S7 includes:
[0117] Step S71: Determine whether the number of consecutive executions of the first strategy is less than the first preset number. If yes, determine to continue parameter tuning and execute step S72. If no, execute step S73.
[0118] Step S72: Execute the first strategy to obtain new light source parameters.
[0119] Step S73: Determine whether the number of times the second strategy is executed is less than the second preset number. If yes, determine to continue parameter tuning and execute step S74. If no, execute step S75.
[0120] Step S74: Execute the second strategy to obtain the new light source parameters.
[0121] Step S75: Determine whether the number of times the third strategy is executed is less than the third preset number. If yes, determine to continue parameter tuning and execute step S76. If no, determine that parameter tuning has failed.
[0122] Step S76: Execute the third strategy to obtain the light source parameters.
[0123] Here, "continuous execution of the first strategy" means that no second strategy or the third strategy is executed between two consecutive executions of the first strategy. If the second strategy or the third strategy is executed in a step after the execution of the first strategy, the number of consecutive executions of the first strategy is reset to zero.
[0124] Assuming the first preset number of times is 3, the second preset number of times is 2, and the third preset number of times is 1, the execution of step S4 and subsequent operations during the parameter tuning process is as follows: When step S4 is executed for the first time, if the judgment result of step S4 is negative, then step S71 is executed. At this time, the light source parameters have not been updated, so the consecutive execution count of the first strategy is 0, which is less than 3. Therefore, the judgment result of step S71 is positive. Next, step S72 is executed, that is, the first strategy is executed to obtain new light source parameters, and then the execution returns to steps S1 to S4. If the judgment result is positive, then step S5 is executed; if it is still negative, then step S71 is executed again. If the judgment result of S4 is consistently negative, and the consecutive execution count of the first strategy reaches 3, the judgment result of step S71 is negative. Therefore, step S73 is executed next. At this time, the execution count of the second strategy is 0, which is less than 2. Therefore, the judgment result of step S73 is positive. Therefore, step S74 is executed next, that is, the second strategy is executed to obtain new light source parameters, and steps S1 to S4 are executed based on the new light source parameters. If the judgment result of step S4 is still negative, step S71 is executed again. Since the second strategy was executed after the previous execution of the first strategy, the consecutive execution count of the first strategy is zero. Therefore, the judgment result of step S71 is positive. Step S72 is executed next, and then the execution of steps S1 to S4 is returned. If the judgment result of step S4 is consistently negative, then steps S71 and S72 are executed again until the number of consecutive executions of the first strategy is 3. At this point, the judgment result of step S71 is negative, and therefore, step S73 is executed next. Since the number of executions of the second strategy is 1, the judgment result of step S73 is positive, and therefore, step S74 is executed next, i.e., the second strategy is executed to obtain new light source parameters, and steps S1 to S4 are executed based on the new light source parameters. If the judgment result of step S4 is still negative, then step S71 is executed again. Since the second strategy was executed after the previous execution of the first strategy, the number of consecutive executions of the first strategy is zero. Therefore, the judgment result of step S71 is positive, and step S72 is executed next, i.e., the first strategy is used to obtain new light source parameters, and steps S1 to S4 are executed based on the new light source parameters. If the judgment result of step S4 is always negative, then step S71 and step S72 are executed again until the number of consecutive executions of the first strategy is 3. Then the judgment result of step S71 is negative. Therefore, step S73 is executed next. At this time, the number of executions of the second strategy is 2, so the judgment result of step S73 is negative. Therefore, step S75 is executed next.At this point, the execution count of the third strategy is 0, so the judgment result of step S73 is yes. Therefore, step S76 is executed next, that is, the third strategy is executed to obtain new light source parameters, and the execution of steps S1 to S4 is returned. If the judgment result of step S4 is still no, then step S71 is executed again. Since the third strategy was executed after the first strategy was executed last time, the consecutive execution count of the first strategy is zero, so the judgment result of step S71 is yes. Next, step S72 is executed, that is, the first strategy is executed to obtain new light source parameters, and steps S1 to S4 are executed based on the new light source parameters. If the judgment result of step S4 is always no, then steps S71 and S72 are executed again until the consecutive execution count of the first strategy is 3, then the judgment result of step S71 is no. Therefore, step S73 is executed next. At this time, the execution count of the second strategy is 2, so the judgment result of step S73 is no. Therefore, step S75 is executed next. At this point, the third strategy has been executed 1 time, so the result of step S73 is negative. Therefore, the parameter tuning operation is determined to have failed.
[0125] The first preset number of times, the second preset number of times, and the third preset number of times are all set according to actual needs. For example, the first preset number of times can be 20, the second preset number of times can be 15, and the third preset number of times can be 1.
[0126] It is understandable that when the judgment result of step S75 is negative, the reason for determining that the parameter adjustment operation has failed is that, from an industrial production perspective, the parameter adjustment method cannot be executed indefinitely. When the judgment result of step S75 is negative, it indicates that the parameter adjustment method is essentially unlikely to successfully adjust the current surgical shadowless lamp 20, and there is no need to continue execution. In this case, other methods should be considered for parameter adjustment.
[0127] In the above operation, different strategies are used to update the light source parameters at different times of parameter adjustment, which can improve the success rate of parameter adjustment and shorten the parameter adjustment time.
[0128] When the first, second, and third performance parameters are all equal to their corresponding preset values (i.e., after steps S4, S5, and S6 are all determined to be true), the current light source parameters are used as the expected light source parameters, and then step S8 is executed. The specific operation of step S8 includes obtaining the actual light source parameters based on the expected light source parameters and the correction parameters. For example, the product of the expected light source parameters and the corresponding correction parameters is obtained as the actual light source parameters. The reason for performing this step is that this method captures an image of the surgical lamp light spot with a camera and extracts various performance parameters from the image. This has a slight deviation compared to directly measuring the various performance parameters of the surgical lamp with an illuminance meter. Adding a correction step can further improve the accuracy of parameter tuning.
[0129] The preferred first strategy, second strategy, and third strategy in this embodiment will be described next.
[0130] In some embodiments, the first strategy includes: randomly selecting light source parameters within a certain range of the initial light source parameters for the current round, such as ±20% of the initial light source parameters for the current round, or sequentially selecting light source parameters at a first predetermined interval. The selected light source parameters are recorded, and the same light source parameters are not retrieved when new light source parameters are subsequently obtained. The initial light source parameters for the current round are reset after the number of consecutive executions of the first strategy reaches zero. For example, after executing the second strategy to obtain new light source parameters, these new light source parameters are used as the initial light source parameters for the current round.
[0131] The second strategy includes: expanding the selection range of light source parameters, for example, randomly selecting light source parameters within ±30% of the original light source parameters, or sequentially selecting light source parameters at a second predetermined interval. The selected light source parameters are recorded, and the same light source parameters are not retrieved when new light source parameters are subsequently obtained. The original light source parameters are the light source parameters set at the beginning of this parameter adjustment (i.e., the light source parameters set when step S1 is executed for the first time).
[0132] The third strategy is, for example, to retrieve pre-stored backup parameters as the new light source parameters, or to retrieve the light source parameters of other products in this batch that have already been adjusted as the new light source parameters. These backup parameters can be pre-set by the operator based on their experience.
[0133] In other embodiments, the light source parameters are divided into multiple different sub-parameters, so that updating the light source parameters refers to updating at least one of the sub-parameters. The following description uses four sub-parameters as an example, namely, the first sub-parameter, the second sub-parameter, the third sub-parameter, and the fourth sub-parameter.
[0134] When the actual center illuminance is not equal to the preset center illuminance, the first strategy includes: First, obtaining the sub-parameter with the largest value among the current light source parameters as the first target parameter. Next, obtaining first updated data based on the current value of the first target parameter, the preset center illuminance, and the actual center illuminance. Finally, replacing the first target parameter in the current light source parameters with the first updated data to obtain new light source parameters. The ratio of the first updated data to the current value of the first target parameter is equal to the ratio of the preset center illuminance to the actual center illuminance. For example, in the current light source parameters, the value of the first sub-parameter is A1, the value of the second sub-parameter is A2, the value of the third sub-parameter is A3, and the value of the fourth sub-parameter is A4, with A1 being the largest. Therefore, the first target parameter is the first sub-parameter. In the case where the preset center illuminance is Ec0 and the actual center illuminance is Ec1, the first updated data is obtained as A1 × Ec0 / Ec1. Therefore, in the new light source parameters obtained based on the first strategy, the value of the first sub-parameter is A1×Ec0 / Ec1, the value of the second sub-parameter is A2, the value of the third sub-parameter is A3, and the value of the fourth sub-parameter is A4.
[0135] When the actual color temperature is not equal to the preset color temperature, the first strategy has two different specific execution steps depending on the relative magnitude of the actual color temperature and the preset color temperature.
[0136] Specifically, when the actual color temperature is greater than the preset color temperature, the first strategy includes: firstly, obtaining the sub-parameter with the largest value among the current light source parameters as the second target parameter. Then, obtaining a first preset multiple of the current value of the second target parameter as the second update data. Finally, replacing the second target parameter in the current light source parameters with the second update data to obtain new light source parameters. Wherein, the first preset multiple is m, where m is a positive number less than 1, such as 1 / 2. For example, in the current light source parameters, the value of the first sub-parameter is A1, the value of the second sub-parameter is A2, the value of the third sub-parameter is A3, and the value of the fourth sub-parameter is A4, with A1 being the largest. Therefore, the second target parameter is the first sub-parameter. The second update data is m × A1. At this time, in the light source parameters obtained based on the first strategy, the first sub-parameter is m × A1, the value of the second sub-parameter is A2, the value of the third sub-parameter is A3, and the value of the fourth sub-parameter is A4.
[0137] When the actual color temperature is less than the preset color temperature, the first strategy includes: firstly, obtaining the sub-parameter with the smallest value among the current light source parameters as the third target parameter. Then, obtaining a second preset multiple of the current value of the third target parameter as the third update data. Finally, replacing the third target parameter in the current light source parameters with the third update data to obtain new light source parameters. Wherein, the second preset multiple is n, where n is a positive number less than 1, such as 1 / 2. For example, in the current light source parameters, the value of the first sub-parameter is A1, the value of the second sub-parameter is A2, the value of the third sub-parameter is A3, and the value of the fourth sub-parameter is A4, with A2 being the smallest. Therefore, the third target parameter is the second sub-parameter. The third update data is n × A2. At this time, in the light source parameters obtained based on the first strategy, the first sub-parameter is A1, the value of the second sub-parameter is m × A2, the value of the third sub-parameter is A3, and the value of the fourth sub-parameter is A4.
[0138] When the actual light spot distribution diameter is greater than the preset light spot distribution diameter, that is, the first actual light spot distribution diameter D10 is greater than the first preset light spot distribution diameter, and the second actual light spot distribution diameter D50 is greater than the second preset light spot distribution diameter, the first strategy includes: First, obtaining the sub-parameter with the smallest value among the current light source parameters as the fourth target parameter. Then, obtaining a third preset multiple of the current value of the fourth target parameter as the fourth update data. Finally, replacing the fourth target parameter in the current light source parameters with the fourth update data to obtain new light source parameters. The third preset multiple is p, where p is a positive number less than 1, such as 1 / 2. For example, in the current light source parameters, the value of the first sub-parameter is A1, the value of the second sub-parameter is A2, the value of the third sub-parameter is A3, and the value of the fourth sub-parameter is A4, and A2 is the smallest. Therefore, the fourth target parameter is the second sub-parameter. The fourth update data is p × A2. At this time, among the light source parameters obtained based on the first strategy, the first sub-parameter is A1, the value of the second sub-parameter is p×A2, the value of the third sub-parameter is A3, and the value of the fourth sub-parameter is A4.
[0139] When the actual light spot distribution diameter is smaller than the preset light spot distribution diameter, that is, the first actual light spot distribution diameter D10 is smaller than the first preset light spot distribution diameter, and the second actual light spot distribution diameter D50 is smaller than the second preset light spot distribution diameter, the first strategy includes: firstly, obtaining the sub-parameter with the largest value among the current light source parameters as the fifth target data; then, obtaining a fourth preset multiple of the fifth target data as the fifth update data; finally, replacing the fifth target parameter in the current light source parameters with the fifth update data to obtain new light source parameters. The fourth preset multiple is q, where q is a positive number less than 1, such as 1 / 2. For example, in the current light source parameters, the value of the first sub-parameter is A1, the value of the second sub-parameter is A2, the value of the third sub-parameter is A3, and the value of the fourth sub-parameter is A4, with A3 being the largest. Therefore, the fifth target parameter is the third sub-parameter. The fifth update data is q × A3. At this time, among the light source parameters obtained based on the first strategy, the first sub-parameter is A1, the value of the second sub-parameter is A2, the value of the third sub-parameter is q×A3, and the value of the fourth sub-parameter is A4.
[0140] When the actual center illuminance is less than the preset center illuminance, the second strategy includes: first, obtaining the maximum value of each sub-parameter of the current light source parameters as a first reference value; then, obtaining the ratio of a fourth preset value to the first reference value as a first amplification ratio; finally, amplifying all the sub-parameters of the current light source parameters based on the first amplification ratio to obtain new light source parameters. It should be understood that the first amplification ratio is a positive number greater than 1. For example, in the current light source parameters, the value of the first sub-parameter is A1, the value of the second sub-parameter is A2, the value of the third sub-parameter is A3, and the value of the fourth sub-parameter is A4, with A1 being the largest. Therefore, A1 is the first reference value. Let M represent the fourth preset value, then the first amplification ratio is... Therefore, in the light source parameters obtained based on the second strategy, the first sub-parameter is M, and the value of the second sub-parameter is... The value of the third sub-parameter is The value of the fourth sub-parameter is
[0141] It should be noted that, theoretically, each of the sub-parameters has a minimum value of 0 and a maximum value of A0. However, in the light source parameters obtained by executing the first strategy, the actual maximum value of each sub-parameter is less than A0', and A0' is less than A0. The fourth preset value M is equal to A0', thus the first magnification ratio is greater than 1. In a specific embodiment, A0 is 255, and A0' is 250.
[0142] When the actual center illuminance is greater than the preset center illuminance, the second strategy includes: reducing all the sub-parameters of the current light source parameters based on a first reduction ratio to obtain new light source parameters. Here, P represents the first reduction ratio, and P is a positive number greater than 1, such as 2. Thus, when the value of the first sub-parameter in the current light source parameters is A1, the value of the second sub-parameter is A2, the value of the third sub-parameter is A3, and the value of the fourth sub-parameter is A4, the value of the first sub-parameter in the new light source parameters obtained based on the second strategy is... The value of the second sub-parameter is The value of the third sub-parameter is The value of the fourth sub-parameter is
[0143] When the actual color temperature is not equal to the preset color temperature, the second strategy includes: first, obtaining the maximum value among all the sub-parameters in the current light source parameters as a second reference value; then, obtaining the ratio of the fifth preset value to the second reference value as a second amplification ratio; finally, amplifying all the sub-parameters of the current light source parameters based on the second amplification ratio to obtain new light source parameters. The second amplification ratio is a positive number greater than 1. For example, in the current light source parameters, the value of the first sub-parameter is A1, the value of the second sub-parameter is A2, the value of the third sub-parameter is A3, and the value of the fourth sub-parameter is A4, with A4 being the largest. Therefore, A4 is the second reference value. Let N represent the fifth preset value, which can be equal to A0'. Thus, N is a positive number greater than 1, and the first amplification ratio is... Therefore, in the light source parameters obtained based on the second strategy, the first sub-parameter is: The value of the second sub-parameter is The value of the third sub-parameter is The value of the fourth sub-parameter is N.
[0144] When the actual light spot distribution diameter is not equal to the preset light spot distribution diameter, that is, the first actual light spot distribution diameter is not equal to the first preset light spot distribution diameter, and the second actual light spot distribution diameter is not equal to the second preset light spot distribution diameter, the second strategy includes: reducing all the sub-parameters of the current light source parameters based on a second reduction ratio to obtain new light source parameters. Let Q represent the second reduction ratio, where Q is a positive number greater than 1, for example, Q is 2. Thus, when the value of the first sub-parameter in the current light source parameters is A1, the value of the second sub-parameter is A2, the value of the third sub-parameter is A3, and the value of the fourth sub-parameter is A4, the value of the first sub-parameter in the new light source parameters obtained based on the second strategy is... The value of the second sub-parameter is The value of the third sub-parameter is The value of the fourth sub-parameter is
[0145] Furthermore, the correction parameters mentioned above include multiple sub-correction parameters, each corresponding one-to-one with the other sub-parameter. That is, the correction parameters include a first sub-correction parameter corresponding to the first sub-parameter, a second sub-correction parameter corresponding to the second sub-parameter, a third sub-correction parameter corresponding to the third sub-parameter, and a fourth sub-correction parameter corresponding to the fourth sub-parameter. Moreover, the specific operation of step S8 includes obtaining the actual light source parameters based on each sub-parameter of the expected light source parameters and the corresponding sub-correction parameter. For example, the product of the sub-parameter in the expected light source parameters and the corresponding sub-correction parameter can be used as the corresponding sub-parameter of the actual light source parameters. Thus, step S8 specifically includes obtaining the product of the first sub-parameter of the expected light source parameter and the first sub-correction parameter as the first sub-parameter of the actual light source parameter; obtaining the product of the second sub-parameter of the expected light source parameter and the second sub-correction parameter as the second sub-parameter of the actual light source parameter; obtaining the product of the third sub-parameter of the expected light source parameter and the third sub-correction parameter as the third sub-parameter of the actual light source parameter; and obtaining the product of the fourth sub-parameter of the expected light source parameter and the fourth sub-correction parameter as the fourth sub-parameter of the actual light source parameter.
[0146] The correction parameters should be obtained through calibration before parameter tuning begins. The calibration process includes: for a surgical shadowless lamp 20 with multiple application states, selecting some of these application states, and then performing the aforementioned steps S1 to S6 for each selected application state to obtain multiple expected light source parameters, each expected light source parameter corresponding to a selected application state. Furthermore, performing a standard parameter tuning method for each selected application state to obtain multiple standard light source parameters, each standard light source parameter corresponding to a selected application state. Thus, the multiple standard light source parameters correspond one-to-one with the multiple expected light source parameters. Based on the obtained multiple standard light source parameters and multiple expected light source parameters, the correction parameters can be obtained, for example, by obtaining the linear relationship and correlation coefficient between the standard light source parameters and the expected light source parameters; the correlation coefficient is the correction parameter.
[0147] When each light source parameter includes multiple sub-parameters, each sub-correction parameter of the correction parameter is obtained based on each sub-parameter of the multiple standard light source parameters and each sub-parameter of the multiple expected light source parameters. For example, based on the first sub-parameter of the multiple standard light source parameters and the first sub-parameter of the multiple expected light source parameters, a first linear relationship and a first correlation coefficient are obtained regarding the first sub-parameter, and the first correlation coefficient is the first sub-correction parameter. The methods for obtaining other sub-correction parameters are the same and will not be elaborated here. Sometimes the relationship between the standard light source parameters and the expected light source parameters is non-linear. In this case, a corresponding curve is fitted according to the actual situation to obtain the correlation relationship between the standard light source parameters and the expected light source parameters.
[0148] It should be noted that, when selecting the application state for constructing the mapping relationship, the selected application state preferably covers the maximum value, minimum value, median value, all allowed color temperature values, and all allowed spot values of the surgical shadowless lamp 20.
[0149] For example, the surgical shadowless lamp 20 has 12 selectable center illuminance levels, designated as the first to twelfth center illuminance levels, with the first to twelfth center illuminance levels increasing sequentially; the surgical shadowless lamp 20 also has four selectable color temperatures, designated as the first to fourth color temperatures, with the first to fourth color temperatures increasing sequentially; the surgical shadowless lamp 20 also has three selectable light spots, designated as the first light spot, the second light spot, and the third light spot, with the first light spot, the second light spot, and the third light spot increasing sequentially. Thus, in the selected application state, all four color temperatures, three light spots, and the first, sixth, and twelfth center illuminance levels should be included.
[0150] It should also be noted that the aforementioned standard parameter tuning method is a manual parameter tuning method used in the prior art, that is, the parameter tuning method introduced in the background art. This parameter tuning method is based on industry standard operations and has high accuracy. Thus, by executing step S8, the accuracy of the parameter tuning method provided by the embodiments of the present invention can be ensured. In other words, the parameter tuning method provided by the embodiments of the present invention balances speed and accuracy and has extremely high industrial application value.
[0151] It should be understood that the calibration parameters should be updated according to the actual situation, and the specific update conditions are determined by the user. For example, for products of the same batch with stable quality, only one calibration is needed before parameter adjustment, and the same calibration parameters can be used for that batch of products. For different batches of products, calibration and calibration parameters should be performed and determined before changing batches.
[0152] Furthermore, embodiments of the present invention also provide a parameter tuning method, which includes at least the aforementioned steps S1 to S7. Preferably, the parameter tuning method further includes the aforementioned step S8.
[0153] Furthermore, embodiments of the present invention also provide a computer-readable storage medium storing a program, which, when executed, performs the aforementioned parameter tuning method.
[0154] While the present invention has been disclosed above, it is not limited thereto. Those skilled in the art can make various modifications and variations to the present invention without departing from its spirit and scope. Therefore, if such modifications and variations fall within the scope of the claims and their equivalents, the present invention also intends to include such modifications and variations.
Claims
1. A method for adjusting the parameters of a surgical shadowless lamp, characterized in that, This includes actions performed for each application state of the surgical shadowless lamp: Step S1: The light source of the surgical shadowless lamp operates based on the set light source parameters; the light-emitting surface of the surgical shadowless lamp is arranged parallel to and face-to-face with a reflective structure; Step S2: Obtain an image of the reflective structure, the image of which displays the light spot of the surgical shadowless lamp; Step S3: Based on the image of the reflective structure, obtain the first performance parameter, the second performance parameter, and the third performance parameter of the surgical shadowless lamp; one of the first performance parameter, the second performance parameter, and the third performance parameter is the actual center illuminance of the surgical shadowless lamp, another is the actual color temperature of the surgical shadowless lamp, and yet another is the actual spot distribution diameter of the surgical shadowless lamp; Step S4: Determine whether the first performance parameter is equal to the first preset value. If yes, proceed to step S5; otherwise, proceed to step S7. Step S5: Determine whether the second performance parameter is equal to the second preset value. If yes, proceed to step S6; otherwise, proceed to step S7. Step S6: Determine whether the third performance parameter is equal to the third preset value. If yes, use the current light source parameter as the expected light source parameter. If no, proceed to step S7. Step S7: Determine whether to continue parameter adjustment. If yes, update the light source parameters and return to step S1 based on the new light source parameters. If no, determine that parameter adjustment has failed.
2. The parameter adjustment method for the surgical shadowless lamp according to claim 1, characterized in that, Step S7 includes: Step S71: Determine whether the number of consecutive executions of the first strategy is less than the first preset number. If yes, determine to continue parameter tuning and execute step S72. If no, execute step S73. Step S72: Execute the first strategy to obtain new light source parameters; Step S73: Determine whether the number of times the second strategy is executed is less than the second preset number. If yes, determine to continue parameter tuning and execute step S74. If no, execute step S75. Step S74: Execute the second strategy to obtain new light source parameters; Step S75: Determine whether the number of times the third strategy is executed is less than the third preset number. If yes, determine to continue parameter tuning and execute step S76. If no, determine that parameter tuning has failed. Step S76: Execute the third strategy to obtain new light source parameters.
3. The parameter adjustment method for the surgical shadowless lamp according to claim 2, characterized in that, One of the first preset value, the second preset value, and the third preset value is a preset center illuminance, and the preset center illuminance corresponds to the actual center illuminance; the light source parameters include multiple sub-parameters; When the actual center illuminance is not equal to the preset center illuminance, the first strategy includes: Obtain the sub-parameter with the largest value among the current light source parameters, and use it as the first target parameter; First update data is obtained based on the current value of the first target parameter, the preset center illuminance, and the actual center illuminance; The first target parameter in the current light source parameters is replaced with the first updated data to obtain the new light source parameters; Wherein, the ratio of the first updated data to the current value of the first target parameter is equal to the ratio of the preset center illuminance to the actual center illuminance.
4. The parameter adjustment method for the surgical shadowless lamp according to claim 2, characterized in that, One of the first preset value, the second preset value, and the third preset value is a preset center illuminance, and the preset center illuminance corresponds to the actual center illuminance; the light source parameters include multiple sub-parameters; When the actual center illuminance is less than the preset center illuminance, the second strategy includes: Obtain the maximum value among the various sub-parameters of the current light source parameters, and use it as the first reference value; The ratio of the fourth preset value to the first reference value is obtained as the first magnification ratio; Based on the first magnification ratio, all the sub-parameters of the current light source parameters are magnified to obtain new light source parameters; When the actual center illuminance is greater than the preset center illuminance, the second strategy includes: Based on the first reduction ratio, all the sub-parameters of the current light source parameters are reduced to obtain the new light source parameters.
5. The parameter adjustment method for the surgical shadowless lamp according to claim 2, characterized in that, One of the first preset value, the second preset value, and the third preset value is a preset color temperature, and the preset color temperature corresponds to the actual color temperature; the light source parameters include multiple sub-parameters. When the actual color temperature is greater than the preset color temperature, the first strategy includes: The sub-parameter with the largest value among the current light source parameters is used as the second target parameter; Obtain a first preset multiple of the current value of the second target parameter as the second update data, where the first preset multiple is a positive number less than 1; The second target parameter in the current light source parameters is replaced with the second updated data to obtain the new light source parameters; When the actual color temperature is less than the preset color temperature, the first strategy includes: The sub-parameter with the smallest value among the current light source parameters is used as the third target parameter; The second preset multiple of the current value of the third target parameter is obtained as the third update data, where the second preset multiple is a positive number less than 1; The third target parameter in the current light source parameters is replaced with the third updated data to obtain the new light source parameters.
6. The parameter adjustment method for the surgical shadowless lamp according to claim 2, characterized in that, One of the first preset value, the second preset value, and the third preset value is a preset color temperature, and the preset color temperature corresponds to the actual color temperature. The light source parameters include multiple sub-parameters; When the actual color temperature is not equal to the preset color temperature, the second strategy includes: Obtain the maximum value among all the sub-parameters in the current light source parameters, and use it as the second reference value; Obtain the ratio of the fifth preset value to the second reference value, and use it as the second magnification ratio; Based on the second magnification ratio, all the sub-parameters of the current light source parameters are magnified to obtain new light source parameters.
7. The parameter adjustment method for the surgical shadowless lamp according to claim 2, characterized in that, One of the first preset value, the second preset value, and the third preset value is a preset spot distribution diameter, and the preset spot distribution diameter corresponds to the actual spot distribution diameter; the light source parameters include multiple sub-parameters; When the actual spot distribution diameter is larger than the preset spot distribution diameter, the first strategy includes: The sub-parameter with the smallest value among the current light source parameters is used as the fourth target parameter; The third preset multiple of the current value of the fourth target parameter is obtained as the fourth update data, wherein the third preset multiple is a positive number less than 1; The fourth target parameter in the current light source parameters is replaced with the fourth updated data to obtain the new light source parameters; When the actual spot distribution diameter is smaller than the preset spot distribution diameter, the first strategy includes: The sub-parameter with the largest value among the current light source parameters is used as the fifth target parameter; The fourth preset multiple of the current value of the fifth target parameter is obtained as the fifth update data, wherein the fourth preset multiple is a positive number less than 1; The fifth target parameter in the current light source parameters is replaced with the fifth updated data to obtain new light source parameters.
8. The parameter adjustment method for the surgical shadowless lamp according to claim 2, characterized in that, One of the first preset value, the second preset value, and the third preset value is a preset spot distribution diameter, and the preset spot distribution diameter corresponds to the actual spot distribution diameter; the light source parameters include multiple sub-parameters; When the actual spot distribution diameter is not equal to the preset spot distribution diameter, the second strategy includes: Based on the second reduction ratio, all the sub-parameters of the current light source parameters are reduced to obtain new light source parameters.
9. The parameter adjustment method for the surgical shadowless lamp according to claim 2, characterized in that, The first strategy includes randomly selecting new light source parameters within a first preset range, or selecting new light source parameters within the first preset range at a first predetermined interval; the first preset range is the current initial light source parameter ± X%; the current initial light source parameter is the light source parameter when the first step S1 is executed, or the light source parameter obtained from the previous execution of the second strategy; The second strategy includes randomly selecting new light source parameters within a second preset range, or selecting new light source parameters within the second preset range at a second predetermined interval; the second preset range is the original light source parameters ± Y%, where the original light source parameters are the light source parameters when step S1 is executed for the first time, and Y is greater than X.
10. The parameter adjustment method for the surgical shadowless lamp according to any one of claims 2-9, characterized in that, The third strategy includes calling up backup parameters as new light source parameters.
11. The parameter adjustment method for the surgical shadowless lamp according to claim 1, characterized in that, The parameter tuning method also includes: Step S8: Obtain the actual light source parameters based on the expected light source parameters and the preset correction parameters.
12. The parameter adjustment method for the surgical shadowless lamp according to claim 11, characterized in that, The light source parameters include multiple sub-parameters, and the correction parameters include multiple sub-correction parameters, with each of the multiple sub-correction parameters corresponding to one of the multiple sub-parameters; Step S8 includes: obtaining each sub-parameter of the actual light source parameters based on each sub-parameter of the expected light source parameters and the corresponding sub-correction parameter.
13. The parameter adjustment method for the surgical shadowless lamp according to claim 11, characterized in that, The correction parameters are obtained based on the mapping relationship between the expected light source parameters and the standard light source parameters for several specified application states of the surgical shadowless lamp.
14. The parameter adjustment method for the surgical shadowless lamp according to claim 1, characterized in that, The step of acquiring the first, second, and third performance parameters of the surgical shadowless lamp based on the image of the reflective structure includes: The image of the reflective structure is corrected so that the light spot on the corrected image of the reflective structure appears as a circle; The first performance parameter, the second performance parameter, and the third performance parameter are obtained based on the image of the corrected reflective structure.
15. The parameter adjustment method for the surgical shadowless lamp according to claim 1, characterized in that, If there was a surgical shadowless lamp that was successfully adjusted before the one currently being adjusted, and for the current application state of the surgical shadowless lamp, when step S1 is executed for the first time, the light source parameters are the actual light source parameters of the application state of the previous surgical shadowless lamp that was successfully adjusted.
16. A parameter adjustment system for a surgical shadowless lamp, characterized in that, The device includes a reflective structure, an image acquisition element, and a control unit. The reflective structure is used to reflect the light from a surgical shadowless lamp whose light-emitting surface is parallel to and face-to-face with the reflective structure to form a light spot. The image acquisition element is used to acquire an image of the reflective structure. The control unit is communicatively connected to the image acquisition element and the surgical shadowless lamp and is configured to perform the parameter adjustment method of the surgical shadowless lamp as described in any one of claims 1-15.
17. A computer-readable storage medium having a program stored thereon, characterized in that, When the program is executed, the parameter adjustment method of the surgical shadowless lamp as described in any one of claims 1-16 is performed.