The disclosure relates to an electrical apparatus, and more particularly to a method for setting and dynamically switching a working frequency of the electrical apparatus.
As electrical technologies progress, it is a trend to provide a modern consumer product with a display panel having a touch function for a user to directly touch to control a picture and/or a text. To save a space occupied by an electrical product, the designer(s) provide(s) a panel with touch and display functions by integrating a display panel and a touch panel.
When generating too many noises, the conventional integrated electrical apparatus adjusts a frequency which is used by the electrical apparatus for detecting a touch, thereby lowering a noise likely to be generated by the electrical apparatus on an original working frequency used for detecting the touch. However, a frequency usable by the electrical apparatus for detecting the touch is closely related to a display frequency used by the electrical apparatus for performing displaying. As a result, a adjusting range of the frequency used by the electrical apparatus for detecting the touch falls in a certain limited range. Therefore, a scanning frequency cannot be adjusted to a level for effectively lowering the noise generated by the electrical apparatus while taking a quality of a display operation into consideration.
Please refer to
However, in a setting condition where a scan time or a charge time required is longer, an environment noise (including a noise on the panel 130 and a noise on a ground-engaging end of the apparatus) is more likely to be coupled in the conventional electrical apparatus 100. Accordingly, it is an important issue to lower the aforementioned noise to enhance a capability of the electrical apparatus 100.
The disclosure provides an electrical apparatus and a method for setting a working frequency thereof for dynamically adjusting the working frequency of the electrical apparatus based on the generation of a noise.
The disclosure provides an electrical apparatus having a panel. The panel may be either an embedded touch panel or an out-cell touch panel. The embedded touch panel may be an in-cell touch panel or an on-cell touch panel. The electrical apparatus also includes a processor unit, a sense circuitry and a drive circuitry. The panel includes a plurality of touch units and a plurality of display units. The processor unit sets a scan frequency and a display frequency. The sense circuitry is coupled to the processor unit and the panel. The sense circuitry receives the scan frequency and makes the panel detect the touch units based on the scan frequency. The drive circuitry is coupled to the sense circuitry and the panel. The drive circuitry receives the display frequency and makes the panel display an image of the display units based on the display frequency. The sense circuitry detects a noise value of the touch units. The processor unit adjusts the scan frequency and the display frequency based on the noise value.
The disclosure provides an electrical apparatus which includes a panel, a sense circuitry and a drive circuitry. The panel includes a plurality of touch units and a plurality of display units. The sense circuitry sets a scan frequency. The sense circuitry is coupled to the panel. The sense circuitry receives the scan frequency and makes the panel detect the touch unit based on the scan frequency. The drive circuitry sets a display frequency. The drive circuitry is coupled to the sense circuitry and the panel. The drive circuitry receives the display frequency and makes the panel display an image of the display units based on the display frequency. The sense circuitry detects a noise value of the touch units. The sense circuitry adjusts the scan frequency or the display frequency based on the noise value.
The disclosure also provides a method for setting a working frequency of an electrical apparatus, including: first, setting one of a scan frequency and a display frequency to be a setting frequency and generating the other of the scan frequency and the display frequency based on the setting frequency, thereafter, detecting a noise detected value of the electrical apparatus, adjusting the setting frequency based on the noise detected value and adjusting the scan frequency or the display frequency which is not the setting frequency based on the setting frequency.
Based on the aforementioned, the disclosure performs a real-time detection on the noise from the electrical apparatus and uses the noise detected value being detected to dynamically adjust the scan frequency and the display frequency of the electrical apparatus. As a result, the scan frequency and the display frequency of the electrical apparatus may be adjusted to a better frequency so that the electrical apparatus may operate under a condition with a stable display quality and a lowered noise to achieve the best capability.
In order to make the aforementioned features and advantages of the disclosure more comprehensible, embodiments accompanying figures are described in detail below.
Please refer to
The processor unit 210 is coupled to the sense circuitry 220 and the drive circuitry 232. The processor unit 210 sets a scan frequency TCF and a display frequency DSF respectively, and transmits the scan frequency TCF and the display frequency DSF being set to the sense circuitry 220 and the drive circuitry 232. The sense circuitry 220 receives the scan frequency TCF and makes the panel 231 detect a touch based on the scan frequency TCF received. The drive circuitry 232 receives the display frequency DSF and drives the panel 231 to display an image based on the display frequency DSF received as well as carries out touch scanning operation on the panel 231. To be specific, the drive circuitry 232 generates a scan signal SS based on the scan frequency TCF, and the sense circuitry 220 detects the touch on the panel 231 based on the scan frequency TCF. The scan signal SS generated by the drive circuitry 232 carries out touch scanning to the panel 231. The drive circuitry 232 also generates, for example, a row scan line (RSCAN) signal to drive the panel 231 to display the image. In addition, the drive circuitry 232 and the sense circuitry 220 may also communicate with each other through transmitting a signal COS to each other. That is, the drive circuitry 232 may inform the drive circuitry 232 a message of the scan frequency TCF via the signal COS.
It is worth mentioning that there is a close relation between the above row scan line signal RSCAN and the scan signal SS so they cannot be set independently in a separate manner. For example, a time point in which the scan signal SS scans and detects the touch on the panel 231 cannot overlap with a time point in which the row scan line signal RSCAN enables any of display lines in the panel 231 to display the picture. That is, the scan signal SS may perform scanning and detecting the touch on the panel 231 when all display rows are closed. That is, when the display frequency DSF based on which the row scan line signal RSCAN is generated is adjusted, the scan frequency TCF based on which the scan signal SS is generated has to be adjusted correspondingly, and vice versa.
With the above restrictions, in the embodiments of the disclosure, the processor unit 210 first sets the scan frequency TCF and the display frequency DSF for the electrical apparatus 200 to which the processor unit 210 belongs. When the processor unit 210 sets the scan frequency TCF and the display frequency DSF, the scan frequency TCF may be set first, then the display frequency DSF is correspondingly set based on a relation between the scan frequency TCF and the display frequency DSF. Of course, the processor unit 210 may also set the display frequency DSF first and then correspondingly set the scan frequency TCF based on the relation between the scan frequency TCF and the display frequency DSF. That is, the processor unit 210 may set one of the scan frequency TCF and the display frequency DSF to be a setting frequency, and then generate the other of the corresponding scan frequency TCF and the display frequency DSF based on the setting frequency.
That is, if the processor unit 210 sets the scan frequency TCF first, the processor unit 210 further sets the display frequency DSF through the corresponding relation between the scan frequency TCF and the display frequency DSF based on the scan frequency TCF being set. Relatively, if the processor unit 210 sets the display frequency DSF first, the processor unit 210 further sets the scan frequency TCF through the corresponding relation between the scan frequency TCF and the display frequency DSF based on the display frequency DSF being set.
The memory 250 is coupled to the processor unit 210, and a table is saved in the memory 250. A plurality of scan frequency to be selected and a plurality of corresponding display frequency to be selected are arranged in the table. When the processor unit 210 sets the scan frequency TCF first, the processor unit 210 selects one of the plurality of the scan frequency to be selected in the table to set the scan frequency TCF, and then locates a display frequency to be selected corresponding to the scan frequency TCF from the plurality of display frequency to be selected in the table to set to be the display frequency DSF. Correspondingly, when the processor unit 210 sets the display frequency DSF first, the processor unit 210 selects one of the plurality of the display frequency to be selected in the table to set the display frequency DSF, and then locates a scan frequency to be selected corresponding to the display frequency DSF from the plurality of scan frequency to be selected in the table to set to be the scan frequency TCF.
After finishing setting the scan frequency TCF and the display frequency DSF, the sense circuitry 220 instantly detects a noise value NS generated by the electrical apparatus 100 under a set working frequency (the scan frequency TCF and the display frequency DSF). A frequency adjusting value FTV may be determined by the processor unit 210 or the sense circuitry 220 based on the detected noise value NS. If the frequency adjusting value FTV is determined by the sense circuitry 220, the frequency adjusting value FTV has to be transmitted to the processor unit 210, so as to adjust the scan frequency TCF and the display frequency DSF through the processor unit 210. Precisely, the processor unit 210 or the sense circuitry 220 compares a noise detected value obtained from the detected noise value NS with a threshold value. When the noise detected value is greater than or not less than the threshold value, an instruction is generated requiring the frequency adjusting value FTV which adjusts the scan frequency TCF and the display frequency DSF. Relatively, when the noise detected value is not greater than or less than the threshold value, the frequency adjusting value FTV which adjusts the scan frequency TCF and the display frequency DSF is not required by the processor unit 210 or the sense circuitry 220.
When the processor unit 210 receives the instruction requiring the frequency adjusting value FTV which adjusts the scan frequency TCF and the display frequency DSF, the processor unit 210 adjusts the scan frequency TCF or the display frequency DSF being set to be the setting frequency. Then the processor unit 210 adjusts the other of the scan frequency TCF and the display frequency DSF via the aforementioned relation between scan frequency TCF and the display frequency DSF based on one of an updated scan frequency TCF and an updated display frequency DSF.
The processor unit 210 also transmits the updated scan frequency TCF and the updated display frequency DSF to the sense circuitry 220 and the drive circuitry 232, respectively, so as to enable the electrical apparatus 200 to operate under an updated working frequency (the scan frequency TCF and the display frequency DSF).
Please note that the processor unit 210 may adjust the setting frequency through adding or deducting a frequency adjusting value which is set in advance to/from an original frequency of the setting frequency (the scan frequency TCF or the display frequency DSF). Or, the processor unit 210 may also adjust the setting frequency through multiplying or dividing the original frequency of the setting frequency by a ratio which is set in advance. In order to prevent a discrepancy between a frequency value of the setting frequency and a frequency value which is set from the outset from being too big, the processor unit 210 may adjust the setting frequency within a certain frequency range. That is, when the setting frequency is adjusted by adding up the frequency adjusting value, after a number of adjustments to the setting frequency, the setting frequency may exceed a top limit of the frequency range. Then the setting frequency may be adjusted by deducting the frequency adjusting value. In reverse, when the setting frequency is lower than a lower limit of the frequency range, the setting frequency may be adjusted by adding up the frequency adjusting value. It is worth mentioning that the frequency adjusting value may be formulated by a designer based on an actual condition. The key is that to effectively decrease a noise within the least adjustments to the frequency.
When the processor unit 210 adjusts the scan frequency TCF, the processor unit 210 needs to locate a scan frequency to be adjusted which is most close to a scan frequency based on the above calculation from the plurality of the scan frequency to be selected in the memory 250 to adjust the scan frequency TCF, and then locate a display frequency corresponding to a adjusted scan frequency TCF to adjust the display frequency DSF.
Then please refer to
Then please refer to
In order to describe the method for setting the working frequency of the electrical apparatus in the embodiment of the disclosure in a clearer way, an actual example is provided and described below.
Please refer to
In addition, when the step 490 is executed, the processor unit correspondingly adjusts the display frequency.
Please refer to
In addition, in an illustration of
Please refer to
Please refer to
Next please refer to
In summary, the disclosure adjusts one of a scan frequency and a display frequency based on a condition of a noise generated by an electrical apparatus and correspondingly adjusts the other of the scan frequency and the display frequency. Accordingly, the scan frequency and the display frequency of the electrical apparatus may be easily and effectively adjusted in a dynamic way so that the electrical apparatus may effectively decrease the noise while taking a display quality into consideration.
Although the disclosure has been disclosed by the above embodiments, the embodiments are not intended to limit the disclosure. It will be apparent to those skilled in the art that various modifications and variations may be made to the structure of the disclosure without departing from the scope or spirit of the disclosure. Therefore, the protecting range of the disclosure falls in the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
101125358 | Jul 2012 | TW | national |
This application claims the priority benefits of U.S. provisional application Ser. No. 61/535,377, filed on Sep. 16, 2011 and Taiwan application serial no. 101125358, filed on Jul. 13, 2012. The entirety of each of the above-mentioned patent applications is hereby incorporated by reference herein and made a part of this specification.
Number | Date | Country | |
---|---|---|---|
61535377 | Sep 2011 | US |