CN203645636U - Volume adjusting device and electronic apparatus - Google Patents
Volume adjusting device and electronic apparatus Download PDFInfo
- Publication number
- CN203645636U CN203645636U CN201320712349.9U CN201320712349U CN203645636U CN 203645636 U CN203645636 U CN 203645636U CN 201320712349 U CN201320712349 U CN 201320712349U CN 203645636 U CN203645636 U CN 203645636U
- Authority
- CN
- China
- Prior art keywords
- voltage
- comparator
- circuit
- wave
- generating
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn - After Issue
Links
Images
Landscapes
- Control Of Amplification And Gain Control (AREA)
Abstract
The utility model discloses a volume adjusting device and an electronic apparatus. The volume adjusting device comprises a triangle wave generation circuit, a variable voltage generation circuit and a level comparison circuit. The triangle wave generation circuit is used for generating a triangle wave and outputting a triangle wave voltage to the level comparison circuit. The variable voltage generation circuit is used for generating a variable voltage according to an external volume adjusting control signal and outputting the variable voltage to the level comparison circuit, wherein the variable voltage is smaller than the highest voltage of the triangle wave and larger than the lowest voltage of the triangle wave. The level comparison circuit is used for comparing the input triangle wave voltage and the variable voltage, forming a pulse width modulation signal having a variable duty factor and outputting the pulse width modulation signal, and thus realizes volume adjustment. The volume adjusting device solves a problem of high cost in volume adjustment.
Description
Technical field
The utility model relates to audio signal processing technique field, particularly a kind of volume adjustment device and a kind of electronic equipment.
Background technology
Volume adjustment device in the market, how by after swept resistance dividing potential drop, gather magnitude of voltage through A-D converter ADC and realize, but the current price comparison costliness of the microcontroller with ADC function on the market, is unfavorable for the control of cost, and the market competitiveness is reduced relatively.
Utility model content
The utility model provides a kind of volume adjustment device and a kind of electronic equipment, to solve the problem that volume adjusting cost is high.
The utility model provides a kind of volume adjustment device, and described device comprises:
Triangle wave generating circuit, for generating triangular wave, and exports described triangle wave voltage to level comparison circuit;
Variable voltage circuit for generating, for producing variable voltage according to outside volume adjusting control signal, and export described variable voltage to described level comparison circuit, wherein, described variable voltage is less than the ceiling voltage of described triangular wave and is greater than the minimum voltage of described triangular wave;
Described level comparison circuit, for described triangle wave voltage and the described variable voltage of input are compared, forms the pulse width modulating signal of variable duty ratio, and by described pulse width modulating signal output, thereby realize volume adjusting.
Preferably, described device also comprises: microcontroller, for reading the duty ratio of pulse width modulating signal of described level comparison circuit output, thereby realize volume adjusting.
Preferably, described triangle wave generating circuit comprises:
Square-wave generator, for generating square wave, and exports described square wave to waver;
Described waver, for converting the described square wave of input to triangular wave, and exports described triangle wave voltage to level comparison circuit.
Preferably, described square-wave generator comprises: the hysteresis loop comparator of RC oscillating circuit and anti-phase input.
Preferably, described waver comprises the second comparator, the 5th resistance, the 6th resistance and the second electric capacity; Wherein: the output of described the 5th one end of resistance and the hysteresis loop comparator of described anti-phase input is connected, the other end is connected with the positive input terminal of described the second comparator, the negative input end of described the second comparator is by described the 6th grounding through resistance, the positive feedback loop element that described the second electric capacity is described the second comparator.
Preferably, described variable voltage circuit for generating is potentiometer; The first fixing pin of described potentiometer is connected with power supply by a divider resistance, and the second fixing pin of described potentiometer is by another divider resistance ground connection, and the moving plate pin of described potentiometer is connected with described level comparison circuit.
Preferably, described level comparison circuit is comparator, wherein: the output of described triangle wave generating circuit is connected with the positive input terminal of described comparator, the output of described variable voltage circuit for generating is connected with the negative input end of described comparator, the output output pulse width modulation signal of described comparator.
The utility model also provides a kind of electronic equipment, and described electronic equipment comprises volume adjustment device as above.
The beneficial effect of the utility model embodiment is: in the time carrying out volume adjusting, do not use the MCU with ADC, but adopt triangular wave as first-harmonic, produce variable voltage as volume adjuster according to outside volume adjusting control signal, carry out voltage ratio, thereby form the pulse width modulating signal of variable duty ratio, again by reading the duty ratio of described pulse width modulating signal, determine the output potential of volume adjuster, thereby determine the volume of volume adjuster, realize volume adjusting, the utility model is applicable to major part and need to adopts the equipment of volume adjusting, its cost is low, convenient operation.
Brief description of the drawings
Fig. 1 is the structure chart of a kind of volume adjustment device of the utility model one embodiment;
Fig. 2 is another structure chart of a kind of volume adjustment device of the utility model one embodiment;
Fig. 3 is the structure chart of the triangle wave generating circuit of the utility model one embodiment;
Fig. 4 is the circuit diagram of the square-wave generator of the utility model one embodiment;
Fig. 5 is the circuit diagram of the waver of the utility model one embodiment;
Fig. 6 is the circuit diagram of the variable voltage circuit for generating of the utility model one embodiment;
Fig. 7 is the integrated circuit figure of a kind of volume adjustment device of the utility model one embodiment;
Fig. 8 is the structure chart of a kind of electronic equipment of the utility model one embodiment;
Fig. 9 is the flow chart of a kind of volume adjusting method of the utility model one embodiment.
Embodiment
For making the purpose of this utility model, technical scheme and advantage clearer, below in conjunction with accompanying drawing, the utility model execution mode is described in further detail.
The structure chart of a kind of volume adjustment device that Fig. 1 provides for the utility model embodiment, described device 100 comprises:
Triangle wave generating circuit 110, for generating triangular wave, and exports described triangle wave voltage to level comparison circuit;
Variable voltage circuit for generating 120, for producing variable voltage according to outside volume adjusting control signal, and export described variable voltage to described level comparison circuit, wherein, described variable voltage is less than the ceiling voltage of described triangular wave and is greater than the minimum voltage of described triangular wave;
Described level comparison circuit 130, for described triangle wave voltage and the described variable voltage of input are compared, forms the pulse width modulating signal of variable duty ratio, and by described pulse width modulating signal output, thereby realize volume adjusting.
In an embodiment of the present utility model, described triangle wave generating circuit also can replace with saw-tooth wave generating circuit, and its other steps that realize volume adjusting are constant.
Fig. 2 is another structure chart of a kind of volume adjustment device of the utility model one embodiment; In this embodiment, described device 200 comprises: triangle wave generating circuit 210, variable voltage circuit for generating 220, level comparison circuit 230 and microcontroller 240, wherein, the function of described triangle wave generating circuit 210 is identical with the function of the triangle wave generating circuit 110 in Fig. 1, the function of described variable voltage circuit for generating 220 is identical with the function of the time variant voltage circuit for generating 120 in Fig. 1, the function of described level comparison circuit 230 is identical with the function of the level comparison circuit 130 in Fig. 1, will repeat no more herein;
Described microcontroller 240, for reading the duty ratio of the pulse width modulating signal that described level comparison circuit 230 exports, thereby realizes volume adjusting.
Concrete, timer in microcontroller reads described pulse width modulating signal timing, because first-harmonic is triangular wave, the duty ratio of the pulse width modulating signal therefore forming is not constant, timer reads respectively high level and low duration, thereby determine the output voltage of variable voltage circuit for generating, pass through again with " voltage-volume table of comparisons " and compare, thereby determine the current volume of equipment, by changing the voltage of variable voltage circuit for generating output, realize volume adjusting.
Fig. 3 is the structure chart of the triangle wave generating circuit of the utility model one embodiment, and described triangle wave generating circuit 300 comprises:
Square-wave generator 310, for generating square wave, and exports described square wave to waver 320;
Described waver 320, for converting the described square wave of input to triangular wave, and exports described triangle wave voltage to level comparison circuit.
Concrete, described square-wave generator 310 comprises: the hysteresis loop comparator of RC oscillating circuit and anti-phase input.Fig. 4 shows the circuit diagram of square-wave generator 310; Wherein, the first comparator U1-A Wei Si road amplifier, R1, C1 are RC oscillating circuit, both as delay link, again as feedback network, realize the automatic conversion of output state by discharging and recharging of R1, C1; The hysteresis loop comparator that the first comparator U1-A, R2 and R3 are anti-phase input, D1 is voltage stabilizing didoe, current-limiting resistance R4; When the charging voltage of R1, C1 is during higher or lower than the branch pressure voltage of R2, R3, the first comparator U1-A produces reversion, thereby produces square wave.
Fig. 5 is the circuit diagram of the waver 320 of the utility model one embodiment, and described waver 320 comprises the second comparator U1-B, the 5th resistance R 5, the 6th resistance R 6 and the second capacitor C 2; Wherein: the output of described the 5th one end of resistance R 5 and the hysteresis loop comparator of described anti-phase input is connected, the other end is connected with the positive input terminal of described the second comparator U1-B, the negative input end of described the second comparator U1-B is by described the 6th resistance R 6 ground connection, and described the second capacitor C 2 is the positive feedback loop element of described the second comparator U1-B.Wherein, described the 5th resistance R 5, the second capacitor C 2 and the second comparator U1-B are integrating circuit, realize the conversion of square wave to triangular wave, and described the 5th resistance R 5, the second capacitor C 2 are basic integrating circuit, the second comparator U1-B realizes active integration, improves stability.
Fig. 6 is the circuit diagram of the variable voltage circuit for generating of the utility model one embodiment, and described variable voltage circuit for generating is potentiometer P; The first fixing pin of described potentiometer P is connected with power vd D by a divider resistance R10, and the second fixing pin of described potentiometer P is by another divider resistance R11 ground connection, and the moving plate pin of described potentiometer is connected with described level comparison circuit.Wherein, described potentiometer P can be rotating variable resistance, and in the time stirring the switch of this rotating variable resistance, the resistance of potentiometer P changes, cause the voltage of output to change, that is to say that the voltage of variable voltage circuit for generating output has reflected the anglec of rotation of potentiometer P.The effect of described divider resistance R10 and divider resistance R11 is the scope of regulator potentiometer output voltage, make the voltage of potentiometer output be not less than the minimum value of triangle wave voltage and not higher than the maximum of triangle wave voltage, thereby when the output voltage of potentiometer and the voltage of triangular wave are compared by comparator, the output of comparator can be realized upset, thereby forms pulse width modulating signal.
In the utility model one embodiment, described level comparison circuit is comparator U1-C, as shown in Figure 7, wherein: the output of described triangle wave generating circuit is connected with the positive input terminal of described comparator, the output of described variable voltage circuit for generating is connected with the negative input end of described comparator, the output output pulse width modulation signal of described comparator.
The utility model, in the time of concrete operations, is realized according to the integrated circuit figure of the volume adjustment device of Fig. 7; Wherein, C3 is for carrying out filtering to the output voltage of potentiometer P; In the time stirring potentiometer P, pass through electric resistance partial pressure, the output voltage of potentiometer P changes, when triangle wave voltage is during higher than potentiometer P output voltage, comparator U1-C exports high level, when triangle wave voltage is during lower than potentiometer output voltage, comparator U1-C output low level, realizes and produces pulse width modulation (PWM) signal by this method, and the pwm signal that microcontroller reads conversion judges volume.
In an embodiment of the present utility model, described the first comparator U1-A, the first comparator U1-B and comparator U1-C are the road operational amplifier LM324 with differential input Si.
Fig. 8 is the structure chart of a kind of electronic equipment of the utility model one embodiment, and described electronic equipment 800 comprises volume adjustment device 810 as above.
Fig. 9 is the flow chart of a kind of volume adjusting method of the utility model one embodiment, and described method comprises:
S910, generation triangular wave, and export described triangle wave voltage;
S920, produce variable voltage according to outside volume adjusting control signal, and export described variable voltage, wherein, described variable voltage is less than the ceiling voltage of described triangular wave and is greater than the minimum voltage of described triangular wave;
S930, described triangle wave voltage and described variable voltage are compared, form the pulse width modulating signal of variable duty ratio, and by described pulse width modulating signal output, thereby realize volume adjusting.
In the utility model one embodiment, described by described pulse width modulating signal output, comprise thereby realize volume adjusting: export described pulse-modulated signal, read the duty ratio of described pulse width modulating signal, thereby realize volume adjusting.
The beneficial effect of the utility model embodiment is: in the time carrying out volume adjusting, do not use the MCU with ADC, but adopt triangular wave as first-harmonic, produce variable voltage as volume adjuster according to outside volume adjusting control signal, carry out voltage ratio, thereby form the pulse width modulating signal of variable duty ratio, again by reading the duty ratio of described pulse width modulating signal, determine the output potential of volume adjuster, thereby determine the volume of volume adjuster, realize volume adjusting, the utility model is applicable to major part and need to adopts the equipment of volume adjusting, its cost is low, convenient operation.
The foregoing is only preferred embodiment of the present utility model, be not intended to limit protection range of the present utility model.All any amendments of doing, be equal to replacement, improvement etc. within spirit of the present utility model and principle, be all included in protection range of the present utility model.
Claims (8)
1. a volume adjustment device, is characterized in that, described device comprises:
Triangle wave generating circuit, for generating triangular wave, and exports described triangle wave voltage to level comparison circuit;
Variable voltage circuit for generating, for producing variable voltage according to outside volume adjusting control signal, and export described variable voltage to described level comparison circuit, wherein, described variable voltage is less than the ceiling voltage of described triangular wave and is greater than the minimum voltage of described triangular wave;
Described level comparison circuit, for described triangle wave voltage and the described variable voltage of input are compared, forms the pulse width modulating signal of variable duty ratio, and by described pulse width modulating signal output, thereby realize volume adjusting.
2. device as claimed in claim 1, is characterized in that, described device also comprises:
Microcontroller, for reading the duty ratio of pulse width modulating signal of described level comparison circuit output, thereby realizes volume adjusting.
3. device as claimed in claim 1, is characterized in that, described triangle wave generating circuit comprises:
Square-wave generator, for generating square wave, and exports described square wave to waver;
Described waver, for converting the described square wave of input to triangular wave, and exports described triangle wave voltage to level comparison circuit.
4. device as claimed in claim 3, is characterized in that, described square-wave generator comprises: the hysteresis loop comparator of RC oscillating circuit and anti-phase input.
5. device as claimed in claim 4, is characterized in that, described waver comprises the second comparator, the 5th resistance, the 6th resistance and the second electric capacity; Wherein:
The output of described the 5th one end of resistance and the hysteresis loop comparator of described anti-phase input is connected, the other end is connected with the positive input terminal of described the second comparator, the negative input end of described the second comparator is by described the 6th grounding through resistance, the positive feedback loop element that described the second electric capacity is described the second comparator.
6. the device as described in claim 1-5 any one, is characterized in that, described variable voltage circuit for generating is potentiometer;
The first fixing pin of described potentiometer is connected with power supply by a divider resistance, and the second fixing pin of described potentiometer is by another divider resistance ground connection, and the moving plate pin of described potentiometer is connected with described level comparison circuit.
7. device as claimed in claim 6, is characterized in that, described level comparison circuit is comparator, wherein:
The output of described triangle wave generating circuit is connected with the positive input terminal of described comparator, and the output of described variable voltage circuit for generating is connected with the negative input end of described comparator, the output output pulse width modulation signal of described comparator.
8. an electronic equipment, is characterized in that, described electronic equipment comprises the volume adjustment device as described in claim 1-7 any one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201320712349.9U CN203645636U (en) | 2013-11-12 | 2013-11-12 | Volume adjusting device and electronic apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201320712349.9U CN203645636U (en) | 2013-11-12 | 2013-11-12 | Volume adjusting device and electronic apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
CN203645636U true CN203645636U (en) | 2014-06-11 |
Family
ID=50876854
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201320712349.9U Withdrawn - After Issue CN203645636U (en) | 2013-11-12 | 2013-11-12 | Volume adjusting device and electronic apparatus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN203645636U (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103701421A (en) * | 2013-11-12 | 2014-04-02 | 青岛歌尔声学科技有限公司 | Volume regulating device, volume regulating method and electronic equipment |
CN108806658A (en) * | 2017-05-03 | 2018-11-13 | 深圳市帝迈生物技术有限公司 | A kind of blood analyser and its buzzer volume adjust driving circuit |
-
2013
- 2013-11-12 CN CN201320712349.9U patent/CN203645636U/en not_active Withdrawn - After Issue
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103701421A (en) * | 2013-11-12 | 2014-04-02 | 青岛歌尔声学科技有限公司 | Volume regulating device, volume regulating method and electronic equipment |
CN103701421B (en) * | 2013-11-12 | 2017-01-18 | 歌尔科技有限公司 | Volume regulating device, volume regulating method and electronic equipment |
CN108806658A (en) * | 2017-05-03 | 2018-11-13 | 深圳市帝迈生物技术有限公司 | A kind of blood analyser and its buzzer volume adjust driving circuit |
CN108806658B (en) * | 2017-05-03 | 2024-04-16 | 深圳市帝迈生物技术有限公司 | Blood analyzer and buzzer volume adjustment driving circuit thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102624254B (en) | Constant voltage constant current control circuit with improved load regulation and control method thereof | |
CN103580000B (en) | Switching Power Supply output over-voltage protection method and circuit and the Switching Power Supply with this circuit | |
CN1848683B (en) | Trianglar-wave generator and pulse-width modulation signal generating circuit containing the same | |
CN103701421A (en) | Volume regulating device, volume regulating method and electronic equipment | |
CN105356746A (en) | Conduction time generation circuit for power supply converter, and power supply converter | |
CN102468747A (en) | Charge pump control circuit | |
CN204964613U (en) | Zero -cross detection circuit | |
CN203645636U (en) | Volume adjusting device and electronic apparatus | |
CN201805351U (en) | Control circuit for altering frequency of switching power supply | |
CN204615628U (en) | Multistage negative pressure generating circuit | |
CN103312267B (en) | A kind of high precision oscillator and frequency generating method | |
CN208369264U (en) | A kind of charging circuit and electronic equipment | |
CN202524290U (en) | High-voltage power supply with linearly increasing voltage | |
CN201699597U (en) | Multi-valued direct-current power circuit adopting capacitive voltage reduction | |
CN201041572Y (en) | High voltage generator | |
CN105337496B (en) | Pulse frequency modulation circuit based on voltage controlled oscillator | |
CN103441544B (en) | The multivoltage output control circuit of intelligent charger | |
CN101976941B (en) | Bidirectional thyristor trigger circuit and method | |
CN204031099U (en) | A kind of square-wave generator | |
CN203225657U (en) | A voltage-reducing circuit | |
CN202384988U (en) | Switching power supply circuit | |
CN203368110U (en) | Multi-voltage output control circuit of intelligent charger | |
CN202268798U (en) | Novel voltage-frequency conversion circuit | |
CN205123696U (en) | Self -maintained circuit suitable for direct -current converter | |
CN204886902U (en) | Pulse width modulator |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
AV01 | Patent right actively abandoned |
Granted publication date: 20140611 Effective date of abandoning: 20170118 |
|
AV01 | Patent right actively abandoned |