Electronic device, control method and device of electronic device, and readable storage medium
1. An electronic device, comprising:
a display screen;
the power supply circuit is used for supplying power to the display screen and comprises a switch circuit, a first input end of the switch circuit is used for being connected with a first electric signal, a second input end of the switch circuit is used for being connected with a second electric signal, and an output end of the switch circuit is connected with the display screen;
the detection circuit is used for acquiring working parameters of the display screen;
and the controller is connected with the switching circuit and the detection circuit and is used for controlling the switching circuit according to the working parameters so as to enable the output end of the switching circuit to be communicated with the first input end or the second input end of the switching circuit.
2. The electronic device of claim 1, wherein the power supply circuit further comprises:
the input end of the first voltage transformation device is used for being connected with a power supply signal, the first output end of the first voltage transformation device is connected with the first input end of the switch circuit, the second output end of the first voltage transformation device is connected with the second input end of the switch circuit, and the first voltage transformation device is used for adjusting the power supply signal into the first electric signal and the second electric signal.
3. The electronic device of claim 2, wherein the power supply circuit further comprises:
a first end of the first switch tube is connected with a second output end of the first voltage transformation device, and a second end of the first switch tube is connected with a second input end of the switch circuit;
and the anode of the capacitive element is connected with the second end of the first switching tube, and the cathode of the capacitive element is grounded.
4. The electronic device of claim 3, wherein the switching circuit comprises:
a first end of the second switch tube is connected with a first output end of the first voltage transformation device, a second end of the second switch tube is connected with the display screen, and a control end of the second switch tube is connected with the controller;
and the first end of the third switching tube is connected with the second output end of the first voltage transformation device, the second end of the third switching tube is connected with the display screen, and the control end of the second switching tube is connected with the controller.
5. The electronic device of any of claims 1-4, wherein the operating parameter comprises a light emission brightness of the display screen, and wherein the detection circuit comprises:
the first photosensitive sensor is used for acquiring the brightness of the ambient light;
the second photosensitive sensor is used for acquiring the screen brightness of the display screen;
the controller is connected with the first photosensitive sensor and the second photosensitive sensor, and the controller is further used for determining the working parameters according to the ambient light brightness and the screen brightness.
6. The electronic device of any of claims 1-4, further comprising:
and the input end of the second voltage transformation device is connected with the output end of the switch circuit, the output end of the second voltage transformation device is connected with the display screen, and the second voltage transformation device is used for adjusting the voltage of the first electric signal or the voltage of the second electric signal to be the working voltage of the display screen.
7. The electronic device of claim 6, wherein the detection circuit comprises:
and a first end of the digital-to-analog conversion circuit is connected with the output end of the second voltage transformation device, and a second end of the digital-to-analog conversion circuit is connected with the controller.
8. A control method of an electronic apparatus for controlling the electronic apparatus according to any one of claims 1 to 7, the method comprising:
collecting N ambient light brightness within a preset time length, and correspondingly collecting N screen brightness of a display screen of the electronic equipment, wherein N is an integer greater than 1;
determining N light-emitting luminances of the display screen according to the ambient light continuous reading and the screen luminance;
and under the condition that the change of the N luminous brightness of the display screen is matched with a preset change threshold value, controlling the first switching tube and the third switching tube of the electronic equipment to be conducted, and controlling the second switching tube of the electronic equipment to be cut off.
9. The control method according to claim 8, characterized by further comprising:
performing Fourier transform on the N light-emitting luminances to obtain N light-emitting luminance changes of the display screen; and
and under the condition that the change of the N luminous brightness of the display screen is not matched with the preset change threshold value, controlling the media of the first switching tube and the third switching tube, and controlling the conduction of the second switching tube.
10. A control apparatus of an electronic device for controlling the electronic device according to any one of claims 1 to 7, comprising:
the acquisition unit is used for acquiring N ambient light brightness within a preset time length and correspondingly acquiring N screen brightness of a display screen of the electronic equipment, wherein N is an integer greater than 1;
the determining unit is used for determining N luminous brightness of the display screen according to the ambient light continuous reading and the screen brightness; and under the condition that the change of the N luminous brightness of the display screen is matched with a preset change threshold value, controlling the first switching tube and the third switching tube of the electronic equipment to be conducted, and controlling the second switching tube of the electronic equipment to be cut off.
11. The control apparatus of an electronic device according to claim 10, wherein the determination unit is further configured to:
performing Fourier transform on the N light-emitting luminances to obtain N light-emitting luminance changes of the display screen; and
and under the condition that the change of the N luminous brightness of the display screen is not matched with the preset change threshold value, the first switching tube and the third switching tube are controlled to be cut off, and the second switching tube is controlled to be switched on.
12. A readable storage medium, on which a program or instructions are stored, which, when executed by a processor, carry out the steps of the method according to claim 8 or 9.
Background
In the related art, Organic Light-Emitting diodes (OLEDs) are widely used for display screens of electronic devices, and the OLEDs are driven by a dc power source. Because the power consumption of the screen is large, the screen is generally powered by a Boost power supply, and in order to reduce the power consumption, the output of the front stage of the screen is powered by an output power supply of a charging circuit, namely, the power is supplied by a bus.
When the power supplied by the bus fluctuates, the display of the OLED display screen fluctuates, and the display effect of the display screen is affected.
Disclosure of Invention
The application aims to provide electronic equipment, a control method and device of the electronic equipment and a readable storage medium, which can reduce the influence of power supply fluctuation on the display effect and ensure the display effect of an OLED screen.
In a first aspect, an embodiment of the present application provides an electronic device, including:
a display screen;
the power supply circuit is used for supplying power to the display screen and comprises a switch circuit, wherein a first input end of the switch circuit is used for connecting a first electric signal, a second input end of the switch circuit is used for connecting a second electric signal, and an output end of the switch circuit is connected with the display screen;
the detection circuit is used for acquiring working parameters of the display screen;
and the controller is connected with the switching circuit and the detection circuit and is used for controlling the switching circuit according to the working parameters so as to enable the output end of the switching circuit to be communicated with the first input end or the second input end of the switching circuit.
In a second aspect, an embodiment of the present application provides a method for controlling an electronic device, where the method is used to control the electronic device of the first aspect, and includes:
collecting N ambient light brightness within a preset time length, and correspondingly collecting N screen brightness of a display screen of the electronic equipment, wherein N is an integer greater than 1;
carrying out Fourier transformation on the N luminous intensities to obtain a change curve of the luminous intensities;
and under the condition that the change of the N luminous brightness of the display screen is matched with a preset change threshold value, controlling the first switching tube and the third switching tube of the electronic equipment to be conducted, and controlling the second switching tube of the electronic equipment to be cut off.
In a third aspect, an embodiment of the present application provides a control apparatus for an electronic device, configured to control the electronic device of the first aspect, including:
the device comprises a collecting unit, a processing unit and a control unit, wherein the collecting unit is used for collecting N ambient light brightness within a preset time length and correspondingly collecting N screen brightness of a display screen of the electronic equipment, wherein N is an integer greater than 1;
the determining unit is used for determining N luminous brightness of the display screen according to the ambient light continuous reading and the screen brightness; and under the condition that the change of the N luminous brightness of the display screen is matched with a preset change threshold value, controlling the first switching tube and the third switching tube of the electronic equipment to be conducted, and controlling the second switching tube of the electronic equipment to be cut off.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, and when executed by a processor, implement the steps of the display control method provided in the first aspect.
In an embodiment of the application, an electronic device includes a display screen, a power supply circuit, a detection circuit, and a controller, where the display screen is specifically an OLED display screen, and the power supply circuit is configured to supply power to the display screen. Specifically, the power supply circuit includes a switching circuit including a first input terminal connected to a first electrical signal and a second input terminal connected to a second electrical signal. Wherein the first electrical signal is the electrical signal provided directly by the bus.
The detection circuit is used for obtaining working parameters of the display screen, the controller can judge whether display fluctuation occurs to the current display screen according to the working parameters, and the switch circuit is controlled to change the communication direction according to whether the display fluctuation occurs to the display screen, so that the first electric signal or the second electric signal is selected to drive the display screen to work.
Specifically, in the work engineering of the electronic equipment, under the condition that the power supply is normal, the first input end and the output end of the switch circuit are communicated, and at the moment, the power supply is performed on the display screen through a first electric signal, namely, a bus direct-current signal. In the process of displaying on the display screen, working parameters of the display screen, such as display brightness information, signal fluctuation information and the like, are detected in real time through the detection circuit, the working state of the display screen is judged according to the working parameters, and the switching circuit is controlled to switch power supply signals. If the display screen works normally, the first input end and the output end of the off circuit are communicated, and power is supplied through the first electric signal. If the display screen works abnormally, if display fluctuation occurs, if brightness appears in a flickering mode, the working state of the display screen is affected by the fluctuation of the bus signals, the control switch circuit is switched to be communicated with the second input end and the output end, power is supplied to the display screen through the second electric signals, and therefore display flicker caused by the fluctuation of the power supply signals of the bus is avoided.
By arranging the switch circuit and the detection circuit, in the working process of the display screen, the working parameters of the display screen are detected in real time, the conduction mode of the switch circuit is switched according to the working parameters, the power supply signals of the display screen are switched, and when the bus generates signal fluctuation, the power supply can be switched to other power supply signals to supply power for the display screen in time, so that the display fluctuation caused by the fluctuation of the bus signals is avoided, and the display effect of the display screen is ensured.
Additional aspects and advantages of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.
Drawings
The above and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 shows a schematic structural diagram of an electronic device according to an embodiment of the application;
FIG. 2 shows one of the circuit diagrams of a power supply circuit according to an embodiment of the application;
FIG. 3 shows a second circuit diagram of a power supply circuit according to an embodiment of the present application;
fig. 4 shows a flow chart of a control method of an electronic device according to an embodiment of the application;
fig. 5 is a block diagram showing a configuration of a control apparatus of an electronic device according to an embodiment of the present application.
Reference numerals:
100 electronic equipment, 102 display screen, 104 power supply circuit, 1042 first transformation device, 1044 first switch tube, 1046 capacitive element, 106 switch circuit, 1062 second switch tube, 1064 third switch tube, 108 detection circuit, 1082 first photosensitive sensor, 1084 second photosensitive sensor, 1086 digital-to-analog conversion circuit, 110 controller, 112 second transformation device.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary only for the purpose of explaining the present application and are not to be construed as limiting the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The features of the terms first and second in the description and in the claims of the present application may explicitly or implicitly include one or more of such features. In the description of the present application, "a plurality" means two or more unless otherwise specified. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
In the description of the present application, it is to be understood that the terms "central," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," "clockwise," "counterclockwise," "axial," "radial," "circumferential," and the like are used in the orientations and positional relationships indicated in the drawings for convenience in describing the present application and to simplify the description, and are not intended to indicate or imply that the referenced devices or elements must have a particular orientation, be constructed and operated in a particular orientation, and are therefore not to be considered limiting of the present application.
In the description of the present application, it is to be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meaning of the above terms in the present application can be understood in a specific case by those of ordinary skill in the art.
An electronic device, a control method and apparatus of the electronic device, and a readable storage medium according to an embodiment of the present application are described below with reference to fig. 1 to 5.
In some embodiments of the present application, an electronic device is proposed, fig. 1 shows a schematic structural diagram of the electronic device according to an embodiment of the present application, fig. 2 shows one of circuit diagrams of a power supply circuit according to an embodiment of the present application, and as shown in fig. 1 and fig. 2, the electronic device 100 includes:
a display screen 102;
the power supply circuit 104 is configured to supply power to the display screen 102, the power supply circuit 104 includes a switch circuit 106, a first input terminal of the switch circuit 106 is configured to connect to a first electrical signal, a second input terminal of the switch circuit 106 is configured to connect to a second electrical signal, and an output terminal of the switch circuit 106 is connected to the display screen 102;
a detection circuit 108 for detecting the operating parameters of the display screen 102;
and a controller 110 connected to the switching circuit 106 and the detection circuit 108, wherein the controller 110 is configured to control the switching circuit 106 according to the operating parameter, so that the output terminal of the switching circuit 106 is connected to the first input terminal or the second input terminal of the switching circuit 106.
In an embodiment of the present application, the electronic device 100 includes a display screen 102, a power supply circuit 104, a detection circuit 108, and a controller 110, where the display screen 102 is specifically an OLED display screen, and the power supply circuit 104 is configured to supply power to the display screen 102. Specifically, the power supply circuit 104 includes a switching circuit 106, and the switching circuit 106 includes a first input terminal connected to a first electrical signal and a second input terminal connected to a second electrical signal. Wherein the first electrical signal is the electrical signal provided directly by the bus.
The detection circuit 108 is configured to detect an operating parameter of the display screen 102, and the controller 110 is capable of determining whether a display fluctuation occurs in the display screen 102 at present according to the operating parameter, and controlling the switch circuit 106 to change a connection direction according to whether the display fluctuation occurs in the display screen 102, so as to select the first electrical signal or the second electrical signal to drive the display screen 102 to operate.
Specifically, in the work engineering of the electronic device 100, under the condition that the power supply is normal, the first input end and the output end of the switch circuit 106 are communicated, and at this time, the display screen 102 is supplied with power through the first electrical signal, that is, the bus direct-current signal. During the display process of the display screen 102, the detection circuit 108 detects the working parameters of the display screen 102 in real time, such as display brightness information, signal fluctuation information, etc., and determines the working state of the display screen 102 according to the working parameters, and controls the switch circuit 106 to switch the power supply signal. If the display screen 102 works normally, the first input end and the output end of the off circuit are kept communicated, and power is supplied through the first electric signal. If the display screen 102 works abnormally, if display fluctuation occurs, and if brightness appears in a flickering mode, the working state of the display screen 102 is affected by the fluctuation of the bus signal, at the moment, the control switch circuit 106 is switched to be communicated with the second input end and the output end, and power is supplied to the display screen 102 through the second electric signal, so that the display flicker caused by the fluctuation of the power supply signal of the bus is avoided.
By setting the switch circuit 106 and the detection circuit 108, in the working process of the display screen 102, the working parameters of the display screen 102 are detected in real time, the conduction mode of the switch circuit 106 is switched according to the working parameters, so that the power supply signals of the display screen 102 are switched, when signal fluctuation occurs in a bus, the power supply can be switched to other power supply signals in time to supply power for the display screen 102, display fluctuation caused by bus signal fluctuation is avoided, and the display effect of the display screen 102 is ensured.
In some embodiments of the present application, the power supply circuit 104 further comprises:
the input end of the first transforming device 1042 is connected to a power supply signal, the first output end of the first transforming device 1042 is connected to the first input end of the switch circuit 106, the second output end of the first transforming device 1042 is connected to the second input end of the switch circuit 106, and the first transforming device 1042 is configured to adjust the power supply signal into a first electrical signal and a second electrical signal.
In this embodiment, the first voltage transforming device 1042 is a DC-DC converter, and is configured to adjust the voltage of the power supply signal of the bus to the first electrical signal or the second electrical signal. The first transformer 1042 includes two output ends, specifically a first output end and a second output end, the first output end is connected to the first input end of the switch circuit 106, when the switch circuit 106 is switched to the first input end to be communicated with the output end, the first transformer 1042 adjusts the power supply signal VBUS of the bus into the first signal VPH and then directly outputs the first signal VPH to the screen, which is also equivalent to that the power supply signal of the bus directly supplies power to the display screen 102.
The second output end of the first transformer 1042 is connected to the second input end of the switch circuit 106, which is specifically a charging path, and outputs a second signal VBAT, and when the switch circuit 106 switches to the second input end to be communicated with the output end, the display screen 102 is powered by the VBAT.
The embodiment of the application switches the conduction mode of the switch circuit 106 according to whether the display of the display screen fluctuates or not, so that the power supply signal of the display screen 102 is switched, the display fluctuation caused by the fluctuation of the bus signal is avoided, and the display effect of the display screen 102 is ensured under the condition of not increasing the power consumption.
In some embodiments of the present application, the power supply circuit 104 further comprises:
a first switch tube 1044, a first end of the first switch tube 1044 is connected to the second output end of the first transformer 1042, and a second end of the first switch tube 1044 is connected to the second input end of the switch circuit 106;
and a capacitive element 1046, wherein a positive electrode of the capacitive element 1046 is connected to the second end of the first switch tube 1044, and a negative electrode of the capacitive element 1046 is grounded.
In this embodiment, the power supply circuit 104 includes a first switch tube 1044 and a capacitive element 1046, where the first switch tube 1044 is a charge/discharge management switch tube of the capacitive element 1046, and the first switch tube 1044 may be an MOS tube. When the system starts to operate, the first switch tube 1044 is conducted, and the capacitive element 1046 is charged under the influence of the power supply signal of the bus. When the capacitive element 1046 is full, the first switch tube 1044 is turned off.
During operation, the detection circuit 108 detects the operating parameters of the display screen 102, such as the brightness or electrical signal of the display screen 102, and determines whether the display screen 102 has display fluctuation according to the operating parameters of the display screen 102. Under normal operation of the display screen 102, the switch circuit 106 connects the first signal VPH to supply power to the display screen 102. When the power supply signal VBUS of the bus fluctuates, VPH may also fluctuate synchronously, which may cause the display effect of the display screen 102 to fluctuate. When the detection circuit 108 detects the fluctuation, the switching circuit 106 is controlled to switch the conduction mode, and the first switching tube 1044 is controlled to be conducted, at this time, the display screen 102 is supplied with power through the second signal VBAT, and the second signal VBAT is clamped due to the existence of the capacitive element 1046, so that the VBAT is not fluctuated obviously, thereby avoiding the fluctuation of the display effect and improving the display stability of the display screen 102.
It can be understood that when the display screen 102 is powered by the second signal VBAT, the voltage of the capacitive element 1046 may drop because it is in a discharge state, and therefore, when VBUS returns to normal, the switching circuit 106 switches back to the state powered by the first signal VPH.
In some embodiments of the present application, the switching circuit 106 includes:
a second switch tube 1062, a first end of the second switch tube 1062 being connected to the first output end of the first transformer 1042, a second end of the second switch tube 1062 being connected to the display screen 102, and a control end of the second switch tube 1062 being connected to the controller 110;
a third switch tube 1064, a first end of the third switch tube 1064 is connected to the second output end of the first transformer 1042, a second end of the third switch tube 1064 is connected to the display screen 102, and a control end of the second switch tube 1062 is connected to the controller 110.
In this embodiment, the switch circuit 106 includes a second switch tube 1062 and a third switch tube 1064, and the second switch tube 1062 is connected in series between the first output end of the first voltage transformation device 1042 and the display screen 102, and is used for controlling on/off between the first signal VPH and the display screen 102. The third switch tube 1064 is connected in series between the second output end of the first transformer 1042 and the display screen 102, and is used for controlling on/off of the second signal VBAT and the display screen 102.
Specifically, if the power supply signal VBUS of the bus fluctuates, the first signal VPH also fluctuates correspondingly, at this time, the second switch tube 1062 is turned off, the first switch tube 1044 and the third switch tube 1064 are turned on, and power is supplied to the display screen 102 through the second signal VBAT, and due to the clamping effect of the capacitive element 1046, the fluctuation of the display effect caused by the signal fluctuation can be avoided, so that the display effect is improved.
In some embodiments of the present application, the operating parameter includes a luminance of the display screen, and the detection circuit 108 includes:
a first photosensor 1082 for acquiring ambient light brightness;
a second photosensor 1084 for acquiring screen brightness of the display screen;
the controller 110 is connected to the first and second photosensors 1082, 1084, and the controller 110 is further configured to determine the operating parameters according to the ambient light level and the screen brightness.
In the embodiment of the present application, the operating parameter of the display screen 102 includes the light emitting brightness of the display screen 102. The detection circuit 108 includes a first photosensor 1082 and a second photosensor 1084, wherein the first photosensor 1082 is used for collecting ambient light, the first photosensor 1082 may specifically utilize an ambient light sensor of the electronic device 100, such as a mobile phone, and the first photosensor 1082 is located under the screen and in a place not covered by the display screen 102.
A second photosensor 1084 is located in the area under the screen covered by the display screen 102 for obtaining screen brightness. Since the ambient light also irradiates the screen to increase the screen brightness, the screen brightness obtained by the second photosensor 1084 actually consists of screen brightness, that is, the self-luminous brightness of the screen and the ambient brightness. In the actual working process, a plurality of ambient light intensities are collected by the first photosensitive sensor 1082, and a screen brightness is collected by the second photosensitive sensor 1084 while each ambient light intensity is collected.
Thus, the data set M1 ═ G1, G2, G3 … … ] of the screen brightness and the data set M2 ═ B1, B2, B3 … … of the ambient light brightness corresponding thereto one by one were obtained. By determining the difference between M1 and M2, a data set M [ N1, N2, N3 … … ] reflecting the screen luminance change with time can be obtained, and fourier transform is performed on the array M to obtain a curve reflecting the screen luminance change, and whether display fluctuation (namely, luminance fluctuation) occurs or not can be determined according to the curve, so that when the fluctuation occurs, the switch circuit 106 is controlled to switch to a signal for supplying power to the screen, and the screen display fluctuation caused by the signal fluctuation is eliminated.
In some embodiments of the present application, the electronic device 100 further comprises:
an input end of the second voltage transformation device 112 is connected to an output end of the switch circuit 106, an output end of the second voltage transformation device 112 is connected to the display screen 102, and the second voltage transformation device 112 is configured to adjust a voltage of the first electrical signal or a voltage of the second electrical signal to a working voltage of the display screen.
In this embodiment, the electronic device 100 further includes a second voltage transformation device 112, where the second voltage transformation device 112 is a DC-DC converter, and is configured to further regulate the voltage of the first signal or the second signal output by the first voltage transformation device 1042 to match the operating voltage of the display screen, and output the regulated voltage to the display screen 102, so as to obtain the electrical signal VLED meeting the operating requirement of the display screen 102.
In some embodiments of the present application, fig. 3 illustrates a second circuit diagram of the power supply circuit 104 according to an embodiment of the present application, and as shown in fig. 3, the detection circuit 108 includes:
a digital-to-analog conversion circuit 1086, a first terminal of the digital-to-analog conversion circuit 1086 is connected to the output terminal of the second voltage transformation device 112, and a second terminal of the digital-to-analog conversion circuit 1086 is connected to the controller 110.
In this embodiment, the detecting circuit 108 specifically includes a Digital-to-Analog Converter (Analog-to-Digital Converter) circuit, and a first end of the Digital-to-Analog Converter 1086, that is, a detecting end, is connected to the output end of the second voltage transforming device 112, so as to detect the signal VLED output by the second voltage transforming device 112, and determine whether the display of the display screen 102 fluctuates according to the fluctuation condition of the VLED, so as to control the switch circuit 106 to switch the conduction mode, so as to avoid the display fluctuation caused by the fluctuation of the bus signal, and improve the display effect of the display screen 102.
In some embodiments of the present application, there is provided a control method of an electronic device, the method being used for controlling the electronic device provided in any one of the above embodiments, fig. 4 shows a flowchart of a control method of an electronic device according to an embodiment of the present application, and as shown in fig. 4, the method includes:
step 402, collecting N ambient light brightness within a preset time, and correspondingly collecting N screen brightness of a display screen of the electronic equipment;
n is an integer greater than 1 in step 402;
step 404, determining N luminous intensities of the display screen according to the ambient light continuous reading and the screen brightness;
and step 406, controlling the first switching tube and the third switching tube of the electronic device to be conducted and controlling the second switching tube of the electronic device to be cut off under the condition that the change of the N luminescent brightness of the display screen is matched with the preset change threshold.
In an embodiment of the application, the electronic device includes a display screen, a power supply circuit, a detection circuit, and a controller, where the display screen is specifically an OLED display screen, and the power supply circuit is configured to supply power to the display screen. Specifically, the power supply circuit comprises a switch circuit, the switch circuit comprises a second switch tube and a third switch tube, and the second switch tube is connected in series between the first output end of the first voltage transformation device and the display screen and is used for controlling the connection and disconnection between the first signal VPH and the display screen. The third switching tube is connected in series between the second output end of the first voltage transformation device and the display screen and is used for controlling the on-off of the second signal VBAT and the display screen.
In the working process of the electronic equipment, the preset duration is taken as a detection period, and the ambient light brightness and the screen brightness are detected in real time. Specifically, N ambient light intensities and N screen intensities are detected in each detection cycle, that is, in each preset time period, and one screen intensity is collected at the same time as one ambient light intensity is collected at each time, whereby a data set M1 ═ G1, G2, G3 … … Gn ] of the screen intensities and a data set M2 ═ B1, B2, B3 … … Bn of the ambient light intensities in one-to-one correspondence therewith are obtained.
The screen brightness obtained by the second photosensitive sensor actually consists of screen brightness, namely, the self-luminous brightness of the screen and the ambient brightness. Therefore, by determining the difference between M1 and M2, a data set M [ N1, N2, N3 … … Nn ] that reflects the screen light emission luminance change with time can be obtained. In the sequence M, there are N light-emitting luminances, each of which is determined by a screen luminance and an ambient light luminance corresponding thereto.
Further, the variation of the light emission luminance of the display screen is determined in accordance with the variation tendency of the N light emission luminances. If the edge is matched with the preset variation threshold value, the display effect of the display screen is fluctuated, or the situation of 'ripple display' occurs, at the moment, the first switching tube and the third switching tube are controlled to be conducted, the second switching tube is cut off, so that power is supplied to the display screen through the second signal VBAT, due to the existence of the capacitive element, the second signal VBAT can be clamped, and therefore the VBAT cannot be fluctuated obviously, the display effect fluctuation is avoided, and the display stability of the display screen is improved.
By setting the switch circuit and the detection circuit, in the working process of the display screen, the working parameters of the display screen are detected in real time, the conduction mode of the switch circuit is switched according to the working parameters, the power supply signals of the display screen are switched, when the bus generates signal fluctuation, the power supply can be switched to other power supply signals in time to supply power for the display screen, the display fluctuation caused by the fluctuation of the bus signals is avoided, and the display effect of the display screen is ensured on the premise of not increasing energy consumption.
In some embodiments of the present application, the control method of an electronic device further includes:
carrying out Fourier transformation on the N luminous intensities to obtain N luminous intensity changes of the display screen;
and under the condition that the change of the N luminous brightness of the display screen is not matched with the preset change threshold value, the first switching tube and the third switching tube are controlled to be conducted, and the second switching tube is controlled to be conducted.
In the embodiment of the present application, fourier transform is performed on the N light-emission luminances (N1 to Nn) in the array M, so as to obtain a variation curve of the light-emission luminance of the display screen with time, which can intuitively reflect the variation of the N light-emission luminances of the display screen. The preset change threshold value can also be a preset change curve, if the change curve obtained through Fourier transform is matched with the preset change curve, and the data change with the same regularity is shown in concrete terms, the display effect of the display screen fluctuates or the ripple display condition appears, at the moment, the first switch tube and the third switch tube are controlled to be switched on, the second switch tube is switched off, so that power is supplied to the display screen through the second signal VBAT, the second signal VBAT can be clamped due to the existence of the capacitive element, and therefore the VBAT cannot fluctuate obviously, the fluctuation of the display effect is avoided, and the display stability of the display screen is improved.
When the change of N luminance of display screen is not matched with the predetermined change threshold value, it is normal to show the display effect this moment, and bus power supply signal VBUS is the probability that recovers normally, controls first switch tube and third switch tube and ends this moment to control the second switch tube and switch on, through second signal VPH this moment, also be equivalent to directly supplying power through the bus signal, reduce the energy consumption of energy storage spare.
In some embodiments of the present application, a control apparatus of an electronic device is provided, the apparatus is used for controlling the electronic device provided in any one of the above embodiments, fig. 5 shows a block diagram of a control apparatus of an electronic device according to an embodiment of the present application, and as shown in fig. 5, a control apparatus 500 of an electronic device includes:
the acquisition unit 502 is configured to acquire N ambient light intensities within a preset time period, and correspondingly acquire N screen intensities of a display screen of the electronic device, where N is an integer greater than 1;
a determining unit 504, configured to determine N light-emitting luminances of the display screen according to the ambient light continuous reading and the screen luminance; and under the condition that the change of the N luminous brightness of the display screen is matched with a preset change threshold value, controlling the first switching tube and the third switching tube of the electronic equipment to be conducted, and controlling the second switching tube of the electronic equipment to be cut off.
In an embodiment of the application, the electronic device includes a display screen, a power supply circuit, a detection circuit, and a controller, where the display screen is specifically an OLED display screen, and the power supply circuit is configured to supply power to the display screen. Specifically, the power supply circuit comprises a switch circuit, the switch circuit comprises a second switch tube and a third switch tube, and the second switch tube is connected in series between the first output end of the first voltage transformation device and the display screen and is used for controlling the connection and disconnection between the first signal VPH and the display screen. The third switching tube is connected in series between the second output end of the first voltage transformation device and the display screen and is used for controlling the on-off of the second signal VBAT and the display screen.
In the working process of the electronic equipment, the preset duration is taken as a detection period, and the ambient light brightness and the screen brightness are detected in real time. Specifically, N ambient light intensities and N screen intensities are detected in each detection cycle, that is, in each preset time period, and one screen intensity is collected at the same time as one ambient light intensity is collected at each time, whereby a data set M1 ═ G1, G2, G3 … … Gn ] of the screen intensities and a data set M2 ═ B1, B2, B3 … … Bn of the ambient light intensities in one-to-one correspondence therewith are obtained.
The screen brightness obtained by the second photosensitive sensor actually consists of screen brightness, namely, the self-luminous brightness of the screen and the ambient brightness. Therefore, by determining the difference between M1 and M2, a data set M [ N1, N2, N3 … … Nn ] that reflects the screen light emission luminance change with time can be obtained. In the sequence M, there are N light-emitting luminances, each of which is determined by a screen luminance and an ambient light luminance corresponding thereto.
Further, the variation of the light emission luminance of the display screen is determined in accordance with the variation tendency of the N light emission luminances. If the edge is matched with the preset variation threshold value, the display effect of the display screen is fluctuated, or the situation of 'ripple display' occurs, at the moment, the first switching tube and the third switching tube are controlled to be conducted, the second switching tube is cut off, so that power is supplied to the display screen through the second signal VBAT, due to the existence of the capacitive element, the second signal VBAT can be clamped, and therefore the VBAT cannot be fluctuated obviously, the display effect fluctuation is avoided, and the display stability of the display screen is improved.
By setting the switch circuit and the detection circuit, in the working process of the display screen, the working parameters of the display screen are detected in real time, the conduction mode of the switch circuit is switched according to the working parameters, the power supply signals of the display screen are switched, when the bus generates signal fluctuation, the power supply can be switched to other power supply signals in time to supply power for the display screen, the display fluctuation caused by the fluctuation of the bus signals is avoided, and the display effect of the display screen is ensured on the premise of not increasing energy consumption.
In some embodiments of the present application, the determining unit 504 is further configured to:
carrying out Fourier transformation on the N luminous intensities to obtain N luminous intensity changes of the display screen; and
and under the condition that the change of the N luminous brightness of the display screen is not matched with the preset change threshold value, the first switching tube and the third switching tube are controlled to be cut off, and the second switching tube is controlled to be conducted.
In the embodiment of the present application, fourier transform is performed on the N light-emission luminances (N1 to Nn) in the array M, so as to obtain a variation curve of the light-emission luminance of the display screen with time, which can intuitively reflect the variation of the N light-emission luminances of the display screen. If the change curve obtained through Fourier transform is matched with the preset change curve, the data change with the same regularity is shown, the display effect of the display screen is shown to fluctuate, or the ripple display condition is shown, the first switch tube and the third switch tube are controlled to be switched on at the moment, the second switch tube is switched off, so that power is supplied to the display screen through the second signal VBAT, the second signal VBAT can be clamped due to the existence of the capacitive element, obvious fluctuation can not occur to the VBAT, the fluctuation of the display effect is avoided, and the display stability of the display screen is improved.
When the change of N luminance of display screen is not matched with the predetermined change threshold value, it is normal to show the display effect this moment, and bus power supply signal VBUS is the probability that recovers normally, controls first switch tube and third switch tube and ends this moment to control the second switch tube and switch on, through second signal VPH this moment, also be equivalent to directly supplying power through the bus signal, reduce the energy consumption of energy storage spare.
The control device of the electronic device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The control device of the electronic apparatus in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system (Android), an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The control device of the electronic device provided in the embodiment of the present application can implement each process implemented by the above method embodiment, and is not described here again to avoid repetition.
In some embodiments of the present application, a readable storage medium is provided, where a program or an instruction is stored on the readable storage medium, and the program or the instruction when executed by a processor implements the steps of the method provided in any of the above embodiments, so that the readable storage medium also includes all the advantages of the method in any of the above embodiments, and in order to avoid repetition, details are not described herein again.
In the description herein, reference to the description of the terms "one embodiment," "some embodiments," "an illustrative embodiment," "an example," "a specific example," or "some examples" or the like means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
While embodiments of the present application have been shown and described, it will be understood by those of ordinary skill in the art that: various changes, modifications, substitutions and alterations can be made to the embodiments without departing from the principles and spirit of the application, the scope of which is defined by the claims and their equivalents.
- 上一篇:石墨接头机器人自动装卡簧、装栓机
- 下一篇:有机发光二极管显示器