Light supplementing circuit, light supplementing method, light supplementing device and electronic equipment
By integrating the photoelectric sensor, PDLC layer and PWM control module in the fill light circuit, adjusting the transmittance of the PDLC layer and the current size of the fill light lamp, the problem of poor fill light effect in the prior art is solved, and efficient targeted fill light effect is achieved.
Patent Information
- Application Number
- CN202510013828.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-06
- Publication Date
- 2025-04-25
- Estimated Expiration
- 2045-01-06
AI Technical Summary
The fill light solutions in the prior art are difficult to meet the complex fill light needs, resulting in poor fill light effects.
The fill light circuit including photoelectric sensors, fill light lamps, pulse width modulation PWM level conversion modules, PWM control modules, fill light driving chips and polymer dispersed liquid crystal PDLC layer is adopted. The ambient light data is detected through the photoelectric sensor, and the transmittance of the PDLC layer and the current size of the fill light are adjusted to achieve targeted fill light.
It effectively improves the light utilization rate of fill light, can achieve targeted fill light at different distances, and solves the problem of poor fill light effect.
Smart Images

Figure CN119893254A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of communication technology, and specifically relates to a fill light circuit, a fill light method, a device and an electronic device. Background Art
[0002] With the development of technology, when mobile phones and other electronic devices are used in different environments and scenes, the image requirements are getting higher and higher, and more and more scenes need fill light, especially night shooting and portrait shooting. However, since the brightness of the fill light and other parameters are usually determined by the current of the fill light, when faced with complex fill light requirements, the conventional fill light solution based on adjusting the current of the fill light is difficult to meet the corresponding fill light requirements.
[0003] It can be seen that the fill light solution in the related art has the problem of poor fill light effect. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide a fill light circuit, a fill light method, a device and an electronic device, which can solve the problem of poor fill light effect existing in the fill light scheme in the related art.
[0005] In order to solve the above technical problems, this application is implemented as follows:
[0006] In a first aspect, an embodiment of the present application provides a fill light circuit, comprising: a photoelectric sensor, a fill light, a pulse width modulation (PWM) level conversion module, a PWM control module, a fill light driver chip, and a polymer dispersed liquid crystal (PDLC) layer, wherein the light emitted by the fill light is emitted through the PDLC layer;
[0007] The input end of the fill light driving chip is electrically connected to the photoelectric sensor, the output end of the fill light driving chip is electrically connected to the fill light, and the fill light driving chip is used to adjust the current of the fill light based on the sensor data detected by the photoelectric sensor;
[0008] The PWM control module is used to generate a PWM signal based on a reference voltage signal and a feedback voltage signal, and the feedback voltage signal is generated based on sensor data detected by the photoelectric sensor;
[0009] The PWM level conversion module is further used to perform level conversion processing on the PWM signal, and the PWM signal after the level conversion processing is used to control the PDLC layer to adjust the transmittance of the PDLC layer.
[0010] In a second aspect, an embodiment of the present application provides an electronic device, comprising the fill light circuit described in the first aspect.
[0011] In a third aspect, an embodiment of the present application provides a fill light method, which is applied to the fill light circuit described in the first aspect, or to the electronic device described in the second aspect, and the method includes:
[0012] Obtain sensor data detected by the photoelectric sensor;
[0013] Determining a control parameter of the PDLC layer and a current parameter of the fill light based on the sensor data;
[0014] adjusting the transmittance of the PDLC layer based on a control parameter of the PDLC layer;
[0015] The current of the fill light is adjusted based on the current parameter of the fill light.
[0016] In a fourth aspect, an embodiment of the present application provides a fill light device, which is applied to the fill light circuit described in the first aspect, or to the electronic device described in the second aspect, and the device includes:
[0017] An acquisition module, used for acquiring sensor data detected by the photoelectric sensor;
[0018] A determination module, used for determining a control parameter of the PDLC layer and a current parameter of the fill light based on the sensor data;
[0019] A first adjustment module, configured to adjust the transmittance of the PDLC layer based on a control parameter of the PDLC layer;
[0020] The second adjustment module is used to adjust the current of the fill light based on the current parameter of the fill light.
[0021] In a fifth aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the method described in the third aspect are implemented.
[0022] In a sixth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the third aspect are implemented.
[0023] In a seventh aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the third aspect.
[0024] In an eighth aspect, an embodiment of the present application provides a computer program product, comprising computer instructions, which, when executed by a processor, implement the method described in the third aspect.
[0025] In an embodiment of the present application, a PWM level conversion module, a PWM control module and a PDLC layer are set, and a PWM signal is used to control the PDLC layer to adjust the transmittance of the PDLC layer. The fill light circuit can not only adjust the brightness of the fill light based on the sensor data detected by the photoelectric sensor, but also control the PDLC layer based on the PWM signal to adjust the transmittance of the PDLC layer, thereby effectively improving the light utilization rate of the fill light and realizing targeted fill light at different distances. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1 is a structural diagram of a fill light circuit provided in an embodiment of the present application;
[0027] Figure 2 yes Figure 1 The structural diagram of the PWM control module shown;
[0028] Figure 3 is a waveform diagram of a PWM control module provided in an embodiment of the present application;
[0029] Figure 4 is a flow chart of a fill light method provided in an embodiment of the present application;
[0030] Figure 5a This is one of the fill light schematic diagrams provided in the embodiments of the present application;
[0031] Figure 5b This is the second fill light schematic diagram provided in the embodiment of the present application;
[0032] Figure 5c This is the third fill light schematic diagram provided in the embodiment of the present application;
[0033] Figure 5d This is the fourth fill light schematic diagram provided in the embodiment of the present application;
[0034] Figure 5e This is the fifth fill light schematic diagram provided in the embodiment of the present application;
[0035] Figure 5f is a lighting schematic diagram provided in an embodiment of the present application;
[0036] Figure 6 is a structural diagram of a fill light device provided in an embodiment of the present application;
[0037] Figure 7 It is one of the structural diagrams of the electronic device provided in the embodiment of the present application;
[0038] Figure 8 This is the second structural diagram of the electronic device provided in the embodiment of the present application. DETAILED DESCRIPTION
[0039] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0040] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0041] like Figure 1 and Figure 2 As shown, an embodiment of the present application provides a fill light circuit, including: a photoelectric sensor 10, a fill light 20, a pulse width modulation (PWM) level conversion module 30, a PWM control module 40, a fill light driver chip 50, and a polymer dispersed liquid crystal (PDLC) layer 60.
[0042] The above-mentioned photoelectric sensor 10 can be understood as a sensor for converting an optical signal into an electrical signal. For example, the intensity of ambient light can be sensed based on the sensor data detected by the photoelectric sensor 10, thereby realizing the detection of the intensity of ambient light.
[0043] The above-mentioned fill light 20 can be understood as a light source device for providing lighting function or fill light function, such as a flash light or fill light on electronic devices such as mobile phones.
[0044] In some embodiments, the fill light 20 may be a light-emitting diode (LED) lamp.
[0045] The above-mentioned PWM level conversion module 30 can be understood as a functional module for adjusting or converting the level state of the PWM signal.
[0046] The above-mentioned PWM control module 40 can be understood as a functional module for outputting a PWM signal.
[0047] The above-mentioned fill light driver chip 50 can be understood as a driving device for adjusting the light emission level of the fill light 20 and can provide a current source for the fill light 20. For example, the current of the fill light 20 can be adjusted through the fill light driver chip 50 to achieve brightness adjustment of the fill light 20.
[0048] The PDLC layer 60 can be understood as a functional device for improving the light utilization rate of the fill light 20 and realizing long-distance fill light.
[0049] The basic working principle of the PDLC layer 60 is based on the millisecond switching response of liquid crystal molecules to electric fields. Moreover, the PDLC layer 60 includes a polymer matrix layer and a plurality of micron-sized liquid crystal molecules, and the plurality of micron-sized liquid crystal molecules are randomly and irregularly dispersed in the polymer matrix layer.
[0050] When no electric field is applied to the liquid crystal molecules in the PDLC layer 60, the PDLC layer 60 may appear milky white and opaque; at this time, light is scattered when passing through the PDLC layer 60, and the transmittance of the PDLC layer 60 is low, and the irradiation distance of the light is short.
[0051] When an electric field is applied to the polymer matrix layer of the PDLC layer 60, the liquid crystal molecules in the PDLC layer 60 will be rearranged along the direction of the electric field, and the PDLC layer 60 can appear transparent; at this time, the scattering of light when passing through the PDLC layer 60 is reduced, and the transmittance of the PDLC layer 60 is high, and the light irradiation distance is long.
[0052] In some embodiments, the magnitude of the electric field applied to the polymer matrix layer of the PDLC layer 60 can be controlled to control the deflection angle of the liquid crystal molecules in the PDLC layer 60, thereby controlling the emission angle of light passing through the PDLC layer 60, thereby achieving field of view (FOV) control of the light path.
[0053] In some embodiments, the PDLC layer 60 may be disposed in the light emission direction of the fill light 20 , so that the light emitted by the fill light 20 needs to be emitted through the PDLC layer 60 .
[0054] In the present application, the input end of the fill light driving chip 50 can be electrically connected to the photoelectric sensor 10, and the output end of the fill light driving chip 50 can be electrically connected to the fill light 20, so that the fill light driving chip 50 can adjust the current of the fill light 20 according to the sensor data detected by the photoelectric sensor 10;
[0055] A PWM control module 40 is used to generate a PWM signal based on a reference voltage signal and a feedback voltage signal, wherein the feedback voltage signal is generated from sensor data detected by the photoelectric sensor 10;
[0056] The PWM level conversion module 30 is used to perform level conversion processing on the PWM signal, and the PWM signal after the level conversion processing is used to control the PDLC layer 60 to adjust the transmittance of the PDLC layer 60 .
[0057] In this embodiment, a PWM level conversion module 30, a PWM control module 40 and a PDLC layer 60 are set, and a PWM signal is used to control the PDLC layer 60 to adjust the transmittance of the PDLC layer 60, so that the fill light circuit can not only adjust the brightness of the fill light 20 based on the sensor data detected by the photoelectric sensor 10, but also control the PDLC layer 60 based on the PWM signal to adjust the transmittance of the PDLC layer 60, thereby effectively improving the light utilization rate of the fill light 20 and realizing targeted fill light at different distances.
[0058] In some embodiments, the PWM control module 40 includes a feedback amplifier circuit 41, a dynamic comparison circuit 42, a first oscillation circuit 43, a second oscillation circuit 44 and a delay trigger circuit 45;
[0059] The input end of the feedback amplifier circuit 41 is respectively connected to the reference voltage signal and the feedback voltage signal, the output end of the feedback amplifier circuit 41 is electrically connected to the input end of the dynamic comparison circuit 42, and the feedback amplifier circuit 41 is used to amplify the reference voltage signal and the feedback voltage signal, and output the amplification result corresponding to the reference voltage signal and the feedback voltage signal;
[0060] The dynamic comparison circuit 42 is also electrically connected to the first oscillation circuit 43, and outputs a first dynamic comparison voltage corresponding to the amplification result under the action of the first oscillation signal output by the first oscillation circuit 43;
[0061] The delay trigger circuit 45 is used for outputting a PWM signal based on the first dynamic comparison voltage, the first oscillation signal and the second oscillation signal output by the second oscillation circuit 44 .
[0062] In this embodiment, the input of the feedback amplifier circuit 41 is a reference voltage signal and a feedback voltage signal, that is, in this application, the reference voltage signal and the feedback voltage signal are used as input excitations of the PWM control module 40, which can effectively avoid the generation of static current, and the dynamic power consumption is small, thereby reducing the power consumption required for the output PWM signal.
[0063] The above-mentioned first oscillation circuit 43 and the above-mentioned second oscillation circuit 44 can both be self-oscillation circuits. After excitation is generated, the oscillation circuit can cyclically reverse between its power supply voltage (VCC) and 0 voltage to form a square wave generating circuit, whose frequency depends on the capacitance and resistance values, and by selecting different capacitance and resistance values, square waves of different frequencies can be generated to serve as input signals for the dynamic comparison circuit 42 and the delay trigger circuit 45.
[0064] The first oscillation signal may be a square wave signal generated by the first oscillation circuit 43 , and the second oscillation signal may be a square wave signal generated by the second oscillation circuit 44 .
[0065] In some embodiments, the feedback amplifier circuit 41 includes an error amplifier, and the dynamic comparison circuit 42 includes a dynamic comparator;
[0066] The first input terminal of the error amplifier is connected to the reference voltage signal, the second input terminal of the error amplifier is connected to the feedback voltage signal, the output terminal of the error amplifier is electrically connected to the first input terminal of the dynamic comparator, and the error amplifier is used to amplify the reference voltage signal and the feedback voltage signal, and output an amplification result corresponding to the reference voltage signal and the feedback voltage signal;
[0067] The second input terminal of the dynamic comparator is connected to the reference signal. The dynamic comparator is also electrically connected to the first oscillation circuit. Under the action of the first oscillation signal output by the first oscillation circuit, the dynamic comparator outputs a first dynamic comparison voltage corresponding to the amplification result.
[0068] In some embodiments, the error amplifier can amplify the feedback voltage signal based on the reference voltage signal to meet the input requirements of the dynamic comparator.
[0069] In some embodiments, based on the first oscillation signal output by the first oscillation circuit 43, the amplification result output by the error amplifier and the reference signal can be compared and processed, and a first dynamic comparison voltage can be output to improve the resolution of the overall circuit and reduce noise.
[0070] The above-mentioned delayed trigger circuit 45 can take the second oscillation signal output by the second oscillation circuit 44 as input, and can be combined with a D flip-flop to output a PWM signal. By designing a delayed trigger, the generation of narrow pulses can be avoided, and false triggering will not occur.
[0071] The D flip-flop may be an information storage device having a memory function and two stable states.
[0072] Among them, the trigger has two stable states, namely 0 and 1, and can flip from one stable state to another stable state under the action of certain external signals.
[0073] In some embodiments, the fill light circuit also includes a boost circuit 70, an input end of the boost circuit 70 is electrically connected to the photoelectric sensor 10, and an output end of the boost circuit 70 is electrically connected to the PWM level conversion module 30, the boost circuit 70 generates an ambient light coefficient voltage based on the sensor data detected by the photoelectric sensor 10, and the PWM level conversion module 30 can generate a feedback voltage signal based on the ambient light coefficient voltage output by the boost circuit 70.
[0074] In some embodiments, the reference voltage signal may be a reference voltage output by the boost circuit 70 .
[0075] In some embodiments, the fill light circuit further includes a processor 80, an input end of the processor 80 is electrically connected to the photoelectric sensor 10, and an output end of the processor 80 is electrically connected to an input end of the boost circuit 70 and an input end of the fill light driver chip 50, respectively.
[0076] The boost circuit 70 can output an adjustable voltage with an accuracy of mV level, so as to provide a feedback input for controlling the electric field required by the liquid crystal molecules of the PDLC layer 60 .
[0077] In some embodiments, the sensor data detected by the photosensor 10 can be fed back to the boost circuit 70 based on a low-power sensor hub module inside the processor 80 , and a feedback input capable of controlling the electric field required by the liquid crystal molecules of the PDLC layer 60 can be output.
[0078] The processor 80 may process the sensor data detected by the photoelectric sensor 10 to determine the brightness parameter of the fill light 20 , the transmittance of the PDLC layer 60 , and the like.
[0079] In some embodiments, the PWM level conversion module 30 can merge the feedback input output by the boost circuit 70 with the PWM input and convert it into a voltage signal output with periodic changes in positive and negative polarities, thereby preventing the PDLC liquid crystal molecules from being polarized after a DC voltage is applied for a long time.
[0080] In some embodiments, after the user turns on the PDLC function of an electronic device including the above-mentioned fill light circuit, the photoelectric sensor 10 can transmit the sensor data to the low-power Sensor Hub module of the processor 80 based on the serial communication protocol after detecting the sensor data. The sensor data is processed by the low-power Sensor Hub module to obtain an ambient light feedback signal, and the obtained ambient light feedback signal can be used as an input of the boost circuit 70; after the ambient light feedback signal is input to the boost circuit 70, the voltage VCC of the boost circuit will be triggered, and the ambient light coefficient voltage will be output to the PWM level conversion module 30.
[0081] The ambient light coefficient voltage can directly write back the feedback voltage signal to the PWM control module 40 based on the storage unit of the PWM level conversion module 30 , and the feedback voltage signal can be used as an input excitation of the PWM control module 40 .
[0082] In some embodiments, the storage unit may be a storage unit capable of writing in and out.
[0083] In the PWM control module 40, the first oscillation circuit 43 and the second oscillation circuit 44 have begun to oscillate and output the first oscillation signal and the second oscillation signal of the designed frequency. The feedback voltage signal and the reference voltage signal can output the error signal after passing through the error amplifier, and the output error signal can be used as the positive input of the dynamic comparator, and output the first dynamic comparison voltage under the control of the first oscillation signal; through the design of the NAND gate logic circuit, the first dynamic comparison voltage is sampled after a delayed clock cycle to obtain the second dynamic comparison voltage, and the corresponding PWM signal is obtained based on the second dynamic comparison voltage.
[0084] The negative input of the dynamic comparator may be a triangle wave signal.
[0085] In some embodiments, the D flip-flop of the delay trigger circuit 45 can sample the low level of the second dynamic comparison voltage every half cycle, and the other states are high level.
[0086] like Figure 3 As shown, after the feedback voltage signal is collected, the input of the dynamic comparator can be obtained through the error amplifier, the first oscillation signal and the second oscillation signal are the same-phase two-frequency divisions generated by the first oscillation circuit 43 and the second oscillation circuit 44 respectively, the D flip-flop can be set to adopt the rising edge, the first dynamic comparison voltage can be obtained by delaying the first oscillation signal by 1 / 4 cycle to obtain the second dynamic comparison voltage, and the D flip-flop can sample the low level of the second dynamic comparison voltage every half cycle, thereby obtaining a PWM signal.
[0087] Since the self-oscillation circuit and the error amplifier have almost no leakage due to the infinite internal resistance, the excitation generated by the self-oscillation and the output of the feedback amplifier circuit 41 are used as the input and reference of the dynamic comparison circuit. Compared with the static state, not only the dynamic power consumption is low, but the offset voltage is also large. By building a delay trigger circuit with a NAND gate and a D flip-flop, the output current can be latched, and the circuit does not generate power consumption. This module consumes very low static current as a whole and can provide a large switching current.
[0088] Moreover, the PWM control module 40 equipped with a comparator and a digital circuit consumes power at the μA level and the conversion power consumption is at the μW level. In comparison, the power consumption generated by the PWM module inside the processor is at the mA level and the power consumption is at the mW level, thus saving power consumption in the PDLC driving scenario and hardware standby power consumption.
[0089] An embodiment of the present application further provides an electronic device, comprising the above-mentioned fill light circuit.
[0090] It should be noted that the implementation method of the above-mentioned fill light circuit embodiment is also applicable to the embodiment of the electronic device and can achieve the same technical effect, which will not be described in detail here.
[0091] The electronic device mentioned above may be a mobile phone, a tablet computer, etc.
[0092] See also Figure 4 , Figure 4 is a flow chart of the fill light method provided in the embodiment of the present application. The fill light method provided in the embodiment of the present application can be applied to the above fill light circuit or an electronic device including the above fill light circuit, such as Figure 4 As shown, the fill light method comprises the following steps:
[0093] Step 401: Acquire sensor data detected by a photoelectric sensor.
[0094] Step 402: Determine control parameters of the PDLC layer and current parameters of the fill light based on the sensor data.
[0095] Step 403: Adjust the transmittance of the PDLC layer based on the control parameters of the PDLC layer.
[0096] Step 404: Adjust the current of the fill light based on the current parameter of the fill light.
[0097] In this embodiment, by determining the control parameters of the PDLC layer and the current parameters of the fill light based on the sensor data, and adjusting the transmittance of the PDLC layer based on the control parameters of the PDLC layer and adjusting the current of the fill light based on the current parameters of the fill light, the transmittance of the PDLC layer and the brightness of the fill light can be adjusted, which effectively improves the light utilization rate of the fill light and can achieve targeted fill light at different distances.
[0098] In some embodiments, the brightness environment of the current mobile phone can be detected by a photoelectric sensor, and the processor can process the sensor data detected by the photoelectric sensor to obtain the brightness parameters of the fill light, the transmittance of the PDLC layer, etc.
[0099] In some embodiments, when the user turns on the camera and turns on the fill light function or turns on the flashlight of the electronic device, the brightness parameters of the fill light and the transmittance of the PDLC layer can be determined based on the sensor data detected by the photoelectric sensor, thereby adjusting the transmittance of the PDLC layer and the brightness of the fill light.
[0100] For example, when the ambient light is dim, the current of the fill light can be increased; when the ambient light is bright, the current of the fill light can be reduced.
[0101] In some embodiments, determining the control parameter of the PDLC layer and the current parameter of the fill light based on the sensor data includes:
[0102] When the photographed subject is a portrait, obtaining focal length information of the electronic device;
[0103] The control parameters of the PDLC layer and the current parameters of the fill light are determined based on the focal length information and the sensor data.
[0104] In this embodiment, the focal length information of the electronic device can be determined based on the photographed object, and the control parameters of the PDLC layer and the current parameters of the fill light can be determined based on the focal length information and sensor data to further improve the light utilization rate of the fill light.
[0105] In some embodiments, different PDLC gears can be automatically focused according to the camera focal length, so as to automatically send the corresponding PDLC control gear and the current of the LED light, so that the irradiation angle and intensity of the fill light can adaptively match the setting of the best fill light effect or flashlight irradiation effect.
[0106] like Figure 5a and Figure 5b As shown in the figure, when the subject is a full-body narrative portrait (35mm focal length), the fill light area only needs to be in the portrait area, and no large area fill light is needed. At this time, if the light is scattered uncontrollably, the light utilization rate will be very low. You can apply voltage V1 to the PDLC, turn on the PDLC level, adjust the FOV to let the light illuminate the portrait part, and improve the light utilization rate.
[0107] In this scenario, the focal length needs to be selected manually. At this time, there will be an active input signal in the sensor hub, which is combined with the brightness information fed back by the ambient light sensor and input as the feedback voltage signal of the PWM control module, which ultimately affects the PWM signal to control the FOV of the PDLC. Similarly, the fill light driver will also synchronously adjust the current of the fill light according to the brightness information.
[0108] like Figure 5c As shown, when the subject is a classic half-length portrait (50mm focal length), V2 voltage can be applied to PDCL and the second gear of PDLC can be turned on to further reduce FOV.
[0109] like Figure 5d As shown, when the subject is a portrait (85mm focal length), a V3 voltage can be applied to the PDLC, and the PDLC third gear can be turned on to further reduce the FOV.
[0110] like Figure 5e As shown, when the subject is a close-up portrait (100mm focal length), a V4 voltage can be applied to the PDLC, and the PDLC fourth gear can be opened to further reduce the FOV.
[0111] like Figure 5f As shown in the figure, when the flashlight is turned on, different PDLC gears are adjusted according to the size of the fill light area of the object to be illuminated, thereby improving the light utilization rate. When the applied voltage is high enough, the light can be nearly collimated, at which time the FOV is the smallest and the irradiation distance is the farthest.
[0112] The fill light method of the embodiment of the present application obtains sensor data detected by a photoelectric sensor; determines the control parameters of the PDLC layer and the current parameters of the fill light based on the sensor data; adjusts the transmittance of the PDLC layer based on the control parameters of the PDLC layer; and adjusts the current of the fill light based on the current parameters of the fill light. In this way, the light utilization rate of the fill light can be improved, and targeted fill light can be achieved at different distances.
[0113] The fill light method provided in the embodiment of the present application can be executed by a fill light device. In the embodiment of the present application, the fill light device provided in the embodiment of the present application is described by taking the fill light device executing the fill light method as an example.
[0114] See also Figure 6 , Figure 6 is a structural diagram of a fill light device provided in an embodiment of the present application, such as Figure 6 As shown, the fill light device 600 includes:
[0115] An acquisition module 601 is used to acquire sensor data detected by a photoelectric sensor;
[0116] A determination module 602, configured to determine a control parameter of the PDLC layer and a current parameter of the fill light based on the sensor data;
[0117] A first adjustment module 603, configured to adjust the transmittance of the PDLC layer based on the control parameters of the PDLC layer;
[0118] The second adjustment module 604 is used to adjust the current of the fill light based on the current parameter of the fill light.
[0119] Optionally, the determining module 602 is specifically configured to:
[0120] When the photographed subject is a portrait, obtaining focal length information of the electronic device;
[0121] The control parameters of the PDLC layer and the current parameters of the fill light are determined based on the focal length information and the sensor data.
[0122] The fill light device 600 in the embodiment of the present application can be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or other devices other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (Augmented Reality, AR) / virtual reality (Virtual Reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (Ultra-Mobile Personal Computer, UMPC), a netbook or a personal digital assistant (Personal Digital Assistant, PDA), etc. It can also be a network attached storage (Network Attached Storage, NAS), a personal computer (Personal Computer, PC), a television (Television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
[0123] The fill light device 600 in the embodiment of the present application may be a device having an operating system, which may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0124] The fill light device 600 provided in the embodiment of the present application can achieve Figure 4 To avoid repetition, the various processes implemented by the method embodiment are not described here.
[0125] See also Figure 7 , Figure 7 This is one of the structural diagrams of the electronic device provided in the embodiment of the present application. Figure 7 As shown, the electronic device 700 includes a processor 701 and a memory 702. The memory 702 stores programs or instructions that can be executed on the processor 701. When the program or instructions are executed by the processor 701, the various steps of the above-mentioned fill light method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, they are not described here.
[0126] It should be noted that the electronic device in the embodiments of the present application may be a mobile phone, a tablet computer, etc.
[0127] See also Figure 8 , Figure 8 This is the second structural diagram of the electronic device provided in the embodiment of the present application. Figure 8As shown, the electronic device 800 includes but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, and a processor 810 and other components.
[0128] Those skilled in the art will appreciate that the electronic device 800 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 810 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Figure 8 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0129] The processor 810 is configured to:
[0130] Obtain sensor data detected by the photoelectric sensor;
[0131] Determining a control parameter of the PDLC layer and a current parameter of the fill light based on the sensor data;
[0132] adjusting the transmittance of the PDLC layer based on a control parameter of the PDLC layer;
[0133] The current of the fill light is adjusted based on the current parameter of the fill light.
[0134] Optionally, the processor 810 is further configured to:
[0135] When the photographed subject is a portrait, obtaining focal length information of the electronic device;
[0136] The control parameters of the PDLC layer and the current parameters of the fill light are determined based on the focal length information and the sensor data.
[0137] It should be understood that in the embodiment of the present application, the input unit 804 may include a graphics processor (Graphics Processing Unit, GPU) 8041 and a microphone 8042, and the graphics processor 8041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 806 may include a display panel 8061, and the display panel 8061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 807 includes a touch panel 8071 and at least one of other input devices 8072. The touch panel 8071 is also called a touch screen. The touch panel 8071 may include two parts: a touch detection device and a touch controller. Other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
[0138] The memory 809 can be used to store software programs and various data. The memory 809 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 809 may include a volatile memory or a non-volatile memory, or the memory 809 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 809 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
[0139] The processor 810 may include one or more processing units; optionally, the processor 810 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 810.
[0140] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned fill light method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0141] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.
[0142] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned fill light method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0143] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0144] An embodiment of the present application provides a computer program product, including computer instructions. When the computer instructions are executed by a processor, the various processes of the above-mentioned fill light method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, they are not described here.
[0145] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0146] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0147] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A fill light circuit, characterized in that: include: A photoelectric sensor, a fill light, a pulse width modulation (PWM) level conversion module, a PWM control module, a fill light driving chip and a polymer dispersed liquid crystal (PDLC) layer, wherein the light emitted by the fill light is emitted through the PDLC layer; The input end of the fill light driving chip is electrically connected to the photoelectric sensor, the output end of the fill light driving chip is electrically connected to the fill light, and the fill light driving chip is used to adjust the current of the fill light based on the sensor data detected by the photoelectric sensor; The PWM control module is used to generate a PWM signal based on a reference voltage signal and a feedback voltage signal, and the feedback voltage signal is generated based on sensor data detected by the photoelectric sensor; The PWM level conversion module is further used to perform level conversion processing on the PWM signal, and the PWM signal after the level conversion processing is used to control the PDLC layer to adjust the transmittance of the PDLC layer.
2. The fill light circuit according to claim 1, characterized in that: The PWM control module includes a feedback amplifier circuit, a dynamic comparison circuit, a first oscillation circuit, a second oscillation circuit and a delay trigger circuit; The input end of the feedback amplifier circuit is respectively connected to the reference voltage signal and the feedback voltage signal, the output end of the feedback amplifier circuit is electrically connected to the input end of the dynamic comparison circuit, and the feedback amplifier circuit is used to amplify the reference voltage signal and the feedback voltage signal, and output the amplification results corresponding to the reference voltage signal and the feedback voltage signal; The dynamic comparison circuit is also electrically connected to the first oscillation circuit, and outputs a first dynamic comparison voltage corresponding to the amplification result under the action of the first oscillation signal output by the first oscillation circuit; The delay trigger circuit is used to output a PWM signal based on the first dynamic comparison voltage, the first oscillation signal and the second oscillation signal output by the second oscillation circuit.
3. The fill light circuit according to claim 2, characterized in that: The feedback amplification circuit includes an error amplifier, and the dynamic comparison circuit includes a dynamic comparator; The first input terminal of the error amplifier is connected to the reference voltage signal, the second input terminal of the error amplifier is connected to the feedback voltage signal, the output terminal of the error amplifier is electrically connected to the first input terminal of the dynamic comparator, and the error amplifier is used to amplify the reference voltage signal and the feedback voltage signal, and output the amplification results corresponding to the reference voltage signal and the feedback voltage signal; The second input terminal of the dynamic comparator is connected to a reference signal. The dynamic comparator is also electrically connected to the first oscillation circuit. Under the action of the first oscillation signal output by the first oscillation circuit, the dynamic comparator outputs a first dynamic comparison voltage corresponding to the amplification result.
4. The fill light circuit according to claim 2 or 3, characterized in that: The fill light circuit also includes a boost circuit, an input end of the boost circuit is electrically connected to the photoelectric sensor, an output end of the boost circuit is electrically connected to the PWM level conversion module, the boost circuit generates an ambient light coefficient voltage based on sensor data detected by the photoelectric sensor, and the PWM level conversion module can generate the feedback voltage signal based on the ambient light coefficient voltage.
5. The fill light circuit according to claim 4, characterized in that: The fill light circuit also includes a processor, an input end of the processor is electrically connected to the photoelectric sensor, and an output end of the processor is electrically connected to an input end of the boost circuit and an input end of the fill light driving chip respectively.
6. An electronic device, characterized in that: The invention comprises the fill light circuit as claimed in any one of claims 1 to 5.
7. A light filling method, characterized in that: Applied to the fill light circuit according to any one of claims 1 to 5, or applied to the electronic device according to claim 6, the method comprising: Obtain sensor data detected by the photoelectric sensor; Determining a control parameter of the PDLC layer and a current parameter of the fill light based on the sensor data; adjusting the transmittance of the PDLC layer based on a control parameter of the PDLC layer; The current of the fill light is adjusted based on the current parameter of the fill light.
8. The method according to claim 7, characterized in that The determining the control parameter of the PDLC layer and the current parameter of the fill light based on the sensor data comprises: When the photographed subject is a portrait, obtaining focal length information of the electronic device; The control parameters of the PDLC layer and the current parameters of the fill light are determined based on the focal length information and the sensor data.
9. A fill light device, characterized in that: The device is applied to the fill light circuit according to any one of claims 1 to 5, or applied to the electronic device according to claim 6, wherein the device comprises: An acquisition module, used for acquiring sensor data detected by the photoelectric sensor; A determination module, used for determining a control parameter of the PDLC layer and a current parameter of the fill light based on the sensor data; A first adjustment module, configured to adjust the transmittance of the PDLC layer based on a control parameter of the PDLC layer; The second adjustment module is used to adjust the current of the fill light based on the current parameter of the fill light.
10. The device according to claim 9, characterized in that The determination module is specifically used for: When the photographed subject is a portrait, obtaining focal length information of the electronic device; The control parameters of the PDLC layer and the current parameters of the fill light are determined based on the focal length information and the sensor data.
Citation Information
Patent Citations
Light emitting device, dimming method, controller, image pickup apparatus, and storage medium
CN115993750A
Light supplement lamp module, electronic equipment and light supplement control method
CN118625578A
High-power LED emergency power supply device with light sensation adjusting function
CN209435487U
Light supplement lamp driving circuit
CN212163790U
Radio frequency switch bias voltage feedback control circuit
CN215932482U