Display control circuit, display system, and electronic device
By designing display control circuits, using logic gate control circuits and level inversion circuits and other components, the processor occupies ports, which solves the problem of the LCD screen occupying more processor ports, and improves the utilization rate and display of processor ports The battery life of the system.
Patent Information
- Application Number
- CN202420647924.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-29
- Publication Date
- 2024-11-19
- Estimated Expiration
- 2034-03-29
AI Technical Summary
The LCD screen occupies a large number of processor ports, resulting in limited full use of processor ports.
A display control circuit is designed, and connected to the processor's chip select signal output port and control signal port through logic gate control circuit to realize the operation of the processor output signal, reduce the occupation of the processor port, and invert the level Components such as circuits, OR gates and AND gates realize different types of signal output, ensuring that the processor only needs to occupy two ports to achieve the LCD screen function normally.
It effectively reduces the amount of processor port occupied by the LCD screen, improves the utilization rate of processor ports, and reduces power consumption by turning off the power circuit when the display system is sleeping, increasing battery life.
Smart Images

Figure CN222028787U_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of display, and in particular to a display control circuit, a display system, and an electronic device. Background Art
[0002] At present, LCD screens usually occupy a large number of processor ports. However, the number of processor ports is limited, and the more processor ports the LCD screen occupies, the fewer processor ports other components can use, affecting the full use of the processor ports.
[0003] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present application, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Utility Model Content
[0004] In order to provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. The summary is not an extensive review, nor is it intended to identify key / critical components or delineate the scope of protection of these embodiments, but rather serves as a prelude to the detailed description that follows.
[0005] The embodiments of the present application provide a display control circuit, a display system, and an electronic device, so as to reduce the number of processor ports occupied by the liquid crystal display while realizing the functions of the liquid crystal display normally.
[0006] An embodiment of the present application provides a display control circuit, comprising: a processor, a chip select signal output port of the processor being configured to be connected to a chip select port of a liquid crystal display; a logic gate control circuit, a first input port of the logic gate control circuit being connected to the chip select signal output port of the processor, and a second input port of the logic gate control circuit being connected to a control signal port of the processor; a first output port of the logic gate control circuit being configured to be connected to a reset port of the liquid crystal display; and a second output port of the logic gate control circuit being configured to be connected to a backlight enable port of the liquid crystal display.
[0007] In the above implementation, the logic gate control circuit is connected to the chip select signal output port of the processor and the control signal port of the processor, and the logic gate control circuit can operate the chip select signal and the control signal output by the processor to obtain different types of signals required to control the liquid crystal display. As a result, the processor only needs to occupy two ports, and the number of processor ports occupied by the liquid crystal display can be reduced while the liquid crystal display function is normally realized.
[0008] Furthermore, the logic gate control circuit includes: a level inversion circuit, an input port of the level inversion circuit is connected to the control signal port of the processor; an OR gate, a first input port of the OR gate is connected to the chip select signal output port of the processor; a second input port of the OR gate is connected to the control signal port of the processor; an output port of the OR gate is connected to a reset port of the liquid crystal display; an AND gate, a first input port of the AND gate is connected to the chip select signal output port of the processor; a second input port of the AND gate is connected to the output port of the level inversion circuit; and the output port of the AND gate is connected to a backlight enable port of the liquid crystal display.
[0009] In the above implementation, the chip select signal and the control signal output by the processor can be operated through the level inversion circuit, the OR gate and the AND gate to obtain different types of signals required to control the liquid crystal display. As a result, the processor only needs to occupy two ports, which can reduce the number of processor ports occupied by the liquid crystal display while realizing the function of the liquid crystal display normally.
[0010] Furthermore, the level inversion circuit includes: a first resistor, a first port of the first resistor is configured to access a preset voltage; a second port of the first resistor is connected to the second input port of the AND gate; a first controlled switch, a first port of the first controlled switch is connected to the second port of the first resistor; the second port of the first controlled switch is grounded; and a control port of the first controlled switch is connected to a control signal port of the processor.
[0011] In the above embodiment, the control signal port of the processor is connected to the control port of the first controlled switch, and the first controlled switch can be turned on and off according to the high and low levels output by the control signal port. When the first controlled switch is turned on, since one of the ports of the first controlled switch is grounded, the second input port of the AND gate receives a low-level signal. When the first controlled switch is turned off, since one of the ports of the first controlled switch is connected to the power supply, the second input port of the AND gate receives a high-level signal. In this way, the control signal can be negated, and then the signal required to control the liquid crystal display can be obtained after the AND gate is operated again. As a result, the processor only needs to occupy two ports, and the number of processor ports occupied by the liquid crystal display can be reduced while the liquid crystal display function is normally realized.
[0012] Furthermore, the level inversion circuit further includes: a second resistor, and the second port of the first controlled switch is grounded through the second resistor.
[0013] In the above implementation, by adding the second resistor, the second port of the first controlled switch is grounded through the second resistor, so that ground protection can be performed.
[0014] Furthermore, the preset voltage is provided by a power supply circuit; the power supply circuit includes: a power supply circuit, a first port of the power supply circuit is configured to be connected to an external power supply; a switching circuit, a first port of the switching circuit is connected to a second port of the power supply circuit, and the second port of the switching circuit is connected to a first port of the first resistor; and a control port of the switching circuit is connected to a power control port of the processor.
[0015] In the above embodiment, the power supply circuit provides a preset voltage to the level inversion circuit. A switch circuit is provided in the power supply circuit to control whether the power supply circuit provides the preset voltage to the level inversion circuit. This facilitates the power supply circuit not to provide the preset voltage to the level inversion circuit when the display system is dormant, thereby no current is generated in the logic gate control circuit, so that the components in the logic gate control circuit do not generate power consumption, thereby increasing the endurance of the display system.
[0016] Furthermore, the level inversion circuit includes: a first NOT gate, an input port of the first NOT gate is connected to the control signal port of the processor; and an output port of the first NOT gate is connected to the second input port of the AND gate.
[0017] In the above implementation, by directly inverting the signal output by the control signal port through the first NOT gate, the design of the logic circuit can be simplified. At the same time, since the first NOT gate can quickly and accurately perform the inversion operation, the efficiency and accuracy of inverting the signal are improved.
[0018] Furthermore, the display control circuit further includes: a third resistor, and the chip select signal output port of the processor is connected to the logic gate control circuit through the third resistor.
[0019] In the above implementation, the chip select signal output port of the processor is connected to the logic gate control circuit via the third resistor, which can prevent the signal from being distorted at the connection and maintain the level consistency between the two ports.
[0020] Furthermore, the display control circuit further includes: a fourth resistor, and the control signal port of the processor is connected to the logic gate control circuit through the fourth resistor.
[0021] In the above implementation, the control signal port of the processor is connected to the logic gate control circuit via the fourth resistor, so as to prevent the signal from being distorted at the connection point and maintain the level consistency between the two ports.
[0022] An embodiment of the present application provides a display system, comprising: a processor; a logic gate control circuit connected to a chip select signal output port of the processor and a control signal port of the processor; a liquid crystal display screen, wherein a reset port of the liquid crystal display screen is connected to a first output port of the logic gate control circuit; a backlight enable port of the liquid crystal display screen is connected to a second output port of the logic gate control circuit; and a chip select port of the liquid crystal display screen is connected to a chip select signal output port of the processor.
[0023] An embodiment of the present application provides an electronic device, including the above-mentioned display control circuit or display system.
[0024] The above general description and the following description are exemplary and explanatory only and are not intended to limit the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] One or more embodiments are exemplarily described by corresponding drawings, which do not limit the embodiments. Elements with the same reference numerals in the drawings are shown as similar elements, and the drawings do not constitute a scale limitation, and wherein:
[0026] Figure 1 is a schematic diagram of a first display control circuit provided in an embodiment of the present application;
[0027] Figure 2 is a schematic diagram of a second display control circuit provided in an embodiment of the present application;
[0028] Figure 3 is a schematic diagram of a third display control circuit provided in an embodiment of the present application;
[0029] Figure 4 is a schematic diagram of a fourth display control circuit provided in an embodiment of the present application;
[0030] Figure 5 is a schematic diagram of a power supply circuit provided in an embodiment of the present application;
[0031] Figure 6 is a schematic diagram of a switch circuit provided in an embodiment of the present application;
[0032] Figure 7 is a schematic diagram of a fifth display control circuit provided in an embodiment of the present application;
[0033] Figure 8 is a schematic diagram of a sixth display control circuit provided in an embodiment of the present application;
[0034] Fig. 9 It is a schematic diagram of a display system provided in an embodiment of the present application.
[0035] Reference numerals:
[0036] 1: processor; 2: logic gate control circuit; 3: OR gate; 4: AND gate; 5: first NOT gate; 6: chip select signal output port of processor; 7: control signal port of processor; 8: chip select port of LCD; 9: reset port of LCD; 10: backlight enable port of LCD; 11: NMOS tube; 12: first transistor; 13: first resistor; 14: second resistor; 15: first capacitor; 16: second capacitor; 17: third capacitor; 18: fourth capacitor; 19: fifth capacitor; 20: sixth capacitor; 21: seventh capacitor; 22: eighth capacitor; 23: ninth capacitor; 24: The fifth resistor; 25: the sixth resistor; 26: the seventh resistor; 27: the inductor; 28: the bidirectional breakdown diode; 29: the DCDC chip; 30: the first port of the switch circuit; 31: the disconnect signal port of the processor; 32: the PMOS tube; 33: the eighth resistor; 34: the second transistor; 35: the ninth resistor; 36: the tenth resistor; 37: the tenth capacitor; 38: the eleventh resistor; 39: the eleventh capacitor; 40: the twelfth capacitor; 41: the thirteenth capacitor; 42: the logic gate control circuit power receiving port; 43: the power supply circuit output port; 44: the third resistor; 45: the fourth resistor; 46: the LCD display. DETAILED DESCRIPTION
[0037] In order to be able to understand the features and technical contents of the embodiments of the present disclosure in more detail, the implementation of the embodiments of the present disclosure is described in detail below in conjunction with the accompanying drawings. The attached drawings are for reference only and are not used to limit the embodiments of the present disclosure. In the following technical description, for the convenience of explanation, a full understanding of the disclosed embodiments is provided through multiple details. However, one or more embodiments can still be implemented without these details. In other cases, to simplify the drawings, well-known structures and devices can be simplified for display.
[0038] The terms "first", "second", etc. in the specification and claims of the embodiments of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchanged where appropriate, so that the embodiments of the embodiments of the present disclosure described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions.
[0039] In addition, the terms "disposed", "connected", and "fixed" should be understood in a broad sense. For example, "connected" can be a fixed connection, a detachable connection, or an integral structure; it can be a mechanical connection, or an electrical connection; it can be a direct connection, or an indirect connection through an intermediate medium, or it can be an internal connection between two devices, elements, or components. For those of ordinary skill in the art, the specific meanings of the above terms in the embodiments of the present disclosure can be understood according to specific circumstances.
[0040] Unless otherwise stated, the term "plurality" means two or more.
[0041] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present disclosure may be combined with each other.
[0042] Embodiment 1
[0043] Combination Figure 1 As shown, a display control circuit is provided in an embodiment of the present application, including: a processor 1 and a logic gate control circuit 2. Among them: the chip select signal output port of the processor 1 is configured to be connected to the chip select port of the liquid crystal display; the first input port of the logic gate control circuit 2 is connected to the chip select signal output port of the processor 1, and the second input port of the logic gate control circuit 2 is connected to the control signal port of the processor 1; the first output port of the logic gate control circuit 2 is configured to be connected to the reset port of the liquid crystal display; the second output port of the logic gate control circuit 2 is configured to be connected to the backlight enable port of the liquid crystal display.
[0044] In some embodiments, the processor is a processor in the prior art that has a port and can output signals, such as a single-chip microcomputer, an MCU (Microcontroller Unit) processor, or an ARM (Advanced RISC processor) processor, etc., which is not limited here.
[0045] It can be understood that the common input and output ports of the processor can be used as the chip select signal output port of the processor and the control signal port of the processor.
[0046] In some embodiments, the logic gate control circuit may include: a level inversion circuit, an OR gate, and an AND gate. The input port of the level inversion circuit is connected to the control signal port of the processor; the first input port of the OR gate is connected to the chip select signal output port of the processor; the second input port of the OR gate is connected to the control signal port of the processor; the output port of the OR gate is connected to the reset port of the liquid crystal display; the first input port of the AND gate is connected to the chip select signal output port of the processor; the second input port of the AND gate is connected to the output port of the level inversion circuit; and the output port of the AND gate is connected to the backlight enable port of the liquid crystal display.
[0047] In an optional manner of the above embodiment, the level inversion circuit may include: a first NOT gate, wherein an input port of the first NOT gate is connected to a control signal port of the processor; and an output port of the first NOT gate is connected to a second input port of the AND gate.
[0048] Exemplary, combined Figure 2 As shown, the specific structure of the display control circuit can be that the chip select signal output port 6 of the processor is connected to the first input port of the OR gate 3, the chip select port 8 of the liquid crystal display and the first input port of the AND gate 4. The control signal port 7 of the processor is connected to the second input port of the OR gate 3 and the input port of the first NOT gate 5, and the output port of the OR gate 3 is connected to the reset port 9 of the liquid crystal display. The output port of the first NOT gate 5 is connected to the second input port of the AND gate 4. The output port of the AND gate 4 is connected to the backlight enable port 10 of the liquid crystal display.
[0049] It can be understood that the OR gate also has a power port and a ground port. The power port of the OR gate is connected to a preset voltage, and the ground port of the OR gate is grounded. The AND gate also has a power port and a ground port. The power port of the AND gate is connected to a preset voltage, and the ground port of the AND gate is grounded.
[0050] In another optional manner of the above embodiment, the level inversion may include: a first resistor and a first controlled switch. The first port of the first resistor is configured to access a preset voltage; the second port of the first resistor is connected to the second input port of the AND gate; the first port of the first controlled switch is connected to the second port of the first resistor; the second port of the first controlled switch is grounded; and the control port of the first controlled switch is connected to the control signal port of the processor.
[0051] The first controlled switch may be a component in the prior art that can be controlled to be turned on and off, such as a MOS tube, a triode, etc., which is not limited here. The resistance value of the first resistor may be set by an engineer according to actual circuit conditions. For example, the resistance value of the first resistor may be 4.7 kilo-ohms.
[0052] In the above optional manner, the level inversion circuit may further include a second resistor. The second port of the first controlled switch is grounded through the second resistor.
[0053] The resistance value of the second resistor can be set by the engineer according to the actual circuit situation. For example, when the first controlled switch is an NMOS transistor, the resistance value of the second resistor can be 0 ohm. When the first controlled switch is an NPN transistor, the resistance value of the second resistor can be 460 ohms.
[0054] Exemplary, combined Figure 3As shown, the first controlled switch is an NMOS tube. The specific structure of the display control circuit can be that the chip select signal output port 6 of the processor is connected to the first input port of the OR gate 3, the chip select port 8 of the liquid crystal display and the first input port of the AND gate 4. The control signal port 7 of the processor is connected to the second input port of the OR gate 3 and the gate of the NMOS tube 11, and the output port of the OR gate 3 is connected to the reset port 9 of the liquid crystal display. The source of the NMOS tube 11 is connected to the first port of the second resistor 14, and the second port of the second resistor 14 is grounded. The drain of the NMOS tube 11 is connected to the second port of the first resistor 13 and the second input port of the AND gate 4; the first port of the first resistor 13 is configured to access a preset voltage. The output port of the AND gate 4 is connected to the backlight enable port 10 of the liquid crystal display.
[0055] Exemplary, combined Figure 4 As shown, the first controlled switch is a first NPN-type transistor, and the specific structure of the display control circuit can be that the chip select signal output port 6 of the processor is connected to the first input port of the OR gate 3, the chip select port 8 of the liquid crystal display and the first input port of the AND gate 4. The control signal port 7 of the processor is connected to the second input port of the OR gate 3 and the base of the first transistor 12, and the output port of the OR gate 3 is connected to the reset port 9 of the liquid crystal display. The emitter of the first transistor 12 is connected to the first port of the second resistor 14, and the second port of the second resistor 14 is grounded. The collector of the first transistor 12 is connected to the second port of the first resistor 13 and the second input port of the AND gate 4; the first port of the first resistor 13 is configured to access a preset voltage. The output port of the AND gate 4 is connected to the backlight enable port 10 of the liquid crystal display.
[0056] In some embodiments, a preset voltage may be provided by a power supply circuit. The power supply circuit may include: a power supply circuit and a switch circuit. The first port of the power supply circuit is configured to be connected to an external power supply; the first port of the switch circuit is connected to the second port of the power supply circuit, and the second port of the switch circuit is connected to the first port of the first resistor; and the control port of the switch circuit is connected to the power control port of the processor.
[0057] Combination Figure 5As shown, optionally, in the above embodiment, the power supply circuit may include: a first capacitor 15, a second capacitor 16, a third capacitor 17, a fourth capacitor 18, a fifth capacitor 19, a sixth capacitor 20, a seventh capacitor 21, an eighth capacitor 22, a ninth capacitor 23, a fifth resistor 24, a sixth resistor 25, a seventh resistor 26, an inductor 27, a bidirectional breakdown diode 28 and a DCDC chip 29. The first port of the first capacitor 15, the first port of the second capacitor 16, the first port of the fifth resistor 24 and the IN port of the DCDC chip 29 are configured to be connected to an external power supply. The second port of the first capacitor 15 and the second port of the second capacitor 16 are grounded. The second port of the fifth resistor 24 is connected to the first port of the third capacitor 17 and the EN port of the DCDC chip 29. The second port of the third capacitor 17 and the GND port of the DCDC chip 29 are grounded. The BS port of the DCDC chip 29 is connected to the first port of the fourth capacitor 18 and the first port of the fifth capacitor 19. The second port of the fourth capacitor 18 is grounded. The second port of the fifth capacitor 19 is connected to the first port of the inductor 27 and the LX port of the DCDC chip 29. The second port of the inductor 27 is connected to the first port of the sixth capacitor 20, the first port of the sixth resistor 25, the first port of the seventh capacitor 21, the first port of the eighth capacitor 22, the first port of the ninth capacitor 23, the first port of the bidirectional breakdown diode 28, and the first port 30 of the switch circuit. The second port of the sixth capacitor 20, the second port of the sixth resistor 25, and the FB port of the DCDC chip 29 are connected to the first port of the seventh resistor 26. The second port of the seventh resistor 26 is grounded. The second port of the seventh capacitor 21, the second port of the eighth capacitor 22, the second port of the ninth capacitor 23, and the second port of the bidirectional breakdown diode 28 are grounded.
[0058] Among them, the second port of the inductor is also connected to the power supply port of the processor with the first port of the sixth capacitor, the first port of the sixth resistor, the first port of the seventh capacitor, the first port of the eighth capacitor, the first port of the ninth capacitor, and the first port of the bidirectional breakdown diode. The GND port of the DCDC (direct current-to-direct current converter) chip is used for grounding, and the IN port of the DCDC chip is used as the external power input terminal. The EN port of the DCDC chip is the enable control terminal. The LX port of the DCDC chip is used as the internal power switch output port. The FB port of the DCDC chip is used as the output voltage feedback port. The BS port of the DCDC chip is the drive circuit port of the MOS tube.
[0059] Optionally, in an optional manner of the above embodiment, the switch circuit may include: a second controlled switch and an eighth resistor. The first port of the second controlled switch is connected to the power supply circuit, the second port of the second controlled switch is connected to the logic gate control circuit, and a preset voltage is provided to the logic gate control circuit through the second port of the second controlled switch. The control port of the second controlled switch is connected to the disconnect signal port of the processor. The first port of the eighth resistor is connected to the first port of the second controlled switch, and the second port of the eighth resistor is connected to the control port of the second controlled switch. Among them, the ordinary input and output port of the processor can be used as the disconnect signal port of the processor.
[0060] Among them, the second controlled switch can be a component in the prior art that can be controlled to be turned on and off, such as: MOS (Metal-Oxide-Semiconductor Field-Effect Transistor, metal-oxide semiconductor field effect transistor) tube, triode, relay, optocoupler, thyristor, etc., which is not limited here.
[0061] Optionally, in the above optional manner, the switch circuit may further include: a third controlled switch, wherein a first port of the third controlled switch is connected to a control port of the second controlled switch, a second port of the third controlled switch is grounded, and the control port of the third controlled switch is connected to a disconnection signal port of the processor.
[0062] The third controlled switch may be a component in the prior art that can be controlled to be turned on and off, such as a MOS tube, a triode, etc., which is not limited here.
[0063] Optionally, in the above optional manner, the switch circuit may further include: a ninth resistor. The control port of the third controlled switch is connected to the disconnection signal port of the processor through the ninth resistor.
[0064] Optionally, in the above optional manner, the switch circuit may further include: a tenth resistor. A first port of the tenth resistor is connected to the control port of the third controlled switch, and a second port of the tenth resistor is grounded.
[0065] Optionally, in the above optional manner, the switch circuit may further include: an eleventh resistor and a tenth capacitor. The first port of the second controlled switch is connected to the power supply circuit through the eleventh resistor. The first port of the tenth capacitor is connected to the power supply circuit, and the second port of the tenth capacitor is grounded.
[0066] Optionally, in the above optional manner, the switch circuit may further include: an eleventh capacitor. A first port of the eleventh capacitor is connected to the first port of the second controlled switch, and a second port of the eleventh capacitor is connected to the control port of the second controlled switch.
[0067] Optionally, in the above optional manner, the switch circuit may further include: a twelfth capacitor. A first port of the twelfth capacitor is connected to a second port of the second controlled switch, and a second port of the twelfth capacitor is connected to a control port of the second controlled switch.
[0068] Optionally, in the above optional manner, the switch circuit may further include: a thirteenth capacitor. A first port of the thirteenth capacitor is connected to the second port of the second controlled switch, and a second port of the thirteenth capacitor is grounded.
[0069] Exemplary, combined Figure 6 As shown, the second controlled switch is a PMOS tube, and the third controlled switch is a second triode. The specific structure of the switch circuit can be that the source of the PMOS tube 32 is connected to the second port of the eleventh resistor 38, the first port of the eighth resistor 33, and the first port of the eleventh capacitor 39. The first port of the eleventh resistor 38 is connected to the power supply circuit output port 43. The gate of the PMOS tube 32 is connected to the second port of the eighth resistor 33, the second port of the eleventh capacitor 39, the second port of the twelfth capacitor 40, and the collector of the second triode 34. The drain of the PMOS tube 32 is connected to the first port of the twelfth capacitor 40, the first port of the thirteenth capacitor 41, and the logic gate control circuit power receiving port 42. The first port of the tenth capacitor 37 is connected to the power supply circuit output port 43, and the second port of the tenth capacitor 37 is grounded. The second port of the thirteenth capacitor 41 is grounded. The emitter of the second triode 34 is grounded. The base of the second triode 34 is connected to the first port of the ninth resistor 35 and the first port of the tenth resistor 36. The second port of the ninth resistor 35 is connected to the disconnection signal port 31 of the processor. A second terminal of the tenth resistor 36 is grounded.
[0070] It can be understood that the output port of the power supply circuit and the first port of the switch circuit mentioned above can be the same port. The power supply receiving port of the logic gate control circuit and the first port of the first resistor mentioned above can be the same port.
[0071] In some other embodiments, the logic gate control circuit includes: a level inversion circuit, a second AND gate, a second NOT gate, and an AND gate. The input port of the level inversion circuit is connected to the control signal port of the processor; the first input port of the AND gate is connected to the chip select signal output port of the processor; the second input port of the AND gate is connected to the control signal port of the processor; the input port of the second NOT gate is connected to the output port of the AND gate; the output port of the second NOT gate is connected to the reset port of the liquid crystal display; the first input port of the AND gate is connected to the chip select signal output port of the processor; the second input port of the AND gate is connected to the output port of the level inversion circuit; and the output port of the AND gate is connected to the backlight enable port of the liquid crystal display.
[0072] In some embodiments, the display control circuit further includes: a third resistor, and the chip select signal output port of the processor is connected to the logic gate control circuit through the third resistor.
[0073] In some embodiments, the display control circuit further includes: a fourth resistor, and the control signal port of the processor is connected to the logic gate control circuit through the fourth resistor.
[0074] Exemplary, combined Figure 7 As shown, the specific structure of the display control circuit can be that the chip select signal output port 6 of the processor is connected to the first port of the third resistor 44, and the second port of the third resistor 44 is connected to the first input port of the OR gate 3, the chip select port 8 of the liquid crystal display, and the first input port of the AND gate 4. The control signal port 7 of the processor is connected to the first port of the fourth resistor 45, the second port of the fourth resistor 45 is connected to the second input port of the OR gate 3 and the input port of the first NOT gate 5, and the output port of the OR gate 3 is connected to the reset port 9 of the liquid crystal display. The output port of the first NOT gate 5 is connected to the second input port of the AND gate 4. The output port of the AND gate 4 is connected to the backlight enable port 10 of the liquid crystal display.
[0075] Exemplary, combined Figure 8As shown, the first controlled switch is an NMOS tube 11, and the specific structure of the display control circuit can be that the chip select signal output port 6 of the processor is connected to the first port of the third resistor 44, and the second port of the third resistor 44 is connected to the first input port of the OR gate 3, the chip select port 8 of the liquid crystal display and the first input port of the AND gate 4. The control signal port 7 of the processor is connected to one port of the fourth resistor 45, and the other port of the fourth resistor 45 is connected to the second input port of the OR gate 3 and the gate of the NMOS tube 11, and the output port of the OR gate 3 is connected to the reset port 9 of the liquid crystal display. The source of the NMOS tube 11 is connected to the first port of the second resistor 14, and the second port of the second resistor 14 is grounded. The drain of the NMOS tube 11 is connected to the second port of the first resistor 13 and the second input port of the AND gate 4; the first port of the first resistor 13 is configured to access a preset voltage. The output port of the AND gate 4 is connected to the backlight enable port 10 of the liquid crystal display. In this way, before the liquid crystal display is driven, the chip select signal output port of the processor outputs a low level, the control signal port of the processor changes high and low, and the reset port of the liquid crystal display at the output end of the control OR gate changes high and low, completing the reset of the liquid crystal display. After the reset is completed, the control signal port of the processor maintains a high level output, so that the reset port of the LCD screen is high level, and the chip select signal output port of the processor changes high and low to initialize the screen and start driving the screen; after the screen is initialized, the chip select signal output port of the processor maintains a high level output. Because the control signal port of the processor is high level, the reset port of the LCD screen maintains a high level and does not reset. The control signal port of the processor turns on the NMOS tube, and the low level input is the AND gate. At this time, the backlight enable port of the LCD screen is low, and the backlight is not turned on. After the screen is driven, the control signal port of the control processor outputs low. Because the chip select signal output port of the processor still remains high, the reset port of the LCD screen is high and will not reset the screen. The first input of the AND gate is high, the control signal port of the processor turns off the NMOS tube, and the second input of the AND gate is also high. The backlight enable port of the LCD screen becomes high, and the backlight is lit, completing the screen drive. As shown in Table 1, it is the truth table of each stage of the LCD screen.
[0076]
[0077] Table 1
[0078] Embodiment 2
[0079] Combination Fig. 9As shown, a display system is provided in an embodiment of the present application, including: a processor 1, a logic gate control circuit 2, and a liquid crystal display screen 46. The logic gate control circuit 2 is connected to the chip select signal output port of the processor 1 and the control signal port of the processor 1; the reset port of the liquid crystal display screen 46 is connected to the first output port of the logic gate control circuit 2; the backlight enable port of the liquid crystal display screen 46 is connected to the second output port of the logic gate control circuit 2; and the chip select port of the liquid crystal display screen 46 is connected to the chip select signal output port of the processor 1.
[0080] It can be understood that the various embodiments described in the first embodiment are also applicable to the second embodiment if there is no conflict. Based on the consideration of brevity of description, they will not be repeated here.
[0081] Embodiment 3
[0082] An electronic device is provided in an embodiment of the present application, comprising the above-mentioned display control circuit or display system.
[0083] It can be understood that the electronic device is a device in the prior art that can be connected to a liquid crystal display screen, such as: a smart cat-eye large screen, a surveillance camera with a screen, a video doorbell, etc., which is not limited here.
[0084] The electronic device provided by the embodiment of the present application is adopted, and a processor, a logic gate control circuit and a logic gate control circuit are arranged in the electronic device. The logic gate control circuit is connected to the chip select signal output port of the processor and the control signal port of the processor, and the logic gate control circuit can operate the chip select signal and the control signal output by the processor to obtain different types of signals required to control the liquid crystal display. As a result, the processor only needs to occupy two ports, and the number of processor ports occupied by the liquid crystal display can be reduced while the liquid crystal display function is normally realized.
[0085] The above description and the accompanying drawings sufficiently illustrate the embodiments of the present disclosure to enable those skilled in the art to practice them. Other embodiments may include structural and other changes. The embodiments represent only possible variations. Unless explicitly required, individual components and functions are optional, and the order of operations may vary. Portions and features of some embodiments may be included in or replace portions and features of other embodiments. The embodiments of the present disclosure are not limited to the structures described above and shown in the accompanying drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A display control circuit, characterized in that: include: A processor, wherein a chip select signal output port of the processor is configured to be connected to a chip select port of a liquid crystal display; A logic gate control circuit, wherein a first input port of the logic gate control circuit is connected to a chip select signal output port of the processor, and a second input port of the logic gate control circuit is connected to a control signal port of the processor; a first output port of the logic gate control circuit is configured to be connected to a reset port of the liquid crystal display; and a second output port of the logic gate control circuit is configured to be connected to a backlight enable port of the liquid crystal display.
2. The display control circuit according to claim 1, characterized in that: The logic gate control circuit comprises: A level inversion circuit, wherein an input port of the level inversion circuit is connected to a control signal port of the processor; An OR gate, wherein a first input port of the OR gate is connected to a chip select signal output port of the processor; a second input port of the OR gate is connected to a control signal port of the processor; and an output port of the OR gate is connected to a reset port of the liquid crystal display; An AND gate, wherein the first input port of the AND gate is connected to the chip select signal output port of the processor; the second input port of the AND gate is connected to the output port of the level inversion circuit; and the output port of the AND gate is connected to the backlight enable port of the liquid crystal display.
3. The display control circuit according to claim 2, characterized in that: The level inversion circuit comprises: a first resistor, wherein a first port of the first resistor is configured to be connected to a preset voltage; and a second port of the first resistor is connected to a second input port of the AND gate; A first controlled switch, wherein a first port of the first controlled switch is connected to a second port of the first resistor; a second port of the first controlled switch is grounded; and a control port of the first controlled switch is connected to a control signal port of the processor.
4. The display control circuit according to claim 3, characterized in that: The level inversion circuit further includes: A second resistor is provided, and the second port of the first controlled switch is grounded through the second resistor.
5. The display control circuit according to claim 3, characterized in that: The preset voltage is provided by a power supply circuit; The power supply circuit comprises: a power supply circuit, wherein a first port of the power supply circuit is configured to be connected to an external power source; A switch circuit, wherein a first port of the switch circuit is connected to a second port of the power supply circuit, and a second port of the switch circuit is connected to a first port of the first resistor; and a control port of the switch circuit is connected to a power control port of the processor.
6. The display control circuit according to claim 2, characterized in that: The level inversion circuit comprises: A first NOT gate, wherein an input port of the first NOT gate is connected to a control signal port of the processor; and an output port of the first NOT gate is connected to a second input port of the AND gate.
7. The display control circuit according to any one of claims 1 to 6, characterized in that: The display control circuit further includes: A third resistor, the chip select signal output port of the processor is connected to the logic gate control circuit through the third resistor.
8. The display control circuit according to any one of claims 1 to 6, characterized in that: The display control circuit further includes: A fourth resistor, the control signal port of the processor is connected to the logic gate control circuit through the fourth resistor.
9. A display system, characterized in that: include: processor; A logic gate control circuit connected to a chip select signal output port of the processor and a control signal port of the processor; A liquid crystal display screen, wherein a reset port of the liquid crystal display screen is connected to a first output port of the logic gate control circuit; a backlight enable port of the liquid crystal display screen is connected to a second output port of the logic gate control circuit; and a chip select port of the liquid crystal display screen is connected to a chip select signal output port of the processor.
10. An electronic device, characterized in that: The display control circuit comprises the display control circuit according to any one of claims 1 to 8 or the display system according to claim 9.
