close

Вход

Забыли?

вход по аккаунту

?

DESCRIPTION JPH08102990

код для вставкиСкачать
Patent Translate
Powered by EPO and Google
Notice
This translation is machine-generated. It cannot be guaranteed that it is intelligible, accurate,
complete, reliable or fit for specific purposes. Critical decisions, such as commercially relevant or
financial decisions, should not be based on machine-translation output.
DESCRIPTION JPH08102990
[0001]
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an
audio output device suitable for controlling the volume of sound emitted from a speaker using an
integrated circuit.
[0002]
2. Description of the Related Art At present, there are on the market a microcomputer for
emitting a scale (melody, buzzer, etc.) from a speaker, but this microcomputer is configured as
follows. That is, a scale generation source capable of generating frequency signals corresponding
to a plurality of scales is built in the microcomputer, a frequency signal of a predetermined scale
selected according to the program is taken out from the output terminal, and this frequency
signal is externally The sound emission operation is realized by applying to the speaker through
the resistance of. By the way, when performing so-called volume adjustment such as increasing
or decreasing the volume of the speaker from the current level, between the output terminal of
the microcomputer to which the frequency signal is output and the terminal of the speaker
giving the frequency signal. The load of the speaker is made variable by connecting a plurality of
resistances in series and providing them as a load, and shorting a predetermined resistance
among the plurality of resistances, thereby adjusting the volume of the sound emitted from the
speaker Is realized. As a specific method thereof, mechanical switches or switching transistors
are respectively provided for each of a plurality of resistors externally connected to the
microcomputer, and switching of the mechanical switches or switching on / off of the switching
transistors is performed by the user's operation. I was dealing with changing the number of
10-04-2019
1
series.
[0003]
However, the number of external elements of the microcomputer is very large, resulting in a
problem of cost increase. Furthermore, there is also a problem that the operation becomes
complicated because the user has to make a signal for the operation of each mechanical switch
or the on / off control of the switching transistor by his / her own intention.
[0004]
SUMMARY OF THE INVENTION It is an object of the present invention to provide an audio
output device with a small number of external parts and easy adjustment of the speaker volume.
[0005]
SUMMARY OF THE INVENTION The present invention has been made to solve the abovementioned problems, and its feature is that the frequency signals corresponding to a plurality of
scales are selectively selected. A scale generation source that can be generated, and a scale
setting circuit that instructs one type of scale and causes the scale generation source to output a
frequency signal corresponding to a predetermined type of scale set in the scale generation
source; A switching transistor switched by a frequency signal output from the scale generation
source, a plurality of resistor groups connected in series to the switching transistor, and a
plurality of resistor groups connected in parallel, each of the resistor groups The microcomputer
internally includes: a plurality of short circuits selectively shorted; and a holding circuit holding a
control signal for selectively connecting or disconnecting the plurality of short circuits. And one
end of the plurality of resistor groups not connected to the switching transistor is connected to a
speaker outside the microcomputer, and the control signal obtained by decoding the program by
the microcomputer is stored in the holding circuit. It is a point to adjust the volume emitted from
the speaker by holding and controlling connection and disconnection of the short circuit.
[0006]
According to the present invention, a plurality of resistor groups for adjusting the volume of the
speaker and a plurality of short circuits for selectively shorting each of the resistor groups are
provided inside the microcomputer. The control signal obtained by decoding the program data is
held in the holding circuit to control the series number of resistance groups.
10-04-2019
2
As a result, the number of external parts of the microcomputer can be reduced, cost can be
reduced, and the user's operation can be facilitated.
[0007]
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be
described in detail with reference to the drawings.
FIG. 1 is a diagram showing an audio output device according to the present invention. In FIG. 1,
(1-1) to (1-n) are scale generation sources, and a plurality of series-connected T flip flops (not
shown) are provided internally, and the reference clock RCK is divided. Further, the frequency
signal can be generated from T flip flops of a predetermined number of stages. That is, each of
the scale generation sources (1-1) to (1-n) can selectively generate frequency signals
corresponding to 12 tones from "do" to "shi". (2-1) to (2-n) are scale setting circuits, and setting
signals for setting any scale of 12 tones to each of the scale sources (1-1) to (1-n) Output. That is,
the setting signals applied from the scale setting circuits (2-1) to (2-n) to the scale sources (1-1)
to (1-n) are the scale sources (1-1) to (1). -N) This is a signal for controlling which stage T flip
flop of the plurality of T flip flops incorporated in the inside generates a frequency signal.
Specifically, in each of the scale generation sources (1-1) to (1-n), a plurality of preset registers
for setting a plurality of T flip flops connected in series according to each scale are used. A
frequency signal corresponding to a desired scale can be obtained from the final stage T flip flop
by setting an optional T flip flop and dividing the reference clock RCK. In particular, the preset
register receives an instruction of a scale to be output, preset data corresponding to the scale is
preset each time, and a trigger signal generated based on an output obtained from the final stage
T flip-flop, The preset data is applied from the preset register to the T flip flop. (3-1) to (3-n) are
AND gates, and one input terminal is connected to the output of the final stage of the output T
flip-flop of the scale generation sources (1-1) to (1-n) respectively. The other input terminal is
supplied with a selection signal indicating which one of the AND gates (3-1) to (3-n) is to be
opened. Here, the setting signals output from the scale setting circuits (2-1) to (2-n) and the
selection signals for controlling the opening and closing of the AND gates (3-1) to (3-n) operate
the microcomputer. It is assumed that the predetermined state is determined based on the result
of decoding the program read from the ROM to be read. Further, (4-1) to (4-n) are N channel type
MOS transistors, each gate is connected to the output terminal of AND gates (3-1) to (3-n), and
the source is grounded. ing.
10-04-2019
3
Further, (5-1) to (5-4) are resistors connected in series, one end of which is connected to the
drain of the N channel type MOS transistor (4-1), and the other end is an output terminal (6) And
connected. (7-1) to (7-4) are transmission gates (short circuits), and the individual transmission
gates (7-1) to (7-4) have respective resistances (5-1) to (5-4). And are connected in parallel. (8) is
a latch circuit group (holding circuit), which is composed of four latch circuits (9-1) to (9-4). The
L (latch) terminals of the latch circuits (9-1) to (9-4) are each connected to a 4-bit data bus, and
the C (clock) terminal is commonly connected to the output terminal of the AND gate (10). The
(output) terminals are respectively connected to the control terminals of the transmission gates
(7-1) to (7-4). A similar configuration is also provided for the N channel type MOS transistors (42) (4-3), but since the connection relationship is the same, the description thereof will be omitted.
The above configuration is provided inside the microcomputer.
[0008]
Also, as an external configuration of the microcomputer, a diode (15) and a coil (16) are
connected in series between the power supply V and the output terminal (6), and the speaker
(17) is released to the coil (16). It is connected to the sound enable state. FIG. 2 is a diagram
showing a configuration for generating latch data (control signals) for latch circuit groups (8),
(13) and (14) inside the microcomputer. In FIG. 2, (18) is a ROM, which stores program data for
controlling the microcomputer. An instruction decoder (19) decodes program data read from the
ROM (18). (20) is a RAM, to which various data calculated in the microcomputer are written or
read. (21) is an ALU for performing a logical operation, and based on the output A of the
instruction decoder (19), the data read from the RAM (20) is taken in via the data bus (22) and
the transmission gate (5-1) ) To (5-4), and the result is written again to the RAM (20) via the data
bus (22).
[0009]
The operation of FIGS. 1 and 2 will be described below. First, consider the case where the
speaker (17) emits sound only with the frequency signal of the scale generation source (1-1). In
this case, the frequency signal selected by the output of the scale setting circuit (2-1) is output
through the AND gate (3-1) to switch the N channel type MOS transistor (4-1). Thus, the volume
of the speaker (17) is determined by the number of resistors (5-1) to (5-4) connected in series.
That is, as the number of resistors increases, the load increases and the volume decreases, and as
the number of resistors decreases, the load decreases and the volume increases. Therefore, when
the user operates a volume adjustment key (not shown) in order to obtain a predetermined
volume, an interrupt signal instructing change of volume (large or small) is generated
10-04-2019
4
simultaneously with the operation of this key. In response to this interrupt signal, the ROM (18)
jumps from the address currently being read to the interrupt address, and reads the program
data stored in the interrupt address. The instruction decoder (19) generates a decoded signal A
as a result of decoding the program data read from the ROM (18) at this time. The RAM (20)
reads out the control data from the address where the control data of 4 bits is stored, which
currently sets the transmission gates (5-1) to (5-4) in the predetermined open / close state, based
on the decode signal A. The ALU (21) performs arithmetic processing for changing the volume,
and writes the changed control data again to the read address of the RAM (20). Further, the
control data after the change is read out from the RAM (20) and supplied to the latch circuit
groups (8) (13) (14). On the other hand, from the instruction decoder (19), besides the decoding
signal A, a decoding signal B instructing which of the AND gates (10) (11) (12) is to be opened,
and further, which latch circuit group (8) (13) A decode signal C is generated which instructs the
timing generation circuit (23) whether to supply a clock signal to (14). In the case of the
operation of this embodiment, only the input of the AND gate (10) becomes high level, and the 4bit new control data is latched in the latch circuit group (8), and transmission gates (5-1) to (5-).
The open / close state of 4) is changed, and as a result, the series number of resistors (5-1) to (54) is changed to change the volume of the speaker (17).
[0010]
Although the above description is an example using only the frequency signal of a single scale
generation source, a plurality of corresponding N-channel MOS transistors using different
frequency signals of a plurality of scale generation sources Can be switched simultaneously to
emit a chord from the speaker (17). In this case, a predetermined plurality of AND gates (3-1) to
(3-n) may be opened. In addition, the above-mentioned rewriting operation of the RAM (20) is
repeated for the latch circuit group requiring the rewriting of the control data, and the latch
circuit group can sequentially latch.
[0011]
In the present embodiment, the number of resistors connected in series between the drain of the
N-channel type MOS transistor and the output terminal is four. However, the present invention is
not limited to this. From the above, external parts of the microcomputer can be reduced, and as a
result, cost can be reduced. In addition, the operation of the user becomes easy.
[0012]
10-04-2019
5
According to the present invention, a plurality of resistance groups for adjusting the volume of
the speaker and a plurality of short circuits for selectively shorting the individual resistance
groups are provided in the microcomputer. , And the control circuit obtained by decoding the
program data is held in the holding circuit to control the series number of resistance groups. As a
result, the external parts of the microcomputer can be reduced, cost can be reduced, and the user
can easily operate.
[0013]
Brief description of the drawings
[0014]
1 is a diagram showing an audio output device of the present invention.
[0015]
2 is a diagram for realizing the volume adjustment of the present invention.
[0016]
Explanation of sign
[0017]
(1-1) to (1-n) Scale generation source (2-1) to (2-n) Scale setting circuit (4-1) to (4-n) N channel
type MOS transistor (5-1) to (5-4) Resistance (6) Output terminal (7-1) to (7-4) Transmission gate
(8) (13) (14) Latch circuit group
10-04-2019
6
Документ
Категория
Без категории
Просмотров
0
Размер файла
15 Кб
Теги
description, jph08102990
1/--страниц
Пожаловаться на содержимое документа