Electronic device, operating method thereof, and storage medium
A PID control mechanism addresses the challenge of temperature management in electronic devices by calculating a control value based on error rates and terms, stabilizing temperatures and enhancing performance.
Patent Information
- Application Number
- PCT/KR2025/009255
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-07-29
- Filing Date
- 2025-06-30
- Publication Date
- 2026-01-08
AI Technical Summary
The rapid increase in power consumption and temperature of electronic devices, particularly application processors in mobile devices, leads to significant temperature rises that can exceed target values if not precisely controlled, potentially affecting hardware performance and operation.
Implementing a PID control mechanism that calculates a first PID control value based on error values and change rates, using proportional, integral, and differential terms to adjust the operation of the device and manage heat generation effectively.
The PID control mechanism effectively manages heat generation, preventing overshoot and stabilizing temperatures, thereby improving hardware performance and operation by adjusting clock limits and power consumption.
Smart Images

Figure KR2025009255_08012026_PF_FP_ABST
Abstract
Description
Electronic devices and their operating methods and storage media
[0001] The present disclosure relates to an electronic device for performing a heat control operation, an operating method thereof, and a storage medium.
[0002] When the surface temperature of an electronic device reaches a level that may negatively affect the operation of the hardware, the heat generation of the electronic device is controlled by a fixed control method for the purpose of protecting the chipset, or by a control method determined in advance based on the surface temperature of the electronic device.
[0003] Meanwhile, as the performance of application processors (APs) used in electronic devices such as mobile devices increases, their power consumption also increases significantly. This can lead to rapid temperature rises on the device's surface under high loads. If hardware is not precisely controlled according to the context of the electronic device, temperatures can rise significantly above the target value.
[0004] The above information may be provided as background information to aid in understanding this document. None of the above is claimed to be prior art related to this document or can be used to determine prior art.
[0005] An electronic device according to one embodiment of the present disclosure may include at least one processor including a processing circuit and a memory storing instructions and including one or more storage media. The instructions according to one embodiment, when individually or collectively executed by the at least one processor, may cause the electronic device to obtain a first error value and a first error change rate, respectively, based on determining a target temperature of the electronic device and a first temperature of the electronic device.
[0006] The instructions according to one embodiment may cause the electronic device to determine whether any one of a plurality of conditions for calculating a parameter associated with a first proportional-integral-differential (PID) control value for controlling an operation of the electronic device is satisfied based on a magnitude of the first error value and the first error change rate.
[0007] The instructions according to one embodiment may cause the first PID control value to be calculated using a first parameter corresponding to the first condition, based on satisfying a first condition among the plurality of conditions.
[0008] The instructions according to one embodiment may cause the operation of the electronic device to be controlled based on the first PID control value.
[0009] A method of operating an electronic device according to one embodiment may include an operation of obtaining a first error value and a first error change rate, respectively, based on checking a target temperature of the electronic device and a first temperature of the electronic device.
[0010] A method of operating an electronic device according to one embodiment may include an operation of checking whether any one of a plurality of conditions for calculating a parameter related to a first PID (proportional-integral-differential) control value for controlling an operation of the electronic device is satisfied based on a magnitude of the first error value and the first error change rate.
[0011] An operating method of an electronic device according to one embodiment may include an operation of calculating the first PID control value using a first parameter corresponding to the first condition based on satisfying a first condition among the plurality of conditions.
[0012] A method of operating an electronic device according to one embodiment may include an operation of controlling an operation of the electronic device based on the first PID control value.
[0013] A storage medium storing computer-readable instructions according to one embodiment, wherein the instructions, when executed by at least one processor of an electronic device, cause the electronic device to obtain a first error value and a first error change rate, respectively, based on ascertaining a target temperature of the electronic device and a first temperature of the electronic device.
[0014] The instructions according to one embodiment may cause the electronic device to determine whether any one of a plurality of conditions for calculating a parameter associated with a first proportional-integral-differential (PID) control value for controlling an operation of the electronic device is satisfied based on a magnitude of the first error value and the first error change rate.
[0015] The instructions according to one embodiment may cause the electronic device to calculate the first PID control value using a first parameter corresponding to the first condition based on satisfying a first condition among the plurality of conditions.
[0016] The instructions according to one embodiment may cause the electronic device to control an operation of the electronic device based on the first PID control value.
[0017] In connection with the description of the drawings, the same or similar reference numerals may be used for the same or similar components.
[0018] FIG. 1 is a block diagram of an electronic device within a network environment, according to one embodiment.
[0019] FIG. 2 is a block diagram of configurations of an electronic device according to one embodiment.
[0020] FIG. 3 is a flowchart illustrating an operating method of an electronic device according to one embodiment.
[0021] FIG. 4 is a flowchart illustrating a method for checking an error value and an error change rate based on a control level according to one embodiment.
[0022] FIG. 5 is a flowchart illustrating a method for calculating a PID control value according to one embodiment.
[0023] Figure 6 is a flowchart illustrating a method for calculating a PID control value according to one embodiment.
[0024] Fig. 7 is a flowchart illustrating a method for calculating a PID control value according to one embodiment.
[0025] Fig. 8 is a flowchart illustrating a method for calculating a PID control value according to one embodiment.
[0026] FIG. 9 is a flowchart for explaining an operation method of an electronic device according to a change in a PID control level according to one embodiment.
[0027] FIG. 10 is a flowchart illustrating a method for updating a PID control value according to one embodiment.
[0028] FIG. 11 is a block diagram of an electronic device including a plurality of modules according to one embodiment.
[0029] FIG. 12 is a block diagram of an electronic device including a plurality of modules according to one embodiment.
[0030] FIG. 13 is a drawing for explaining the effect of an electronic device according to one embodiment.
[0031] Hereinafter, embodiments of the present disclosure will be described in detail with reference to the drawings so that those skilled in the art can easily implement the present disclosure. However, the present disclosure may be implemented in various different forms and is not limited to the embodiments described herein. In connection with the description of the drawings, the same or similar reference numerals may be used for identical or similar components. Furthermore, in the drawings and related descriptions, descriptions of well-known functions and configurations may be omitted for clarity and conciseness.
[0032] FIG. 1 is a block diagram of an electronic device (101) within a network environment (100), according to one embodiment. Referring to FIG. 1 , in the network environment (100), the electronic device (101) may communicate with the electronic device (102) via a first network (198) (e.g., a short-range wireless communication network), or may communicate with at least one of the electronic device (104) or the server (108) via a second network (199) (e.g., a long-range wireless communication network). In one embodiment, the electronic device (101) may communicate with the electronic device (104) via the server (108). According to one embodiment, the electronic device (101) may include a processor (120), a memory (130), an input module (150), an audio output module (155), a display module (160), an audio module (170), a sensor module (176), an interface (177), a connection terminal (178), a haptic module (179), a camera module (180), a power management module (188), a battery (189), a communication module (190), a subscriber identification module (196), or an antenna module (197). In some embodiments, the electronic device (101) may omit at least one of these components (e.g., the connection terminal (178)), or may have one or more other components added. In some embodiments, some of these components (e.g., the sensor module (176), the camera module (180), or the antenna module (197)) may be integrated into one component (e.g., the display module (160)).
[0033] The processor (120) may, for example, execute software (e.g., a program (140)) to control at least one other component (e.g., a hardware or software component) of the electronic device (101) connected to the processor (120) and perform various data processing or operations. According to one embodiment, as at least a part of the data processing or operations, the processor (120) may store commands or data received from other components (e.g., a sensor module (176) or a communication module (190)) in a volatile memory (132), process the commands or data stored in the volatile memory (132), and store result data in a non-volatile memory (134). According to one embodiment, the processor (120) may include a main processor (121) (e.g., a central processing unit or an application processor) or an auxiliary processor (123) (e.g., a graphics processing unit, a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor) that can operate independently or together with the main processor (121). For example, when the electronic device (101) includes the main processor (121) and the auxiliary processor (123), the auxiliary processor (123) may be configured to use less power than the main processor (121) or to be specialized for a given function. The auxiliary processor (123) may be implemented separately from the main processor (121) or as a part thereof.
[0034] The auxiliary processor (123) may control at least a portion of functions or states associated with at least one component (e.g., a display module (160), a sensor module (176), or a communication module (190)) of the electronic device (101), for example, on behalf of the main processor (121) while the main processor (121) is in an inactive (e.g., sleep) state, or together with the main processor (121) while the main processor (121) is in an active (e.g., application execution) state. In one embodiment, the auxiliary processor (123) (e.g., an image signal processor or a communication processor) may be implemented as a part of another functionally related component (e.g., a camera module (180) or a communication module (190)). In one embodiment, the auxiliary processor (123) (e.g., a neural network processing unit) may include a hardware structure specialized for processing artificial intelligence models. The artificial intelligence models may be generated through machine learning. This learning can be performed, for example, on the electronic device (101) itself where the artificial intelligence model is executed, or can be performed through a separate server (e.g., server (108)). The learning algorithm can include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but is not limited to the examples described above. The artificial intelligence model can include multiple artificial neural network layers.The artificial neural network may be one of a deep neural network (DNN), a convolutional neural network (CNN), a recurrent neural network (RNN), a restricted Boltzmann machine (RBM), a deep belief network (DBN), a bidirectional recurrent deep neural network (BRDNN), a deep Q-network, or a combination of two or more of the above, but is not limited to the examples described above. In addition to, or alternatively to, a hardware structure, an artificial intelligence model may include a software structure.
[0035] The memory (130) can store various data used by at least one component (e.g., processor (120) or sensor module (176)) of the electronic device (101). The data can include, for example, software (e.g., program (140)) and input data or output data for commands related thereto. The memory (130) can include volatile memory (132) or non-volatile memory (134).
[0036] The program (140) may be stored as software in the memory (130) and may include, for example, an operating system (142), middleware (144), or an application (146).
[0037] The input module (150) can receive commands or data to be used in a component of the electronic device (101) (e.g., a processor (120)) from an external source (e.g., a user) of the electronic device (101). The input module (150) can include, for example, a microphone, a mouse, a keyboard, a key (e.g., a button), or a digital pen (e.g., a stylus pen).
[0038] The audio output module (155) can output audio signals to the outside of the electronic device (101). The audio output module (155) can include, for example, a speaker or a receiver. The speaker can be used for general purposes, such as multimedia playback or recording playback. The receiver can be used to receive incoming calls. In one embodiment, the receiver can be implemented separately from the speaker or as part of the speaker.
[0039] The display module (160) can visually provide information to an external party (e.g., a user) of the electronic device (101). The display module (160) may include, for example, a display, a holographic device, or a projector and a control circuit for controlling the device. According to one embodiment, the display module (160) may include a touch sensor configured to detect a touch, or a pressure sensor configured to measure the intensity of a force generated by the touch.
[0040] The audio module (170) can convert sound into an electrical signal, or vice versa, convert an electrical signal into sound. According to one embodiment, the audio module (170) can acquire sound through the input module (150), output sound through the sound output module (155), or an external electronic device (e.g., electronic device (102)) (e.g., speaker or headphone) directly or wirelessly connected to the electronic device (101).
[0041] The sensor module (176) can detect the operating status (e.g., power or temperature) of the electronic device (101) or the external environmental status (e.g., user status) and generate an electrical signal or data value corresponding to the detected status. According to one embodiment, the sensor module (176) can include, for example, a gesture sensor, a gyro sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biometric sensor, a temperature sensor, a humidity sensor, or an illuminance sensor.
[0042] The interface (177) may support one or more designated protocols that may be used to directly or wirelessly connect the electronic device (101) with an external electronic device (e.g., the electronic device (102)). In one embodiment, the interface (177) may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.
[0043] The connection terminal (178) may include a connector through which the electronic device (101) may be physically connected to an external electronic device (e.g., electronic device (102)). According to one embodiment, the connection terminal (178) may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (e.g., a headphone connector).
[0044] The haptic module (179) can convert electrical signals into mechanical stimuli (e.g., vibration or movement) or electrical stimuli that a user can perceive through tactile or kinesthetic sensations. According to one embodiment, the haptic module (179) can include, for example, a motor, a piezoelectric element, or an electrical stimulation device.
[0045] The camera module (180) can capture still images and videos. According to one embodiment, the camera module (180) may include one or more lenses, image sensors, image signal processors, or flashes.
[0046] The power management module (188) can manage power supplied to the electronic device (101). According to one embodiment, the power management module (188) can be implemented as, for example, at least a part of a power management integrated circuit (PMIC).
[0047] A battery (189) may power at least one component of the electronic device (101). In one embodiment, the battery (189) may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell.
[0048] The communication module (190) may support the establishment of a direct (e.g., wired) communication channel or a wireless communication channel between the electronic device (101) and an external electronic device (e.g., electronic device (102), electronic device (104), or server (108)), and the performance of communication through the established communication channel. The communication module (190) may operate independently from the processor (120) (e.g., application processor) and may include one or more communication processors that support direct (e.g., wired) communication or wireless communication. According to one embodiment, the communication module (190) may include a wireless communication module (192) (e.g., a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module (194) (e.g., a local area network (LAN) communication module, or a power line communication module). Among these communication modules, the corresponding communication module can communicate with an external electronic device (104) via a first network (198) (e.g., a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network (199) (e.g., a long-range communication network such as a legacy cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., a LAN or WAN)). These various types of communication modules can be integrated into a single component (e.g., a single chip) or implemented as multiple separate components (e.g., multiple chips). The wireless communication module (192) can verify or authenticate the electronic device (101) within a communication network such as the first network (198) or the second network (199) by using subscriber information (e.g., an international mobile subscriber identity (IMSI)) stored in the subscriber identification module (196).
[0049] The wireless communication module (192) can support 5G networks and next-generation communication technologies following the 4G network, such as NR access technology (new radio access technology). The NR access technology can support high-speed transmission of high-capacity data (eMBB (enhanced mobile broadband)), minimization of terminal power and connection of multiple terminals (mMTC (massive machine type communications)), or high reliability and low latency (URLLC (ultra-reliable and low-latency communications)). The wireless communication module (192) can support, for example, a high-frequency band (e.g., mmWave band) to achieve a high data transmission rate. The wireless communication module (192) can support various technologies for securing performance in a high-frequency band, such as beamforming, massive multiple-input and multiple-output (MIMO), full dimensional MIMO (FD-MIMO), array antenna, analog beam-forming, or large scale antenna. The wireless communication module (192) can support various requirements specified in the electronic device (101), an external electronic device (e.g., the electronic device (104)), or a network system (e.g., the second network (199)). According to one embodiment, the wireless communication module (192) can support a peak data rate (e.g., 20 Gbps or more) for eMBB realization, a loss coverage (e.g., 164 dB or less) for mMTC realization, or a U-plane latency (e.g., 0.5 ms or less for downlink (DL) and uplink (UL), or 1 ms or less for round trip) for URLLC realization.
[0050] The antenna module (197) can transmit or receive signals or power to or from an external device (e.g., an external electronic device). In one embodiment, the antenna module (197) may include an antenna including a radiator formed of a conductor or a conductive pattern formed on a substrate (e.g., a PCB). In one embodiment, the antenna module (197) may include a plurality of antennas (e.g., an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network, such as the first network (198) or the second network (199), may be selected from the plurality of antennas, for example, by the communication module (190). A signal or power may be transmitted or received between the communication module (190) and an external electronic device via the at least one selected antenna. In some embodiments, in addition to the radiator, another component (e.g., a radio frequency integrated circuit (RFIC)) may be additionally formed as a part of the antenna module (197).
[0051] In one embodiment, the antenna module (197) may form a mmWave antenna module. In one embodiment, the mmWave antenna module may include a printed circuit board, an RFIC disposed on or adjacent a first side (e.g., a bottom side) of the printed circuit board and capable of supporting a designated high-frequency band (e.g., a mmWave band), and a plurality of antennas (e.g., an array antenna) disposed on or adjacent a second side (e.g., a top side or a side side) of the printed circuit board and capable of transmitting or receiving signals in the designated high-frequency band.
[0052] At least some of the above components can be interconnected and exchange signals (e.g., commands or data) with each other via a communication method between peripheral devices (e.g., a bus, GPIO (general purpose input and output), SPI (serial peripheral interface), or MIPI (mobile industry processor interface)).
[0053] According to one embodiment, commands or data may be transmitted or received between the electronic device (101) and an external electronic device (104) via a server (108) connected to a second network (199). Each of the external electronic devices (102 or 104) may be the same or a different type of device as the electronic device (101). According to one embodiment, all or part of the operations executed in the electronic device (101) may be executed in one or more of the external electronic devices (102, 104, or 108). For example, when the electronic device (101) is to perform a certain function or service automatically or in response to a request from a user or another device, the electronic device (101) may, instead of or in addition to executing the function or service itself, request one or more external electronic devices to perform the function or at least a part of the service. One or more external electronic devices that receive the request may execute at least a portion of the requested function or service, or an additional function or service related to the request, and transmit the result of the execution to the electronic device (101). The electronic device (101) may process the result as is or additionally and provide it as at least a portion of a response to the request. For this purpose, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may be used, for example. The electronic device (101) may provide an ultra-low latency service by using distributed computing or mobile edge computing, for example. In another embodiment, the external electronic device (104) may include an Internet of Things (IoT) device. The server (108) may be an intelligent server utilizing machine learning and / or a neural network. According to one embodiment, the external electronic device (104) or the server (108) may be included in the second network (199).The electronic device (101) can be applied to intelligent services (e.g., smart home, smart city, smart car, or healthcare) based on 5G communication technology and IoT-related technology.
[0054] In the detailed description below, reference numerals in the drawings may be used interchangeably or omitted for components that can be easily understood through the preceding embodiments, and their detailed descriptions may also be omitted. An electronic device according to an embodiment disclosed in this document may be implemented by selectively combining components of different embodiments, and components of one embodiment may be replaced by components of another embodiment. For example, it should be noted that the present invention is not limited to specific drawings or embodiments.
[0055] FIG. 2 is a block diagram of electronic device configurations according to one embodiment.
[0056] According to FIG. 2, according to one embodiment, an electronic device (200, e.g., electronic device (101) of FIG. 1) may include a memory (210, e.g., memory (130) of FIG. 1) that stores instructions and includes one or more storage media, and at least one processor (220, or processor) that includes a processing circuit.
[0057] According to one embodiment, the memory (210) may have at least a portion of the same or similar configuration as the memory (130) of FIG. 1. For example, the memory (210) may be configured to temporarily or permanently store digital data and may include at least a portion of the configuration and / or functions of the memory (130) of FIG. 1.
[0058] The memory (210) according to one embodiment can store various instructions that can be executed by at least one processor (220). In addition, the memory (210) can store at least a portion of the program (140) of FIG. 1. Such instructions can include control commands such as logical operations and data input / output that can be recognized and executed by the processor (220). There is no limitation on the type and / or amount of data that the memory (210) can store, but this document will describe the configuration and function of the memory related to the operation of the processor (220) that performs the method and the method of confirming a user command according to various embodiments. The memory (210) can store various information, and the various information stored by the memory (210) will be described in detail below.
[0059] According to one embodiment, at least one processor (220, hereinafter, processor) may have at least a portion of the same or similar configuration as the processor (120) of FIG. 1. According to one embodiment, the processor (220) may include one or more processors.
[0060] According to one embodiment, the processor (220) may perform various operations by executing instructions stored in the memory (210).
[0061] According to one embodiment, the processor may obtain a first error value and a first error change rate, respectively, based on checking the target temperature of the electronic device (200) and the first temperature of the electronic device (200). According to one example, the target temperature of the electronic device (200) may be a target temperature for a surface temperature of the electronic device (200). According to one example, the first temperature of the electronic device (200) may mean the surface temperature of the electronic device (200).
[0062] In one example, the first error value (or error value) may refer to the difference between the target temperature and the first temperature of the electronic device (200). For example, the first error value may be a value obtained by subtracting the surface temperature of the electronic device (200) from the target temperature. In one example, the first error change rate (or error change rate) may refer to the amount of change of the first error value over time. For example, the first error change rate may be a value obtained by differentiating the first error value with respect to time. In one example, the electronic device (200) may include a temperature sensor (e.g., the sensor module (176) of FIG. 1), and the processor (220) may determine the first temperature of the electronic device (200) based on sensing data acquired through the temperature sensor. In one example, the electronic device (200) may determine the first error value and the first error change rate based on the determined first temperature.
[0063] In one embodiment, the processor (220) may determine whether the electronic device (200) meets any one of a plurality of conditions to derive a parameter associated with a first PID control value. In one example, the first PID control value may be a value associated with the operating performance of the electronic device (200).
[0064] According to an example, the processor (220) may control the operating performance of the electronic device (200) (or hardware included in the electronic device (200)) based on the first PID control value. For example, the electronic device (200) may determine a limit clock (max clock) of the CPU and a limit clock of the GPU based on the first PID control value. Here, the limit clock may mean the maximum operating clock at which a specific hardware can operate. According to an example, the parameter related to the first PID control value may mean a constant corresponding to each of at least one term included in a mathematical expression for calculating the first PID control value. The first PID control value and the parameter related to the first PID control value will be described in detail through the mathematical expression 1 described below.
[0065] In one example, the processor (220) may tune the parameter based on whether the electronic device (200) satisfies any one of a plurality of conditions for calculating a parameter related to a first PID control value. In one example, the plurality of conditions may be conditions based on the magnitude of a first error value and a first error change rate. For example, the first condition may be when the first error value is greater than or equal to a first value (e.g., 0) and the first error change rate is less than a second value (e.g., 0). In one example, a parameter value corresponding to each of the plurality of conditions may be set. For example, when it is determined that the first error value and the first error change rate satisfy the first condition, the processor (220) may calculate the first PID control value based on the set first parameter corresponding to the first condition. The plurality of conditions including the first condition will be described later.
[0066] According to one embodiment, the processor (220) may calculate a first PID control value using a first parameter corresponding to a first condition based on whether the electronic device (200) satisfies a first condition among a plurality of conditions. According to one example, the first PID control value may be calculated through the following mathematical expression 1. According to one example, the processor (220) may calculate the first PID control value through mathematical expression 1 to which the first parameter corresponding to the first condition is applied.
[0067]
[0068] For example, the first PID control value may be a value calculated based on mathematical expression 1 including a proportional term, an integral term, and a differential term for the error between the surface temperature of the electronic device (200) and the target temperature. In the mathematical expression 1 described above, the proportional term ( ) can perform a control action proportional to the size of the error in the current state. For example, the integral term ( ) can act to eliminate steady-state error so that the output value (or the first temperature of the electronic device (200)) converges to the set value (or the target temperature). For example, the differential term ( ) can apply a brake to a sudden change in the output value, thereby reducing the overshoot phenomenon and improving the stability of heat control. In the above mathematical expression 1, Kp, Ki, and Kd may represent parameters related to the PID control value. For example, Kp may represent a weight corresponding to a proportional term, Ki may represent a weight corresponding to an integral term, and kd may represent a weight corresponding to a differential term.
[0069] For example, the first parameter may refer to a parameter corresponding to a differential term (e.g., Kd in Equation 1). The first parameter may preemptively increase the control strength when the temperature of the electronic device rises. Alternatively, the first parameter may preemptively decrease the control strength of the electronic device when the temperature of the electronic device falls. For example, as the value of the first parameter increases, the PID control value may be more affected by the error change rate. For example, when the error change rate is negative (or, when the temperature of the electronic device rises), when the value of the first parameter increases, the PID control value may decrease further. For example, when the error change rate is positive, when the value of the first parameter increases, the PID control value may increase further. This will be described in detail with reference to Equations 2 and 3 of FIG. 5.
[0070] For example, the PID control value may be a value proportional to the operating performance of the electronic device (200) or hardware included in the electronic device (200). For example, if the PID control value is calculated as a positive number, at least one of the limit clock of the central processing unit (CPU) and the limit clock of the graphic processing unit (GPU) may increase compared to before the PID control value is calculated. For example, if the PID control value is a negative number, the limit clock of the CPU and the limit clock of the GPU may decrease compared to before the PID control value is calculated. For example, the larger the PID control value, the greater the improvement in the operating performance of the hardware of the electronic device (200). For example, the larger the PID control value, the greater the value of the limit clock may become, and accordingly, the operating performance may also be further improved.
[0071] For example, the processor (220) may obtain a changed PID control value by tuning the value of kd among the parameters related to the PID control value depending on whether a condition is met, and the control strength for the electronic device (200) may be changed based on this. For example, if the PID control value calculated based on the tuned parameter decreases compared to before, this may mean that the control strength has become stronger compared to before.
[0072] According to one embodiment, the processor (220) may control the electronic device (200) based on the first PID control value. According to one example, the processor (220) may control hardware included in the electronic device (200) based on the calculated first PID control value.
[0073] According to one embodiment, the processor (220) may perform heat control in stages based on the context of the electronic device (200). For example, the context of the electronic device (200) may be, for example, the temperature of the electronic device (200) (or at least one hardware included in the electronic device (200), an event corresponding to the electronic device (200), and internal information of the electronic device (200), based on at least one of the following: heat control may be performed in stages. For example, the processor (220) may check a PID control level (e.g., the PID control level of FIG. 4) for heat control of the electronic device (200) based on the context of the electronic device (200). For example, the processor (220) may perform heat control for the electronic device (200) in stages based on the checked PID control level. The PID control level will be described in detail with reference to FIG. 4.
[0074] For example, the temperature of the electronic device (200) may be the temperature of hardware included in the electronic device (200) or the surface temperature of the electronic device (200). For example, the event corresponding to the electronic device (200) may be whether or not the electronic device (200) performs a specific function. For example, the internal information of the electronic device (200) may be information related to the operation level of at least one hardware included in the electronic device (200). For example, the internal information of the electronic device (200) may be the usage (or operating clock) of a kernel provided by a kernel such as a CPU or GPU. Or, for example, the internal information of the electronic device (200) may be information about the data transmission throughput of a hotspot communication module, the throughput of data transmission in Wi-Fi (wireless fidelity), or the operating clock of a communication processor.
[0075] For example, even when controlling the heat generation of an electronic device (200) in stages, the processor (220) can reduce an overshoot phenomenon (e.g., a phenomenon in which the temperature rises rapidly in the process of changing the parameter value for heat generation control as the heat generation control stage is changed) that may occur as the heat generation control stage is changed by applying the Kd value differently according to conditions among the above-described parameters. This will be described later.
[0076] FIG. 3 is a flowchart illustrating an operating method of an electronic device according to one embodiment.
[0077] Hereinafter, an operating method of an electronic device (e.g., an electronic device (200) of FIG. 2) according to various embodiments will be described in detail. According to various embodiments, operations performed by the electronic device described below may be executed by a processor (e.g., at least one processor (230) of FIG. 2) including at least one processing circuitry of the electronic device. According to one embodiment, the operations performed by the electronic device may be stored in a memory (e.g., a memory (210) of FIG. 2) and, when executed, may be executed by instructions that cause the processor (230) to operate. In the following embodiments, each operation may be performed sequentially, but is not necessarily performed sequentially. For example, the order of each operation may be changed, and at least two operations may be performed in parallel. Depending on the implementation, certain operations may be omitted.
[0078] Referring to FIG. 3, according to one embodiment, in operation 301, the operating method may obtain a first error value (e.g., the first error value of FIG. 2) and a first error change rate (e.g., the first error change rate of FIG. 2) based on verifying a target temperature of the electronic device (e.g., the target temperature of FIG. 2) and a first temperature of the electronic device (e.g., the first temperature of FIG. 2), respectively. According to one example, the electronic device may verify the target temperature of the electronic device and the first temperature of the electronic device. According to one example, the electronic device may obtain the first error value and the first error change rate based on a difference between the verified target temperature and the first temperature. According to one example, the first error change rate may mean a change amount per unit time of the first error value.
[0079] According to one embodiment, in operation 303, the operating method may determine whether any one of a plurality of conditions (e.g., a plurality of conditions of FIG. 2) for calculating a parameter (e.g., a parameter of FIG. 2) related to a first proportional-integral-differential (PID) control value (e.g., a first PID control value of FIG. 2) for controlling an operation of an electronic device is satisfied based on a magnitude of a first error value and a first error change rate.
[0080] For example, when a first error value and a first error change rate are obtained, the electronic device can determine whether the electronic device satisfies any one of a plurality of conditions based on the magnitude of the first error value and the magnitude of the first error change rate. For example, there may be a parameter value corresponding to each of the plurality of conditions. For example, the electronic device can determine that the electronic device satisfies the first condition (e.g., the first condition of FIG. 2) when the first error value is greater than or equal to a first value (e.g., 0) and the first error change rate is less than a second value (e.g., 0).
[0081] According to one embodiment, in operation 305, the operating method may calculate a first PID control value using a first parameter (e.g., Kd of FIG. 2) corresponding to the first condition based on satisfying a first condition among a plurality of conditions. According to one example, when the electronic device satisfies the first condition, the electronic device may check the first parameter value corresponding to the first condition, and apply the checked first parameter to mathematical expression 1 (e.g., mathematical expression 1 of FIG. 2) to calculate the first PID control value.
[0082] According to one embodiment, in operation 307, the operating method may control the operation of the electronic device based on the first PID control value. According to one example, when the first PID control value is calculated, the electronic device may control at least one hardware (e.g., a CPU or a GPU) included in the electronic device based on the calculated first PID control value. For example, as the first PID control value increases, the size of the limit clock of the hardware may increase. Alternatively, for example, as the first PID control value decreases, the size of the limit clock of the hardware may decrease.
[0083] FIG. 4 is a flowchart illustrating a method for checking an error value and an error change rate based on a control level according to one embodiment.
[0084] Referring to FIG. 4, according to one embodiment, in operation 401, the operating method may determine a first PID control level for controlling the operation of the electronic device based on whether a first temperature (e.g., the first temperature of FIG. 2) of the electronic device (e.g., the electronic device (200) of FIG. 2) is included in a first temperature range.
[0085] In one example, an electronic device (e.g., a PID control level setting module (1222) of FIG. 12) may determine a PID control level for controlling heat generation of the electronic device based on a first temperature (e.g., a surface temperature) of the electronic device. In one example, as the PID control level increases, the electronic device may limit the clock usage of the hardware (e.g., a CPU or GPU) by lowering the minimum value of a limit clock (or max clock) of the hardware of the electronic device.
[0086] For example, the electronic device may determine the control level corresponding to the electronic device based on the temperature range corresponding to each PID control level. For example, if the first temperature of the electronic device is included in the first temperature range corresponding to the first PID control level, the electronic device may determine the first PID control level as the PID control level corresponding to the electronic device.
[0087] According to one embodiment, in operation 403, the operating method may obtain a first error value (e.g., the first error value of FIG. 2) and a first error change rate (e.g., the first error change rate of FIG. 2), respectively, based on the first target temperature corresponding to the identified first PID control level and the identified first temperature.
[0088] For example, there may be a minimum value of a parameter value (e.g., a first parameter of FIG. 2), a target temperature, and a limit clock corresponding to each PID control level. For example, in operation 403, an electronic device (e.g., an error monitoring module (1223-1) of FIG. 12) may identify a first target temperature corresponding to a first PID control level, and obtain a first error value and a first error change rate based on the identified first target temperature and the first temperature of the electronic device.
[0089] For example, when an electronic device (e.g., a PID control module (1223) of FIG. 12) determines a first error value and a first error change rate based on a first target temperature corresponding to a first PID control level, the electronic device can determine that any one of a plurality of conditions (e.g., a plurality of conditions of FIG. 2) is satisfied based on this, and determine a first PID control value based on the determined condition.
[0090] FIG. 5 is a flowchart illustrating a method for calculating a PID control value according to one embodiment.
[0091] Referring to FIG. 5, according to one embodiment, in operation 501, the operating method may determine whether any one of a plurality of conditions (e.g., a plurality of conditions of FIG. 2) for calculating a parameter (e.g., a parameter of FIG. 2) corresponding to a first PID control level (or first control level) is satisfied based on the magnitude of a first error value (e.g., the first error value of FIG. 2) and a first error change rate (e.g., the first error change rate of FIG. 2).
[0092] In one example, an electronic device (e.g., the electronic device (200) of FIG. 2 or the error monitoring module (1223-1) of FIG. 12) may determine a first error value and a first error change rate based on a first target temperature (e.g., the first target temperature of FIG. 4) corresponding to a first control level. In one example, an electronic device (e.g., the first parameter setting module (1223-2) of FIG. 12) may determine that the electronic device satisfies any one of a plurality of conditions based on the determined first error value and first error change rate.
[0093] For example, there may be a minimum value of a parameter (e.g., a parameter of FIG. 2) value, a target temperature, and a limit clock corresponding to each PID control level. For example, the electronic device may check different parameter values according to the control level corresponding to the electronic device. For example, if the electronic device determines that the control level of the electronic device is a first control level, the electronic device may calculate a first PID control value (e.g., a PID control value of FIG. 2) based on a Kp value, a Ki value, and a Kd value (or a first reference parameter value) corresponding to the first control level.
[0094] For example, when a first error value and a first error change rate are determined based on a first target temperature corresponding to a first control level, the electronic device can determine whether the electronic device satisfies any one of a plurality of conditions based on the determined first error value and first error change rate. For example, the electronic device can determine whether the electronic device satisfies the first condition based on determining that the first error value calculated based on the first control level is greater than or equal to a first value (e.g., 0) and that the first error change rate calculated based on the first control level is less than or equal to a second value (e.g., 0).
[0095] According to one embodiment, in operation 503, the operating method may calculate a first PID control value using a first PID control level and a first parameter corresponding to the first condition, based on the electronic device satisfying a first condition among a plurality of conditions.
[0096] For example, an electronic device (e.g., the first parameter setting module (1223-2) of FIG. 12) may determine whether a first parameter (e.g., Kd) corresponding to a first control level is a tuned parameter based on a first condition. For example, if the electronic device determines that the electronic device corresponds to the first control level, the electronic device may perform an operation using a first PID control value calculated based on a first reference parameter value corresponding to the first control level. If the electronic device determines that the electronic device satisfies a first condition while performing the operation at the first control level, the electronic device may tune the first parameter to a value corresponding to the first condition. For example, the value corresponding to the first condition may be less than the first reference parameter value. For example, the first reference parameter value and the value corresponding to the first condition may be stored in a memory (e.g., the memory (210) of FIG. 2).
[0097] Alternatively, as an example, the value corresponding to the first condition may be calculated based on the first reference parameter value. For example, the value corresponding to the first condition may be a value of a specified ratio to the first reference parameter value.
[0098] For example, according to the following mathematical expressions 2 and 3, if the first error value is greater than or equal to 0, it may mean that the temperature of the current electronic device is lower than the target temperature, and if the first error change rate is less than 0, it may mean that the temperature of the current electronic device is rising.
[0099]
[0100]
[0101] In mathematical expression 2, e(t) is the error value, is the target temperature, and T(t) may be the surface temperature of the electronic device. Mathematical expression 3 is a mathematical expression for the error change rate, and the error change rate value may be a negative change rate of the surface temperature of the electronic device. According to the above-described mathematical expression 3, if the first error change rate is less than 0, it may mean that the temperature of the current electronic device is rising.
[0102] For example, if the first error value is greater than or equal to 0 and the first error change rate is less than 0 (or, in the case of the first condition), this may mean that the current temperature of the electronic device is less than the target temperature and that the current temperature of the electronic device is rising. Even if the current temperature of the electronic device is less than the target temperature, if the temperature of the electronic device is rising, there is a need to increase the control strength in order to reduce the temperature rise of the electronic device, and therefore, in this case, the first parameter value may be reduced. If the first parameter value is reduced, the first PID control value in Equation 1 may be reduced, and thus, the performance of the electronic device may be reduced compared to before.
[0103] In the above example, if the electronic device satisfies the first condition, the control strength can be increased by tuning the value of the first parameter to a value lower than the first reference parameter value. Accordingly, efficient heat generation control for the electronic device can be performed.
[0104] For example, an electronic device (e.g., a multi-level PID control module (1220) of FIG. 12) may determine a first parameter value and a PID control level based on whether the shape of the electronic device changes. For example, if the electronic device is implemented as a foldable smartphone, a slidable smartphone, or a rollable smartphone, the first parameter value and the PID control level may be determined by considering whether the shape of the electronic device changes.
[0105] Figure 6 is a flowchart illustrating a method for calculating a PID control value according to one embodiment.
[0106] Referring to FIG. 6, according to one embodiment, in operation 601, the operating method can determine that a second condition among a plurality of conditions (e.g., a plurality of conditions in FIG. 2) is satisfied based on determining that a first error value (e.g., the first error value in FIG. 2) is greater than or equal to a first value and a first error change rate (e.g., the first error change rate in FIG. 2) is greater than or equal to a second value.
[0107] In one example, an electronic device (e.g., the electronic device (200) of FIG. 2, or the error monitoring module (1223-1) of FIG. 12) may determine a first error value and a first error change rate based on a target temperature corresponding to the electronic device (e.g., the target temperature of FIG. 2) and a first temperature corresponding to the electronic device (e.g., the first temperature of FIG. 2). In one example, the electronic device (e.g., the first parameter setting module (1223-2) of FIG. 12) may determine that the electronic device satisfies a second condition when it is determined that the first error value is 0 or greater and the first error change rate is 0 or greater.
[0108] According to one embodiment, in operation 603, the operating method may calculate a first PID control value (e.g., the first PID control value of FIG. 2) using a first parameter (e.g., Kd of FIG. 2) corresponding to a second condition.
[0109] In one example, an electronic device (e.g., the first parameter setting module (1223-2) of FIG. 12) may check a first parameter corresponding to a second condition. In one example, the first parameter corresponding to the second condition may be stored in a memory (e.g., the memory (210) of FIG. 2). In one example, if the electronic device determines that the second condition is satisfied while performing an operation at a first control level, the electronic device may tune the first parameter to a value corresponding to the second condition. In one example, the value corresponding to the second condition may exceed a first reference parameter value (e.g., the first reference parameter value of FIG. 5). In one example, the electronic device may calculate a first PID control value through Mathematical Expression 1 to which the first parameter value tuned based on the second condition is applied. In one example, the electronic device (e.g., the PID control module (1223) of FIG. 12) may perform an operation based on the calculated first PID control value.
[0110] For example, if the first error value is greater than or equal to 0 and the first error change rate is greater than or equal to 0 (or, in the case of the second condition), this may mean that the current temperature of the electronic device is less than the target temperature and the current temperature of the electronic device is decreasing. If the current temperature of the electronic device is less than the target temperature and the temperature of the electronic device is decreasing, the operating performance of the electronic device needs to be improved, so in this case, the first parameter value may be increased. If the first parameter value increases, the first PID control value in Equation 1 may increase, and thus the performance of the electronic device may be improved compared to before. In the above example, if the electronic device satisfies the second condition, the control strength may be lowered by tuning the value of the first parameter to a value exceeding the first reference parameter value. Accordingly, efficient heat generation control for the electronic device can be performed.
[0111] Fig. 7 is a flowchart illustrating a method for calculating a PID control value according to one embodiment.
[0112] Referring to FIG. 7, according to one embodiment, in operation 701, the operating method can determine that a third condition among a plurality of conditions (e.g., a plurality of conditions in FIG. 2) is satisfied based on determining that a first error value (e.g., the first error value in FIG. 2) is less than a first value and a first error change rate (e.g., the first error change rate in FIG. 2) is greater than or equal to a second value.
[0113] In one example, an electronic device (e.g., the electronic device (200) of FIG. 2, or the error monitoring module (1223-1) of FIG. 12) may determine a first error value and a first error change rate based on a target temperature corresponding to the electronic device (e.g., the target temperature of FIG. 2) and a first temperature corresponding to the electronic device (e.g., the first temperature of FIG. 2). In one example, the electronic device (e.g., the first parameter setting module (1223-2) of FIG. 12) may determine that the electronic device satisfies the third condition if it is determined that the first error value is less than 0 and the first error change rate is greater than or equal to 0.
[0114] According to one embodiment, in operation 703, the operating method may calculate a first PID control value (e.g., the first PID control value of FIG. 2) using a first parameter corresponding to a third condition (e.g., the first parameter of FIG. 2).
[0115] In one example, an electronic device (e.g., the first parameter setting module (1223-2) of FIG. 12) may check a first parameter corresponding to a third condition. In one example, the first parameter corresponding to the third condition may be stored in a memory (e.g., the memory (210) of FIG. 2). In one example, if the electronic device determines that the third condition is satisfied while performing an operation at a first control level, the electronic device may tune the first parameter to a value corresponding to the third condition. In one example, the value corresponding to the third condition may be less than a first reference parameter value (e.g., the first reference parameter value of FIG. 5). In one example, the electronic device may calculate a first PID control value through Mathematical Expression 1 to which the first parameter value tuned based on the third condition is applied. In one example, the electronic device (e.g., the PID control module (1223) of FIG. 12) may perform an operation based on the calculated first PID control value.
[0116] For example, if the first error value is less than 0 and the first error change rate is greater than or equal to 0 (or, in the case of the third condition), this may mean that the current temperature of the electronic device exceeds the target temperature, but the current temperature of the electronic device is decreasing. If the temperature of the electronic device is decreasing, or if the current temperature of the electronic device exceeds the target temperature, the operating performance of the electronic device needs to be reduced, so in this case, the first parameter value may be reduced. If the first parameter value is reduced, the first PID control value in Equation 1 may be reduced, and thus the performance of the electronic device may be reduced compared to before. In the above example, if the electronic device satisfies the third condition, the control strength may be increased by tuning the value of the first parameter to a value less than the first reference parameter value. Accordingly, efficient heat generation control for the electronic device can be performed.
[0117] Fig. 8 is a flowchart illustrating a method for calculating a PID control value according to one embodiment.
[0118] Referring to FIG. 8, according to one embodiment, in operation 801, the operating method can determine that a fourth condition among a plurality of conditions (e.g., a plurality of conditions of FIG. 2) is satisfied based on determining that a first error value (e.g., a first error value of FIG. 2) is less than a first value and a first error change rate (e.g., a first error change rate of FIG. 2) is less than a second value.
[0119] In one example, an electronic device (e.g., the electronic device (200) of FIG. 2, or the error monitoring module (1223-1) of FIG. 12) may determine a first error value and a first error change rate based on a target temperature corresponding to the electronic device (e.g., the target temperature of FIG. 2) and a first temperature corresponding to the electronic device (e.g., the first temperature of FIG. 2). In one example, the electronic device (e.g., the first parameter setting module (1223-2) of FIG. 12) may determine that the electronic device satisfies the fourth condition if it is determined that the first error value is less than 0 and the first error change rate is less than 0.
[0120] According to one embodiment, in operation 803, the operating method may calculate a first PID control value using a first parameter corresponding to a fourth condition.
[0121] In one example, an electronic device (e.g., the first parameter setting module (1223-2) of FIG. 12) may check a first parameter corresponding to a fourth condition. In one example, the first parameter corresponding to the fourth condition may be stored in a memory (e.g., the memory (210) of FIG. 2). In one example, if the electronic device determines that the fourth condition is satisfied while performing an operation at a first control level, the electronic device may tune the first parameter to a value corresponding to the fourth condition. In one example, the value corresponding to the fourth condition may exceed a first reference parameter value (e.g., the first reference parameter value of FIG. 5). In one example, the electronic device may calculate a first PID control value through Mathematical Expression 1 to which the first parameter value tuned based on the fourth condition is applied. In one example, the electronic device (e.g., the PID control module (1223) of FIG. 12) may perform an operation based on the calculated first PID control value.
[0122] For example, if the first error value is less than 0 and the first error change rate is less than 0 (or, in the case of the fourth condition), this may mean that the current temperature of the electronic device exceeds the target temperature and the current temperature of the electronic device is rising. If the temperature of the electronic device is rising and the current temperature of the electronic device exceeds the target temperature, the operating performance of the electronic device needs to be reduced, so in this case, the first parameter value may be increased. If the first parameter value increases, the first PID control value in Equation 1 may be reduced because the first error change rate is less than 0, and thus the performance of the electronic device may be reduced compared to before. In the above example, if the electronic device satisfies the fourth condition, the control strength may be increased by tuning the value of the first parameter to a value exceeding the first reference parameter value. Accordingly, efficient heat generation control for the electronic device can be performed.
[0123] FIG. 9 is a flowchart for explaining an operation method of an electronic device according to a change in a PID control level according to one embodiment.
[0124] Referring to FIG. 9, according to one embodiment, in operation 901, the operating method may determine, based on a change in the temperature of an electronic device (e.g., electronic device (200) of FIG. 2) from a first temperature (e.g., the first temperature of FIG. 2) to a second temperature, whether the second temperature is included in a second temperature range different from a first temperature range (e.g., the first temperature range of FIG. 4).
[0125] For example, it may be assumed that the electronic device operates at a first PID control level (e.g., the first PID control level of FIG. 2) corresponding to the first temperature range based on the temperature corresponding to the electronic device being included in the first temperature range. For example, the electronic device (e.g., the PID control level setting module (1222)) may check the surface temperature of the electronic device at a specified interval to determine whether the surface temperature of the electronic device reaches a second temperature range. For example, the second temperature range may be a temperature range smaller than the first temperature range, but the second temperature range may also be a temperature range larger than the first temperature range.
[0126] According to one embodiment, in operation 903, the operating method may determine a second PID control level (e.g., the PID control level of FIG. 2) for controlling the operation of the electronic device based on whether the second temperature is included in the second temperature range.
[0127] In one example, an electronic device (e.g., a PID control level setting module (1222)) may determine that a second temperature is included in a second temperature range that is different from a first temperature range. In one example, the electronic device may determine a second PID control level corresponding to the second temperature range based on the second temperature corresponding to the electronic device being included in the second temperature range. In one example, the electronic device may determine a parameter value (e.g., a first parameter of FIG. 2) corresponding to the second PID control level, a second target temperature, and a minimum value of a limit clock.
[0128] According to one embodiment, in operation 905, the operating method may obtain a second error value and a second error change rate, respectively, based on a second target temperature and a second temperature corresponding to a second PID control level.
[0129] For example, an electronic device (e.g., an error monitoring module (1223-1) of FIG. 12) may determine a difference value between a second target temperature corresponding to a second PID control level and a second temperature of the electronic device as a second error value, and may obtain a change rate over time of the second error value of the electronic device as a second error change rate.
[0130] According to one embodiment, in operation 907, the operating method may determine whether any one of a plurality of conditions (e.g., the plurality of conditions of FIG. 2) for calculating a parameter corresponding to a second PID control level is satisfied based on the magnitude of the second error value and the second error change rate.
[0131] For example, when the magnitude of the second error value and the second error change rate are acquired, the electronic device (e.g., the first parameter setting module (1223-2) of FIG. 12) can compare the acquired second error value with the first value (e.g., the first value of FIG. 2), and compare the acquired second error change rate with the second value (e.g., the second value of FIG. 2), to determine whether any one of a plurality of conditions is satisfied.
[0132] According to one embodiment, in operation 909, the operating method may calculate a second PID control value (e.g., the PID control value of FIG. 2) using a second parameter corresponding to a second PID control level based on satisfying a fifth condition among the plurality of conditions.
[0133] In one example, an electronic device (e.g., the first parameter setting module (1223-2) of FIG. 12) may determine whether the electronic device satisfies a fifth condition based on the second error value and the second error change rate. In one example, the fifth condition may be any one of the first condition (e.g., the first condition of FIG. 5), the second condition (e.g., the second condition of FIG. 6), the third condition (e.g., the third condition of FIG. 7), and the fourth condition (e.g., the fourth condition of FIG. 8) described above, but is not limited thereto.
[0134] In one example, the second parameter may refer to Kd in Equation 1. In one example, the electronic device may determine a second reference parameter value corresponding to the second PID control level. In one example, the electronic device may tune the second parameter based on whether the electronic device satisfies the fifth condition.
[0135] For example, the electronic device may determine a value of a specified ratio with respect to a second reference parameter value as the second parameter value. For example, it may be assumed that the electronic device satisfies the first condition. The electronic device may determine a second reference parameter value corresponding to the second PID control level, and determine a value obtained by multiplying the determined second reference parameter value by 0.8 as the second parameter value. Information regarding the specified ratio may be stored in a memory (e.g., memory (210) of FIG. 2). For example, the size of the specified ratio for each of multiple conditions may be different.
[0136] According to one embodiment, in operation 911, the operating method may control the operation of the electronic device based on the second PID control value. According to one example, the electronic device (e.g., the first parameter setting module (1223-2) of FIG. 12) may calculate the second PID control value using a mathematical expression to which the tuned second parameter is applied. According to one example, the electronic device (e.g., the PID control module (1223) of FIG. 12) may control hardware included in the electronic device (e.g., the hardware of FIG. 2) based on the calculated second PID control value.
[0137] FIG. 10 is a flowchart illustrating a method for updating a PID control value according to one embodiment.
[0138] Referring to FIG. 10, according to one embodiment, in operation 1001, the operating method can determine a threshold performance value corresponding to the first PID control level based on the second PID control level (e.g., the second PID control level of FIG. 9) being a higher level than the first PID control level (e.g., the first PID control level of FIG. 9).
[0139] In one example, an electronic device (e.g., the electronic device (200) of FIG. 2 or the control level monitoring module (1223-3)) may update a PID control value based on the control level before the change when the control level of the electronic device is increased. In one example, the electronic device may check a threshold performance value corresponding to the control level before the control level is changed in order to update the PID control value.
[0140] In one example, the first PID control level may be a level corresponding to a first temperature range, and the second PID control level may be a level corresponding to a second temperature range. In one example, the second temperature range may be a temperature range exceeding the first temperature range. In one example, the second PID control level may be a higher level than the first PID control level. In one example, the threshold performance value may be a minimum value of a limited performance corresponding to the first PID control level of an electronic device (e.g., the electronic device (200) of FIG. 2), and the limited performance may mean, for example, a limited clock of a CPU.
[0141] According to one embodiment, in operation 1003, the operating method may update the second PID control value based on the threshold performance value. According to one example, the electronic device (e.g., the control level monitoring module (1223-3)) may update the second PID control value such that a limit performance value (e.g., a limit clock size of a CPU) corresponding to the electronic device at the second PID control level becomes less than the threshold performance value. For example, the electronic device may update the second PID control value such that the performance of the electronic device becomes less than the minimum performance value at the previous control level so as to prevent the control strength of the electronic device from becoming weaker than the maximum control strength at the previous control level. Accordingly, overshoot that may occur when the control level of the electronic device is increased may be prevented.
[0142] Alternatively, as an example, the electronic device may determine the PID control value according to an existing process (e.g., mathematical expression 1 of FIG. 2) regardless of the control level before the change, if the control level of the electronic device is lower than before.
[0143] In one example, the electronic device may maintain the updated second PID control value for a specified period of time and thereafter perform an operation based on the existing second PID control value. In one example, the electronic device may calculate the PID control value at specified intervals (e.g., 10 seconds). In one example, the electronic device may perform an operation based on the second PID control value prior to the update if the number of times the PID control value is determined to be less than the specified value is continuously determined to be a specified number of times (e.g., 3 times).
[0144] Alternatively, according to an example, the electronic device may check the surface temperature of the electronic device at specified intervals (e.g., 10 seconds). If the surface temperature corresponding to the electronic device is continuously determined to have decreased compared to the previous interval a specified number of times (e.g., 3 times), the electronic device may perform an operation based on the second PID control value prior to the update.
[0145] FIGS. 11 and 12 are block diagrams of an electronic device including a plurality of modules according to one embodiment.
[0146] Referring to FIGS. 11 and 12, according to one embodiment, an electronic device (e.g., electronic device (200) of FIG. 2) may include a plurality of modules. According to one example, the electronic device may include a monitoring module (1210, or device status monitor), a multi-level PID control module (1220, or multi-level PID controller), and a resource limiting module (1230, or resource limiter).
[0147] For example, the monitoring module (1210) may be a module that monitors the internal environment of an electronic device. For example, the monitoring module (1210) may include a load monitoring module (1211, or load checker), a temperature calculation module (1212, or temperature calculator), and an event detection module (1213, or scenario / event detector).
[0148] In one example, the load monitoring module (1211) can monitor the load (or usage) of hardware within the electronic device. For example, the load monitoring module (1211) can monitor the load of a central processing unit (CPU) and the load of a graphics processing unit (GPU). In one example, the load monitoring module (1211) can monitor the throughput of data transmission in a hotspot or Wi-Fi ((wireless fidelity)). In one example, the load monitoring module can periodically transmit information about the load of the monitored hardware (e.g., the load of the CPU or the load of the GPU) to the PID parameter setting module.
[0149] For example, the temperature calculation module (1212) may be a module that calculates the temperature (e.g., surface temperature) of an electronic device. For example, the temperature calculation module (1212) may calculate (or output) the temperature of the electronic device based on sensing data acquired through a temperature sensor included in the electronic device (e.g., the sensor module (176) of FIG. 1). For example, the temperature calculation module (1212) may include a thermistor whose electrical resistance value changes depending on temperature, and may measure the surface temperature of the electronic device through the thermistor. The temperature calculation module (1212) may periodically transmit the measured surface temperature of the electronic device to the PID control level setting module (1222).
[0150] For example, the event detection module (1213) can monitor the occurrence of specified events. The events may be, for example, operations that increase the load on the hardware, such as an operation using a third-party camera application, an operation using a multi-window mode, or an operation charging the battery. In an example, each of the multiple events may occur individually and proceed simultaneously, or no event may occur at all. The event detection module (1213) can confirm the occurrence of at least one of the specified events and transmit information about the confirmed event to the PID control level setting module (1222).
[0151] For example, the multi-level PID control module (1220) may be a module that calculates a PID control level (e.g., the PID control level of FIG. 4) and a PID control value (e.g., the PID control value of FIG. 2). For example, the multi-level PID control module (1220) may include a PID parameter setting module (1221, or PID parameter setter), a PID control level setting module (1222, or PID control level setter), a PID parameter table storage module (1224), and a PID control module (1223, or PID controller).
[0152] For example, the PID parameter setting module (1221) may set parameters (e.g., parameters of FIG. 2) for calculating a PID control value based on the PID control level of the electronic device and the load of the hardware. For example, the PID parameter setting module (1221) may set a minimum clock (or minimum value) of the CPU limited clock and a minimum clock of the GPU limited clock based on the PID control level of the electronic device and the load of the hardware. For example, the PID parameter setting module (1221) may set a target temperature corresponding to the PID control level of the electronic device as a set value and set a surface temperature of the electronic device as an output value under the conditions of the set minimum clock of the CPU limited clock and the set minimum clock of the GPU limited clock, thereby calculating the values of the parameters. For example, the PID parameter setting module (1221) may transmit the calculated parameter values to the PID control module (1223).
[0153] For example, the PID control level setting module (1222) may determine the PID control level of the electronic device (e.g., the PID control level of FIG. 4) based on the surface temperature of the electronic device and an event occurring in the electronic device. For example, the PID control level setting module (1222) may determine the PID control level of the electronic device by determining whether the surface temperature of the electronic device falls within a specified temperature range. For example, the PID control level setting module (1222) may determine the PID control level of the electronic device by comprehensively considering the temperature range and the event. For example, the PID control level setting module (1222) may transmit information on the determined PID control level to the PID control module (1223) and the PID parameter setting module (1221).
[0154] In one example, the PID parameter table storage module (1224) may be a module in which parameter values corresponding to each of a plurality of PID control levels are stored. In one example, the PID parameter table storage module (1224) may be a module in which Kp (e.g., Kp of FIG. 2), Ki (e.g., Ki of FIG. 2), and Kd (e.g., Kd of FIG. 2, or the first parameter of FIG. 2) values corresponding to each of a plurality of PID control levels are stored. In one example, the PID parameter table storage module (1224) may transmit information about the parameter table to the PID control level setting module (1222).
[0155] For example, the PID control module (1223) may be a module that calculates a PID control value (e.g., the PID control value of FIG. 2) and controls the hardware of an electronic device based on the calculated PID control value. For example, the PID control module (1223) may include an error monitoring module (1223-1), a first parameter setting module (1223-2), and a control level monitoring module (1223-3).
[0156] For example, the error monitoring module (1223-1) can check the error between the target temperature of the electronic device and the surface temperature of the electronic device at a specified period (e.g., 10 seconds).
[0157] For example, the first parameter setting module (1223-2) may be a module that checks whether the electronic device satisfies any one of a plurality of conditions (e.g., the plurality of conditions of FIG. 2) and calculates a value of a first parameter (e.g., the first parameter of FIG. 2) based on any one of the checked conditions. For example, the first parameter setting module (1223-2) may obtain information on an error value (e.g., the first error value of FIG. 2) and an error change rate (e.g., the first error change rate of FIG. 2) from the error monitoring module (1223-1). For example, the first parameter setting module (1223-2) may obtain information on a parameter table from the PID parameter table storage module (1224). For example, if the first parameter setting module (1223-2) determines that the electronic device corresponds to one of a plurality of conditions based on the error value and the error change rate, the first parameter setting module (1223-2) may tune the reference value for the first parameter stored in the parameter table to the first parameter value corresponding to one of the conditions. For example, the first parameter value corresponding to each of the plurality of conditions may be stored in the PID parameter table storage module (1224). Alternatively, the first parameter setting module (1223-2) may tune the first parameter by multiplying the reference value for the first parameter stored in the parameter table by a specified ratio.
[0158] For example, the first parameter setting module (1223-2) may check a first value (e.g., the first value of FIG. 2) and a second value (e.g., the second value of FIG. 2) to determine whether one of a plurality of conditions is satisfied. For example, the first value and the second value may be 0, but the first value may also be -4, and whether the condition is satisfied may be determined by the first value and the second value having different values from the above-described embodiment. For example, the first parameter setting module (1223-2) may check whether the electronic device satisfies one of a plurality of conditions based on the first value and the second value, and may determine the first parameter value based on the determined one of the conditions. For example, each of the first value and the second value may be stored in the PID parameter table storage module (1224).
[0159] For example, the first parameter setting module (1223-2) may calculate a PID control value (e.g., the PID control value of FIG. 2) based on the identified first parameter value. For example, the first parameter setting module (1223-2) may calculate a PID control value by applying the identified first parameter value to mathematical expression 1. For example, the PID control module (1223) may control the hardware of the electronic device based on the calculated PID control value.
[0160] For example, the control level monitoring module (1223-3) may monitor the PID control level of the electronic device and correct the PID control value based on the monitored level. For example, the control level monitoring module (1223-3) may operate only when the PID control level is changed to a higher level. For example, when the PID control level is changed to a higher level, the control level monitoring module (1223-3) may set the control strength at the level before the change to the maximum value and correct it by comparing it with the PID control value calculated by the first parameter setting module (1223-2).
[0161] For example, it can be assumed that the PID control level of an electronic device is raised from a first PID control level to a second PID control level. The control level monitoring module (1223-3) can update the PID control value so that a limit performance value (e.g., a limit clock size of a CPU) corresponding to the electronic device at the second PID control level (e.g., the second PID control level of FIG. 10) becomes less than a threshold performance value (e.g., a threshold performance value corresponding to the first PID control level). The control level monitoring module (1223-3) can update the PID control value so that the performance of the electronic device becomes less than the minimum performance value at the previous control level in order to prevent the control strength of the electronic device from becoming weaker than the maximum control strength at the previous control level. Accordingly, overshoot that may occur when the control level of the electronic device is raised can be prevented.
[0162] In one example, the PID control module (1223) may transmit a control signal to the resource limitation module (1230) based on the calculated PID control value. In one example, the resource limitation module (1230) may include a Wi-Fi throughput control module (1230), a CPU limited clock control module (1232), and a GPU limited clock control module (1233).
[0163] For example, the PID control module (1223) may determine a CPU limit clock and a GPU limit clock based on a PID control value. For example, the PID control module (1223) may transmit a control signal to the CPU limit clock control module (1232) to limit the CPU's operating clock to the CPU limit clock determined based on the PID control value.
[0164] For example, the PID control module (1223) may transmit a control signal to the GPU limit clock control module (1233) to limit the operating clock of the GPU to a GPU limit clock determined based on the PID control value. The PID control module (1223) may control heat generation of the electronic device by limiting the operating clock of the GPU to the determined GPU limit clock. According to the above-described example, the PID control module (1223) may control the surface temperature of the electronic device by adjusting the performance of the CPU and GPU.
[0165] For example, the PID control module (1223) may determine a TCP (Transmission Control Protocol) speed limit based on a PID control value. The TCP speed may be a speed at which data packets are transmitted, and may be expressed in bits per second (bps) as a unit. The TCP speed limit may represent a maximum speed at which data packets can be transmitted. The PID control module (1223) may control heat generation of the electronic device by limiting the TCP speed to below the TCP speed limit. For example, the PID control unit (323) may transmit a control signal to the Wi-Fi throughput control module (1230) to maintain the TCP speed of a Wi-Fi network below the TCP speed limit.
[0166] FIG. 13 is a drawing for explaining the effect of an electronic device according to one embodiment.
[0167] According to one embodiment, the Y-axis of the graph illustrated in FIG. 13 may represent the surface temperature (°C) of an electronic device (e.g., the electronic device (200) of FIG. 2), and the X-axis may represent time. As an example, it may be assumed that a set value (e.g., the target temperature of FIG. 2) is 45 degrees. According to one example, based on satisfying any one of a plurality of conditions (e.g., the plurality of conditions of FIG. 2), the electronic device may calculate a PID control value (e.g., the PID control value of FIG. 2) to which a tuned (or changed) first parameter (e.g., the first parameter of FIG. 2) value is applied, and may perform an operation based on the calculated PID control value. As illustrated in FIG. 13, it may be confirmed that the surface temperature of the electronic device is well maintained below the set value (45 degrees) when the tuned first parameter value is applied, compared to before the tuned first parameter value is applied. According to the above-described example, efficient heat generation control is possible by tuning the first parameter based on whether any one of a plurality of conditions is satisfied, and performing PID control based on the tuned parameter.
[0168] An electronic device according to one embodiment of the present disclosure may include at least one processor including a processing circuit and a memory storing instructions and including one or more storage media.
[0169] According to one embodiment, the instructions, when individually or collectively executed by the at least one processor, may cause the electronic device to obtain a first error value and a first error change rate, respectively, based on determining a target temperature of the electronic device and a first temperature of the electronic device.
[0170] In one embodiment, the instructions may cause the electronic device to determine whether any one of a plurality of conditions is satisfied for calculating a parameter associated with a first proportional-integral-differential (PID) control value for controlling an operation of the electronic device, based on a magnitude of the first error value and the first error change rate.
[0171] In one embodiment, the instructions may cause the electronic device to calculate the first PID control value using a first parameter corresponding to the first condition, based on satisfying a first condition among the plurality of conditions.
[0172] In one embodiment, the instructions may cause the electronic device to control operation of the electronic device based on the first PID control value.
[0173] In one embodiment, the instructions may cause the electronic device to determine a first PID control level for controlling operation of the electronic device based on a first temperature of the electronic device falling within a first temperature range.
[0174] In one embodiment, the instructions may cause the electronic device to obtain the first error value and the first error change rate, respectively, based on the first target temperature corresponding to the identified first PID control level and the identified first temperature.
[0175] According to one embodiment, the first PID control value may be a value calculated based on a parameter corresponding to the first PID control level.
[0176] In one embodiment, the first parameter may be a weight corresponding to an error change rate.
[0177] In one embodiment, the instructions may cause the electronic device to determine whether any one of the plurality of conditions for calculating a parameter corresponding to the first PID control level is satisfied based on a magnitude of the first error value and the first error change rate.
[0178] In one embodiment, the instructions may cause the electronic device to calculate the first PID control value using the first PID control level and a first parameter corresponding to the first condition, based on satisfying a first condition among the plurality of conditions.
[0179] In one embodiment, the instructions may cause the electronic device to determine that the first condition is satisfied based on determining that the first error value is greater than or equal to a first value and that the first error change rate is less than a second value.
[0180] In one embodiment, the instructions may cause the electronic device to calculate the first PID control value using a first parameter corresponding to the first condition.
[0181] In one embodiment, the size of the first parameter corresponding to the first condition may be less than the size of the reference parameter corresponding to the first PID control level.
[0182] In one embodiment, the instructions may cause the electronic device to determine that a second condition among the plurality of conditions is satisfied based on determining that the first error value is greater than or equal to a first value and that the first error change rate is greater than or equal to a second value.
[0183] In one embodiment, the instructions may cause the electronic device to calculate the first PID control value using a first parameter corresponding to the second condition.
[0184] In one embodiment, the size of the first parameter corresponding to the second condition may exceed the size of the reference parameter corresponding to the first PID control level.
[0185] In one embodiment, the instructions may cause the electronic device to determine that a third condition among the plurality of conditions is satisfied based on determining that the first error value is less than a first value and that the first error change rate is greater than or equal to a second value.
[0186] In one embodiment, the instructions may cause the electronic device to calculate the first PID control value using a first parameter corresponding to the third condition.
[0187] In one embodiment, the size of the first parameter corresponding to the third condition may be less than the size of the reference parameter corresponding to the first PID control level.
[0188] In one embodiment, the instructions may cause the electronic device to determine that a fourth condition among the plurality of conditions is satisfied based on determining that the first error value is less than a first value and that the first error change rate is less than a second value.
[0189] In one embodiment, the instructions may cause the electronic device to calculate the first PID control value using a first parameter corresponding to the fourth condition.
[0190] In one embodiment, the size of the first parameter corresponding to the fourth condition may exceed the size of the reference parameter corresponding to the first PID control level.
[0191] In one embodiment, the first temperature may be a surface temperature of the electronic device.
[0192] According to one embodiment, the first PID control value may be a value calculated based on a mathematical expression including a proportional term, an integral term, and a differential term for an error between the surface temperature of the electronic device and the target temperature.
[0193] In one embodiment, the instructions may cause the electronic device to determine, based on a change in the temperature of the electronic device from the first temperature to the second temperature, whether the second temperature falls within a second temperature range different from the first temperature range.
[0194] In one embodiment, the instructions may cause the electronic device to determine a second PID control level for controlling operation of the electronic device based on the second temperature being within the second temperature range.
[0195] In one embodiment, the instructions may cause the electronic device to obtain a second error value and a second error change rate, respectively, based on a second target temperature and a second temperature corresponding to the second PID control level.
[0196] In one embodiment, the instructions may cause the electronic device to determine whether any one of a plurality of conditions for calculating a parameter corresponding to the second PID control level is satisfied based on the magnitude of the second error value and the second error change rate.
[0197] In one embodiment, the instructions may cause the electronic device to calculate a second PID control value using a second parameter corresponding to the second PID control level based on satisfying a fifth condition of the plurality of conditions.
[0198] In one embodiment, the instructions may cause the electronic device to control operation of the electronic device based on the second PID control value.
[0199] In one embodiment, the instructions may cause the electronic device to determine a threshold performance value corresponding to the first PID control level based on the second PID control level being a higher level than the first PID control level.
[0200] In one embodiment, the instructions may cause the electronic device to update the second PID control value based on the threshold performance value.
[0201] According to one embodiment, the threshold performance value may be a minimum value of a limited performance corresponding to the first PID control level of the electronic device.
[0202] In one embodiment, the instructions may cause the electronic device to update the second PID control value such that a performance value corresponding to the electronic device at the second PID control level is less than the threshold performance value.
[0203] According to one embodiment, a method of operating an electronic device may include an operation of obtaining a first error value and a first error change rate, respectively, based on checking a target temperature of the electronic device and a first temperature of the electronic device.
[0204] According to one embodiment, the operating method may include an operation of determining whether any one of a plurality of conditions for calculating a parameter related to a first proportional-integral-differential (PID) control value for controlling an operation of the electronic device is satisfied based on a magnitude of the first error value and the first error change rate.
[0205] According to one embodiment, the operating method may include an operation of calculating the first PID control value using a first parameter corresponding to the first condition based on satisfying a first condition among the plurality of conditions.
[0206] According to one embodiment, the operating method may include an operation of controlling an operation of the electronic device based on the first PID control value.
[0207] According to one embodiment, the operating method may include an operation of determining a first PID control level for controlling an operation of the electronic device based on whether a first temperature of the electronic device falls within a first temperature range.
[0208] According to one embodiment, the operating method may include an operation of obtaining the first error value and the first error change rate, respectively, based on the first target temperature corresponding to the identified first PID control level and the identified first temperature.
[0209] According to one embodiment, the first PID control value may be a value calculated based on a parameter corresponding to the first PID control level.
[0210] In one embodiment, the first parameter may be a weight corresponding to an error change rate.
[0211] According to one embodiment, the operating method may include an operation of determining whether any one of the plurality of conditions for calculating a parameter corresponding to the first PID control level is satisfied based on a magnitude of the first error value and the first error change rate.
[0212] According to one embodiment, the operating method may include an operation of calculating the first PID control value using the first PID control level and a first parameter corresponding to the first condition, based on satisfying a first condition among the plurality of conditions.
[0213] According to one embodiment, the operating method may include an operation of confirming that the first condition is satisfied based on confirming that the first error value is greater than or equal to a first value and that the first error change rate is less than a second value.
[0214] The size of the first parameter corresponding to the first condition may be less than the size of the reference parameter corresponding to the first PID control level.
[0215] According to one embodiment, the operating method may include an operation of confirming that a second condition among the plurality of conditions is satisfied based on confirming that the first error value is greater than or equal to a first value and the first error change rate is greater than or equal to a second value.
[0216] According to one embodiment, the operating method may include an operation of calculating the first PID control value using a first parameter corresponding to the second condition.
[0217] The size of the first parameter corresponding to the second condition may exceed the size of the reference parameter corresponding to the first PID control level.
[0218] According to one embodiment, the operating method may include an operation of confirming that a third condition among the plurality of conditions is satisfied based on confirming that the first error value is less than a first value and the first error change rate is greater than or equal to a second value.
[0219] According to one embodiment, the operating method may include an operation of calculating the first PID control value using a first parameter corresponding to the third condition.
[0220] The size of the first parameter corresponding to the third condition may be less than the size of the reference parameter corresponding to the first PID control level.
[0221] According to one embodiment, the operating method may include an operation of confirming that a fourth condition among the plurality of conditions is satisfied based on confirming that the first error value is less than a first value and the first error change rate is less than a second value.
[0222] According to one embodiment, the operating method may include an operation of calculating the first PID control value using a first parameter corresponding to the fourth condition.
[0223] The size of the first parameter corresponding to the fourth condition may exceed the size of the reference parameter corresponding to the first PID control level.
[0224] In one embodiment, the first temperature may be a surface temperature of the electronic device.
[0225] According to one embodiment, the first PID control value may be a value calculated based on a mathematical expression including a proportional term, an integral term, and a differential term for an error between the surface temperature of the electronic device and the target temperature.
[0226] A storage medium storing computer-readable instructions according to one embodiment, wherein the instructions, when executed by at least one processor of an electronic device, cause the electronic device to obtain a first error value and a first error change rate, respectively, based on determining a target temperature of the electronic device and a first temperature of the electronic device.
[0227] In one embodiment, the instructions may cause the electronic device to determine whether any one of a plurality of conditions is satisfied for calculating a parameter associated with a first proportional-integral-differential (PID) control value for controlling an operation of the electronic device, based on a magnitude of the first error value and the first error change rate.
[0228] In one embodiment, the instructions may cause the electronic device to calculate the first PID control value using a first parameter corresponding to the first condition, based on satisfying a first condition among the plurality of conditions.
[0229] In one embodiment, the instructions may cause the electronic device to control operation of the electronic device based on the first PID control value.
[0230] The effects that can be obtained from the present disclosure are not limited to the effects mentioned above, and other effects that are not mentioned will be clearly understood by a person having ordinary skill in the art to which the present disclosure pertains.
[0231] As used herein, the term “if” will be understood to mean “when, upon,” “in response to deciding,” or “in response to detecting,” depending on the context. Similarly, “if it is decided to do,” or “if [the stated condition or event] is detected,” will optionally be understood to mean “upon deciding,” or “in response to deciding,” “upon detecting [the stated condition or event],” or “in response to detecting [the stated condition or event].”
[0232] The devices described above may be implemented as hardware components, software components, and / or a combination of hardware components and software components. For example, the devices and components described in the embodiments may be implemented using one or more general-purpose computers or special-purpose computers, such as a processor, a controller, an arithmetic logic unit (ALU), a digital signal processor, a microcomputer, a field programmable gate array (FPGA), a programmable logic unit (PLU), a microprocessor, or any other device capable of executing instructions and responding to them. A processing device (or processing circuit) may execute an operating system (OS) and one or more software applications running on the operating system. In addition, the processing device may access, store, manipulate, process, and generate data in response to the execution of the software. For ease of understanding, the processing device is sometimes described as being used alone; however, one of ordinary skill in the art will recognize that the processing device may include multiple processing elements and / or multiple types of processing elements. For example, a processing unit may include multiple processors, or a processor and a controller. Other processing configurations, such as parallel processors, are also possible.
[0233] Software may include a computer program, code, instructions, or a combination of one or more of these, which may configure a processing device to perform a desired operation or may independently or collectively command the processing device. The software and / or data may be embodied in any type of machine, component, physical device, computer storage medium, or device for interpretation by the processing device or for providing instructions or data to the processing device. The software may also be distributed over networked computer systems and stored or executed in a distributed manner. The software and data may be stored on one or more computer-readable recording media.
[0234] The method according to the embodiment may be implemented in the form of program commands that can be executed through various computer means and recorded on a computer-readable medium. In this case, the medium may be one that continuously stores a computer-executable program or one that temporarily stores it for execution or download. In addition, the medium may be various recording or storage means in the form of a single or multiple hardware combinations, and is not limited to a medium directly connected to a computer system, but may also be distributed over a network. Examples of the medium may include magnetic media such as hard disks, floppy disks, and magnetic tapes, optical recording media such as CD-ROMs and DVDs, magneto-optical media such as floptical disks, and those configured to store program commands, including ROM, RAM, and flash memory. In addition, examples of other media may include an app store that distributes applications, a site that supplies or distributes various software, or a recording or storage medium managed by a server.
[0235] Although the embodiments described above have been described by way of limited examples and drawings, those skilled in the art will appreciate that various modifications and variations can be made based on the above teachings. For example, appropriate results can still be achieved even if the described techniques are performed in a different order than described, and / or components such as the described systems, structures, devices, and circuits are combined or combined in a different manner than described, or are replaced or substituted with other components or equivalents.
[0236] Therefore, other implementations, other embodiments, and equivalents to the claims also fall within the scope of the claims described below.
[0237] Electronic devices according to the various embodiments disclosed in this document may take various forms. Electronic devices may include, for example, portable communication devices (e.g., smartphones), computer devices, portable multimedia devices, portable medical devices, cameras, wearable devices, or home appliances. Electronic devices according to the embodiments of this document are not limited to the aforementioned devices.
[0238] The various embodiments of this document and the terminology used therein are not intended to limit the technical features described in this document to specific embodiments, but should be understood to include various modifications, equivalents, or substitutes of the embodiments. In connection with the description of the drawings, similar reference numerals may be used for similar or related components. The singular form of a noun corresponding to an item may include one or more of the items, unless the context clearly indicates otherwise. In this document, each of the phrases "A or B", "at least one of A and B", "at least one of A or B", "A, B, or C", "at least one of A, B, and C", and "at least one of A, B, or C" can include any one of the items listed together in the corresponding phrase among those phrases, or all possible combinations thereof. Terms such as "first," "second," or "first" or "second" may be used merely to distinguish one component from another, and do not limit the components in any other respect (e.g., importance or order). When a component (e.g., a first component) is referred to as "coupled" or "connected" to another (e.g., a second component), with or without the terms "functionally" or "communicatively," it means that the component can be connected to the other component directly (e.g., wired), wirelessly, or through a third component.
[0239] The term "module" used in various embodiments of this document may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as logic, logic block, component, or circuit. A module may be an integral component, or a minimum unit or part of such a component that performs one or more functions. For example, according to one embodiment, a module may be implemented in the form of an application-specific integrated circuit (ASIC).
[0240] Various embodiments of the present document may be implemented as software (e.g., a program (140)) including one or more instructions stored in a storage medium (e.g., an internal memory (136) or an external memory (138)) readable by a machine (e.g., an electronic device (101)). For example, a processor (e.g., a processor (120)) of the machine (e.g., an electronic device (101)) may call at least one instruction among the one or more instructions stored from the storage medium and execute it. This enables the machine to operate to perform at least one function according to the at least one called instruction. The one or more instructions may include code generated by a compiler or code executable by an interpreter. The machine-readable storage medium may be provided in the form of a non-transitory storage medium. Here, 'non-transitory' simply means that the storage medium is a tangible device and does not contain signals (e.g., electromagnetic waves), and the term does not distinguish between cases where data is stored semi-permanently or temporarily on the storage medium.
[0241] According to one embodiment, the method according to various embodiments disclosed in the present document may be provided as included in a computer program product. The computer program product may be traded as a product between a seller and a buyer. The computer program product may be distributed in the form of a machine-readable storage medium (e.g., compact disc read-only memory (CD-ROM)), or may be distributed online (e.g., downloaded or uploaded) through an application store (e.g., Play Store™) or directly between two user devices (e.g., smart phones). In the case of online distribution, at least a portion of the computer program product may be temporarily stored or temporarily generated in a machine-readable storage medium, such as the memory of a manufacturer's server, an application store's server, or an intermediary server.
[0242] According to various embodiments, each component (e.g., a module or a program) of the above-described components may include one or more entities, and some of the entities may be separately arranged in other components. According to various embodiments, one or more components or operations of the aforementioned components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (e.g., a module or a program) may be integrated into a single component. In such a case, the integrated component may perform one or more functions of each of the plurality of components identically or similarly to those performed by the corresponding component among the plurality of components prior to the integration. According to various embodiments, the operations performed by a module, program, or other component may be executed sequentially, in parallel, iteratively, or heuristically, or one or more of the operations may be executed in a different order, omitted, or one or more other operations may be added.
Claims
1. In electronic devices, At least one processor comprising a processing circuit; and A memory storing instructions and including one or more storage media; The above instructions, when individually or collectively executed by the at least one processor, cause the electronic device to: Based on checking the target temperature of the electronic device and the first temperature of the electronic device, a first error value and a first error change rate are obtained, respectively. Based on the magnitude of the first error value and the first error change rate, it is determined whether any one of a plurality of conditions for calculating a parameter related to a first PID (proportional-integral-differential) control value for controlling the operation of the electronic device is satisfied, Based on satisfying the first condition among the above multiple conditions, the first PID control value is calculated using the first parameter corresponding to the first condition, An electronic device that causes the operation of the electronic device to be controlled based on the first PID control value.
2. In paragraph 1, The above instructions cause the electronic device to: Based on whether the first temperature of the electronic device is included in the first temperature range, a first PID control level for controlling the operation of the electronic device is determined, An electronic device that causes the first target temperature corresponding to the first PID control level and the first error value and the first error change rate to be obtained, respectively, based on the first temperature and the first target temperature confirmed.
3. In paragraph 1 or 2, The above first PID control value is, A value calculated based on a parameter corresponding to the first PID control level, The above first parameter is, It is a weight corresponding to the error change rate, The above instructions cause the electronic device to: Based on the magnitude of the first error value and the first error change rate, it is checked whether any one of the plurality of conditions for calculating a parameter corresponding to the first PID control level is satisfied, An electronic device that causes the first PID control value to be calculated using the first PID control level and the first parameter corresponding to the first condition, based on satisfying the first condition among the plurality of conditions.
4. In any one of paragraphs 1 to 3, The above instructions cause the electronic device to: Based on the confirmation that the first error value is greater than or equal to the first value and the first error change rate is less than the second value, it is confirmed that the first condition is satisfied, Causes the first PID control value to be calculated using the first parameter corresponding to the first condition, The size of the first parameter corresponding to the first condition is An electronic device having a size less than a reference parameter corresponding to the first PID control level.
5. In any one of paragraphs 1 to 4, The above instructions cause the electronic device to: Based on the confirmation that the first error value is greater than or equal to the first value and the first error change rate is greater than or equal to the second value, it is confirmed that the second condition among the plurality of conditions is satisfied, Causes the first PID control value to be calculated using the first parameter corresponding to the second condition, The size of the first parameter corresponding to the above second condition is, An electronic device that exceeds the size of the reference parameter corresponding to the first PID control level.
6. In any one of paragraphs 1 to 5, The above instructions cause the electronic device to: Based on the confirmation that the first error value is less than the first value and the first error change rate is greater than or equal to the second value, it is confirmed that the third condition among the plurality of conditions is satisfied, Causes the first PID control value to be calculated using the first parameter corresponding to the third condition, The size of the first parameter corresponding to the third condition is An electronic device having a size less than a reference parameter corresponding to the first PID control level.
7. In any one of paragraphs 1 to 6, The above instructions cause the electronic device to: Based on the confirmation that the first error value is less than the first value and the first error change rate is less than the second value, it is confirmed that the fourth condition among the plurality of conditions is satisfied, Causes the first PID control value to be calculated using the first parameter corresponding to the fourth condition, The size of the first parameter corresponding to the above fourth condition is An electronic device that exceeds the size of the reference parameter corresponding to the first PID control level.
8. In any one of paragraphs 1 to 7, The above first temperature is, is the surface temperature of the above electronic device, The above first PID control value is, An electronic device, wherein the value is calculated based on a mathematical expression including a proportional term, an integral term, and a differential term for the error between the surface temperature of the electronic device and the target temperature.
9. In any one of paragraphs 1 to 8, The above instructions cause the electronic device to: Based on the temperature of the electronic device changing from the first temperature to the second temperature, it is determined whether the second temperature is included in a second temperature range different from the first temperature range, Based on the second temperature being included in the second temperature range, a second PID control level for controlling the operation of the electronic device is determined, Based on the second target temperature and the second temperature corresponding to the second PID control level, a second error value and a second error change rate are obtained, respectively. Based on the magnitude of the second error value and the second error change rate, it is checked whether any one of a plurality of conditions for calculating a parameter corresponding to the second PID control level is satisfied, Based on satisfying the fifth condition among the above conditions, a second PID control value is calculated using a second parameter corresponding to the second PID control level, An electronic device that causes the operation of the electronic device to be controlled based on the second PID control value.
10. In any one of paragraphs 1 to 9, The above instructions cause the electronic device to: Based on the fact that the second PID control level is a higher level than the first PID control level, a threshold performance value corresponding to the first PID control level is confirmed, An electronic device that causes the second PID control value to be updated based on the above threshold performance value.
11. In any one of paragraphs 1 to 10, The above critical performance values are, The minimum value of the limit performance corresponding to the first PID control level of the electronic device, The above instructions cause the electronic device to: An electronic device that causes the second PID control value to be updated so that the performance value corresponding to the electronic device at the second PID control level becomes less than the threshold performance value.
12. In the method of operating an electronic device, An operation of obtaining a first error value and a first error change rate, respectively, based on checking a target temperature of the electronic device and a first temperature of the electronic device; An operation of determining whether any one of a plurality of conditions for calculating a parameter related to a first PID (proportional-integral-differential) control value for controlling an operation of the electronic device is satisfied based on the magnitude of the first error value and the first error change rate; An operation of calculating the first PID control value using the first parameter corresponding to the first condition based on satisfying the first condition among the plurality of conditions; and An operating method comprising: an operation for controlling the operation of the electronic device based on the first PID control value.
13. In paragraph 12, An operation of determining a first PID control level for controlling the operation of the electronic device based on whether the first temperature of the electronic device is included in a first temperature range; and An operating method further comprising: an operation of obtaining the first error value and the first error change rate, respectively, based on the first target temperature corresponding to the first PID control level and the first temperature confirmed.
14. In paragraph 12 or 13, The above first PID control value is, A value calculated based on a parameter corresponding to the first PID control level, The above first parameter is, It is a weight corresponding to the error change rate, The above method of operation is, An operation of checking whether any one of the plurality of conditions for calculating a parameter corresponding to the first PID control level is satisfied based on the magnitude of the first error value and the first error change rate; and An operating method, comprising: an operation of calculating the first PID control value using the first PID control level and the first parameter corresponding to the first condition, based on satisfying a first condition among the plurality of conditions.
15. In any one of paragraphs 12 to 14, An operation of confirming that the first condition is satisfied based on confirming that the first error value is greater than or equal to the first value and the first error change rate is less than the second value; The size of the first parameter corresponding to the first condition is An operating method wherein the size of the reference parameter corresponding to the first PID control level is less than that of the reference parameter.
Citation Information
Patent Citations
Air conditioner, control method thereof and storage medium
CN115654665A
Stable frame scheduling method and device, terminal equipment and computer readable storage medium
CN117714788A
Temperature control method of electronic device and electronic device
CN118215267A
Storage device and Memory system including clock control unit or voltage control unit, and operating method thereof
KR102239356B1