Electric quantity display control method, circuit and device based on nixie tube display
Patent Information
- Application Number
- CN202610932304.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-06-25
- Publication Date
- 2026-10-16
AI Technical Summary
[0003]当前,基于数码管的电量显示方式多为每一数码管只显示预设固定数位的数值,以常见的两位数数码管为例,其通常包含两个独立的数码管单元,一个数码管单元用于显示十位数数值,另一个数码管单元用于显示个位数数值,实践发现,当前的电量显示方式存在电量显示不够突出、不便于用户快速、直观地聚焦于当前剩余电量值的问题
本发明实施例中,提供了一种基于数码管显示的电量显示控制方法、电路及设备,该方法应用于电量显示控制电路,该电量显示控制电路包括电量显示状态确定电路及显示驱动电路,电量显示状态确定电路的第一端用于电连接待显示电量设备,电量显示状态确定电路的第二端电连接显示驱动电路的第一端,显示驱动电路的第二端用于电连接数码管显示电路;此外,电量显示状态确定电路确定针对待显示电量设备的电量数据信息,并根据电量数据信息,判断数码管显示电路是否满足预设的特殊显示状态条件;当判断出数码管显示电路满足特殊显示状态条件时,电量显示状态确定电路根据电量数据信息,控制显示驱动电路对数码管显示电路执行相应的特殊居中显示驱动操作。可见,本发明能够通过电量显示状态确定电路判断数码管显示电路是否满足特殊显示状态条件,当判断结果为是时,通过电量显示状态确定电路控制显示驱动电路对数码管显示电路执行相应的特殊居中显示驱动操作,有利于提高基于数码管显示的电量显示控制方式的全面性及合理性,进而有利于提高特殊居中显示驱动操作的执行准确性和执行及时性,有利于提高电量显示的控制准确性及控制可靠性,从而有利于实现低电量居中显示效果进而解决低电量显示偏置的问题,提升视觉体验并且使得外观更加美观、专业,提高电量信息的易读性使得用户快速准确识别电量值、有效提升人机交互效率。
Smart Images

Figure CN122929907A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of digital tube display control technology, and in particular to a power display control method, circuit and device based on digital tube display. Background Technology
[0002] With the widespread use of portable electronic devices, users' demand for real-time awareness of the device's remaining battery power is increasing. Among these, the battery display, as one of the important interfaces for interaction between the device and the user, directly affects the user experience in terms of its intuitiveness and readability.
[0003] Currently, most power display methods based on digital tubes display a fixed number of digits per tube. For example, a common two-digit digital tube typically contains two independent units: one for displaying the tens digit and the other for displaying the units digit. However, practice has shown that current power display methods suffer from insufficient emphasis on the remaining battery level and make it difficult for users to quickly and intuitively focus on the remaining battery value. Therefore, providing a new power display control method based on digital tubes to address these existing technical problems is of paramount importance. Summary of the Invention
[0004] This invention provides a power display control method, circuit, and device based on digital tube display, which can realize the power display control function of centering the power level, improve the control accuracy and reliability of power level display, and thus improve the aesthetics, readability, and attention of digital tube power level display.
[0005] To address the aforementioned technical problems, the first aspect of this invention discloses a power display control method based on a digital tube display. The method is applied to a power display control circuit, which includes a power display state determination circuit and a display driving circuit. A first terminal of the power display state determination circuit is electrically connected to a device whose power level is to be displayed. A second terminal of the power display state determination circuit is electrically connected to the first terminal of the display driving circuit, and the second terminal of the display driving circuit is electrically connected to a digital tube display circuit. The method includes: The power display status determination circuit determines the power data information of the device to be displayed, and determines whether the digital tube display circuit meets the preset special display status conditions based on the power data information. When it is determined that the digital tube display circuit meets the special display state conditions, the power display state determination circuit controls the display driving circuit to perform a corresponding special centering display driving operation on the digital tube display circuit according to the power data information.
[0006] As an optional implementation, in the first aspect of the present invention, the power display status determination circuit includes a power metering module and a main control module, wherein: The first end of the power metering module is used to electrically connect to the power device to be displayed, the second end of the power metering module is electrically connected to the first end of the main control module, and the second end of the main control module is electrically connected to the first end of the display driving circuit. Furthermore, the power display status determination circuit determines, based on the power data information, whether the digital tube display circuit meets preset special display status conditions, including: The main control module determines the required number of display digits corresponding to the digital tube display circuit and the configured number of display digits corresponding to the digital tube display circuit based on the power data information received from the power metering module. The digital tube display circuit includes multiple digital tube units, each digital tube unit corresponds to one number of digits, and the configured number of display digits is the total number of digits corresponding to all digital tube units. The main control module determines whether the required number of display positions matches the configured number of display positions. When it is determined that the required number of display positions matches the configured number of display positions, the main control module determines that the digital tube display circuit does not meet the preset special display state conditions; When it is determined that the required number of display positions does not match the configured number of display positions, the main control module determines that the digital tube display circuit meets the preset special display state conditions.
[0007] As an optional implementation, in the first aspect of the present invention, the method further includes: When it is determined that the required number of display positions does not match the configured number of display positions, the main control module determines the power value information for multiple consecutive target sampling periods; The main control module determines whether all target sampling periods meet the preset switching display mode triggering conditions based on the power value information of each target sampling period. When it is determined that all the target sampling periods meet the switching display mode triggering condition, the main control module executes the step of determining that the digital tube display circuit meets the preset special display state condition; When it is determined that not all of the target sampling periods meet the switching display mode triggering condition, the main control module determines that the digital tube display circuit does not meet the preset special display state condition.
[0008] As an optional implementation, in the first aspect of the present invention, the main control module determines whether all target sampling periods satisfy a preset switching display mode trigger condition based on the power value information of each target sampling period, including: The main control module determines whether the power value of each target sampling period is less than a preset power value threshold. When it is determined that the power value of each target sampling period is less than the power value threshold, the main control module determines that all target sampling periods meet the preset switching display mode trigger condition. When it is determined that the power value is not less than the power value threshold in every target sampling period, the main control module determines that not all target sampling periods meet the preset switching display mode trigger condition.
[0009] As an optional implementation, in the first aspect of the present invention, the power display status determination circuit controls the display driving circuit to perform a corresponding special centering display driving operation on the digital tube display circuit according to the power data information, including: When the number of configured display bits is greater than the number of required display bits, the main control module determines the numerical information of the actual power bit value based on the power data information, and determines the first digital tube segment code information of the actual power bit value based on the numerical information. The main control module determines the expected centering display position value for special centering display based on the configured display position number and the required display position number, and generates a first driving signal based on the expected centering display position value and the first digital tube segment code information, and outputs the first driving signal to the display driving circuit. The display driving circuit outputs a driving current matching the first digital tube segment code to the digital tube unit in the digital tube display circuit that corresponds to the expected center display position value according to the first driving signal, so that the digital tube unit corresponding to the expected center display position value displays the first digital tube segment code. The main control module determines the target non-display bit value based on the configured display bit number and the required display bit number, generates a first control signal based on the target non-display bit value, and outputs the first control signal to the display driving circuit. According to the first control signal, the display driving circuit does not output driving current to the digital tube unit in the digital tube display circuit that corresponds to the target digit value that does not need to be displayed.
[0010] As an optional implementation, in the first aspect of the present invention, the power display status determination circuit controls the display driving circuit to perform a corresponding special centering display driving operation on the digital tube display circuit according to the power data information, including: When the configured display digit number is two digits and the required display digit number is one digit, the main control module determines the second digital tube segment code information for the unit digit value based on the power data information. The main control module generates a second driving signal for the tens digit based on the segment code information of the second digital tube, and outputs the second driving signal to the display driving circuit. The display driving circuit outputs a driving current matching the second digital tube segment code to the tens-digit digital tube unit included in the digital tube display circuit according to the second driving signal, so that the tens-digit digital tube unit displays the second digital tube segment code. The main control module generates a second control signal for the units digit value and outputs the second control signal to the display driving circuit; According to the second control signal, the display driving circuit does not output driving current to the unit value digital tube unit included in the digital tube display circuit.
[0011] As an optional implementation, in the first aspect of the present invention, the method further includes: When it is determined that the digital tube display circuit does not meet the special display state conditions, the power display state determination circuit controls the display driving circuit to perform corresponding conventional display driving operations on the digital tube display circuit according to the power data information. Furthermore, the power display status determination circuit, based on the power data information, controls the display driving circuit to perform corresponding conventional display driving operations on the digital tube display circuit, including: When the configured display number of bits is equal to the required display number of bits, the main control module determines the third digital tube segment code information of the actual power bit value based on the power data information. The main control module generates a third driving signal based on the third digital tube segment code information of the actual power value, and outputs the third driving signal to the display driving circuit. The display driving circuit outputs a driving current matching the third digital tube segment code to the digital tube unit in the digital tube display circuit corresponding to the actual power position according to the third driving signal, so that the digital tube unit corresponding to the actual power position displays the third digital tube segment code.
[0012] As an optional implementation, in the first aspect of the present invention, the power display status determination circuit controls the display driving circuit to perform corresponding conventional display driving operations on the digital tube display circuit based on the power data information, including: When both the configured display number of digits and the required display number of digits are two digits, the main control module determines the fourth digital tube segment code information for the tens digit and the fifth digital tube segment code information for the units digit based on the power data information. The main control module generates a fourth driving signal based on the fourth digital tube segment code information and the fifth digital tube segment code information, and outputs the fourth driving signal to the display driving circuit. The display driving circuit outputs a driving current matching the fourth digital tube segment code to the tens digit digital tube unit in the digital tube display circuit according to the fourth driving signal, and outputs a driving current matching the fifth digital tube segment code to the units digit digital tube unit in the digital tube display circuit, so that the tens digit digital tube unit displays the fourth digital tube segment code and the units digit digital tube unit displays the fifth digital tube segment code.
[0013] As an optional implementation, in a first aspect of the present invention, the power display status determination circuit determines power data information for the device whose power is to be displayed, including: The power metering module performs corresponding power detection and signal processing operations on the power device to be displayed to obtain power data information, and outputs the power data information to the main control module.
[0014] A second aspect of this invention discloses a power display control circuit based on a digital tube display, the power display control circuit including a power display status determination circuit and a display driving circuit, wherein: The first terminal of the power display status determination circuit is electrically connected to the device whose power is to be displayed, the second terminal of the power display status determination circuit is electrically connected to the first terminal of the display driving circuit, and the second terminal of the display driving circuit is electrically connected to the digital tube display circuit. The power display status determination circuit is used to determine the power data information of the device to be displayed, and to determine whether the digital tube display circuit meets the preset special display status conditions based on the power data information. The power display status determination circuit is also used to control the display driving circuit to perform a corresponding special centering display driving operation on the digital tube display circuit according to the power data information when it is determined that the digital tube display circuit meets the special display status conditions.
[0015] As an optional implementation, in a second aspect of the present invention, the power display status determination circuit includes a power metering module and a main control module, wherein: The first end of the power metering module is used to electrically connect to the power device to be displayed, the second end of the power metering module is electrically connected to the first end of the main control module, and the second end of the main control module is electrically connected to the first end of the display driving circuit. Furthermore, the method by which the power display status determination circuit determines whether the digital tube display circuit meets the preset special display status conditions based on the power data information specifically includes: The main control module determines the required number of display digits corresponding to the digital tube display circuit and the configured number of display digits corresponding to the digital tube display circuit based on the power data information received from the power metering module. The digital tube display circuit includes multiple digital tube units, each digital tube unit corresponds to one number of digits, and the configured number of display digits is the total number of digits corresponding to all digital tube units. The main control module determines whether the required number of display positions matches the configured number of display positions. When it is determined that the required number of display positions matches the configured number of display positions, the main control module determines that the digital tube display circuit does not meet the preset special display state conditions; When it is determined that the required number of display positions does not match the configured number of display positions, the main control module determines that the digital tube display circuit meets the preset special display state conditions.
[0016] As an optional implementation, in a second aspect of the present invention, the main control module is further configured to: determine the power value information of multiple consecutive target sampling periods when it is determined that the number of required display positions does not match the number of configured display positions; determine, based on the power value information of each target sampling period, whether all target sampling periods satisfy a preset display mode switching trigger condition; determine that the digital tube display circuit satisfies a preset special display state condition when it is determined that all target sampling periods satisfy the display mode switching trigger condition; and determine that the digital tube display circuit does not satisfy the preset special display state condition when it is determined that not all target sampling periods satisfy the display mode switching trigger condition.
[0017] As an optional implementation, in the second aspect of the present invention, the method by which the main control module determines whether all target sampling periods satisfy the preset switching display mode triggering condition based on the power value information of each target sampling period specifically includes: The main control module determines whether the power value of each target sampling period is less than a preset power value threshold. When it is determined that the power value of each target sampling period is less than the power value threshold, the main control module determines that all target sampling periods meet the preset switching display mode trigger condition. When it is determined that the power value is not less than the power value threshold in every target sampling period, the main control module determines that not all target sampling periods meet the preset switching display mode trigger condition.
[0018] As an optional implementation, in a second aspect of the present invention, the method by which the power display status determination circuit controls the display driving circuit to perform a corresponding special centering display driving operation on the digital tube display circuit based on the power data information specifically includes: When the number of configured display bits is greater than the number of required display bits, the main control module determines the numerical information of the actual power bit value based on the power data information, and determines the first digital tube segment code information of the actual power bit value based on the numerical information. The main control module determines the expected centering display position value for special centering display based on the configured display position number and the required display position number, and generates a first driving signal based on the expected centering display position value and the first digital tube segment code information, and outputs the first driving signal to the display driving circuit. The display driving circuit outputs a driving current matching the first digital tube segment code to the digital tube unit in the digital tube display circuit that corresponds to the expected center display position value according to the first driving signal, so that the digital tube unit corresponding to the expected center display position value displays the first digital tube segment code. The main control module determines the target non-display bit value based on the configured display bit number and the required display bit number, generates a first control signal based on the target non-display bit value, and outputs the first control signal to the display driving circuit. According to the first control signal, the display driving circuit does not output driving current to the digital tube unit in the digital tube display circuit that corresponds to the target digit value that does not need to be displayed.
[0019] As an optional implementation, in a second aspect of the present invention, the method by which the power display status determination circuit controls the display driving circuit to perform a corresponding special centering display driving operation on the digital tube display circuit based on the power data information specifically includes: When the configured display digit number is two digits and the required display digit number is one digit, the main control module determines the second digital tube segment code information for the unit digit value based on the power data information. The main control module generates a second driving signal for the tens digit based on the segment code information of the second digital tube, and outputs the second driving signal to the display driving circuit. The display driving circuit outputs a driving current matching the second digital tube segment code to the tens-digit digital tube unit included in the digital tube display circuit according to the second driving signal, so that the tens-digit digital tube unit displays the second digital tube segment code. The main control module generates a second control signal for the units digit value and outputs the second control signal to the display driving circuit; According to the second control signal, the display driving circuit does not output driving current to the unit value digital tube unit included in the digital tube display circuit.
[0020] As an optional implementation, in a second aspect of the present invention, the power display state determination circuit is further configured to, when it is determined that the digital tube display circuit does not meet the special display state conditions, control the display driving circuit to perform corresponding conventional display driving operations on the digital tube display circuit according to the power data information; Furthermore, the method by which the power display status determination circuit controls the display driving circuit to perform corresponding conventional display driving operations on the digital tube display circuit based on the power data information specifically includes: When the configured display number of bits is equal to the required display number of bits, the main control module determines the third digital tube segment code information of the actual power bit value based on the power data information. The main control module generates a third driving signal based on the third digital tube segment code information of the actual power value, and outputs the third driving signal to the display driving circuit. The display driving circuit outputs a driving current matching the third digital tube segment code to the digital tube unit in the digital tube display circuit corresponding to the actual power position according to the third driving signal, so that the digital tube unit corresponding to the actual power position displays the third digital tube segment code.
[0021] As an optional implementation, in a second aspect of the present invention, the method by which the power display status determination circuit controls the display driving circuit to perform corresponding conventional display driving operations on the digital tube display circuit based on the power data information specifically includes: When both the configured display number of digits and the required display number of digits are two digits, the main control module determines the fourth digital tube segment code information for the tens digit and the fifth digital tube segment code information for the units digit based on the power data information. The main control module generates a fourth driving signal based on the fourth digital tube segment code information and the fifth digital tube segment code information, and outputs the fourth driving signal to the display driving circuit. The display driving circuit outputs a driving current matching the fourth digital tube segment code to the tens digit digital tube unit in the digital tube display circuit according to the fourth driving signal, and outputs a driving current matching the fifth digital tube segment code to the units digit digital tube unit in the digital tube display circuit, so that the tens digit digital tube unit displays the fourth digital tube segment code and the units digit digital tube unit displays the fifth digital tube segment code.
[0022] As an optional implementation, in a second aspect of the present invention, the method by which the power display status determination circuit determines the power data information for the device to be displayed specifically includes: The power metering module performs corresponding power detection and signal processing operations on the power device to be displayed to obtain power data information, and outputs the power data information to the main control module.
[0023] The third aspect of the present invention discloses a power display control device, the power display control device including a device body, and the power display control device further including the power display control circuit based on digital tube display as described in any of the second aspects.
[0024] Compared with the prior art, the embodiments of the present invention have the following beneficial effects: This invention provides a power display control method, circuit, and device based on a digital tube display. The method is applied to a power display control circuit, which includes a power display state determination circuit and a display driving circuit. A first terminal of the power display state determination circuit is electrically connected to the device whose power is to be displayed, and a second terminal of the power display state determination circuit is electrically connected to the first terminal of the display driving circuit. The second terminal of the display driving circuit is electrically connected to the digital tube display circuit. Furthermore, the power display state determination circuit determines the power data information of the device whose power is to be displayed and, based on the power data information, determines whether the digital tube display circuit meets preset special display state conditions. When it is determined that the digital tube display circuit meets the special display state conditions, the power display state determination circuit, based on the power data information, controls the display driving circuit to perform a corresponding special centering display driving operation on the digital tube display circuit. As can be seen, this invention can determine whether the digital tube display circuit meets the special display state conditions through the power display state determination circuit. When the determination result is yes, the power display state determination circuit controls the display driving circuit to perform the corresponding special centering display driving operation on the digital tube display circuit. This is beneficial to improving the comprehensiveness and rationality of the power display control method based on digital tube display, thereby improving the execution accuracy and timeliness of the special centering display driving operation, improving the control accuracy and reliability of power display, and thus achieving the low power centering display effect, thereby solving the problem of low power display offset, improving the visual experience and making the appearance more beautiful and professional, improving the readability of power information, enabling users to quickly and accurately identify the power value, and effectively improving the efficiency of human-computer interaction. Attached Figure Description
[0025] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0026] Figure 1 This is a flowchart illustrating a power display control method based on a digital tube display disclosed in an embodiment of the present invention; Figure 2 This is a schematic diagram of a power display control circuit based on a digital tube display disclosed in an embodiment of the present invention; Figure 3 This is a schematic diagram of another power display control circuit based on a digital tube display disclosed in an embodiment of the present invention; Figure 4 This is a schematic diagram of the structure of a power metering module disclosed in an embodiment of the present invention; Figure 5This is a schematic diagram of the structure of a main control module disclosed in an embodiment of the present invention; Figure 6 This is a schematic diagram of the structure of a display driving circuit disclosed in an embodiment of the present invention; Figure 7 This is a schematic diagram of the structure of an overcharge and over-discharge protection circuit disclosed in an embodiment of the present invention; Figure 8 This is a schematic diagram of the structure of a power display control device disclosed in an embodiment of the present invention. Detailed Implementation
[0027] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0028] The terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish different objects, not to describe a specific order. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. Those skilled in the art will understand the specific meaning of the above terms in this invention according to the specific circumstances. For example, a process, method, apparatus, product, or end that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or ends.
[0029] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of the invention. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0030] It should be noted that, unless otherwise explicitly specified and limited, the term "electrical connection" in the specification, claims and accompanying drawings of this invention should be interpreted broadly. For example, it can be a fixed electrical connection, a detachable electrical connection, or an integral electrical connection; it can be a mechanical electrical connection, an electrical connection, or a connection that allows communication between the two; it can be a direct connection or an indirect connection through an intermediate medium; it can be a connection within two elements or an interaction between two elements.
[0031] This invention discloses a power display control method, circuit, and device based on a digital tube display. It can determine whether the digital tube display circuit meets special display state conditions through a power display state determination circuit. When the determination result is yes, the power display state determination circuit controls the display driving circuit to perform a corresponding special centering display driving operation on the digital tube display circuit. This improves the comprehensiveness and rationality of the power display control method based on the digital tube display, thereby improving the accuracy and timeliness of the special centering display driving operation, enhancing the control accuracy and reliability of the power display, achieving a centered display effect for low power levels, solving the problem of low power display offset, improving the visual experience, making the appearance more aesthetically pleasing and professional, improving the readability of power information, enabling users to quickly and accurately identify power values, and effectively improving human-computer interaction efficiency. Detailed descriptions follow.
[0032] Example 1 Please see Figure 1 , Figure 1 This is a flowchart illustrating a power display control method based on a digital tube display disclosed in an embodiment of the present invention. The method is applied to a power display control circuit, which includes a power display status determination circuit and a display driving circuit, wherein: The first terminal of the power display status determination circuit is used to electrically connect to the device whose power is to be displayed, and the second terminal of the power display status determination circuit is electrically connected to the first terminal of the display driving circuit. The second terminal of the display driving circuit is used to electrically connect to the digital tube display circuit. like Figure 1 As shown, the method may include the following steps: 101. The power display status determination circuit determines the power data information of the device to be displayed, and judges whether the digital tube display circuit meets the preset special display status conditions based on the power data information.
[0033] Optionally, the power data information of the device to be displayed may be battery power data information, system power data information, etc., and this embodiment of the invention does not limit it.
[0034] Optionally, the special display state condition can be understood as the center-display state condition, which is not limited in the embodiments of the present invention.
[0035] 102. When it is determined that the digital tube display circuit meets the special display state conditions, the power display state determination circuit controls the display driver circuit to perform the corresponding special centering display drive operation on the digital tube display circuit according to the power data information.
[0036] Optionally, for example: when the digital tube display circuit meets the special display state conditions, the digital tube display circuit displays the power value in a centered display state. This embodiment of the invention does not limit this.
[0037] Optionally, for example: when the power data indicates that the power value is less than 10 (i.e., 0-9), the main control module in the power display status determination circuit outputs the seven-segment decoded code corresponding to the units digit (e.g., "8") simultaneously and only to the driving channel of the tens digit tube. Furthermore, the main control module shuts down or ignores the driving channel of the units digit tube to keep the units digit tube off. Finally, on the user's visual interface, the units digit "8" will be displayed in the position that originally belonged to the tens digit tube (i.e., the left side), while the units digit tube area on the right side is off. If the digital tube itself has a fixed decimal point or percent sign, they can still be displayed normally. In terms of overall appearance, the significant digit "8" is roughly located in the center of the display area composed of the two digital tubes, achieving centered display. This embodiment of the invention is not limited to this.
[0038] Optionally, the digital tube display circuit can be a complete digital tube or a TFT screen, etc., and the embodiments of the present invention are not limited thereto.
[0039] It is evident that implementation Figure 1 The described power display control method based on digital tube display can determine whether the digital tube display circuit meets the special display state conditions through the power display state determination circuit. When the determination result is yes, the power display state determination circuit controls the display driver circuit to perform the corresponding special centering display drive operation on the digital tube display circuit. This is beneficial to improving the comprehensiveness and rationality of the power display control method based on digital tube display, thereby improving the execution accuracy and timeliness of the special centering display drive operation, improving the control accuracy and reliability of power display, and thus achieving the low power centering display effect, solving the problem of low power display offset, improving the visual experience and making the appearance more beautiful and professional, improving the readability of power information, enabling users to quickly and accurately identify the power value, and effectively improving the efficiency of human-computer interaction.
[0040] In an optional embodiment, the power display status determination circuit includes a power metering module and a main control module, wherein: The first end of the power metering module is used to electrically connect to the device whose power is to be displayed, the second end of the power metering module is electrically connected to the first end of the main control module, and the second end of the main control module is electrically connected to the first end of the display driver circuit. In addition, the power display status determination circuit determines whether the digital tube display circuit meets preset special display status conditions based on the power data information, including: The main control module determines the required number of display digits for the digital tube display circuit based on the power data information received from the power metering module, and also determines the configured number of display digits for the digital tube display circuit. The digital tube display circuit includes multiple digital tube units, each of which corresponds to one number of digits. The configured number of display digits is the total number of digits corresponding to all digital tube units. The main control module determines whether the required number of display positions matches the configured number of display positions. When it is determined that the required number of display positions matches the configured number of display positions, the main control module determines that the digital tube display circuit does not meet the preset special display state conditions. When it is determined that the required number of display digits does not match the configured number of display digits, the main control module determines that the digital tube display circuit meets the preset special display state conditions.
[0041] Optionally, the power data information and the number of display digits are as follows: when the power data information indicates that the power is "18", then the number of display digits is two; when the power data information indicates that the power is "5", then the number of display digits is one; when the power data information indicates that the power is "100", then the number of display digits is three, and so on. The embodiments of the present invention are not limited.
[0042] Optionally, the number of display digits corresponding to the digital tube display circuit can be understood as the maximum number of digits that the digital tube display circuit can display, such as a maximum of one digit, a maximum of two digits, a maximum of three digits, etc. This embodiment of the invention does not limit the number of digits.
[0043] Further optionally, the above determination of whether the required number of display bits matches the configured number of display bits may include: When the required number of display bits is the same as the configured number of display bits, determine that the required number of display bits matches the configured number of display bits. When the required number of display bits is less than the configured number of display bits, it is determined that the required number of display bits and the configured number of display bits do not match.
[0044] Optionally, when the number of required display digits is less than the number of configured display digits, special centered display is performed; when the number of required display digits is equal to the number of configured display digits, normal display is performed, that is, each digital tube unit displays its normal digit value. This embodiment of the invention does not limit this.
[0045] Optionally, the above-mentioned digital tube display circuit includes multiple digital tube units, each digital tube unit corresponding to one number of digits. The number of display digits is configured to be the total number of digits corresponding to all digital tube units. For example, when the digital tube display circuit includes two independent digital tube units, the two digital tube units are conventionally used to display the tens digit and the units digit, respectively, and the total number of digits is two digits. When the digital tube display circuit includes four independent digital tube units, the four digital tube units are conventionally used to display the thousands digit, hundreds digit, tens digit, and units digit, respectively, and the total number of digits is four digits. Other cases can be obtained in the same way. This embodiment of the invention does not limit the scope of the invention.
[0046] As can be seen, this optional embodiment can determine the required number of display bits and the configured number of display bits through the main control module, and determine the matching situation between the required number of display bits and the configured number of display bits, thereby determining the result of the special display state condition being met. This is beneficial to improving the comprehensiveness and rationality of the method for determining the result of the special display state condition being met, and thus beneficial to improving the accuracy and reliability of the determined result of the special display state condition being met. In this way, it is beneficial to improve the accuracy and reliability of the determination of the power display state and the execution of the display operation triggered by the result of the special display state condition being met.
[0047] In another alternative embodiment, the method may further include the following operations: When it is determined that the required number of display positions does not match the configured number of display positions, the main control module determines the power value information for multiple consecutive target sampling periods; The main control module determines whether all target sampling periods meet the preset display mode switching trigger conditions based on the power value information of each target sampling period. When it is determined that all target sampling periods meet the switching display mode triggering conditions, the main control module executes the step of determining that the digital tube display circuit meets the preset special display state conditions; When it is determined that not all target sampling periods meet the trigger conditions for switching display modes, the main control module determines that the digital tube display circuit does not meet the preset special display state conditions.
[0048] Optionally, to improve reliability, a power threshold (such as 10%) can be set in the software logic, and an anti-shake algorithm can be added (such as switching modes only when the power is less than the threshold for N consecutive sampling cycles) to avoid frequent changes in the display status when the power fluctuates near the threshold. This embodiment of the invention does not impose any limitations.
[0049] Furthermore, the above-mentioned determination of whether all target sampling periods meet the preset display mode switching trigger conditions based on the power value information of each target sampling period may include: Determine whether the power value of each target sampling period is less than the preset power value threshold; When it is determined that the power value of each target sampling period is less than the power value threshold, it is determined that all target sampling periods meet the preset display mode switching trigger condition. When it is determined that not every target sampling period is less than the power value threshold, it is determined that not all target sampling periods meet the trigger condition for switching display modes.
[0050] Optionally, the above-mentioned power threshold can be determined based on a value that will cause a change in the number of digits, such as 10, 100, 1000, etc. Changes from 10 to 9, from 100 to 99, from 1000 to 999, etc. will all cause a change in the number of digits. This embodiment of the invention does not limit this.
[0051] Optionally, the power value information of the target sampling period can be determined based on the power data information of the target sampling period, and this embodiment of the invention does not limit it.
[0052] As can be seen, this optional embodiment can further determine the result of the switching display mode trigger condition for all target sampling periods when the main control module determines that the number of required display bits does not match the number of configured display bits. By determining the result of the special display state condition satisfaction based on the display bit number matching and the result of the switching display mode trigger condition satisfaction, it is beneficial to improve the comprehensiveness, rationality, and progressiveness of the method for determining the result of the special display state condition satisfaction. It is also beneficial to improve the diversity and flexibility of the method for determining the result of the special display state condition satisfaction, thereby improving the accuracy and reliability of the determined result of the special display state condition satisfaction. Furthermore, it provides a mode switching anti-shake function to avoid frequent changes in the display state when the battery level fluctuates near the threshold. This improves the accuracy and reliability of switching power display status, thereby enhancing the stability of the power display status and reducing wear and tear caused by frequent switching of the digital tube display circuit. Furthermore, it can determine the result of meeting the switching display mode triggering conditions for all target sampling periods based on the comparison between the power value of each target sampling period and the preset power value threshold. This improves the comprehensiveness and rationality of the method for determining the switching display mode triggering conditions, thereby enhancing the accuracy and reliability of the determined switching display mode triggering conditions. Ultimately, this improves the accuracy and reliability of subsequent special or regular display operations triggered based on the switching display mode triggering conditions.
[0053] In another optional embodiment, the power display status determination circuit controls the display driving circuit to perform a corresponding special centering display driving operation on the digital tube display circuit based on the power data information, which may include: When the number of display digits configured is greater than the number of display digits required, the main control module determines the actual power digit value based on the power data information, and determines the first digital tube segment code information of the actual power digit value based on the value information. The main control module determines the expected centering display position value for special centering display based on the configured display position number and the required display position number, and generates the first driving signal based on the expected centering display position value and the first digital tube segment code information, and outputs the first driving signal to the display driving circuit. According to the first driving signal, the display driving circuit outputs a driving current that matches the first digital tube segment code to the digital tube unit in the digital tube display circuit that corresponds to the expected center display position value, so that the digital tube unit corresponding to the expected center display position value displays the first digital tube segment code. The main control module determines the target non-display bit value based on the configured display bit number and the required display bit number, and generates a first control signal based on the target non-display bit value, and outputs the first control signal to the display driver circuit; According to the first control signal, the display driving circuit does not output driving current to the digital tube unit in the digital tube display circuit that corresponds to the target digit value that does not need to be displayed.
[0054] Optionally, the above-mentioned digital tube display circuit outputs a driving current that matches the first digital tube segment code to the digital tube unit corresponding to the expected center display value. For example, the digital tube unit corresponding to the expected center display value can be displayed and illuminated according to the first digital tube segment code. This embodiment of the invention does not limit the scope of the invention.
[0055] Optionally, the actual battery level, the configured number of display digits, the required number of display digits, and the expected center display digit can be configured. For example, when the battery level is 8, the actual battery level is the units digit. The first segment code of the actual battery level can be understood as the segment code for the units digit 8. Further, if the configured number of display digits is two, the expected center display digit is the tens digit, and the tens digit displays the segment code for the units digit 8. In this case, the tens digit unit displays "8" and the units digit unit is turned off (i.e., the units digit unit does not display). If the configured number of display digits is three, the expected center display digit is the tens digit, and the tens digit displays the segment code for the units digit 8. In this case, the tens digit unit displays "8" and the units and hundreds digit units are turned off. If the configured number of display digits is four, the expected center display digit is the hundreds digit, and the hundreds digit displays the segment code for the units digit 8. In this case, the tens digit unit displays "8" and the units and hundreds digit units are turned off. The hundreds digit LED display unit displays "8" while the thousands, tens, and units digit LED displays are turned off. When the number of display digits is configured to be five, the expected centered display digit is the hundreds digit, and the hundreds digit displays the units digit 8. In this case, the hundreds digit LED display unit displays "8" while the ten-thousands, thousands, tens, and units digit LED displays are turned off. Furthermore, for example, when the power data information corresponds to a power value of 20, the actual power position is the units and tens digits. The first LED display segment code information of the actual power value can be understood as the tens digit 2 and the units digit 0. Further, when the number of display digits is configured to be four, the expected centered display digits are the hundreds and tens digits. The hundreds digit of the expected centered display digit displays the tens digit 2, and the tens digit of the expected centered display digit displays the units digit 0. Other cases can be obtained similarly, and this embodiment of the invention is not limited.
[0056] Furthermore, the determination of the expected centering display position value for special centering display based on the configured display position number and the required display position number may include: Determine the number of centered display positions based on the configured number of display positions; When the number of centered display positions is equal to the number of required display positions or the number of centered display positions is an integer multiple of the number of required display positions, the first target centered display position that is the most centrally located in the configuration display position set and matches the number of required display positions is determined according to the configuration display position set corresponding to the digital tube display circuit, and the first target centered display position is determined as the expected centered display position value for special centered display. When the number of centered display positions is not an integer multiple of the number of required display positions, the second target centered display position that is more central and matches the number of required display positions is determined according to the configuration display position set corresponding to the digital tube display circuit, and the second target centered display position is determined as the expected centered display position value for special centered display.
[0057] Optionally, the number of centered display positions can be understood as the number of centered display positions among all configured display positions. Further, for example: when the number of configured display positions is 2, the number of centered display positions is 2; when the number of configured display positions is 3, the number of centered display positions is 1 or 3; when the number of configured display positions is 4, the number of centered display positions is 2 or 4; when the number of configured display positions is 5, the number of centered display positions is 1, 3, or 5, and so on. This embodiment of the invention does not impose any limitations.
[0058] Optionally, the number of centered display digits must be an integer multiple of the required number of display digits. For example, if the number of centered display digits is 2 or 4 and the required number of display digits is 2, then the number of centered display digits is twice the required number of display digits (an integer multiple). In this case, the hundreds and tens digits in the configuration will be the centered display digits (perfectly centered). Assuming the battery data corresponds to a battery value of 20, then the hundreds digit display unit will display "2" and the tens digit display unit will display "0," while the units and thousands digit display units will be turned off. For example, if the number of centered display positions is 1 or 3 and the number of required display positions is 1, then the number of centered display positions is one or three times the number of required display positions (in integer multiples). In this case, the tens digit in the configured display positions is the centered display position (most perfectly centered). Assuming that the power value corresponding to the power data information is 2, then the tens digit display unit is controlled to display "2" and the hundreds digit display unit and the units digit display unit are turned off. The same principle applies to the determination of the centered display position for other configured display position numbers and required display position numbers. This embodiment of the invention does not limit the scope of the invention.
[0059] Optionally, the number of centered display positions is not an integer multiple of the required number of display positions. For example, if the number of centered display positions is 4 and the required number of display positions is 1, then the hundreds digit in the configured display positions is the relatively centered position. Similarly, if the number of centered display positions is 3 and the required number of display positions is 2, then the hundreds and tens digits in the configured display positions are the relatively centered positions, and so on. Furthermore, a relatively centered display position in the configured display position set can be understood as a display position whose left and right edge display positions are as similar as possible and relatively to the left. For further example: assuming the number of centered display positions is 4 and the battery data corresponds to a battery value of "2" (i.e., the required number of display positions is 1), then the hundreds digit display unit will be controlled to display "2," while the thousands digit display unit and the tens digit display unit will be turned off. The system includes a thousands digit display unit and a units digit display unit. Assuming the number of centered display digits is 4 and the power value corresponding to the power data is "100" (i.e., the required number of display digits is 3), then the thousands digit display unit displays "1", the hundreds digit display unit displays "0", the tens digit display unit displays "0", and the units digit display unit is turned off. Similarly, assuming the number of centered display digits is 3 and the power value corresponding to the power data is "20" (i.e., the required number of display digits is 2), then the hundreds digit display unit displays "2", the tens digit display unit displays "0", and the units digit display unit is turned off. The method for determining the centered display digit for other configurations and required display digit values is similar, and this embodiment of the invention does not impose limitations.
[0060] Further optionally, the main control module can determine the target non-displayable bit values based on the configured display bit count and the required display bit count, which may include: When the number of configured display bits exceeds the number of required display bits, the main control module determines the other display bit values in the digital tube display circuit besides the expected centered display bit value as the target unnecessary display bit values.
[0061] Optionally, the above-mentioned method of not outputting drive current to the digital tube unit in the digital tube display circuit corresponding to the target digit value that does not need to be displayed can be illustrated by the following example: the digital tube unit in the digital tube display circuit corresponding to the target digit value that does not need to be displayed is not displayed or lit, that is, the channel driving the digital tube unit corresponding to the target digit value that does not need to be displayed is turned off or ignored, so that the digital tube unit corresponding to the target digit value that does not need to be displayed remains in an off state. This embodiment of the present invention does not limit the method.
[0062] As can be seen, this optional embodiment can match a special centering display control method when the number of configured display bits is greater than the number of required display bits. It determines the expected centering display bit value based on the configured and required display bits, and performs the corresponding special centering display operation based on the expected centering display bit value and the first digital tube segment code information. This improves the comprehensiveness and rationality of the special centering display control method, enhances its targeting and fit, and consequently improves the accuracy and reliability of the special centering display in the digital tube display circuit, thus achieving a centering display effect. Furthermore, it can also match a display control method for digital tube units with non-display bit values when the number of configured display bits is not equal to the required number of display bits. It determines the target unnecessary display bit value and controls the display driving circuit not to output driving current to the digital tube unit in the digital tube display circuit corresponding to the target unnecessary display bit value. This improves the comprehensiveness and rationality of the display control method for non-display bit value digital tube units, thereby improving the accuracy, targeting, and reliability of the display control for non-display bit value digital tube units, keeping the non-display bit value digital tube units in an off state, and improving the display accuracy and reliability of the digital tube units.
[0063] In another optional embodiment, the power display status determination circuit controls the display driving circuit to perform a corresponding special centering display driving operation on the digital tube display circuit based on the power data information, which may include: When the number of display digits is configured to be two digits and the number of display digits required is one digit, the main control module determines the second digital tube segment code information for the units digit value based on the power data information. The main control module generates a second driving signal for the tens digit based on the segment code information of the second digital tube, and outputs the second driving signal to the display driving circuit. The display driving circuit outputs a driving current that matches the segment code of the second digital tube to the tens digit digital tube unit included in the digital tube display circuit according to the second driving signal, so that the tens digit digital tube unit displays the segment code of the second digital tube. The main control module generates a second control signal for the units digit and outputs the second control signal to the display driver circuit; According to the second control signal, the display driver circuit does not output drive current to the unit value digital tube unit included in the digital tube display circuit.
[0064] Optionally, for example: when the power value is 2, that is, including the units digit (2), that is, the number of display digits required is 1, and the number of display digits configured is two, that is, including the tens digit and the units digit, then special centering display is required. For example, the units digit value 2 is displayed through the tens digit to achieve special centering display. The same applies to other cases. This embodiment of the invention does not limit the scope.
[0065] Optionally, configuring the number of display digits to be two digits can be understood as configuring the display digits to be tens and units, and requiring the number of display digits to be one digit can be understood as requiring the display digits to be units. This embodiment of the invention does not impose any limitations.
[0066] Optionally, the above-mentioned digital tube display circuit outputs a driving current to the tens digit digital tube unit that matches the second digital tube segment code. For example, the tens digit digital tube unit can be illuminated and illuminated according to the second digital tube segment code. This embodiment of the invention does not limit the scope of the invention.
[0067] Optionally, the above-mentioned method does not output driving current to the units digit display unit included in the digital tube display circuit. For example, the units digit display unit is not displayed or lit, that is, the channel driving the units digit display unit is turned off or ignored, so that the units digit display unit remains in an off state. This embodiment of the present invention does not limit the method.
[0068] As can be seen, this optional embodiment can match a special centering display control method for a configuration display number of two digits and a required display number of one digit. It displays the second digital tube segment code information for the units digit through the tens digit digital tube unit, which improves the comprehensiveness and rationality of the special centering display control method, enhances its diversity and flexibility, and consequently improves the accuracy and reliability of the units digit centering display control. This facilitates the achievement of a centering display effect for a configuration display number of two digits and a required display number of one digit. Furthermore, it can match a corresponding units digit digital tube unit display control method for a configuration display number of two digits and a required display number of one digit, controlling the display driving circuit not to output driving current to the units digit digital tube unit. This improves the comprehensiveness and rationality of the units digit digital tube unit display control method, thereby improving the accuracy, relevance, and reliability of the units digit digital tube unit display control, keeping the units digit digital tube unit in an off state, and improving the display accuracy and reliability of the digital tube unit.
[0069] In yet another alternative embodiment, the method may further include the following operations: When it is determined that the digital tube display circuit does not meet the special display state conditions, the power display state determination circuit controls the display driver circuit to perform the corresponding normal display drive operation on the digital tube display circuit according to the power data information.
[0070] Optionally, for example: when the digital tube display circuit does not meet the special display state conditions, the digital tube display circuit displays the power value in the normal display state, that is, the power value is displayed in equal numbers. This embodiment of the invention does not limit this.
[0071] Optionally, for example: when the power data information represents a power value (such as 32), it is decomposed into tens digit (3) and units digit (2). The segment code corresponding to the tens digit "3" (segments a, b, c, d, g lit) is obtained by looking up the table (seven-segment decoding table) and output to the driving channel of the tens digit tube. The segment code corresponding to the units digit "2" (segments a, b, d, e, g lit) is obtained by looking up the table and output to the driving channel of the units digit tube. At this time, the tens digit tube and the units digit tube each display the correct number, presenting the conventional display effect of "32". This embodiment of the invention does not limit the scope.
[0072] As can be seen, this optional embodiment can provide a corresponding conventional display control method when the digital tube display circuit does not meet the special display state conditions. This is beneficial to improving the comprehensiveness and integrity of the display state control method of the digital tube display circuit, and to improving the diversity, flexibility and pertinence of the display state control method of the digital tube display circuit. In turn, it is beneficial to improve the execution accuracy, execution reliability and execution timeliness of conventional display drive control operations, thereby improving the conventional display accuracy and reliability of the digital tube display circuit.
[0073] In another optional embodiment, the power display status determination circuit controls the display driving circuit to perform corresponding conventional display driving operations on the digital tube display circuit based on the power data information, which may include: When the number of display digits is equal to the number of display digits required, the main control module determines the third digital tube segment code information of the actual power digit value based on the power data information. The main control module generates a third driving signal based on the third digital tube segment code information of the actual power value, and outputs the third driving signal to the display driving circuit. The display driving circuit outputs a driving current matching the third digital tube segment code to the digital tube unit corresponding to the actual power level position in the digital tube display circuit according to the third driving signal, so that the digital tube unit corresponding to the actual power level position displays the third digital tube segment code.
[0074] Optionally, the above-mentioned output of a driving current matching the third digital tube segment code to the digital tube unit corresponding to the actual power position in the digital tube display circuit can be illustrated as follows: the digital tube unit corresponding to each actual power position in the digital tube display circuit can be illuminated, and the digital tube unit corresponding to each actual power position is illuminated according to the third digital tube segment code of the actual power position. This embodiment of the present invention does not limit the scope of the invention.
[0075] Furthermore, for example: when the power data information indicates that the power value is 320, that is, the third digital tube segment code information of the hundreds digit of the actual power value is 3, the third digital tube segment code information of the tens digit of the actual power value is 2, and the third digital tube segment code information of the units digit of the actual power value is 0, then the hundreds digit digital tube unit in the digital tube display circuit displays 3, the tens digit digital tube unit displays 2, and the units digit digital tube displays 0. Other cases can be obtained in the same way. This embodiment of the invention does not limit the scope.
[0076] As can be seen, this optional embodiment can match the corresponding conventional display control method when the number of configured display bits equals the number of required display bits. It outputs a drive current that matches the third digital tube segment code to the digital tube unit in the digital tube display circuit corresponding to the actual power position. This is beneficial to improving the comprehensiveness and rationality of the conventional display control method, thereby improving the execution accuracy and reliability of the conventional display control operation, and thus improving the conventional display accuracy and reliability of the digital tube display circuit, thereby achieving the conventional display effect.
[0077] In another optional embodiment, the power display status determination circuit controls the display driving circuit to perform corresponding conventional display driving operations on the digital tube display circuit based on the power data information, which may include: When both the configured number of display digits and the required number of display digits are two digits, the main control module determines the fourth digital tube segment code information for the tens digit and the fifth digital tube segment code information for the units digit based on the power data information. The main control module generates a fourth driving signal based on the segment code information of the fourth and fifth digital tubes, and outputs the fourth driving signal to the display driving circuit. According to the fourth driving signal, the display driving circuit outputs a driving current matching the fourth digital tube segment code to the tens digit digital tube unit in the digital tube display circuit, and outputs a driving current matching the fifth digital tube segment code to the units digit digital tube unit in the digital tube display circuit, so that the tens digit digital tube unit displays the fourth digital tube segment code and the units digit digital tube unit displays the fifth digital tube segment code.
[0078] Optionally, the above-mentioned output of a driving current to the tens digit unit in the digital tube display circuit that matches the fourth digital tube segment code is provided. For example, the tens digit unit in the digital tube display circuit can be illuminated and illuminated according to the fourth digital tube segment code for the tens digit. This embodiment of the invention does not limit the scope of the invention.
[0079] Optionally, the above-mentioned output of a driving current matching the fifth segment code of the digital tube to the units digit digital tube unit in the digital tube display circuit can be illustrated by, for example, enabling the units digit digital tube unit in the digital tube display circuit to light up and to light up according to the fifth segment code of the units digit. This embodiment of the invention does not limit this.
[0080] As can be seen, this optional embodiment can match the conventional display control method for both the configured display number and the required display number of two digits. It outputs a drive current matching the tens digit segment code to the tens digit unit in the digital tube display circuit, and outputs a drive current matching the units digit segment code to the units digit unit in the digital tube display circuit. This is beneficial to improving the comprehensiveness and rationality of the conventional display control method, as well as its pertinence and fit. In turn, it is beneficial to improve the execution accuracy and reliability of the conventional display control operation, thereby improving the conventional display accuracy and reliability of the digital tube display circuit and further realizing the conventional display effect.
[0081] In yet another optional embodiment, the power display status determination circuit determines power data information for the device whose power is to be displayed, which may include: The power metering module performs corresponding power detection and signal processing operations on the device to be displayed to obtain power data information, and outputs the power data information to the main control module.
[0082] Optionally, the power metering module monitors the battery or system power in real time and converts it into a processable digital signal (e.g., 0-100%) as power data information. This embodiment of the invention does not limit this.
[0083] As can be seen, this optional embodiment can obtain power data information by performing corresponding power detection and signal processing operations on the power device to be displayed through the power metering module. This is beneficial to improving the comprehensiveness and rationality of the power data information determination method, improving the real-time measurement of power data of the power device to be displayed, and thus improving the accuracy and reliability of the determined power data information. This, in turn, helps to improve the accuracy of subsequent power display status switching and power display accuracy based on power data information.
[0084] Example 2 Please see Figure 2 , Figure 2 This is a schematic diagram of a power display control circuit based on a digital tube display, as disclosed in an embodiment of the present invention. The power display control circuit includes a power display status determination circuit and a display driving circuit, wherein: The first terminal of the power display status determination circuit is used to electrically connect to the device whose power is to be displayed, and the second terminal of the power display status determination circuit is electrically connected to the first terminal of the display driving circuit. The second terminal of the display driving circuit is used to electrically connect to the digital tube display circuit. The power display status determination circuit is used to determine the power data information of the device to be displayed, and to determine whether the digital tube display circuit meets the preset special display status conditions based on the power data information. The power display status determination circuit is also used to control the display driver circuit to perform corresponding special centering display driving operations on the digital tube display circuit based on the power data information when it is determined that the digital tube display circuit meets the special display status conditions.
[0085] As can be seen, the embodiments of the present invention can determine whether the digital tube display circuit meets the special display state conditions through the power display state determination circuit. When the determination result is yes, the power display state determination circuit controls the display driving circuit to perform the corresponding special centering display driving operation on the digital tube display circuit. This is beneficial to improving the comprehensiveness and rationality of the power display control method based on the digital tube display, thereby improving the execution accuracy and timeliness of the special centering display driving operation, improving the control accuracy and reliability of the power display, and thus achieving the low power centering display effect, thereby solving the problem of low power display bias, improving the visual experience and making the appearance more beautiful and professional, improving the readability of power information, enabling users to quickly and accurately identify the power value, and effectively improving the efficiency of human-computer interaction.
[0086] In an optional embodiment, Figure 3 This is a schematic diagram of another power display control circuit based on a digital tube display disclosed in an embodiment of the present invention; wherein, the power display status determination circuit includes a power metering module and a main control module, wherein: The first end of the power metering module is used to electrically connect to the device whose power is to be displayed, the second end of the power metering module is electrically connected to the first end of the main control module, and the second end of the main control module is electrically connected to the first end of the display driver circuit. Furthermore, the method by which the power display status determination circuit determines whether the digital tube display circuit meets the preset special display status conditions based on the power data information specifically includes: The main control module determines the required number of display digits for the digital tube display circuit based on the power data information received from the power metering module, and also determines the configured number of display digits for the digital tube display circuit. The digital tube display circuit includes multiple digital tube units, each of which corresponds to one number of digits. The configured number of display digits is the total number of digits corresponding to all digital tube units. The main control module determines whether the required number of display positions matches the configured number of display positions. When it is determined that the required number of display positions matches the configured number of display positions, the main control module determines that the digital tube display circuit does not meet the preset special display state conditions. When it is determined that the required number of display digits does not match the configured number of display digits, the main control module determines that the digital tube display circuit meets the preset special display state conditions.
[0087] Optionally, the electrical connections of the power metering module and its various electronic components can be found in [reference needed]. Figure 4 As shown, Figure 4 This is a schematic diagram of the structure of a power metering module disclosed in an embodiment of the present invention, and the embodiments of the present invention are not limited thereto.
[0088] Optionally, the power metering module may correspond to, but is not limited to, a BMS or ADC sampling circuit; furthermore, the chip corresponding to the power metering module may be an IP5383 or other chips that combine power metering functions, and this embodiment of the invention does not limit the specific chip.
[0089] Optionally, the electrical connections of the main control module and its various electronic components can be found in [reference needed]. Figure 5 As shown, Figure 5 This is a schematic diagram of the structure of a main control module disclosed in an embodiment of the present invention, and the embodiments of the present invention are not limited thereto.
[0090] Optionally, the display driver circuit and the electrical connections of the electronic components within it can be found in [reference needed]. Figure 6 As shown, Figure 6 This is a schematic diagram of a display driving circuit disclosed in an embodiment of the present invention, and the embodiments of the present invention are not limited thereto.
[0091] Optionally, the digital tube unit may correspond to, but is not limited to, the SLR0393DYA4BD digital tube; this embodiment of the invention does not impose any limitation.
[0092] Further optionally, the power display control circuit may also include an overcharge and over-discharge protection circuit, wherein: The first terminal of the overcharge and over-discharge protection circuit is electrically connected to the third terminal of the display driver circuit; Overcharge and over-discharge protection circuit is used to protect lithium batteries and prevent overcharging and over-discharging.
[0093] Optionally, the overcharge and over-discharge protection circuit and the electrical connections of the electronic components in the overcharge and over-discharge protection circuit can be found in [reference needed]. Figure 7 As shown, Figure 7 This is a schematic diagram of an overcharge and over-discharge protection circuit disclosed in an embodiment of the present invention. The embodiments of the present invention are not limited thereto.
[0094] As can be seen, this optional embodiment can determine the required number of display bits and the configured number of display bits through the main control module, and determine the matching situation between the required number of display bits and the configured number of display bits, thereby determining the result of the special display state condition being met. This is beneficial to improving the comprehensiveness and rationality of the method for determining the result of the special display state condition being met, and thus beneficial to improving the accuracy and reliability of the determined result of the special display state condition being met. In this way, it is beneficial to improve the accuracy and reliability of the determination of the power display state and the execution of the display operation triggered by the result of the special display state condition being met.
[0095] In another optional embodiment, the main control module is further configured to, when it is determined that the number of required display bits does not match the number of configured display bits, determine the power value information of multiple consecutive target sampling periods; based on the power value information of each target sampling period, determine whether all target sampling periods meet the preset display mode switching trigger condition; when it is determined that all target sampling periods meet the display mode switching trigger condition, determine that the digital tube display circuit meets the preset special display state condition; when it is determined that not all target sampling periods meet the display mode switching trigger condition, determine that the digital tube display circuit does not meet the preset special display state condition.
[0096] As can be seen, this optional embodiment can further determine the result of the switching display mode trigger condition for all target sampling periods when the main control module determines that the number of required display bits does not match the number of configured display bits. By determining the result of the special display state condition through the matching of the number of display bits and the result of the switching display mode trigger condition, it is beneficial to improve the comprehensiveness, rationality and progressiveness of the method for determining the result of the special display state condition. It is also beneficial to improve the diversity and flexibility of the method for determining the result of the special display state condition, and thus improve the accuracy and reliability of the determined result of the special display state condition. In addition, it provides a mode switching anti-shake function to avoid frequent changes in the display state when the power level fluctuates near the threshold. This is beneficial to improve the accuracy and reliability of the power display state switching, and thus improve the display stability of the power display state, and reduce the wear and tear caused by frequent changes in the digital tube display circuit.
[0097] In another optional embodiment, the main control module determines whether all target sampling periods meet the preset display mode switching trigger conditions based on the power value information of each target sampling period. Specifically, this includes: The main control module determines whether the power value of each target sampling period is less than the preset power value threshold. When it is determined that the power value of each target sampling period is less than the power value threshold, the main control module determines that all target sampling periods meet the preset switching display mode trigger conditions. When it is determined that the power value is not less than the power value threshold in every target sampling period, the main control module determines that not all target sampling periods meet the preset switching display mode trigger conditions.
[0098] As can be seen, this optional embodiment can determine the result of the switching display mode trigger condition being met for all target sampling periods based on the comparison between the power value of each target sampling period and the preset power value threshold. This is beneficial to improving the comprehensiveness and rationality of the method for determining the result of the switching display mode trigger condition being met, and thus to improving the accuracy and reliability of the determined result of the switching display mode trigger condition being met. This, in turn, is beneficial to improving the execution accuracy and reliability of the special display operation or regular display operation triggered based on the result of the switching display mode trigger condition being met.
[0099] In another optional embodiment, the method by which the power display status determination circuit controls the display driving circuit to perform a corresponding special centering display driving operation on the digital tube display circuit based on the power data information specifically includes: When the number of display digits configured is greater than the number of display digits required, the main control module determines the actual power digit value based on the power data information, and determines the first digital tube segment code information of the actual power digit value based on the value information. The main control module determines the expected centering display position value for special centering display based on the configured display position number and the required display position number, and generates the first driving signal based on the expected centering display position value and the first digital tube segment code information, and outputs the first driving signal to the display driving circuit. According to the first driving signal, the display driving circuit outputs a driving current that matches the first digital tube segment code to the digital tube unit in the digital tube display circuit that corresponds to the expected center display position value, so that the digital tube unit corresponding to the expected center display position value displays the first digital tube segment code. The main control module determines the target non-display bit value based on the configured display bit number and the required display bit number, and generates a first control signal based on the target non-display bit value, and outputs the first control signal to the display driver circuit; According to the first control signal, the display driving circuit does not output driving current to the digital tube unit in the digital tube display circuit that corresponds to the target digit value that does not need to be displayed.
[0100] As can be seen, this optional embodiment can match a special centering display control method when the number of configured display bits is greater than the number of required display bits. It determines the expected centering display bit value based on the configured and required display bits, and performs the corresponding special centering display operation based on the expected centering display bit value and the first digital tube segment code information. This improves the comprehensiveness and rationality of the special centering display control method, enhances its targeting and fit, and consequently improves the accuracy and reliability of the special centering display in the digital tube display circuit, thus achieving a centering display effect. Furthermore, it can also match a display control method for digital tube units with non-display bit values when the number of configured display bits is not equal to the required number of display bits. It determines the target unnecessary display bit value and controls the display driving circuit not to output driving current to the digital tube unit in the digital tube display circuit corresponding to the target unnecessary display bit value. This improves the comprehensiveness and rationality of the display control method for non-display bit value digital tube units, thereby improving the accuracy, targeting, and reliability of the display control for non-display bit value digital tube units, keeping the non-display bit value digital tube units in an off state, and improving the display accuracy and reliability of the digital tube units.
[0101] In another optional embodiment, the method by which the power display status determination circuit controls the display driving circuit to perform a corresponding special centering display driving operation on the digital tube display circuit based on the power data information specifically includes: When the number of display digits is configured to be two digits and the number of display digits required is one digit, the main control module determines the second digital tube segment code information for the units digit value based on the power data information. The main control module generates a second driving signal for the tens digit based on the segment code information of the second digital tube, and outputs the second driving signal to the display driving circuit. The display driving circuit outputs a driving current that matches the segment code of the second digital tube to the tens digit digital tube unit included in the digital tube display circuit according to the second driving signal, so that the tens digit digital tube unit displays the segment code of the second digital tube. The main control module generates a second control signal for the units digit and outputs the second control signal to the display driver circuit; According to the second control signal, the display driver circuit does not output drive current to the unit value digital tube unit included in the digital tube display circuit.
[0102] As can be seen, this optional embodiment can match a special centering display control method for a configuration display number of two digits and a required display number of one digit. It displays the second digital tube segment code information for the units digit through the tens digit digital tube unit, which improves the comprehensiveness and rationality of the special centering display control method, enhances its diversity and flexibility, and consequently improves the accuracy and reliability of the units digit centering display control. This facilitates the achievement of a centering display effect for a configuration display number of two digits and a required display number of one digit. Furthermore, it can match a corresponding units digit digital tube unit display control method for a configuration display number of two digits and a required display number of one digit, controlling the display driving circuit not to output driving current to the units digit digital tube unit. This improves the comprehensiveness and rationality of the units digit digital tube unit display control method, thereby improving the accuracy, relevance, and reliability of the units digit digital tube unit display control, keeping the units digit digital tube unit in an off state, and improving the display accuracy and reliability of the digital tube unit.
[0103] In another optional embodiment, the power display status determination circuit is further configured to, based on the power data information, control the display driving circuit to perform corresponding conventional display driving operations on the digital tube display circuit when it is determined that the digital tube display circuit does not meet the special display status conditions.
[0104] As can be seen, this optional embodiment can provide a corresponding conventional display control method when the digital tube display circuit does not meet the special display state conditions. This is beneficial to improving the comprehensiveness and integrity of the display state control method of the digital tube display circuit, and to improving the diversity, flexibility and pertinence of the display state control method of the digital tube display circuit. In turn, it is beneficial to improve the execution accuracy, execution reliability and execution timeliness of conventional display drive control operations, thereby improving the conventional display accuracy and reliability of the digital tube display circuit.
[0105] In another optional embodiment, the method by which the power display status determination circuit controls the display driving circuit to perform corresponding conventional display driving operations on the digital tube display circuit based on the power data information specifically includes: When the number of display digits is equal to the number of display digits required, the main control module determines the third digital tube segment code information of the actual power digit value based on the power data information. The main control module generates a third driving signal based on the third digital tube segment code information of the actual power value, and outputs the third driving signal to the display driving circuit. The display driving circuit outputs a driving current matching the third digital tube segment code to the digital tube unit corresponding to the actual power level position in the digital tube display circuit according to the third driving signal, so that the digital tube unit corresponding to the actual power level position displays the third digital tube segment code.
[0106] As can be seen, this optional embodiment can match the corresponding conventional display control method when the number of configured display bits equals the number of required display bits. It outputs a drive current that matches the third digital tube segment code to the digital tube unit in the digital tube display circuit corresponding to the actual power position. This is beneficial to improving the comprehensiveness and rationality of the conventional display control method, thereby improving the execution accuracy and reliability of the conventional display control operation, and thus improving the conventional display accuracy and reliability of the digital tube display circuit, thereby achieving the conventional display effect.
[0107] In another optional embodiment, the method by which the power display status determination circuit controls the display driving circuit to perform corresponding conventional display driving operations on the digital tube display circuit based on the power data information specifically includes: When both the configured number of display digits and the required number of display digits are two digits, the main control module determines the fourth digital tube segment code information for the tens digit and the fifth digital tube segment code information for the units digit based on the power data information. The main control module generates a fourth driving signal based on the segment code information of the fourth and fifth digital tubes, and outputs the fourth driving signal to the display driving circuit. According to the fourth driving signal, the display driving circuit outputs a driving current matching the fourth digital tube segment code to the tens digit digital tube unit in the digital tube display circuit, and outputs a driving current matching the fifth digital tube segment code to the units digit digital tube unit in the digital tube display circuit, so that the tens digit digital tube unit displays the fourth digital tube segment code and the units digit digital tube unit displays the fifth digital tube segment code.
[0108] As can be seen, this optional embodiment can match the conventional display control method for both the configured display number and the required display number of two digits. It outputs a drive current matching the tens digit segment code to the tens digit unit in the digital tube display circuit, and outputs a drive current matching the units digit segment code to the units digit unit in the digital tube display circuit. This is beneficial to improving the comprehensiveness and rationality of the conventional display control method, as well as its pertinence and fit. In turn, it is beneficial to improve the execution accuracy and reliability of the conventional display control operation, thereby improving the conventional display accuracy and reliability of the digital tube display circuit and further realizing the conventional display effect.
[0109] In yet another optional embodiment, the method by which the power display status determination circuit determines the power data information for the device whose power is to be displayed specifically includes: The power metering module performs corresponding power detection and signal processing operations on the device to be displayed to obtain power data information, and outputs the power data information to the main control module.
[0110] As can be seen, this optional embodiment can obtain power data information by performing corresponding power detection and signal processing operations on the power device to be displayed through the power metering module. This is beneficial to improving the comprehensiveness and rationality of the power data information determination method, improving the real-time measurement of power data of the power device to be displayed, and thus improving the accuracy and reliability of the determined power data information. This, in turn, helps to improve the accuracy of subsequent power display status switching and power display accuracy based on power data information.
[0111] Example 3 Please see Figure 8 As shown, Figure 8 This is a schematic diagram of the structure of a power display control device disclosed in an embodiment of the present invention. The power display control device includes a device body and a power display control circuit based on a digital tube display, and is used to execute the power display control method based on a digital tube display as described in Embodiment 1.
[0112] It should be noted that for a detailed description of the power display control circuit based on digital tube display, please refer to the specific description of the relevant data in Embodiment 2. For a detailed description of the power display control method based on digital tube display, please refer to the specific description of the relevant data in Embodiment 1. This embodiment will not repeat the description.
[0113] It is evident that implementation Figure 8 The described power display control device can determine whether the digital tube display circuit meets the special display state conditions through the power display state determination circuit. When the determination result is yes, the power display state determination circuit controls the display driver circuit to perform the corresponding special centering display drive operation on the digital tube display circuit. This is beneficial to improving the comprehensiveness and rationality of the power display control method based on digital tube display, thereby improving the accuracy and timeliness of the special centering display drive operation, improving the control accuracy and reliability of power display, and thus achieving the low power centering display effect, solving the problem of low power display offset, improving the visual experience and making the appearance more beautiful and professional, improving the readability of power information, enabling users to quickly and accurately identify the power value, and effectively improving the efficiency of human-computer interaction.
[0114] The foregoing has provided a detailed description of a power display control method, circuit, and device based on a digital tube display disclosed in the embodiments of the present invention. Specific embodiments have been used to illustrate the principles and implementation methods of the present invention. However, the above preferred embodiments are not intended to limit the present invention. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, for those skilled in the art, based on the ideas of the present invention, there will be changes in the specific implementation methods and application scope without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention is determined by the scope defined in the claims.
Claims
1. A power display control method based on digital tube display, characterized in that, The method is applied to a power display control circuit, which includes a power display status determination circuit and a display driving circuit. A first terminal of the power display status determination circuit is electrically connected to the device whose power level is to be displayed. A second terminal of the power display status determination circuit is electrically connected to the first terminal of the display driving circuit. The second terminal of the display driving circuit is electrically connected to a digital tube display circuit. The method includes: The power display status determination circuit determines the power data information of the device to be displayed, and determines whether the digital tube display circuit meets the preset special display status conditions based on the power data information. When it is determined that the digital tube display circuit meets the special display state conditions, the power display state determination circuit controls the display driving circuit to perform a corresponding special centering display driving operation on the digital tube display circuit according to the power data information.
2. The power display control method based on digital tube display according to claim 1, characterized in that, The power display status determination circuit includes a power metering module and a main control module, wherein: The first end of the power metering module is used to electrically connect to the power device to be displayed, the second end of the power metering module is electrically connected to the first end of the main control module, and the second end of the main control module is electrically connected to the first end of the display driving circuit. Furthermore, the power display status determination circuit determines, based on the power data information, whether the digital tube display circuit meets preset special display status conditions, including: The main control module determines the required number of display digits corresponding to the digital tube display circuit and the configured number of display digits corresponding to the digital tube display circuit based on the power data information received from the power metering module. The digital tube display circuit includes multiple digital tube units, each digital tube unit corresponds to one number of digits, and the configured number of display digits is the total number of digits corresponding to all digital tube units. The main control module determines whether the required number of display positions matches the configured number of display positions. When it is determined that the required number of display positions matches the configured number of display positions, the main control module determines that the digital tube display circuit does not meet the preset special display state conditions; When it is determined that the required number of display positions does not match the configured number of display positions, the main control module determines that the digital tube display circuit meets the preset special display state conditions.
3. The power display control method based on digital tube display according to claim 2, characterized in that, The method further includes: When it is determined that the required number of display positions does not match the configured number of display positions, the main control module determines the power value information for multiple consecutive target sampling periods; The main control module determines whether all target sampling periods meet the preset switching display mode triggering conditions based on the power value information of each target sampling period. When it is determined that all the target sampling periods meet the switching display mode triggering condition, the main control module executes the step of determining that the digital tube display circuit meets the preset special display state condition; When it is determined that not all of the target sampling periods meet the switching display mode triggering condition, the main control module determines that the digital tube display circuit does not meet the preset special display state condition.
4. The power display control method based on digital tube display according to claim 3, characterized in that, The main control module determines, based on the power value information of each target sampling period, whether all target sampling periods meet the preset display mode switching trigger conditions, including: The main control module determines whether the power value of each target sampling period is less than a preset power value threshold. When it is determined that the power value of each target sampling period is less than the power value threshold, the main control module determines that all target sampling periods meet the preset switching display mode trigger condition. When it is determined that the power value is not less than the power value threshold in every target sampling period, the main control module determines that not all target sampling periods meet the preset switching display mode trigger condition.
5. The power display control method based on digital tube display according to any one of claims 2-4, characterized in that, The power display status determination circuit, based on the power data information, controls the display driving circuit to perform corresponding special centering display driving operations on the digital tube display circuit, including: When the number of configured display bits is greater than the number of required display bits, the main control module determines the numerical information of the actual power bit value based on the power data information, and determines the first digital tube segment code information of the actual power bit value based on the numerical information. The main control module determines the expected centering display position value for special centering display based on the configured display position number and the required display position number, and generates a first driving signal based on the expected centering display position value and the first digital tube segment code information, and outputs the first driving signal to the display driving circuit. The display driving circuit outputs a driving current matching the first digital tube segment code to the digital tube unit in the digital tube display circuit that corresponds to the expected center display position value according to the first driving signal, so that the digital tube unit corresponding to the expected center display position value displays the first digital tube segment code. The main control module determines the target non-display bit value based on the configured display bit number and the required display bit number, generates a first control signal based on the target non-display bit value, and outputs the first control signal to the display driving circuit. According to the first control signal, the display driving circuit does not output driving current to the digital tube unit in the digital tube display circuit that corresponds to the target digit value that does not need to be displayed.
6. The power display control method based on digital tube display according to any one of claims 2-4, characterized in that, The power display status determination circuit, based on the power data information, controls the display driving circuit to perform corresponding special centering display driving operations on the digital tube display circuit, including: When the configured display digit number is two digits and the required display digit number is one digit, the main control module determines the second digital tube segment code information for the unit digit value based on the power data information. The main control module generates a second driving signal for the tens digit based on the segment code information of the second digital tube, and outputs the second driving signal to the display driving circuit. The display driving circuit outputs a driving current matching the second digital tube segment code to the tens-digit digital tube unit included in the digital tube display circuit according to the second driving signal, so that the tens-digit digital tube unit displays the second digital tube segment code. The main control module generates a second control signal for the units digit value and outputs the second control signal to the display driving circuit; According to the second control signal, the display driving circuit does not output driving current to the unit value digital tube unit included in the digital tube display circuit.
7. The power display control method based on digital tube display according to any one of claims 2-4, characterized in that, The method further includes: When it is determined that the digital tube display circuit does not meet the special display state conditions, the power display state determination circuit controls the display driving circuit to perform corresponding conventional display driving operations on the digital tube display circuit according to the power data information. Furthermore, the power display status determination circuit, based on the power data information, controls the display driving circuit to perform corresponding conventional display driving operations on the digital tube display circuit, including: When the configured display number of bits is equal to the required display number of bits, the main control module determines the third digital tube segment code information of the actual power bit value based on the power data information. The main control module generates a third driving signal based on the third digital tube segment code information of the actual power value, and outputs the third driving signal to the display driving circuit. The display driving circuit outputs a driving current matching the third digital tube segment code to the digital tube unit in the digital tube display circuit corresponding to the actual power position according to the third driving signal, so that the digital tube unit corresponding to the actual power position displays the third digital tube segment code.
8. The power display control method based on digital tube display according to claim 7, characterized in that, The power display status determination circuit, based on the power data information, controls the display driving circuit to perform corresponding conventional display driving operations on the digital tube display circuit, including: When both the configured display number of digits and the required display number of digits are two digits, the main control module determines the fourth digital tube segment code information for the tens digit and the fifth digital tube segment code information for the units digit based on the power data information. The main control module generates a fourth driving signal based on the fourth digital tube segment code information and the fifth digital tube segment code information, and outputs the fourth driving signal to the display driving circuit. The display driving circuit outputs a driving current matching the fourth digital tube segment code to the tens digit digital tube unit in the digital tube display circuit according to the fourth driving signal, and outputs a driving current matching the fifth digital tube segment code to the units digit digital tube unit in the digital tube display circuit, so that the tens digit digital tube unit displays the fourth digital tube segment code and the units digit digital tube unit displays the fifth digital tube segment code.
9. The power display control method based on digital tube display according to claim 2, characterized in that, The power display status determination circuit determines the power data information for the device whose power is to be displayed, including: The power metering module performs corresponding power detection and signal processing operations on the power device to be displayed to obtain power data information, and outputs the power data information to the main control module.
10. A power display control circuit based on a digital tube display, characterized in that, The power display control circuit includes a power display status determination circuit and a display driving circuit, wherein: The first terminal of the power display status determination circuit is electrically connected to the device whose power is to be displayed, the second terminal of the power display status determination circuit is electrically connected to the first terminal of the display driving circuit, and the second terminal of the display driving circuit is electrically connected to the digital tube display circuit. The power display status determination circuit is used to determine the power data information of the device to be displayed, and to determine whether the digital tube display circuit meets the preset special display status conditions based on the power data information. The power display status determination circuit is also used to control the display driving circuit to perform a corresponding special centering display driving operation on the digital tube display circuit according to the power data information when it is determined that the digital tube display circuit meets the special display status conditions.
11. A power display and control device, characterized in that, The power display control device includes a device body, and the power display control device further includes the power display control circuit based on digital tube display as described in claim 10.