CN113518287B - Device state adjusting method, terminal device and computer readable storage medium - Google Patents

Device state adjusting method, terminal device and computer readable storage medium Download PDF

Info

Publication number
CN113518287B
CN113518287B CN202110798917.0A CN202110798917A CN113518287B CN 113518287 B CN113518287 B CN 113518287B CN 202110798917 A CN202110798917 A CN 202110798917A CN 113518287 B CN113518287 B CN 113518287B
Authority
CN
China
Prior art keywords
temperature value
temperature
determining
loudspeaker
value
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.)
Active
Application number
CN202110798917.0A
Other languages
Chinese (zh)
Other versions
CN113518287A (en
Inventor
矫珊珊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Goertek Techology Co Ltd
Original Assignee
Goertek Techology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Goertek Techology Co Ltd filed Critical Goertek Techology Co Ltd
Priority to CN202110798917.0A priority Critical patent/CN113518287B/en
Publication of CN113518287A publication Critical patent/CN113518287A/en
Application granted granted Critical
Publication of CN113518287B publication Critical patent/CN113518287B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • H04R3/007Protection circuits for transducers
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

The application discloses a method for adjusting equipment state, terminal equipment and a computer readable storage medium, wherein the method comprises the following steps: when the starting operation of the loudspeaker equipment in the terminal equipment is detected, determining the operation data of the loudspeaker equipment based on a smart PA temperature module; determining an operating temperature value corresponding to the speaker device based on the operating data and the initial operating data; the state of the speaker apparatus is adjusted based on the operating temperature value. According to the method, the operation data of the loudspeaker device are determined through the smart PA, the operation temperature value of the loudspeaker device is accurately predicted according to the operation data and the initial operation data, and then the state of the loudspeaker device is adjusted according to the operation temperature value, so that the loudspeaker device is protected from being damaged while working with the maximum stroke and the maximum average power.

Description

Device state adjusting method, terminal device and computer readable storage medium
Technical Field
The present invention relates to the field of data processing and smart PA technologies, and in particular, to a method for adjusting a device state, a terminal device, and a computer readable storage medium.
Background
At present, as the requirements of users on the tone quality and loudness of audio play-out in multimedia equipment are higher, in order to obtain the best low-frequency effect and loudness, the driving power and low-frequency response tuning parameters of the speaker equipment can only be increased in general, and in the process of increasing the driving power and low-frequency response tuning parameters of the speaker equipment, the driving power and low-frequency response tuning parameters of the speaker equipment are not easy to control, so that the damage probability of the speaker equipment is increased.
Disclosure of Invention
The main object of the present application is to provide a method for adjusting a device state, a terminal device and a computer readable storage medium, which aim to protect a speaker device.
In order to achieve the above object, an embodiment of the present application provides a method for adjusting a device state, where the method for adjusting a device state includes:
when the starting operation of the loudspeaker equipment in the terminal equipment is detected, determining the operation data of the loudspeaker equipment based on a smart PA temperature module;
determining an operating temperature value corresponding to the speaker device based on the operating data and the initial operating data;
and adjusting the state of the speaker device based on the operating temperature value.
Optionally, before the step of determining the operation data of the speaker device based on the smart PA temperature module when the speaker device in the terminal device is detected to start operating, the method further includes:
determining a circuit board temperature value of a circuit board connected with the speaker device based on the thermistor, and determining a first environment temperature value of the environment in which the speaker device is located through a temperature sensor;
determining a corresponding temperature difference value based on the first ambient temperature value and the circuit board temperature value, and determining an initial temperature value and an initial resistance value of the speaker device based on the temperature difference value;
and determining the initial temperature value and the initial resistance value as the initial operation data.
Optionally, the step of determining an initial temperature value and an initial resistance value of the speaker apparatus based on the temperature difference value includes:
detecting whether the temperature difference is within a first preset temperature range;
if the temperature difference value is detected to be within the first preset temperature range, determining a circuit board temperature value of a circuit board connected with the loudspeaker device as an initial temperature value of the loudspeaker device;
a present device voltage and a present device current of the speaker device are determined, and an initial resistance value of the speaker device is determined based on the present device voltage and the present device current.
Optionally, the step of determining the operation data of the speaker device based on the smart PA temperature module when the speaker device in the terminal device is detected to start operating includes:
when the starting operation of the loudspeaker device is detected, determining whether the loudspeaker device is started for the first time;
if the loudspeaker equipment is determined to be started for the first time, determining a second environmental temperature value of the current environment through a temperature sensor, and determining whether the second environmental temperature value is within a second preset temperature range;
and if the second environment temperature value is determined to be within the second preset temperature range, determining the operation data of the loudspeaker equipment based on a smart PA temperature module.
Optionally, the step of determining the operational data of the speaker device based on the smart PA temperature module includes:
determining an operating voltage and an operating current of the speaker device when operating based on the smart PA temperature module;
an operating resistance value of the speaker device at the time of operation is determined based on the operating voltage and the operating current, and the operating resistance value is determined as operating data of the speaker device.
Optionally, the operation data is an operation resistance value of the speaker device during operation, the initial operation data is an initial temperature value and an initial resistance value of the speaker device, and the step of determining the operation temperature value corresponding to the speaker device based on the operation data and the initial operation data includes:
and calculating based on the running resistance value, the initial temperature value and the initial resistance value of the loudspeaker equipment in running to obtain the running temperature value corresponding to the loudspeaker equipment.
Optionally, the step of adjusting the state of the speaker apparatus based on the operating temperature value includes:
detecting whether the running temperature value is larger than a preset temperature value;
and if the operation temperature value is detected to be larger than the preset temperature value, reducing the output power corresponding to the loudspeaker equipment.
Optionally, after the step of detecting whether the operating temperature value is greater than a preset temperature value, the method further includes:
and if the operation temperature value is detected to be smaller than or equal to the preset temperature value, maintaining the current output power of the loudspeaker equipment.
The embodiment of the application also provides a terminal device, which comprises a memory, a processor and an adjusting program of the device state stored on the memory and running on the processor, wherein the adjusting program of the device state realizes the steps of the adjusting method of the device state when being executed by the processor.
The embodiment of the application also provides a computer readable storage medium, on which a device state adjustment program is stored, which when executed by a processor, implements the steps of the device state adjustment method described above.
According to the device state adjusting method, the terminal device and the computer readable storage medium, when the loudspeaker device in the terminal device is detected to start running, the running data of the loudspeaker device is determined based on the smart PA temperature module; determining an operating temperature value corresponding to the speaker device based on the operating data and the initial operating data; the state of the speaker apparatus is adjusted based on the operating temperature value. Therefore, in the process of adjusting the state of the loudspeaker equipment, the operation data of the loudspeaker equipment is determined through the smart PA, the operation temperature value of the loudspeaker equipment is accurately predicted according to the operation data and the initial operation data, and the prediction accuracy of the temperature value is improved. And then the state of the loudspeaker device is adjusted according to the operation temperature value, so that the loudspeaker device is protected from being damaged while the loudspeaker device is ensured to work with the maximum stroke and the maximum average power, and the loudspeaker device is protected.
Drawings
Fig. 1 is a schematic structural diagram of a terminal device of a hardware running environment according to an embodiment of the present application;
FIG. 2 is a flowchart of a first embodiment of a method for adjusting a device status of the present application;
FIG. 3 is a flow chart illustrating another embodiment of a method for adjusting a status of a device according to the present application;
fig. 4 is a schematic flow chart of determining initial operation data according to the method for adjusting the state of the device.
The realization, functional characteristics and advantages of the present application will be further described with reference to the embodiments, referring to the attached drawings.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
The main solutions of the embodiments of the present application are: when the starting operation of the loudspeaker equipment in the terminal equipment is detected, determining the operation data of the loudspeaker equipment based on a smart PA temperature module; determining an operating temperature value corresponding to the speaker device based on the operating data and the initial operating data; the state of the speaker apparatus is adjusted based on the operating temperature value. Therefore, in the process of adjusting the state of the loudspeaker equipment, the operation data of the loudspeaker equipment is determined through the smart PA, the operation temperature value of the loudspeaker equipment is accurately predicted according to the operation data and the initial operation data, and the prediction accuracy of the temperature value is improved. And then the state of the loudspeaker device is adjusted according to the operation temperature value, so that the loudspeaker device is protected from being damaged while the loudspeaker device is ensured to work with the maximum stroke and the maximum average power, and the loudspeaker device is protected.
Specifically, referring to fig. 1, fig. 1 is a schematic structural diagram of a terminal device of a hardware running environment according to an embodiment of the present application.
As shown in fig. 1, the terminal device may include: a processor 1001, such as a CPU (Central Processing Unit ), a memory 1005, a network interface 1004, a user interface 1003, a communication bus 1002. The communication bus 1002 is used to enable connected communication between these components. The user interface 1003 may include a Display (Display), an input unit such as a keyboard (board), and the user interface 1003 may optionally further include a standard wired interface (e.g., USB (Universal Serial Bus, universal serial bus) interface), a wireless interface (e.g., bluetooth interface). The network interface 1004 may include a standard wired interface, a Wireless interface (e.g., WI-FI interface), a bluetooth interface. The memory 1005 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also optionally be a storage device separate from the processor 1001 described above. Optionally, the terminal device may further include an RF (Radio Frequency) circuit, a sensor, a WiFi module, and the like.
It will be appreciated by those skilled in the art that the terminal device structure shown in fig. 1 is not limiting of the terminal device and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
As shown in fig. 1, an operating system, a network communication module, a user interface module, and an adjustment program of a device state may be included in a memory 1005 as one type of computer storage medium. The operating system is a program for managing and controlling hardware and software resources of the terminal equipment, and supports the running of other software or programs and adjusting programs of equipment states.
The processor 1001 may be configured to call an adjustment program of the device state stored in the memory 1005, and perform the following operations:
when the starting operation of the loudspeaker equipment in the terminal equipment is detected, determining the operation data of the loudspeaker equipment based on a smart PA temperature module;
determining an operating temperature value corresponding to the speaker device based on the operating data and the initial operating data;
and adjusting the state of the speaker device based on the operating temperature value.
Further, the processor 1001 may call an adjustment program of the device state stored in the memory 1005, and further perform the following operations:
determining a circuit board temperature value of a circuit board connected with the speaker device based on the thermistor, and determining a first environment temperature value of the environment in which the speaker device is located through a temperature sensor;
determining a corresponding temperature difference value based on the first ambient temperature value and the circuit board temperature value, and determining an initial temperature value and an initial resistance value of the speaker device based on the temperature difference value;
and determining the initial temperature value and the initial resistance value as the initial operation data.
Further, the processor 1001 may call an adjustment program of the device state stored in the memory 1005, and further perform the following operations:
detecting whether the temperature difference is within a first preset temperature range;
if the temperature difference value is detected to be within the first preset temperature range, determining a circuit board temperature value of a circuit board connected with the loudspeaker device as an initial temperature value of the loudspeaker device;
a present device voltage and a present device current of the speaker device are determined, and an initial resistance value of the speaker device is determined based on the present device voltage and the present device current.
Further, the processor 1001 may call an adjustment program of the device state stored in the memory 1005, and further perform the following operations:
when the starting operation of the loudspeaker device is detected, determining whether the loudspeaker device is started for the first time;
if the loudspeaker equipment is determined to be started for the first time, determining a second environmental temperature value of the current environment through a temperature sensor, and determining whether the second environmental temperature value is within a second preset temperature range;
and if the second environment temperature value is determined to be within the second preset temperature range, determining the operation data of the loudspeaker equipment based on a smart PA temperature module.
Further, the processor 1001 may call an adjustment program of the device state stored in the memory 1005, and further perform the following operations:
determining an operating voltage and an operating current of the speaker device when operating based on the smart PA temperature module;
an operating resistance value of the speaker device at the time of operation is determined based on the operating voltage and the operating current, and the operating resistance value is determined as operating data of the speaker device.
Further, the processor 1001 may call an adjustment program of the device state stored in the memory 1005, and further perform the following operations:
and calculating based on the running resistance value, the initial temperature value and the initial resistance value of the loudspeaker equipment in running to obtain the running temperature value corresponding to the loudspeaker equipment.
Further, the processor 1001 may call an adjustment program of the device state stored in the memory 1005, and further perform the following operations:
detecting whether the running temperature value is larger than a preset temperature value;
and if the operation temperature value is detected to be larger than the preset temperature value, reducing the output power corresponding to the loudspeaker equipment.
Further, the processor 1001 may call an adjustment program of the device state stored in the memory 1005, and further perform the following operations:
and if the operation temperature value is detected to be smaller than or equal to the preset temperature value, maintaining the current output power of the loudspeaker equipment.
When the loudspeaker equipment in the terminal equipment is detected to start to operate, the embodiment of the application determines the operation data of the loudspeaker equipment based on the smart PA temperature module; determining an operating temperature value corresponding to the speaker device based on the operating data and the initial operating data; the state of the speaker apparatus is adjusted based on the operating temperature value. Therefore, in the process of adjusting the state of the loudspeaker equipment, the operation data of the loudspeaker equipment is determined through the smart PA, the operation temperature value of the loudspeaker equipment is accurately predicted according to the operation data and the initial operation data, and the prediction accuracy of the temperature value is improved. And then the state of the loudspeaker device is adjusted according to the operation temperature value, so that the loudspeaker device is protected from being damaged while the loudspeaker device is ensured to work with the maximum stroke and the maximum average power, and the loudspeaker device is protected.
Based on the above-described terminal device architecture, but not limited to the above-described architecture, the embodiments of the present application provide embodiments of a method for adjusting a device state, and it should be noted that although a logic sequence is shown in a flowchart, under certain data, the steps shown or described may be completed in a sequence different from that herein.
The method for adjusting the device state provided in some embodiments of the present application uses a terminal device as an execution body for example.
Referring to fig. 2, fig. 2 is a flowchart of a first embodiment of a method for adjusting a device state according to the present application. The method for adjusting the equipment state comprises the following steps:
and step S40, when the starting operation of the loudspeaker equipment in the terminal equipment is detected, determining the operation data of the loudspeaker equipment based on a smart PA intelligent power amplifier temperature module.
It should be noted that, the terminal device refers to a multimedia device carrying a speaker device (speaker, loudspeaker), and at least includes a microcomputer (e.g., CPU) with data processing and a temperature sensor (e.g., infrared temperature sensor), where the terminal device may be, for example, a sound device (smart sound device), a smart sound box, and an earphone (smart earphone), and the terminal device may be wired, wireless, wearable, or a fixed three-dimensional device.
When a user needs to start speaker equipment in the terminal equipment, the terminal equipment can be started in a key or Bluetooth mode, the speaker equipment is started to operate at the same time of the terminal equipment, and when the terminal equipment detects that the speaker equipment is started to operate, the current output power of the speaker equipment is detected through a smart PA (intelligent power amplifier) temperature module, wherein the output power is determined according to the operation of the user on the speaker equipment. Then, the terminal equipment determines the running current and the running voltage corresponding to the current output power of the loudspeaker equipment, and the current running data of the loudspeaker equipment is obtained through calculation of the running current and the running voltage.
Further, the step S40 includes;
step S401, when the starting operation of the speaker device is detected, determining whether the speaker device is started for the first time;
step S402, if the speaker device is determined to be started for the first time, determining a second environmental temperature value of the current environment through a temperature sensor, and determining whether the second environmental temperature value is within a second preset temperature range;
step S403, if it is determined that the second ambient temperature value is within the second preset temperature range, determining operation data of the speaker device based on the smart PA temperature module.
Specifically, after detecting that the speaker device is started and operated, the terminal device determines whether the speaker device is started for the first time, if the terminal device determines that the speaker device is started for the first time, the terminal device determines an ambient temperature value of an environment where the speaker device is currently located through a temperature sensor, and detects whether the ambient temperature value of the environment where the speaker device is currently located is within a first preset temperature range, where the first preset temperature range is set by a technician according to an actual situation, and the embodiment is not limited.
If the terminal equipment determines that the environmental temperature value of the current environment of the speaker equipment is within the first preset temperature range, it is determined that the initial operation data in the speaker equipment does not need to be reset, then the terminal equipment determines the operation current and the operation voltage corresponding to the current output power of the speaker equipment, and the current operation data of the speaker equipment is obtained through calculation of the operation current and the operation voltage, wherein the initial operation data are the data set by a technician before the speaker equipment leaves a factory.
If the terminal equipment determines that the environment temperature value of the current environment of the speaker equipment is out of the first preset temperature range, determining that the current environment of the speaker equipment is in a high-temperature zone or a low-temperature zone, resetting initial operation data in the speaker equipment, determining operation current and operation voltage corresponding to the current output power of the speaker equipment by the terminal equipment, and calculating the operation current and the operation voltage to obtain the current operation data of the speaker equipment.
If the terminal equipment determines that the loudspeaker equipment is not started for the first time, the terminal equipment directly determines the running current and the running voltage corresponding to the current output power of the loudspeaker equipment, and the current running data of the loudspeaker equipment is obtained through calculation of the running current and the running voltage.
Further, it should be noted that the step of resetting the initial operation data in the speaker device includes the steps that the terminal device determines a circuit board temperature value of a circuit board connected to the speaker device when the speaker device is started for the first time, and determines a temperature difference between the circuit board temperature value and an environmental temperature value of an environment where the speaker device is currently located, if the terminal device determines that the temperature difference is within a second preset temperature range, the terminal device determines a current device voltage and a current device current of the speaker device, determines a device resistance value of the speaker device according to the device current and the device voltage, and determines the circuit board temperature value and the device resistance value of the circuit board connected to the speaker device as updated initial operation data, where the second preset temperature range is set by a technician according to an actual situation, and the embodiment is not limited.
Further, the step S403 includes:
step S4031, determining an operating voltage and an operating current of the speaker device at the time of operation based on the smart PA temperature module;
step S4032, determining an operation resistance value of the speaker apparatus at the time of operation based on the operation voltage and the operation current, and determining the operation resistance value as operation data of the speaker apparatus.
Specifically, after the terminal equipment determines that the speaker equipment starts to operate, determining an operating current and an operating voltage corresponding to the current output power of the speaker equipment, and calculating through the operating current and the operating voltage to obtain a current operating resistance value of the speaker equipment, wherein the current operating resistance value is the current operating data of the speaker equipment.
And step S50, determining an operation temperature value corresponding to the loudspeaker equipment based on the operation data and the initial operation data.
If the terminal device determines that the initial operation data of the speaker device does not need to be reset, and determines the operation data of the speaker device, the terminal device calculates according to the operation resistance value (operation data) of the speaker device, the initial temperature value and the initial resistance value (initial operation data) of the speaker device, and obtains the current operation temperature value of the speaker device.
If the terminal equipment determines that the initial operation data of the speaker equipment needs to be reset and determines the operation data of the speaker equipment, the terminal equipment calculates according to the operation resistance value (operation data) of the speaker equipment and the reset initial temperature value and initial resistance value of the speaker equipment to obtain the current operation temperature value of the speaker equipment.
Further, the step S50 includes:
step S501, calculating based on the running resistance value, the initial temperature value and the initial resistance value of the speaker device during running, to obtain a running temperature value corresponding to the speaker device.
Specifically, after determining an operation resistance value of the speaker device and an initial temperature value and an initial resistance value of the speaker device, the terminal device inputs the operation resistance value, the initial temperature value and the initial resistance value into a preset temperature calculation formula, and calculates the operation temperature value corresponding to the operation of the speaker device through the preset temperature calculation formula.
Further, it should be noted that the preset temperature calculation formula is set by a technician, and the preset temperature calculation formula in this embodiment may be t=t 0 +(1/α)*(R/R 0 -1),T 0 And R is 0 Is an initial temperature value and an initial resistance value of the speaker apparatus. α is the temperature coefficient, determined by the material of the coil in the speaker device. R speaker device operating resistance value. T is the operating temperature value at which the loudspeaker device is operating.
Step S60, adjusting the state of the speaker device based on the operation temperature value.
After the terminal equipment determines the operation temperature value of the loudspeaker equipment, comparing the operation temperature value with a preset temperature value, determining whether the current operation output power of the loudspeaker equipment is larger than a preset power threshold value or not according to the temperature value of the operation temperature value and the preset temperature value, obtaining a corresponding determination result, and then adjusting the output power of the loudspeaker equipment, namely adjusting the output gain of the loudspeaker equipment, namely adjusting the output state of the loudspeaker equipment, according to the determination result by the terminal equipment. The preset temperature value and the preset power threshold are set by a technician according to practical situations, and the embodiment is not limited.
Further, the step S60 includes:
step S601, detecting whether the operation temperature value is larger than a preset temperature value;
step S602, if the operation temperature value is detected to be greater than the preset temperature value, reducing the output power corresponding to the speaker device;
step S603, if the operation temperature value is detected to be less than or equal to the preset temperature value, maintaining the current output power of the speaker device.
Specifically, the terminal device detects whether the operation temperature value is greater than a preset temperature value, if the terminal device detects that the operation temperature value is greater than the preset temperature value, the terminal device determines that the output power of the current operation of the speaker device is greater than a preset power threshold, and needs to reduce the output power of the current operation of the speaker device, that is, reduce the output volume of the current operation of the speaker device. If the terminal equipment detects that the operation temperature value is smaller than or equal to the preset temperature value, the terminal equipment determines that the output power of the current operation of the speaker equipment is smaller than or equal to the preset power threshold value, and the output volume of the current operation of the speaker equipment is maintained without reducing the output power of the current operation of the speaker equipment.
When the loudspeaker equipment in the terminal equipment is detected to start to operate, the embodiment determines the operation data of the loudspeaker equipment based on the smart PA temperature module; determining an operating temperature value corresponding to the speaker device based on the operating data and the initial operating data; the state of the speaker apparatus is adjusted based on the operating temperature value. Therefore, in the process of adjusting the state of the loudspeaker equipment, the operation data of the loudspeaker equipment is determined through the smart PA, the operation temperature value of the loudspeaker equipment is accurately predicted according to the operation data and the initial operation data, and the prediction accuracy of the temperature value is improved. And then the state of the loudspeaker device is adjusted according to the operation temperature value, so that the loudspeaker device is protected from being damaged while the loudspeaker device is ensured to work with the maximum stroke and the maximum average power, and the loudspeaker device is protected.
Referring to fig. 3, fig. 3 is a flowchart illustrating another embodiment of a method for adjusting a device status according to the present application. Before the step S40, the method further includes:
and step S10, determining a circuit board temperature value of a circuit board connected with the loudspeaker device based on the thermistor, and determining a first environment temperature value of the environment where the loudspeaker device is located through a temperature sensor.
Before the terminal device leaves the factory, parameter setting before leaving the factory is required to be performed on the speaker device in the terminal device.
The terminal device determines a circuit board temperature value in the circuit board through a thermistor in the circuit board connected with the speaker device, and then the terminal device determines an environment temperature value of the current environment of the speaker device through a temperature sensor in the terminal device.
It should be noted that, the manufacturing shop for performing parameter setting before leaving the factory on the speaker device is fixed, so the environmental temperature value of the environment where the speaker device is currently located is equal to the temperature value of the manufacturing shop, and since the temperature value of the manufacturing shop is fixed, the environmental temperature value of the environment where the speaker device is currently located is also fixed, and the embodiment is not limited, and in actual production, the temperature value of the manufacturing shop is generally set to be close to the room temperature value, and is 25 ℃ (centigrade) to 27 ℃.
Step S20, determining a corresponding temperature difference value based on the first ambient temperature value and the circuit board temperature value, and determining an initial temperature value and an initial resistance value of the speaker device based on the temperature difference value;
and step S30, determining the initial temperature value and the initial resistance value as the initial operation data.
After the terminal device determines the circuit board temperature value of the circuit board and the environment temperature value of the current environment of the speaker device, the terminal device calculates the difference between the circuit board temperature value and the environment temperature value to obtain a temperature difference between the circuit board and the current environment of the speaker device, and detects whether the temperature difference is within a preset temperature range, wherein a technician in the preset temperature range sets according to the design of the circuit board, and the embodiment is not limited.
If the terminal equipment detects that the temperature difference is within the preset temperature range, the circuit board of the loudspeaker equipment is determined not to be in a heating state, namely the loudspeaker does not play a signal. Then, the terminal device determines the device current and the device voltage in the speaker device at this time, and calculates from the device voltage and the device current to obtain the resistance value of the speaker device. Next, the terminal device determines the circuit board temperature value in the circuit board at this time as an initial temperature value of the speaker device, determines the resistance value of the speaker device at this time as an initial resistance value of the speaker device, and writes the initial temperature value and the initial resistance value into the speaker device.
If the terminal equipment detects that the temperature difference is out of the preset temperature range, the circuit board of the loudspeaker equipment is determined to be in a heating state, namely, the loudspeaker has a playing signal. And then, the terminal equipment turns off the speaker equipment, restarts the speaker equipment after a preset time interval, and performs initial operation data calibration, wherein the preset time interval is determined according to the heat dissipation capacity of the heat dissipation equipment in the terminal equipment, and the embodiment is not limited.
Further, when the terminal device detects that the circuit board of the speaker device is in a heating state, that is, when the loudspeaker has a playing signal, the terminal device can directly start the heat dissipation device (heat dissipation fan) in the terminal device, and directly dissipate heat of the circuit board through the heat dissipation device.
If the initial operation data of the speaker device is set while the circuit board of the speaker device is in a heat-generating state, the initial temperature value T of the speaker device is caused 0 And an initial resistance value R 0 A higher value results in a higher calculated temperature of the loudspeaker device when in actual use, triggering the adjustment of the gain too early.
Further, the step S20 includes:
step S201, detecting whether the temperature difference is within a first preset temperature range;
step S202, if the temperature difference value is detected to be within the first preset temperature range, determining a circuit board temperature value of a circuit board connected with the loudspeaker device as an initial temperature value of the loudspeaker device;
step S203, determining a present device voltage and a present device current of the speaker device, and determining an initial resistance value of the speaker device based on the present device voltage and the present device current.
Specifically, the terminal device detects whether the temperature difference is within a preset temperature range, and if the terminal device detects that the temperature difference is within the preset temperature range, the terminal device determines that the circuit board of the speaker device is not in a heating state, that is, the loudspeaker does not play a signal. Then, the terminal device determines the device current and the device voltage in the speaker device at this time, and calculates from the device voltage and the device current to obtain the resistance value of the speaker device. Next, the terminal device determines the circuit board temperature value in the circuit board at this time as an initial temperature value of the speaker device, determines the resistance value of the speaker device at this time as an initial resistance value of the speaker device, and writes the initial temperature value and the initial resistance value into the speaker device.
Further, referring to fig. 4, fig. 4 is a flow chart for determining initial operation data, in which the terminal device monitors the temperature of the circuit board through the thermistor (the terminal device determines the temperature value of the circuit board through the thermistor in the circuit board connected to the speaker device), monitors whether the difference (temperature difference) between the temperature (the temperature value of the circuit board) and the room temperature (the temperature value of the environment in which the speaker device is currently located) is within a set range (within a preset temperature range), and if the terminal device monitors the difference between the temperature and the room temperature is within the set range, writes the temperature value (the temperature value of the circuit board) into T 0 (initial temperature value of speaker device), adding pilot tone to calculate R by V/I signal 0 (the terminal device determines the device current and the device voltage in the speaker device at this time, and calculates from the device voltage and the device current to obtain the resistance value of the speaker device). If the terminal device monitors that the difference between the temperature and the room temperature is outside the set range, the terminal device turns off the product (speaker device) for 10 minutes (the preset duration is exemplified by 10 minutes, and the embodiment is not limited to 10 minutes).
The embodiment determines a circuit board temperature value of a circuit board connected with the speaker device based on the thermistor, and determines a first environment temperature value of the environment in which the speaker device is positioned through the temperature sensor; determining a corresponding temperature difference value based on the first ambient temperature value and the circuit board temperature value, and determining an initial temperature value and an initial resistance value of the speaker device based on the temperature difference value; the initial temperature value and the initial resistance value are determined as initial operation data. According to the embodiment, before the loudspeaker equipment leaves the factory, the initial operation data of the loudspeaker equipment is set, the operation temperature value of the loudspeaker equipment in operation is predicted according to the set initial operation data, and the accuracy of the prediction of the temperature value is improved.
The application also provides a device for adjusting the state of equipment, which comprises:
the determining module is used for determining the operation data of the speaker equipment based on the smart PA temperature module when the speaker equipment in the terminal equipment is detected to start operation;
the determining module is further used for determining an operation temperature value corresponding to the loudspeaker equipment based on the operation data and the initial operation data;
and the adjusting module is used for adjusting the state of the loudspeaker equipment based on the operation temperature value.
The function implementation of each module in the device state adjusting device corresponds to each step in the device state adjusting method embodiment, and the function and implementation process of the function implementation are not described herein in detail.
The present invention also provides a computer-readable storage medium having stored thereon a device state adjustment program which, when executed by a processor, implements the steps of the device state adjustment method according to any of the above embodiments.
The specific embodiments of the computer readable storage medium of the present invention are substantially the same as the embodiments of the above-mentioned method for adjusting a device status, and are not described herein.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, the element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing embodiment numbers of the present application are merely for describing, and do not represent advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above embodiment method may be implemented by means of software plus necessary general hardware platform, or of course by means of hardware, but the former is a preferred embodiment under many data. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of software goods stored in a computer readable storage medium (e.g. ROM/RAM, magnetic disk, optical disk), comprising several instructions for causing a terminal device to perform the method described in the embodiments of the present application.

Claims (9)

1. The method for adjusting the equipment state is characterized by comprising the following steps:
when the starting operation of the loudspeaker equipment in the terminal equipment is detected, determining the operation data of the loudspeaker equipment based on a smart PA temperature module; the operation data comprises an operation resistance value of the loudspeaker device when in operation;
determining an operating temperature value corresponding to the speaker device based on the operating data and the initial operating data; the initial operation data includes an initial temperature value and an initial resistance value of the speaker apparatus;
adjusting a state of the speaker device based on the operating temperature value;
when the loudspeaker equipment in the terminal equipment is detected to start to operate, the step of determining the operation data of the loudspeaker equipment based on the smart PA temperature module comprises the following steps:
when the starting operation of the loudspeaker device is detected, determining whether the loudspeaker device is started for the first time;
if the loudspeaker equipment is determined to be started for the first time, determining a second environmental temperature value of the current environment through a temperature sensor, and determining whether the second environmental temperature value is within a second preset temperature range;
and if the second environment temperature value is determined to be within the second preset temperature range, determining the operation data of the loudspeaker equipment based on a smart PA temperature module.
2. The method for adjusting a device status according to claim 1, wherein the step of determining the operation data of the speaker device based on the smart PA temperature module when the speaker device in the terminal device is detected to be started to operate, further comprises:
determining a circuit board temperature value of a circuit board connected with the speaker device based on the thermistor, and determining a first environment temperature value of the environment in which the speaker device is located through a temperature sensor;
determining a corresponding temperature difference value based on the first ambient temperature value and the circuit board temperature value, and detecting a range of the temperature difference value to determine an initial temperature value and an initial resistance value of the speaker device;
and determining the initial temperature value and the initial resistance value as the initial operation data.
3. The method of adjusting a state of a device according to claim 2, wherein the step of determining an initial temperature value and an initial resistance value of the speaker device based on the temperature difference value includes:
detecting whether the temperature difference is within a first preset temperature range;
if the temperature difference value is detected to be within the first preset temperature range, determining a circuit board temperature value of a circuit board connected with the loudspeaker device as an initial temperature value of the loudspeaker device;
a present device voltage and a present device current of the speaker device are determined, and an initial resistance value of the speaker device is determined based on the present device voltage and the present device current.
4. The method of adjusting a state of a device of claim 1, wherein the determining operational data of the speaker device based on the smart PA temperature module comprises:
determining an operating voltage and an operating current of the speaker device when operating based on the smart PA temperature module;
an operating resistance value of the speaker device at the time of operation is determined based on the operating voltage and the operating current, and the operating resistance value is determined as operating data of the speaker device.
5. The method of adjusting a state of a device according to claim 1, wherein the step of determining an operating temperature value corresponding to the speaker device based on the operating data and the initial operating data comprises:
and calculating based on the running resistance value, the initial temperature value and the initial resistance value of the loudspeaker equipment in running to obtain the running temperature value corresponding to the loudspeaker equipment.
6. The method of adjusting a state of a device according to claim 1, wherein the step of adjusting the state of the speaker device based on the operation temperature value includes:
detecting whether the running temperature value is larger than a preset temperature value;
and if the operation temperature value is detected to be larger than the preset temperature value, reducing the output power corresponding to the loudspeaker equipment.
7. The method for adjusting a state of an apparatus according to any one of claims 1 to 6, wherein after the step of detecting whether the operation temperature value is greater than a preset temperature value, further comprising:
and if the operation temperature value is detected to be smaller than or equal to the preset temperature value, maintaining the current output power of the loudspeaker equipment.
8. A terminal device, characterized in that the terminal device comprises a memory, a processor and a device state adjustment program stored on the memory and running on the processor, which device state adjustment program, when executed by the processor, implements the steps of the device state adjustment method according to any one of claims 1 to 7.
9. A computer-readable storage medium, on which a device-state adjustment program is stored, which, when executed by a processor, implements the steps of the device-state adjustment method according to any one of claims 1 to 7.
CN202110798917.0A 2021-07-14 2021-07-14 Device state adjusting method, terminal device and computer readable storage medium Active CN113518287B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110798917.0A CN113518287B (en) 2021-07-14 2021-07-14 Device state adjusting method, terminal device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110798917.0A CN113518287B (en) 2021-07-14 2021-07-14 Device state adjusting method, terminal device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN113518287A CN113518287A (en) 2021-10-19
CN113518287B true CN113518287B (en) 2023-04-25

Family

ID=78067319

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110798917.0A Active CN113518287B (en) 2021-07-14 2021-07-14 Device state adjusting method, terminal device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN113518287B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104038882A (en) * 2014-05-26 2014-09-10 小米科技有限责任公司 Loudspeaker debugging model calibration method and loudspeaker debugging method and device
WO2018081927A1 (en) * 2016-11-01 2018-05-11 华为技术有限公司 Volume adjustment method and apparatus, and electronic device
CN108566612A (en) * 2018-06-29 2018-09-21 青岛海信电器股份有限公司 A kind of loud speaker detection method, terminal device and computer storage media
CN110225434A (en) * 2019-05-31 2019-09-10 Oppo(重庆)智能科技有限公司 Excess temperature protection method, device and computer storage medium and electronic equipment
CN112565976A (en) * 2019-09-10 2021-03-26 北京小米移动软件有限公司 Speaker driving circuit, temperature protection method, terminal device, and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4391719B2 (en) * 2002-03-20 2009-12-24 トヨタ自動車株式会社 Motor temperature estimation device and motor control device
DE102011107973A1 (en) * 2011-07-16 2013-01-17 Valeo Schalter Und Sensoren Gmbh Method and device for temperature compensation of at least one temperature-dependent measured variable
EP3121961B1 (en) * 2015-07-24 2019-04-03 Nxp B.V. Temperature sensing
CN105975051B (en) * 2016-06-16 2019-03-26 重庆蓝岸通讯技术有限公司 By adjusting the method for loudspeaker output power electronic product fever
CN112965551A (en) * 2021-01-29 2021-06-15 维沃移动通信有限公司 Heating control method and device for loudspeaker

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104038882A (en) * 2014-05-26 2014-09-10 小米科技有限责任公司 Loudspeaker debugging model calibration method and loudspeaker debugging method and device
WO2018081927A1 (en) * 2016-11-01 2018-05-11 华为技术有限公司 Volume adjustment method and apparatus, and electronic device
CN108566612A (en) * 2018-06-29 2018-09-21 青岛海信电器股份有限公司 A kind of loud speaker detection method, terminal device and computer storage media
CN110225434A (en) * 2019-05-31 2019-09-10 Oppo(重庆)智能科技有限公司 Excess temperature protection method, device and computer storage medium and electronic equipment
CN112565976A (en) * 2019-09-10 2021-03-26 北京小米移动软件有限公司 Speaker driving circuit, temperature protection method, terminal device, and storage medium

Also Published As

Publication number Publication date
CN113518287A (en) 2021-10-19

Similar Documents

Publication Publication Date Title
CN111183561B (en) Charging control method and device, electronic equipment and computer readable storage medium
US8249277B2 (en) Apparatus capable of switching volume adjustment mode automatically and volume adjustment method thereof
US9515627B2 (en) Devices and methods for audio volume adjustment
EP3432136B1 (en) Sound effect configuration method and related device
US9807528B1 (en) Electronic devices and method for thermal monitoring of an electro-mechanical actuator
US20120020486A1 (en) Audio device volume manager using measured volume perceived at a first audio device to control volume generation by a second audio device
CN111313500B (en) Charging management method and device, electronic equipment and computer readable storage medium
CN110806849A (en) Intelligent device, volume adjusting method thereof and computer-readable storage medium
US20220141777A1 (en) Method for controlling heat generation in electronic device, electronic device and storage medium for the same
CN107566624B (en) Display method for power consumption and temperature of terminal, terminal and computer readable storage medium
US20120020487A1 (en) Audio device volume manager using measured distance between first and second audio devices to control volume generation by the second audio device
WO2022199518A1 (en) Audio signal processing method and apparatus, electronic device, and storage medium
TW201944251A (en) Volume adjustment method and apparatus, electronic device and storage medium
CN111510901B (en) Power adjusting method, device, storage medium and terminal
CN113518287B (en) Device state adjusting method, terminal device and computer readable storage medium
CN112965551A (en) Heating control method and device for loudspeaker
CN107329547B (en) Temperature control method and device and mobile terminal
CN111308303B (en) Method and device for detecting radio frequency power amplifier of mobile terminal
US20140292384A1 (en) Methods of multi-protocol system and integrated circuit for multi-protocol communication on single wire
CN115348656A (en) MiFi device, power adjusting method thereof, electronic device and system
CN110377126B (en) Temperature estimation method and device, electronic equipment and storage medium
CN115866128A (en) Electronic device control method, electronic device control device, electronic device control medium, and electronic device
CN113341786A (en) Equipment energy consumption control method and device and computer readable storage medium
WO2015154432A1 (en) Temperature processing method and device
KR20210017247A (en) Electronic device controlling luminance and its luminance control method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20221123

Address after: 266104 No. 500, Songling Road, Laoshan District, Qingdao, Shandong

Applicant after: GOERTEK TECHNOLOGY Co.,Ltd.

Address before: 261031 workshop 1, phase III, Geer Photoelectric Industrial Park, 3999 Huixian Road, Yongchun community, Qingchi street, high tech Zone, Weifang City, Shandong Province

Applicant before: GoerTek Optical Technology Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant