Voltage adjusting method and circuit, electrical equipment and computer readable storage medium

The voltage adjustment circuit adaptively determines the amplification ratio of the initial signal, which solves the problem of manually adjusting the amplification ratio in the prior art, achieves fast and accurate voltage amplification, and improves the operating efficiency and reliability of electrical equipment.

CN119543857AInactive Publication Date: 2025-02-28XIAN ANTAI ELECTRONIC TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411948203.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-27
Publication Date
2025-02-28
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the prior art, the amplification ratio required in each electrical scenario is different, resulting in manual adjustment and adaptation before applying the power amplifier, resulting in a problem that takes a long time.

Method used

The initial signal and device signal are obtained through the voltage adjustment circuit, the amplification ratio of the initial signal is determined based on the device signal, and the initial signal is amplified through the corresponding amplification module to obtain the target signal.

Benefits of technology

The power amplifier is not required to adjust and adapt, which reduces the time to debug the power amplifier, improves the efficiency of applying the power amplifier, ensures accurate amplification of the initial signal, and improves the stability and reliability of electrical equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119543857A_ABST
    Figure CN119543857A_ABST
Patent Text Reader

Abstract

The invention provides a voltage adjusting method and circuit, electrical equipment and a computer readable storage medium, and relates to the technical field of electrical equipment.The method comprises the steps that an initial signal and an equipment signal are obtained, and the equipment signal is used for representing reference voltage after attenuation of the electrical equipment; determining the amplification proportion of the initial signal according to the equipment signal; and according to the amplification proportion, amplifying the initial signal through an amplification module corresponding to the amplification proportion in the voltage regulation circuit to obtain a target signal. According to the technical scheme provided by the invention, the amplification proportion corresponding to the initial signal is adaptively determined through the equipment signal, and the power amplifier does not need to be adjusted and adapted, so that the time for debugging the power amplifier can be shortened, and the efficiency of applying the power amplifier can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of electrical equipment technology, and particularly relates to a voltage regulation method, circuit, electrical equipment, and computer-readable storage medium. Background Art

[0002] With the continuous development of electrical equipment, in order to avoid signal attenuation during transmission, a power amplifier can be used to amplify the voltage signal in the circuit in order to compensate for the attenuated signal.

[0003] In related technologies, a signal source can be connected to the input terminal of a power amplifier, which can amplify the signal emitted by the signal source according to a preset ratio to obtain an amplified signal.

[0004] However, in practical applications, power amplifiers can be used in different electrical scenarios, and the required amplification ratio varies in each scenario. Before applying a power amplifier, manual adjustment and adaptation are required, which takes a long time. Summary of the Invention

[0005] This application provides a voltage adjustment method, circuit, electrical device, and computer-readable storage medium, which solves the problem that in the prior art, the required amplification ratio varies in different electrical scenarios, and manual adjustment and adaptation are required before the power amplifier can be applied, which takes a long time.

[0006] To achieve the above objectives, this application adopts the following technical solution: In a first aspect, embodiments of this application provide a voltage adjustment method applied to a voltage adjustment circuit, the method comprising: Acquire an initial signal and a device signal, wherein the device signal is used to represent the reference voltage of the electrical equipment after attenuation; Based on the device signal, determine the amplification ratio of the initial signal; According to the amplification ratio, the initial signal is amplified by the amplification module in the voltage adjustment circuit corresponding to the amplification ratio to obtain the target signal.

[0007] Optionally, determining the amplification ratio of the initial signal based on the device signal includes: Acquire multiple pre-set standard signals, each with a different voltage; The comparison module of the voltage adjustment circuit compares each standard signal with the device signal to obtain a comparison result corresponding to each standard signal. From the multiple comparison results, determine the magnification ratio corresponding to the target comparison result.

[0008] Optionally, determining the magnification ratio corresponding to the target comparison result from among the multiple comparison results includes: For each comparison result, the magnitude relationship between the standard signal corresponding to the comparison result and the device signal is obtained; If the device signal is less than the standard signal, then the comparison result is deleted; If the device signal is greater than or equal to the standard signal, then the voltage difference between the standard signal and the device signal is obtained; The target comparison result and the amplification ratio corresponding to the target comparison result are determined based on the multiple voltage differences.

[0009] Optionally, determining the target comparison result and the amplification ratio corresponding to the target comparison result based on the plurality of voltage differences includes: Based on the parameter values ​​corresponding to each voltage difference, the comparison result corresponding to the voltage difference with the smallest parameter value is selected as the target comparison result; The magnification ratio corresponding to the target comparison result is determined according to the pre-set correspondence.

[0010] Optionally, before determining the target comparison result and the amplification ratio corresponding to the target comparison result based on the plurality of voltage differences, the method further includes: For each voltage difference, the voltage difference is compared with a preset difference threshold; If the voltage difference is greater than the difference threshold, then the voltage difference is deleted; If the voltage difference is less than or equal to the difference threshold, then the voltage difference is retained.

[0011] Optionally, the method further includes: Acquire temperature data, which is used to represent the current temperature of the electrical equipment; Determining the amplification ratio of the initial signal based on the device signal includes: Based on the device signal and the temperature data, a voltage change value is determined, which represents the voltage change caused by the temperature effect. The amplification ratio of the initial signal is determined based on the reference voltage and the voltage change value.

[0012] Secondly, embodiments of this application provide a voltage adjustment device, the device comprising: The first acquisition module is used to acquire an initial signal and a device signal, wherein the device signal is used to represent the reference voltage of the electrical equipment after attenuation. The determining module is used to determine the amplification ratio of the initial signal based on the device signal; An amplification module is used to amplify the initial signal according to the amplification ratio, through an amplification module in the voltage adjustment circuit corresponding to the amplification ratio, to obtain the target signal.

[0013] Optionally, the determining module is specifically used to acquire a plurality of pre-set standard signals, each of which has a different voltage; compare each of the standard signals with the device signal through the comparison module of the voltage adjustment circuit to obtain a comparison result corresponding to each of the standard signals; and determine the amplification ratio corresponding to the target comparison result from the plurality of comparison results.

[0014] Optionally, the determining module is further configured to, for each comparison result, obtain the magnitude relationship between the standard signal corresponding to the comparison result and the device signal; if the device signal is less than the standard signal, delete the comparison result; if the device signal is greater than or equal to the standard signal, obtain the voltage difference between the standard signal and the device signal; and determine the target comparison result and the amplification ratio corresponding to the target comparison result based on the multiple voltage differences.

[0015] Optionally, the determining module is further configured to select the comparison result corresponding to the voltage difference with the smallest parameter value as the target comparison result based on the parameter value corresponding to each voltage difference; and determine the amplification ratio corresponding to the target comparison result according to a pre-set correspondence.

[0016] Optionally, the device further includes: The comparison module is used to compare each voltage difference with a preset difference threshold. The deletion module is used to delete the voltage difference if the voltage difference is greater than the difference threshold. A retention module is configured to retain the voltage difference if the voltage difference is less than or equal to the difference threshold.

[0017] Optionally, the device further includes: The second acquisition module is used to acquire temperature data, which represents the current temperature of the electrical equipment. The determining module is further specifically configured to determine a voltage change value based on the device signal and the temperature data, wherein the voltage change value represents the voltage change caused by the temperature effect; and to determine the amplification ratio of the initial signal based on the reference voltage and the voltage change value.

[0018] Thirdly, embodiments of this application provide a voltage adjustment circuit, which includes: an input terminal, a comparison module, multiple amplification modules, and a protection module; The input terminal is used to receive initial signals and device signals; The comparison module is used to compare the device signal with multiple standard signals to obtain multiple comparison results, wherein the voltage of each standard signal is different; The amplification module corresponding to the comparison result is used to amplify the initial signal; The protection module is used to protect the voltage adjustment circuit based on multiple comparison results.

[0019] Optionally, the voltage adjustment circuit further includes a temperature acquisition module, which is connected to the comparison module.

[0020] Fourthly, embodiments of this application provide an electrical device, characterized in that it includes: a memory, a processor, and a voltage adjustment circuit as described in any of the third aspects, wherein the memory is used to store a computer program; and the processor is used to execute the method as described in any of the first aspects through the voltage adjustment circuit when the computer program is invoked.

[0021] Fifthly, embodiments of this application provide a computer-readable storage medium having a computer program stored thereon, characterized in that the computer program, when executed by a processor, implements the method as described in any one of the first aspects.

[0022] This application provides a voltage adjustment method, circuit, electrical device, and computer-readable storage medium. The method acquires an initial signal and a device signal through a voltage adjustment circuit. The device signal represents a reference voltage after attenuation by the electrical device. Based on the device signal, the amplification ratio of the initial signal is determined. The initial signal is then amplified by an amplification module corresponding to the amplification ratio in the voltage adjustment circuit to obtain the target signal. By adaptively determining the amplification ratio of the initial signal using the device signal, no adjustment or adaptation of the power amplifier is required, reducing the time spent debugging the power amplifier and improving the efficiency of the applied power amplifier.

[0023] Furthermore, by determining the attenuation level of electrical equipment through the equipment signal, and then determining the required amplification factor based on the attenuation level, it is possible to avoid the amplification factor of the initial signal being too small or too large. This allows for accurate amplification of the initial signal, thereby improving the stability and reliability of electrical equipment operation. Attached Figure Description

[0024] Figure 1A This is a schematic diagram of the electrical equipment involved in a voltage adjustment method proposed in an embodiment of this application; Figure 1B This is a circuit diagram of a voltage adjustment circuit proposed in an embodiment of this application; Figure 2 A schematic flowchart illustrating a voltage adjustment method provided in an embodiment of this application; Figure 3 A schematic flowchart illustrating a method for determining magnification ratio provided in an embodiment of this application; Figure 4 This is a structural block diagram of a voltage adjustment device provided in an embodiment of this application; Figure 5 A schematic diagram of the structure of the electrical equipment provided in the embodiments of this application. Detailed Implementation

[0025] In the following description, specific details such as particular system architectures and technologies are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known technologies, circuits, and electrical devices have been omitted so as not to obscure the description of this application with unnecessary detail.

[0026] The terminology used in the following embodiments is for the purpose of describing particular embodiments only and is not intended to be limiting of this application. As used in the specification and appended claims of this application, the singular expressions “a,” “the,” “the,” and “the” are intended to also include expressions such as “one or more,” unless the context clearly indicates otherwise.

[0027] With the continuous development of electrical equipment, in order to avoid signal attenuation during transmission, a power amplifier can be used to amplify the voltage signal in the circuit in order to compensate for the attenuated signal.

[0028] In related technologies, a signal source can be connected to the input terminal of a power amplifier, which can amplify the signal emitted by the signal source according to a preset ratio to obtain an amplified signal.

[0029] However, in practical applications, power amplifiers can be used in different electrical scenarios, and the required amplification ratio varies in each scenario. Before applying a power amplifier, manual adjustment and adaptation are required, which takes a long time.

[0030] Although existing technologies can achieve a wide range of voltage outputs through amplifiers with variable power rails, in practical applications, it is still necessary to set the output voltage range of the amplifier with variable power rails according to the voltage corresponding to the current scenario, so that the output voltage of the amplifier is within the selected range.

[0031] Therefore, this application proposes a voltage adjustment method. An initial signal and a device signal are obtained through a voltage adjustment circuit. The device signal represents the reference voltage after attenuation by the electrical equipment. Based on the device signal, the amplification ratio of the initial signal is determined. Then, according to the amplification ratio, the initial signal is amplified by an amplification module in the voltage adjustment circuit corresponding to the amplification ratio to obtain the target signal. By adaptively determining the amplification ratio of the initial signal using the device signal, no adjustment or adaptation of the power amplifier is required, reducing the time spent debugging the power amplifier and improving the efficiency of the applied power amplifier.

[0032] Furthermore, by determining the attenuation level of electrical equipment through the equipment signal, and then determining the required amplification factor based on the attenuation level, it is possible to avoid the amplification factor of the initial signal being too small or too large. This allows for accurate amplification of the initial signal, thereby improving the stability and reliability of electrical equipment operation.

[0033] See Figure 1A , Figure 1A This is a schematic diagram of an electrical device involved in a voltage adjustment method proposed in an embodiment of this application. The electrical device may include: a voltage adjustment circuit 10, a load 20, a signal generator 30, and a power supply 40.

[0034] The power supply 40 provides power to the voltage regulation circuit 10, the load 20, and the signal generator 30. Furthermore, the signal generator 30 can be connected to the load 20 via the voltage regulation circuit 10.

[0035] Correspondingly, during operation, electrical equipment can be powered by power supply 40, and signal generator 30 can generate an initial signal based on the power supplied by power supply 40 and send the initial signal to load 20.

[0036] Due to the impedance present during transmission, the initial signal is attenuated. Therefore, before the initial signal reaches the load 20, it can be input to the voltage adjustment circuit 10, which amplifies the initial signal and outputs the target signal. The target signal is then input to the load 20, so that the load 20 can operate according to the target signal, thereby improving the stability and reliability of the electrical equipment.

[0037] See Figure 1B , Figure 1B This is a circuit diagram of a voltage adjustment circuit proposed in an embodiment of this application. The voltage adjustment circuit 10 may include: an input terminal 101, a comparison module 102, multiple amplification modules 103, and a protection module 104.

[0038] The input terminal 101 is connected to the comparison module 102 and each amplification module 103. Each comparison sub-module 1021 in the comparison module 102 corresponds to one of the multiple amplification modules 103. Each comparison sub-module 1021 is connected to the corresponding amplification module 103. The protection module 104 is set between each comparison sub-module 1021 and the corresponding amplification module 103.

[0039] Specifically, input terminal 101 is used to receive initial signal and device signal, comparison module 102 is used to compare the received device signal with multiple preset standard signals to obtain multiple comparison results, and then through an amplification module 103 corresponding to the comparison results, the initial signal is amplified to obtain the target signal.

[0040] The standard signal can be generated based on multiple voltage divider resistors in the voltage adjustment circuit.

[0041] Furthermore, the protection module 104 can be used to protect the voltage adjustment circuit based on multiple comparison results, and can also control the switching transistor between the comparison submodule 1021 and the corresponding amplification module 103. By turning the switching transistor on or off, the amplification module 103 can be controlled to start.

[0042] In addition, the voltage adjustment circuit 10 also includes a temperature acquisition module 105, which is connected to the comparison module 102. The temperature acquisition module 105 determines a more accurate amplification ratio, thereby further improving the stability and reliability of the electrical equipment operation.

[0043] It should be noted that in practical applications, the comparison module 102 can be equipped with multiple resistors and multiple relays, forming a comparison submodule 1021. This allows the switching of each relay to be in the on or off state based on the voltage division of each resistor, thereby controlling whether each amplification module 103 is working.

[0044] Of course, in practical applications, the function of the comparison module 102 can also be realized by other electronic components. This application embodiment does not specifically limit the implementation method of the comparison module 102.

[0045] The following section uses electrical equipment as an example to explain in detail the process of adjusting voltage through a voltage adjustment circuit.

[0046] Figure 2 This is a schematic flowchart illustrating a voltage adjustment method provided in an embodiment of this application. It is intended as an example and not a limitation. See also... Figure 2 The method includes: Step 201: Obtain initial signals and device signals.

[0047] Among them, the equipment signal is used to represent the reference voltage after the electrical equipment has decayed.

[0048] After the electrical equipment is started, it can drive the signal generator and load according to the power supplied by the power source to realize the function of the electrical equipment. During the operation of the electrical equipment, the voltage adjustment circuit can receive the initial signal generated by the signal generator, so that in subsequent steps, it can combine with the received equipment signal to amplify the initial signal, so that the amplified initial signal can compensate for the attenuation generated in the electrical equipment.

[0049] Specifically, electrical equipment can acquire the initial signal generated by the signal generator through a voltage adjustment circuit. Furthermore, the electrical equipment can also receive equipment signals transmitted by the signal generator, so that in subsequent steps, the amplification ratio for amplifying the initial signal can be determined based on the attenuation level of the equipment signal.

[0050] Step 202: Determine the amplification ratio of the initial signal based on the device signal.

[0051] After receiving a device signal, the voltage adjustment circuit can compare the device signal with multiple pre-set standard signals to determine the voltage that is the same as or similar to the device signal, thereby determining the degree of attenuation of the device signal, and then determining the amplification ratio corresponding to that degree of attenuation.

[0052] Accordingly, see Figure 3 , Figure 3 This is a schematic flowchart illustrating a method for determining magnification ratio provided in an embodiment of this application. Step 202 may include: Step 202a: Obtain multiple pre-set standard signals.

[0053] The standard signals are pre-set voltage signals used to determine the voltage of the device signals. Each standard signal can correspond to a specific amplification ratio. Furthermore, the voltage of each standard signal is different.

[0054] While receiving the device signal, the voltage adjustment circuit can also acquire each standard signal according to the pre-set circuit, so that in subsequent steps, the amplification ratio can be determined based on the magnitude relationship between the device signal and each standard signal.

[0055] It should be noted that the standard signal can be generated based on multiple voltage divider resistors preset in the voltage adjustment circuit. The voltage of the standard signal is related to the resistance parameters of each voltage divider resistor. In this embodiment, the voltage magnitude of the standard signal and the resistance parameters of the voltage divider resistors are not specifically limited.

[0056] Step 202b: The comparison module of the voltage adjustment circuit compares each standard signal with the device signal to obtain the comparison result corresponding to each standard signal.

[0057] The voltage adjustment circuit can input various standard signals into the various comparison sub-modules of the comparison module, and can also input device signals into each comparison sub-module. Each comparison sub-module can output different comparison voltages according to the magnitude relationship between the standard signal and the device signal, and thus the comparison voltage can be used as the comparison result.

[0058] The comparison voltage output by the comparison submodule can represent the magnitude relationship between the standard signal and the device signal based on the positive or negative value of the voltage parameter, and can also represent the voltage difference between the standard signal and the device signal based on the absolute value of the voltage parameter.

[0059] Step 202c: Determine the magnification ratio corresponding to the target comparison result from multiple comparison results.

[0060] After the voltage adjustment circuit outputs comparison results through multiple comparison submodules, it can determine the target comparison result based on the multiple comparison results. Then, based on the comparison submodule to which the target comparison result belongs, it can determine the amplification module connected to that comparison submodule. Finally, the amplification ratio corresponding to that amplification module can be used as the amplification ratio corresponding to the target comparison result.

[0061] Optionally, for each comparison result, the voltage adjustment circuit can obtain the magnitude relationship between the standard signal and the device signal corresponding to the comparison result. If the device signal is greater than or equal to the standard signal, the voltage difference between the standard signal and the device signal is obtained, and then the target comparison result and the corresponding amplification ratio are determined based on multiple voltage differences.

[0062] Specifically, the voltage adjustment circuit can determine the magnitude relationship between the standard signal and the device signal based on the positive or negative voltage value corresponding to each comparison result, select the comparison result where the device signal is greater than or equal to the standard signal, and then combine the voltage magnitude corresponding to the comparison result to determine the target standard signal that is closest to the device signal. Thus, the comparison result corresponding to the target standard signal is taken as the target comparison result, and the corresponding amplification ratio can be determined.

[0063] However, in practical applications, there are also cases where the device signal is less than the standard signal. If the device signal is less than the standard signal, the voltage adjustment circuit can control the switching transistor between the comparison submodule and the amplification module to disconnect based on the corresponding comparison result. This prevents the connected amplification module from amplifying the device signal based on the comparison result, thus achieving the deletion of the comparison result.

[0064] Furthermore, in the process of determining the amplification ratio based on the voltage difference between the standard signal and the device signal, the voltage adjustment circuit can select the comparison result corresponding to the voltage difference with the smallest parameter value as the target comparison result based on the parameter value corresponding to each voltage difference, and then determine the amplification ratio corresponding to the target comparison result based on the pre-set correspondence.

[0065] Specifically, the voltage adjustment circuit can select the voltage difference or current parameter with the smallest value according to the voltage difference or current parameter corresponding to each comparison result, thereby controlling the switch corresponding to the voltage difference or current parameter to turn on, so that the comparison result output by the comparison submodule can control the connected amplification module to start, so that the initial signal can be amplified by the amplification module in subsequent steps.

[0066] For example, if each comparison submodule is composed of relays, the target comparison result can be determined based on the voltage signal output by each relay, thereby activating the corresponding amplification module.

[0067] It should be noted that, to prevent excessively large voltage differences from damaging the switching transistor, multiple voltage differences can be filtered first, removing those with excessively large differences. Optionally, for each voltage difference, the voltage adjustment circuit compares the voltage difference with a pre-set difference threshold. If the voltage difference is greater than the difference threshold, the voltage difference can be deleted. If the voltage difference is less than or equal to the difference threshold, the voltage difference is retained.

[0068] Step 203: According to the amplification ratio, the initial signal is amplified by the amplification module in the voltage adjustment circuit corresponding to the amplification ratio to obtain the target signal.

[0069] After determining the amplification ratio and the corresponding amplification module, the voltage adjustment circuit can amplify the initial signal according to the corresponding amplification ratio through the determined amplification module to obtain the amplified target signal, so that the voltage of the target signal is close to that of the initial signal before attenuation, thus completing the compensation of the initial signal.

[0070] It should be noted that, considering that electrical equipment continuously generates heat during operation, the amplification ratio can be further optimized based on the temperature of the electrical equipment to improve the accuracy of the amplification ratio.

[0071] Optionally, the voltage adjustment circuit can acquire temperature data, determine the voltage change value based on the device signal and the temperature data, and then determine the amplification ratio of the initial signal based on the reference voltage and the voltage change value.

[0072] Temperature data represents the current temperature of the electrical equipment, while voltage change values ​​represent the voltage changes caused by temperature.

[0073] In addition, in practical applications, the voltage adjustment circuit can not only compensate for the attenuated initial signal, but also compensate for the initial signal according to the voltage required by the electrical equipment and the degree of attenuation of the initial signal, so that the compensated target signal meets the voltage required by the electrical equipment. The embodiments of this application do not specifically limit the application scenarios of the voltage adjustment circuit.

[0074] In summary, this application proposes a voltage adjustment method. An initial signal and a device signal are acquired through a voltage adjustment circuit. The device signal represents the reference voltage after attenuation by the electrical equipment. Based on this device signal, the amplification ratio of the initial signal is determined. Then, the initial signal is amplified according to the amplification ratio by an amplification module corresponding to the amplification ratio in the voltage adjustment circuit to obtain the target signal. By adaptively determining the amplification ratio of the initial signal using the device signal, no adjustment or adaptation of the power amplifier is required, reducing the time spent debugging the power amplifier and improving the efficiency of the applied power amplifier.

[0075] Furthermore, by determining the attenuation level of electrical equipment through the equipment signal, and then determining the required amplification factor based on the attenuation level, it is possible to avoid the amplification factor of the initial signal being too small or too large. This allows for accurate amplification of the initial signal, thereby improving the stability and reliability of electrical equipment operation.

[0076] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0077] Corresponding to the voltage adjustment method described in the above embodiments, Figure 4 This is a structural block diagram of a voltage adjustment device provided in an embodiment of this application. For ease of explanation, only the parts related to the embodiment of this application are shown.

[0078] See Figure 4 The device includes: The first acquisition module 401 is used to acquire an initial signal and a device signal, wherein the device signal is used to represent the reference voltage of the electrical equipment after attenuation. The determining module 402 is used to determine the amplification ratio of the initial signal based on the device signal; Amplification module 403 is used to amplify the initial signal according to the amplification ratio, through an amplification module in the voltage adjustment circuit corresponding to the amplification ratio, to obtain the target signal.

[0079] Optionally, the determining module 402 is specifically used to acquire a plurality of pre-set standard signals, each of which has a different voltage; compare each standard signal with the device signal through the comparison module of the voltage adjustment circuit to obtain a comparison result corresponding to each standard signal; and determine the amplification ratio corresponding to the target comparison result from the plurality of comparison results.

[0080] Optionally, the determining module 402 is further configured to, for each comparison result, obtain the magnitude relationship between the standard signal and the device signal corresponding to the comparison result; if the device signal is less than the standard signal, delete the comparison result; if the device signal is greater than or equal to the standard signal, obtain the voltage difference between the standard signal and the device signal; and determine the target comparison result and the amplification ratio corresponding to the target comparison result based on multiple voltage differences.

[0081] Optionally, the determining module 402 is further configured to select the comparison result corresponding to the voltage difference with the smallest parameter value as the target comparison result based on the parameter value corresponding to each voltage difference; and determine the amplification ratio corresponding to the target comparison result based on the pre-set correspondence.

[0082] Optionally, the device may also include: Comparison module 404 is used to compare each voltage difference with a preset difference threshold. The deletion module 405 is used to delete the voltage difference if the voltage difference is greater than the difference threshold. The retention module 406 is used to retain the voltage difference if the voltage difference is less than or equal to the difference threshold.

[0083] Optionally, the device may also include: The second acquisition module 407 is used to acquire temperature data, which is used to indicate the current temperature of the electrical equipment; The determining module 402 is further specifically used to determine the voltage change value based on the device signal and the temperature data, the voltage change value being used to represent the voltage change caused by the temperature effect; and to determine the amplification ratio of the initial signal based on the reference voltage and the voltage change value.

[0084] In summary, the voltage adjustment device proposed in this application obtains an initial signal and a device signal through a voltage adjustment circuit. The device signal represents the reference voltage after attenuation by the electrical equipment. Based on the device signal, the amplification ratio of the initial signal is determined. Then, according to the amplification ratio, the initial signal is amplified by the corresponding amplification module in the voltage adjustment circuit to obtain the target signal. By adaptively determining the amplification ratio of the initial signal through the device signal, no adjustment or adaptation of the power amplifier is required, reducing the time spent on power amplifier debugging and improving the efficiency of power amplifier applications.

[0085] Based on the same inventive concept, this application also provides an electrical device. Figure 5 This is a schematic diagram of the structure of the electrical equipment provided in the embodiments of this application, such as... Figure 5 As shown, the electrical device provided in this embodiment includes: a memory 51, a processor 52, and as shown in the figure. Figure 1B The voltage adjustment circuit 53 shown has a memory 51 for storing a computer program 54; the processor 52 is used to execute the method described in the above method embodiment through the voltage adjustment circuit 53 when the computer program 54 is invoked.

[0086] The electrical equipment provided in this embodiment can perform the above-described method embodiments, and its implementation principle and technical effect are similar, so they will not be described again here.

[0087] This application also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the methods described in the above-described method embodiments.

[0088] This application also provides a computer program product that, when run on an electrical device, causes the electrical device to implement the method described in the above-described method embodiments.

[0089] If the integrated units described above are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments of this application can be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable storage medium can include at least: any entity or device capable of carrying computer program code to a photographing device / terminal device, a recording medium, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium. Examples include USB flash drives, portable hard drives, magnetic disks, or optical disks. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electrical carrier signals or telecommunication signals.

[0090] In the above embodiments, the description of each embodiment has its own focus. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant description of other embodiments.

[0091] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0092] In the embodiments provided in this application, it should be understood that the disclosed apparatus / devices and methods can be implemented in other ways. For example, the apparatus / device embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0093] It should be understood that, when used in this application specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or a collection thereof.

[0094] It will also be understood that the term "and / or" used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.

[0095] As used in this specification and the appended claims, the term "if" can be interpreted as "when" or "upon" or "in response to determining" or "in response to detecting," depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "upon determination" or "in response to determining" or "upon detection of [described condition or event]" or "in response to detecting [described condition or event]," depending on the context.

[0096] Furthermore, in the description of this application and the appended claims, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.

[0097] References to "one embodiment" or "some embodiments" in this specification mean that a particular feature, structure, or characteristic described in conjunction with that embodiment is included in one or more embodiments of the present application. Thus, phrases such as "in one embodiment," "in some embodiments," "in other embodiments," and "in other embodiments" appearing in various places in this specification do not necessarily refer to the same embodiment, but rather mean "one or more but not all embodiments," unless otherwise specifically emphasized. The terms "including," "comprising," "having," and variations thereof all mean "including but not limited to," unless otherwise specifically emphasized.

[0098] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some or all of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A voltage adjustment method, characterized in that: Applied to a voltage regulating circuit, the method comprises: Acquire an initial signal and a device signal, wherein the device signal is used to represent a reference voltage of the electrical device after attenuation; Determining an amplification ratio of the initial signal according to the device signal; According to the amplification ratio, the initial signal is amplified by an amplification module corresponding to the amplification ratio in the voltage adjustment circuit to obtain a target signal.

2. The method according to claim 1, characterized in that Determining the amplification ratio of the initial signal according to the device signal includes: Acquire a plurality of preset standard signals, each of the standard signals having a different voltage; By using the comparison module of the voltage adjustment circuit, each of the standard signals is compared with the device signal to obtain a comparison result corresponding to each of the standard signals; From the plurality of comparison results, an amplification ratio corresponding to a target comparison result is determined.

3. The method according to claim 2, characterized in that Determining the magnification ratio corresponding to the target comparison result from the plurality of comparison results includes: For each of the comparison results, obtaining a magnitude relationship between the standard signal corresponding to the comparison result and the device signal; If the device signal is smaller than the standard signal, deleting the comparison result; If the device signal is greater than or equal to the standard signal, obtaining a voltage difference between the standard signal and the device signal; The target comparison result and the amplification ratio corresponding to the target comparison result are determined according to the multiple voltage difference values.

4. The method according to claim 3, characterized in that The step of determining the target comparison result and the amplification ratio corresponding to the target comparison result according to the plurality of voltage difference values ​​includes: According to the parameter values ​​corresponding to each of the voltage difference values, a comparison result corresponding to the voltage difference value with the smallest parameter value is selected as the target comparison result; The magnification ratio corresponding to the target comparison result is determined according to a preset corresponding relationship.

5. The method according to claim 3, characterized in that: Before determining the target comparison result and the amplification ratio corresponding to the target comparison result according to the plurality of voltage difference values, the method further includes: For each of the voltage differences, comparing the voltage difference with a preset difference threshold; If the voltage difference is greater than the difference threshold, deleting the voltage difference; If the voltage difference is less than or equal to the difference threshold, the voltage difference is retained.

6. The method according to any one of claims 1 to 5, characterized in that: The method further comprises: Acquiring temperature data, where the temperature data is used to indicate the current temperature of the electrical device; Determining the amplification ratio of the initial signal according to the device signal includes: Determine a voltage change value according to the device signal and the temperature data, wherein the voltage change value is used to represent a voltage change caused by the temperature; The amplification ratio of the initial signal is determined according to the reference voltage and the voltage change value.

7. A voltage regulating circuit, characterized in that: The voltage adjustment circuit comprises: an input terminal, a comparison module, a plurality of amplification modules and a protection module; The input end is used to receive an initial signal and a device signal; The comparison module is used to compare the device signal with a plurality of standard signals to obtain a plurality of comparison results, and the voltage of each of the standard signals is different; The amplification module corresponding to the comparison result is used to amplify the initial signal; The protection module is used to protect the voltage adjustment circuit according to the multiple comparison results.

8. The voltage regulating circuit according to claim 7, characterized in that: The voltage regulating circuit further includes: a temperature acquisition module, and the temperature acquisition module is connected to the comparison module.

9. An electrical device, characterized in that: include: A memory, a processor and a voltage regulating circuit as described in any one of claims 7 to 8, wherein the memory is used to store a computer program; and the processor is used to execute the method as described in any one of claims 1 to 6 through the voltage regulating circuit when calling the computer program.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.