Disclosure of Invention
The back pressure self-adjusting method and the back pressure self-adjusting device have the advantages that the back pressure of the display screen is controlled through the single chip microcomputer and the feedback circuit, automatic real-time adjustment of the back pressure is achieved, the caterpillar phenomenon of the display screen is avoided, and the user experience of the display screen is improved.
The technical scheme adopted for solving the technical problems is as follows:
according to one aspect herein, there is provided a method of back pressure self-regulation, comprising:
collecting voltages at two ends of a lamp bead as sampling voltages;
judging whether the sampling voltage is not less than a preset reference voltage or not;
if yes, obtaining a feedback voltage according to the sampling voltage and the reference voltage;
and adjusting the voltage at the two ends of the lamp bead through the feedback voltage.
Optionally, the obtaining a feedback voltage according to the sampling voltage and the reference voltage includes:
comparing the sampling voltage with the reference voltage to obtain an error voltage;
amplifying the error voltage to obtain an output voltage;
and converting the output voltage into a feedback voltage through a voltage series negative feedback circuit.
Optionally, the obtaining a feedback voltage according to the sampling voltage and the reference voltage includes:
circularly comparing the sampling voltage with the reference voltage through a single chip microcomputer;
when the sampling voltage is not less than a preset reference voltage, taking the difference value of the sampling voltage and the reference voltage as an error voltage;
amplifying the error voltage through an error amplifying circuit to obtain an output voltage;
and converting the output voltage into a feedback voltage through a voltage series negative feedback circuit.
Optionally, the error amplifying circuit includes: the amplifier comprises an amplifier A, a resistor R1 and a resistor R2, wherein the inverting input end of the amplifier A is connected with one end of a resistor R1 and one end of a resistor R2, the output end of the amplifier A is connected with the other end of a resistor R2, and the other end of the resistor R1 is grounded.
Optionally, the preset reference voltage is 1.5V.
According to another aspect of the present invention, there is provided a back pressure self-adjusting apparatus including:
the acquisition module is used for acquiring the voltages at two ends of the lamp bead as sampling voltages;
the judging module is used for judging whether the sampling voltage is not less than a preset reference voltage or not;
the feedback module is used for acquiring feedback voltage according to the sampling voltage and the reference voltage when the sampling voltage is not less than the preset reference voltage;
and the adjusting module is used for adjusting the voltages at the two ends of the lamp bead through the feedback voltage.
Optionally, the feedback module comprises:
the first comparison unit is used for comparing the sampling voltage with the reference voltage to obtain an error voltage;
the first amplifying unit is used for amplifying the error voltage to obtain an output voltage;
and the first conversion unit is used for converting the output voltage into a feedback voltage through a voltage series negative feedback circuit.
Optionally, the feedback module comprises:
the second comparison unit is used for circularly comparing the sampling voltage with the reference voltage through a single chip microcomputer;
the error unit is used for taking the difference value between the sampling voltage and the reference voltage as an error voltage when the sampling voltage is not less than the preset reference voltage;
the second amplifying unit is used for amplifying the error voltage through an error amplifying circuit to obtain an output voltage;
and the second conversion unit is used for converting the output voltage into the feedback voltage through the voltage series negative feedback circuit.
Optionally, the error amplifying circuit includes: the amplifier comprises an amplifier A, a resistor R1 and a resistor R2, wherein the inverting input end of the amplifier A is connected with one end of a resistor R1 and one end of a resistor R2, the output end of the amplifier A is connected with the other end of a resistor R2, and the other end of the resistor R1 is grounded.
Optionally, the preset reference voltage is 1.5V.
The embodiment of the invention provides a back pressure self-adjusting method and a back pressure self-adjusting device, wherein the method comprises the following steps: collecting voltages at two ends of a lamp bead as sampling voltages; judging whether the sampling voltage is not less than a preset reference voltage or not; if yes, obtaining a feedback voltage according to the sampling voltage and the reference voltage; adjusting the voltage at two ends of the lamp bead through the feedback voltage; the back pressure of the display screen is controlled through the single chip microcomputer and the feedback circuit, so that the automatic real-time adjustment of the back pressure is realized, the caterpillar phenomenon of the display screen is solved, and the user experience of the display screen is improved.
Detailed Description
In order to make the technical problems, technical solutions and advantages to be solved by the present invention clearer and more obvious, the present invention is further described in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not restrictive.
Example one
As shown in fig. 1, in this embodiment, a back pressure self-adjusting method includes:
s10, collecting voltages at two ends of the lamp bead as sampling voltages;
s20, judging whether the sampling voltage is not less than a preset reference voltage; if not, S21, the back pressure is proper;
if yes, S30, obtaining a feedback voltage according to the sampling voltage and the reference voltage;
and S40, adjusting the voltage at the two ends of the lamp bead through the feedback voltage.
In this embodiment, the back pressure of the display screen is controlled through the single chip microcomputer and the feedback circuit, so that the automatic real-time adjustment of the back pressure is realized, the caterpillar phenomenon of the display screen is solved, and the user experience of the display screen is improved.
In this embodiment, the voltage at the two ends of the lamp bead is sampled through the I/O port of the single chip microcomputer to serve as a sampling voltage, if the sampling voltage is smaller than the reference voltage by 1.5V, the back pressure is proper, and otherwise, the back pressure needs to be adjusted.
As shown in fig. 2, in the present embodiment, the step S30 includes:
s31, comparing the sampling voltage with the reference voltage to obtain an error voltage;
s32, amplifying the error voltage to obtain an output voltage;
and S33, converting the output voltage into a feedback voltage through a voltage series negative feedback circuit.
As another embodiment, as shown in fig. 3, the step S30 further includes:
s301, circularly comparing the sampling voltage with the reference voltage through a single chip microcomputer;
s302, when the sampling voltage is not less than a preset reference voltage, taking the difference value between the sampling voltage and the reference voltage as an error voltage;
s303, amplifying the error voltage through an error amplifying circuit to obtain an output voltage;
and S304, converting the output voltage into a feedback voltage through a voltage series negative feedback circuit.
As shown in fig. 4, in the present embodiment, the error amplification circuit includes: the amplifier comprises an amplifier A, a resistor R1 and a resistor R2, wherein the inverting input end of the amplifier A is connected with one end of a resistor R1 and one end of a resistor R2, the output end of the amplifier A is connected with the other end of a resistor R2, and the other end of the resistor R1 is grounded.
In this embodiment, UI is an input voltage of the amplifier, i.e., a sampling voltage, UD is a net input amount, and is a voltage value obtained by subtracting UI from a reference voltage, UD is UP-UN, where UP is a forward input voltage of the amplifier, UN is a reverse input voltage, and is subjected to error amplification by the amplifier to obtain an output voltage U0, and U0 is fed back through a feedback loop, where the feedback formula is as follows:
UF=R1/(R1+R2)U0
as U0 increases, feedback voltage UF also increases, UN increases, and UD decreases.
In this embodiment, the preset reference voltage is 1.5V.
Example two
As shown in fig. 5, in the present embodiment, a back pressure self-adjusting apparatus includes:
theacquisition module 10 is used for acquiring voltages at two ends of the lamp bead as sampling voltages;
the judgingmodule 20 is configured to judge whether the sampling voltage is not less than a preset reference voltage;
thefeedback module 30 is configured to obtain a feedback voltage according to the sampling voltage and a preset reference voltage when the sampling voltage is not less than the preset reference voltage;
and the adjustingmodule 40 is used for adjusting the voltage at the two ends of the lamp bead through the feedback voltage.
In this embodiment, the back pressure of the display screen is controlled through the single chip microcomputer and the feedback circuit, so that the automatic real-time adjustment of the back pressure is realized, the caterpillar phenomenon of the display screen is solved, and the user experience of the display screen is improved.
In this embodiment, the voltage at the two ends of the lamp bead is sampled through the I/O port of the single chip microcomputer to be used as sampling voltage, if the sampling voltage is smaller than the reference voltage by 1.5V, the back pressure is proper, otherwise, the back pressure needs to be adjusted.
As shown in fig. 6, in this embodiment, the feedback module includes:
a first comparingunit 31 for comparing the sampling voltage with the reference voltage to obtain an error voltage;
afirst amplifying unit 32, configured to amplify the error voltage to obtain an output voltage;
a first convertingunit 33, configured to convert the output voltage into a feedback voltage through a voltage series negative feedback circuit.
As another embodiment, as shown in fig. 7, the feedback module may further include:
thesecond comparison unit 301 is configured to compare the sampled voltage with the reference voltage cyclically by using a single chip microcomputer;
anerror unit 302, configured to, when the sampling voltage is not less than a preset reference voltage, take a difference between the sampling voltage and the reference voltage as an error voltage;
asecond amplifying unit 303, configured to amplify the error voltage by an error amplifying circuit to obtain an output voltage;
a second convertingunit 304, configured to convert the output voltage into a feedback voltage through a voltage series negative feedback circuit.
As shown in fig. 4, in the present embodiment, the error amplification circuit includes: the amplifier comprises an amplifier A, a resistor R1 and a resistor R2, wherein the inverting input end of the amplifier A is connected with one end of a resistor R1 and one end of a resistor R2, the output end of the amplifier A is connected with the other end of a resistor R2, and the other end of the resistor R1 is grounded.
In this embodiment, UI is an input voltage of the amplifier, i.e., a sampling voltage, UD is a net input amount, and is a voltage value obtained by subtracting UI from a reference voltage, UD is UP-UN, where UP is a forward input voltage of the amplifier, UN is a reverse input voltage, and is subjected to error amplification by the amplifier to obtain an output voltage U0, and U0 is fed back through a feedback loop, where the feedback formula is as follows:
UF=R1/(R1+R2)U0
as U0 increases, feedback voltage UF also increases, UN increases, and UD decreases.
In this embodiment, the preset reference voltage is 1.5V.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The preferred embodiments of the present invention have been described above with reference to the accompanying drawings, and are not to be construed as limiting the scope of the invention. Any modification, equivalent replacement, and improvement made by those skilled in the art without departing from the scope and spirit of the present invention should be within the scope of the claims of the present invention.