Information processing device and control method

The device connects to two types of stereo speakers by phase-adjusting amplifiers and using sound pressure identification, reducing circuit board space and cost, and optimizing sound output.

JP7562722B2Active Publication Date: 2024-10-07LENOVO IRELAND INTERNATIONAL LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2023008184
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2023-01-23
Publication Date
2024-10-07
Estimated Expiration
2043-01-23

AI Technical Summary

Technical Problem

Existing information processing devices face challenges in connecting to two types of stereo speakers without increasing the number of connector terminals, which impacts cost and space on the circuit board.

Method used

The device employs a configuration with two amplifiers that connect speakers in phase or opposite phases based on the type, using a microphone to identify the speaker type by sound pressure, and adjusts sound signals accordingly, utilizing stored parameters for optimal performance.

Benefits of technology

This approach allows connection to two types of stereo speakers while minimizing the impact on cost and space on the circuit board, ensuring optimal sound output by identifying and controlling the speakers based on their characteristics.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007562722000001
    Figure 0007562722000001
  • Figure 0007562722000002
    Figure 0007562722000002
  • Figure 0007562722000003
    Figure 0007562722000003
Patent Text Reader

Abstract

To cope with connection to two type stereo speakers while suppressing a cost and an influence to a space on a circuit board.SOLUTION: An information processing device comprises: two amplifiers that are connected to any one of two types of stereo speakers, and output, to each of two speakers included in the stereo speaker, each of sound signals based on sound data; a connection part that connects the two amplifiers with the two speakers; and a microphone. When a first stereo speaker is to be connected to the connection part, the stereo speaker is connected so that the two speakers included in the first stereo speaker are in phase with each other. When a second stereo speaker is to be connected to the connection part, the stereo speaker is connected so that the two speakers included in the second stereo speaker are in reverse phase with each other. The information processing device outputs each sound signal based on a predetermined sound data from the amplifier to each stereo speaker, so as to identify a type of the stereo speaker connected to the connection part on the basis of a sound collected by the microphone.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an information processing device and a control method. [Background technology]

[0002] There are information processing devices equipped with speakers. For example, notebook PCs (Personal Computers) generally have stereo speakers built in. For general-purpose PCs, designs may be made to support speakers from two suppliers, for example, to ensure a stable supply of parts in mass production.

[0003] Since each type of speaker has different parameters that have different characteristics, in order to bring out the best performance from the speakers that are connected to the two suppliers, information on the parameters for each of the speakers from each supplier is required. For example, Patent Document 1 describes TS (Thiele-Small) parameters as parameters related to speaker characteristics. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] Special Publication No. 2022-515648 Summary of the Invention [Problem to be solved by the invention]

[0005] One method for identifying the type of speaker that is connected is to provide an identification terminal on the connector to which the speaker is connected. For example, by providing two identification terminals, it is possible to identify which speaker is connected by configuring the first speaker to have these two terminals as unconnected (open) and the second speaker to have these two terminals as connected (closed). However, in the case of a stereo speaker, for example, there are four terminals for connecting the two paired speakers, and adding two more terminals for identification, a six-terminal connector is required. Increasing the number of terminals on a connector affects the cost and space on a circuit board (e.g., a motherboard).

[0006] The present invention has been made in consideration of the above-mentioned circumstances, and one of its objects is to provide an information processing device and a control method that support connection to two types of stereo speakers while minimizing the impact on costs and space on a circuit board. [Means for solving the problem]

[0007] The present invention has been made to solve the above problems, and according to a first aspect of the present invention, an information processing device connected to one of two types of connectable stereo speakers includes a memory that stores sound data of sounds to be output from the stereo speakers, two amplifiers that output sound signals based on the sound data to each of the two speakers of the stereo speakers, a connection unit that connects the two amplifiers to the two speakers, a microphone that can collect at least the sounds output from the stereo speakers, and a processor that controls output to the stereo speakers, and a first stereo speaker of the two types of stereo speakers is connected to the connection unit. In this case, the two speakers of the first stereo speaker are connected to the amplifier via the connection part so that they are in phase with each other, and when a second stereo speaker of the two types of stereo speakers is connected to the connection part, the two speakers of the second stereo speaker are connected to the amplifier via the connection part so that they are in opposite phase with each other, and the processor collects sounds output from the stereo speakers with the microphone by outputting sound signals based on predetermined sound data from the amplifier to the stereo speakers connected to the connection part, and performs an identification process to identify the type of the stereo speaker connected to the connection part based on the collected sound.

[0008] In the information processing device, the processor may, in the identification process, identify the type of the stereo speaker based on a sound pressure of the sound collected by the microphone.

[0009] In the above information processing device, the processor may control, based on the type of the stereo speakers identified by the identification process, so that sound signals output from the two amplifiers are in phase with each other when the first stereo speaker is connected to the connection unit, and so that sound signals output from the two amplifiers are out of phase with each other when the second stereo speaker is connected to the connection unit.

[0010] In the above information processing device, the memory stores parameters corresponding to the characteristics of each of the two types of stereo speakers, and the information processing device further includes an audio processing unit that uses the parameters to generate sound signals to be output to the stereo speakers from the sound data, and the processor may read the parameters of the stereo speakers connected to the connection unit from the memory so that they can be used by the audio processing unit, based on the type of the stereo speakers identified by the identification process.

[0011] In the information processing device, the sound signal based on the predetermined sound data may be a sine wave signal.

[0012] In the information processing device, the processor may perform the identification process before shipment from a factory or when a part of the stereo speaker is replaced after shipment.

[0013] According to a second aspect of the present invention, there is provided an information processing device including a memory connected to one of two types of connectable stereo speakers and storing sound data of sounds to be output from the stereo speakers, two paired amplifiers outputting sound signals based on the sound data for each of the two paired speakers of the stereo speakers, a connection unit connecting the two paired amplifiers to the two paired speakers, a microphone capable of collecting at least sounds output from the stereo speakers, and a processor for controlling output to the stereo speakers, the ... includes a control method for controlling the first stereo speaker when a first stereo speaker of the two types of stereo speakers is connected to the connection unit, The method includes a step of causing the amplifier to output a sound signal based on predetermined sound data to the stereo speakers connected to the connection part, a step of causing the microphone to collect the sound output from the stereo speakers, and a step of identifying the type of the stereo speaker connected to the connection part based on the sound collected by the microphone. In the case where a second stereo speaker of the two types of stereo speakers is connected to the connection part, the two paired speakers of the second stereo speaker are connected to the amplifier via the connection part so that they are in phase with each other, and when a second stereo speaker of the two types of stereo speakers is connected to the connection part, the two paired speakers of the second stereo speaker are connected to the amplifier via the connection part so that they are in opposite phase with each other, and the processor causes the amplifier to output a sound signal based on predetermined sound data to the stereo speakers connected to the connection part, a step of causing the microphone to collect the sound output from the stereo speakers, and a step of identifying the type of the stereo speaker connected to the connection part based on the sound collected by the microphone. Effect of the Invention

[0014] According to the above-described aspects of the present invention, it is possible to accommodate connection to two types of stereo speakers while minimizing the impact on costs and space on the circuit board. [Brief description of the drawings]

[0015] [Figure 1] FIG. 1 is a perspective view showing an external appearance of an information processing apparatus according to an embodiment. [Diagram 2] FIG. 2 is a schematic diagram showing an example of a connection specification of a speaker according to an embodiment. [Diagram 3] 4A and 4B are explanatory diagrams of a speaker identification method according to the embodiment. [Figure 4] FIG. 1 is a block diagram showing an example of a hardware configuration of an information processing apparatus according to an embodiment. [Diagram 5] FIG. 2 is a block diagram showing an example of a functional configuration of the information processing apparatus according to the embodiment. [Figure 6] FIG. 4 is a diagram showing an example of frequency characteristics of positive and negative phase sound pressures according to the embodiment. [Figure 7] 10 is a flowchart showing an example of a speaker identification process according to the embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0016] Hereinafter, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a perspective view showing the appearance of an information processing device according to this embodiment. The illustrated information processing device 10 is a clamshell-type notebook PC (Personal Computer). The information processing device 10 includes a first housing 101, a second housing 102, and a hinge mechanism 103. The first housing 101 and the second housing 102 are substantially rectangular plate-shaped (for example, flat) housings. One side surface of the first housing 101 and one side surface of the second housing 102 are coupled (connected) via the hinge mechanism 103, and the first housing 101 and the second housing 102 can rotate relatively around a rotation axis formed by the hinge mechanism 103. The opening angle (hinge angle) due to the rotation of the first housing 10 and the second housing 20 is illustrated as "θ".

[0017] The state where the first housing 101 and the second housing 102 overlap and close (referred to as the "closed state") is when the opening angle θ around the rotation axis between the first housing 101 and the second housing 102 is approximately 0°. In the closed state, the surfaces of the first housing 101 and the second housing 102 that face each other are referred to as the "inner surface" of each housing, and the surface opposite to the inner surface is referred to as the "outer surface". The opening angle θ can also be said to be the angle formed by the inner surface of the first housing 101 and the inner surface of the second housing 102. A state where the first housing 101 and the second housing 102 are open relative to the closed state is referred to as the "open state". The open state is a state where the first housing 101 and the second housing 102 are rotated relatively until the opening angle θ becomes larger than a preset threshold value (for example, 10°). Typically, as shown in the figure, the device is often used in a state where the opening angle θ is about 100 to 130°.

[0018] A display unit 14 is provided on the inner surface of the first housing 101. The display unit 14 displays an image based on a process executed by the information processing device 10. A microphone (microphone) 40 is provided on the inner surface of the first housing 101 in a peripheral area of ​​the display unit 14. The microphone 40 may be a stereo microphone including two microphones on the right and left sides.

[0019] Further, a keyboard 32 and a speaker 50 are provided on the inner surface of the second housing 102. The keyboard 32 is provided as an input device that accepts user operations. The speaker 50 is a stereo speaker including two speakers, a left speaker 51 and a right speaker 52. In the closed state, the display unit 14 is not visible, and the keyboard 32 cannot be operated. On the other hand, in the open state shown in FIG. 1, the display unit 14 is visible, and the keyboard 32 can be operated (i.e., the information processing device 10 can be used).

[0020] Here, the information processing device 10 is designed to be connectable to two types of speakers 50. The two types of speakers 50 are, for example, speakers from different suppliers. Since the speakers 50 have different parameters for different characteristics for each type, in order to bring out the best performance when any of the speakers 50 from the two suppliers is connected, parameter information for each of the speakers 50 from each supplier is required. Thus, the information processing device 10 distinguishes the connection specifications of the two types of speakers 50, thereby identifying the type of the connected speaker 50 and performing control based on the appropriate parameters.

[0021] 2 is a schematic diagram showing an example of speaker connection specifications according to this embodiment. Here, an example configuration corresponding to the connection of speakers 50 of two suppliers, supplier A and supplier B, will be described. The speaker 50 of supplier A is shown as speaker 50a, and the speaker 50 of supplier B is shown as speaker 50b.

[0022] 2A shows the connection specifications of a speaker 50a of a supplier A. The speaker 50a has two speakers, a left speaker 51a and a right speaker 52a, which form a pair. The speakers 51a and 52a are each connected to a connector 16 mounted on a motherboard 15 via a speaker cable 55. In addition, two pairs of audio amplifiers 241 and 242 are mounted on the motherboard 15. The connector 16 is a connector equipped with terminals for connecting the audio amplifiers 241 and 242 mounted on the motherboard 15 to the speaker 50a.

[0023] The left audio amplifier 241 is connected to the left speaker 51a via the connector 16. The right audio amplifier 242 is connected to the right speaker 52a via the connector 16. For example, the illustrated connector 16 has four terminals, which are connected, from the top terminal to the bottom terminal, to the positive (+) of the speaker 51a, the negative (-) of the speaker 51a, the positive (+) of the speaker 52a, and the negative (-) of the speaker 52a in that order.

[0024] FIG. 2B shows the connection specifications of the speaker 50b of the supplier B. The speaker 50b has two speakers, a pair of a left speaker 51b and a right speaker 52b. The speakers 51b and 52b are each connected to the connector 16 via a speaker cable 55. The left audio amplifier 241 is connected to the left speaker 51b via the connector 16. The right audio amplifier 242 is connected to the right speaker 52b via the connector 16. From the upper terminal to the lower terminal of the connector 16, the positive (+) of the speaker 51b, the negative (-) of the speaker 51b, the negative (-) of the speaker 52b, and the positive (+) of the speaker 52b are connected in this order.

[0025] In this way, only the speaker 52b of supplier B is connected with the positive (+) and negative (-) reversed to the connector 16. That is, the speaker 51a and the speaker 52a of supplier A are connected to the audio amplifier 241 and the audio amplifier 242 via the connector 16 so as to be in phase with each other. On the other hand, the speaker 51b and the speaker 52b of supplier B are connected to the audio amplifier 241 and the audio amplifier 242 via the connector 16 so as to be in phase with each other.

[0026] As shown in FIG. 2, the information processing device 10 distinguishes the type of speaker connected to the connector 16 by making the connection specifications of the speaker 50a of the supplier A and the speaker 50b of the supplier B different.

[0027] Fig. 3 is an explanatory diagram of a speaker identification method according to this embodiment. In Fig. 3(A), two speakers are connected so that both are in-phase (i.e., in-phase with each other). For example, when a sine wave sound signal is output from two speakers, the waveforms of the output positive phase sounds overlap, increasing the amplitude and sound pressure.

[0028] 3B, two speakers are connected to be in opposite phase to each other, so that when a sine wave sound signal is output from the two speakers, the waveforms of the sounds output from the two speakers cancel each other out, reducing the amplitude and sound pressure. Therefore, the information processing device 10 can distinguish between the speaker 50a of supplier A and the speaker 50b of supplier B based on whether the sound pressure is high or low.

[0029] [Hardware configuration of information processing device 10] Next, the main hardware configuration of the information processing device 10 will be described with reference to Fig. 4. Fig. 4 is a block diagram showing an example of the hardware configuration of the information processing device 10 according to this embodiment.

[0030] The information processing device 10 includes a CPU 11, a main memory 12, a video subsystem 13, a display unit 14, a chipset 21, a BIOS memory 22, a storage unit 23, an audio system 24, a communication unit 25, a USB connector 26, an embedded controller 31, a keyboard 32, a power supply circuit 33, and a battery 34.

[0031] For example, the CPU 11, main memory 12, video subsystem 13, chipset 21, BIOS memory 22, storage unit 23, audio system 24, communication unit 25, USB connector 26, embedded controller 31, and sensor 35 are mounted on a motherboard 15 (main circuit board).

[0032] The CPU 11 executes various arithmetic processes under program control, and controls the entire information processing device 10. For example, the CPU 11 executes processes based on programs of an OS (Operating System) and a BIOS (Basic Input Output System). The CPU 11 also executes processes based on various drivers, various services / utilities, applications, etc. executed on the OS.

[0033] The main memory 12 is a writable memory that is used as a read area for programs executed by the CPU 11, or as a work area for writing data used in processes executed by the programs. The main memory 12 is composed of, for example, multiple DRAM (Dynamic Random Access Memory) chips. The executable programs include an OS, various drivers for operating the hardware of peripheral devices, various services / utilities, application programs, etc.

[0034] Video subsystem 13 is a subsystem for implementing functions related to image display, and includes a video controller. This video controller processes drawing commands from CPU 11, writes the processed drawing information to a video memory, and also reads the drawing information from the video memory and outputs it to display unit 14 as drawing data (display data).

[0035] The display unit 14 is, for example, a liquid crystal display or an organic EL display, and displays a display screen based on drawing data (display data) output from the video subsystem 13.

[0036] The chipset 21 includes controllers for a Universal Serial Bus (USB), a serial AT Attachment (Serial ATA), a Serial Peripheral Interface (SPI) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express bus, and a Low Pin Count (LPC) bus, and is connected to a plurality of devices. For example, the plurality of devices include a BIOS memory 22 (described later), a storage unit 23, an audio system 24, a communication unit 25, a USB connector 26, and an embedded controller 31.

[0037] The BIOS memory 22 is configured with an electrically rewritable non-volatile memory such as an EEPROM (Electrically Erasable Programmable Read Only Memory) or a flash ROM, etc. The BIOS memory 22 stores the BIOS, system firmware for controlling the embedded controller 31, etc.

[0038] The storage unit 23 includes a hard disk drive (HDD), a solid state drive (SSD), etc. For example, the storage unit 23 stores an OS, various drivers, various services / utilities, application programs, and various data.

[0039] The audio system 24 includes the audio amplifiers 241, 242 described with reference to Figs. 1 and 2, and is connected to the speaker 50 via the connector 16. For example, the audio system 24 generates a sound signal based on sound data and outputs it to the speaker 50. The audio system 24 is also connected to a microphone 40, and generates sound data based on a sound signal collected by the microphone 40. Details will be described later with reference to Fig. 5.

[0040] The communication unit 25 connects to a network via a wireless LAN (Local Area Network) or a wired LAN to perform data communication. For example, when the communication unit 25 receives data from the network, it generates an event trigger indicating that the data has been received. The communication unit 25 may also communicate with peripheral devices via short-range wireless communication such as Bluetooth (registered trademark). The USB connector 26 is a connector for connecting peripheral devices that use USB.

[0041] The keyboard 32 is an input device on which a plurality of keys (an example of an operator) that accepts user operations are arranged. The keyboard 32 is provided on the inner surface of the second housing 102, as shown in Fig. 1. The keyboard 32 outputs input information (for example, an operation signal indicating a key operated on the keyboard) input by a user operation to the embedded controller 31.

[0042] The power supply circuit 33 includes, for example, a DC / DC converter, a charge / discharge unit, an AC / DC adapter, etc. For example, the power supply circuit 33 converts a DC voltage supplied from an external power source such as an AC adapter (not shown) or a battery 34 into a plurality of voltages required to operate the information processing device 10. The power supply circuit 33 also supplies power to each unit of the information processing device 10 based on the control from the embedded controller 31.

[0043] The battery 34 is, for example, a lithium battery, and is charged via the power supply circuit 33 when the information processing device 10 is supplied with power from an external power source, and when the information processing device 10 is not supplied with power from an external power source, the battery 34 outputs the charged power via the power supply circuit 33 as operating power for the information processing device 10.

[0044] The sensor 35 includes various sensors such as a hall sensor, an acceleration sensor, or a temperature sensor. Each of the various sensors is disposed in a position corresponding to the detection target, and outputs a detection signal. For example, the hall sensor is used to detect whether the information processing device 10 is in an open state or a closed state. The acceleration sensor is used to detect the orientation or movement of the information processing device 10, or the opening angle θ between the first housing 101 and the second housing 102. The temperature sensor is used to detect the internal temperature of the information processing device 10.

[0045] The embedded controller 31 is a one-chip microcomputer that monitors and controls various devices (peripheral devices, sensors, etc.) regardless of the system state of the information processing device 10. The embedded controller 31 includes a CPU, a ROM, a RAM, A / D input terminals for multiple channels, a D / A output terminal, a timer, and digital input / output terminals (not shown). For example, a keyboard 32, a power supply circuit 33, and a sensor 35 are connected to the digital input / output terminals of the embedded controller 31. The embedded controller 31 receives input information (operation signals) from the keyboard 32 and sensor signals from the sensor 35 and the like. The embedded controller 31 also controls the operation of the power supply circuit 33 and the like.

[0046] [Functional configuration of information processing device 10] Next, a functional configuration in which the information processing device 10 identifies the type of the connected speaker 50 and performs control will be described. 5 is a block diagram showing an example of a functional configuration of the information processing device 10 according to this embodiment. The information processing device 10 includes a processing unit 100 as a functional configuration realized by the CPU 11 executing various programs. The processing unit 100 includes an audio driver 101, a speaker identification application 102, and a parameter setting application 103.

[0047] The audio driver 101 is a functional configuration realized by processing by the audio driver, and controls the audio system 24 to output sound from the speaker 50. For example, the audio driver 101 outputs sound data of the sound to be output from the speaker 50 to the audio system 24.

[0048] The speaker identification application 102 executes an identification process for identifying the type of the connected speaker 50. This identification process is executed by a predetermined operation of an operator in a process before shipment from a factory, or when parts of the speaker 50 are replaced during a repair service or the like after shipment.

[0049] In the identification process, the speaker identification application 102 causes a sound based on predetermined sound data (e.g., sine wave sound data) to be output from the speaker 50. Specifically, the speaker identification application 102 outputs the predetermined sound data (e.g., sine wave sound data) to the audio system 24 via the audio driver 101, thereby causing the sound based on the predetermined sound data (e.g., sine wave sound data) to be output from the speaker 50 via the audio system 24.

[0050] Then, the speaker identification application 102 collects the sound output from the speaker 50 with the microphone 40, and identifies the type of the speaker 50 connected to the connector 16 based on the collected sound. Specifically, the speaker identification application 102 acquires a microphone signal of the sound collected by the microphone 40 via the audio system 24 and the audio driver 101, and identifies the type of the speaker 50 based on the sound pressure of the sound of the acquired microphone signal, as described with reference to FIG.

[0051] 6 is a diagram showing an example of frequency characteristics of sound pressure in positive and negative phases according to the present embodiment. When the frequency is changed, in the case of the negative phase, the sound pressure is significantly lower in the low frequency range than in the case of the positive phase. Therefore, in the identification process, the speaker identification application 102 outputs a sound based on sine wave sound data in the low frequency range (for example, 500 Hz) from the speaker 50. Then, if the sound pressure of the sound output from the speaker 50 is higher than a preset determination threshold, the speaker identification application 102 determines that it is the speaker 50a of supplier A, and if it is lower than the determination threshold, the speaker identification application 102 determines that it is the speaker 50b of supplier B.

[0052] 5, when the speaker identification application 102 determines that the speaker 50a of the supplier A is connected to the connector 16, it controls the audio system 24 so that the sound signals output from the audio amplifiers 241 and 242 are in phase with each other. On the other hand, when the speaker identification application 102 determines that the speaker 50b of the supplier B is connected to the connector 16, it controls the audio system 24 so that the sound signals output from the audio amplifiers 241 and 242 are in opposite phase with each other.

[0053] For example, when the speaker identification application 102 determines that the speaker 50a of the supplier A is connected to the connector 16, it transmits to the audio system 24 a positive phase setting signal for setting the sound signals output from the audio amplifier 241 and the audio amplifier 242 to be both in-phase. On the other hand, when the speaker identification application 102 determines that the speaker 50b of the supplier B is connected to the connector 16, it transmits to the audio system 24 a positive phase setting signal for setting the sound signal output from the audio amplifier 241 to be in-phase, and a reverse phase setting signal for setting the sound signal output from the audio amplifier 242 to be in-phase (setting the polarity to be reversed).

[0054] The parameter setting application 103 sets adjustment parameters corresponding to the type of the connected speaker 50 in the audio system 24. The adjustment parameters are parameters designed in advance based on Thiele-Small (TS) parameters related to the characteristics of each type of speaker 50. The parameter setting application 103 reads the adjustment parameters corresponding to the type of the connected speaker 50 and outputs them to the audio system 24. The audio system 24 can generate a sound signal corresponding to the characteristics of the speaker 50 by using the adjustment parameters when generating a sound signal from sound data.

[0055] Here, the output polarity of the audio amplifier 242 and the settings of the adjustment parameters are written in, for example, a registry. As an example, the polarity of the connection of the speaker 50 is written under a registry key (\HKEY_LOCAL_MACHINE\SOFTWARE\chipsuppliername\SmartAmpCMD), and the parameter values ​​adapted to the speaker 50a of the supplier A or the speaker 50b of the supplier B are written under a registry key (\HKEY_LOCAL_MACHINE\SOFTWARE\chipsuppliername\SpkProtection). For example, the registry is stored in the storage unit 23, and is read into the main memory 12 when the OS is started.

[0056] Instead of the registry, the adjustment parameters may be written in the BIOS memory 22. For example, when the UEFI (Unified Extensible Firmware Interface) is used as the BIOS, the output polarity of the audio amplifier 242 and the adjustment parameters may be written in an area (GenericArea) that can be written by the user.

[0057] The audio system 24 includes an audio amplifier 241, an audio amplifier 242, a DAC 243, a DAC 244, an ADC 245, and an audio control unit 246. The audio amplifier 241 is connected to the left speaker 51 via the connector 16, and amplifies an input sound signal and outputs it to the speaker 51. The audio amplifier 242 is connected to the right speaker 52 via the connector 16, and amplifies an input sound signal and outputs it to the speaker 52.

[0058] DAC243 and DAC244 are "Digital to Analog Converters" that convert sound data (digital signals) into sound signals (analog signals). DAC243 acquires sound data to be output from the left speaker 51 from the audio driver 101, converts the acquired sound data into a sound signal, and outputs it to the audio amplifier 241. DAC244 acquires sound data to be output from the right speaker 52 from the audio driver 101, converts the acquired sound data into a sound signal, and outputs it to the audio amplifier 242.

[0059] The ADC 245 is an “Analog to Digital Converter” that converts a microphone signal (analog signal) into sound data (digital signal). The ADC 245 acquires a microphone signal of the sound collected by the microphone 40, converts the acquired microphone signal into sound data, and outputs the sound data to the audio driver 101.

[0060] The audio control unit 246 sets the outputs of the audio amplifiers 241 and 242 to a positive phase or a negative phase based on a positive phase setting signal or a negative phase setting signal transmitted from the speaker identification application 102. For example, when the audio control unit 246 acquires a negative phase setting signal for setting the sound signal output from the audio amplifier 242 to be in a negative phase (setting the polarity to be reversed), the audio control unit 246 reverses the positive and negative polarities of the sound signal output from the audio amplifier 242.

[0061] Furthermore, the audio control unit 246 adjusts the sound signal converted from the sound data by using adjustment parameters corresponding to the type of speaker 50 read by the parameter setting application 103. That is, when generating a sound signal to be output to the speaker 50a of supplier A from sound data, the audio control unit 246 uses the adjustment parameters of the speaker 50a of supplier A. On the other hand, when generating a sound signal to be output to the speaker 50b of supplier B from sound data, the audio control unit 246 uses the adjustment parameters of the speaker 50b of supplier B.

[0062] [Speaker identification processing] Next, the operation of the speaker identification process executed by the processing unit 100 of the information processing device 10 will be described with reference to FIG. 7 is a flowchart showing an example of the speaker identification process according to the present embodiment. The illustrated speaker identification process is executed by a predetermined operation of an operator, for example, before shipment from a factory, or when parts of the speaker 50 are replaced during a repair service or the like after shipment.

[0063] (Step S101) First, an audio driver package is installed in the information processing device 10. The audio driver package is a program for realizing the functions of the audio driver 101, the parameter setting application 103, and the speaker identification application 102 included in the processing unit 100 shown in Fig. 5. The programs for realizing the functions of the audio driver 101, the parameter setting application 103, and the speaker identification application 102 may be provided as separate programs for each function, or may be provided as one program combining the respective functions.

[0064] (Step S103) Processing unit 100 reproduces and outputs 500 Hz sine wave sound data to left speaker 51. Specifically, processing unit 100 reproduces the 500 Hz sine wave sound data to be output to left speaker 51, and outputs it to audio system 24. As a result, audio system 24 outputs a sound signal based on the 500 Hz sine wave sound data to speaker 51, and the 500 Hz sine wave sound is output from speaker 51.

[0065] (Step S105) The processing unit 100 acquires a microphone signal of the 500 Hz sine wave sound (sound output from the left speaker 51) collected by the microphone 40, and stores the sound pressure level of the acquired microphone signal.

[0066] (Step S107) Processing unit 100 reproduces and outputs the 500 Hz sine wave sound data to right speaker 52. Specifically, processing unit 100 reproduces the 500 Hz sine wave sound data to be output to right speaker 52, and outputs it to audio system 24. As a result, audio system 24 outputs a sound signal based on the 500 Hz sine wave sound data to speaker 52, and the 500 Hz sine wave sound is output from speaker 52.

[0067] (Step S109) The processing unit 100 acquires a microphone signal of the 500 Hz sine wave sound (sound output from the right speaker 52) collected by the microphone 40, and stores the sound pressure level of the acquired microphone signal.

[0068] (Step S111) The processing unit 100 compares the sound pressure level stored in step S105 with the sound pressure level stored in step S109, and sets a determination threshold based on the lower sound pressure level.

[0069] (Step S113) The processing unit 100 reproduces and outputs the 500 Hz sine wave sound data to both the speaker 51 and the speaker 52. Specifically, the processing unit 100 reproduces the 500 Hz sine wave sound data to be output to the speaker 51 and the speaker 52, and outputs it to the audio system 24. As a result, the audio system 24 outputs sound signals based on the 500 Hz sine wave sound data to the speakers 51 and 52, and the 500 Hz sine wave sound is output from both the speaker 51 and the speaker 52.

[0070] (Step S115) The processing unit 100 acquires a microphone signal of the 500 Hz sine wave sound (sound output from both the speaker 51 and the speaker 52) collected by the microphone 40, and stores the sound pressure level of the acquired microphone signal.

[0071] (Step S117) The processing unit 100 compares the sound pressure level stored in step S115 with the judgment threshold set in step S111 to judge which is larger. If the processing unit 100 judges that the sound pressure level is larger than the judgment threshold, it judges that the speaker 50a of supplier A is connected (step S119). Then, the processing proceeds to step S121. On the other hand, if the processing unit 100 judges that the sound pressure level is smaller than the judgment threshold, it judges that the speaker 50b of supplier B is connected (step S123). Then, the processing proceeds to step S125.

[0072] (Step S121) When the processing unit 100 determines that the speaker 50a of the supplier A is connected, it reads the adjustment parameters of the speaker 50a of the supplier A and sets them in the audio system 24.

[0073] (Step S125) When the processing unit 100 determines that the speaker 50b of the supplier B is connected, it switches the positive and negative polarities of the sound signal to be output to the right speaker 51 to set it to an inverse phase. Then, it proceeds to the processing of step S127.

[0074] (Step S127) The processing unit 100 reads the adjustment parameters of the speaker 50b of the supplier B, and sets them in the audio system 24.

[0075] [Summary of the embodiment] As described above, the information processing device 10 according to the present embodiment is connected to one of two types of speakers 50 (one example of a stereo speaker) that can be connected. The information processing device 10 includes a memory (e.g., a main memory 12) that stores sound data of sounds to be output from the speaker 50, two audio amplifiers 241, 242 (one example of an amplifier) ​​that output sound signals based on the sound data to the two speakers 51, 52 of the speaker 50, a connector 16 (one example of a connector) that connects the two audio amplifiers 241, 242 and the two speakers 51, 52, a microphone 40 that can collect at least the sounds output from the speaker 50, and a CPU 11 (one example of a processor) that controls the output to the speaker 50. When the speaker 50a (an example of a first stereo speaker) of the supplier A among the two types of speakers 50 is connected to the connector 16, the two speakers 51a and 52a of the speaker 50a are connected to the audio amplifiers 241 and 242 via the connector 16 so that they are in phase with each other. On the other hand, when the speaker 50b (an example of a second stereo speaker) of the supplier B among the two types of speakers 50 is connected to the connector 16, the two speakers 51b and 52b of the speaker 50b are connected to the audio amplifiers 241 and 242 via the connector 16 so that they are in phase with each other. The CPU 11 collects the sound output from the speaker 50 by the microphone 40 by outputting a sound signal based on predetermined sound data (for example, sound data of a sine wave of 500 Hz) from the audio amplifiers 241 and 242 to the speaker 50 connected to the connector 16, and performs an identification process for identifying the type of the speaker 50 connected to the connector 16 based on the collected sound.

[0076] This allows the information processing device 10 to identify the type of speaker 50 connected without providing an identification terminal on the connector 16 to which the speaker 50 is connected, making it possible to accommodate connection of two types of stereo speakers while minimizing the impact on costs and space on the circuit board.

[0077] For example, in the above-mentioned identification process, the CPU 11 identifies the type of the speaker 50 based on the sound pressure of the sound collected by the microphone 40.

[0078] This allows the information processing device 10 to identify the type of connected speaker 50 based on the sound pressure level, thereby enabling connection to two types of stereo speakers while minimizing the impact on cost and space on the circuit board.

[0079] In addition, based on the type of speaker 50 identified by the above-mentioned identification process, the CPU 11 controls the sound signals output from the two audio amplifiers 241, 242 so that they are in phase with each other when the speaker 50a of supplier A is connected to the connector 16, and controls the sound signals output from the two audio amplifiers 241, 242 so that they are out of phase with each other when the speaker 50b of supplier B is connected to the connector 16.

[0080] As a result, the information processing device 10 can distinguish the type of the connected speakers 50 by differentiating the connection specifications of the two types of speakers 50, and after distinguishing, can appropriately control the sound signal output to the speaker 50 to be in positive phase or negative phase according to each connection specification. Therefore, the information processing device 10 can support connection with two types of stereo speakers while suppressing the impact on the cost and space on the circuit board.

[0081] Furthermore, a memory (for example, the main memory 12 or the BIOS memory 22) stores adjustment parameters (an example of parameters) corresponding to the characteristics of each of the two types of speakers 50. The information processing device 10 further includes an audio system 24 (an example of an audio processing unit) that uses the parameters when generating, from sound data, a sound signal to be output to the speaker 50. Then, based on the type of speaker 50 identified by the above identification process, the CPU 11 reads from the memory the adjustment parameters of the speaker 50 connected to the connector 16 so that the adjustment parameters can be used by the audio system 24.

[0082] This allows the information processing device 10 to identify the type of the connected speaker 50 and bring out its performance without providing an identification terminal on the connector 16 to which the speaker 50 is connected. Therefore, the information processing device 10 can support connection with two types of stereo speakers while suppressing the impact on the cost and space on the circuit board.

[0083] For example, the sound signal based on the predetermined sound data is a sine wave signal (for example, a sine wave signal of 500 Hz).

[0084] This allows the information processing device 10 to identify the type of the connected speaker 50 based on the difference in sound pressure level.

[0085] Furthermore, the CPU 11 performs an identification process for identifying the type of the speaker 50 when a part of the stereo speaker is replaced before shipment from the factory or after shipment.

[0086] This allows the information processing device 10 to support connection to two types of stereo speakers at the time of shipment as a product, and also allows support for repairs and the like to support connection to two types of stereo speakers.

[0087] In addition, in the control method of the information processing device 10 according to the present embodiment, which is connected to one of two types of speakers 50 (an example of a stereo speaker) that can be connected, when a speaker 50a (an example of a first stereo speaker) of a supplier A among the two types of speakers 50 is connected to a connector 16, two speakers 51a and 52a of the speaker 50a are connected to audio amplifiers 241 and 242 via the connector 16 so as to be in phase with each other, and when a speaker 50b (an example of a second stereo speaker) of a supplier B among the two types of speakers 50 is connected to the connector 16, When speaker 50b is connected to connector 16, the process includes a step of connecting two speakers 51b, 52b of speaker 50b to audio amplifiers 241, 242 via connector 16 so that the two speakers 51b, 52b are in opposite phase to each other, and CPU 11 causes audio amplifiers 241, 242 to output sound signals based on predetermined sound data (e.g., 500 Hz sine wave sound data) to speaker 50 connected to connector 16, a step of collecting the sound output from speaker 50 with microphone 40, and a step of identifying the type of speaker 50 connected to connector 16 based on the sound collected by microphone 40.

[0088] This allows the information processing device 10 to identify the type of speaker 50 connected without providing an identification terminal on the connector 16 to which the speaker 50 is connected, making it possible to accommodate connection of two types of stereo speakers while minimizing the impact on costs and space on the circuit board.

[0089] Although each embodiment of the present invention has been described above in detail with reference to the drawings, the specific configuration is not limited to the above-mentioned embodiment, and the present invention also includes designs within the scope of the gist of the present invention. For example, the configurations described in the above-mentioned embodiments can be arbitrarily combined.

[0090] In the above embodiment, an example has been described in which a 500 Hz sine wave signal is used in the identification process for identifying the type of speaker 50, but the frequency of the sine wave is not limited to 500 Hz, and a sine wave signal other than 500 Hz in a low frequency range may be used. Also, a sound signal other than a sine wave signal may be used.

[0091] In the above embodiment, an example has been described in which an application relating to the speaker identification process is packaged with an audio driver and provided, but it may be provided separately from the audio driver (for example, as a speaker driver, etc.). By providing the application to the user packaged with the audio driver or speaker driver, the speaker identification process may be automatically executed when the user installs the audio driver or speaker driver. This makes it possible to identify the type of speaker 50 by the speaker identification process and appropriately control it, even if the user reinstalls the OS while using the information processing device 10.

[0092] The information processing device 10 described above has a computer system inside. A program for implementing the functions of each component of the information processing device 10 described above may be recorded on a computer-readable recording medium, and the program recorded on the recording medium may be read into a computer system and executed to perform processing in each component of the information processing device 10 described above. Here, "reading a program recorded on a recording medium into a computer system and executing it" includes installing the program into a computer system. The "computer system" here includes hardware such as an OS and peripheral devices. The "computer system" may also include multiple computer devices connected via a network including a communication line such as the Internet, a WAN, a LAN, or a dedicated line. The "computer-readable recording medium" refers to a portable medium such as a flexible disk, a magneto-optical disk, a ROM, or a CD-ROM, and a storage device such as a hard disk built into a computer system. In this way, the recording medium storing the program may be a non-transient recording medium such as a CD-ROM.

[0093] The recording medium also includes a recording medium installed inside or outside and accessible from a distribution server to distribute the program. The program may be divided into a plurality of parts, downloaded at different times, and then combined by each component of the information processing device 10, or each divided program may be distributed by a different distribution server. Furthermore, the "computer-readable recording medium" includes a recording medium that holds a program for a certain period of time, such as a volatile memory (RAM) in a computer system that becomes a server or a client when a program is transmitted via a network. The program may be a recording medium for implementing part of the above-mentioned functions. Furthermore, the program may be a recording medium that can realize the above-mentioned functions in combination with a program already recorded in the computer system, that is, a so-called difference file (difference program).

[0094] In addition, some or all of the functions of the information processing device 10 in the above-mentioned embodiment may be realized as an integrated circuit such as an LSI (Large Scale Integration). Each function may be individually processed, or some or all of the functions may be integrated into a processor. The integrated circuit method is not limited to LSI, and may be realized by a dedicated circuit or a general-purpose processor. In addition, when an integrated circuit technology that replaces LSI appears due to the progress of semiconductor technology, an integrated circuit based on that technology may be used.

[0095] In the above embodiment, the information processing device 10 is a notebook PC, but the information processing device 10 may be a desktop or tablet PC, a smartphone, a game machine, or an electronic device dedicated to video conferencing. The display unit 14 is not limited to a device built into the information processing device 10, and may be a peripheral device connected via HDMI (registered trademark), USB, or the like. [Explanation of symbols]

[0096] 10 Information processing device, 101 First housing, 102 Second housing, 103 Hinge mechanism, 11 CPU, 12 Main memory, 13 Video subsystem, 14 Display unit, 21 Chipset, 22 BIOS memory, 23 Storage unit, 24 Audio system, 25 Communication unit, 26 USB connector, 31 Embedded controller, 32 Keyboard, 33 Power supply circuit, 34 Battery, 35 Sensor, 110 Processing unit, 101 Audio driver, 102 Speaker identification application, 103 Parameter setting application, 241 Audio amplifier, 242 Audio amplifier, 243 DAC, 244 DAC, 245 ADC, 246 Audio control unit

Claims

1. An information processing device that is connected to one of two types of stereo speakers that can be connected, A memory that stores sound data of sounds to be output from the stereo speakers; two amplifiers each outputting a sound signal based on the sound data to each of the two speakers of the stereo speaker; a connection portion that connects the two amplifiers and the two speakers; a microphone capable of collecting at least the sound output from the stereo speakers; A processor that controls an output to the stereo speakers; Equipped with When a first stereo speaker of the two types of stereo speakers is connected to the connection unit, the first stereo speaker is connected to the amplifier via the connection unit so that two speakers of the first stereo speaker are in phase with each other; When a second stereo speaker of the two types of stereo speakers is connected to the connection unit, two speakers of the second stereo speaker are connected to the amplifier via the connection unit so as to be in opposite phase to each other, The processor, a microphone is connected to the connection unit, and a sound output from the stereo speakers is collected by the amplifier, the microphone being configured to collect the sound output from the stereo speakers, and an identification process is performed to identify the type of the stereo speakers connected to the connection unit based on the collected sound; Information processing device.

2. The processor, In the identification process, the type of the stereo speaker is identified based on the sound pressure of the sound collected by the microphone. The information processing device according to claim 1 .

3. The processor, based on the type of the stereo speakers identified by the identification process, when the first stereo speaker is connected to the connection unit, control is performed so that sound signals output from the two amplifiers are in phase with each other, and when the second stereo speaker is connected to the connection unit, control is performed so that sound signals output from the two amplifiers are in opposite phase with each other. The information processing device according to claim 1 .

4. The memory stores parameters that are designed in advance based on Thiele-Small (TS) parameters related to the characteristics of each of the two types of stereo speakers, an audio processing unit that generates a sound signal to be output to the stereo speakers from the sound data by using parameters stored in the memory; The processor, reading, from the memory, the parameters of the stereo speakers connected to the connection unit so as to be available to the audio processing unit, based on the type of the stereo speakers identified by the identification process; The information processing device according to claim 1 .

5. The sound signal based on the predetermined sound data is a sine wave signal. The information processing device according to claim 1 .

6. The processor, The identification process is performed before shipment from a factory or when parts of the stereo speaker are replaced after shipment. The information processing device according to claim 1 .

7. A control method for an information processing device including: a memory connected to one of two types of connectable stereo speakers and storing sound data of sounds to be output from the stereo speakers; two paired amplifiers outputting sound signals based on the sound data to each of the two paired speakers of the stereo speakers; a connection unit connecting the two paired amplifiers to the two paired speakers; a microphone capable of collecting at least sounds output from the stereo speakers; and a processor for controlling output to the stereo speakers, the control method comprising: when a first stereo speaker of the two types of stereo speakers is connected to the connection unit, two pairs of speakers of the first stereo speaker are connected to the amplifier via the connection unit so as to be in phase with each other; When a second stereo speaker of the two types of stereo speakers is connected to the connection unit, two pairs of speakers of the second stereo speaker are connected to the amplifier via the connection unit so as to be in opposite phase to each other, The processor, outputting a sound signal based on predetermined sound data from the amplifier to the stereo speakers connected to the connection section; A step of collecting sounds output from the stereo speakers into the microphone; identifying a type of the stereo speaker connected to the connection unit based on the sound collected by the microphone; A control method comprising:

Citation Information

Patent Citations

  • JP1974106315A

  • Acoustic device, connection polarity determination method and program

    JP2006303769A

  • Compact speaker system with controlled directivity

    JP2022515648A