This relates generally to electronic devices and, more particularly, to electronic devices with displays.
Electronic devices such as computers and cellular telephones have displays. A display typically includes an array of display pixels controlled by a timing controller integrated circuit. One or more processors such as an applications processor in an electronic device can communicate with the timing controller integrated circuit to establish a mode of operation for the display. The display can be operated in a plurality of modes. In one mode, the applications processor serves as the master device that determines the overall timing behavior of the display while the timing controller acts as the slave device. In another mode, the timing controller acts as the master device while the applications processor acts as the slave device.
To switch between the different modes of operation, the electronic device needs to be turned off and then initialized to the new mode upon power on. Power cycling the electronic device to switch between the different modes may be inefficient.
An electronic device may include a display having an array of pixels for displaying images for a viewer. The electronic device may further include control circuitry and a display driver integrated circuit for controlling the display. The control circuitry may include one or more processors coupled to the display via a flexible printed circuit. The display driver integrated circuit may be mounted on the flexible printed circuit.
The electronic device may be operable in a first (video) mode and a second (command) mode. In the video mode, the processor such as an application processor or a system processor is configured as the primary (master) timing device while the display driver integrated circuit is configured as the secondary (slave) timing device. In the command mode, the display driver integrated circuit is configured as the primary timing device while the processor is configured as the secondary timing device. The electronic device can switch between the video mode and the command mode in real time without having to turn off the electronic device and/or the display driver integrated circuit.
To switch from the video mode to the command mode in real time, the processor may turn off the display, send a mode selection command directing the display driver integrated circuit to switch from the video mode to the command mode, receive a tearing effect signal from the display driver integrated circuit, and, in response to receiving the tearing effect signal, send new image data to the display driver integrated circuit and turn on the display to output the new image data.
To switch from the command mode to the video mode in real time, the processor may turn off the display, send a mode selection command directing the display driver integrated circuit to switch from the command mode to the video mode, send timing information to the display driver integrated circuit, wait for the display driver integrated circuit to synchronize with the processor using the timing information, and turn on the display after the display driver integrated circuit has synchronized with the control circuitry using the timing information.
An illustrative electronic device of the type that may be provided with a display is shown in
As shown in
Input-output circuitry in device 10 such as input-output devices 12 may be used to allow data to be supplied to device 10 and to allow data to be provided from device 10 to external devices. Input-output devices 12 may include buttons, joysticks, scrolling wheels, touch pads, key pads, keyboards, microphones, speakers, tone generators, vibrators, cameras, sensors, light-emitting diodes and other status indicators, data ports, etc. A user can control the operation of device 10 by supplying commands through input resources of input-output devices 12 and may receive status information and other output from device 10 using the output resources of input-output devices 12.
Input-output devices 12 may include one or more displays such as display 14. Display 14 may be a touch screen display that includes a touch sensor for gathering touch input from a user or display 14 may be insensitive to touch. A touch sensor for display 14 may be based on an array of capacitive touch sensor electrodes, acoustic touch sensor structures, resistive touch components, force-based touch sensor structures, a light-based touch sensor, or other suitable touch sensor arrangements. A touch sensor for display 14 may be formed from electrodes formed on a common display substrate with the display pixels of display 14 or may be formed from a separate touch sensor panel that overlaps the pixels of display 14. If desired, display 14 may be insensitive to touch (i.e., the touch sensor may be omitted). Display 14 in electronic device 10 may be a head-up display that can be viewed without requiring users to look away from a typical viewpoint or may be a head-mounted display that is incorporated into a device that is worn on a user's head. If desired, display 14 may also be a holographic display used to display holograms.
Control circuitry 16 may be used to run software on device 10 such as operating system code and applications. During operation of device 10, the software running on control circuitry 16 may display images on display 14.
Display 14 may be a liquid crystal display or may be a display based on other types of display technology (e.g., organic light-emitting diode displays). Any suitable type of display may be used, if desired. In general, display 14 may have a rectangular shape (i.e., display 14 may have a rectangular footprint and a rectangular peripheral edge that runs around the rectangular footprint) or may have other suitable shapes. Display 14 may be planar or may have a curved profile.
Display circuitry such as a display driver integrated circuit, gate driver circuitry, and column driver circuitry may be used in controlling the array of pixels in display 14 to present images on display 14 for a user of device 10. Column driver circuitry may provide data signals to data lines that run vertically through display 14. Gate driver circuitry may be used to assert a control signal on horizontal control lines. Some of the display circuitry may be formed from thin-film circuits on a thin-film transistor layer or other substrate in the display layers of display 14. As an example, the gate driver circuitry and/or the column driver circuitry may be formed on the same thin-film transistor layer in which the display pixels are formed. Other display circuitry may be formed from integrated circuits and may be mounted on a ledge portion of display 14, on a substrate adjacent to display 14, or may be mounted on a printed circuit substrate.
A flexible printed circuit cable such as flexible printed circuit 32 may be used to join display 14 and associated the display circuitry with control circuitry 16. Components such as a display driver integrated circuit 30 (sometimes referred to as a timing controller integrated circuit), a board-to-board connector or other connectors may be mounted on flexible printed circuit cable 32. Display driver integrated circuit 30 may communicate directly with control circuitry 16 to send control and data signals to the column driver circuitry and the gate driver circuitry on the display panel. In other words, control circuitry 16 controls display 14 through display driver integrated circuit 30 (i.e., control circuitry 16 is coupled to display 14 via timing controller 30).
Cable 32 of
As described above in connection with
In the second mode 42, display driver integrated circuit 30 (e.g., the display timing controller) operates as the primary timing module for controlling, directing, or orchestrating the timing behavior of the overall display whereas control circuitry 16 operates the secondary timing module. As the primary timing module, display driver integrated circuit 30 may output a tearing effect (TE) signal or other synchronization signal that notifies control circuitry 16 of a certain window of time when control circuitry 16 can send the next frame. The tearing effect signal may help synchronize control circuitry 16 with DDIC 30 during mode 42 to prevent screen tearing. Screen tearing is a visual artifact phenomenon where a display outputs information from multiple video frames in a single frame due to a lack of synchronization. As the auxiliary component, control circuitry 16 follows the lead of display driver integrated circuit 30. During mode 42, display driver integrated circuit 30 may periodically send tearing effect signals to control circuitry 16. The amount of time between when successive tearing effect signals are sent may defined the frame rate (as an example). Mode 42 is therefore sometimes referred to as the command mode or the display driver integrated circuit (DDIC) primary mode.
In accordance with an embodiment, electronic device 10 can switch between video mode 40 and command mode 42 during normal operation of display 14 in real time without having to turn off device 10. As an example, device 10 may switch from operating in video mode 40 to operating in command mode 42 (as indicated by mode transition 44) in real time without turning off device 10 or display driver integrated circuit 30. As another example, device 10 may switch from operating in command mode 42 to operating in video mode 40 (as indicated by mode transition 46) in real time without turning off device 10 or display driver integrated circuit 30.
During the operations of block 102, the one or more processors in control circuitry 16 may send a command directing display driver integrated circuit 30 to switch from video mode 40 to command mode 42. This command is sometimes referred to as a mode switching or mode selection command.
During the operations of block 104, the one or more processors in control circuitry 16 may continue sending primary timing information to display driver integrated circuit 30 to ensure that commands of blocks 100 and 102 have been executed. For example, control circuitry 16 may continue sending, for one or more frames after the display has been disabled, primary timing information such as a primary video clock signal, frame boundary, line boundary, and other timing control parameters to display driver integrated circuit 30. Block 104 is merely optional. Control circuitry 16 need not continue sending the timing control information after the mode selection command has been issued.
During the operations of block 106, display driver integrated circuit 30 may send a tearing effect (TE) or other synchronization signal to the one or more processors in control circuitry 16. When display driver integrated circuit 30 sends the tearing effect signal may depend on when the mode selection command was issued. If the mode selection command of block 102 was issued at the end of the current video frame, then display driver integrated circuit 30 can send the tearing effect (synchronization) signal right away and can skip the operations of block 104. If the mode selection command of block 102 was issued during the middle of the current video frame, then display driver integrated circuit 30 may wait until the end of that frame before sending the tearing effect signal.
During the operations of block 108, in response to receiving the tearing effect signal from display driver integrated circuit 30, the one or more processors in control circuitry 16 may send new image data to the display and turn on the display panel to display the new image. If control circuitry 16 is ready to start sending new image data, it can immediately start sending the new image data after receiving the tearing effect or other synchronization signal. If control circuitry 16 is not ready to start sending new image data, it can continue sending old image data until it is ready.
The operations of
At time t2, the processor may stop sending the primary timing information. At this time, the processor may wait for the display driver integrated circuit to send the tearing effect (or other synchronization signal) before sending new image data. When the display driver integrated circuit may begin sending the tearing effect signal may depend on when the mode selection command was issued. If the mode selection command was sent at the end of the current video frame, then the display driver integrated circuit can send the tearing effect (synchronization) signal right away so that the processor can stop sending the primary timing information right away, thereby reducing the downtime between t1 and t2. If the mode selection command was sent during the middle of the current video frame, then the display driver integrated circuit may wait until the end of that frame before sending the tearing effect signal. The processor may wait one or more frame periods before receiving the tearing effect signal.
Sometime between time t2 and t3, the processor may receive the tearing effect signal and in response, start sending new image data to the display driver integrated circuit. At time t3, the processor sends a command to turn on the display so that the display panel can output a new regular frame in the command mode. In the command mode, the display driver integrated circuit (DDIC) is the primary device, so the processor will follow the lead of the DDIC and will only send new image data when it receives additional tearing effect signals from the DDIC. Turning off the display can help hide any potential front-of-screen issues that might occur when switching between different display modes.
The example shown in
During the operations of block 122, the one or more processors in control circuitry 16 may send a command directing display driver integrated circuit 30 to switch from command mode 42 to video mode 40. This command is sometimes referred to as a mode switching or mode selection command.
During the operations of block 124, the one or more processors in control circuitry 16 may begin sending primary timing information to display driver integrated circuit 30. Primary timing information may include a primary video clock signal, frame boundary, line boundary, and other timing control parameters. If desired, the mode switching command may be issued only after the timing information is ready to be sent by control circuitry 16.
During the operations of block 126, the one or more processor in control circuitry 16 may wait for display driver integrated circuit 30 to synchronize with the primary timing information (e.g., the display driver integrated circuit may take one or more frame periods to lock to the primary video clock signal).
During the operations of block 128, the one or more processors in control circuitry 16 may send new image data to the display and turn on the display panel to display the new image.
The operations of
At time t1, the processor sends a command disabling the display panel or otherwise directing the display panel to output a black screen. After the display is turned off, the processor may send a mode selection command directing the display driver integrated circuit to switch to the video mode. At this time, the processor may start sending primary timing information (e.g., a primary video clock signal, frame boundary, line boundary, and other timing control parameters) while the display panel is turned off.
At time t2, the processor sends a command to turn on the display so that the display panel can output a new regular frame in the video mode. In the video mode, the processor is the primary device, so the DDIC will follow the lead of the processor. Turning off the display from time t1 to t2 can help hide any potential front-of-screen issues that might occur when switching between different display modes.
The example shown in
The embodiments described in connection with
In accordance with an embodiment, an electronic device operable in a first mode and a second mode, is provided that includes a display having an array of pixels, a display driver integrated circuit configured to send control and data signals to the display and control circuitry that is configured to run one or more applications on the electronic device and that is coupled to the display via the display driver integrated circuit, in the first mode, the control circuitry is configured as a primary timing component for controlling the timing of the display while the display driver integrated circuit is configured as a secondary timing component, in the second mode, the display driver integrated circuit is configured as the primary timing component for controlling the timing of the display while the control circuitry is configured as the secondary timing component and the control circuitry is further configured to switch between the first mode and the second mode without turning off the electronic device.
In accordance with another embodiment, the electronic device includes a flexible printed circuit coupled between the control circuitry and the display, the display driver integrated circuit is mounted on the flexible printed circuit.
In accordance with another embodiment, the control circuitry is configured to switch between the first mode and the second mode without turning off the display driver integrated circuit.
In accordance with another embodiment, the control circuitry is configured to switch between the first mode and the second mode without turning off the display.
In accordance with another embodiment, the control circuitry is configured to switch between the first mode and the second mode by sending a mode switch command to the display driver integrated circuit.
In accordance with another embodiment, the control circuitry is configured to switch between the first mode and the second mode by turning off the display and sending a mode switch command to the display driver integrated circuit during a period of time the display is turned off.
In accordance with another embodiment, the control circuitry is configured to adjust a duration of the period that the display is turned off when the electronic device is switching between the first mode and the second mode.
In accordance with another embodiment, the control circuitry is configured to switch between the first mode and the second mode by sending a mode switch command to the display driver integrated circuit while the display is on.
In accordance with another embodiment, the control circuitry is configured to switch from the first mode to the second mode by turning off the display, sending a command directing the display driver integrated circuit to switch from the first mode to the second mode, receiving a tearing effect signal from the display driver integrated circuit and in response to receiving the tearing effect signal, sending new image data to the display driver integrated circuit and turning on the display to output the new image data.
In accordance with another embodiment, the control circuitry is configured to switch from the second mode to the first mode by turning off the display, sending a command directing the display driver integrated circuit to switch from the second mode to the first mode, sending timing information to the display driver integrated circuit, waiting for the display driver integrated circuit to synchronize with the control circuitry using the timing information and turning on the display after the display driver integrated circuit has synchronized with the control circuitry using the timing information.
In accordance with another embodiment, the control circuitry is configured to switch from the second mode to the first mode by turning off the display, sending a command directing the display driver integrated circuit to switch from the second mode to the first mode, sending timing information to the display driver integrated circuit, waiting for the display driver integrated circuit to synchronize with the control circuitry using the timing information and turning on the display after the display driver integrated circuit has synchronized with the control circuitry using the timing information.
In accordance with an embodiment, a method of operating an electronic device, is provided that includes using a display to present a visual output, using a display driver integrated circuit to control the display and using control circuitry to run one or more applications on the electronic device, configure the electronic device in a first mode during which the control circuitry operates as a primary timing device for controlling the timing of the display while the display circuit integrated circuit operates as a secondary timing device, configured the electronic device in a second mode during which the display driver integrated circuit operates as the primary timing device for controlling the timing of the display while the control circuitry operates as the secondary timing device and switch between the first and second modes without turning off the electronic device.
In accordance with another embodiment, the method includes using the control circuitry to switch from the first mode to the second mode by turning off the display, sending a command directing the display driver integrated circuit to switch from the first mode to the second mode, receiving a tearing effect signal from the display driver integrated circuit and in response to receiving the tearing effect signal, sending new image data to the display driver integrated circuit and turning on the display to output the new image data.
In accordance with another embodiment, the method includes using the control circuitry to switch from the second mode to the first mode by turning off the display, sending a command directing the display driver integrated circuit to switch from the second mode to the first mode, sending timing information to the display driver integrated circuit, waiting for the display driver integrated circuit to synchronize with the control circuitry using the timing information and turning on the display after the display driver integrated circuit has chronized with the control circuitry using the timing information.
In accordance with another embodiment, the method includes using the control circuitry to switch from the second mode to the first mode by turning off the display, sending a command directing the display driver integrated circuit to switch from the second mode to the first mode, sending timing information to the display driver integrated circuit, waiting for the display driver integrated circuit to synchronize with the control circuitry using the timing information and turning on the display after the display driver integrated circuit has synchronized with the control circuitry using the timing information.
In accordance with another embodiment, the method includes using the control circuitry to switch between the first and second modes without turning off the display.
In accordance with another embodiment, the method includes turning off the display for a period of time, using the control circuitry to switch between the first and second modes while the display is turned off.
In accordance with another embodiment, the method includes using the control circuitry to adjust the period of time during which the display is turned off.
In accordance with an embodiment, a non-transitory computer-readable storage medium storing one or more programs configured to be executed by one or more processors of an electronic device, the electronic device is provided that includes a display coupled to a display driver integrated circuit, the one or more programs including instructions for presenting a visual output, operating the display in a video mode during which the one or more processors is configured as a primary timing module for controlling the timing of the display while the display driver integrated circuit is configured as a secondary timing module, operating the display in a command mode during which display driver integrated circuit is configured as the primary timing module for controlling the timing of the display while the one or more processors is configured as the secondary timing module and switching between the video mode and the command mode without turning off the electronic device.
In accordance with another embodiment, the instructions for switching between the video mode and the command mode includes instructions for turning off the display, sending a mode switch command to the display driver integrated circuit while the display is turned off, waiting for the display to complete switching between the video mode and the command mode, after the display has completed switching between the video mode and the command mode, turning on the display.
The foregoing is merely illustrative and various modifications can be made by those skilled in the art without departing from the scope and spirit of the described embodiments. The foregoing embodiments may be implemented individually or in any combination.
This application claims priority to. U.S. provisional patent application No. 63/243,623, filed Sep. 13, 2021, which is hereby incorporated by reference herein in its entirety.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/US22/40206 | 8/12/2022 | WO |
Number | Date | Country | |
---|---|---|---|
63243623 | Sep 2021 | US |