CN112416587A - On-chip structure temperature control method and on-chip structure layout method - Google Patents
On-chip structure temperature control method and on-chip structure layout method Download PDFInfo
- Publication number
- CN112416587A CN112416587A CN202011312225.2A CN202011312225A CN112416587A CN 112416587 A CN112416587 A CN 112416587A CN 202011312225 A CN202011312225 A CN 202011312225A CN 112416587 A CN112416587 A CN 112416587A
- Authority
- CN
- China
- Prior art keywords
- temperature
- computing unit
- analog computing
- unit
- chip structure
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5094—Allocation of resources, e.g. of the central processing unit [CPU] where the allocation takes into account power or heat criteria
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3003—Monitoring arrangements specially adapted to the computing system or computing system component being monitored
- G06F11/3024—Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a central processing unit [CPU]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3058—Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F15/00—Digital computers in general; Data processing equipment in general
- G06F15/76—Architectures of general purpose stored program computers
- G06F15/78—Architectures of general purpose stored program computers comprising a single central processing unit
- G06F15/7807—System on chip, i.e. computer system on a single chip; System in package, i.e. computer system on one or more chips in a single package
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- Quality & Reliability (AREA)
- Mathematical Physics (AREA)
- Microelectronics & Electronic Packaging (AREA)
- Semiconductor Integrated Circuits (AREA)
Abstract
Description
技术领域technical field
本申请涉及模拟器件领域,具体涉及一种片上结构的温度控制方法和片上结构的布局方法。The present application relates to the field of analog devices, and in particular, to a temperature control method of an on-chip structure and a layout method of the on-chip structure.
背景技术Background technique
温度对于模拟器件特性的影响较大,通常情况下,温度升高,电子动能增加,从而会导致器件特性的变化,如图1所示,图1为现有技术中温度对二极管特性的影响示意图。由于模拟器件具有上述温度特性,对于单个模拟器件而言,如果模拟器件不同时刻的温度差异大,则会导致运算结果的差异较大,即运算结果的误差较大。对于多个模拟器件而言,不同位置处的模拟器件的温度差异也会导致不同位置处的运算产生偏差,一个位置的模拟器件产生的结果无法直接用于另一个位置的模拟器件,从而导致产生的数据不可信。The temperature has a great influence on the characteristics of the simulated device. Usually, as the temperature increases, the kinetic energy of the electrons increases, which will lead to changes in the characteristics of the device. As shown in Figure 1, Figure 1 is a schematic diagram of the influence of temperature on the characteristics of the diode in the prior art. . Since the analog device has the above temperature characteristics, for a single analog device, if the temperature difference of the analog device at different times is large, the difference in the operation result will be large, that is, the error in the operation result will be large. For multiple analog devices, the temperature difference of analog devices at different locations will also cause deviations in operations at different locations, and the results generated by analog devices at one location cannot be directly used for analog devices at another location, resulting in data cannot be trusted.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供了一种片上结构的温度控制方法和片上结构的布局方法,以解决现有技术中在模拟器件的温度差异较大导致模拟器件的运算结果误差较大或运算结果不可信的问题。The embodiments of the present application provide an on-chip structure temperature control method and an on-chip structure layout method, so as to solve the problem that in the prior art, the large temperature difference of the analog device leads to a large error in the calculation result of the analog device or the calculation result is unreliable. question.
为了解决上述技术问题,本申请是这样实现的:In order to solve the above technical problems, this application is implemented as follows:
第一方面,本申请提供了一种片上结构的温度控制方法,所述片上结构包括:模拟计算单元、电路单元和温度传感器;所述方法包括:获取所述温度传感器采集到的所述模拟计算单元的温度;根据所述温度与预设温度范围的比较结果控制所述模拟计算单元和所述电路单元的运行状态。In a first aspect, the present application provides a temperature control method for an on-chip structure, the on-chip structure includes: an analog computing unit, a circuit unit, and a temperature sensor; the method includes: acquiring the analog calculation collected by the temperature sensor temperature of the unit; controlling the operation state of the analog computing unit and the circuit unit according to the comparison result between the temperature and a preset temperature range.
第二方面,本申请提供了一种片上结构的布局方法,所述片上结构包括:模拟计算单元、电路单元和温度传感器;其中,所述模拟计算单元设置在所述片上结构的第二目标位置上;所述方法包括:确定在包括所述模拟计算单元的第一范围内设置所述电路单元;确定在所述片上结构的第一目标位置设置所述温度传感器;其中,所述温度传感器用于采集以下至少一项的温度:所述模拟计算单元的温度、所述电路单元的温度。In a second aspect, the present application provides a layout method of an on-chip structure, the on-chip structure includes: an analog computing unit, a circuit unit and a temperature sensor; wherein the analog computing unit is arranged at a second target position of the on-chip structure The method includes: determining to set the circuit unit in a first range including the analog computing unit; determining to set the temperature sensor at a first target position of the on-chip structure; wherein, the temperature sensor uses The temperature of at least one of the following items is collected: the temperature of the analog computing unit and the temperature of the circuit unit.
第三方面,本申请提供了一种片上结构,包括:模拟计算单元、电路单元、温度传感器和控制器;其中,所述控制器与所述模拟计算单元、所述电路单元以及所述温度传感器分别连接;所述温度传感器,用于采集所述温度,其中,所述温度包括以下至少一项:所述模拟计算单元的温度、所述电路单元的温度;所述控制器,用于根据所述温度与预设温度范围的比较结果控制所述模拟计算单元和所述电路单元的运行状态。In a third aspect, the present application provides an on-chip structure, including: an analog computing unit, a circuit unit, a temperature sensor, and a controller; wherein the controller is connected to the analog computing unit, the circuit unit, and the temperature sensor connected respectively; the temperature sensor is used to collect the temperature, wherein the temperature includes at least one of the following: the temperature of the analog computing unit and the temperature of the circuit unit; the controller is used to The comparison result between the temperature and the preset temperature range controls the operation state of the analog computing unit and the circuit unit.
第四方面,本申请提供了一种片上结构的布局装置,其中所述片上结构包括:模拟计算单元、电路单元和温度传感器;所述模拟计算单元设置在所述片上结构的第二目标位置上;基于此,所述装置包括:第一确定模块,用于确定在包括所述模拟计算单元的第一范围内设置所述电路单元;第二确定模块,用于确定在所述片上结构的第一目标位置设置所述温度传感器;其中,所述温度传感器用于采集以下至少一项的温度:所述模拟计算单元的温度、所述电路单元的温度。In a fourth aspect, the present application provides an on-chip structure layout device, wherein the on-chip structure includes: an analog computing unit, a circuit unit and a temperature sensor; the analog computing unit is arranged on a second target position of the on-chip structure ; Based on this, the device includes: a first determination module for determining to set the circuit unit in a first range including the analog computing unit; The temperature sensor is set at a target position; wherein, the temperature sensor is used to collect the temperature of at least one of the following: the temperature of the analog computing unit and the temperature of the circuit unit.
第五方面,本申请实施例还提供了一种电子设备,其特征在于,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面或第二方面所述的方法的步骤。In a fifth aspect, an embodiment of the present application further provides an electronic device, which is characterized by comprising a processor, a memory, and a program or instruction stored in the memory and executable on the processor, the program or The instructions, when executed by the processor, implement the steps of the method as described in the first aspect or the second aspect.
第六方面,本申请实施例还提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面或第二方面所述的方法的步骤。In a sixth aspect, an embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the implementation of the first aspect or the second aspect steps of the method described.
通过本申请,对于片上结构中模拟计算单元的温度,可以在获取到温度传感器采集的温度后,根据温度与预设温度范围的比较结果来控制模拟计算单元和电路单元的运行状态,以实现对片上结构的温度控制,从而可以避免由于模拟计算单元的温度差过大,提升了模拟计算单元运算结果的准确性,从而解决了现有技术中在模拟器件的温度差异较大导致模拟器件的运算结果误差较大或运算结果不可信的问题。Through the present application, for the temperature of the analog computing unit in the on-chip structure, after the temperature collected by the temperature sensor is acquired, the operating state of the analog computing unit and the circuit unit can be controlled according to the comparison result between the temperature and the preset temperature range, so as to realize the control of the temperature of the analog computing unit. The temperature control of the on-chip structure can prevent the temperature difference of the analog computing unit from being too large, and improve the accuracy of the calculation result of the analog computing unit, thereby solving the problem of the large temperature difference of the analog device in the prior art. There is a problem that the result has a large error or the operation result is unreliable.
附图说明Description of drawings
图1为现有技术中温度对二极管特性的影响示意图FIG. 1 is a schematic diagram of the effect of temperature on diode characteristics in the prior art
图2是本申请实施例的片上结构的温度控制方法的流程图;2 is a flowchart of a temperature control method of an on-chip structure according to an embodiment of the present application;
图3是本申请实施例的片上结构的布局方法的流程图;3 is a flowchart of a layout method of an on-chip structure according to an embodiment of the present application;
图4是本申请实施例的片上结构的结构示意图;4 is a schematic structural diagram of an on-chip structure according to an embodiment of the present application;
图5是本申请实施例的片上结构的可选结构示意图一;FIG. 5 is an optional structural schematic diagram 1 of an on-chip structure according to an embodiment of the present application;
图6是本申请实施例的片上结构的可选结构示意图二;FIG. 6 is a second optional structural schematic diagram of an on-chip structure according to an embodiment of the present application;
图7是本申请实施例的片上结构的可选结构示意图三;FIG. 7 is an optional structural schematic diagram 3 of an on-chip structure according to an embodiment of the present application;
图8是本申请实施例的片上结构的可选结构示意图四;FIG. 8 is a schematic diagram 4 of an optional structure of an on-chip structure according to an embodiment of the present application;
图9是本申请实施例的片上结构的可选结构示意图五;FIG. 9 is an optional structural schematic diagram 5 of an on-chip structure according to an embodiment of the present application;
图10是本申请实施例的片上结构的布局装置的结构示意图;10 is a schematic structural diagram of a layout device for an on-chip structure according to an embodiment of the present application;
图11是本申请实施例的片上结构的布局装置的可选结构示意图。FIG. 11 is a schematic diagram of an optional structure of an on-chip structure layout apparatus according to an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
在本申请的描述中,需要理解的是,术语“第一”、“第二”仅由于描述目的,且不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。因此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者多个该特征。本发明的描述中,除非另有说明,“多个”的含义是两个或两个以上。In the description of this application, it should be understood that the terms "first" and "second" are only for the purpose of description, and cannot be construed as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Thus, a feature delimited with "first", "second" may expressly or implicitly include one or more of that feature. In the description of the present invention, unless otherwise specified, "plurality" means two or more.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的数据的处理方法进行详细地说明。The data processing method provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
本申请实施例提供了一种片上结构的温度控制方法,其中,片上结构包括:模拟计算单元、电路单元和温度传感器;图2是本申请实施例的片上结构的温度控制方法的流程图,如图2所示,该方法的步骤包括:An embodiment of the present application provides a temperature control method of an on-chip structure, wherein the on-chip structure includes: an analog computing unit, a circuit unit and a temperature sensor; FIG. 2 is a flowchart of the temperature control method of the on-chip structure according to the embodiment of the present application, as shown in FIG. As shown in Figure 2, the steps of the method include:
步骤S202,获取温度传感器采集温度,其中,所述温度包括以下至少一项:所述模拟计算单元的温度、所述电路单元的温度;Step S202, acquiring a temperature collected by a temperature sensor, wherein the temperature includes at least one of the following: the temperature of the analog computing unit, and the temperature of the circuit unit;
步骤S204,根据温度与预设温度范围的比较结果控制模拟计算单元和电路单元的运行状态。Step S204, controlling the operation states of the analog computing unit and the circuit unit according to the comparison result between the temperature and the preset temperature range.
通过本申请实施例的步骤S202和步骤S204,对于片上结构中模拟计算单元的温度,可以在获取到温度传感器采集的温度后,根据温度与预设温度范围的比较结果来控制模拟计算单元和电路单元的运行状态,以实现对片上结构的温度控制,从而可以避免由于模拟计算单元的温度差过大,提升了模拟计算单元运算结果的准确性,从而解决了现有技术中在模拟器件的温度差异较大导致模拟器件的运算结果误差较大或运算结果不可信的问题。Through steps S202 and S204 in the embodiments of the present application, for the temperature of the analog computing unit in the on-chip structure, after acquiring the temperature collected by the temperature sensor, the analog computing unit and the circuit can be controlled according to the comparison result between the temperature and the preset temperature range The operating state of the unit is used to realize the temperature control of the on-chip structure, so as to avoid the excessive temperature difference of the analog computing unit, improve the accuracy of the calculation result of the analog computing unit, and solve the problem of the temperature of the analog device in the prior art. The large difference leads to the problem that the operation result of the analog device has a large error or the operation result is unreliable.
在本申请实施例的可选实施方式中,本申请实施例中的片上结构还可以包括控制器,通过该控制器来执行上述步骤S202和步骤S204,即可以由控制器来实现片上结构温度的控制。In an optional implementation of the embodiment of the present application, the on-chip structure in the embodiment of the present application may further include a controller, and the above steps S202 and S204 are performed by the controller, that is, the temperature of the on-chip structure may be controlled by the controller. control.
在本申请实施例的可选实施方式中,对于上述步骤S204中涉及到的根据温度与预设温度范围的比较结果控制模拟计算单元和电路单元的运行状态的方式,进一步可以包括:In an optional implementation manner of the embodiment of the present application, the method of controlling the operation state of the analog computing unit and the circuit unit according to the comparison result between the temperature and the preset temperature range involved in the above step S204 may further include:
步骤S204-11,在温度在预设温度范围内的情况下,维持模拟计算单元和电路单元的当前运行状态;Step S204-11, maintaining the current operating state of the analog computing unit and the circuit unit when the temperature is within the preset temperature range;
步骤S204-12,在温度超过预设温度范围内的最高温度的情况下,控制模拟计算单元和电路单元停止运行;Step S204-12, when the temperature exceeds the highest temperature within the preset temperature range, control the analog computing unit and the circuit unit to stop running;
步骤S204-13,在温度低于预设温度范围内的最低温度的情况下,根据模拟计算单元是否需要启动运行控制模拟计算单元和电路单元的运行状态。Step S204-13, when the temperature is lower than the lowest temperature within the preset temperature range, control the operation states of the simulation computing unit and the circuit unit according to whether the simulation computing unit needs to start the operation.
其中,步骤S204-13中涉及到的根据模拟计算单元是否需要启动运行控制模拟计算单元和电路单元的运行状态的方式,进一步可以包括:Wherein, the method involved in step S204-13 according to whether the simulation calculation unit needs to start the operation to control the operation state of the simulation calculation unit and the circuit unit may further include:
步骤S11,判断模拟计算单元是否需要启动运行;Step S11, judging whether the simulation computing unit needs to start running;
步骤S12,在模拟计算单元需要启动运行的情况下,控制模拟计算单元启动运行,并控制计算单元运行;Step S12, when the simulation computing unit needs to start running, control the simulation computing unit to start running, and control the computing unit to run;
步骤S13,在模拟计算单元不需要启动运行的情况下,维持模拟计算单元和电路单元的当前运行状态。Step S13, in the case that the simulation computing unit does not need to start running, maintain the current operating state of the simulation computing unit and the circuit unit.
通过上述步骤S204-11至步骤S204-13可知,在模拟器的温度超过预设温度范围内的最高温度的情况下,控制模拟计算单元和电路单元停止运行,由于电路单元的运行会产生大量的热量导致温度会较高,因此,在该情况下可以控制模拟计算单元和电路单元停止运行以防止温度进一步升高,从而有效的控制了温度差,而且在这种情况下,模拟计算单元的运算结果误差较大或不可信,因此也可以控制其一并停止运行。而在温度在该预设温度范围内的情况下,表明当前温度是在比较合适的区间,无需控制模拟计算单元和电路单元的运行状态,只要维持当前状态即可。而在温度低于预设温度范围内的最低温度的情况下,如果当前模拟计算单元需要工作,则可以控制其启动运行,如果不需要工作,则也可以维持当前运行状态即可。Through the above steps S204-11 to S204-13, it can be known that when the temperature of the simulator exceeds the maximum temperature within the preset temperature range, the simulation calculation unit and the circuit unit are controlled to stop running, because the operation of the circuit unit will generate a large amount of The heat causes the temperature to be higher. Therefore, in this case, the analog computing unit and the circuit unit can be controlled to stop running to prevent the temperature from rising further, thereby effectively controlling the temperature difference. In this case, the operation of the analog computing unit The resulting error is large or unreliable, so it can also be controlled to stop running. When the temperature is within the preset temperature range, it indicates that the current temperature is in a relatively suitable range, and there is no need to control the operation state of the analog computing unit and the circuit unit, as long as the current state is maintained. When the temperature is lower than the minimum temperature within the preset temperature range, if the current simulation computing unit needs to work, it can be controlled to start running, and if no work is required, the current operating state can also be maintained.
需要说明的是,上述预设温度范围的取值可以根据实际情况进行相应的取值,例如可以根据模拟计算单元最佳工作状态所对应的温度作为参考设置,或者是工作人员工作根据经验进行相应的设置,在本申请中并不限定其具体取值范围。It should be noted that the value of the above-mentioned preset temperature range can be set according to the actual situation. The setting of , and its specific value range is not limited in this application.
在本申请实施例的可选实施方式中,在模拟计算单元的数量为多个的情况下,在获取温度传感器采集到的模拟计算单元的温度之前,本申请实施例的方法步骤还可以包括:In an optional implementation manner of the embodiment of the present application, when the number of analog computing units is multiple, before acquiring the temperature of the analog computing unit collected by the temperature sensor, the method steps of the embodiment of the present application may further include:
步骤S21,获取每一个模拟计算单元的第一温度值,其中,第一温度值包括以下至少之一:历史温度值、预测温度值;Step S21, acquiring a first temperature value of each simulation computing unit, wherein the first temperature value includes at least one of the following: a historical temperature value and a predicted temperature value;
步骤S22,根据该第一温度值与映射表确定每一个模拟计算单元所需的电路单元的数量;其中,映射表用于指示第一温度值与所需的电路单元的数量之间的映射关系。Step S22, determining the number of circuit units required by each analog computing unit according to the first temperature value and the mapping table; wherein the mapping table is used to indicate the mapping relationship between the first temperature value and the required number of circuit units .
通过上述步骤S21至步骤S23,该历史温度值为测量到的该模拟计算单元的在历史不同时刻所对应的温度值,如果历史温度值大部分偏高则可以设置较少数量的电路单元,如果历史温度值大部分偏低则可以相对来说设置较多数量的电路单元,对于预测温度值也是类似的处理方式。至于具体设置多少可以根据映射表中的映射关系来确定,因为在映射表中对于不同的温度值可以对应不同的电路单元的数量,具体映射关系可以根据实际情况进行相应的设置。Through the above steps S21 to S23, the historical temperature value is the measured temperature value of the analog computing unit at different historical times. If the historical temperature value is mostly high, a smaller number of circuit units can be set. If If the historical temperature value is mostly low, a relatively large number of circuit units can be set, and the predicted temperature value is handled in a similar manner. The specific setting can be determined according to the mapping relationship in the mapping table, because different temperature values in the mapping table can correspond to different numbers of circuit units, and the specific mapping relationship can be set according to the actual situation.
需要说明的是,本申请实施例中的电路单元设置在包括模拟计算单元的第一范围内,以及温度传感器设置在片上结构的第一目标位置上;其中,温度传感器用于采集包括第一目标位置的第二范围内的模拟计算单元的温度。It should be noted that the circuit unit in the embodiment of the present application is arranged in the first range including the analog computing unit, and the temperature sensor is arranged at the first target position of the on-chip structure; wherein, the temperature sensor is used for collecting data including the first target The temperature of the simulated computing unit within the second range of locations.
由于温度传感器可以采集包括第一目标位置的第二范围内的模拟计算单元的温度,也就是说,只要第二范围内的模拟计算单元,均可以被该温度传感器采集其温度,基于此,在模拟计算单元在包括一个温度传感器的第二范围内的情况下,模拟计算单元的温度为温度传感器所采集的温度;在模拟计算单元在包括多个温度传感器的第二范围内的情况下,模拟计算单元的温度为多个温度传感器所采集温度的平均值。Since the temperature sensor can collect the temperature of the analog computing unit in the second range including the first target position, that is to say, as long as the analog computing unit in the second range can be collected by the temperature sensor, based on this, in When the analog computing unit is within the second range including one temperature sensor, the temperature of the analog computing unit is the temperature collected by the temperature sensor; when the analog computing unit is within the second range including a plurality of temperature sensors, the simulation The temperature of the calculation unit is the average value of the temperatures collected by multiple temperature sensors.
进一步地,由于温度传感器可以采集包括第一目标位置的第二范围内的模拟计算单元的温度,即一个温度传感器可以采集多个模拟计算单元的温度,这样可以不用为每一个模拟计算单元配置一个温度传感器。Further, since the temperature sensor can collect the temperature of the analog computing units in the second range including the first target position, that is, one temperature sensor can collect the temperature of multiple analog computing units, so it is not necessary to configure one analog computing unit for each analog computing unit. Temperature Sensor.
在本申请的另一个实施例中提供了一种片上结构的布局方法,其中,片上结构包括:模拟计算单元、电路单元、温度传感器和控制器;其中,模拟计算单元设置在片上结构的第二目标位置上,需要说明的是,该第二目标位置为事先确定好的位置;如图3所示,该方法的步骤包括:In another embodiment of the present application, a method for laying out an on-chip structure is provided, wherein the on-chip structure includes: an analog computing unit, a circuit unit, a temperature sensor, and a controller; wherein, the analog computing unit is arranged on a second part of the on-chip structure On the target position, it should be noted that the second target position is a pre-determined position; as shown in FIG. 3 , the steps of the method include:
步骤S302,确定在包括模拟计算单元的第一范围内设置电路单元;Step S302, determining to set circuit units within the first range including the analog computing unit;
步骤S304,确定在片上结构的第一目标位置设置温度传感器;其中,温度传感器用于采集包括第一目标位置的第二范围内的模拟计算单元的温度。Step S304 , it is determined that a temperature sensor is set at the first target position of the on-chip structure; wherein, the temperature sensor is used to collect the temperature of the analog computing unit within the second range including the first target position.
通过上述步骤S302至步骤S304的片上结构的布局方法,可以根据温度与预设温度范围的比较结果控制模拟计算单元和电路单元的运行状态,从而实现对模拟温度器的温度进行控制,从而可以避免模拟计算单元的温度差过大,以影响模拟计算单元的运算结果,从而解决了现有技术中在模拟器件的温度差异较大导致模拟器件的运算结果误差较大或运算结果不可信的问题。Through the layout method of the on-chip structure in the above steps S302 to S304, the operation states of the analog computing unit and the circuit unit can be controlled according to the comparison result between the temperature and the preset temperature range, so as to realize the control of the temperature of the analog thermometer, so as to avoid The temperature difference of the analog computing unit is too large to affect the operation result of the analog computing unit, thereby solving the problems in the prior art that the large temperature difference of the analog device leads to a large error or unreliable operation result of the analog device.
需要说明的是,本申请实施例中的片上结构还可以包括控制器,基于此,本申请实施例的方法步骤还可以包括:It should be noted that the on-chip structure in the embodiment of the present application may further include a controller, and based on this, the method steps of the embodiment of the present application may further include:
步骤S306,确定控制器与模拟计算单元、电路单元以及温度传感器分别连接,其中,该控制器根据温度与预设温度范围的比较结果控制模拟计算单元和电路单元的运行状态。Step S306, it is determined that the controller is connected to the analog computing unit, the circuit unit and the temperature sensor respectively, wherein the controller controls the operation states of the analog computing unit and the circuit unit according to the comparison result between the temperature and the preset temperature range.
在本申请实施例的可选实施方式中,在模拟计算单元的数量为多个的情况下,在获取温度传感器采集到的模拟计算单元的温度之前,本申请实施例的方法步骤还可以包括:In an optional implementation manner of the embodiment of the present application, when the number of analog computing units is multiple, before acquiring the temperature of the analog computing unit collected by the temperature sensor, the method steps of the embodiment of the present application may further include:
步骤S31,获取每一个模拟计算单元的第一温度值,其中,第一温度值包括以下至少之一:历史温度值、预测温度值;Step S31, obtaining a first temperature value of each simulation computing unit, wherein the first temperature value includes at least one of the following: a historical temperature value and a predicted temperature value;
步骤S32,根据第一温度值与映射表确定每一个模拟计算单元所需的电路单元的数量;其中,映射表用于指示第一温度取值范围所对应的所需的电路单元的数量;Step S32, determining the number of circuit units required by each analog computing unit according to the first temperature value and the mapping table; wherein the mapping table is used to indicate the number of required circuit units corresponding to the first temperature value range;
步骤S33,将确定的电路单元设置在包括模拟计算单元的第一范围内。Step S33, setting the determined circuit unit in the first range including the analog computing unit.
通过上述步骤S31至步骤S33,该历史温度值为测量到的该模拟计算单元的在历史不同时刻所对应的温度值,如果历史温度值大部分偏高则可以设置较少数量的电路单元,如果历史温度值大部分偏低则可以相对来说设置较多数量的电路单元,对于预测温度值也是类似的处理方式。至于具体设置多少可以根据映射表中的映射关系来确定,因为在映射表中对于不同的温度值可以对应不同的电路单元的数量,具体映射关系可以根据实际情况进行相应的设置。Through the above steps S31 to S33, the historical temperature value is the measured temperature value of the analog computing unit at different historical times. If the historical temperature value is mostly high, a smaller number of circuit units can be set. If If the historical temperature value is mostly low, a relatively large number of circuit units can be set, and the predicted temperature value is handled in a similar manner. The specific setting can be determined according to the mapping relationship in the mapping table, because different temperature values in the mapping table can correspond to different numbers of circuit units, and the specific mapping relationship can be set according to the actual situation.
在本申请的再一个实施例中提供了一种片上结构,如图4所示,该片上结构包括:模拟计算单元42、电路单元44、温度传感器46和控制器48;控制器48与模拟计算单元42、电路单元44以及温度传感器46分别连接;其中,In yet another embodiment of the present application, an on-chip structure is provided, as shown in FIG. 4 , the on-chip structure includes: an
温度传感器46,用于采集模拟计算单元42的温度,其中,该温度包括以下至少一项:模拟计算单元的温度、电路单元的温度;The
控制器48,用于获取温度传感器46采集到的模拟计算单元42的温度,并根据温度与预设温度范围的比较结果控制模拟计算单元42和电路单元44的运行状态。The
需要说明的是,本申请实施例中涉及到的模拟计算单元可以是:模拟器件包括电阻、电容、电感、二极管、三极管、模拟放大器、D/A、A/D、模拟信号调节器、集成稳压电路、传感器、音视频电路等。It should be noted that the analog computing units involved in the embodiments of the present application may be: analog devices including resistors, capacitors, inductors, diodes, transistors, analog amplifiers, D/A, A/D, analog signal conditioners, integrated stabilizers Voltage circuits, sensors, audio and video circuits, etc.
可选地,在模拟计算单元的数量为多个的情况下,本申请实施例中的控制器48,还用于在获取温度传感器采集到的模拟计算单元的温度之前获取每一个模拟计算单元的第一温度值,其中,第一温度值包括以下至少之一:历史温度值、预测温度值;以及,Optionally, when the number of analog computing units is multiple, the
本申请实施例中的控制器48,还用于根据第一温度值与映射表确定每一个模拟计算单元所需的电路单元的数量;其中,映射表用于指示第一温度值与所需的电路单元的数量之间的映射关系。The
可选地,在模拟计算单元在包括一个温度传感器的第二范围内的情况下,模拟计算单元的温度为温度传感器所采集的温度;在模拟计算单元在包括多个温度传感器的第二范围内的情况下,模拟计算单元的温度为多个温度传感器所采集温度的平均值。Optionally, when the analog computing unit is within the second range including one temperature sensor, the temperature of the analog computing unit is the temperature collected by the temperature sensor; when the analog computing unit is within the second range including a plurality of temperature sensors In the case of , the temperature of the analog computing unit is the average value of the temperatures collected by multiple temperature sensors.
可选地,对于本申请实施例中的控制器根据温度与预设温度范围的比较结果控制模拟计算单元和电路单元的运行状态的方式,进一步可以是:在温度在预设温度范围内的情况下,控制器维持模拟计算单元和电路单元的当前运行状态;在温度超过预设温度范围内的最高温度的情况下,控制器控制模拟计算单元和电路单元停止运行;在温度低于预设温度范围内的最低温度的情况下,控制器根据模拟计算单元是否需要启动运行控制模拟计算单元和电路单元的运行状态。Optionally, as for the way in which the controller in the embodiment of the present application controls the operation state of the analog computing unit and the circuit unit according to the comparison result between the temperature and the preset temperature range, it may further be: when the temperature is within the preset temperature range. When the temperature exceeds the maximum temperature within the preset temperature range, the controller controls the analog computing unit and the circuit unit to stop running; when the temperature is lower than the preset temperature In the case of the lowest temperature within the range, the controller controls the operation state of the simulation calculation unit and the circuit unit according to whether the simulation calculation unit needs to start the operation.
其中,对于控制器根据模拟计算单元是否需要启动运行控制模拟计算单元和电路单元的运行状态的方式,进一步可以是:控制器判断模拟计算单元是否需要启动运行;在模拟计算单元需要启动运行的情况下,控制器控制模拟计算单元启动运行,并控制计算单元运行;在模拟计算单元不需要启动运行的情况下,控制器维持模拟计算单元和电路单元的当前运行状态。Wherein, as for the way that the controller controls the operation state of the simulation calculation unit and the circuit unit according to whether the simulation calculation unit needs to start operation, the controller may further judge whether the simulation calculation unit needs to start operation; in the case that the simulation calculation unit needs to start operation The controller controls the simulation computing unit to start running, and controls the computing unit to run; when the simulation computing unit does not need to start running, the controller maintains the current operating state of the simulation computing unit and the circuit unit.
需要说明的是,本申请实施例中的电路单元设置在包括模拟计算单元的第一范围内;温度传感器设置在片上结构的第一目标位置上;其中,温度传感器用于采集温度;其中,温度包括以下至少一项:模拟计算单元的温度、电路单元的温度。It should be noted that the circuit unit in the embodiment of the present application is arranged in the first range including the analog computing unit; the temperature sensor is arranged at the first target position of the on-chip structure; wherein, the temperature sensor is used to collect temperature; wherein, the temperature It includes at least one of the following: the temperature of the analog computing unit and the temperature of the circuit unit.
由于温度传感器可以采集包括第一目标位置的第二范围内的模拟计算单元的温度,即一个温度传感器可以采集多个模拟计算单元的温度,这样可以不用为每一个模拟计算单元配置一个温度传感器。如图5所示,以片上结构包括8个模拟计算单元为例,且1个温度传感器对应1个模拟计算单元;如图6所示,以片上结构包括8个模拟计算单元为例,且每2个模拟计算单元对应1个温度传感器,也就是说,1个温度传感器可以采集所对应的2个模拟计算单元的温度;如图7所示,1个温度传感器可以采集周围的4个模拟计算单元的温度值,这其中虚拟框中左边的2个模拟计算单元的温度被2个温度传感器(第一温度传感器和第二温度传感器)采集,而虚拟框中右边的2个模拟计算单元的温度也被2个温度传感器(第二温度传感器和第三温度传感器)采集;因此,这2个模拟计算单元的温度值,则是这2个温度传感器所采集的温度的平均值。Since the temperature sensor can collect the temperature of the analog computing units in the second range including the first target position, that is, one temperature sensor can collect the temperature of multiple analog computing units, it is not necessary to configure a temperature sensor for each analog computing unit. As shown in Figure 5, the on-chip structure includes 8 analog computing units as an example, and one temperature sensor corresponds to one analog computing unit; as shown in Figure 6, the on-chip structure includes 8 analog computing units as an example, and each 2 analog computing units correspond to 1 temperature sensor, that is to say, 1 temperature sensor can collect the temperature of the corresponding 2 analog computing units; as shown in Figure 7, 1 temperature sensor can collect the surrounding 4 analog computing units The temperature value of the unit, in which the temperature of the 2 analog computing units on the left of the virtual box is collected by 2 temperature sensors (the first temperature sensor and the second temperature sensor), and the temperature of the 2 analog computing units on the right side of the virtual box is collected. It is also collected by two temperature sensors (the second temperature sensor and the third temperature sensor); therefore, the temperature values of the two analog computing units are the average values of the temperatures collected by the two temperature sensors.
可选地,在模拟计算单元的数量为多个的情况下,在包括模拟计算单元的第一范围内设置至少一个电路单元;其中,至少一个电路单元所对应的数量根据模拟计算单元的第一温度值与映射表确定;第一温度值包括以下至少之一:历史温度值、预测温度值,映射表用于指示温度取值范围所对应的所需的电路单元的数量。也就是说,不同的模拟计算单元的电路单元的数量可以不同,如图8和图9所示。需要说明的是,图8和图9仅仅是举例说明,在本申请实施例的其他可选实施方式中,可以根据实际情况确定相应电路单元的数量。Optionally, when the number of analog computing units is multiple, at least one circuit unit is set in the first range including the analog computing unit; wherein, the number corresponding to the at least one circuit unit is based on the first The temperature value is determined with a mapping table; the first temperature value includes at least one of the following: a historical temperature value and a predicted temperature value, and the mapping table is used to indicate the number of required circuit units corresponding to the temperature value range. That is, the number of circuit units of different analog computing units may be different, as shown in FIG. 8 and FIG. 9 . It should be noted that FIG. 8 and FIG. 9 are only examples, and in other optional implementation manners of the embodiments of the present application, the number of corresponding circuit units may be determined according to actual conditions.
在本申请实施例的另一个可选实施方式中,还提供了一种片上结构的布局装置,其中,如图4所示,该片上结构包括:模拟计算单元、电路单元和温度传感器;模拟计算单元设置在片上结构的第二目标位置上;基于此,本申请实施例中的装置如图10所示,包括:In another optional implementation manner of the embodiment of the present application, an on-chip structure layout device is also provided, wherein, as shown in FIG. 4 , the on-chip structure includes: an analog computing unit, a circuit unit, and a temperature sensor; The unit is arranged on the second target position of the on-chip structure; based on this, the device in the embodiment of the present application is shown in FIG. 10 and includes:
第一确定模块102,用于确定在包括模拟计算单元的第一范围内设置电路单元;a first determining
第二确定模块104,用于确定在片上结构的第一目标位置设置温度传感器;其中,温度传感器用于采集包括第一目标位置的第二范围内的模拟计算单元的温度。The
可选地,在模拟计算单元的数量为多个的情况下,所述第一确定模块102包括:获取单元,用于获取每一个模拟计算单元的第一温度值,其中,第一温度值包括以下至少之一:历史温度值、预测温度值;第一确定单元,用于根据第一温度值与映射表确定每一个模拟计算单元所需的电路单元的数量;其中,映射表用于指示第一温度值与所需的电路单元的数量之间的映射关系;第二确定单元,用于确定所述电路单元设置在包括模拟计算单元的第一范围内。Optionally, when the number of simulation computing units is multiple, the
可选地,在本申请实施例中的片上结构还包括控制器的情况下,本申请实施例中的装置如图11所示,该装置还可以包括:第三确定模块106,用于确定控制器与模拟计算单元、电路单元以及温度传感器分别连接,其中,控制器根据温度与预设温度范围的比较结果控制模拟计算单元和电路单元的运行状态。Optionally, in the case where the on-chip structure in this embodiment of the present application further includes a controller, the apparatus in this embodiment of the present application is shown in FIG. 11 , and the apparatus may further include: a
可选的,本申请实施例还提供一种电子设备,包括处理器,存储器,存储在存储器上并可在所述处理器上运行的程序或指令,该程序或指令被处理器执行时实现上述对片上结构的温度控制方法,或片上结构的布局方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, an embodiment of the present application further provides an electronic device, including a processor, a memory, a program or an instruction stored in the memory and executable on the processor, and the program or instruction is executed by the processor to implement the above. The various processes of the embodiments of the temperature control method of the on-chip structure or the layout method of the on-chip structure can achieve the same technical effect, and are not repeated here to avoid repetition.
需要注意的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the aforementioned mobile electronic devices and non-mobile electronic devices.
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述片上结构的温度控制方法,或片上结构的布局方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the above temperature control method of the on-chip structure or the layout method of the on-chip structure is implemented Each process of the embodiment can achieve the same technical effect, and to avoid repetition, it will not be repeated here.
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Wherein, the processor is the processor in the electronic device described in the foregoing embodiments. The readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
显然,本领域的技术人员应该明白,上述的本申请的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本申请不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that the above-mentioned modules or steps of the present application can be implemented by a general-purpose computing device, and they can be centralized on a single computing device, or distributed in a network composed of multiple computing devices Alternatively, they may be implemented in program code executable by a computing device, such that they may be stored in a storage device and executed by the computing device, and in some cases, in a different order than here The steps shown or described are performed either by fabricating them separately into individual integrated circuit modules, or by fabricating multiple modules or steps of them into a single integrated circuit module. As such, the present application is not limited to any particular combination of hardware and software.
以上所述仅为本申请的优选实施例而已,并不用于限制本申请,对于本领域的技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above descriptions are only preferred embodiments of the present application, and are not intended to limit the present application. For those skilled in the art, the present application may have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this application shall be included within the protection scope of this application.
Claims (15)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011312225.2A CN112416587B (en) | 2020-11-20 | Temperature control method of on-chip structure and layout method of on-chip structure | |
PCT/CN2021/130002 WO2022105664A1 (en) | 2020-11-20 | 2021-11-11 | Computing system and operation method therefor, and electronic device and computer-readable medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011312225.2A CN112416587B (en) | 2020-11-20 | Temperature control method of on-chip structure and layout method of on-chip structure |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112416587A true CN112416587A (en) | 2021-02-26 |
CN112416587B CN112416587B (en) | 2025-07-25 |
Family
ID=
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022105664A1 (en) * | 2020-11-20 | 2022-05-27 | 北京灵汐科技有限公司 | Computing system and operation method therefor, and electronic device and computer-readable medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103514011A (en) * | 2012-06-21 | 2014-01-15 | 苹果公司 | Thermal control apparatus and methodology |
CN104871110A (en) * | 2012-12-21 | 2015-08-26 | 瑞萨电子株式会社 | Semiconductor device and method for controlling same |
CN107768366A (en) * | 2017-11-23 | 2018-03-06 | 广东金源照明科技股份有限公司 | A kind of COB encapsulation for filling Thermal protection IC and its method for packing |
CN108614756A (en) * | 2016-12-12 | 2018-10-02 | 中国航空工业集团公司西安航空计算技术研究所 | FC-AE-ASM protocol processing chips with temp monitoring function |
CN110275558A (en) * | 2019-06-27 | 2019-09-24 | 北京淳中科技股份有限公司 | A kind of method, apparatus of chip controls, equipment and medium |
CN110581920A (en) * | 2019-07-22 | 2019-12-17 | 珠海格力电器股份有限公司 | Equipment operation mode control method and device |
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103514011A (en) * | 2012-06-21 | 2014-01-15 | 苹果公司 | Thermal control apparatus and methodology |
CN104871110A (en) * | 2012-12-21 | 2015-08-26 | 瑞萨电子株式会社 | Semiconductor device and method for controlling same |
CN108614756A (en) * | 2016-12-12 | 2018-10-02 | 中国航空工业集团公司西安航空计算技术研究所 | FC-AE-ASM protocol processing chips with temp monitoring function |
CN107768366A (en) * | 2017-11-23 | 2018-03-06 | 广东金源照明科技股份有限公司 | A kind of COB encapsulation for filling Thermal protection IC and its method for packing |
CN110275558A (en) * | 2019-06-27 | 2019-09-24 | 北京淳中科技股份有限公司 | A kind of method, apparatus of chip controls, equipment and medium |
CN110581920A (en) * | 2019-07-22 | 2019-12-17 | 珠海格力电器股份有限公司 | Equipment operation mode control method and device |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022105664A1 (en) * | 2020-11-20 | 2022-05-27 | 北京灵汐科技有限公司 | Computing system and operation method therefor, and electronic device and computer-readable medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111398766B (en) | Method and system for online monitoring of IGBT module health status | |
CN117688001B (en) | Vehicle-mounted nitrogen oxide monitoring data processing method, system, device and medium | |
CN118520719A (en) | Multi-field coupling simulation method and system for thermo-electric-force-concentration field of electronic device | |
CN114168318A (en) | Training method for storage release model, storage release method and device | |
CN116360566A (en) | Fan speed regulating method, device, computer equipment, storage medium and program product | |
CN104871027A (en) | Method for calibrating a current sensor | |
CN112416587A (en) | On-chip structure temperature control method and on-chip structure layout method | |
CN115754603A (en) | Data correction method, device, device, storage medium and computer program product | |
CN119720921A (en) | A fan heat dissipation adjustment method and control device | |
CN119005350A (en) | Device parameter adjustment method and device, electronic equipment and storage medium | |
CN111679600B (en) | Comparison method of control system, control terminal and computer readable storage medium | |
CN112416587B (en) | Temperature control method of on-chip structure and layout method of on-chip structure | |
CN109407793B (en) | Temperature control method, related device and readable storage medium | |
CN118520756A (en) | Method, device, equipment and medium for predicting total heat dissipation capacity in temperature regulation stage | |
CN117849693A (en) | Smart electric meter monitoring method and device, electronic equipment and storage medium | |
CN109185209A (en) | A kind of rotation speed of the fan method of adjustment and device | |
CN116127246A (en) | On-line evaluation method, device, equipment and storage medium for health degree of cooling components | |
CN111274096B (en) | A multi-I2C channel temperature monitoring module and server | |
CN115291028A (en) | Method and device for improving prediction precision of external field life of aluminum electrolytic capacitor | |
CN109901011B (en) | Method and system for determining capacity reduction coefficient of fuse | |
JP6974131B2 (en) | Estimator and method | |
TWI799287B (en) | Sound power estimation method and sound power estimation system | |
CN112446109A (en) | Calibration method and device for fuel injection pressure of engine | |
CN115604974A (en) | Temperature adjusting device and method and computing equipment | |
CN117686888B (en) | Three-temperature test method, device, equipment and medium for semiconductor chip |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant |