A display method, system and storage medium based on time-division multiplexing
By using the HC595 shift register in the segment code display instead of the dedicated driver chip, combined with the control chip control, the time-sharing multiplexing display method is used to dynamically adjust the refresh frequency of the display location, which solves the problems of high cost, high complexity and poor scalability of the traditional segment code display, and achieves a low-cost and high flexibility multi-bit segment code display effect.
Patent Information
- Application Number
- CN202510101258.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-22
- Publication Date
- 2025-04-04
AI Technical Summary
The drive control cost of traditional segment code displays is high, the hardware is complex, the power consumption optimization is limited, and it is difficult to scale, which cannot meet the needs of energy-consuming sensitive devices, and the dedicated driver chip can only be adapted to specific display hardware.
By using the HC595 shift register instead of the dedicated driver chip, combined with the control chip control, the display refresh frequency of each display location is dynamically adjusted to achieve effective driving of multiple display locations.
It significantly reduces hardware costs, simplifies hardware design, improves product miniaturization and production efficiency, can adapt to different application needs, and has good scalability and versatility.
Smart Images

Figure CN119763459A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of electronic circuits and control technologies, and relates to a display method, system and storage medium based on time-division multiplexing. Background Art
[0002] like Figure 1 and Figure 2 As shown, the display solutions of traditional segment code displays, such as segment code screens and segment code tubes, are mostly implemented based on dedicated driver chips. The above-mentioned dedicated driver chips are relatively expensive due to their high functional integration and limited market supply, and their use will increase the overall cost of the system. At the same time, the hardware connection of the above-mentioned dedicated driver chip usually requires multiple peripheral components, which makes the design and manufacturing of the entire display driver circuit more complicated, and is not conducive to product miniaturization and improvement of production efficiency. In practical applications, traditional dedicated driver chips are difficult to further optimize in low-power application scenarios and cannot meet the needs of energy-sensitive devices. Finally, the above-mentioned dedicated chips can usually only be designed for specific display hardware, such as a four-digit segment code screen, and cannot be flexibly adapted to other display modules or segment code screens with different digits. Summary of the invention
[0003] In view of the problems of high cost, complex hardware, limited power consumption optimization and difficulty in expansion in actual applications of segment code screen driving control, the first purpose of this application is to provide a display method based on time-sharing multiplexing, which can significantly reduce the hardware cost of display driving and control circuits by using HC595 shift registers to replace dedicated driver chips, combined with control chip control, and can adapt to different application requirements, with good scalability and versatility. To achieve the above method, the second purpose of this application also proposes a display system based on time-sharing multiplexing, and finally proposes to protect a computer-readable storage medium loaded with a program module for implementing the above-mentioned display method based on time-sharing multiplexing. The following technical solutions are specifically adopted to achieve this:
[0004] A display method based on time-division multiplexing is applied to a segment code display in which data is loaded via a display driver chip and a display area is selected by a control chip, comprising:
[0005] Configure different display refresh frequencies for different display locations on the segment code display for each display content and store them in association;
[0006] Get the display content and its corresponding display location;
[0007] Find and confirm the display refresh frequency of the displayed content;
[0008] Outputting the display content to the above-set display area for display, and refreshing the display at the above-mentioned display refresh frequency;
[0009] The display content and its corresponding display location are obtained through direct input, or by parsing the currently input display information through a specific program.
[0010] Through the above technical solution, when each display position in the segment code display has corresponding display content and needs to be displayed simultaneously, the display refresh frequency of the display content in each display position can be controlled according to the pre-set association relationship, that is, the strobing activation frequency of the display position. Therefore, only one display driver chip, such as HC595, is needed to strobe and activate the corresponding display position on the segment code display through the control chip, and the driver chip inputs the content to be displayed into the set display position, and then outputs the new content to be displayed to the new display position for display through the HC595 chip. In this process, the control chip adjusts the display refresh frequency of each display position according to the pre-set setting, so that the display content in different display positions forms a coherent display effect in the human eye vision, and finally achieves the effect of using one HC595 chip to effectively drive multiple display positions on the segment code display, with simple hardware configuration, low cost and strong scalability.
[0011] Furthermore, different display refresh frequencies are configured for different display locations of each display content on the segment code display, including:
[0012] Obtaining visual afterimage images after the display of each display content in different display areas on the segment code display is terminated;
[0013] Analyze and determine the restoration probability of the corresponding displayed content from the above-mentioned visual afterimage image restoration;
[0014] Classifying each display content according to the above restoration probability;
[0015] Configure different display refresh rates for different categories of display content;
[0016] The display refresh frequency of the display content in the set display area is set in inverse proportion to the corresponding restoration probability.
[0017] Since there are not many effective display contents that can be displayed by the segment code display in actual applications, the above technical scheme can be used to analyze and obtain in advance the visual afterimage images of each display content after being displayed in different positions on the segment code display, and then obtain the probability of restoring the corresponding display content through the above visual afterimage images. The higher the restoration probability of the display content, the lower the corresponding display refresh frequency. Therefore, more refresh operations can be given to the remaining display contents with low restoration probability, so as to achieve a balance between dynamic refresh and display effect, and ensure the display quality of each display content.
[0018] Furthermore, the display method further includes:
[0019] According to the restoration probability corresponding to each display content, a minimum display refresh frequency f is configured for each display content in different display locations and stored in association;
[0020] Obtain the content to be displayed and its required display duration and display location;
[0021] According to the number of display areas N activated by the strobe, combined with the required display duration T, the display duration t allocated to each display area is calculated and generated, where t = T / N;
[0022] According to the above display duration t and the minimum display refresh frequency f of the display content in each display position, the number of refresh times M required for each display position during the display process is calculated, where M = t / f;
[0023] Determine the activation order of each display position according to the refresh times M required for each display position;
[0024] The content to be displayed, its display duration and display location are directly input or obtained by parsing the display information.
[0025] Through the above technical solution, the refresh times can be dynamically allocated to each display location according to the display content contained in the display information and the required display duration and display location, thereby maximizing the display quality of multiple display locations while ensuring the minimum display refresh frequency.
[0026] Furthermore, the display method further includes:
[0027] Acquire and store in association the display refresh frequencies corresponding to the display contents in different display areas under different ambient brightness conditions;
[0028] Get the current content to be displayed and its corresponding display location;
[0029] Detect and find and confirm the display refresh frequency of the above display content according to the current ambient brightness value;
[0030] The display content is output to the above-set display area for display, and is refreshed and displayed at the found display refresh frequency.
[0031] Through the above technical solution, different display refresh frequencies are configured for different display contents and display locations under different ambient brightness conditions, so that the segment code display can better adapt to different usage environments and ensure display quality.
[0032] Furthermore, the display method further includes:
[0033] Obtain and store the correlation between the luminous intensity of each type of segment code display and the display area driving voltage;
[0034] Storing the correlation between the display refresh frequency of each display content and the luminous intensity of the segment code display;
[0035] Get the current content to be displayed and its corresponding display location;
[0036] Obtain the model of the segment code display, detect and find and confirm the luminous intensity of the segment code display and the display refresh frequency of the display content according to the driving voltage of the current display area;
[0037] The display content is output to the corresponding display area for display, and is refreshed and displayed at the display refresh frequency found above.
[0038] Through the above technical solution, for segment code displays of different models and different luminous intensities, a corresponding display refresh frequency is configured for each display content, thereby making the display method applicable to segment code displays of different models and also better ensuring the display quality.
[0039] Furthermore, the display method further includes:
[0040] Setting and storing the display refresh frequency of each display content in each display area;
[0041] Get the current content to be displayed and its corresponding display location;
[0042] According to the correlation between the display refresh frequency of the display content and the luminous intensity of the segment code display, and the correlation between the luminous intensity of the segment code display and the display area driving voltage, the driving voltage of each display area is adjusted.
[0043] Through the above technical solution, the luminous intensity of the segment code display can be adjusted by adjusting the display area driving voltage. Therefore, using a single display driver chip combined with a visual afterimage image, multiple display areas can be controlled and the display quality can be guaranteed.
[0044] A display system based on time-division multiplexing includes a segment code display, a controller and a display driver, and also includes:
[0045] A display content acquisition unit configured to acquire the current information to be displayed and parse it through a specific program to obtain at least one display content and its corresponding display location, or directly determine it according to the input content;
[0046] A first storage unit is configured to store the display refresh frequencies corresponding to the display contents in different display areas;
[0047] A second storage unit is configured to store each display content and its corresponding display location;
[0048] The search display unit is configured to search and confirm the display refresh frequency of the above-mentioned display content, output the display content to the above-mentioned corresponding display area for display, and refresh the display at the above-mentioned display refresh frequency.
[0049] Through the above technical solution, the display refresh frequency can be flexibly configured according to the required display content, thereby achieving the effect of a single display driver chip driving multiple display locations, with low hardware cost and strong scalability.
[0050] Furthermore, the display system further includes:
[0051] A third storage unit is configured to store in association the display refresh frequencies corresponding to the display contents at different display locations under different ambient brightness conditions;
[0052] An ambient brightness detection unit, configured to detect and output a current ambient brightness value;
[0053] The search and display unit is correspondingly configured to be data-connected with the display content acquisition unit and the ambient brightness detection unit, and is used to receive the content to be displayed and its corresponding display area, as well as the ambient brightness value output by the ambient brightness detection unit, and to search and confirm the display refresh frequency of the current content to be displayed from the third storage unit according to the ambient brightness value; output the display content to the corresponding display area for display, and refresh the display at the above-mentioned display refresh frequency.
[0054] Furthermore, the display system further includes:
[0055] A fourth storage unit is configured to store the relationship between the luminous intensity of each type of segment code display and the display area driving voltage, and the display refresh frequency of each display content;
[0056] A driver chip model acquisition unit, configured to determine the model of the current driver chip according to the input;
[0057] A driving voltage detection unit, configured to detect and / or adjust the driving voltage value of the current display area and output it;
[0058] The search display unit is correspondingly configured to be data-connected with the display content acquisition unit, the driver chip model acquisition unit, and the drive voltage detection unit, and is used to receive the content to be displayed and its corresponding display location, as well as the driver chip model and the display location drive voltage, and search and confirm the display refresh frequency or the required drive voltage of the current content to be displayed according to the association relationship stored in the fourth storage unit;
[0059] The display content is output to the corresponding display area for display and refreshed at the display refresh frequency, or the driving voltage of the display area is adjusted to a desired value.
[0060] Through the above technical solution, when using display driver chips of different models for display driving, different refresh rates can be configured for different display contents to ensure display quality.
[0061] A computer-readable storage medium is loaded with a program module for implementing the steps of the above-mentioned time-division multiplexing-based display method.
[0062] The above technical solution is conducive to further promotion and use of the display method described in this application.
[0063] The beneficial effects of this application are:
[0064] (1) By using HC595 shift registers instead of dedicated driver chips, the hardware cost can be significantly reduced;
[0065] (2) The present application solution only requires HC595 and a small number of peripheral components to realize dynamic control of multi-digit digital tubes, which greatly simplifies the hardware design and facilitates product miniaturization and low-cost manufacturing;
[0066] (3) Through MCU control, it supports customization of multiple display modes and refresh logic, which can adapt to different application requirements, including dynamic display effects, brightness adjustment and other functions, with strong applicability and high flexibility;
[0067] (4) The present application solution not only supports a four-digit segment code screen, but also can realize the display of more digits by adding an HC595 chip, and has good scalability and versatility. BRIEF DESCRIPTION OF THE DRAWINGS
[0068] Figure 1 This is a schematic diagram of using MCU combined with driver IC to drive 7-segment digital tubes;
[0069] Figure 2 This is a schematic diagram of the principle of driving the segment code screen using the traditional driver IC method;
[0070] Figure 3 A schematic diagram of a display method based on time-division multiplexing in this application;
[0071] Figure 4 Schematic diagram of a method for configuring different display refresh rates for each display content;
[0072] Figure 5 A schematic diagram of a method for configuring different display refresh rates for display content according to ambient brightness conditions;
[0073] Figure 6 A schematic diagram of a method for configuring different display refresh frequencies for display content according to display region drive voltage;
[0074] Figure 7 This is a schematic diagram of the functional modules of the display system based on time-division multiplexing in this application;
[0075] Figure 8 This is a structural diagram of the principle of using HC595 to drive the segment code tube.
[0076] Figure numerals: 100, controller; 200, display driver; 300, segment code display; 101, display content acquisition unit; 102, first storage unit; 103, second storage unit; 104, display search unit; 105, third storage unit; 106, ambient brightness detection unit; 107, fourth storage unit; 108, driver chip model acquisition unit; 109, drive voltage detection unit. DETAILED DESCRIPTION
[0077] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the attached Figure 1-8 Shown in.
[0078] In the description of this specification, the description with reference to the terms "certain embodiments", "one embodiment", "some embodiments", "illustrative embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials, or characteristics described in conjunction with the embodiments or examples are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0079] The display method based on time-division multiplexing described in the present application is applied to a segment code display 300 in which data is loaded via a display driver chip and the display area is selected by a control chip. In the implementation mode of the present application, it is preferred to use an HC595 chip as the above-mentioned display driver chip, a single-chip microcomputer as the above-mentioned control chip, and a four-bit segment code tube as the above-mentioned segment code display 300 for illustration. In actual applications, the above-mentioned devices can be replaced as needed, such as using an FPGA instead of a single-chip microcomputer, and a segment code LCD screen instead of a four-bit segment code tube.
[0080] like Figure 3 As shown, a display method based on time-division multiplexing mainly includes the following steps:
[0081] S100, configuring different display refresh frequencies for different display locations of each display content on the segment code display 300 and storing them in association;
[0082] S200, obtaining display content and its corresponding display location;
[0083] S300, search for and confirm the display refresh frequency of the said display content;
[0084] S400, output the said display content to the above-set display location for display, and refresh the display at the above display refresh frequency.
[0085] In step S100, the display content mainly includes Arabic numerals from 0 to 9, as well as specific characters and simple patterns.
[0086] The display location refers to the area on the segment display 300 used to display relevant content. For example, Figure 1 the area outlined by the dashed line in [Figure] is a display location. The above display location contains multiple light-emitting diodes arranged in a "day" shape. By controlling the lighting states of some segments of the light-emitting diodes, numbers 0-9 or relevant characters are displayed. Usually, a display location contains 8 light-emitting diodes, among which 7 diodes form a "day" shape, and the other light-emitting diode represents the decimal point.
[0087] In practical applications, the connection methods of the light-emitting diodes in the above display location are divided into common anode and common cathode connections. The common anode connection method means that the anodes of all light-emitting diodes are connected together and connected to a high level (i.e., the display driving voltage), and the cathodes are respectively connected to the pins QA-QH of the driving chip, i.e., the HC595 chip, through a series-connected current-limiting resistor. The common cathode means that the cathodes of all light-emitting diodes are connected together and grounded, and the anodes are connected to the side of the driving chip after being series-connected with a current-limiting resistor.
[0088] During the working process of the HC595 chip, single-line data will be input into the internal 8-bit shift buffer via SDL at the rising edge of SCK and output by Q, H; at the rising edge of LCK, the data in the 8-bit shift buffer will be stored in the 8-bit parallel output buffer; when the control signal of the serial data input terminal OE is low to enable, the output value of the parallel output terminal is equal to the value stored in the parallel output buffer. In practical applications, a four-digit segment display usually needs to be paired with two cascaded HC595 chips to realize the input of display content and the selection of display locations. It can also be realized by a single HC595 chip for data input and then by the MCU for display location selection. Regarding the driving principle of serial input and parallel output of the HC595 chip and its specific display control process, they will not be elaborated here.
[0089] In the display of multi-bit segment code tubes, the output of 8-bit data by a single HC595 chip is not enough to drive multi-bit display at the same time. In order to realize the dynamic display of four-bit segment code tubes, the present application scheme adopts time-sharing multiplexing to refresh, and the MCU polls and controls each display position at a set time interval, thereby realizing the digital tube display without the need for a dedicated driver IC. The display refresh frequency described in the implementation mode of the present application refers to the gating activation frequency of a single display position, that is, the display content is presented in a dynamic display manner. During the display process, only one display position is lit at a time, and the data of different display positions are quickly switched in a short time to achieve a complete multi-bit display effect. In order to ensure that the human eye cannot observe the switching traces of the segment code tube, the display refresh frequency usually needs to be maintained above 60Hz, that is, the refresh cycle of each display position is less than 16ms. In practical applications, in order to achieve a smooth four-bit display, the MCU needs to complete a display position switching operation within every 4ms, so that the entire display system reaches a refresh frequency of 60Hz. This display refresh frequency can achieve a stable multi-bit segment code display effect. Through the above solution, by utilizing the parallel output capability of the HC595 chip and the high-speed switching control of the MCU, a low-cost multi-bit dynamic display system can be efficiently implemented.
[0090] In further detail, in step S100, different display refresh frequencies are configured for different display locations on the segment code display 300 for each display content, such as Figure 4 As shown, including:
[0091] S110, obtaining visual afterimage images after the display of each display content in different display areas on the segment code display 300 is terminated;
[0092] S120, analyzing the restored visual afterimage image to determine a restoration probability of corresponding display content;
[0093] S130, classifying each display content according to the restoration probability;
[0094] S140, configuring different display refresh frequencies for different categories of display content.
[0095] The display refresh frequency of the display content in the set display area is set in inverse proportion to its corresponding restoration probability, that is, the higher the restoration probability, the lower the display refresh frequency.
[0096] The above steps S110 - S130 can be manually determined in advance, and then the classification results are stored.
[0097] In the above step S130, each displayed content is classified according to the above restoration probability. For example, in the implementation of the present application, with respect to the numbers 0-9, the numbers "0", "1", and "7" are classified as having extremely high restoration probabilities, the numbers "3" and "8" are classified as having relatively high restoration probabilities, and the numbers "2", "4", "5", "6", and "9" are classified as having low restoration probabilities.
[0098] Based on the above technical solution, the visual afterimage images of each display content after being displayed in different positions on the segment code display 300 can be analyzed and obtained in advance, and then the probability of restoring the corresponding display content through the above visual afterimage images can be obtained. The higher the restoration probability of the display content, the lower the corresponding display refresh frequency. Therefore, more refresh operations can be given to the remaining display contents with low restoration probability, so as to achieve a balance between dynamic refresh and display effect, and ensure the display quality of each display content.
[0099] In step S200, the display content and its corresponding display area are obtained through direct input, for example, the content to be displayed is directly input into the MCU, such as the number "0" needs to be displayed, if the light-emitting diode connection mode in the current display area is a common cathode connection, then it is only necessary to define the data to be displayed as "0x3F" in the control program of the MCU. In a specific embodiment, the display information currently input can also be obtained by parsing it through a specific program, such as directly inputting the information to be displayed "5327", and then the specific program automatically converts it into the relevant hexadecimal code.
[0100] In the implementation manner of the present application, each display content, display location, and display refresh frequency are preferably stored in the form of a three-dimensional data table, so that in step S300, the corresponding display refresh frequency can be quickly found in the above data table according to the content to be displayed.
[0101] In order to maximize the display quality of multiple display locations while ensuring the minimum display refresh rate, the display method described in the present application also includes:
[0102] A100, configuring a minimum display refresh frequency f for each display content in different display locations according to the restoration probability corresponding to each display content and storing them in association;
[0103] A200, obtaining the content to be displayed and its required display duration and display location;
[0104] A300, based on the number N of display locations activated by strobing, combined with the required display duration T, calculate and generate the display duration t allocated to each display location, where t = T / N;
[0105] A400, according to the above display time t and the minimum display refresh frequency f of the display content in each display position, calculate the number of refresh times M required for each display position during the display process, where M = t / f;
[0106] A500, determining the activation order of each display area according to the refresh times M required for each display area.
[0107] Among them, the content to be displayed, its display duration and display position are directly input or obtained by parsing the display information. For example, a four-bit segment code tube is used to display a total of 4 seconds of digital content, and the display duration t obtained by each display position is 1 second. If the display refresh frequencies of the four display positions A, B, C, and D are 2Hz, 4Hz, 2Hz, and 2Hz respectively, then the number of times that the A, B, C, and D display positions need to be refreshed is 2 times, 4 times, 2 times, and 2 times respectively, and the activation order of the four display positions can be defined as ABCBDABCBD. The above technical scheme can dynamically allocate the number of refresh times for each display position according to the display content contained in the display information and the required display duration and display position.
[0108] In practice, the duration of visual afterimages on the segment code tube under different ambient brightness conditions is also different. Therefore, in order to make the segment code display 300 better adapt to different usage environments and ensure display quality, Figure 5 As shown, the display method described in the embodiment of the present application also includes:
[0109] B100, obtaining and associating and storing the display refresh frequencies corresponding to the display contents in different display areas under different ambient brightness conditions;
[0110] B200, obtaining the current content to be displayed and its corresponding display location;
[0111] B300, detects and searches for and confirms the display refresh frequency of the above-mentioned display content according to the current ambient brightness value;
[0112] B400, outputting the display content to the above-set display area for display, and refreshing the display at the found display refresh frequency.
[0113] Through the above technical solution, different display refresh frequencies can be configured for different display contents and display locations under different ambient brightness conditions.
[0114] Since the luminous characteristics of different segment tubes are different, the visual afterimage effect after the display is terminated is also different. Therefore, further optimization, such as Figure 6 As shown, the display method also includes:
[0115] C100, obtaining and storing the correlation between the luminous intensity of each type of segment code display 300 and the display area driving voltage;
[0116] C200, storing the correlation between the display refresh frequency of each display content and the luminous intensity of the segment code display 300;
[0117] C300, obtain the current content to be displayed and its corresponding display location;
[0118] C400, obtaining the model of the segment code display 300, detecting and searching and confirming the luminous intensity of the segment code display 300 and the display refresh frequency of the display content according to the driving voltage of the current display area;
[0119] C500: Output the display content to the corresponding display area for display, and refresh the display at the display refresh rate found above.
[0120] The above optimized technical solution configures a corresponding display refresh frequency for each display content for segment code displays 300 of different models and different luminous intensities, thereby making the display method applicable to segment code displays 300 of different models and better ensuring the display quality.
[0121] Based on the above optimization ideas, the display method described in the embodiment of the present application further includes:
[0122] D100, setting and storing the display refresh frequency of each display content in each display area;
[0123] D200, obtain the current content to be displayed and its corresponding display location;
[0124] D300 adjusts the driving voltage of each display area according to the correlation between the display refresh frequency of the display content and the luminous intensity of the segment code display 300, and the correlation between the luminous intensity of the segment code display 300 and the driving voltage of the display area.
[0125] In the above step D100, the display refresh frequency corresponding to each display content is fixed in advance, and then the display area driving voltage is adjusted to adjust the luminous intensity of the segment code display 300. In this way, a single display driver chip, combined with visual afterimages during dynamic display, can also control multiple display areas and ensure display quality.
[0126] To implement the above display method, the present application also discloses a display system based on time division multiplexing, such as Figure 7 and Figure 8As shown, it mainly includes a segment code display 300, a controller 100 and a display driver 200. The segment code display 300 is implemented by a four-bit segment code tube, the controller 100 is implemented by an MCU, and the display driver 200 is implemented by a single HC595 chip. In addition, a display content acquisition unit 101, a first storage unit 102, a second storage unit 103 and a search display unit 104 are also configured or connected in the MCU.
[0127] The display content acquisition unit 101 is configured to acquire the current information to be displayed and parse it through a specific program to obtain at least one display content and its corresponding display location, or directly determine it according to the input content, such as directly writing the content to be displayed into the control program in the form of program code.
[0128] The first storage unit 102 is configured to store the display refresh frequencies corresponding to the display contents in different display locations. In practical applications, the above correspondence is implemented by a two-dimensional data lookup table.
[0129] The second storage unit 103 is configured to store various display contents and their corresponding display locations.
[0130] The search display unit 104 is configured to search and confirm the display refresh frequency of the above-mentioned display content, output the display content to the above-mentioned corresponding display location for display, and refresh the display at the above-mentioned display refresh frequency. Combined with the working principle of HC595, the general process is as follows: the HC595 chip serially receives the content to be displayed and temporarily stores it, the MCU selects the display location on the four-bit segment code tube, and then the HC595 chip outputs the above-mentioned content to be displayed in parallel to the four-bit segment code tube for display, and then after a set time, the new content to be displayed is input into the HC595 chip and output to the new display location, and this cycle is repeated to achieve the effect of static display in a dynamic display manner, that is, to achieve the effect of a single display driver chip driving multiple display locations, with low hardware cost and strong scalability.
[0131] Optimized, the display system described in the present application is also configured with a third storage unit 105 and an ambient brightness detection unit 106. Among them, the third storage unit 105 is configured to be used for associating and storing the display refresh frequencies corresponding to the display contents in different display positions under different ambient brightness conditions. The ambient brightness detection unit 106 is configured to detect and output the current ambient brightness value. In practical applications, the above-mentioned ambient brightness detection unit 106 is implemented by a light intensity sensor arranged next to a four-bit segment code tube, and its signal output end is connected to the signal input pin of the MCU.
[0132] Correspondingly, the above-mentioned search and display unit 104 is correspondingly configured to be data-connected with the display content acquisition unit 101 and the ambient brightness detection unit 106, and is used to receive the content to be displayed and its corresponding display area, as well as the ambient brightness value output by the ambient brightness detection unit 106, and search and confirm the display refresh frequency of the current content to be displayed from the third storage unit 105 according to the ambient brightness value, and finally output the display content to the corresponding display area for display, and refresh the display at the above-mentioned display refresh frequency.
[0133] Further optimized, the display system described in the present application also includes a fourth storage unit 107, a driver chip model acquisition unit 108 and a drive voltage detection unit 109. Wherein, the fourth storage unit 107 is configured to store the luminous intensity of each model segment code display 300 and the display area drive voltage, and the relationship between the display refresh frequency of each display content. The driver chip model acquisition unit 108 is configured to determine the model of the current driver chip according to the input, and can be directly input and set in the control program in actual applications. The drive voltage detection unit 109 is configured to detect and / or adjust the drive voltage value of the current display area and output it. In actual applications, the MCU pin can be used to directly output a voltage signal of a set amplitude or to achieve regulation and control of the drive voltage value through an amplifier circuit.
[0134] Correspondingly, the search display unit 104 is configured to be data-connected with the display content acquisition unit 101, the driver chip model acquisition unit 108, and the drive voltage detection unit 109, and is used to receive the content to be displayed and its corresponding display area, as well as the driver chip model and the display area drive voltage, and search and confirm the display refresh frequency or the required drive voltage of the current content to be displayed according to the association relationship stored in the fourth storage unit 107, and finally output the display content to the corresponding display area for display and refresh it at the above-mentioned display refresh frequency, or adjust the drive voltage of the display area to the required value.
[0135] The first storage unit 102, the second storage unit 103, the third storage unit 105 and the fourth storage unit 107 described in the implementation mode of the present application are preferably implemented by an external storage chip connected to the MCU data.
[0136] Finally, in order to facilitate further promotion and use of the time-division multiplexing-based display method described in this application, the embodiment of this application also discloses a computer-readable storage medium, on which is loaded a program module for implementing the steps of the time-division multiplexing-based display method as described above.
[0137] The above-mentioned computer-readable storage media include but are not limited to disk storage, CD-ROM, optical storage, etc.
[0138] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in the field can change, modify, replace and modify the above embodiments within the scope of the present application.
Claims
1. A display method based on time division multiplexing, characterized in that: A segment code display (300) for loading data via a display driver chip and selecting display areas via a control chip, comprising: Configuring different display refresh frequencies for different display locations of each display content on the segment code display (300) and storing them in association; Get the display content and its corresponding display location; Find and confirm the display refresh rate of the displayed content; Outputting the display content to the above-set display area for display, and refreshing the display at the above-mentioned display refresh frequency; The display content and its corresponding display location are obtained through direct input, or by parsing the currently input display information through a specific program.
2. The display method based on time division multiplexing according to claim 1, characterized in that: Different display refresh frequencies are configured for different display locations of each display content on the segment code display (300), including: Acquiring visual afterimage images after the display of each display content at different display locations on the segment code display (300) is terminated; Analyze and determine the restoration probability of the corresponding displayed content from the above-mentioned visual afterimage image restoration; Classifying each display content according to the above restoration probability; Configure different display refresh rates for different categories of display content; The display refresh frequency of the display content in the set display area is set in inverse proportion to the corresponding restoration probability.
3. The display method based on time division multiplexing according to claim 2, characterized in that: The display method further includes: According to the restoration probability corresponding to each display content, a minimum display refresh frequency f is configured for each display content in different display locations and stored in association; Obtain the content to be displayed and its required display duration and display location; According to the number of display areas N activated by the strobe, combined with the required display duration T, the display duration t allocated to each display area is calculated and generated, where t = T / N; According to the above display time t and the minimum display refresh frequency f of the display content in each display position, the number of refresh times M required for each display position during the display process is calculated, where M = t / f; Determine the activation order of each display position according to the refresh times M required for each display position; The content to be displayed, its display duration and display location are directly input or obtained by parsing the display information.
4. The display method based on time division multiplexing according to claim 2, characterized in that: The display method further includes: Acquire and store in association the display refresh frequencies corresponding to the display contents in different display areas under different ambient brightness conditions; Get the current content to be displayed and its corresponding display location; Detect and find and confirm the display refresh frequency of the above display content according to the current ambient brightness value; The display content is output to the above-set display area for display, and is refreshed and displayed at the found display refresh frequency.
5. The display method based on time division multiplexing according to claim 2, characterized in that: The display method further includes: Acquiring and storing the correlation between the luminous intensity and the display area driving voltage of each type of segment code display (300); Storing the correlation between the display refresh frequency of each display content and the luminous intensity of the segment code display (300); Get the current content to be displayed and its corresponding display location; Obtaining the model of the segment code display (300), detecting and searching and confirming the luminous intensity of the segment code display (300) and the display refresh frequency of the displayed content according to the driving voltage of the current display area; The display content is output to the corresponding display area for display, and is refreshed and displayed at the display refresh frequency found above.
6. The display method based on time division multiplexing according to claim 5, characterized in that: The display method further includes: Setting and storing the display refresh frequency of each display content in each display area; Get the current content to be displayed and its corresponding display location; The driving voltage of each display position is adjusted according to the correlation between the display refresh frequency of the display content and the luminous intensity of the segment code display (300), and the correlation between the luminous intensity of the segment code display (300) and the display position driving voltage.
7. A display system based on time-division multiplexing, characterized in that: The invention comprises a segment code display (300), a controller (100) and a display driver (200), and further comprises: A display content acquisition unit (101) is configured to acquire current information to be displayed and parse it through a specific program to obtain at least one display content and its corresponding display location, or directly determine it according to input content; A first storage unit (102) is configured to store display refresh frequencies corresponding to different display locations of each display content; A second storage unit (103) is configured to store each display content and its corresponding display location; A search display unit (104) is configured to search and confirm the display refresh frequency of the above-mentioned display content, output the display content to the above-mentioned corresponding display area for display, and refresh the display at the above-mentioned display refresh frequency.
8. The time-division multiplexing-based display system according to claim 7, characterized in that: The display system further comprises: A third storage unit (105) is configured to store in association the display refresh frequencies corresponding to the display contents in different display locations under different ambient brightness conditions; An environment brightness detection unit (106), configured to detect and output a current environment brightness value; The search and display unit (104) is correspondingly configured to be data-connected with the display content acquisition unit (101) and the ambient brightness detection unit (106), and is used to receive the content to be displayed and its corresponding display area, as well as the ambient brightness value output by the ambient brightness detection unit (106); according to the ambient brightness value, the display refresh frequency of the current content to be displayed is searched and confirmed from the third storage unit (105); the display content is output to the corresponding display area for display, and the display is refreshed at the above display refresh frequency.
9. The time-division multiplexing-based display system according to claim 7, characterized in that: The display system further comprises: A fourth storage unit (107) is configured to store in association the relationship between the luminous intensity of each type of segment code display (300) and the display area driving voltage, and the display refresh frequency of each display content; A driver chip model acquisition unit (108), configured to determine the model of the current driver chip according to the input; A driving voltage detection unit (109), configured to detect and / or adjust the driving voltage value of the current display area and output it; The search and display unit (104) is correspondingly configured to be data-connected with the display content acquisition unit (101), the driver chip model acquisition unit (108), and the drive voltage detection unit (109), and is used to receive the content to be displayed and its corresponding display area, as well as the driver chip model and the display area drive voltage, and to search and confirm the display refresh frequency or the required drive voltage of the current content to be displayed according to the association relationship stored in the fourth storage unit (107); The display content is output to the corresponding display area for display and refreshed at the display refresh frequency, or the driving voltage of the display area is adjusted to a desired value.
10. A computer-readable storage medium, characterized in that: A program module for implementing the time-division multiplexing-based display method as described in any one of claims 1 to 6 is loaded thereon.