A multi-level judgment method and judgment system for light intensity

Through equivalent resistance calculation and light intensity threshold calculation, multi-level light intensity judgment of traditional automatic clothes drying machines is realized, which solves the problem of inaccurate judgment in environments with fluctuating light intensity and improves the lifting and lowering control accuracy of the clothes drying machine and the stability of the system.

CN119826966BActive Publication Date: 2025-09-23ZHONGSHAN ZHONGXIN TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510052505.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-01-13
Publication Date
2025-09-23
Estimated Expiration
2045-01-13

AI Technical Summary

Technical Problem

Traditional automatic clothes drying machines have difficulty accurately judging light intensity in an environment where light intensity fluctuates frequently, resulting in an inability to make appropriate raising and lowering decisions.

Method used

Through the equivalent resistance calculation formula and the light intensity threshold calculation formula, the photosensitivity sampling voltage value, the power supply sampling voltage value and the photosensitive peripheral resistance value are used to calculate the photosensitivity equivalent resistance value and the light intensity judgment threshold value to achieve multi-level light intensity judgment.

Benefits of technology

It realizes multi-level judgment of light intensity, improves the accuracy and adaptability of automatic clothes drying machine lifting, reduces misjudgment, and enhances the stability and flexibility of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119826966B_ABST
    Figure CN119826966B_ABST
Patent Text Reader

Abstract

The embodiments of the present invention relate to the technical field of automatic clothes drying machines and disclose a multi-level light intensity judgment method and judgment system. The method includes: using an equivalent resistance calculation formula to calculate a photosensitive equivalent resistance value affected by power supply voltage; substituting the photosensitive equivalent resistance value into a light intensity threshold calculation formula to calculate a first light intensity judgment threshold; after determining a photosensitive theoretical voltage value based on a power supply sampled voltage value, using an equivalent resistance calculation formula to calculate a photosensitive theoretical equivalent resistance value; substituting the photosensitive theoretical equivalent resistance value into a light intensity threshold calculation formula to calculate a second light intensity judgment threshold; and judging the photosensitive sampled voltage value against the first light intensity judgment threshold and the second light intensity judgment threshold, respectively, to determine the current light intensity level. The implementation of the embodiments of the present invention can achieve multi-level light intensity judgment, thereby more accurately controlling the raising and lowering of the automatic clothes drying machine.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of automatic clothes drying machines, and in particular to a multi-level judgment method and judgment system for light intensity. Background Art

[0002] With the rapid rise of smart home technology, automatic clothes drying racks have become an indispensable part of smart home systems, and their intelligence continues to deepen. Currently, most traditional automatic clothes drying racks use the sensitivity of photosensors to light changes to achieve basic light intensity sensing to automatically adjust the height of the clothes drying rack. While this control method has achieved a certain degree of automation in clothes drying, in practice, it has been found that traditional automatic clothes drying racks often have difficulty accurately judging the current light intensity in environments with frequent and complex light intensity fluctuations, making it impossible to make appropriate raising and lowering decisions. Summary of the Invention

[0003] The embodiments of the present invention disclose a multi-level judgment method and judgment system for light intensity, which can realize multi-level judgment of light intensity to more accurately control the raising and lowering of an automatic clothes drying machine.

[0004] A first aspect of an embodiment of the present invention discloses a multi-level determination method for light intensity, the method comprising:

[0005] Using the equivalent resistance calculation formula, the photosensor sampling voltage value, the power supply sampling voltage value and the photosensitive peripheral resistance value are substituted to calculate the photosensor equivalent resistance value affected by the power supply voltage;

[0006] Substituting the photosensitive equivalent resistance value, the power supply sampling voltage value, and the photosensitive peripheral resistance value into a light intensity threshold calculation formula to calculate a first light intensity judgment threshold;

[0007] After determining the photosensor theoretical voltage value according to the power supply sampling voltage value, substituting the photosensor theoretical voltage value, the power supply sampling voltage value and the photosensitive peripheral resistance value into the equivalent resistance calculation formula to calculate the photosensor theoretical equivalent resistance value;

[0008] Substituting the photosensor theoretical equivalent resistance value, the power supply sampling voltage value, and the photosensor peripheral resistance value into the light intensity threshold calculation formula to calculate a second light intensity judgment threshold;

[0009] The light-sensitive sampling voltage value is judged against the first light intensity judgment threshold and the second light intensity judgment threshold respectively to determine the current light intensity level.

[0010] A second aspect of an embodiment of the present invention discloses a judgment system, comprising:

[0011] The first calculation unit is used to use an equivalent resistance calculation formula to substitute the photosensor sampling voltage value, the power supply sampling voltage value and the photosensitive peripheral resistance value to calculate the photosensor equivalent resistance value affected by the power supply voltage;

[0012] a second calculation unit, configured to substitute the photosensitive equivalent resistance value, the power supply sampling voltage value, and the photosensitive peripheral resistance value into a light intensity threshold calculation formula to calculate a first light intensity judgment threshold;

[0013] The first calculation unit is further configured to, after determining a theoretical photosensor voltage value according to the power supply sampled voltage value, substitute the theoretical photosensor voltage value, the power supply sampled voltage value, and the photosensitive peripheral resistance value into the equivalent resistance calculation formula to calculate the photosensor theoretical equivalent resistance value;

[0014] The second calculation unit is further configured to substitute the photosensor theoretical equivalent resistance value, the power supply sampling voltage value, and the photosensor peripheral resistance value into the light intensity threshold calculation formula to calculate a second light intensity judgment threshold;

[0015] The determination unit is configured to determine the current light intensity level by respectively determining the light-sampling voltage value and the first light intensity determination threshold value and the second light intensity determination threshold value.

[0016] A third aspect of an embodiment of the present invention discloses a judgment system, comprising:

[0017] a memory storing executable program code;

[0018] a processor coupled to the memory;

[0019] The processor calls the executable program code stored in the memory to execute a multi-level light intensity judgment method disclosed in the first aspect of the embodiment of the present invention.

[0020] A fourth aspect of an embodiment of the present invention discloses a computer-readable storage medium storing a computer program, wherein the computer program enables a computer to execute a multi-level judgment method of light intensity disclosed in the first aspect of an embodiment of the present invention.

[0021] A fifth aspect of an embodiment of the present invention discloses a computer program product. When the computer program product is run on a computer, the computer is caused to execute part or all of the steps of any one of the multi-level determination methods for light intensity in the first aspect.

[0022] A sixth aspect of an embodiment of the present invention discloses an application publishing platform, which is used to publish a computer program product. When the computer program product runs on a computer, the computer executes part or all of the steps of any one of the multi-level light intensity judgment methods of the first aspect.

[0023] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:

[0024] In an embodiment of the present invention, an equivalent resistance calculation formula is used to substitute a photosensitivity sampling voltage value, a power supply sampling voltage value, and a photosensitive peripheral resistance value to calculate a photosensitivity equivalent resistance value affected by the power supply voltage; the photosensitivity equivalent resistance value, the power supply sampling voltage value, and the photosensitive peripheral resistance value are substituted into a light intensity threshold calculation formula to calculate a first light intensity judgment threshold; after determining a photosensitivity theoretical voltage value based on the power supply sampling voltage value, the photosensitivity theoretical voltage value, the power supply sampling voltage value, and the photosensitive peripheral resistance value are substituted into the equivalent resistance calculation formula to calculate a photosensitivity theoretical equivalent resistance value; the photosensitivity theoretical equivalent resistance value, the power supply sampling voltage value, and the photosensitive peripheral resistance value are substituted into the light intensity threshold calculation formula to calculate a second light intensity judgment threshold; the photosensitivity sampling voltage value is judged against the first light intensity judgment threshold and the second light intensity judgment threshold respectively to determine the current light intensity level. It can be seen that the embodiment of the present invention can realize multi-level judgment of light intensity to more accurately control the raising and lowering of the automatic clothes drying machine. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0026] Figure 1 This is a flow chart of a multi-level determination method for light intensity disclosed in an embodiment of the present invention;

[0027] Figure 2 This is a flow chart of another multi-level determination method for light intensity disclosed in an embodiment of the present invention;

[0028] Figure 3 This is a schematic diagram of a flow chart of judging the light-sensitive sampling voltage value against the first light intensity judgment threshold and the second light intensity judgment threshold, respectively, according to an embodiment of the present invention;

[0029] Figure 4This is a schematic diagram of the structure of a judgment system disclosed in an embodiment of the present invention;

[0030] Figure 5 It is a structural diagram of another judgment system disclosed in an embodiment of the present invention;

[0031] Figure 6 It is a structural diagram of another judgment system disclosed in an embodiment of the present invention;

[0032] Figure 7 2 is a schematic diagram of the light intensity level threshold distribution when the first light intensity judgment threshold is greater than the second light intensity judgment threshold disclosed in an embodiment of the present invention;

[0033] Figure 8 This is a schematic diagram of the light intensity level threshold distribution when the first light intensity judgment threshold is less than the second light intensity judgment threshold disclosed in an embodiment of the present invention. DETAILED DESCRIPTION

[0034] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.

[0035] It should be noted that the terms "first," "second," "third," "fourth," etc. in the description and claims of the present invention are used to distinguish different objects rather than to describe a specific order. The terms "including" and "having," as well as any variations thereof, in the embodiments of the present invention, are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units that are not explicitly listed or are inherent to these processes, methods, products, or apparatuses.

[0036] The embodiment of the present invention discloses a multi-level judgment method and judgment system for light intensity, which can realize multi-level judgment of light intensity to more accurately control the raising and lowering of an automatic clothes drying machine.

[0037] The following is a detailed description with reference to the accompanying drawings.

[0038] Example 1

[0039] See also Figure 1 , Figure 1 FIG. 1 is a flow chart of a multi-level determination method for light intensity disclosed in an embodiment of the present invention. Figure 1 As shown, the multi-level determination method of light intensity may include the following steps.

[0040] 101. The judgment system uses the equivalent resistance calculation formula to substitute the photosensor sampling voltage value, the power supply sampling voltage value and the photosensitive peripheral resistance value to calculate the photosensor equivalent resistance value affected by the power supply voltage.

[0041] As an optional implementation, in an embodiment of the present invention, the system can first obtain three key values: the light-sensitive sampling voltage value (the voltage generated by the photosensor, reflecting the light intensity), the power supply sampling voltage value (the voltage value of the system power supply), and the photosensitive peripheral resistance value (the resistance value connected in series or parallel with the photosensitive element). Subsequently, the equivalent resistance calculation formula can be used to substitute these values ​​to calculate the photosensitive equivalent resistance value affected by the power supply voltage. Among them, the equivalent resistance value can reflect the total resistance of the photosensitive element and the peripheral resistance under the current power supply voltage and light conditions.

[0042] As an optional embodiment, in an embodiment of the present invention, fluctuations in the power supply voltage will directly affect the working state of the photosensitive element, thereby affecting the measurement of light intensity. By calculating the equivalent resistance value, the performance of the photosensitive element under the current power supply voltage can be more accurately reflected, providing a reliable basis for subsequent light intensity judgment. By substituting the photosensitive sampling voltage value, the power supply sampling voltage value, and the photosensitive peripheral resistance value into the equivalent resistance calculation formula, the present application can accurately calculate the photosensitive equivalent resistance value affected by the power supply voltage. This helps to eliminate the impact of power supply voltage fluctuations on the performance of the photosensitive element and improve the accuracy of light intensity measurement.

[0043] As an optional implementation, in an embodiment of the present invention, by comprehensively considering the photosensor sampling voltage, the power supply sampling voltage, and the photosensitive peripheral resistance, and utilizing an equivalent resistance calculation formula, the present application can more accurately calculate the photosensor equivalent resistance value affected by the power supply voltage. This helps to eliminate the impact of power supply voltage fluctuations on the performance of the photosensor, thereby improving the accuracy of light intensity measurement.

[0044] 102. The judgment system substitutes the photosensitive equivalent resistance value, the power supply sampling voltage value, and the photosensitive peripheral resistance value into the light intensity threshold calculation formula to calculate a first light intensity judgment threshold.

[0045] As an optional implementation, in an embodiment of the present invention, the present application utilizes the calculated photoresistor value, the power supply voltage sampled value, and the photoresistor peripheral resistance value to dynamically calculate a first light intensity judgment threshold value, thereby more accurately determining whether the current light intensity reaches or exceeds a specific level. This helps the system automatically adjust the judgment criteria based on the current ambient lighting conditions and power supply voltage status, improving the system's adaptability and flexibility.

[0046] 103. After determining the photosensor theoretical voltage value based on the power supply sampling voltage value, the judgment system substitutes the photosensor theoretical voltage value, the power supply sampling voltage value and the photosensor peripheral resistance value into the equivalent resistance calculation formula to calculate the photosensor theoretical equivalent resistance value.

[0047] As an optional implementation, in an embodiment of the present invention, under ideal conditions, the performance of the photosensor is known, and theoretical calculations can be used to derive the theoretical photosensor voltage and theoretical equivalent resistance. These values ​​can serve as a benchmark for actual measurements, assessing whether the photosensor's performance meets design requirements. This helps to assess actual photosensor performance deviations, ensuring that the system maintains stable performance despite changes in light intensity, thereby enhancing system stability and reliability.

[0048] 104. The judgment system substitutes the photosensor theoretical equivalent resistance value, the power supply sampling voltage value, and the photosensor peripheral resistance value into the light intensity threshold calculation formula to calculate a second light intensity judgment threshold.

[0049] As an optional implementation, in an embodiment of the present invention, in actual applications, light intensity needs to be judged between multiple thresholds. By calculating a second light intensity judgment threshold, the system can more finely divide light intensity levels to meet the needs of different application scenarios. This helps the system further refine the light intensity judgment criteria and improve the accuracy and reliability of the judgment.

[0050] 105. The judgment system judges the light-sensitive sampling voltage value against the first light intensity judgment threshold and the second light intensity judgment threshold respectively to determine the current light intensity level.

[0051] As an optional implementation, in this embodiment of the present invention, determining the light intensity level is the basis for the system to implement automatic control or alarm functions. By comparing the light-sensing sampled voltage value with the judgment threshold, the system can accurately determine the current light intensity level and take appropriate measures to address different lighting conditions. This helps the system take appropriate control measures or issue corresponding alarm signals based on the light intensity level.

[0052] As an optional implementation, in an embodiment of the present invention, the present application can dynamically set the threshold value of the photosensitive sampling, that is, the threshold voltage of the point is calculated as the threshold equivalent resistance through a specified equivalent resistance calculation formula. Under different power supply voltages, the threshold equivalent resistance always remains fixed. When the power supply voltage changes, the present application needs to re-submit the threshold equivalent resistance into the calculation to obtain the threshold voltage after the power supply voltage changes, thereby realizing the function of setting a dynamic threshold.

[0053] As an optional implementation, in this embodiment of the present invention, the system can calculate the equivalent resistance and light intensity threshold by measuring the voltage of the photosensitive element and the known resistance value. The system then determines the current light intensity level based on the comparison between the sampled voltage and the threshold. This information is transmitted to the elevator equipment to control its movement, achieving precise light intensity measurement, grading, automated control, and safety and energy conservation requirements. Furthermore, the system also considers changes in human body signals and light intensity to make corresponding operational adjustments.

[0054] exist Figure 1 In the multi-level judgment method of light intensity, the judgment system is used as an example to describe it. It should be noted that Figure 1 The execution subject of the multi-level judgment method of light intensity can also be an independent device associated with the judgment system, which is not limited in the embodiment of the present invention.

[0055] It can be seen that implementation Figure 1 The described multi-level light intensity judgment method can realize multi-level light intensity judgment to more accurately control the raising and lowering of the automatic clothes drying machine.

[0056] In addition, implementation Figure 1 The multi-level judgment method of light intensity described can eliminate the influence of power supply voltage fluctuation on the performance of photosensors, thereby improving the accuracy of light intensity measurement.

[0057] Example 2

[0058] See also Figure 2 , Figure 2 FIG. 1 is a flow chart of another multi-level determination method for light intensity disclosed in an embodiment of the present invention. Figure 2 The multi-level determination method of light intensity may include the following steps:

[0059] 201. Determine system utilization Calculate the photosensitive equivalent resistance value.

[0060] 202. Determine system utilization A first light intensity judgment threshold is calculated.

[0061] 203. Determine system utilization Calculate the theoretical equivalent resistance of the photosensor.

[0062] As an optional implementation, in an embodiment of the present invention, the resistance value of the photosensitive element changes with light intensity. By measuring the sampled voltage and combining it with the known resistance value, the equivalent resistance of the photosensitive element can be calculated, thereby indirectly obtaining light intensity information. The calculation of the theoretical equivalent resistance takes into account the ideal characteristics of the photosensitive element, which helps to calibrate and verify the accuracy of the actual measurement results. By accurately calculating the equivalent resistance of the photosensitive element, this application can more accurately reflect changes in ambient light intensity, improving the sensitivity and accuracy of the system.

[0063] 204. Determine system utilization A second light intensity judgment threshold is calculated.

[0064] 205. After determining the theoretical hysteresis voltage value based on the power supply sampling voltage value, determine the system utilization Calculate the theoretical hysteresis equivalent resistance value.

[0065] 206. Determine System Utilization Calculate the hysteresis judgment threshold voltage value.

[0066] As an optional implementation, in an embodiment of the present invention, the light intensity judgment threshold is set based on the characteristics of the photosensor and actual application requirements, ensuring that the system can function properly under different lighting conditions. The hysteresis judgment threshold voltage is set to increase the stability and reliability of the system and prevent frequent misjudgments and operations caused by slight changes in light intensity. By setting the light intensity judgment threshold, the present application can automatically determine the current light intensity level and take appropriate actions as needed. At the same time, the introduction of the hysteresis judgment threshold voltage increases the system's tolerance to changes in light intensity and avoids misoperation caused by slight fluctuations.

[0067] 207. The judgment system subtracts the hysteresis judgment threshold voltage value from the first light intensity judgment threshold value to calculate a minimum value of the first light intensity hysteresis judgment threshold value range.

[0068] 208. The judgment system determines a first illumination intensity hysteresis judgment threshold range; wherein the maximum value of the first illumination intensity hysteresis judgment threshold range is the first illumination intensity judgment threshold.

[0069] 209. The judgment system subtracts the hysteresis judgment threshold voltage value from the second light intensity judgment threshold value to calculate a minimum value of the second light intensity hysteresis judgment threshold value range.

[0070] 210. The judgment system determines a second illumination intensity hysteresis judgment threshold range; wherein a maximum value of the second illumination intensity hysteresis judgment threshold range is the second illumination intensity judgment threshold.

[0071] As an optional implementation, in an embodiment of the present invention, light intensity may fluctuate in actual applications. By setting the hysteresis judgment threshold range, the system can tolerate such fluctuations within a certain range, thereby avoiding frequent misjudgments and operations. At the same time, the system can also handle changes in light intensity more flexibly, thereby improving the adaptability and robustness of the system.

[0072] 211. The judgment system judges the light-sensitive sampling voltage value against the first light intensity judgment threshold and the second light intensity judgment threshold respectively to determine the current light intensity level.

[0073] 212. The determination system communicates the current light intensity level to the associated elevator device according to a specified coding logic, so that the elevator device is raised or lowered to a specified position according to the current light intensity level; wherein the specified coding logic includes system identification information and a key value containing the current light intensity level.

[0074] As an optional implementation, in an embodiment of the present invention, the control of the elevator equipment of the present application is based on the current light intensity level and system identity information, which can ensure the accuracy and safety of the control.

[0075] 213. If a human body signal is detected within a certain period of time, the system will initiate human-sensing related operations; human-sensing related operations include shutting down disinfection and voice recognition functions.

[0076] 214. If the current light intensity judgment result is no light, the system starts the lighting function and ends this process.

[0077] As an optional implementation, in an embodiment of the present invention, when a human body signal is detected, the system can automatically start human-sensing related operations, such as turning off disinfection and voice recognition functions, thereby avoiding unnecessary operations when people are present, improving the system's security and user experience. At the same time, the application can also automatically provide lighting in a dark state to meet actual application needs.

[0078] See also Figure 3 , Figure 3 This is a flow chart of judging the light-sensitive sampling voltage value with the first light intensity judgment threshold and the second light intensity judgment threshold according to the embodiment of the present invention. Figure 3 , the method may include the following steps:

[0079] 301. When the first illumination intensity judgment threshold is greater than the second illumination intensity judgment threshold, if the photosensor sampling voltage value is greater than the first illumination intensity judgment threshold, the judgment system determines that the current illumination intensity level is a strong light level.

[0080] As an optional implementation, in an embodiment of the present invention, the present application can divide the light intensity into three states: strong light, medium light, and weak light. When the sampled voltage is higher than the strong light threshold, it is determined to be a strong light state; when it is lower than the weak light threshold, it is determined to be a weak light state; and when it is between the strong light threshold and the weak light threshold, it is determined to be a medium light state. Figure 7 and Figure 8 shown.

[0081] 302. If the photosensor sampling voltage value is between the first light intensity judgment threshold and the second light intensity judgment threshold, but is not within the first light intensity hysteresis judgment threshold range, the judgment system determines that the current light intensity level is a medium light level; wherein the first light intensity hysteresis judgment threshold range is between the first light intensity judgment threshold and the second light intensity judgment threshold.

[0082] 303. If the photosensor sampling voltage value is less than the second light intensity judgment threshold value but is not within the second light intensity hysteresis judgment threshold value range, the judgment system determines that the current light intensity level is a low light level; wherein the maximum value of the second light intensity hysteresis judgment threshold value range is less than the second light intensity judgment threshold value.

[0083] 304. When the photosensor sampling voltage value is within the first light intensity hysteresis judgment threshold range, if the previous light intensity level is a medium light level, the judgment system determines that the current light intensity is entering a strong light state, and thus determines that the current light intensity level is a strong light level.

[0084] As an optional implementation, in an embodiment of the present invention, based on actual sampling data analysis, when sunlight shines directly on the front of the remote control, the sampled voltage is at a relatively large value regardless of morning, noon or night, and the change is very small. However, for cloudy or rainy weather, and the placement of the remote control, the sampled voltage starts to increase from 0mV, and the floating range is relatively large, so the hysteresis of the set strong light threshold will be smaller, and the hysteresis of the set weak light threshold will be relatively larger.

[0085] In the embodiment of the present invention, Figure 7 and Figure 8 As shown in the figure, when the light-sensing voltage value is within a certain light intensity hysteresis threshold range, the system also considers the previous light intensity level to determine the current light intensity change trend. Among them, all set thresholds are calculated based on the power supply sampling voltage value and the set threshold resistance, and are not fixed values.

[0086] As an optional implementation, in an embodiment of the present invention, when the first light intensity judgment threshold is greater than the second light intensity judgment threshold, and the photosensitivity sampling voltage value is within the first light intensity hysteresis judgment threshold range, if the previous light intensity level is a strong light level, it is judged that the current light intensity is entering a medium light state, so as to determine that the current light intensity level is a medium light level; if the previous light intensity level is a medium light level, it is judged that the current light intensity is entering a strong light state, so as to determine that the current light intensity level is a strong light level.

[0087] As an optional implementation, in an embodiment of the present invention, when the first light intensity judgment threshold is greater than the second light intensity judgment threshold, and the photosensitivity sampling voltage value is within the second light intensity hysteresis judgment threshold range, if the previous light intensity level is a medium light level, it is judged that the current light intensity is entering a low light state, so as to determine that the current light intensity level is a low light level; if the previous light intensity level is a low light level, it is judged that the current light intensity is entering a medium light state, so as to determine that the current light intensity level is a medium light level.

[0088] 305. When the photosensor sampling voltage value is within the second light intensity hysteresis judgment threshold range, if the previous light intensity level is a low light level, the judgment system determines that the current light intensity is entering a medium light state, and thus determines that the current light intensity level is a medium light level.

[0089] 306. When the first illumination intensity judgment threshold is lower than the second illumination intensity judgment threshold, if the photosensor sampling voltage value is higher than the second illumination intensity judgment threshold, the judgment system determines that the current illumination intensity level is a strong light level.

[0090] 307. If the photosensor sampling voltage value is between the first light intensity judgment threshold and the second light intensity judgment threshold, but is not within the second light intensity hysteresis judgment threshold range, the judgment system determines that the current light intensity level is a medium light level; wherein, the second light intensity hysteresis judgment threshold range is between the first light intensity judgment threshold and the second light intensity judgment threshold.

[0091] 308. If the photosensor sampling voltage value is less than the first light intensity judgment threshold value but is not within the first light intensity hysteresis judgment threshold value range, the judgment system determines that the current light intensity level is a low light level; wherein the maximum value of the first light intensity hysteresis judgment threshold value range is less than the first light intensity judgment threshold value.

[0092] 309. When the photosensor sampling voltage value is within the second light intensity hysteresis judgment threshold range, if the previous light intensity level is a medium light level, the judgment system determines that the current light intensity is entering a strong light state, and determines that the current light intensity level is a strong light level.

[0093] 310. When the photosensor sampling voltage value is within the first light intensity hysteresis judgment threshold range, if the previous light intensity level is a low light level, the judgment system determines that the current light intensity is entering a medium light state, and thus determines that the current light intensity level is a medium light level.

[0094] As an optional implementation, in an embodiment of the present invention, when the first light intensity judgment threshold is less than the second light intensity judgment threshold, and the photosensitivity sampling voltage value is within the second light intensity hysteresis judgment threshold range, if the previous light intensity level is a strong light level, it is judged that the current light intensity is entering a medium light state, so as to determine that the current light intensity level is a medium light level; if the previous light intensity level is a medium light level, it is judged that the current light intensity is entering a strong light state, so as to determine that the current light intensity level is a strong light level.

[0095] As an optional implementation, in an embodiment of the present invention, when the first light intensity judgment threshold is less than the second light intensity judgment threshold, and the photosensitivity sampling voltage value is within the second light intensity hysteresis judgment threshold range, if the previous light intensity level is a medium light level, it is judged that the current light intensity is entering a low light state, so as to determine that the current light intensity level is a low light level; if the previous light intensity level is a low light level, it is judged that the current light intensity is entering a medium light state, so as to determine that the current light intensity level is a medium light level.

[0096] As an optional implementation, in this embodiment of the present invention, the system can determine the current light intensity level by comparing the light-sensing voltage sample value with a preset light intensity threshold. When the light-sensing voltage sample value is between the two thresholds, the system also considers the corresponding hysteresis threshold range and the previous light intensity level to determine the current light intensity trend. This design makes the system more sensitive to changes in light intensity and can more accurately reflect the actual light intensity.

[0097] As an optional implementation, in an embodiment of the present invention, for projects where the battery power supply voltage may change, the method for setting the photosensitivity threshold may refer to the method of the present application to calculate the dynamic threshold; and for projects with a stable power supply, there is no need to consider the impact of the power supply voltage on the photosensitivity threshold, and the threshold may be directly set to a fixed value. For example, for a system with a DC power supply of 5V or 3.3V, it is only necessary to calculate the threshold voltage corresponding to the power supply voltage using the above-mentioned calculated threshold resistance, and then fine-tune it according to the actual project.

[0098] As an optional implementation, in an embodiment of the present invention, by setting multiple judgment thresholds (a first light intensity judgment threshold, a second light intensity judgment threshold) and a hysteresis judgment threshold range, this application can more finely divide light intensity levels and reduce false positives. Furthermore, this application is adaptable to changes in different lighting environments, enhancing the adaptability of the system.

[0099] As an optional implementation, in an embodiment of the present invention, in actual applications, different light intensities may require the device to respond differently. Therefore, the present application can set multiple judgment thresholds to divide the light intensity into different levels so that the device can make corresponding adjustments.

[0100] As an optional implementation, in this embodiment of the present invention, light intensity may fluctuate slightly due to various factors. If judgment is based solely on a single threshold, these small fluctuations can easily lead to misjudgments. By setting a hysteresis judgment threshold range, the light intensity level is only changed when the light intensity changes significantly, thereby reducing misjudgments and improving system stability.

[0101] As an optional implementation, in the embodiment of the present invention, the light intensity changes continuously rather than suddenly. The present application can take this continuity into account by setting the hysteresis judgment threshold range to avoid frequent level changes caused by small changes in light intensity.

[0102] As an optional implementation, in the embodiment of the present invention, the light intensity may vary greatly in different environments and time periods. By setting multiple judgment thresholds and hysteresis judgment threshold ranges, the system can adapt to such changes and make reasonable judgments.

[0103] As an optional implementation, in an embodiment of the present invention, the present application can accurately determine the light intensity level, helping the device to make a more reasonable response, such as adjusting the light brightness, starting or turning off the sunshade device, etc., thereby improving the user experience and the efficiency of device use.

[0104] It can be seen that implementation Figures 2 and 3 Another multi-level light intensity judgment method described above can realize multi-level light intensity judgment to more accurately control the raising and lowering of the automatic clothes drying machine.

[0105] In addition, implementation Figures 2 and 3 Another multi-level light intensity determination method described herein can accurately determine the light intensity level, helping related devices (such as smart lighting systems) to make reasonable responses and improve user experience.

[0106] Example 3

[0107] See also Figure 4 , Figure 4 This is a schematic diagram of the structure of a judgment system disclosed in an embodiment of the present invention. Figure 4 , the judgment system 400 may include a first calculation unit 401, a second calculation unit 402 and a determination unit 403, wherein:

[0108] The first calculation unit 401 is used to substitute the photosensor sampling voltage value, the power supply sampling voltage value and the photosensitive peripheral resistance value into the equivalent resistance calculation formula to calculate the photosensor equivalent resistance value affected by the power supply voltage.

[0109] The second calculation unit 402 is used to substitute the photosensitive equivalent resistance value, the power supply sampling voltage value and the photosensitive peripheral resistance value into the light intensity threshold calculation formula to calculate the first light intensity judgment threshold.

[0110] As an optional implementation, in an embodiment of the present invention, the first calculation unit 401 is also used to substitute the photosensor theoretical voltage value, the power supply sampling voltage value and the photosensitive peripheral resistance value into the equivalent resistance calculation formula after determining the photosensor theoretical voltage value based on the power supply sampling voltage value, so as to calculate the photosensor theoretical equivalent resistance value.

[0111] As an optional implementation, in an embodiment of the present invention, the second calculation unit 402 is also used to substitute the photosensitivity theoretical equivalent resistance value, the power supply sampling voltage value and the photosensitivity peripheral resistance value into the light intensity threshold calculation formula to calculate the second light intensity judgment threshold.

[0112] The determination unit 403 is configured to determine the current light intensity level by respectively determining the light-sensitive sampling voltage value and the first light intensity determination threshold and the second light intensity determination threshold.

[0113] As an optional implementation, in an embodiment of the present invention, the system can first obtain three key values: the light-sensitive sampling voltage value (the voltage generated by the photosensor, reflecting the light intensity), the power supply sampling voltage value (the voltage value of the system power supply), and the photosensitive peripheral resistance value (the resistance value connected in series or parallel with the photosensitive element). Subsequently, the equivalent resistance calculation formula can be used to substitute these values ​​to calculate the photosensitive equivalent resistance value affected by the power supply voltage. Among them, the equivalent resistance value can reflect the total resistance of the photosensitive element and the peripheral resistance under the current power supply voltage and light conditions.

[0114] As an optional embodiment, in an embodiment of the present invention, fluctuations in the power supply voltage will directly affect the working state of the photosensitive element, thereby affecting the measurement of light intensity. By calculating the equivalent resistance value, the performance of the photosensitive element under the current power supply voltage can be more accurately reflected, providing a reliable basis for subsequent light intensity judgment. By substituting the photosensitive sampling voltage value, the power supply sampling voltage value, and the photosensitive peripheral resistance value into the equivalent resistance calculation formula, the present application can accurately calculate the photosensitive equivalent resistance value affected by the power supply voltage. This helps to eliminate the impact of power supply voltage fluctuations on the performance of the photosensitive element and improve the accuracy of light intensity measurement.

[0115] As an optional implementation, in an embodiment of the present invention, by comprehensively considering the photosensor sampling voltage, the power supply sampling voltage, and the photosensitive peripheral resistance, and utilizing an equivalent resistance calculation formula, the present application can more accurately calculate the photosensor equivalent resistance value affected by the power supply voltage. This helps to eliminate the impact of power supply voltage fluctuations on the performance of the photosensor, thereby improving the accuracy of light intensity measurement.

[0116] As an optional implementation, in an embodiment of the present invention, the present application utilizes the calculated photoresistor value, the power supply voltage sampled value, and the photoresistor peripheral resistance value to dynamically calculate a first light intensity judgment threshold value, thereby more accurately determining whether the current light intensity reaches or exceeds a specific level. This helps the system automatically adjust the judgment criteria based on the current ambient lighting conditions and power supply voltage status, improving the system's adaptability and flexibility.

[0117] As an optional implementation, in an embodiment of the present invention, under ideal conditions, the performance of the photosensor is known, and theoretical calculations can be used to derive the theoretical photosensor voltage and theoretical equivalent resistance. These values ​​can serve as a benchmark for actual measurements, assessing whether the photosensor's performance meets design requirements. This helps to assess actual photosensor performance deviations, ensuring that the system maintains stable performance despite changes in light intensity, thereby enhancing system stability and reliability.

[0118] As an optional implementation, in an embodiment of the present invention, in actual applications, light intensity needs to be judged between multiple thresholds. By calculating a second light intensity judgment threshold, the system can more finely divide light intensity levels to meet the needs of different application scenarios. This helps the system further refine the light intensity judgment criteria and improve the accuracy and reliability of the judgment.

[0119] As an optional implementation, in this embodiment of the present invention, determining the light intensity level is the basis for the system to implement automatic control or alarm functions. By comparing the light-sensing sampled voltage value with the judgment threshold, the system can accurately determine the current light intensity level and take appropriate measures to address different lighting conditions. This helps the system take appropriate control measures or issue corresponding alarm signals based on the light intensity level.

[0120] As an optional implementation, in an embodiment of the present invention, the present application can dynamically set the threshold value of the photosensitive sampling, that is, the threshold voltage of the point is calculated as the threshold equivalent resistance through a specified equivalent resistance calculation formula. Under different power supply voltages, the threshold equivalent resistance always remains fixed. When the power supply voltage changes, the present application needs to re-submit the threshold equivalent resistance into the calculation to obtain the threshold voltage after the power supply voltage changes, thereby realizing the function of setting a dynamic threshold.

[0121] As an optional implementation, in this embodiment of the present invention, the system can calculate the equivalent resistance and light intensity threshold by measuring the voltage of the photosensitive element and the known resistance value. The system then determines the current light intensity level based on the comparison between the sampled voltage and the threshold. This information is transmitted to the elevator equipment to control its movement, achieving precise light intensity measurement, grading, automated control, and safety and energy conservation requirements. Furthermore, the system also considers changes in human body signals and light intensity to make corresponding operational adjustments.

[0122] It can be seen that implementation Figure 4 The described judgment system can realize multi-level judgment of light intensity to more accurately control the raising and lowering of the automatic clothes drying machine.

[0123] In addition, implementation Figure 4 The judgment system described can eliminate the influence of power supply voltage fluctuation on the performance of the photosensitive element, thereby improving the accuracy of light intensity measurement.

[0124] Example 4

[0125] See also Figure 5 , Figure 5 This is a schematic diagram of another structure of a judgment system disclosed in an embodiment of the present invention. Figure 5 The judgment system is composed of Figure 4 The judgment system is optimized. Figure 4 Compared with the judgment system, Figure 5 The judgment system includes:

[0126] As an optional implementation, in an embodiment of the present invention, the first calculation unit 401 is also used for the second calculation unit 402 to substitute the photosensitivity theoretical equivalent resistance value, the power supply sampling voltage value and the photosensitivity peripheral resistance value into the light intensity threshold calculation formula to calculate the second light intensity judgment threshold, and the determination unit 403 judges the photosensitivity sampling voltage value with the first light intensity judgment threshold and the second light intensity judgment threshold respectively to determine the current light intensity level. After determining the theoretical hysteresis voltage value according to the power supply sampling voltage value, the theoretical hysteresis voltage value, the power supply sampling voltage value and the photosensitivity peripheral resistance value are substituted into the equivalent resistance calculation formula to calculate the theoretical hysteresis equivalent resistance value.

[0127] As an optional implementation, in an embodiment of the present invention, the second calculation unit 402 is also used to substitute the theoretical hysteresis equivalent resistance value, the power supply sampling voltage value and the photosensitive peripheral resistance value into the light intensity threshold calculation formula to calculate the hysteresis judgment threshold voltage value.

[0128] The acquisition unit 404 is configured to combine the hysteresis judgment threshold voltage value with the first light intensity judgment threshold and the second light intensity judgment threshold to obtain the first light intensity hysteresis judgment threshold range and the second light intensity hysteresis judgment threshold range.

[0129] and Figure 4 Compared with the judgment system, Figure 5 The determining unit 403 includes:

[0130] The judging subunit 4031 is configured to judge that the current light intensity level is a strong light level when the first light intensity judgment threshold is greater than the second light intensity judgment threshold and the light-sensitive sampling voltage value is greater than the first light intensity judgment threshold;

[0131] Furthermore, if the light-sensitive sampling voltage value is between the first light intensity judgment threshold and the second light intensity judgment threshold, but not within the first light intensity hysteresis judgment threshold range, it is determined that the current light intensity level is a medium light level; wherein the first light intensity hysteresis judgment threshold range is between the first light intensity judgment threshold and the second light intensity judgment threshold;

[0132] Furthermore, if the photosensor sampling voltage value is less than the second light intensity judgment threshold but is not within the second light intensity hysteresis judgment threshold range, it is judged that the current light intensity level is a low light level; wherein the maximum value of the second light intensity hysteresis judgment threshold range is less than the second light intensity judgment threshold.

[0133] As an optional implementation, in an embodiment of the present invention, the present application can divide the light intensity into three states: strong light, medium light, and weak light. When the sampled voltage is higher than the strong light threshold, it is determined to be a strong light state; when it is lower than the weak light threshold, it is determined to be a weak light state; and when it is between the strong light threshold and the weak light threshold, it is determined to be a medium light state. Figure 7 and Figure 8 shown.

[0134] As an optional implementation, in the embodiment of the present invention, the judgment subunit 4031 is further configured to, when the first light intensity judgment threshold is less than the second light intensity judgment threshold, determine that the current light intensity level is a strong light level if the photosensored voltage value is greater than the second light intensity judgment threshold;

[0135] Furthermore, if the light-sensitive sampling voltage value is between the first light intensity judgment threshold and the second light intensity judgment threshold, but not within the second light intensity hysteresis judgment threshold range, it is determined that the current light intensity level is a medium light level; wherein the second light intensity hysteresis judgment threshold range is between the first light intensity judgment threshold and the second light intensity judgment threshold;

[0136] Furthermore, if the photosensor sampling voltage value is less than the first light intensity judgment threshold but is not within the first light intensity hysteresis judgment threshold range, it is judged that the current light intensity level is a low light level; wherein the maximum value of the first light intensity hysteresis judgment threshold range is less than the first light intensity judgment threshold.

[0137] and Figure 4 Compared with the judgment system, Figure 5 The determining unit 403 further includes:

[0138] As an optional implementation, in an embodiment of the present invention, the judgment subunit 4031 is also used to determine that the current light intensity is entering a strong light state when the first light intensity judgment threshold is greater than the second light intensity judgment threshold and the photosensitivity sampling voltage value is within the first light intensity hysteresis judgment threshold range, if the previous light intensity level is a medium light level, so as to determine that the current light intensity level is a strong light level.

[0139] As an optional implementation, in an embodiment of the present invention, the judgment subunit 4031 is also used to, when the first light intensity judgment threshold is greater than the second light intensity judgment threshold and the photosensitivity sampling voltage value is within the second light intensity hysteresis judgment threshold range, if the previous light intensity level is a low light level, determine that the current light intensity is entering a medium light state, so as to determine that the current light intensity level is a medium light level.

[0140] As an optional implementation, in an embodiment of the present invention, the judgment subunit 4031 is also used to determine that the current light intensity is entering a strong light state when the first light intensity judgment threshold is less than the second light intensity judgment threshold and the photosensitivity sampling voltage value is within the second light intensity hysteresis judgment threshold range, if the previous light intensity level is a medium light level, so as to determine that the current light intensity level is a strong light level.

[0141] As an optional implementation, in an embodiment of the present invention, the judgment subunit 4031 is also used to determine that the current light intensity is entering a medium light state when the first light intensity judgment threshold is less than the second light intensity judgment threshold and the photosensitivity sampling voltage value is within the first light intensity hysteresis judgment threshold range, if the previous light intensity level is a low light level, so as to determine that the current light intensity level is a medium light level.

[0142] As an optional implementation, in an embodiment of the present invention, based on actual sampling data analysis, when sunlight shines directly on the front of the remote control, the sampled voltage is at a relatively large value regardless of morning, noon or night, and the change is very small. However, for cloudy or rainy weather, and the placement of the remote control, the sampled voltage starts to increase from 0mV, and the floating range is relatively large, so the hysteresis of the set strong light threshold will be smaller, and the hysteresis of the set weak light threshold will be relatively larger.

[0143] In the embodiment of the present invention, Figure 7 and Figure 8 As shown in the figure, when the light-sensing voltage value is within a certain light intensity hysteresis threshold range, the system also considers the previous light intensity level to determine the current light intensity change trend. Among them, all set thresholds are calculated based on the power supply sampling voltage value and the set threshold resistance, and are not fixed values.

[0144] As an optional implementation, in an embodiment of the present invention, when the first light intensity judgment threshold is greater than the second light intensity judgment threshold, and the photosensitivity sampling voltage value is within the first light intensity hysteresis judgment threshold range, if the previous light intensity level is a strong light level, it is judged that the current light intensity is entering a medium light state, so as to determine that the current light intensity level is a medium light level; if the previous light intensity level is a medium light level, it is judged that the current light intensity is entering a strong light state, so as to determine that the current light intensity level is a strong light level.

[0145] As an optional implementation, in an embodiment of the present invention, when the first light intensity judgment threshold is greater than the second light intensity judgment threshold, and the photosensitivity sampling voltage value is within the second light intensity hysteresis judgment threshold range, if the previous light intensity level is a medium light level, it is judged that the current light intensity is entering a low light state, so as to determine that the current light intensity level is a low light level; if the previous light intensity level is a low light level, it is judged that the current light intensity is entering a medium light state, so as to determine that the current light intensity level is a medium light level.

[0146] As an optional implementation, in an embodiment of the present invention, when the first light intensity judgment threshold is less than the second light intensity judgment threshold, and the photosensitivity sampling voltage value is within the second light intensity hysteresis judgment threshold range, if the previous light intensity level is a strong light level, it is judged that the current light intensity is entering a medium light state, so as to determine that the current light intensity level is a medium light level; if the previous light intensity level is a medium light level, it is judged that the current light intensity is entering a strong light state, so as to determine that the current light intensity level is a strong light level.

[0147] As an optional implementation, in an embodiment of the present invention, when the first light intensity judgment threshold is less than the second light intensity judgment threshold, and the photosensitivity sampling voltage value is within the second light intensity hysteresis judgment threshold range, if the previous light intensity level is a medium light level, it is judged that the current light intensity is entering a low light state, so as to determine that the current light intensity level is a low light level; if the previous light intensity level is a low light level, it is judged that the current light intensity is entering a medium light state, so as to determine that the current light intensity level is a medium light level.

[0148] As an optional implementation, in this embodiment of the present invention, the system can determine the current light intensity level by comparing the light-sensing voltage sample value with a preset light intensity threshold. When the light-sensing voltage sample value is between the two thresholds, the system also considers the corresponding hysteresis threshold range and the previous light intensity level to determine the current light intensity trend. This design makes the system more sensitive to changes in light intensity and can more accurately reflect the actual light intensity.

[0149] As an optional implementation, in an embodiment of the present invention, for projects where the battery power supply voltage may change, the method for setting the photosensitivity threshold may refer to the method of the present application to calculate the dynamic threshold; and for projects with a stable power supply, there is no need to consider the impact of the power supply voltage on the photosensitivity threshold, and the threshold may be directly set to a fixed value. For example, for a system with a DC power supply of 5V or 3.3V, it is only necessary to calculate the threshold voltage corresponding to the power supply voltage using the above-mentioned calculated threshold resistance, and then fine-tune it according to the actual project.

[0150] As an optional implementation, in an embodiment of the present invention, by setting multiple judgment thresholds (a first light intensity judgment threshold, a second light intensity judgment threshold) and a hysteresis judgment threshold range, this application can more finely divide light intensity levels and reduce false positives. Furthermore, this application is adaptable to changes in different lighting environments, enhancing the adaptability of the system.

[0151] As an optional implementation, in an embodiment of the present invention, in actual applications, different light intensities may require the device to respond differently. Therefore, the present application can set multiple judgment thresholds to divide the light intensity into different levels so that the device can make corresponding adjustments.

[0152] As an optional implementation, in this embodiment of the present invention, light intensity may fluctuate slightly due to various factors. If judgment is based solely on a single threshold, these small fluctuations can easily lead to misjudgments. By setting a hysteresis judgment threshold range, the light intensity level is only changed when the light intensity changes significantly, thereby reducing misjudgments and improving system stability.

[0153] As an optional implementation, in the embodiment of the present invention, the light intensity changes continuously rather than suddenly. The present application can take this continuity into account by setting the hysteresis judgment threshold range to avoid frequent level changes caused by small changes in light intensity.

[0154] As an optional implementation, in the embodiment of the present invention, the light intensity may vary greatly in different environments and time periods. By setting multiple judgment thresholds and hysteresis judgment threshold ranges, the system can adapt to such changes and make reasonable judgments.

[0155] As an optional implementation, in an embodiment of the present invention, the present application can accurately determine the light intensity level, helping the device to make a more reasonable response, such as adjusting the light brightness, starting or turning off the sunshade device, etc., thereby improving the user experience and the efficiency of device use.

[0156] and Figure 4 Compared with the judgment system, Figure 5 The first calculation unit 401 includes:

[0157] The first computing subunit 4011 is used to utilize Calculate the photosensitive equivalent resistance value.

[0158] As an optional implementation, in the embodiment of the present invention, the first computing subunit 4011 is further configured to utilize Calculate the theoretical equivalent resistance of the photosensor.

[0159] As an optional implementation, in the embodiment of the present invention, the first computing subunit 4011 is further configured to utilize Calculate the theoretical hysteresis equivalent resistance value.

[0160] and Figure 4 Compared with the judgment system, Figure 5 The second calculation unit 402 includes:

[0161] The second computing subunit 4021 is used to utilize A first light intensity judgment threshold is calculated.

[0162] As an optional implementation, in the embodiment of the present invention, the second computing subunit 4021 is further configured to utilize A second light intensity judgment threshold is calculated.

[0163] As an optional implementation, in the embodiment of the present invention, the second computing subunit 4021 is further configured to utilize Calculate the hysteresis judgment threshold voltage value.

[0164] As an optional implementation, in an embodiment of the present invention, the resistance value of the photosensitive element changes with light intensity. By measuring the sampled voltage and combining it with the known resistance value, the equivalent resistance of the photosensitive element can be calculated, thereby indirectly obtaining light intensity information. The calculation of the theoretical equivalent resistance takes into account the ideal characteristics of the photosensitive element, which helps to calibrate and verify the accuracy of the actual measurement results. By accurately calculating the equivalent resistance of the photosensitive element, this application can more accurately reflect changes in ambient light intensity, thereby improving the sensitivity and accuracy of the system.

[0165] As an optional implementation, in an embodiment of the present invention, the light intensity judgment threshold is set based on the characteristics of the photosensor and actual application requirements, ensuring that the system can function properly under different lighting conditions. The hysteresis judgment threshold voltage is set to increase the stability and reliability of the system and prevent frequent misjudgments and operations caused by slight changes in light intensity. By setting the light intensity judgment threshold, the present application can automatically determine the current light intensity level and take appropriate actions as needed. At the same time, the introduction of the hysteresis judgment threshold voltage increases the system's tolerance to changes in light intensity and avoids misoperation caused by slight fluctuations.

[0166] and Figure 4 Compared with the judgment system, Figure 5 The acquisition unit 404 includes:

[0167] The third calculation subunit 4041 is configured to subtract the hysteresis judgment threshold voltage value from the first light intensity judgment threshold value to calculate a minimum value of the first light intensity hysteresis judgment threshold value range.

[0168] The determination subunit 4042 is configured to determine a first illumination intensity hysteresis judgment threshold range; wherein the maximum value of the first illumination intensity hysteresis judgment threshold range is the first illumination intensity judgment threshold.

[0169] As an optional implementation, in an embodiment of the present invention, the third calculation subunit 4041 is further configured to subtract the hysteresis judgment threshold voltage value from the second light intensity judgment threshold to calculate the minimum value of the second light intensity hysteresis judgment threshold range.

[0170] As an optional implementation, in an embodiment of the present invention, the determination subunit 4042 is further used to determine a second light intensity hysteresis judgment threshold range; wherein the maximum value of the second light intensity hysteresis judgment threshold range is the second light intensity judgment threshold.

[0171] As an optional implementation, in an embodiment of the present invention, light intensity may fluctuate in actual applications. By setting the hysteresis judgment threshold range, the system can tolerate such fluctuations within a certain range, thereby avoiding frequent misjudgments and operations. At the same time, the system can also handle changes in light intensity more flexibly, thereby improving the adaptability and robustness of the system.

[0172] and Figure 4 Compared with the judgment system, Figure 5 The judgment system includes:

[0173] The sending unit 405 is used to determine that the unit 403 judges the photosensitivity sampling voltage value against the first light intensity judgment threshold and the second light intensity judgment threshold respectively to determine the current light intensity level, and then sends the current light intensity level to the associated elevator device according to the specified coding logic communication, so that the elevator device is lifted or lowered to the specified position according to the current light intensity level; wherein the specified coding logic includes system identity information and a key value containing the current light intensity level.

[0174] As an optional implementation, in an embodiment of the present invention, the control of the elevator equipment of the present application is based on the current light intensity level and system identity information, which can ensure the accuracy and safety of the control.

[0175] and Figure 4 Compared with the judgment system, Figure 5 The judgment system includes:

[0176] The starting unit 406 is used to send the current light intensity level to the associated elevator equipment according to the specified coding logic communication by the sending unit 405, so that after the elevator equipment is lifted to the specified position according to the current light intensity level, if a human body signal is detected within a certain time period, the human sensing related operation is started; wherein, the human sensing related operation includes shutting down the disinfection and voice recognition functions.

[0177] As an optional implementation, in the embodiment of the present invention, the starting unit 406 is further configured to start the lighting function if the current light intensity determination result is a no-light state.

[0178] As an optional implementation, in an embodiment of the present invention, when a human body signal is detected, the system can automatically start human-sensing related operations, such as turning off disinfection and voice recognition functions, thereby avoiding unnecessary operations when people are present, improving the system's security and user experience. At the same time, the application can also automatically provide lighting in a dark state to meet actual application needs.

[0179] It can be seen that implementation Figure 5 Another judgment system described can realize multi-level judgment of light intensity to more accurately control the raising and lowering of the automatic clothes drying machine.

[0180] In addition, implementation Figure 5 The described judgment system can accurately judge the light intensity level, which helps related devices (such as smart lighting systems) to make reasonable responses and improve user experience.

[0181] Example 5

[0182] See also Figure 6 , Figure 6 This is a schematic diagram of another structure of a judgment system disclosed in an embodiment of the present invention. Figure 6 , the judgment system may include:

[0183] A memory 501 storing executable program code;

[0184] a processor 502 coupled to the memory 501;

[0185] The processor 502 calls the executable program code stored in the memory 501 and executes Figures 1 and 2 A multi-level judgment method for any light intensity.

[0186] An embodiment of the present invention discloses a computer-readable storage medium storing a computer program, wherein the computer program enables a computer to execute Figures 1 and 2 A multi-level judgment method for any light intensity.

[0187] An embodiment of the present invention further discloses a computer program product, wherein when the computer program product is run on a computer, the computer is caused to execute part or all of the steps of the methods in the above method embodiments.

[0188] Those skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, including a read-only memory (ROM), a random access memory (RAM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium capable of carrying or storing data.

[0189] The above is a detailed introduction to a multi-level judgment method and judgment system for light intensity disclosed in an embodiment of the present invention. Specific examples are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the ideas of the present invention, there will be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A multi-level judgment method for light intensity, characterized in that: include: Using the equivalent resistance calculation formula, the photosensor sampling voltage value, the power supply sampling voltage value and the photosensitive peripheral resistance value are substituted to calculate the photosensor equivalent resistance value affected by the power supply voltage; Substituting the photosensitive equivalent resistance value, the power supply sampling voltage value, and the photosensitive peripheral resistance value into a light intensity threshold calculation formula to calculate a first light intensity judgment threshold; After determining the photosensor theoretical voltage value according to the power supply sampling voltage value, substituting the photosensor theoretical voltage value, the power supply sampling voltage value and the photosensitive peripheral resistance value into the equivalent resistance calculation formula to calculate the photosensor theoretical equivalent resistance value; Substituting the photosensor theoretical equivalent resistance value, the power supply sampling voltage value, and the photosensor peripheral resistance value into the light intensity threshold calculation formula to calculate a second light intensity judgment threshold; The light-sensitive sampling voltage value is judged against the first light intensity judgment threshold and the second light intensity judgment threshold respectively to determine the current light intensity level.

2. The method according to claim 1, characterized in that After substituting the photosensor theoretical equivalent resistance value, the power supply sampling voltage value, and the photosensor peripheral resistance value into the light intensity threshold calculation formula to calculate the second light intensity judgment threshold, and before respectively judging the photosensor sampling voltage value with the first light intensity judgment threshold and the second light intensity judgment threshold to determine the current light intensity level, the method further includes: After determining a theoretical hysteresis voltage value according to the power supply sampling voltage value, substituting the theoretical hysteresis voltage value, the power supply sampling voltage value, and the photosensitive peripheral resistance value into the equivalent resistance calculation formula to calculate a theoretical hysteresis equivalent resistance value; Substituting the theoretical hysteresis equivalent resistance value, the power supply sampling voltage value, and the photosensitive peripheral resistance value into the light intensity threshold calculation formula to calculate the hysteresis judgment threshold voltage value; The hysteresis judgment threshold voltage value is respectively combined with the first illumination intensity judgment threshold value and the second illumination intensity judgment threshold value to obtain a first illumination intensity hysteresis judgment threshold range and a second illumination intensity hysteresis judgment threshold range.

3. The method according to claim 2, characterized in that The step of respectively judging the light-sensitive sampling voltage value with the first light intensity judgment threshold and the second light intensity judgment threshold to determine the current light intensity level includes: When the first light intensity judgment threshold is greater than the second light intensity judgment threshold, if the photosensor sampling voltage value is greater than the first light intensity judgment threshold, it is judged that the current light intensity level is a strong light level; Furthermore, if the photosensor voltage value is between the first light intensity judgment threshold and the second light intensity judgment threshold, but not within the first light intensity hysteresis judgment threshold range, it is determined that the current light intensity level is a medium light level; wherein the first light intensity hysteresis judgment threshold range is between the first light intensity judgment threshold and the second light intensity judgment threshold; and, if the photosensor voltage value is less than the second light intensity judgment threshold value but is not within the second light intensity hysteresis judgment threshold value range, determining that the current light intensity level is a low light level; wherein the maximum value of the second light intensity hysteresis judgment threshold value range is less than the second light intensity judgment threshold value; When the first light intensity judgment threshold is lower than the second light intensity judgment threshold, if the light-sensitive sampling voltage value is higher than the second light intensity judgment threshold, it is determined that the current light intensity level is a strong light level; Furthermore, if the photosensor voltage value is between the first light intensity judgment threshold and the second light intensity judgment threshold, but not within the second light intensity hysteresis judgment threshold range, it is determined that the current light intensity level is a medium light level; wherein the second light intensity hysteresis judgment threshold range is between the first light intensity judgment threshold and the second light intensity judgment threshold; Furthermore, if the photosensitivity sampling voltage value is less than the first light intensity judgment threshold but is not within the first light intensity hysteresis judgment threshold range, it is judged that the current light intensity level is a low light level; wherein the maximum value of the first light intensity hysteresis judgment threshold range is less than the first light intensity judgment threshold.

4. The method according to claim 3, characterized in that The method further comprises: When the first light intensity judgment threshold is greater than the second light intensity judgment threshold, and the photosensor sampling voltage value is within the first light intensity hysteresis judgment threshold range, if the previous light intensity level is a medium light level, it is determined that the current light intensity is entering a strong light state, so as to determine that the current light intensity level is a strong light level; When the first light intensity judgment threshold is greater than the second light intensity judgment threshold, and the photosensor sampling voltage value is within the second light intensity hysteresis judgment threshold range, if the previous light intensity level is a low light level, it is determined that the current light intensity is entering a medium light state, so as to determine that the current light intensity level is a medium light level; When the first light intensity judgment threshold is less than the second light intensity judgment threshold, and the photosensor sampling voltage value is within the second light intensity hysteresis judgment threshold range, if the previous light intensity level is a medium light level, it is determined that the current light intensity is entering a strong light state, so as to determine that the current light intensity level is a strong light level; When the first light intensity judgment threshold is less than the second light intensity judgment threshold, and the photosensor voltage value is within the first light intensity hysteresis judgment threshold range, if the previous light intensity level is a low light level, it is judged that the current light intensity is entering a medium light state, so as to determine that the current light intensity level is a medium light level.

5. The method according to claim 2, characterized in that The equivalent resistance calculation formula is used to substitute the photosensitive sampling voltage value, the power supply sampling voltage value and the photosensitive peripheral resistance value to calculate the photosensitive equivalent resistance value affected by the power supply voltage, including: use Calculating the photosensitive equivalent resistance value; And, after determining the photosensor theoretical voltage value according to the power supply sampling voltage value, substituting the photosensor theoretical voltage value, the power supply sampling voltage value and the photosensitive peripheral resistance value into the equivalent resistance calculation formula to calculate the photosensor theoretical equivalent resistance value, including: use Calculating the theoretical equivalent resistance value of the photosensitive material; And, after determining the theoretical hysteresis voltage value according to the power supply sampling voltage value, substituting the theoretical hysteresis voltage value, the power supply sampling voltage value and the photosensitive peripheral resistance value into the equivalent resistance calculation formula to calculate the theoretical hysteresis equivalent resistance value, including: use Calculate the theoretical hysteresis equivalent resistance value.

6. The method according to claim 5, characterized in that Substituting the photosensitive equivalent resistance value, the power supply sampling voltage value, and the photosensitive peripheral resistance value into a light intensity threshold calculation formula to calculate a first light intensity judgment threshold value includes: use Calculating the first light intensity judgment threshold; And, substituting the photosensor theoretical equivalent resistance value, the power supply sampling voltage value, and the photosensor peripheral resistance value into the light intensity threshold calculation formula to calculate the second light intensity judgment threshold includes: use Calculating the second light intensity judgment threshold; And, substituting the theoretical hysteresis equivalent resistance value, the power supply sampling voltage value, and the photosensitive peripheral resistance value into the light intensity threshold calculation formula to calculate the hysteresis judgment threshold voltage value includes: use The hysteresis judgment threshold voltage value is calculated.

7. The method according to claim 5, characterized in that Combining the hysteresis judgment threshold voltage value with the first light intensity judgment threshold value and the second light intensity judgment threshold value to obtain a first light intensity hysteresis judgment threshold range and a second light intensity hysteresis judgment threshold range includes: Subtracting the hysteresis judgment threshold voltage value from the first light intensity judgment threshold value to calculate a minimum value of the first light intensity hysteresis judgment threshold value range; Determine the first light intensity hysteresis judgment threshold range; wherein the maximum value of the first light intensity hysteresis judgment threshold range is the first light intensity judgment threshold; Subtracting the hysteresis judgment threshold voltage value from the second light intensity judgment threshold value to calculate a minimum value of the second light intensity hysteresis judgment threshold value range; The second illumination intensity hysteresis judgment threshold range is determined; wherein the maximum value of the second illumination intensity hysteresis judgment threshold range is the second illumination intensity judgment threshold.

8. The method according to any one of claims 1 to 7, characterized in that After determining the current light intensity level by comparing the light-sensitive sampling voltage value with the first light intensity judgment threshold and the second light intensity judgment threshold, the method further includes: The current light intensity level is communicated to an associated elevator device according to a specified coding logic, so that the elevator device is raised or lowered to a specified position according to the current light intensity level; wherein the specified coding logic includes system identity information and a key value containing the current light intensity level.

9. The method according to claim 8, characterized in that After the current light intensity level is sent to the associated elevator device according to the specified coding logic communication so that the elevator device is lifted to the specified position according to the current light intensity level, the method further includes: If a human body signal is detected within a certain period of time, human-sensing related operations are activated; wherein, the human-sensing related operations include shutting down the disinfection and voice recognition functions; If the current light intensity is judged to be no light, the lighting function is activated.

10. A judgment system, characterized in that: The judgment system includes: The first calculation unit is used to use an equivalent resistance calculation formula to substitute the photosensor sampling voltage value, the power supply sampling voltage value and the photosensitive peripheral resistance value to calculate the photosensor equivalent resistance value affected by the power supply voltage; a second calculation unit, configured to substitute the photosensitive equivalent resistance value, the power supply sampling voltage value, and the photosensitive peripheral resistance value into a light intensity threshold calculation formula to calculate a first light intensity judgment threshold; The first calculation unit is further configured to, after determining a theoretical photosensor voltage value according to the power supply sampled voltage value, substitute the theoretical photosensor voltage value, the power supply sampled voltage value, and the photosensitive peripheral resistance value into the equivalent resistance calculation formula to calculate the photosensor theoretical equivalent resistance value; The second calculation unit is further configured to substitute the photosensor theoretical equivalent resistance value, the power supply sampling voltage value, and the photosensor peripheral resistance value into the light intensity threshold calculation formula to calculate a second light intensity judgment threshold; The determination unit is configured to determine the current light intensity level by respectively determining the light-sampling voltage value and the first light intensity determination threshold value and the second light intensity determination threshold value.

Citation Information

Patent Citations

  • Light-sensitive drying rack

    CN107663754A

  • Intelligent clothes hanger and control method

    CN112442869A