WO2023206581A1 - 一种风扇转速的调节方法和电子装置 - Google Patents

一种风扇转速的调节方法和电子装置 Download PDF

Info

Publication number
WO2023206581A1
WO2023206581A1 PCT/CN2022/090816 CN2022090816W WO2023206581A1 WO 2023206581 A1 WO2023206581 A1 WO 2023206581A1 CN 2022090816 W CN2022090816 W CN 2022090816W WO 2023206581 A1 WO2023206581 A1 WO 2023206581A1
Authority
WO
WIPO (PCT)
Prior art keywords
speed
noise level
fan
vehicle
noise
Prior art date
Application number
PCT/CN2022/090816
Other languages
English (en)
French (fr)
Inventor
徐风雷
章斯亮
彭磊
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2022/090816 priority Critical patent/WO2023206581A1/zh
Publication of WO2023206581A1 publication Critical patent/WO2023206581A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries

Definitions

  • the present application relates to the technical field of intelligent vehicles, and in particular to a fan speed adjustment method and an electronic device.
  • wireless charging technology becomes more and more common, more and more electronic devices apply wireless charging technology.
  • new energy vehicles are equipped with wireless fast charging modules, which can charge mobile phones.
  • the maximum power of this wireless charging module can reach 40W.
  • the wireless charging module charges the mobile phone at maximum power, the mobile phone emits a lot of heat.
  • the mobile phone needs to dissipate heat, usually using a cooling fan.
  • the cooling fan produces loud noise when dissipating heat, causing users to complain.
  • the cooling fan is usually optimized, or the installation path of the cooling fan is optimized. However, the cooling fan still produces a lot of noise when dissipating heat.
  • Embodiments of the present application provide a fan speed adjustment method and an electronic device to solve the problem of how to prevent the noise generated by the cooling fan from being perceived by the user during wireless charging.
  • embodiments of the present application provide a method for adjusting fan speed, which method is applied to an electronic device.
  • the method includes: when detecting that a wireless charging module in a vehicle wirelessly charges an electronic device, obtaining the first data of the vehicle. Vehicle speed, first gear of the air conditioner in the vehicle.
  • the first noise level is determined based on the first vehicle speed, the first gear, and the preset noise level correspondence information.
  • the noise level correspondence information is used to represent the correspondence between vehicle speed, gear position and noise level.
  • the rotation speed of the fan is adjusted to the first rotation speed, the first rotation speed is less than or equal to the second rotation speed corresponding to the first noise level, and the fan is used to dissipate heat for the electronic device.
  • the electronic device determines the noise level in the noise level correspondence information based on the vehicle speed and air conditioner gear. That is to say, the fan only needs to be adjusted according to the noise level in the noise level correspondence information (or simply the noise level table).
  • the speed of the fan can cover up the noise generated by the fan and avoid the noise generated by the fan during heat dissipation from disturbing the user.
  • the rotation speed of the fan is adjusted to the first rotation speed according to the first noise level, specifically: according to the first noise level, the first charging power is configured for the wireless charging module.
  • the fan speed is adjusted to the third speed corresponding to the first charging power, and the third speed is the first speed.
  • the preset correspondence information between charging power and fan speed is used to represent the correspondence between charging power and fan speed.
  • the electronic device adjusts the charging power of the wireless charging module according to the noise level, and then adjusts the rotation speed of the fan according to the charging power.
  • the charging power, fan heat dissipation and noise level can be dynamically adjusted, so that heat dissipation can be satisfied when charging at maximum efficiency, and the noise generated will not cause user complaints.
  • the first noise level before determining the first noise level according to the first vehicle speed, the first gear, and the preset noise level correspondence information, it also includes: obtaining the human ear when the air conditioner in the vehicle is in different gears.
  • the first noise spectrum curve at Obtain the second noise spectrum curve at human ears when the vehicle is at different vehicle speeds.
  • the gear position of the air conditioner and the speed of the vehicle are determined when the noise generated when the fan is at different rotational speeds is masked.
  • the noise level is determined, and the noise level correspondence information is obtained.
  • the electronic device can query the noise level in the noise level table according to the vehicle speed and gear position.
  • the electronic device adjusts the fan speed to the first speed according to the noise level. In this way, as long as the fan speed is adjusted according to the noise level in the noise level table, the noise generated by the fan can be masked. Therefore, generating a noise level table in advance and then using the noise level table to adjust the fan speed can effectively improve the fan speed adjustment efficiency.
  • the noise level is determined based on the gear position of the air conditioner and the speed of the vehicle when the noise generated when the fan is at different rotational speeds is masked.
  • the noise level may be: when the noise generated when the fan is at different rotational speeds is masked, the noise level is determined.
  • the air conditioner is in the second gear and the vehicle is in the second speed. It is determined that the second gear position corresponds to the third noise level and the second vehicle speed corresponds to the fourth noise level.
  • the third noise level is greater than or equal to the fourth noise level
  • the second gear and the second vehicle speed correspond to the third noise level.
  • the third noise level is lower than the fourth noise level
  • the second gear and the second vehicle speed correspond to the fourth noise level.
  • the rotation speed of the fan is adjusted to the first rotation speed, specifically: the fourth rotation speed of the fan is obtained.
  • the fourth rotational speed the second noise level corresponding to the fourth rotational speed is found in the preset fan rotational speed table.
  • the fan tachometer is used to characterize the relationship between fan speed and noise level.
  • the fourth rotation speed is adjusted to the first rotation speed.
  • the electronic device determines the noise level and adjusts the rotation speed of the fan based on background noise (such as vehicle speed and noise generated by the air conditioner) and noise generated by the fan.
  • background noise such as vehicle speed and noise generated by the air conditioner
  • the background noise masks the noise generated by the fan and avoids the noise generated by the fan during heat dissipation from disturbing the user.
  • the method further includes: shifting the speed of the vehicle according to the first gradient. Step the fan speed according to the second gradient. In this way, the design is simplified and the user experience is improved.
  • inventions of the present application provide an electronic device.
  • the electronic device includes: a first acquisition unit configured to acquire the first vehicle speed of the vehicle when it is detected that the wireless charging module in the vehicle wirelessly charges the electronic device; The first setting of the air conditioner in the vehicle.
  • the first determination unit is used to determine the first noise level based on the first vehicle speed, the first gear position, and the preset noise level correspondence information; the noise level correspondence information is used to represent the correspondence between the vehicle speed, the gear position, and the noise level. relation.
  • the adjustment unit is used to adjust the rotation speed of the fan to a first rotation speed according to the first noise level.
  • the first rotation speed is less than or equal to the second rotation speed corresponding to the first noise level.
  • the fan is used to dissipate heat for electronic equipment.
  • the electronic device determines the noise level in the noise level correspondence information based on the vehicle speed and air conditioner gear. That is to say, the fan only needs to be adjusted according to the noise level in the noise level correspondence information (or simply the noise level table).
  • the speed of the fan can cover up the noise generated by the fan and avoid the noise generated by the fan during heat dissipation from disturbing the user.
  • the adjustment unit is further configured to: configure the first charging power for the wireless charging module according to the first noise level; according to the first charging power and the preset corresponding relationship information between charging power and fan speed, The rotation speed of the fan is adjusted to a third rotation speed corresponding to the first charging power, and the third rotation speed is the first rotation speed; the preset correspondence information between the charging power and the fan rotation speed is used to represent the correspondence between the charging power and the fan rotation speed.
  • the electronic device adjusts the charging power of the wireless charging module according to the noise level, and then adjusts the rotation speed of the fan according to the charging power.
  • the charging power, fan heat dissipation and noise level can be dynamically adjusted, so that heat dissipation can be satisfied when charging at maximum efficiency, and the noise generated will not cause user complaints.
  • the electronic device further includes: a second acquisition unit configured to acquire the first noise spectrum curve at the human ear when the air conditioner in the vehicle is at different gears.
  • the third acquisition unit is used to acquire the second noise spectrum curve at human ears when the vehicle is at different vehicle speeds.
  • the fourth acquisition unit is used to acquire the third noise spectrum curve at the human ear when the fan is at different rotation speeds.
  • the second determination unit is used to determine, based on the first noise spectrum curve, the second noise spectrum curve, the third noise spectrum curve and the noise masking principle, when the noise generated when the fan is at different rotational speeds is masked, the gear position of the air conditioner, the position of the vehicle vehicle speed.
  • the third determination unit is used to determine the noise level based on the gear position of the air conditioner and the speed of the vehicle when the noise generated when the fan is at different rotational speeds is masked, and obtain noise level correspondence information.
  • the electronic device can query the noise level in the noise level table according to the vehicle speed and gear position.
  • the electronic device adjusts the fan speed to the first speed according to the noise level. In this way, as long as the fan speed is adjusted according to the noise level in the noise level table, the noise generated by the fan can be masked. Therefore, generating a noise level table in advance and then using the noise level table to adjust the fan speed can effectively improve the fan speed adjustment efficiency.
  • the third determination unit is further configured to: when the noise generated when the fan is at different rotational speeds is masked, the air conditioner is in the second gear and the vehicle is at the second speed. It is determined that the second gear position corresponds to the third noise level and the second vehicle speed corresponds to the fourth noise level. When the third noise level is greater than or equal to the fourth noise level, the second gear and the second vehicle speed correspond to the third noise level. When the third noise level is lower than the fourth noise level, the second gear and the second vehicle speed correspond to the fourth noise level.
  • the adjustment unit is also used to: obtain the fourth rotation speed of the fan; according to the fourth rotation speed, search for the second noise level corresponding to the fourth rotation speed in the preset fan rotation speed table; In order to represent the corresponding relationship between the fan speed and the noise level; when the second noise level is greater than the first noise level, the fourth speed is adjusted to the first speed.
  • the electronic device determines the noise level and adjusts the rotation speed of the fan based on background noise (such as vehicle speed and noise generated by the air conditioner) and noise generated by the fan.
  • background noise such as vehicle speed and noise generated by the air conditioner
  • the background noise masks the noise generated by the fan and avoids the noise generated by the fan during heat dissipation from disturbing the user.
  • the electronic device further includes: a gearing unit configured to gear the speed of the vehicle according to a first gradient; and gear the rotational speed of the fan according to a second gradient. In this way, the design is simplified and the user experience is improved.
  • inventions of the present application provide a vehicle.
  • the vehicle includes: a processor and a memory.
  • the memory is coupled to the processor.
  • the memory is used to store computer program code.
  • the computer program code includes computer instructions. , when the processor reads the computer instructions from the memory, so that the vehicle executes the method described in the first aspect.
  • inventions of the present application provide a computer program product.
  • the computer program product includes computer instructions. When the computer instructions are run on a computer, they cause the computer to execute the method described in the first aspect.
  • embodiments of the present application provide a computer-readable storage medium, which includes computer instructions.
  • the computer-readable storage medium includes computer instructions.
  • the computer instructions When the computer instructions are run on a computer, the computer is caused to execute the first step. The method described in one aspect.
  • the electronic device determines the noise level in the noise level correspondence information based on the vehicle speed and the air conditioner gear. That is to say, as long as the fan speed is adjusted according to the noise level in the noise level correspondence information, the fan can be covered up.
  • the noise generated avoids the noise generated by the fan during heat dissipation from disturbing the user.
  • Figure 1 is a schematic diagram of the composition of an electronic device provided by an embodiment of the present application.
  • Figure 2A is a schematic structural diagram of a vehicle provided by an embodiment of the present application.
  • Figure 2B is a schematic exploded view of the structure of A in Figure 2A;
  • Figure 3A is a schematic flowchart of a method for adjusting fan speed provided by an embodiment of the present application
  • Figure 3B is a schematic flowchart of a method for adjusting fan speed provided by an embodiment of the present application.
  • Figure 3C is a schematic flowchart of a method for adjusting fan speed provided by an embodiment of the present application.
  • Figure 3D is a schematic flowchart of a method for adjusting fan speed provided by an embodiment of the present application.
  • FIG. 4 is a schematic diagram of the composition of another electronic device provided by an embodiment of the present application.
  • FIG. 1 shows a schematic structural diagram of an electronic device 100 .
  • the electronic device 100 may include a processor 110, a memory 120, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, a wireless communication module 150, and a sensor module 160 , buttons 170, camera 180, display 190.
  • the sensor module 160 may include a gyroscope sensor 160A, a distance sensor 160B, an air pressure sensor 160C, a touch sensor 160D, an ambient light sensor 160E, a temperature sensor 160F, etc.
  • the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100 .
  • the electronic device 100 may include more or fewer components than shown in the figures, or some components may be combined, some components may be separated, or some components may be arranged differently.
  • the components illustrated may be implemented in hardware, software, or a combination of software and hardware.
  • the processor 110 may include one or more processing units.
  • the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processing unit (GPU), and an image signal processor. (image signal processor, ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural network processor (neural-network processing unit, NPU), etc.
  • application processor application processor, AP
  • modem processor graphics processing unit
  • GPU graphics processing unit
  • image signal processor image signal processor
  • ISP image signal processor
  • controller video codec
  • digital signal processor digital signal processor
  • DSP digital signal processor
  • baseband processor baseband processor
  • neural network processor neural-network processing unit
  • the controller can generate operation control signals based on the instruction operation code and timing signals to complete the control of fetching and executing instructions.
  • the processor 110 may also be provided with a memory for storing instructions and data.
  • the memory in processor 110 is cache memory. This memory may hold instructions or data that have been recently used or recycled by processor 110 . If the processor 110 needs to use the instructions or data again, it can be called directly from the memory. Repeated access is avoided and the waiting time of the processor 110 is reduced, thus improving the efficiency of the system.
  • processor 110 may include one or more interfaces.
  • the interface may include an integrated circuit (inter-integrated circuit, I2C) interface, a mobile industry processor interface (MIPI), a general-purpose input/output (GPIO) interface, and/or a USB interface, etc. .
  • I2C integrated circuit
  • MIPI mobile industry processor interface
  • GPIO general-purpose input/output
  • USB interface etc.
  • the I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (derail clock line, SCL).
  • processor 110 may include multiple sets of I2C buses.
  • the processor 110 can couple the touch sensor 160D, charger, flash, camera 180, etc. respectively through different I2C bus interfaces.
  • the processor 110 can be coupled to the touch sensor 160D through an I2C interface, so that the processor 110 and the touch sensor 160D communicate through the I2C bus interface to implement the touch function of the electronic device 100 .
  • the MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 190 and the camera 180 .
  • MIPI interfaces include camera serial interface (CSI), display serial interface (DSI), etc.
  • the processor 110 and the camera 180 communicate through a CSI interface to implement the shooting function of the electronic device 100 .
  • the processor 110 and the display screen 190 communicate through the DSI interface to implement the display function of the electronic device 100 .
  • the GPIO interface can be configured through software.
  • the GPIO interface can be configured as a control signal or as a data signal.
  • the GPIO interface can be used to connect the processor 110 with the camera 180, the display screen 190, the wireless communication module 150, the sensor module 160, etc.
  • the GPIO interface can also be configured as an I2C interface, MIPI interface, etc.
  • the USB interface 130 is an interface that complies with the USB standard specification, and may be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc.
  • the USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transmit data between the electronic device 100 and peripheral devices. It can also be used to connect headphones to play audio through them.
  • the interface can also be used to connect other electronic devices, such as augmented reality (AR) devices.
  • AR augmented reality
  • the interface connection relationships between the modules illustrated in the embodiments of the present application are only schematic illustrations and do not constitute a structural limitation of the electronic device 100 .
  • the electronic device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
  • the charging management module 140 is used to receive charging input from the charger.
  • the charger can be a wireless charger or a wired charger.
  • the charging management module 140 may receive charging input from the wired charger through the USB interface 130 .
  • the charging management module 140 may receive wireless charging input through the wireless charging coil of the electronic device 100 . While the charging management module 140 charges the battery 142, it can also provide power to the electronic device through the power management module 141.
  • the power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110.
  • the power management module 141 receives input from the battery 142 and/or the charging management module 140, and supplies power to the processor 110, the memory 120, the display screen 190, the camera 180, the wireless communication module 150, and the like.
  • the power management module 141 can also be used to monitor battery capacity, battery cycle times, battery health status (leakage, impedance) and other parameters.
  • the power management module 141 may also be provided in the processor 110 .
  • the power management module 141 and the charging management module 140 may also be provided in the same device.
  • the wireless communication function of the electronic device 100 can be implemented through the antenna 1, the wireless communication module 150, the modem processor and the baseband processor.
  • Antenna 1 is used to transmit and receive electromagnetic wave signals.
  • Each antenna in electronic device 100 may be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example: Antenna 1 can be reused as a diversity antenna for a wireless LAN. In other embodiments, antennas may be used in conjunction with tuning switches.
  • the wireless communication module 150 can provide applications on the electronic device 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) network), Bluetooth (blue tooth, BT), and global navigation. Satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions.
  • the wireless communication module 150 may be one or more devices integrating at least one communication processing module.
  • the wireless communication module 150 receives electromagnetic waves via the antenna 1 , frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 .
  • the wireless communication module 150 can also receive the signal to be sent from the processor 110, frequency modulate it, amplify it, and convert it into electromagnetic waves through the antenna 1 for radiation.
  • the antenna 1 of the electronic device 100 and the wireless communication module 150 are coupled, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology.
  • the wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband Code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC , FM, and/or IR technology, etc.
  • the GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), Beidou navigation satellite system (BDS), quasi-zenith satellite system (quasi) -zenith satellite system (QZSS) and/or satellite based augmentation systems (SBAS).
  • GPS global positioning system
  • GLONASS global navigation satellite system
  • BDS Beidou navigation satellite system
  • QZSS quasi-zenith satellite system
  • SBAS satellite based augmentation systems
  • the electronic device 100 implements display functions through a GPU, a display screen 190, an application processor, and the like.
  • the GPU is an image processing microprocessor and is connected to the display screen 190 and the application processor. GPUs are used to perform mathematical and geometric calculations for graphics rendering.
  • Processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
  • the display screen 190 is used to display images, videos, etc.
  • Display 190 includes a display panel.
  • the display panel can use a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active matrix organic light emitting diode or an active matrix organic light emitting diode (active-matrix organic light emitting diode).
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • AMOLED organic light-emitting diode
  • FLED flexible light-emitting diode
  • Miniled MicroLed, Micro-oLed, quantum dot light emitting diode (QLED), etc.
  • the electronic device 100 may include 1 or N display screens 190, where N is a positive integer greater than 1.
  • the electronic device 100 can implement the shooting function through an ISP, a camera 180, a video codec, a GPU, a display screen 190, an application processor, and the like.
  • the ISP is used to process the data fed back by the camera 180 .
  • the shutter is opened, the light is transmitted to the camera sensor through the lens, the optical signal is converted into an electrical signal, and the camera sensor passes the electrical signal to the ISP for processing, and converts it into an image visible to the naked eye.
  • ISP can also perform algorithm optimization on image noise and brightness.
  • ISP can also optimize the exposure, color temperature and other parameters of the shooting scene.
  • the ISP may be provided in the camera 180.
  • Camera 180 is used to capture still images or video.
  • the object passes through the lens to generate an optical image that is projected onto the photosensitive element.
  • the photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
  • CMOS complementary metal-oxide-semiconductor
  • the photosensitive element converts the optical signal into an electrical signal, and then passes the electrical signal to the ISP to convert it into a digital image signal.
  • ISP outputs digital image signals to DSP for processing.
  • the electronic device 100 may include 1 or N cameras 180, where N is a positive integer greater than 1.
  • Digital signal processors are used to process digital signals. In addition to digital image signals, they can also process other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.
  • Video codecs are used to compress or decompress digital video.
  • Electronic device 100 may support one or more video codecs. In this way, the electronic device 100 can play or record videos in multiple encoding formats, such as moving picture experts group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
  • MPEG moving picture experts group
  • MPEG2 MPEG2, MPEG3, MPEG4, etc.
  • NPU is a neural network (NN) computing processor.
  • NN neural network
  • the NPU can realize intelligent cognitive applications of the electronic device 100, such as image recognition, face recognition, speech recognition, text understanding, etc.
  • Memory 120 may be used to store computer executable program code, which includes instructions.
  • the memory 120 may include a program storage area and a data storage area.
  • the stored program area can store an operating system, at least one application program required for a function (such as a sound playback function, an image playback function, etc.).
  • the storage data area may store data created during use of the electronic device 100 (such as audio data, phone book, etc.).
  • the memory 120 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc.
  • the processor 110 executes various functional applications and data processing of the electronic device 100 by executing instructions stored in the memory 120 and/or instructions stored in the memory provided in the processor.
  • the gyro sensor 160A may be used to determine the motion posture of the electronic device 100 .
  • the angular velocity of electronic device 100 about three axes ie, x, y, and z axes
  • the gyro sensor 160A can be used for image stabilization. For example, when the shutter is pressed, the gyro sensor 160A detects the angle at which the electronic device 100 shakes, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to offset the shake of the electronic device 100 through reverse movement to achieve anti-shake.
  • Gyro sensor 160A can also be used in navigation scenarios.
  • Air pressure sensor 160C is used to measure air pressure. In some embodiments, the electronic device 100 calculates the altitude through the air pressure value measured by the air pressure sensor 160C to assist positioning and navigation.
  • the electronic device 100 can measure distance through infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 can use the distance sensor 160B to measure distance to achieve fast focusing.
  • the ambient light sensor 160E is used to sense ambient light brightness.
  • the electronic device 100 can adaptively adjust the brightness of the display screen 190 according to the perceived ambient light brightness.
  • the ambient light sensor 160E can also be used to automatically adjust the white balance when taking pictures.
  • Temperature sensor 160F is used to detect temperature.
  • the electronic device 100 utilizes the temperature detected by the temperature sensor 160F to execute the temperature processing strategy. For example, when the temperature reported by the temperature sensor 160F exceeds a threshold, the electronic device 100 reduces the performance of a processor located near the temperature sensor 160F in order to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to prevent the low temperature from causing the electronic device 100 to shut down abnormally. In some other embodiments, when the temperature is lower than another threshold, the electronic device 100 performs boosting on the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
  • Touch sensor 160D is also called a "touch device”.
  • the touch sensor 160D can be disposed on the display screen 190, and the touch sensor 160D and the display screen 190 form a touch screen, which is also called a "touch screen”.
  • the touch sensor 160D is used to detect a touch operation on or near the touch sensor 160D.
  • the touch sensor can pass the detected touch operation to the application processor to determine the touch event type.
  • Visual output related to the touch operation may be provided through the display screen 190 .
  • the touch sensor 160D may also be disposed on the surface of the electronic device 100 in a position different from that of the display screen 190 .
  • the buttons 170 include a power button, a volume button, etc.
  • the key 170 may be a mechanical key. It can also be a touch button.
  • the electronic device 100 may receive key inputs and generate key signal inputs related to user settings and function control of the electronic device 100 .
  • the electronic device 100 may also include other functional units, which are not limited in the embodiments of the present application.
  • the above-mentioned electronic devices may include different product forms in the automotive field, such as: vehicle chips, vehicle devices (such as wireless charging devices, vehicle computers, vehicle computers, head up displays (HUD), etc.), complete vehicles, servers (virtual or entity).
  • vehicle chips such as wireless charging devices, vehicle computers, vehicle computers, head up displays (HUD), etc.
  • HUD head up displays
  • complete vehicles servers (virtual or entity).
  • the electronic device is a wireless charging device as an example for description.
  • Figure 2A shows a schematic structural diagram of the vehicle.
  • the new energy vehicle 1 is equipped with a wireless charging device 11 , which is used to wirelessly charge electronic devices (such as mobile phones).
  • the mobile phone 2 is placed on the wireless charging device 11 , and a heat dissipation hole 111 is provided on the contact surface between the mobile phone 2 and the wireless charging device 11 .
  • the wireless charging device 11 wirelessly charges the mobile phone 2, it can dissipate heat for the mobile phone 2.
  • the wireless charging device 11 includes a wireless charging module 113 and a fan 112 .
  • the fan 112 is disposed at the heat dissipation hole 111, and the fan 112 can dissipate heat for the mobile phone or the wireless charging device 11.
  • the maximum power of this wireless charging module can reach 40W.
  • the wireless charging device since the wireless charging device is located in front of the shift lever inside the vehicle, it is relatively close to the ears of the driver and co-driver, for example, about 50cm.
  • the wireless charging module charges the mobile phone at maximum power, the mobile phone emits a lot of heat.
  • the mobile phone needs to dissipate heat, and the fan needs to dissipate heat at a higher speed to meet the heat dissipation requirements. In this way, the fan will produce loud noise when dissipating heat, causing users to complain.
  • embodiments of the present application provide a method for adjusting fan speed, which method is applied to an electronic device.
  • the method includes: when detecting that a wireless charging module in a vehicle wirelessly charges an electronic device, the electronic device obtains The first speed of the vehicle and the first gear of the air conditioner in the vehicle.
  • the electronic device determines the first noise level based on the first vehicle speed, the first gear, and the preset noise level correspondence information.
  • the noise level correspondence information is used to represent the correspondence between vehicle speed, gear position and noise level.
  • the electronic device adjusts the rotation speed of the fan to a first rotation speed according to the first noise level.
  • the first rotation speed is less than or equal to the second rotation speed corresponding to the first noise level.
  • the fan is used to dissipate heat for the electronic device.
  • the noise level in the noise level correspondence information or simply, the noise level table
  • the noise generated by the fan can be masked and the noise generated by the fan during heat dissipation can be avoided from disturbing the user.
  • Each noise level in the noise level table may be the noise level corresponding to the speed of the vehicle and/or the gear of the air conditioner, or it may be the gear of the air conditioner and/or the gear of the air conditioner when the noise generated when the fan is at different speeds is masked.
  • the noise level corresponding to the speed of the vehicle may be the noise level corresponding to the speed of the vehicle.
  • each noise level in the noise level table is the noise level corresponding to the vehicle speed and/or the air conditioner gear. That is, the noise level table is determined based on vehicle speed and air conditioning gear position.
  • the electronic device adjusts the speed of the fan based on the noise generated by the vehicle speed and the gear position of the air conditioner. Specifically, the electronic device searches the noise level table for the first noise level corresponding to the first vehicle speed and/or the first gear according to the first vehicle speed and the first gear. The electronic device adjusts the rotation speed of the fan to the first rotation speed according to the first noise level. For example, assume that the noise level table records that "the vehicle speed is within the range of 30km/h ⁇ V ⁇ 50km/h, and the air conditioner is not turned on.
  • the noise level is level 1; the vehicle speed is within the range of 30km/h ⁇ V ⁇ 50km/h Inside, and the air conditioner is on at level 2, the noise level is level 3 accordingly.”
  • the electronic device can find in the noise level table that the noise level corresponding to the first vehicle speed and second gear is level 3. Then, the electronic device adjusts the fan speed to the speed corresponding to level 3 noise.
  • the electronic device adjusts the rotation speed of the fan to the first rotation speed according to the first noise level.
  • the following implementation methods may exist:
  • Method 1 The electronic device adjusts the charging power of the wireless charging module according to the noise level, and then adjusts the fan speed according to the charging power. Specifically, the electronic device configures the first charging power for the wireless charging module according to the first noise level. The electronic device adjusts to a third rotational speed corresponding to the first charging power according to the first charging power and the preset corresponding relationship between the charging power and the fan rotational speed.
  • the charging power of the wireless charging module is 40W.
  • the fan needs to dissipate heat at the maximum speed.
  • the wireless charging module uses 32W power for charging, the fan needs to dissipate heat at the maximum speed * 80%.
  • the corresponding relationship between the noise level and the charging power of the wireless charging module is as follows: the noise level is level 3, correspondingly, the charging power of the wireless charging module is 80% * 40W; the noise level is level 5, correspondingly, the wireless charging module Charging power is 100%*40W.
  • the electronic device adjusts the fan speed to the speed corresponding to level 3 noise. Specifically, the electronic device adjusts the charging power of the wireless charging module to 32W.
  • AX BY
  • AX the maximum charging power of the wireless charging module
  • B the maximum speed of the fan
  • X and Y the duty cycle.
  • the charging power of the wireless charging module is 80%*40W
  • the fan speed is 80%*maximum speed.
  • the charging power, fan heat dissipation and noise level can be dynamically adjusted, so that heat dissipation can be satisfied when charging at maximum efficiency, and the noise generated will not cause user complaints.
  • Method 2 The electronic device determines the noise level based on background noise (such as vehicle speed and noise generated by air conditioning) and the noise generated by the fan, and adjusts the fan speed. Specifically, the electronic device obtains the fourth rotation speed of the fan. The electronic device searches the preset fan speed table for the second noise level corresponding to the fourth speed according to the fourth speed. The fan tachometer is used to characterize the relationship between fan speed and noise level. When the second noise level is greater than the first noise level, the electronic device adjusts the fourth rotation speed to the first rotation speed.
  • background noise such as vehicle speed and noise generated by air conditioning
  • the electronic device may determine that the level of the fan's noise is greater than the background noise level. In this way, the noise generated by the fan will affect the user.
  • the electronic device will adjust the fan speed. Specifically, the electronic device adjusts the fan's rotational speed to a rotational speed corresponding to the background noise level, that is, the electronic device adjusts the fan's rotational speed from the maximum rotational speed to 80%*maximum rotational speed. In this way, the background noise masks the noise generated by the fan and avoids the noise generated by the fan during heat dissipation from disturbing the user.
  • the noise level corresponds to the gear position of the air conditioner and/or the speed of the vehicle. That is to say, the noise level table is determined based on the fan speed, vehicle speed and air conditioner gear.
  • the electronic device acquires the first noise spectrum curve at the human ear when the air conditioner in the vehicle is at different gears.
  • the electronic device acquires the second noise spectrum curve at the human ear when the vehicle is at different vehicle speeds.
  • the electronic device acquires a third noise spectrum curve at the human ear when the fan is at different rotational speeds.
  • the electronic device determines the gear position of the air conditioner and the speed of the vehicle when the noise generated when the fan is at different rotational speeds is masked based on the first noise spectrum curve, the second noise spectrum curve, the third noise spectrum curve and the noise masking principle.
  • the electronic device determines the noise level based on the gear position of the air conditioner and the speed of the vehicle when the noise generated when the fan is at different rotational speeds is masked, and obtains a noise level table.
  • the electronic device can determine the noise level corresponding to each speed, the noise level corresponding to each vehicle speed, and the noise level corresponding to each gear according to the first noise spectrum curve, the second noise spectrum curve, and the second noise spectrum curve. .
  • the electronic device can determine the maximum level among the noise level corresponding to one rotation speed, the noise level corresponding to one vehicle speed, and the noise level corresponding to one gear.
  • the fan corresponds to level 5 noise at its maximum speed
  • the vehicle speed corresponds to level 1 noise within the range of 30km/h ⁇ V ⁇ 50km/h
  • the air conditioner turns on level 2, which corresponds to level 3 noise.
  • the noise level is level 5.
  • the fan corresponds to level 5 noise at its maximum speed
  • the vehicle speed corresponds to level 1 noise within the range of 30km/h ⁇ V ⁇ 50km/h
  • the air conditioner turns on level 3 or more, which corresponds to level 5 noise.
  • the noise level is level 5.
  • the fan corresponds to level 0 noise when the fan rotates at 50%*maximum speed
  • the vehicle speed corresponds to level 1 noise within the range of 30km/h ⁇ V ⁇ 50km/h
  • the air conditioner turns on the second gear to correspond to level 3 noise.
  • the noise level is level 3.
  • the electronic device obtains the noise level corresponding to the gear position of the air conditioner and the speed of the vehicle when the noise generated by the fan at different speeds is masked.
  • the noise level is level 3.
  • the noise level table is obtained.
  • the electronic device can query the first noise level in the noise level table according to the first vehicle speed and the first gear.
  • the electronic device adjusts the rotation speed of the fan to the first rotation speed according to the first noise level. In this way, as long as the fan speed is adjusted according to the noise level in the noise level table, the noise generated by the fan can be masked. Therefore, generating a noise level table in advance and then using the noise level table to adjust the fan speed can effectively improve the fan speed adjustment efficiency.
  • FIGS. 3A-3D are partial flow diagrams of a method for adjusting fan speed provided by an embodiment of the present application. As shown in Figures 3A to 3D, taking the execution subject of the method as an electronic device as an example, the method can be introduced in the following stages, specifically as follows:
  • the electronic device acquires the first noise spectrum curve at the human ear when the air conditioner in the vehicle is at different gears.
  • the electronic device determines the noise level corresponding to each gear of the air conditioner based on the first noise spectrum curve.
  • the electronic device obtains the second noise spectrum curve at the human ear when the vehicle is at different speeds.
  • the electronic device determines the noise level corresponding to each vehicle speed of the vehicle based on the second noise spectrum curve.
  • the electronic device can grade the vehicle speed according to the first gradient.
  • the first gradient can be understood as a specified value. For example, 10km/h, 5km/h, 20km/h.
  • the electronic device can grade the vehicle speed according to the gradient of 20km/h.
  • the vehicle speed gears can be obtained as follows: 30km/h ⁇ V ⁇ 50km/h, 50km/h ⁇ V ⁇ 70km/h, 70km/h ⁇ V ⁇ 90km/h.
  • the electronic device obtains the third noise spectrum curve at the human ear when the fan is at different speeds.
  • the electronic device determines the noise level corresponding to each rotational speed of the fan based on the second noise spectrum curve.
  • the electronic device can grade the fan speed according to the second gradient.
  • the second gradient can be understood as the specified duty cycle. For example, 10%, 5%, 20%.
  • the electronic device can step the fan speed in steps of 10%.
  • the obtained speed gears can be as follows: 0, 10%, 20%, 30%, 40%, 50%, 60%, 70%, 80%, 90%, 100%, a total of 11 gears.
  • the electronic device determines the gear position of the air conditioner and the speed of the vehicle when the noise generated by the fan at different rotational speeds is masked based on the first noise spectrum curve, the second noise spectrum curve, the third noise spectrum curve and the noise masking principle.
  • the electronic device determines the noise level corresponding to each gear of the air conditioner, the noise level corresponding to each speed of the vehicle, and the noise level corresponding to each speed of the fan based on the first noise spectrum curve, the second noise spectrum curve, and the third noise spectrum curve. Noise level.
  • Scenario 1 The electronic device determines the noise level corresponding to the air conditioner gear and/or the vehicle speed based on the noise masking principle.
  • the speed of the vehicle and its corresponding noise level are as follows: V ⁇ 30km/h, correspondingly, the noise level is 0; 30km/h ⁇ V ⁇ 50km/h, correspondingly, the noise level is 1; 50km/h ⁇ V ⁇ 70km/h, correspondingly, the noise level is 2; 70km/h ⁇ V ⁇ 90km/h, correspondingly, the noise level is 3; 90 ⁇ V ⁇ 100km/h, correspondingly, the noise level is 4; >100km/h, correspondingly, the noise level is 5.
  • the gears of the air conditioner and their corresponding noise levels are as follows: Air conditioner gear 0, correspondingly, the noise level is 0; air conditioner gear 1, correspondingly, the noise level is 1; air conditioner gear 2, correspondingly, the noise level is 2 ; For air conditioners above level 3, the corresponding noise level is 5.
  • the noise level is determined to be 1; if the vehicle speed is within the range of 30km/h ⁇ V ⁇ 50km/h, and the air conditioner is in 2 gear, the noise level is determined to be 3. And so on.
  • Scenario 2 Based on the principle of noise masking, the electronic device determines the gear position of the air conditioner and the speed of the vehicle when the noise generated by the fan at different speeds is masked.
  • the noise levels corresponding to each fan speed are as follows: the fan speed duty cycle is 50%, correspondingly, the noise level is 0; the fan speed duty cycle is 60%, correspondingly, the noise level is 1; the fan speed duty cycle The ratio is 70%, correspondingly, the noise level is 2; the fan speed duty cycle is 80%, correspondingly, the noise level is 3; the fan speed duty cycle is 90%, correspondingly, the noise level is 4; The fan speed duty cycle is 100%, and correspondingly, the noise level is 5.
  • the noise generated when the fan is at different speeds is masked by the gear position of the air conditioner and the speed of the vehicle, for example:
  • Example 1 A fan speed duty cycle of 100% corresponds to level 5 noise, a vehicle speed within the range of 30km/h ⁇ V ⁇ 50km/h corresponds to level 1 noise, and when the air conditioner is turned on in 2nd gear, it corresponds to level 3 noise. In this way, when the fan speed duty cycle is 100%, the vehicle speed is within the range of 30km/h ⁇ V ⁇ 50km/h, and the air conditioner is turned on in 2nd gear, the noise level is level 5.
  • Example 2 A fan duty cycle of 100% corresponds to level 5 noise, a vehicle speed within the range of 30km/h ⁇ V ⁇ 50km/h corresponds to level 1 noise, and when the air conditioner is turned on at least 3 levels, it corresponds to level 5 noise. In this way, when the fan duty cycle is 100%, the vehicle speed is within the range of 30km/h ⁇ V ⁇ 50km/h, and the air conditioner is turned on at least 3 levels, the noise level is level 5.
  • Example 3 A fan duty cycle of 70% corresponds to level 2 noise, a vehicle speed within the range of 30km/h ⁇ V ⁇ 50km/h corresponds to level 1 noise, and when the air conditioner is turned on in gear 2, it corresponds to level 3 noise.
  • the fan duty cycle is 70%
  • the vehicle speed is within the range of 30km/h ⁇ V ⁇ 50km/h
  • the air conditioner is turned on in 2nd gear
  • the noise level is level 3.
  • the electronic device can determine the gear position of the air conditioner and the speed of the vehicle when the noise generated when the fan is at different rotational speeds is masked. After that, the electronic device can execute S305 as follows, specifically:
  • the electronic device determines the noise level based on the gear position of the air conditioner and the speed of the vehicle when the noise generated when the fan is at different rotational speeds is masked, and obtains a noise level table (such as the above noise level correspondence information).
  • the preset condition may include notification.
  • S305 includes: S3051, S3052, S3053 and S3054.
  • S3051, S3052, S3053 and S3054 can be specifically implemented as: S3051.
  • the electronic device determines that the second gear position corresponds to the third noise level and the second vehicle speed corresponds to the fourth noise level.
  • S3053. When the third noise level is greater than or equal to the fourth noise level, the electronic device determines that the second gear and the second vehicle speed correspond to the third noise level.
  • S3054 When the third noise level is less than the fourth noise level, the electronic device determines that the second gear and the second vehicle speed correspond to the fourth noise level.
  • the noise generated by the fan is masked, and the noise level is determined by the maximum noise level corresponding to the gear of the air conditioner and the speed of the vehicle. Electrical devices can obtain the noise level table shown in Table 1. As shown in Table 1:
  • the noise level table can also be adjusted according to other situations. For example, if other equipment that can generate noise is added to the vehicle, the noise level table can be adjusted in conjunction with the noise generated by other equipment.
  • the embodiments of this application are not specifically limited.
  • the electronic device obtains the first speed of the vehicle and the first gear of the air conditioner in the vehicle.
  • the distance sensor on the vehicle can collect the driving distance of the vehicle and send the driving distance of the vehicle to the electronic device.
  • the electronic device receives the driving distance of the vehicle and calculates the distance according to the distance sensor. The distance traveled determines the speed of the vehicle.
  • the temperature sensor in the vehicle can detect the temperature in the vehicle and send the driving distance of the vehicle to the electronic device.
  • the electronic device receives the temperature of the vehicle and determines the distance according to the temperature of the vehicle.
  • the temperature determines the setting of the air conditioner.
  • the electronic device determines the first noise level based on the first vehicle speed, the first gear, and the preset noise level table.
  • This noise level table is used to represent the corresponding relationship between vehicle speed, gear position and noise level.
  • the noise level table may be as shown in Table 1 above.
  • the electronic device adjusts the rotation speed of the fan to a first rotation speed according to the first noise level.
  • the first rotation speed is less than or equal to the second rotation speed corresponding to the first noise level.
  • This fan is used to dissipate heat from electronic equipment.
  • the fan is used to dissipate heat for electronic devices that use wireless charging modules for charging.
  • the electronic device may adjust the rotation speed of the fan according to the first noise level. For example, the electronic device can adjust the rotation speed of the fan according to the corresponding relationship in Table 2 above.
  • S308 includes: S3081 and S3082.
  • S3081 and S3082 can be implemented specifically as:
  • the electronic device configures the first charging power for the wireless charging module according to the first noise level.
  • the electronic device stores the corresponding relationship between the noise level and the charging power. Because the charging power is greater, the fan speed is required to be greater. Therefore, the corresponding relationship between noise level and charging power can be equivalent to the corresponding relationship between noise level and fan speed. As mentioned above, the charging power has a linear relationship with the fan speed. It can be understood that the charging power is adjusted synchronously with the fan speed.
  • the electronic device when the electronic device determines that the first noise level is level 3, the electronic device can adjust the charging power of the wireless charging module to the power corresponding to noise level 3. Assumption: The maximum charging power of the wireless charging module is 40W. When the first noise level is level 3, the electronic device can adjust the charging power to 80%*40W.
  • the electronic device adjusts to the third rotation speed corresponding to the first charging power according to the first charging power and the preset correspondence information between charging power and fan rotation speed.
  • the third rotation speed is the first rotation speed.
  • the preset correspondence information between the charging power and the fan speed is used to represent the correspondence between the charging power and the fan speed.
  • the charging power has a linear relationship with the fan speed.
  • the charging power of the wireless charging module is 40W.
  • the fan needs to dissipate heat at the maximum speed * 80%.
  • S308 includes: S3083, S3084 and S3085.
  • S3083, S3084 and S3085 can be implemented specifically as:
  • the electronic device obtains the fourth rotation speed of the fan.
  • the fan can send the rotation speed to the electronic device, and the electronic device receives the rotation speed sent by the fan.
  • a sensor of the electronic device can collect fan speed information.
  • the electronic device searches the preset fan speed table for the second noise level corresponding to the fourth speed according to the fourth speed.
  • the fan tachometer is used to characterize the corresponding relationship between fan speed and noise level.
  • the fan speed table may be as shown in Table 1 above.
  • the electronic device adjusts the fourth rotation speed to the first rotation speed.
  • the electronic device when the noise generated by the fan is greater than the background noise (such as the noise generated by vehicle speed and air conditioning gear), the electronic device will reduce the fan speed so that the noise generated by the fan speed is less than or equal to the background noise. noise.
  • the background noise such as the noise generated by vehicle speed and air conditioning gear
  • the current fan speed is the maximum speed, correspondingly, the fan noise level is level 5; the vehicle speed is within the range of 30km/h ⁇ V ⁇ 50km/h, and the air conditioner is turned on in 2nd gear, correspondingly, the background noise The level is level 3.
  • the electronic device can adjust the rotation speed of the fan so that the noise level of the fan is less than or equal to the background noise level. In this way, the noise generated by the fan will not affect the user.
  • Embodiments of the present application also provide a device for implementing any of the above methods.
  • a device is provided that includes a unit (or means) for implementing each step performed by an electronic device in any of the above methods.
  • another device is also provided, including units (or means) used to implement each step performed by the vehicle in any of the above methods.
  • the device 400 may include:
  • the first acquisition unit 401 is configured to acquire the first speed of the vehicle and the first gear of the air conditioner in the vehicle when it is detected that the wireless charging module in the vehicle wirelessly charges the electronic device; for example, the first acquisition unit 401
  • the above steps of S306 can be performed.
  • the first determination unit 402 is used to determine the first noise level according to the first vehicle speed, the first gear position, and the preset noise level correspondence information; the noise level correspondence information is used to represent the vehicle speed, gear position, and noise level. Correspondence: For example, the first determining unit 402 may perform the above-mentioned step S307.
  • the adjustment unit 403 is used to adjust the rotation speed of the fan to a first rotation speed according to the first noise level.
  • the first rotation speed is less than or equal to the second rotation speed corresponding to the first noise level.
  • the fan is used to dissipate heat for electronic equipment.
  • the adjustment unit 403 may perform the above-mentioned step S308.
  • the adjustment unit 403 is also configured to: configure the first charging power for the wireless charging module according to the first noise level; and configure the first charging power and the preset corresponding relationship information between the charging power and the fan speed. , adjust the rotation speed of the fan to the third rotation speed corresponding to the first charging power, and the third rotation speed is the first rotation speed; the preset correspondence information between the charging power and the fan rotation speed is used to represent the correspondence between the charging power and the fan rotation speed.
  • the adjustment unit 403 performs the above-mentioned steps S3081 and S3082.
  • the device 400 also includes:
  • the second acquisition unit 404 is used to acquire the first noise spectrum curve at the human ear when the air conditioner in the vehicle is at different gears; exemplarily, the second acquisition unit 404 executes the above-mentioned step S301.
  • the third acquisition unit 405 is used to acquire the second noise spectrum curve at the human ear when the vehicle is at different vehicle speeds; exemplarily, the third acquisition unit 405 executes the above step of S302.
  • the fourth acquisition unit 406 is used to acquire the third noise spectrum curve at the human ear when the fan is at different rotational speeds; exemplarily, the fourth acquisition unit 406 executes the above-mentioned step S303.
  • the second determination unit 407 is used to determine, based on the first noise spectrum curve, the second noise spectrum curve, the third noise spectrum curve and the noise masking principle, the gears of the air conditioner and the vehicle when the noise generated when the fan is at different rotational speeds is masked. vehicle speed; for example, the second determination unit 407 executes the above-mentioned step S304.
  • the third determination unit 408 is used to determine the noise level based on the gear position of the air conditioner and the speed of the vehicle when the noise generated when the fan is at different rotational speeds is masked, and obtain noise level correspondence information. Exemplarily, the third determination unit 408 performs the above-mentioned step S305.
  • the third determination unit 408 is also used to: when the noise generated when the fan is at different speeds is masked, the air conditioner is in the second gear and the vehicle is at the second speed; determine the second gear Corresponding to the third noise level, the second vehicle speed corresponds to the fourth noise level; when the third noise level is greater than or equal to the fourth noise level, the second gear and the second vehicle speed correspond to the third noise level; when the third noise level is less than the fourth In terms of noise level, the second gear and the second vehicle speed correspond to the fourth noise level.
  • the third determination unit 408 also performs the above steps of S3051, S3052, S3053 and S3054.
  • the adjustment unit 403 is also used to: obtain the fourth rotation speed of the fan; according to the fourth rotation speed, search for the second noise level corresponding to the fourth rotation speed in the preset fan rotation speed table; the fan rotation speed table Used to characterize the corresponding relationship between fan speed and noise level;
  • the fourth rotation speed is adjusted to the first rotation speed.
  • the adjustment unit 403 also performs the above steps of S3083, S3084 and S3085.
  • the device 400 also includes:
  • the gearing unit 409 is used to gear the speed of the vehicle according to the first gradient and the speed of the fan according to the second gradient.
  • each unit in the above device is only a division of logical functions. In actual implementation, it can be fully or partially integrated into a physical entity, or it can also be physically separated.
  • the unit in the device can be implemented in the form of a processor calling software; for example, the device includes a processor, the processor is connected to a memory, instructions are stored in the memory, and the processor calls the instructions stored in the memory to implement any of the above methods.
  • the processor is, for example, a general-purpose processor, such as a central processing unit (Central Processing Unit, CPU) or a microprocessor
  • the memory is a memory within the device or a memory outside the device.
  • the units in the device can be implemented in the form of hardware circuits, and some or all of the functions of the units can be implemented through the design of the hardware circuits, which can be understood as one or more processors; for example, in one implementation,
  • the hardware circuit is an application-specific integrated circuit (ASIC), which realizes the functions of some or all of the above units through the design of the logical relationships of the components in the circuit; for another example, in another implementation, the hardware circuit is It can be realized by programmable logic device (PLD), taking Field Programmable Gate Array (FPGA) as an example, which can include a large number of logic gate circuits, and the logic gate circuits are configured through configuration files. connection relationships, thereby realizing the functions of some or all of the above units. All units of the above device may be fully implemented by the processor calling software, or may be fully implemented by hardware circuits, or part of the units may be implemented by the processor calling software, and the remaining part may be implemented by hardware circuits.
  • PLD programmable logic device
  • FPGA Field Programmable Gate
  • the processor is a circuit with signal processing capabilities.
  • the processor may be a circuit with the ability to read and run instructions, such as a central processing unit (CPU), a microprocessor, Graphics processor GPU (can be understood as a microprocessor), or digital signal processor DSP, etc.; in another implementation, the processor can implement certain functions through the logical relationship of the hardware circuit.
  • the logical relationship of the hardware circuit is Fixed or reconfigurable, such as a hardware circuit implemented by a processor as an application-specific integrated circuit (ASIC) or a programmable logic device (PLD), such as an FPGA.
  • ASIC application-specific integrated circuit
  • PLD programmable logic device
  • the process of the processor loading the configuration file and realizing the hardware circuit configuration can be understood as the process of the processor loading instructions to realize the functions of some or all of the above units.
  • it can also be a hardware circuit designed for artificial intelligence, which can be understood as an ASIC, such as neural network processing unit NPU tensor processing unit (Tensor Processing Unit, TPU), deep learning processing unit (Deep learning Processing Unit, DPU )wait.
  • NPU tensor processing unit Tensor Processing Unit, TPU
  • DPU deep learning processing unit
  • each unit in the above device can be one or more processors (or processing circuits) configured to implement the above method, such as: CPU, GPU, NPU, TPU, DPU, microprocessor, DSP, ASIC, FPGA , or a combination of at least two of these processor forms.
  • processors or processing circuits
  • each unit in the above device may be integrated together in whole or in part, or may be implemented independently. In one implementation, these units are integrated together and implemented as a system-on-a-chip (SOC).
  • SOC may include at least one processor for implementing any of the above methods or implementing the functions of each unit of the device.
  • the at least one processor may be of different types, such as a CPU and an FPGA, or a CPU and an artificial intelligence processor. CPU and GPU etc.
  • An embodiment of the present application provides a vehicle, including: a processor and a memory.
  • the memory is coupled to the processor.
  • the memory is used to store computer program codes.
  • the computer program codes include computer instructions.
  • An embodiment of the present application provides a vehicle, including the electronic device shown in FIG. 4 .
  • a computer program product provided by an embodiment of the present application when the computer program product is run on a computer, causes the computer to execute the fan speed adjustment method shown in Figures 1 to 3D.
  • An embodiment of the present application provides a computer-readable storage medium that includes computer instructions.
  • the network device When the computer instructions are run on a terminal, the network device causes the network device to execute the fan speed adjustment method shown in Figures 1 to 3D.
  • a chip system provided by an embodiment of the present application includes one or more processors.
  • the one or more processors execute instructions, the one or more processors execute the fan speed adjustment method shown in Figures 1 to 3D.
  • first and second are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the quantity of indicated technical features. Therefore, features defined as “first” and “second” may explicitly or implicitly include one or more of these features. In the description of the embodiments of this application, unless otherwise specified, "plurality” means two or more.
  • the above-mentioned communication equipment includes hardware structures and/or software modules corresponding to each function.
  • Persons skilled in the art should easily realize that, in conjunction with the units and algorithm steps of each example described in the embodiments disclosed herein, the embodiments of the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is performed by hardware or computer software driving the hardware depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of the embodiments of the present application.
  • Embodiments of the present application can divide the above-mentioned communication equipment into functional modules according to the above-mentioned method examples.
  • each functional module can be divided corresponding to each function, or two or more functions can be integrated into one processing module.
  • the above integrated modules can be implemented in the form of hardware or software function modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical function division. In actual implementation, there may be other division methods.

Abstract

本申请实施例提供一种风扇转速的调节方法和电子装置,涉及电子装置技术领域,可用于智能汽车或新能源汽车。该方法包括当检测到车辆内的无线充电模块对电子设备进行无线充电时,电子装置获取车辆的第一车速、车辆内空调的第一档位。电子装置根据第一车速,第一档位,及预设的噪声等级对应关系信息,确定第一噪声等级,并根据第一噪声等级,调节风扇的转速至第一转速,该第一转速小于等于第一噪声等级对应的第二转速。这样,只要根据噪声等级对应关系信息中的噪声等级来调节风扇的转速,均能掩盖风扇产生的噪声,避免了风扇散热时产生的噪声对用户的干扰。

Description

一种风扇转速的调节方法和电子装置 技术领域
本申请涉及智能车辆技术领域,尤其涉及一种风扇转速的调节方法和电子装置。
背景技术
随着无线充电技术越来越普遍,越来越多的电子设备应用无线充电技术。例如,新能源汽车搭载无线快充模块,该无线充电模块可以给手机充电。该无线充电模块的最大功率可以达到40W。当无线充电模块以最大功率给手机充电时,手机发出大量的热量。此时,手机需要散热,通常是采用冷却风扇进行散热。但是,冷却风扇在散热时会产生较大的噪声,导致用户抱怨。为了防止冷却风扇在散热时会产生较大的噪声,通常是将冷却风扇进行优化,或者冷却风扇的安装路径进行优化。但是,冷却风扇在散热时依然会产生较大的噪声。
发明内容
本申请实施例提供一种风扇转速的调节方法和电子装置,如何在无线充电时冷却风扇产生的噪声不被用户感知的问题。
为达到上述目的,本申请实施例采用如下技术方案。
第一方面,本申请实施例提供一种风扇转速的调节方法,该方法应用于电子装置,该方法包括:当检测到车辆内的无线充电模块对电子设备进行无线充电时,获取车辆的第一车速、车辆内空调的第一档位。根据第一车速,第一档位,及预设的噪声等级对应关系信息,确定第一噪声等级。噪声等级对应关系信息用于表征车速、档位和噪声等级的对应关系。根据第一噪声等级,调节风扇的转速至第一转速,第一转速小于等于第一噪声等级对应的第二转速,风扇用于为电子设备散热。
本申请实施例中,电子装置根据车速和空调档位在噪声等级对应关系信息中确定噪声等级,也就是说,只要根据噪声等级对应关系信息(或简称噪声等级表)中的噪声等级来调节风扇的转速,均能掩盖风扇产生的噪声,避免了风扇散热时产生的噪声对用户的干扰。
在一种具体可实现方式中,根据第一噪声等级,调节风扇的转速至第一转速,具体为:根据第一噪声等级,为无线充电模块配置第一充电功率。根据第一充电功率,及预设的充电功率与风扇转速对应关系信息,调节风扇的转速至第一充电功率对应的第三转速,第三转速为第一转速。预设的充电功率与风扇转速对应关系信息用于表征充电功率与风扇转速的对应关系。
本申请实施例中,电子装置根据噪声等级调节无线充电模块的充电功率,再根据充电功率调节风扇的转速。这样,可以动态调整充电功率、风扇散热及噪声等级,可以实现在最大效率充电时,满足散热,且产生的噪声不会导致用户抱怨。
在一些可实现方式中,在根据第一车速,第一档位,及预设的噪声等级对应关系信息,确定第一噪声等级之前,还包括:获取在车辆内空调处于不同档位时人耳处的第一噪声频谱曲线。获取在车辆处于不同车速时人耳处的第二噪声频谱曲线。获取在 风扇处于不同转速时人耳处的第三噪声频谱曲线。根据第一噪声频谱曲线、第二噪声频谱曲线、第三噪声频谱曲线,确定在风扇处于不同转速时产生的噪声被掩蔽时空调的档位、车辆的车速。根据在风扇处于不同转速时产生的噪声被掩蔽时空调的档位、车辆的车速,确定噪声等级,并获得噪声等级对应关系信息。
本申请实施例中,电子装置可以根据车速和档位,在噪声等级表中查询噪声等级。电子装置根据噪声等级,调节风扇的转速至第一转速。这样,只要根据噪声等级表中的噪声等级来调节风扇的转速,均能掩盖风扇产生的噪声。因此,预先生成噪声等级表,再利用该噪声等级表来调整风扇的转速,可以有效提高风扇转速的调节效率。
在一种具体可实现方式中,根据在风扇处于不同转速时产生的噪声被掩蔽时空调的档位、车辆的车速,确定噪声等级,具体可以为:在在风扇处于不同转速时产生的噪声被掩蔽时,空调处于第二档位,车辆处于第二车速。确定第二档位对应第三噪声等级、第二车速对应第四噪声等级。当第三噪声等级大于等于第四噪声等级时,第二档位和第二车速对应第三噪声等级。当第三噪声等级小于第四噪声等级时,第二档位和第二车速对应第四噪声等级。
在一种具体可实现方式中,根据第一噪声等级,调节风扇的转速至第一转速,具体为:获取风扇的第四转速。根据第四转速,在预设的风扇转速表中查找第四转速对应的第二噪声等级。风扇转速表用于表征风扇转速与噪声等级的对应关系。当第二噪声等级大于第一噪声等级时,将第四转速调至第一转速。
本申请实施例中,电子装置根据背景噪声(如车速和空调产生的噪声)与风扇产生的噪声,确定噪声等级,并调节风扇的转速。这样,背景噪声就掩蔽了风扇产生的噪声,避免了风扇散热时产生的噪声对用户的干扰。
在一些可实现方式中,该方法还包括:将车辆的车速按照第一梯度进行分档。将风扇的转速按照第二梯度进行分档。这样,简化设计、提升使用体验。
第二方面,本申请实施例提供一种电子装置,该电子装置包括:第一获取单元,用于当检测到车辆内的无线充电模块对电子设备进行无线充电时,获取车辆的第一车速、车辆内空调的第一档位。第一确定单元,用于根据第一车速,第一档位,及预设的噪声等级对应关系信息,确定第一噪声等级;噪声等级对应关系信息用于表征车速、档位和噪声等级的对应关系。调节单元,用于根据第一噪声等级,调节风扇的转速至第一转速,第一转速小于等于第一噪声等级对应的第二转速,风扇用于为电子设备散热。
本申请实施例中,电子装置根据车速和空调档位在噪声等级对应关系信息中确定噪声等级,也就是说,只要根据噪声等级对应关系信息(或简称噪声等级表)中的噪声等级来调节风扇的转速,均能掩盖风扇产生的噪声,避免了风扇散热时产生的噪声对用户的干扰。
在一种具体可实现方式中,调节单元还用于:根据第一噪声等级,为无线充电模块配置第一充电功率;根据第一充电功率,及预设的充电功率与风扇转速对应关系信息,调节风扇的转速至第一充电功率对应的第三转速,第三转速为第一转速;预设的充电功率与风扇转速对应关系信息用于表征充电功率与风扇转速的对应关系。
本申请实施例中,电子装置根据噪声等级调节无线充电模块的充电功率,再根据 充电功率调节风扇的转速。这样,可以动态调整充电功率、风扇散热及噪声等级,可以实现在最大效率充电时,满足散热,且产生的噪声不会导致用户抱怨。
在一些可实现方式中,该电子装置还包括:第二获取单元,用于获取在车辆内空调处于不同档位时人耳处的第一噪声频谱曲线。第三获取单元,用于获取在车辆处于不同车速时人耳处的第二噪声频谱曲线。第四获取单元,用于获取在风扇处于不同转速时人耳处的第三噪声频谱曲线。第二确定单元,用于根据第一噪声频谱曲线、第二噪声频谱曲线、第三噪声频谱曲线和噪声掩蔽原理,确定在风扇处于不同转速时产生的噪声被掩蔽时空调的档位、车辆的车速。第三确定单元,用于根据在风扇处于不同转速时产生的噪声被掩蔽时空调的档位、车辆的车速,确定噪声等级,并获得噪声等级对应关系信息。
本申请实施例中,电子装置可以根据车速和档位,在噪声等级表中查询噪声等级。电子装置根据噪声等级,调节风扇的转速至第一转速。这样,只要根据噪声等级表中的噪声等级来调节风扇的转速,均能掩盖风扇产生的噪声。因此,预先生成噪声等级表,再利用该噪声等级表来调整风扇的转速,可以有效提高风扇转速的调节效率。
在一种具体可实现方式中,第三确定单元还用于:在在风扇处于不同转速时产生的噪声被掩蔽时,空调处于第二档位,车辆处于第二车速。确定第二档位对应第三噪声等级、第二车速对应第四噪声等级。当第三噪声等级大于等于第四噪声等级时,第二档位和第二车速对应第三噪声等级。当第三噪声等级小于第四噪声等级时,第二档位和第二车速对应第四噪声等级。
在一种具体可实现方式中,调节单元还用于:获取风扇的第四转速;根据第四转速,在预设的风扇转速表中查找第四转速对应的第二噪声等级;风扇转速表用于表征风扇转速与噪声等级的对应关系;当第二噪声等级大于第一噪声等级时,将第四转速调至第一转速。
本申请实施例中,电子装置根据背景噪声(如车速和空调产生的噪声)与风扇产生的噪声,确定噪声等级,并调节风扇的转速。这样,背景噪声就掩蔽了风扇产生的噪声,避免了风扇散热时产生的噪声对用户的干扰。
在一些可实现方式中,该电子装置还包括:分档单元,用于将车辆的车速按照第一梯度进行分档;将风扇的转速按照第二梯度进行分档。这样,简化设计、提升使用体验。
第三方面,本申请实施例提供一种车辆,该车辆包括:处理器和存储器,所述存储器与所述处理器耦合,所述存储器用于存储计算机程序代码,所述计算机程序代码包括计算机指令,当所述处理器从所述存储器中读取所述计算机指令,以使得所述车辆执行第一方面所述的方法。
第四方面,本申请实施例提供一种计算机程序产品,所述计算机程序产品包括计算机指令,当所述计算机指令在计算机上运行时,使得计算机执行第一方面所述的方法。
第五方面,本申请实施例提供一种计算机可读存储介质,其包括计算机指令,所述计算机可读存储介质包括计算机指令,当所述计算机指令在计算机上运行时,使得所述计算机执行第一方面所述的方法。
本申请实施例中,电子装置根据车速和空调档位在噪声等级对应关系信息中确定噪声等级,也就是说,只要根据噪声等级对应关系信息中的噪声等级来调节风扇的转速,均能掩盖风扇产生的噪声,避免了风扇散热时产生的噪声对用户的干扰。
附图说明
图1为本申请实施例提供的一种电子装置的组成示意图;
图2A为本申请实施例提供的一种车辆的结构示意图;
图2B为图2A中A的结构爆炸示意图;
图3A为本申请实施例提供的一种风扇转速的调节方法的流程示意图;
图3B为本申请实施例提供的一种风扇转速的调节方法的流程示意图;
图3C为本申请实施例提供的一种风扇转速的调节方法的流程示意图;
图3D为本申请实施例提供的一种风扇转速的调节方法的流程示意图;
图4为本申请实施例提供的又一种电子装置的组成示意图。
具体实施方式
图1示出了电子装置100的结构示意图。
电子装置100可以包括处理器110,存储器120,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,无线通信模块150,传感器模块160,按键170,摄像头180,显示屏190。其中,传感器模块160可以包括陀螺仪传感器160A,距离传感器160B,气压传感器160C,触摸传感器160D,环境光传感器160E,温度传感器160F等。
可以理解的是,本申请实施例示意的结构并不构成对电子装置100的具体限定。在本申请另一些实施例中,电子装置100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。
控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,和/或USB接口等。
I2C接口是一种双向同步串行总线,包括一根串行数据线(serial data line,SDA)和一根串行时钟线(derail clock line,SCL)。在一些实施例中,处理器110可以包含多组I2C总线。处理器110可以通过不同的I2C总线接口分别耦合触摸传感器160D,充电器,闪光灯,摄像头180等。例如:处理器110可以通过I2C接口耦合触摸传感器160D,使处理器110与触摸传感器160D通过I2C总线接口通信,实现电子装置100的触摸功能。
MIPI接口可以被用于连接处理器110与显示屏190,摄像头180等外围器件。MIPI接口包括摄像头串行接口(camera serial interface,CSI),显示屏串行接口(display serial interface,DSI)等。在一些实施例中,处理器110和摄像头180通过CSI接口通信,实现电子装置100的拍摄功能。处理器110和显示屏190通过DSI接口通信,实现电子装置100的显示功能。
GPIO接口可以通过软件配置。GPIO接口可以被配置为控制信号,也可被配置为数据信号。在一些实施例中,GPIO接口可以用于连接处理器110与摄像头180,显示屏190,无线通信模块150,传感器模块160等。GPIO接口还可以被配置为I2C接口,MIPI接口等。
USB接口130是符合USB标准规范的接口,具体可以是Mini USB接口,Micro USB接口,USB Type C接口等。USB接口130可以用于连接充电器为电子装置100充电,也可以用于电子装置100与外围设备之间传输数据。也可以用于连接耳机,通过耳机播放音频。该接口还可以用于连接其他电子装置,例如增强现实(augmented reality,AR)设备等。
可以理解的是,本申请实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子装置100的结构限定。在本申请另一些实施例中,电子装置100也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过电子装置100的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为电子装置供电。
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,存储器120,显示屏190,摄像头180,和无线通信模块150等供电。电源管理模块141还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。
电子装置100的无线通信功能可以通过天线1,无线通信模块150,调制解调处理器以及基带处理器等实现。
天线1用于发射和接收电磁波信号。电子装置100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使 用。
无线通信模块150可以提供应用在电子装置100上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(blue tooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块150可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块150经由天线1接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块150还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线1转为电磁波辐射出去。
在一些实施例中,电子装置100的天线1和无线通信模块150耦合,使得电子装置100可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(code division multiple access,CDMA),宽带码分多址(wideband code division multiple access,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidou navigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。
电子装置100通过GPU,显示屏190,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏190和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。
显示屏190用于显示图像,视频等。显示屏190包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,电子装置100可以包括1个或N个显示屏190,N为大于1的正整数。
电子装置100可以通过ISP,摄像头180,视频编解码器,GPU,显示屏190以及应用处理器等实现拍摄功能。
ISP用于处理摄像头180反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像头180中。
摄像头180用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元 件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB(RGB代表红、绿、蓝三个颜色),YUV(“Y”表示明亮度(Luminance或Luma),也就是灰阶值,“U”和“V”表示的则是色度(Chrominance或Chroma))等格式的图像信号。在一些实施例中,电子装置100可以包括1个或N个摄像头180,N为大于1的正整数。
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当电子装置100在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。
视频编解码器用于对数字视频压缩或解压缩。电子装置100可以支持一种或多种视频编解码器。这样,电子装置100可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。
NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现电子装置100的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。
存储器120可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。存储器120可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储电子装置100使用过程中所创建的数据(比如音频数据,电话本等)等。此外,存储器120可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。处理器110通过运行存储在存储器120的指令,和/或存储在设置于处理器中的存储器的指令,执行电子装置100的各种功能应用以及数据处理。
陀螺仪传感器160A可以用于确定电子装置100的运动姿态。在一些实施例中,可以通过陀螺仪传感器160A确定电子装置100围绕三个轴(即,x,y和z轴)的角速度。陀螺仪传感器160A可以用于拍摄防抖。示例性的,当按下快门,陀螺仪传感器160A检测电子装置100抖动的角度,根据角度计算出镜头模组需要补偿的距离,让镜头通过反向运动抵消电子装置100的抖动,实现防抖。陀螺仪传感器160A还可以用于导航场景。
气压传感器160C用于测量气压。在一些实施例中,电子装置100通过气压传感器160C测得的气压值计算海拔高度,辅助定位和导航。
距离传感器160B,用于测量距离。电子装置100可以通过红外或激光测量距离。在一些实施例中,拍摄场景,电子装置100可以利用距离传感器160B测距以实现快速对焦。
环境光传感器160E用于感知环境光亮度。电子装置100可以根据感知的环境光亮度自适应调节显示屏190亮度。环境光传感器160E也可用于拍照时自动调节白平衡。
温度传感器160F用于检测温度。在一些实施例中,电子装置100利用温度传感器 160F检测的温度,执行温度处理策略。例如,当温度传感器160F上报的温度超过阈值,电子装置100执行降低位于温度传感器160F附近的处理器的性能,以便降低功耗实施热保护。在另一些实施例中,当温度低于另一阈值时,电子装置100对电池142加热,以避免低温导致电子装置100异常关机。在其他一些实施例中,当温度低于又一阈值时,电子装置100对电池142的输出电压执行升压,以避免低温导致的异常关机。
触摸传感器160D,也称“触控器件”。触摸传感器160D可以设置于显示屏190,由触摸传感器160D与显示屏190组成触摸屏,也称“触控屏”。触摸传感器160D用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏190提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器160D也可以设置于电子装置100的表面,与显示屏190所处的位置不同。
按键170包括开机键,音量键等。按键170可以是机械按键。也可以是触摸式按键。电子装置100可以接收按键输入,产生与电子装置100的用户设置以及功能控制有关的键信号输入。
当然,电子装置100还可以包括其他功能单元,本申请实施例对此不进行限定。
下面以图1所示架构为例,对本申请实施例提供的风扇转速的调节方法进行描述。下述实施例中的各单元可以具备图1所示部件,不予赘述。此外,本申请的各实施例之间涉及的动作,术语等均可以相互参考,不予限制。
上述电子装置可以包括车领域的不同产品形态,例如:车载芯片、车载装置(如:无线充电装置、车机、车载电脑、抬头显示(head up display,HUD)等)、整车、服务器(虚拟或实体)。
在本申请实施例中,以电子装置是无线充电装置为例进行说明。图2A示出了车辆的结构示意图。如图2A所示,新能源汽车1搭载无线充电装置11,该无线充电装置11用于为电子设备(如手机)进行无线充电。如图2A中所示的A区域中,手机2放在无线充电装置11上,在手机2与无线充电装置11的接触面上设有散热孔111。当无线充电装置11为手机2进行无线充电时,可以为手机2进行散热。具体的,如图2B所示,无线充电装置11包括无线充电模块113和风扇112。风扇112设置在散热孔111处,该风扇112可以为手机散热也可以为无线充电装置11散热。该无线充电模块的最大功率可以达到40W。
目前,由于该无线充电装置位于车辆内部的换挡杆前部,距离驾驶员及副驾驶人耳处距离较近,如,约50cm。当无线充电模块以最大功率给手机充电时,手机发出大量的热量。此时,手机需要散热,为满足散热要求风扇需要较大的转速进行散热。这样,风扇在散热时会产生较大的噪声,导致用户抱怨。
为了解决上述技术问题,本申请实施例提供一种风扇转速的调节方法,该方法应用于电子装置,该方法包括:当检测到车辆内的无线充电模块对电子设备进行无线充电时,电子装置获取车辆的第一车速、车辆内空调的第一档位。电子装置根据第一车速,第一档位,及预设的噪声等级对应关系信息,确定第一噪声等级。该噪声等级对应关系信息用于表征车速、档位和噪声等级的对应关系。电子装置根据第一噪声等级, 调节风扇的转速至第一转速,第一转速小于等于第一噪声等级对应的第二转速,风扇用于为电子设备散热。这样,只要根据噪声等级对应关系信息(或简称,噪声等级表)中的噪声等级来调节风扇的转速,均能掩盖风扇产生的噪声,避免了风扇散热时产生的噪声对用户的干扰。
其中,噪声等级表中的各噪声等级可以是车辆的车速和/或空调的档位对应的噪声等级,也可以是在风扇处于不同转速时产生的噪声被掩蔽时,空调的档位和/或车辆的车速对应的噪声等级。以下针对不同情况对本申请实施例提供一种风扇转速的调节方法进行详细说明:
第一种情况,噪声等级表中的各噪声等级是车辆的车速和/或空调的档位对应的噪声等级。也就是说,噪声等级表是基于车速和空调的档位确定的。
在第一种实施例中,电子设备根据车速和空调的档位产生的噪声,来调节风扇的转速。具体的,电子装置根据第一车速和第一档位,在噪声等级表中查询第一车速和/或第一档位对应的第一噪声等级。电子装置根据第一噪声等级,调节风扇的转速至第一转速。例如,假设:噪声等级表中记载“车速在30km/h<V≤50km/h范围内,且未开空调,相应的,噪声等级为1级;车速在30km/h<V≤50km/h范围内,且空调开在2档,相应的,噪声等级为3级”。当第一车速为40km/h,空调开在2档时,电子装置可以在噪声等级表中查找到第一车速和2挡对应的噪声等级为3级。那么,电子装置调节风扇的转速至3级噪声对应的转速。
在此情况下,电子装置根据第一噪声等级调节风扇的转速至第一转速,可以存在以下实现方式:
方式一、电子装置根据噪声等级调节无线充电模块的充电功率,再根据充电功率调节风扇的转速。具体的,电子装置根据第一噪声等级为无线充电模块配置第一充电功率。电子装置根据第一充电功率,及预设的充电功率与风扇转速的对应关系,调节至第一充电功率对应的第三转速。
示例性的,假设:无线充电模块的充电功率为40W。当无线充电模块采用40W的功率进行充电时,需要风扇以最大转速进行散热。当无线充电模块采用32W的功率进行充电时,需要风扇以最大转速*80%的转速进行散热。以此类推。假设,噪声等级与无线充电模块的充电功率的对应关系如下:噪声等级为3级,相应的,无线充电模块的充电功率为80%*40W;噪声等级为5级,相应的,无线充电模块的充电功率为100%*40W。如上,电子装置调节风扇的转速至3级噪声对应的转速。具体的,电子装置调节无线充电模块的充电功率为32W。假设充电功率与风扇的转速为线性关系,如AX=BY,其中,A为无线充电模块的最大充电功率,B为风扇的最大转速,X、Y为占空比。例如,无线充电模块的充电功率为80%*40W,相应的,风扇的转速为80%*最大转速。这样,可以动态调整充电功率、风扇散热及噪声等级,可以实现在最大效率充电时,满足散热,且产生的噪声不会导致用户抱怨。
方式二、电子装置根据背景噪声(如车速和空调产生的噪声)与风扇产生的噪声,确定噪声等级,并调节风扇的转速。具体为,电子装置获取风扇的第四转速。电子装置根据第四转速,在预设的风扇转速表中查找第四转速对应的第二噪声等级。风扇转速表用于表征风扇转速与噪声等级的对应关系。当第二噪声等级大于第一噪声等级时, 电子装置将第四转速调至第一转速。
示例性的,假设,当前风扇的转速为最大转速,相应的,风扇的噪声的等级为5级;车速在30km/h<V≤50km/h范围内,且空调开在2档,相应的,背景噪声等级为3级。在此情况下,电子装置可以确定风扇的噪声的等级大于背景噪声等级。这样,风扇产生的噪声会影响到用户。此时,电子装置将调节风扇的转速。具体的,电子装置将风扇的转速调节至背景噪声等级对应的转速,即电子装置将风扇的转速由最大转速调节至80%*最大转速。这样,背景噪声就掩蔽了风扇产生的噪声,避免了风扇散热时产生的噪声对用户的干扰。
第二种情况,在风扇处于不同转速时产生的噪声被掩蔽时,空调的档位和/或车辆的车速对应的噪声等级。也就是说,噪声等级表是基于风扇的转速、车辆的车速和空调的档位确定的。
具体的,电子装置获取在车辆内空调处于不同档位时人耳处的第一噪声频谱曲线。电子装置获取在车辆处于不同车速时人耳处的第二噪声频谱曲线。电子装置获取在风扇处于不同转速时人耳处的第三噪声频谱曲线。电子装置根据第一噪声频谱曲线、第二噪声频谱曲线、第三噪声频谱曲线和噪声掩蔽原理,确定在风扇处于不同转速时产生的噪声被掩蔽时空调的档位、车辆的车速。电子装置根据在风扇处于不同转速时产生的噪声被掩蔽时空调的档位、车辆的车速,确定噪声等级,并获得噪声等级表。
示例性的,电子装置可以根据第一噪声频谱曲线、第二噪声频谱曲线和第二噪声频谱曲线,确定各转速对应的噪声等级、各车速对应的噪声等级和各档位对应的各噪声的等级。电子装置根据噪声掩蔽原理,可以确定在一转速对应的噪声等级、一车速对应的噪声等级和一档位对应的噪声等级中取最大等级。例如,风扇在最大转速时对应5级噪声,车速在30km/h<V≤50km/h范围内对应1级噪声,空调打开2档时对应3级噪声。这样,在风扇最大转速、车速30km/h<V≤50km/h范围内,且空调打开2档时,噪声等级为5级。例如,风扇在最大转速时对应5级噪声,车速在30km/h<V≤50km/h范围内对应1级噪声,空调打开3档以上时对应5级噪声。这样,在风扇最大转速、车速30km/h<V≤50km/h范围内,且空调打开3档以上时,噪声等级为5级。再例如,风扇在50%*最大转速时对应0级噪声,车速在30km/h<V≤50km/h范围内对应1级噪声,空调打开2档时对应3级噪声。这样,在风扇50%*最大转速、车速30km/h<V≤50km/h范围内,且空调打开2档时,噪声等级为3级。以此类推。电子装置得到在风扇处于不同转速时产生的噪声被掩蔽时空调的档位、车辆的车速对应的噪声等级。例如,如上,车速30km/h<V≤50km/h范围内,且空调打开3档以上时对应5级噪声;在车速30km/h<V≤50km/h范围内,且空调打开2档时,噪声等级为3级。以此类推,得到噪声等级表。
在此情况下,电子装置可以根据第一车速和第一档位,在噪声等级表中查询第一噪声等级。电子装置根据第一噪声等级,调节风扇的转速至第一转速。这样,只要根据噪声等级表中的噪声等级来调节风扇的转速,均能掩盖风扇产生的噪声。因此,预先生成噪声等级表,再利用该噪声等级表来调整风扇的转速,可以有效提高风扇转速的调节效率。
以下对本申请实施例提供的一种风扇转速的调节方法进行详细介绍。
图3A-图3D为本申请实施例提供的一种风扇转速的调节方法的部分流程示意图。如图3A-图3D所示,以该方法的执行主体是电子装置为例进行说明的,该方法可以分以下阶段进行介绍,具体如下:
第一阶段,构建噪声等级表。如图3A所示:
S301、电子装置获取在车辆内空调处于不同档位时人耳处的第一噪声频谱曲线。
具体的,电子装置根据第一噪声频谱曲线,确定空调的各档位对应的噪声等级。
S302、电子装置获取在车辆处于不同车速时人耳处的第二噪声频谱曲线。
具体的,电子装置根据第二噪声频谱曲线,确定车辆的各车速对应的噪声等级。优选的,为了简化设计、提升使用体验,电子装置可以将车辆的车速按照第一梯度进行分档。其中,第一梯度可以理解为指定数值。例如,10km/h、5km/h、20km/h。
例如,以20km/h为例,电子装置可以将车辆的车速按照20km/h的梯度进行分档。得到车速档位可以如下:30km/h<V≤50km/h、50km/h<V≤70km/h、70km/h<V≤90km/h。
S303、电子装置获取在风扇处于不同转速时人耳处的第三噪声频谱曲线。
具体的,电子装置根据第二噪声频谱曲线,确定风扇的各转速对应的噪声等级。
优选的,为了简化设计、提升使用体验,电子装置可以将风扇的转速按照第二梯度进行分档。其中,第二梯度可以理解为指定占空比。例如,10%、5%、20%。
例如,以10%为例,电子装置可以将风扇的转速按照10%的梯度进行分档。得到转速档位可以如下:0、10%、20%、30%、40%、50%、60%、70%、80%、90%、100%共计11个档位。
在实际应用中,综合考虑无线充电模块工作时,及电子设备(如手机)散热的情况,较低档位的风扇转速不被采用,例如,50%(不包括50%)以下的档位。
S304、电子装置根据第一噪声频谱曲线、第二噪声频谱曲线、第三噪声频谱曲线和噪声掩蔽原理,确定在风扇处于不同转速时产生的噪声被掩蔽时空调的档位、车辆的车速。
具体的,电子装置根据第一噪声频谱曲线、第二噪声频谱曲线、第三噪声频谱曲线,确定空调的各档位对应的噪声等级、车辆的各车速对应的噪声等级和风扇的各转速对应的噪声等级。之后,具体分如下情形进行说明:
情形一、电子装置根据噪声掩蔽原理,空调的档位和/或车辆的车速对应的噪声等级。示例的:
车辆的车速及其对应的噪声等级如下:V≤30km/h,相应的,噪声的等级为0;30km/h<V≤50km/h,相应的,噪声的等级为1;50km/h<V≤70km/h,相应的,噪声的等级为2;70km/h<V≤90km/h,相应的,噪声的等级为3;90<V≤100km/h,相应的,噪声的等级为4;>100km/h,相应的,噪声的等级为5。
空调的档位及其对应的噪声等级如下:空调0档,相应的,噪声的等级为0;空调1档,相应的,噪声的等级为1;空调2档,相应的,噪声的等级为2;空调3档以上,相应的,噪声的等级为5。
根据噪声掩蔽原理,选取空调的档位和车辆的车速对应的最大噪声等级。例如,车速在30km/h<V≤50km/h范围内,且未开空调,确定噪声等级为1;车速在30km/h <V≤50km/h范围内,且空调2档,确定噪声等级为3。以此类推。
情形二、电子装置根据噪声掩蔽原理,确定在风扇处于不同转速时产生的噪声被掩蔽时空调的档位、车辆的车速。
同情形一中所述的车辆的车速及其对应的噪声等级、空调的档位及其对应的噪声等级。再结合风扇的各转速对应的噪声等级。示例性的:
风扇的各转速对应的噪声等级如下:风扇转速占空比为50%,相应的,噪声的等级为0;风扇转速占空比为60%,相应的,噪声的等级为1;风扇转速占空比为70%,相应的,噪声的等级为2;风扇转速占空比为80%,相应的,噪声的等级为3;风扇转速占空比为90%,相应的,噪声的等级为4;风扇转速占空比为100%,相应的,噪声的等级为5。
根据噪声掩蔽原理,在风扇处于不同转速时产生的噪声被掩蔽时空调的档位、车辆的车速,例如:
例1、风扇转速占空比为100%对应5级噪声,车速在30km/h<V≤50km/h范围内对应1级噪声,空调打开2档时对应3级噪声。这样,在风扇转速占空比为100%、车速30km/h<V≤50km/h范围内,且空调打开2档时,噪声等级为5级。
例2、风扇占空比为100%对应5级噪声,车速在30km/h<V≤50km/h范围内对应1级噪声,空调打开3档以上时对应5级噪声。这样,在风扇占空比为100%、车速30km/h<V≤50km/h范围内,且空调打开3档以上时,噪声等级为5级。
例3、风扇占空比为70%对应2级噪声,车速在30km/h<V≤50km/h范围内对应1级噪声,空调打开2档时对应3级噪声。这样,在风扇占空比为70%、车速30km/h<V≤50km/h范围内,且空调打开2档时,噪声等级为3级。
可见,例2和例3中,风扇产生的噪声被掩蔽了,噪声等级由空调的档位和车辆的车速对应的最大噪声等级确定的。在此情况下,电子装置可以确定在风扇处于不同转速时产生的噪声被掩蔽时空调的档位、车辆的车速。之后,电子装置可以执行如下S305,具体的:
S305、电子装置根据在风扇处于不同转速时产生的噪声被掩蔽时空调的档位、车辆的车速,确定噪声等级,并获得噪声等级表(如上述噪声等级对应关系信息)。
在一种具体可实现方式中,预设条件可以包括通知,如图3B所示,S305包括:S3051、S3052、S3053和S3054。S3051、S3052、S3053和S3054具体可实现为:S3051、电子装置在在风扇处于不同转速时产生的噪声被掩蔽时,空调处于第二档位,车辆处于第二车速。S3052、电子装置确定第二档位对应第三噪声等级、第二车速对应第四噪声等级。S3053、当第三噪声等级大于等于第四噪声等级时,电子装置确定第二档位和第二车速对应第三噪声等级。S3054、当第三噪声等级小于第四噪声等级时,电子装置确定第二档位和第二车速对应第四噪声等级。
沿用上述示例性,在例2和例3中,风扇产生的噪声被掩蔽了,噪声等级由空调的档位和车辆的车速对应的最大噪声等级确定的。电装置可以得到表1所示的噪声等级表。如表1所示:
表1
车速\空调挡位 空调0档 空调1档 空调2档 空调3档及以上
V≤30km/h 0 2 3 5
30<V≤50km/h 1 2 3 5
50<V≤70km/h 2 2 3 5
70<V≤90km/h 3 3 3 5
90<V≤100km/h 4 4 4 5
>100km/h 5 5 5 5
当然,该噪声等级表也可以根据其他情况进行调整,例如,车辆内增加了其他能够产生噪声的设备,噪声等级表可以结合其他设备产生的噪声进行调整。本申请实施例不做具体限定。
综上,可以得到在风扇处于不同转速时产生的噪声被背景噪声(或称车速和空调档位产生的噪声)掩蔽,该背景噪声等级如表2所示:
表2
背景噪声等级 0 1 2 3 4 5
风扇转速占空比 50% 60% 70% 80% 90% 100%
第二阶段,使用噪声等级表。如图3C所示:
S306、当检测到车辆内的无线充电模块对电子设备进行无线充电时,电子装置获取车辆的第一车速、车辆内空调的第一档位。
示例性的,在无线充电模块对电子设备进行无线充电时,车辆上的距离传感器可以采集车辆的行驶距离,并将车辆的行驶距离发送电子装置,该电子装置接收到车辆的行驶距离,并根据行驶距离确定车辆的车速。
示例性的,在无线充电模块对电子设备进行无线充电时,车辆内的温度传感器可以检测车辆内的温度,并将车辆的行驶距离发送给电子装置,该电子装置接收到车辆的温度,并根据温度确定空调的档位。
S307、电子装置根据第一车速,第一档位,及预设的噪声等级表,确定第一噪声等级。
该噪声等级表用于表征车速、档位和噪声等级的对应关系。示例性的,该噪声等级表可以如上述表1所示。
S308、电子装置根据第一噪声等级,调节风扇的转速至第一转速,第一转速小于等于第一噪声等级对应的第二转速。
该风扇用于为电子设备散热。或者说,该风扇用于为采用无线充电模块进行充电的电子设备散热。
在电子装置确定第一噪声等级之后,电子装置可以根据第一噪声等级调节风扇的转速。例如,电子装置可以根据上述表2的对应关系,调节风扇的转速。
在一种具体可实现方式中,基于第一阶段中的情形二,如图3D所示,S308包括: S3081和S3082。S3081和S3082具体可实现为:
S3081、电子装置根据第一噪声等级,为无线充电模块配置第一充电功率。
电子装置存储有噪声等级与充电功率的对应关系。由于充电功率越大,需要风扇的转速越大。因此,噪声等级与充电功率的对应关系,可以等同于,噪声等级与风扇转速的对应关系。如上所述,充电功率与风扇的转速为线性关系。可以理解为,充电功率与风扇的转速同步调节。
例如,当电子装置确定第一噪声等级为3级,电子装置可以将无线充电模块的充电功率调整至噪声3级对应的功率。假设:无线充电模块的最大充电功率为40W。当第一噪声等级为3级,电子装置可以将充电功率调整至80%*40W。
S3082、电子装置根据第一充电功率,及预设的充电功率与风扇转速对应关系信息,调节至第一充电功率对应的第三转速,第三转速为第一转速。
其中,预设的充电功率与风扇转速对应关系信息用于表征充电功率与风扇转速的对应关系。
如上所述,充电功率与风扇的转速为线性关系。沿用上述示例,假设:无线充电模块的充电功率为40W。当无线充电模块采用32W的功率进行充电时,需要风扇以最大转速*80%的转速进行散热。
在另一种具体可实现方式中,基于第一阶段中的情形一,如图3D所示,S308包括:S3083、S3084和S3085。S3083、S3084和S3085具体可实现为:
S3083、电子装置获取风扇的第四转速。
具体的,风扇可以将转速发送给电子装置,电子装置接收风扇发送的转速。或者,电子装置的传感器可以采集风扇的转速信息。
S3084、电子装置根据第四转速,在预设的风扇转速表中查找第四转速对应的第二噪声等级。
其中,风扇转速表用于表征风扇转速与噪声等级的对应关系。示例性的,该风扇转速表可以如上述表1。
S3085、当第二噪声等级大于第一噪声等级时,电子装置将第四转速调至第一转速。
也就是说,根据噪声掩蔽原理,当风扇产生的噪声大于背景噪声(如车速和空调档位产生的噪声)时,电子装置将风扇的转速调低,以使风扇的转速产生的噪声小于等于背景噪声。
示例性的,当前风扇的转速为最大转速,相应的,风扇的噪声的等级为5级;车速在30km/h<V≤50km/h范围内,且空调开在2档,相应的,背景噪声等级为3级。在此情况下,电子装置可以调整风扇的转速,使风扇的噪声的等级小于等于背景噪声等级。这样,风扇产生的噪声不会影响到用户。
在本申请的各个实施例中,如果没有特殊说明以及逻辑冲突,不同的实施例之间的术语和/或描述具有一致性、且可以相互引用,不同的实施例中的技术特征根据其内在的逻辑关系可以组合形成新的实施例。
本申请实施例还提供用于实现以上任一种方法的装置,例如,提供一种装置包括用以实现以上任一种方法中电子装置所执行的各步骤的单元(或手段)。再如,还提供另一种装置,包括用以实现以上任一种方法中车辆所执行的各步骤的单元(或手段)。
例如,请参考图4,其为本申请实施例提供的一种电子装置的示意图,该装置400可以包括:
第一获取单元401,用于当检测到车辆内的无线充电模块对电子设备进行无线充电时,获取车辆的第一车速、车辆内空调的第一档位;示例性的,第一获取单元401可以执行上述S306的步骤。
第一确定单元402,用于根据第一车速,第一档位,及预设的噪声等级对应关系信息,确定第一噪声等级;噪声等级对应关系信息用于表征车速、档位和噪声等级的对应关系;示例性的,第一确定单元402可以执行上述S307的步骤。
调节单元403,用于根据第一噪声等级,调节风扇的转速至第一转速,第一转速小于等于第一噪声等级对应的第二转速,风扇用于为电子设备散热。示例性的,调节单元403可以执行上述S308的步骤。
在一种具体可实现方式中,调节单元403还用于:根据第一噪声等级,为无线充电模块配置第一充电功率;根据第一充电功率,及预设的充电功率与风扇转速对应关系信息,调节风扇的转速至第一充电功率对应的第三转速,第三转速为第一转速;预设的充电功率与风扇转速对应关系信息用于表征充电功率与所述风扇转速的对应关系。示例性的,调节单元403执行上述S3081和S3082的步骤。
在一些具体可实现方式中,该装置400还包括:
第二获取单元404,用于获取在车辆内空调处于不同档位时人耳处的第一噪声频谱曲线;示例性的,第二获取单元404执行上述S301的步骤。
第三获取单元405,用于获取在车辆处于不同车速时人耳处的第二噪声频谱曲线;示例性的,第三获取单元405执行上述S302的步骤。
第四获取单元406,用于获取在风扇处于不同转速时人耳处的第三噪声频谱曲线;示例性的,第四获取单元406执行上述S303的步骤。
第二确定单元407,用于根据第一噪声频谱曲线、第二噪声频谱曲线、第三噪声频谱曲线和噪声掩蔽原理,确定在风扇处于不同转速时产生的噪声被掩蔽时空调的档位、车辆的车速;示例性的,第二确定单元407执行上述S304的步骤。
第三确定单元408,用于根据在风扇处于不同转速时产生的噪声被掩蔽时空调的档位、车辆的车速,确定噪声等级,并获得噪声等级对应关系信息。示例性的,第三确定单元408执行上述S305的步骤。
在一种具体可实现方式中,第三确定单元408还用于:在在风扇处于不同转速时产生的噪声被掩蔽时,空调处于第二档位,车辆处于第二车速;确定第二档位对应第三噪声等级、第二车速对应第四噪声等级;当第三噪声等级大于等于第四噪声等级时,第二档位和第二车速对应第三噪声等级;当第三噪声等级小于第四噪声等级时,第二档位和第二车速对应第四噪声等级。示例性的,第三确定单元408还执行上述S3051、S3052、S3053和S3054的步骤。
在一种具体可实现方式中,调节单元403还用于:获取风扇的第四转速;根据第四转速,在预设的风扇转速表中查找第四转速对应的第二噪声等级;风扇转速表用于表征风扇转速与噪声等级的对应关系;
当第二噪声等级大于第一噪声等级时,将第四转速调至第一转速。示例性的,调 节单元403还执行上述S3083、S3084和S3085的步骤。
在一些具体可实现方式中,该装置400还包括:
分档单元409,用于将车辆的车速按照第一梯度进行分档;将风扇的转速按照第二梯度进行分档。
应理解以上装置中各单元的划分仅是一种逻辑功能的划分,实际实现时可以全部或部分集成到一个物理实体上,也可以物理上分开。此外,装置中的单元可以以处理器调用软件的形式实现;例如装置包括处理器,处理器与存储器连接,存储器中存储有指令,处理器调用存储器中存储的指令,以实现以上任一种方法或实现该装置各单元的功能,其中处理器例如为通用处理器,例如中央处理单元(Central Processing Unit,CPU)或微处理器,存储器为装置内的存储器或装置外的存储器。或者,装置中的单元可以以硬件电路的形式实现,可以通过对硬件电路的设计实现部分或全部单元的功能,该硬件电路可以理解为一个或多个处理器;例如,在一种实现中,该硬件电路为专用集成电路(application-specific integrated circuit,ASIC),通过对电路内元件逻辑关系的设计,实现以上部分或全部单元的功能;再如,在另一种实现中,该硬件电路为可以通过可编程逻辑器件(programmable logic device,PLD)实现,以现场可编程门阵列(Field Programmable Gate Array,FPGA)为例,其可以包括大量逻辑门电路,通过配置文件来配置逻辑门电路之间的连接关系,从而实现以上部分或全部单元的功能。以上装置的所有单元可以全部通过处理器调用软件的形式实现,或全部通过硬件电路的形式实现,或部分通过处理器调用软件的形式实现,剩余部分通过硬件电路的形式实现。
在本申请实施例中,处理器是一种具有信号的处理能力的电路,在一种实现中,处理器可以是具有指令读取与运行能力的电路,例如中央处理单元CPU、微处理器、图形处理器GPU(可以理解为一种微处理器)、或数字信号处理器DSP等;在另一种实现中,处理器可以通过硬件电路的逻辑关系实现一定功能,该硬件电路的逻辑关系是固定的或可以重构的,例如处理器为专用集成电路ASIC或可编程逻辑器件PLD实现的硬件电路,例如FPGA。在可重构的硬件电路中,处理器加载配置文档,实现硬件电路配置的过程,可以理解为处理器加载指令,以实现以上部分或全部单元的功能的过程。此外,还可以是针对人工智能设计的硬件电路,其可以理解为一种ASIC,例如神经网络处理单元NPU张量处理单元(Tensor Processing Unit,TPU)、深度学习处理单元(Deep learning Processing Unit,DPU)等。
可见,以上装置中的各单元可以是被配置成实施以上方法的一个或多个处理器(或处理电路),例如:CPU、GPU、NPU、TPU、DPU、微处理器、DSP、ASIC、FPGA,或这些处理器形式中至少两种的组合。
此外,以上装置中的各单元可以全部或部分可以集成在一起,或者可以独立实现。在一种实现中,这些单元集成在一起,以片上系统(system-on-a-chip,SOC)的形式实现。该SOC中可以包括至少一个处理器,用于实现以上任一种方法或实现该装置各单元的功能,该至少一个处理器的种类可以不同,例如包括CPU和FPGA,CPU和人工智能处理器,CPU和GPU等。
可选的,该可能的设计中,上述图1~图3D所示方法实施例中涉及电子装置的各 步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。该可能的设计中所述的电子装置用于执行图1~图3D所示风扇转速的调节方法中电子装置的功能,因此可以达到与上述风扇转速的调节方法相同的效果。
本申请实施例提供的一种车辆,包括:处理器和存储器,存储器与处理器耦合,存储器用于存储计算机程序代码,计算机程序代码包括计算机指令,当处理器从存储器中读取计算机指令,以使得电子装置执行图3A~3D所示风扇转速的调节方法。
本申请实施例提供的一种车辆,包括图4所示的电子装置。
本申请实施例提供的一种计算机程序产品,当计算机程序产品在计算机上运行时,使得计算机执行图1~图3D所示风扇转速的调节方法。
本申请实施例提供的一种计算机可读存储介质,包括计算机指令,当计算机指令在终端上运行时,使得网络设备执行图1~图3D所示风扇转速的调节方法。
本申请实施例提供的一种芯片系统,包括一个或多个处理器,当一个或多个处理器执行指令时,一个或多个处理器执行图1~图3D所示风扇转速的调节方法。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。
在本申请实施例的描述中,除非另有说明,“/”表示或的意思,例如,A/B可以表示A或B;本文中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。
以下,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。在本申请实施例的描述中,除非另有说明,“多个”的含义是两个或两个以上。
在本申请实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。
可以理解的是,上述通信设备等为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请实施例能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请实施例的范围。
本申请实施例可以根据上述方法示例对上述通信设备等进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本申请实施例中对模块的划分是示意性的,仅仅为一 种逻辑功能划分,实际实现时可以有另外的划分方式。
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。

Claims (15)

  1. 一种风扇转速的调节方法,其特征在于,所述方法包括:
    当检测到车辆内的无线充电模块对电子设备进行无线充电时,获取所述车辆的第一车速、所述车辆内空调的第一档位;
    根据所述第一车速,所述第一档位,及预设的噪声等级对应关系信息,确定第一噪声等级;所述噪声等级对应关系信息用于表征车速、档位和噪声等级的对应关系;
    根据所述第一噪声等级,调节风扇的转速至第一转速,所述第一转速小于等于所述第一噪声等级对应的第二转速,所述风扇用于为所述电子设备散热。
  2. 根据权利要求1所述的方法,其特征在于,所述根据所述第一噪声等级,调节风扇的转速至第一转速,包括:
    根据所述第一噪声等级,为所述无线充电模块配置第一充电功率;
    根据所述第一充电功率,及预设的充电功率与风扇转速对应关系信息,调节所述风扇的转速至所述第一充电功率对应的第三转速,所述第三转速为所述第一转速;
    所述预设的充电功率与风扇转速对应关系信息用于表征所述充电功率与所述风扇转速的对应关系。
  3. 根据权利要求1或2所述的方法,其特征在于,在根据所述第一车速,所述第一档位,及预设的噪声等级对应关系信息,确定第一噪声等级之前,还包括:
    获取在所述车辆内空调处于不同档位时人耳处的第一噪声频谱曲线;
    获取在所述车辆处于不同车速时人耳处的第二噪声频谱曲线;
    获取在所述风扇处于不同转速时人耳处的第三噪声频谱曲线;
    根据所述第一噪声频谱曲线、所述第二噪声频谱曲线、所述第三噪声频谱曲线,确定在风扇处于不同转速时产生的噪声被掩蔽时所述空调的档位、所述车辆的车速;
    根据所述在风扇处于不同转速时产生的噪声被掩蔽时所述空调的档位、所述车辆的车速,确定噪声等级,并获得所述噪声等级对应关系信息。
  4. 根据权利要求3所述的方法,其特征在于,所述根据所述在风扇处于不同转速时产生的噪声被掩蔽时所述空调的档位、所述车辆的车速,确定噪声等级,包括:
    在所述在风扇处于不同转速时产生的噪声被掩蔽时,所述空调处于第二档位,所述车辆处于第二车速;
    确定所述第二档位对应第三噪声等级、所述第二车速对应第四噪声等级;
    当所述第三噪声等级大于等于所述第四噪声等级时,所述第二档位和所述第二车速对应所述第三噪声等级;
    当所述第三噪声等级小于所述第四噪声等级时,所述第二档位和所述第二车速对应所述第四噪声等级。
  5. 根据权利要求1所述的方法,其特征在于,所述根据所述第一噪声等级,调节风扇的转速至第一转速,包括:
    获取风扇的第四转速;
    根据所述第四转速,在预设的风扇转速表中查找所述第四转速对应的第二噪声等级;所述风扇转速表用于表征风扇转速与噪声等级的对应关系;
    当所述第二噪声等级大于所述第一噪声等级时,将所述第四转速调至所述第一转 速。
  6. 根据权利要求1-5中任一项所述的方法,其特征在于,还包括:
    将所述车辆的车速按照第一梯度进行分档;
    将所述风扇的转速按照第二梯度进行分档。
  7. 一种电子装置,其特征在于,所述电子装置包括:
    第一获取单元,用于当检测到车辆内的无线充电模块对电子设备进行无线充电时,获取所述车辆的第一车速、所述车辆内空调的第一档位;
    第一确定单元,用于根据所述第一车速,所述第一档位,及预设的噪声等级对应关系信息,确定第一噪声等级;所述噪声等级对应关系信息用于表征车速、档位和噪声等级的对应关系;
    调节单元,用于根据所述第一噪声等级,调节风扇的转速至第一转速,所述第一转速小于等于所述第一噪声等级对应的第二转速,所述风扇用于为所述电子设备散热。
  8. 根据权利要求7所述的电子装置,其特征在于,所述调节单元还用于:
    根据所述第一噪声等级,为所述无线充电模块配置第一充电功率;
    根据所述第一充电功率,及预设的充电功率与风扇转速对应关系信息,调节所述风扇的转速至所述第一充电功率对应的第三转速,所述第三转速为所述第一转速;
    所述预设的充电功率与风扇转速对应关系信息用于表征所述充电功率与所述风扇转速的对应关系。
  9. 根据权利要求7或8所述的电子装置,其特征在于,还包括:
    第二获取单元,用于获取在所述车辆内空调处于不同档位时人耳处的第一噪声频谱曲线;
    第三获取单元,用于获取在所述车辆处于不同车速时人耳处的第二噪声频谱曲线;
    第四获取单元,用于获取在所述风扇处于不同转速时人耳处的第三噪声频谱曲线;
    第二确定单元,用于根据所述第一噪声频谱曲线、所述第二噪声频谱曲线、所述第三噪声频谱曲线和噪声掩蔽原理,确定在风扇处于不同转速时产生的噪声被掩蔽时所述空调的档位、所述车辆的车速;
    第三确定单元,用于根据所述在风扇处于不同转速时产生的噪声被掩蔽时所述空调的档位、所述车辆的车速,确定噪声等级,并获得所述噪声等级对应关系信息。
  10. 根据权利要求9所述的电子装置,其特征在于,所述第三确定单元还用于:
    在所述在风扇处于不同转速时产生的噪声被掩蔽时,所述空调处于第二档位,所述车辆处于第二车速;
    确定所述第二档位对应第三噪声等级、所述第二车速对应第四噪声等级;
    当所述第三噪声等级大于等于所述第四噪声等级时,所述第二档位和所述第二车速对应所述第三噪声等级;
    当所述第三噪声等级小于所述第四噪声等级时,所述第二档位和所述第二车速对应所述第四噪声等级。
  11. 根据权利要求7所述的电子装置,其特征在于,所述调节单元还用于:
    获取风扇的第四转速;
    根据所述第四转速,在预设的风扇转速表中查找所述第四转速对应的第二噪声等 级;所述风扇转速表用于表征风扇转速与噪声等级的对应关系;
    当所述第二噪声等级大于所述第一噪声等级时,将所述第四转速调至所述第一转速。
  12. 根据权利要求7-11中任一项所述的电子装置,其特征在于,还包括:
    分档单元,用于将所述车辆的车速按照第一梯度进行分档;将所述风扇的转速按照第二梯度进行分档。
  13. 一种车辆,其特征在于,包括:处理器和存储器,所述存储器与所述处理器耦合,所述存储器用于存储计算机程序代码,所述计算机程序代码包括计算机指令,当所述处理器从所述存储器中读取所述计算机指令,以使得所述车辆执行如权利要求1-6中任一项所述的方法。
  14. 一种计算机程序产品,所述计算机程序产品包括计算机指令,当所述计算机指令在计算机上运行时,使得计算机执行如权利要求1-6中任一项所述的方法。
  15. 一种计算机可读存储介质,其特征在于,包括计算机指令,所述计算机可读存储介质包括计算机指令,当所述计算机指令在计算机上运行时,使得所述计算机执行如权利要求1-6中任一项所述的方法。
PCT/CN2022/090816 2022-04-29 2022-04-29 一种风扇转速的调节方法和电子装置 WO2023206581A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2022/090816 WO2023206581A1 (zh) 2022-04-29 2022-04-29 一种风扇转速的调节方法和电子装置

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2022/090816 WO2023206581A1 (zh) 2022-04-29 2022-04-29 一种风扇转速的调节方法和电子装置

Publications (1)

Publication Number Publication Date
WO2023206581A1 true WO2023206581A1 (zh) 2023-11-02

Family

ID=88517016

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/090816 WO2023206581A1 (zh) 2022-04-29 2022-04-29 一种风扇转速的调节方法和电子装置

Country Status (1)

Country Link
WO (1) WO2023206581A1 (zh)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003326961A (ja) * 2002-05-15 2003-11-19 Alpine Electronics Inc 車載電子機器の冷却ファン制御装置
CN1652952A (zh) * 2002-05-14 2005-08-10 丰田自动车株式会社 车载电池冷却用风扇的控制方法和装置
CN108282018A (zh) * 2017-01-04 2018-07-13 Lg电子株式会社 设置于车辆的移动终端用无线充电装置以及车辆
CN111769618A (zh) * 2020-07-16 2020-10-13 珠海市魅族科技有限公司 无线充电的方法、无线充电器及存储介质
CN112135741A (zh) * 2018-05-18 2020-12-25 奥迪股份公司 用于运行通风装置的方法、通风装置、具有通风装置的充电设备以及机动车
CN114204629A (zh) * 2021-11-29 2022-03-18 蔚来汽车科技(安徽)有限公司 用于车载无线充电器的控制方法、车载无线充电器和车辆

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1652952A (zh) * 2002-05-14 2005-08-10 丰田自动车株式会社 车载电池冷却用风扇的控制方法和装置
JP2003326961A (ja) * 2002-05-15 2003-11-19 Alpine Electronics Inc 車載電子機器の冷却ファン制御装置
CN108282018A (zh) * 2017-01-04 2018-07-13 Lg电子株式会社 设置于车辆的移动终端用无线充电装置以及车辆
CN112135741A (zh) * 2018-05-18 2020-12-25 奥迪股份公司 用于运行通风装置的方法、通风装置、具有通风装置的充电设备以及机动车
CN111769618A (zh) * 2020-07-16 2020-10-13 珠海市魅族科技有限公司 无线充电的方法、无线充电器及存储介质
CN114204629A (zh) * 2021-11-29 2022-03-18 蔚来汽车科技(安徽)有限公司 用于车载无线充电器的控制方法、车载无线充电器和车辆

Similar Documents

Publication Publication Date Title
US10136110B2 (en) Low-light image quality enhancement method for image processing device and method of operating image processing system performing the method
WO2021160001A1 (zh) 图像获取方法和装置
WO2023016025A1 (zh) 一种拍照方法及设备
US20240119566A1 (en) Image processing method and apparatus, and electronic device
TW202123692A (zh) 眼部定位裝置、方法及3d顯示裝置、方法
US20230091160A1 (en) Identity Verification Method and Apparatus, and Electronic Device
WO2021208723A1 (zh) 全屏显示方法、装置和电子设备
CN116052568B (zh) 一种显示屏校准方法及相关设备
WO2021073183A1 (zh) 始终显示方法及移动设备
WO2023226612A1 (zh) 一种曝光参数确定方法和装置
WO2023273844A1 (zh) 一种显示方法及电子设备
WO2023206581A1 (zh) 一种风扇转速的调节方法和电子装置
CN115631250B (zh) 图像处理方法与电子设备
CN115691370A (zh) 显示控制方法及相关装置
WO2021077344A1 (zh) 天线切换方法及装置
WO2024045871A1 (zh) 显示方法和装置
WO2023178617A1 (zh) 一种车胎的检测方法和电子装置
CN116229884B (zh) 屏幕显示方法及相关电子设备
WO2023160178A1 (zh) 一种曝光控制方法及电子设备
WO2023206590A1 (zh) 一种交互方法和电子装置
CN114640743B (zh) 一种界面动效的显示方法、电子设备及存储介质
CN116095220B (zh) 参数确定方法及相关装置
EP4113276A1 (en) Sound playback method and device
CN116737097B (zh) 一种投屏图像处理方法及电子设备
CN116110351B (zh) 背光控制方法、装置、芯片、电子设备及介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22939424

Country of ref document: EP

Kind code of ref document: A1