The present invention relates to an amplifying circuit and a charging method, and particularly relates to an amplifying circuit and a charging method which can avoid unlocking.
In prior art, the amplifying circuit which provides necessary voltages to a speaker always comprises a plurality of transistors. For the smooth operations of the speaker, these transistors alternately turn on (i.e., to be conducted) in different states. However, all transistors may turn off simultaneously while the circuit is switching between different states. Such issue is called “unlocking”. “Unlocking” may cause the speaker to generate abnormal sounds, thus affects user experience.
One objective of the present invention is to provide an amplifying circuit which can avoid unlocking.
Another objective of the present invention is to provide a charging method which can avoid unlocking.
One embodiment of the present invention discloses an amplifying circuit, comprising: a charging circuit, comprising a plurality of first transistors electrically coupled to a target device; and an output circuit, comprising a plurality of second transistors electrically coupled to the target device. After at least one of the first transistors turns on and the second transistors turn off such that the charging circuit charges the target device to a predetermined voltage, at least one of the first transistors and at least one of the second transistors simultaneously turn on for a predetermined time, and then at least one of the second transistors turns on but the first transistors turns off.
Another embodiment of the present invention discloses a charging method, applied to a charging circuit comprising a plurality of first transistors and an output circuit comprising a plurality of second transistors, comprising: (a) controlling at least one of the first transistors to turn on and the second transistors to turn off such that the charging circuit charges a target device to a predetermined voltage; (b) controlling at least one of the first transistors and at least one of the second transistors to simultaneously turn on for a predetermined time, after the step (a); and (c) controlling at least one of the second transistors to turn on and the first transistors to turn off, after the step (b).
In view of above-mentioned embodiments, not only the unlocking problem in the prior art can be avoided, but also the total transconductance of the amplifying circuit can be maintained at a relatively stable value or range, thereby increasing the stability of the circuit.
These and other objectives of the present invention will no doubt become obvious to those of ordinary skill in the art after reading the following detailed description of the preferred embodiment that is illustrated in the various figures and drawings.
Different embodiments are provided in following descriptions to explain the concept of the present invention. Please note, the term “first”, “second”, “third” in following descriptions are only for explaining different components or different steps, but do not mean the sequence thereof. Additionally, in following embodiments, if the transistors or the switches turn on, it means the transistors or the switches are conducted. Oppositely, if the transistors or the switches turn off, it means the transistors or the switches are non-conducted.
The switches SW_P11, SW_N11, switches SW_P21 and SW_N21 can be controlled by a control circuit (not shown). For example, the control circuit can generate digital control codes to control the switches SW_P11, SW_N11, switches SW_P21 and SW_N21. The charging circuit 101 and the output circuit 103 are both electrically coupled to a capacitor C through a pad Pa. The capacitor C and the speaker SP form a high pass filter, and the resistor R is the internal equivalent resistance of the speaker SP. In the embodiment of
In the embodiment of
In such case, the charging circuit 101 charges the capacitor C so that the voltage of the capacitor C reaches a predetermined voltage. Then, the amplifying circuit 100 is switched to the state shown in
In short, in the state of
As mentioned above, in the embodiment of
In one embodiment, within a predetermined time, the transconductance of the charging circuit 101 gradually decreases, and the transconductance of the output circuit 103 gradually increases, so that the total transconductance of the charging circuit 101 and the output circuit 103 falls in a predetermined range. Please refer to
In one embodiment, the sizes of the NMOSs and PMOSs in the output circuit 103 are larger than the sizes of the NMOS and PMOS in the charging circuit 101. In such case, within a predetermined time in the state of
The following Table 1 shows an example corresponding to the embodiment of
Please also note that the numbers in Table 1 are only for illustrating the relationships of the transconductance under different states, not the real transconductance value. As shown in Table 1, in the state of
For more detail, the transconductance of PMOSs or NMOSs can be determined by the following Equation 1.
gm
n
=u
n
c
ox:(VGS−VT) Equation 1
In Equation 1, VGS is provided by the output stage circuit. Also, VT, un, and Cox are the characteristic parameters of the MOS itself. Therefore, the transconductance can be determined by adjusting W/L (equivalent to the number of turned on MOSS).
Various methods can be used to adjust the amount of NMOS or PMOS conduction. In one embodiment, the adjustment is performed by changing a conducted matrix size of a layout corresponding to the NMOSs or PMOSs.
The above-mentioned embodiments are described by taking the class AB amplifier circuit used in the speaker as an example, but the concept of the present invention can be used in circuits other than the class AB amplifier circuit and is not limited to be used in the speaker. Therefore, the amplifying circuit disclosed in the present invention can be simplified as: an amplifying circuit, comprising: a charging circuit (e.g., the charging circuit 101), comprising a plurality of first transistors electrically coupled to a target device (e.g., the capacitor C in
Other details about the first transistor and the second transistor have been disclosed in the above-mentioned embodiments, thus descriptions thereof are omitted for brevity here.
In view of above-mentioned embodiments, the charging method shown in
Step 701
Control at least one of the first transistors to turn on and the second transistors to turn off such that the charging circuit charges a target device to a predetermined voltage (e.g., the state of
Step 703
Control at least one of the first transistors and at least one of the second transistors to simultaneously turn on for a predetermined time, after the step 701 (e.g., the state of
Step 705
Control at least one of the second transistors to turn on and the first transistors to turn off, after the step 703 (e.g., the state of
In view of above-mentioned embodiments, not only the unlocking problem in the prior art can be avoided, but also the total transconductance of the amplifying circuit can be maintained at a relatively stable value or range, thereby increasing the stability of the circuit.
Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the invention. Accordingly, the above disclosure should be construed as limited only by the metes and bounds of the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
111111126 | Mar 2022 | TW | national |