Multistage judgment method and judgment system for illumination intensity
By adopting a multi-stage judgment method in the automatic clothes dryer and using equivalent resistance and threshold calculation formulas, the problem that traditional automatic clothes dryer is difficult to accurately judge the light intensity in complex lighting environments is solved, and more accurate lifting and lowering control is achieved.
Patent Information
- Application Number
- CN202510052505.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-13
- Publication Date
- 2025-04-15
- Estimated Expiration
- 2045-01-13
AI Technical Summary
Traditional automatic clothes dryers find it difficult to accurately judge the current light intensity in an environment where light intensity fluctuates frequently and changes in complex changes, resulting in the inability to make appropriate lifting and lowering decisions.
Using a multi-stage judgment method of light intensity, multiple light intensity judgment thresholds are calculated through the equivalent resistance calculation formula and the light intensity threshold calculation formula, and then the current light intensity level is determined.
Multi-level judgment of light intensity is achieved, and the accuracy of lifting and lowering control of automatic clothes drying machines in complex lighting environments is improved.
Smart Images

Figure CN119826966A_ABST
Abstract
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 booming development of smart home technology, automatic clothes drying machines have become an indispensable part of the smart home system, and their intelligence is continuing to deepen. At present, most traditional automatic clothes drying machines use the sensitivity of photosensitive elements to light changes to achieve basic perception of light intensity, so as to automatically adjust the lifting and lowering status of the clothes drying rack. Although this control method has achieved the automation of clothes drying to a certain extent, it is found in practice that most traditional automatic clothes drying machines are often difficult to accurately judge the current light intensity in an environment where the light intensity fluctuates frequently and changes complexly, and thus cannot make appropriate lifting and lowering decisions. Summary of the invention
[0003] The embodiment of the present invention discloses a multi-level judgment method and judgment system for light intensity, which can realize multi-level judgment on light intensity to more accurately control the lifting 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 photosensitive sampling voltage value, the power supply sampling voltage value and the photosensitive peripheral resistance value are substituted to calculate the photosensitive 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 the 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 photosensitive sampling voltage value is judged respectively with the first light intensity judgment threshold and the second light intensity judgment threshold to determine the current light intensity level.
[0010] A second aspect of an embodiment of the present invention discloses a judgment system, the judgment system comprising:
[0011] A first calculation unit is used to substitute a photosensitive sampling voltage value, a power supply sampling voltage value and a photosensitive peripheral resistance value into an equivalent resistance calculation formula to calculate a photosensitive equivalent resistance value affected by the power supply voltage;
[0012] A second calculation unit is used 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 used to, after determining the photosensitivity theoretical voltage value according to the power supply sampling voltage value, substitute the photosensitivity theoretical voltage value, the power supply sampling voltage value and the photosensitive peripheral resistance value into the equivalent resistance calculation formula to calculate the photosensitivity theoretical equivalent resistance value;
[0014] The second calculation unit is further 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 a second light intensity judgment threshold;
[0015] The determination unit is used to determine the current light intensity level by respectively determining the light-sensitive sampling voltage value with 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, the 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 determination method for light intensity disclosed in the first aspect of an 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 enabled to execute part or all of the steps of any one of the multi-level judgment 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 judgment methods for light intensity 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, a photosensitive sampling voltage value, a power supply sampling voltage value and a photosensitive peripheral resistance value are substituted into an equivalent resistance calculation formula to calculate a photosensitive equivalent resistance value affected by the power supply voltage; the photosensitive 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 photosensitive theoretical voltage value according to the power supply sampling voltage value, the photosensitive 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 photosensitive theoretical equivalent resistance value; the photosensitive 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 photosensitive sampling voltage value is judged with 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 embodiments 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 drawings required for use in the embodiments will be briefly introduced below. 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 creative work.
[0026] Figure 1 It is a flowchart of a multi-level determination method of light intensity disclosed in an embodiment of the present invention;
[0027] Figure 2 It is a flowchart diagram of another multi-level determination method of light intensity disclosed in an embodiment of the present invention;
[0028] Figure 3 It is a schematic diagram of 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 respectively according to an embodiment of the present invention;
[0029] Figure 4It is a structural schematic diagram of a judgment system disclosed in an embodiment of the present invention;
[0030] Figure 5 is a schematic diagram of the structure of another judgment system disclosed in an embodiment of the present invention;
[0031] Figure 6 is a schematic diagram of the structure of another judgment system disclosed in an embodiment of the present invention;
[0032] Figure 7 is a schematic diagram of the distribution of illumination intensity level thresholds when the first illumination intensity judgment threshold is greater than the second illumination intensity judgment threshold according to an embodiment of the present invention;
[0033] Figure 8 It 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 be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0035] It should be noted that the terms "first", "second", "third", "fourth", etc. in the specification and claims of the present invention are used to distinguish different objects rather than to describe a specific order. The terms "including" and "having" in the embodiments of the present invention and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device including a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[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 on light intensity to more accurately control the lifting and lowering of an automatic clothes drying machine.
[0037] The following is a detailed description with reference to the accompanying drawings.
[0038] Embodiment 1
[0039] See also Figure 1 , Figure 1 FIG. 1 is a flow chart of a multi-level determination method of 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 an equivalent resistance calculation formula 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.
[0041] As an optional implementation, in an embodiment of the present invention, the system may first obtain three key values: a photosensitive sampling voltage value (a voltage generated by a photosensitive element, reflecting light intensity), a power sampling voltage value (a voltage value of a system power supply), and a photosensitive peripheral resistance value (a resistance value connected in series or in parallel with a photosensitive element). Subsequently, the equivalent resistance calculation formula may be used to substitute these values to calculate the photosensitive equivalent resistance value affected by the power supply voltage. The equivalent resistance value may reflect the total resistance of the photosensitive element and the peripheral resistance combined under the current power supply voltage and light conditions.
[0042] As an optional implementation, in an embodiment of the present invention, the fluctuation of 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. The present application can accurately calculate the photosensitive equivalent resistance value affected by the power supply voltage 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. This helps to eliminate the influence 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 the embodiment of the present invention, the present application can more accurately calculate the photosensitive equivalent resistance value affected by the power supply voltage by comprehensively considering the photosensitive sampling voltage, the power supply sampling voltage and the photosensitive peripheral resistance, using the equivalent resistance calculation formula. This helps to eliminate the influence of power supply voltage fluctuations on the performance of the photosensitive element, 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 the first light intensity judgment threshold.
[0045] As an optional implementation, in the embodiment of the present invention, the present application uses the calculated photosensitive equivalent resistance value, the power supply sampling voltage value and the photosensitive peripheral resistance value to dynamically calculate the first light intensity judgment threshold value, so as to more accurately judge whether the current light intensity reaches or exceeds a certain level. This helps the system to automatically adjust the judgment standard according to the current ambient light conditions and power supply voltage status, thereby improving the adaptability and flexibility of the system.
[0046] 103. After determining the theoretical photosensor voltage value according to the power supply sampling voltage value, the judgment system substitutes the theoretical photosensor voltage value, the power supply sampling voltage value and the photosensitive peripheral resistance value into the equivalent resistance calculation formula to calculate the theoretical photosensor equivalent resistance value.
[0047] As an optional implementation, in the embodiment of the present invention, under ideal conditions, the performance of the photosensitive element is known, and the theoretical photosensitive voltage value and the theoretical equivalent resistance value can be obtained through theoretical calculation. These values can be used as a benchmark for actual measurement to evaluate whether the performance of the photosensitive element meets the design requirements, and help evaluate the performance deviation of the actual photosensitive element, so that the system maintains stable performance when the light intensity changes, thereby enhancing the stability and reliability of the system.
[0048] 104. The judgment system substitutes 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.
[0049] As an optional implementation, in an embodiment of the present invention, in actual application, the light intensity needs to be judged between multiple thresholds. By calculating the second light intensity judgment threshold, the system can more finely divide the light intensity level to meet the needs of different application scenarios. This helps the system to further refine the light intensity judgment standard and improve the accuracy and reliability of the judgment.
[0050] 105. The judgment system judges the light-sensitive 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.
[0051] As an optional implementation, in the embodiment of the present invention, the determination of the light intensity level is the basis for the system to realize the automatic control or alarm function. By comparing the light-sensitive sampling voltage value with the determination threshold, the system can accurately determine the current light intensity level and take corresponding measures to deal with different lighting conditions. This helps the system to take corresponding control measures or send corresponding alarm signals according to the light intensity level.
[0052] As an optional implementation, in an embodiment of the present invention, the present application can dynamically set the threshold of photosensitive sampling, that is, the threshold voltage of the point is calculated to obtain 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 the embodiment of the present invention, the system can calculate the equivalent resistance and the light intensity judgment threshold by measuring the voltage of the photosensitive element and the known resistance value. Then, according to the comparison result of the sampled voltage and the judgment threshold, the current light intensity level is determined, and this information is sent to the elevator equipment to control its lifting, thereby realizing the requirements of accurate measurement, level division, automatic control, safety and energy saving of light intensity. In addition, the system also takes into account the 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 may 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 the implementation Figure 1 The described multi-level judgment method of light intensity can realize multi-level judgment of light intensity 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] Embodiment 2
[0058] See also Figure 2 , Figure 2 FIG. 1 is a flow chart of another multi-level determination method of 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 the 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 the 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, the present application can more accurately reflect the changes in the ambient light intensity and improve 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 setting of the light intensity judgment threshold is based on the characteristics of the photosensitive element and the actual application requirements, ensuring that the system can work normally under different lighting conditions. The setting of the hysteresis judgment threshold voltage is to increase the stability and reliability of the system and prevent frequent misjudgments and operations caused by slight changes in light intensity. The present application can automatically judge the current light intensity level and take corresponding operations as needed by setting the light intensity judgment threshold. 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 range.
[0068] 208. The judgment system determines a first illumination intensity hysteresis judgment threshold range; wherein a 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 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 a second illumination intensity judgment threshold.
[0071] As an optional implementation, in an embodiment of the present invention, the 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 with the first light intensity judgment threshold and the second light intensity judgment threshold respectively to determine the current light intensity level.
[0073] 212. The judgment system 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.
[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 start human sensing related operations; among which, human sensing related operations include shutting down disinfection and voice recognition functions.
[0076] 214. If the current light intensity judgment result is a no light state, the system is judged to start the lighting function and end 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 present application can also automatically provide lighting in a dark state to meet actual application needs.
[0078] See also Figure 3 , Figure 3 1 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 respectively 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 photosensitivity 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 photosensitivity 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, 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 photosensitivity sampling voltage value is less than the second light intensity judgment threshold value, but is not within the second light intensity hysteresis judgment threshold 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 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 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 and changes very little regardless of morning, noon or night. However, in cloudy or rainy weather, depending on the placement of the remote control, the sampled voltage increases from 0mV and has a relatively large floating range. Therefore, the hysteresis of the set strong light threshold will be smaller, while 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-sensitive sampling voltage value is within a certain light intensity hysteresis judgment threshold range, the system will also consider the previous light intensity level to judge the change trend of the current light intensity. Among them, all the set thresholds need to be calculated through 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, so as to determine that the current light intensity level is a medium light level.
[0089] 306. When the first illumination intensity judgment threshold is less than the second illumination intensity judgment threshold, if the photosensitivity sampling voltage value is greater 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 photosensitivity 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, 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 photosensitivity sampling voltage value is less than the first light intensity judgment threshold value, but is not within the first light intensity hysteresis judgment threshold 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 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, so as to determine 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 the embodiment of the present invention, the system can determine the current light intensity level by comparing the photosensitive sampling voltage value and the preset light intensity judgment threshold. When the photosensitive sampling voltage value is between the two judgment thresholds, the system will also consider the corresponding hysteresis judgment threshold range and the previous light intensity level to judge the change trend of the current light intensity. This design can make the system more sensitive to changes in light intensity and can more accurately reflect the actual situation of 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 the embodiment of the present invention, the present application can divide the light intensity level more finely and reduce misjudgment by setting multiple judgment thresholds (first light intensity judgment threshold, second light intensity judgment threshold) and hysteresis judgment threshold range. And the present application is applicable to changes in different lighting environments, which enhances the adaptability of the system.
[0099] As an optional implementation, in the embodiment of the present invention, in actual applications, different light intensities may require the device to respond differently. Therefore, the present application can divide the light intensity into different levels by setting multiple judgment thresholds so that the device can make corresponding adjustments.
[0100] As an optional implementation, in the embodiment of the present invention, the light intensity may be affected by multiple factors and may fluctuate slightly. If judgment is made based on a single threshold, it is easy to cause misjudgment due to slight fluctuations. By setting the hysteresis judgment threshold range, the light intensity level will only be changed when the light intensity changes significantly, thereby reducing misjudgment and improving the stability of the system.
[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 due to slight 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, which helps 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 the implementation Figure 2-Figure 3 Another multi-level judgment method of light intensity described can realize multi-level judgment of light intensity to more accurately control the raising and lowering of the automatic clothes drying machine.
[0105] In addition, implementation Figure 2-Figure 3 Another multi-level determination method of light intensity described can accurately determine the light intensity level, which helps related devices (such as smart lighting systems) to make reasonable responses and improve user experience.
[0106] Embodiment 3
[0107] See also Figure 4 , Figure 4 Schematic diagram 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 photosensitive sampling voltage value, the power supply sampling voltage value and the photosensitive peripheral resistance value into the equivalent resistance calculation formula to calculate the photosensitive 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 according to 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 used to determine the current light intensity level by respectively determining the light-sensitive sampling voltage value with 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 may first obtain three key values: a photosensitive sampling voltage value (a voltage generated by a photosensitive element, reflecting light intensity), a power sampling voltage value (a voltage value of a system power supply), and a photosensitive peripheral resistance value (a resistance value connected in series or in parallel with a photosensitive element). Subsequently, the equivalent resistance calculation formula may be used to substitute these values to calculate the photosensitive equivalent resistance value affected by the power supply voltage. The equivalent resistance value may reflect the total resistance of the photosensitive element and the peripheral resistance combined under the current power supply voltage and light conditions.
[0114] As an optional implementation, in an embodiment of the present invention, the fluctuation of 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. The present application can accurately calculate the photosensitive equivalent resistance value affected by the power supply voltage 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. This helps to eliminate the influence 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 the embodiment of the present invention, the present application can more accurately calculate the photosensitive equivalent resistance value affected by the power supply voltage by comprehensively considering the photosensitive sampling voltage, the power supply sampling voltage and the photosensitive peripheral resistance, using the equivalent resistance calculation formula. This helps to eliminate the influence of power supply voltage fluctuations on the performance of the photosensitive element, thereby improving the accuracy of light intensity measurement.
[0116] As an optional implementation, in the embodiment of the present invention, the present application uses the calculated photosensitive equivalent resistance value, the power supply sampling voltage value and the photosensitive peripheral resistance value to dynamically calculate the first light intensity judgment threshold value, so as to more accurately judge whether the current light intensity reaches or exceeds a certain level. This helps the system to automatically adjust the judgment standard according to the current ambient light conditions and power supply voltage status, thereby improving the adaptability and flexibility of the system.
[0117] As an optional implementation, in the embodiment of the present invention, under ideal conditions, the performance of the photosensitive element is known, and the theoretical photosensitive voltage value and the theoretical equivalent resistance value can be obtained through theoretical calculation. These values can be used as a benchmark for actual measurement to evaluate whether the performance of the photosensitive element meets the design requirements, and help evaluate the performance deviation of the actual photosensitive element, so that the system maintains stable performance when the light intensity changes, thereby enhancing the stability and reliability of the system.
[0118] As an optional implementation, in an embodiment of the present invention, in actual application, the light intensity needs to be judged between multiple thresholds. By calculating the second light intensity judgment threshold, the system can more finely divide the light intensity level to meet the needs of different application scenarios. This helps the system to further refine the light intensity judgment standard and improve the accuracy and reliability of the judgment.
[0119] As an optional implementation, in the embodiment of the present invention, the determination of the light intensity level is the basis for the system to realize the automatic control or alarm function. By comparing the light-sensitive sampling voltage value with the determination threshold, the system can accurately determine the current light intensity level and take corresponding measures to deal with different lighting conditions. This helps the system to take corresponding control measures or send corresponding alarm signals according to the light intensity level.
[0120] As an optional implementation, in an embodiment of the present invention, the present application can dynamically set the threshold of photosensitive sampling, that is, the threshold voltage of the point is calculated to obtain 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 the embodiment of the present invention, the system can calculate the equivalent resistance and the light intensity judgment threshold by measuring the voltage of the photosensitive element and the known resistance value. Then, according to the comparison result of the sampled voltage and the judgment threshold, the current light intensity level is determined, and this information is sent to the elevator equipment to control its lifting, thereby realizing the requirements of accurate measurement, level division, automatic control, safety and energy saving of light intensity. In addition, the system also takes into account the changes in human body signals and light intensity to make corresponding operational adjustments.
[0122] It can be seen that the 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] Embodiment 4
[0125] See also Figure 5 , Figure 5 is a schematic diagram of the structure of another 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 photosensitive 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 photosensitive 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 used to combine the hysteresis judgment threshold voltage value with the first light intensity judgment threshold and the second light intensity judgment threshold respectively 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 used 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] And, if the photosensitive 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 judged 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 photosensitivity 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 used to judge that the current light intensity level is a strong light level if the photosensitive sampling voltage value is greater than the second light intensity judgment threshold when the first light intensity judgment threshold is less than the second light intensity judgment threshold;
[0135] And, if the photosensitive 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 judged 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 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.
[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 determine that the current light intensity is entering a medium 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 second 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.
[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 and changes very little regardless of morning, noon or night. However, in cloudy or rainy weather, depending on the placement of the remote control, the sampled voltage increases from 0mV and has a relatively large floating range. Therefore, the hysteresis of the set strong light threshold will be smaller, while 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-sensitive sampling voltage value is within a certain light intensity hysteresis judgment threshold range, the system will also consider the previous light intensity level to judge the change trend of the current light intensity. Among them, all the set thresholds need to be calculated through 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 the embodiment of the present invention, the system can determine the current light intensity level by comparing the photosensitive sampling voltage value and the preset light intensity judgment threshold. When the photosensitive sampling voltage value is between the two judgment thresholds, the system will also consider the corresponding hysteresis judgment threshold range and the previous light intensity level to judge the change trend of the current light intensity. This design can make the system more sensitive to changes in light intensity and can more accurately reflect the actual situation of 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 the embodiment of the present invention, the present application can divide the light intensity level more finely and reduce misjudgment by setting multiple judgment thresholds (first light intensity judgment threshold, second light intensity judgment threshold) and hysteresis judgment threshold range. And the present application is applicable to changes in different lighting environments, which enhances the adaptability of the system.
[0151] As an optional implementation, in the embodiment of the present invention, in actual applications, different light intensities may require the device to respond differently. Therefore, the present application can divide the light intensity into different levels by setting multiple judgment thresholds so that the device can make corresponding adjustments.
[0152] As an optional implementation, in the embodiment of the present invention, the light intensity may be affected by multiple factors and may fluctuate slightly. If judgment is made based on a single threshold, it is easy to cause misjudgment due to slight fluctuations. By setting the hysteresis judgment threshold range, the light intensity level will only be changed when the light intensity changes significantly, thereby reducing misjudgment and improving the stability of the system.
[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 due to slight 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, which helps 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 comprises:
[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 use 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 use Calculate the theoretical hysteresis equivalent resistance value.
[0160] and Figure 4 Compared with the judgment system, Figure 5 The second calculation unit 402 comprises:
[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 use 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 use 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 the 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 the 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, the present application can more accurately reflect the changes in the ambient light intensity and improve the sensitivity and accuracy of the system.
[0165] As an optional implementation, in an embodiment of the present invention, the setting of the light intensity judgment threshold is based on the characteristics of the photosensitive element and the actual application requirements, ensuring that the system can work normally under different lighting conditions. The setting of the hysteresis judgment threshold voltage is to increase the stability and reliability of the system and prevent frequent misjudgments and operations caused by slight changes in light intensity. The present application can automatically judge the current light intensity level and take corresponding operations as needed by setting the light intensity judgment threshold. 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 used to subtract the hysteresis judgment threshold voltage value from the first light intensity judgment threshold value to calculate the minimum value of the first light intensity hysteresis judgment threshold range.
[0168] The determination subunit 4042 is used 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 the embodiment of the present invention, the third calculation subunit 4041 is further used 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, the 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 photosensitive sampling voltage value respectively with the first light intensity judgment threshold and the second light intensity judgment threshold 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 operations are started; wherein, the human sensing related operations include shutting down the disinfection and voice recognition functions.
[0177] As an optional implementation, in the embodiment of the present invention, the start unit 406 is also used to start the lighting function if the current light intensity judgment 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 present application can also automatically provide lighting in a dark state to meet actual application needs.
[0179] It can be seen that the 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] Embodiment 5
[0182] See also Figure 6 , Figure 6 FIG. 1 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 codes;
[0184] a processor 502 coupled to the memory 501;
[0185] The processor 502 calls the executable program code stored in the memory 501 to execute Figure 1-2 A multi-level determination method for any light intensity.
[0186] The embodiment of the present invention discloses a computer-readable storage medium storing a computer program, wherein the computer program enables a computer to execute Figure 1-2 A multi-level determination method for any light intensity.
[0187] The embodiments of the present invention further disclose a computer program product, wherein when the computer program product is run on a computer, the computer is enabled to execute part or all of the steps of the methods in the above method embodiments.
[0188] Those skilled in the art can understand 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, and the storage medium includes 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 rewritable read-only memory (EEPROM), a compact disc (CD-ROM) or other optical disc storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store 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 in this article 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 general technical personnel in this field, according to the idea of the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
Claims
1. A multi-level determination method of light intensity, characterized in that: include: Using the equivalent resistance calculation formula, the photosensitive sampling voltage value, the power supply sampling voltage value and the photosensitive peripheral resistance value are substituted to calculate the photosensitive 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 the 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 photosensitive sampling voltage value is judged respectively with the first light intensity judgment threshold and the second light intensity judgment threshold to determine the current light intensity level.
2. The method according to claim 1, characterized in that: After substituting 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 before respectively judging the photosensitivity 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 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; 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 and the second illumination intensity judgment threshold 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 judging 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 includes: When the first illumination intensity judgment threshold is greater than the second illumination intensity judgment threshold, if the photosensitive sampling voltage value is greater than the first illumination intensity judgment threshold, it is judged that the current illumination intensity level is a strong light level; And, if the photosensitive 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 judged 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 photosensitive sampling voltage value is less than the second light intensity judgment threshold value, 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 value; When the first illumination intensity judgment threshold is less than the second illumination intensity judgment threshold, if the photosensitive sampling voltage value is greater than the second illumination intensity judgment threshold, it is judged that the current illumination intensity level is a strong light level; And, if the photosensitive 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 judged 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 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, 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; When the first illumination intensity judgment threshold is greater than the second illumination intensity judgment threshold, and the photosensitivity sampling voltage value is within the second illumination intensity hysteresis judgment threshold range, if the previous illumination intensity level is a low light level, it is judged that the current illumination intensity is entering a medium light state, so as to determine that the current illumination intensity level is a medium light level; When the first illumination intensity judgment threshold is less than the second illumination intensity judgment threshold, and the photosensitivity sampling voltage value is within the second illumination intensity hysteresis judgment threshold range, if the previous illumination intensity level is a medium light level, it is judged that the current illumination intensity is entering a strong light state, so as to determine that the current illumination 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 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, 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 photosensitivity theoretical voltage value according to the power supply sampling voltage value, substituting the photosensitivity theoretical voltage value, the power supply sampling voltage value and the photosensitive peripheral resistance value into the equivalent resistance calculation formula to calculate the photosensitivity theoretical equivalent resistance value, including: use Calculating the theoretical equivalent resistance value of the photosensitive resistor; 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 The theoretical hysteresis equivalent resistance value is calculated.
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 the light intensity threshold calculation formula to calculate the first light intensity judgment threshold includes: use Calculating the first light intensity judgment threshold; And, substituting 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 value, including: 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, including: use The hysteresis determination threshold voltage value is calculated.
7. The method according to claim 5, characterized in that The step of combining the hysteresis judgment threshold voltage value 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 includes: 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 range; Determine the 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; Subtract the hysteresis judgment threshold voltage value from the second light intensity judgment threshold value to calculate the minimum value of the second light intensity hysteresis judgment threshold 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 respectively judging the photosensitive 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 and sent 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 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 illumination 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 illumination intensity level, the method further includes: If a human body signal is detected within a certain period of time, human-sensing related operations are initiated; wherein the human-sensing related operations include shutting down disinfection and voice recognition functions; If the current light intensity is judged as no light, the lighting function is activated.
10. A judgment system, characterized in that: The judgment system comprises: A first calculation unit is used to substitute a photosensitive sampling voltage value, a power supply sampling voltage value and a photosensitive peripheral resistance value into an equivalent resistance calculation formula to calculate a photosensitive equivalent resistance value affected by the power supply voltage; A second calculation unit is used 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 used to, after determining the photosensitivity theoretical voltage value according to the power supply sampling voltage value, substitute the photosensitivity theoretical voltage value, the power supply sampling voltage value and the photosensitive peripheral resistance value into the equivalent resistance calculation formula to calculate the photosensitivity theoretical equivalent resistance value; The second calculation unit is further 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 a second light intensity judgment threshold; The determination unit is used to determine the current light intensity level by respectively determining the light-sensitive sampling voltage value with 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
Control method of clothes airing machine and clothes airing machine
CN118581701A
LED brightness adjusting method and circuit, readable medium and electronic equipment
CN119068816A
Electric clothes airing machine control circuit with human body induction function
CN217536404U