End-side memory combination device, electronic equipment and mobile terminal
By setting up GDDR and SoC connection on the mobile phone circuit board, the data transmission bandwidth and capacity are increased, and the problem of low data transmission speed of LPDDR of the mobile phone SOC chip is solved. Efficient data processing and low power consumption are achieved, which meets the needs of mobile phones running large languages. model requirements.
Patent Information
- Application Number
- CN202420391678.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-29
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2034-02-28
AI Technical Summary
The LPDDR data transmission speed of existing mobile phone SOC chips is too low to meet the high bandwidth and capacity requirements of large end-side models, resulting in reduced data processing efficiency.
Set up the graphics card's double-rate synchronous dynamic random access memory GDDR on the circuit board, and connect it to the SoC through GDDRPHY to increase data transmission bandwidth and capacity, and combine it with low-power DDR to reduce energy consumption when high bandwidth is not needed.
It achieves an improvement in SoC data transmission bandwidth and input capacity, improves data processing efficiency, meets the needs of mobile phones to run large language models, and has the advantages of high bandwidth, large capacity, low cost and miniaturization.
Smart Images

Figure CN221927116U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of memory, and in particular to a terminal side memory combination device, electronic equipment and a mobile terminal. Background Art
[0002] With the rise of Chat GPT, large models on the end are considered a development trend, with the advantages of easy user experience and privacy security. The demand on the end: on the one hand, the computing power of the chip needs to be improved, and on the other hand, the memory bandwidth and capacity requirements of large models are important. For example, a 7B model requires 3.5GB of memory capacity and 62.5GBps-157.5GBps.
[0003] Due to the space limitations, bandwidth and capacity requirements of mobile phone products, SOC chips are usually paired with LPDDR particles in PoP packaging. The current LPDDR data transmission speed is too low, resulting in reduced data processing efficiency, and it is difficult to meet the data transmission requirements of large models on the terminal side. Summary of the invention
[0004] The utility model aims to solve one of the technical problems in the related art at least to a certain extent.
[0005] Therefore, the first object of the present invention is to provide an end-side memory combination device.
[0006] The second objective of the present invention is to provide an electronic device.
[0007] The third objective of the present invention is to provide a vehicle.
[0008] To achieve the above-mentioned purpose, the first embodiment of the present invention provides a terminal side memory combination device, including:
[0009] Circuit boards;
[0010] A system on chip (SoC) disposed on the circuit board;
[0011] A graphics card double data rate synchronous dynamic random access memory GDDR is arranged on the circuit board, and the GDDR is connected to the SoC through the circuit board.
[0012] Optionally, the GDDR is connected to the SoC via a graphics card double data rate physical layer GDDRPHY.
[0013] Optionally, the device further includes: a double data rate synchronous dynamic random access memory DDR arranged on top of the SoC.
[0014] Optionally, the DDR is directly connected to the SoC.
[0015] Optionally, the device further includes: a DDR arranged on the circuit board.
[0016] Optionally, the DDR is connected to the SoC via a double data rate physical layer DDRPHY.
[0017] Optionally, the GDDR is disposed on top of the SoC and is directly connected to the SoC.
[0018] Optionally, the DDR is a low power DDR.
[0019] To achieve the above-mentioned purpose, the second embodiment of the present invention provides an electronic device, comprising: a terminal side memory combination device as described in any one of the first aspects;
[0020] To achieve the above-mentioned purpose, a third aspect of the present invention provides a mobile terminal, comprising: a terminal-side memory combination device as described in any one of the first aspects.
[0021] To achieve the above-mentioned purpose, a fifth aspect of the present invention provides a computer program product, which implements any one of the methods in the first aspect when executed by a processor.
[0022] The end-side memory combination method, device, electronic device and storage medium provided by the utility model realize the improvement of SoC data transmission bandwidth and input capacity by connecting the GDDR additionally arranged on the circuit board with the SoC, avoids the problem of reduced data processing efficiency due to too low data transmission speed, and improves the efficiency of data processing.
[0023] Additional aspects and advantages of the present invention will be given in part in the following description and in part will become apparent from the following description or will be learned through the practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:
[0025] Figure 1 A schematic diagram of the structure of a terminal side memory combination device provided by an embodiment of the utility model;
[0026] Figure 2 A schematic diagram of the structure of a terminal side memory combination device provided by an embodiment of the utility model;
[0027] Figure 3 A schematic diagram of the structure of a terminal side memory combination device provided by an embodiment of the utility model;
[0028] Figure 4A schematic diagram of the structure of a terminal side memory combination device provided by an embodiment of the utility model;
[0029] Figure 5 A schematic structural diagram of an end-side memory combination device provided in an embodiment of the utility model.
[0030] Explanation of the reference numerals: circuit board 10, system on chip SoC20, graphics card double data rate synchronous dynamic random access memory GDDR30, graphics card double data rate physical layer GDDRPHY40, double data rate synchronous dynamic random access memory DDR50, DDR through double data rate physical layer DDRPHY60. DETAILED DESCRIPTION
[0031] The embodiments of the present invention are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.
[0032] With the rise of Chat GPT, large models on the end are considered a development trend, with the advantages of easy user experience and privacy security. The demand on the end: on the one hand, the computing power of the chip needs to be improved, and on the other hand, the memory bandwidth and capacity requirements of large models are important. For example, a 7B model requires 3.5GB of memory capacity and 62.5GBps-157.5GBps.
[0033] Due to the space limitations, bandwidth and capacity requirements of mobile phone products, SOC chips are usually paired with low-power double data rate synchronous dynamic random access memory (LPDDR) particles in PoP packaging. The current LPDDR has difficulty in meeting the needs of large language models (LLM).
[0034] To solve this problem, the present invention provides a terminal side memory combination device. Figure 1 This is a schematic diagram of the structure of a terminal side memory combination device provided by an embodiment of the utility model. Figure 1 As shown, the device comprises:
[0035] Circuit board 10;
[0036] A system on chip SoC20 provided on the circuit board;
[0037] A graphics card double data rate synchronous dynamic random access memory GDDR30 is arranged on the circuit board, and the GDDR is connected to the SoC20 through the circuit board 10.
[0038] In this embodiment, in order to meet the large bandwidth requirements, large AI chips are usually equipped with high-bandwidth memory (HBM) and HBM requires 2.5D packaging. Medium-scale reasoning or graphics card applications use graphics card double data rate synchronous dynamic random access memory (GDDR). GDDR costs less than HBM, does not require 2.5D packaging, and can be used on printed circuit boards (PCBs).
[0039] HBM and GDDR have not yet appeared on the mobile phone side; a potential solution is to add a separate AI / NPU chip in addition to the SOC chip. HBM and other forms are high in price, have requirements for packaging, and have a great impact on the chip architecture, which are currently difficult for mobile phones to accept.
[0040] The most typical application of Large Language Model (LLM) is ChatGPT, which is implemented through cloud training and reasoning. In fact, considering privacy security, cost, online requirements, etc., running LLM applications offline on the end has always been a strong demand. The main technical bottleneck of running LLM on the end is insufficient DDR bandwidth. As of now, the theoretical bandwidth of the mainstream flagship SOC platform is 76.8GB / s (9600Gbps*64bit). The actual simulation of the above conversation shows that the bandwidth utilization rate reaches 100% and it has become a very obvious performance bottleneck, affecting the experience.
[0041] The technical difficulty in achieving high bandwidth for mobile phones and PAD devices is that compared with servers, they have a very strong demand for miniaturization. Traditional solutions cannot simultaneously meet their needs for miniaturization, low power consumption, high bandwidth, large capacity, and low cost.
[0042] The LPDDR DRAM used in traditional mobile phone SOCs (or PADs) is generally implemented by POP (Package On Package, i.e. DDR is attached to the top of SOC) stacking in flagship SOCs. The current highest specification is LPDDR5xTurbo, which has a capacity of 32GB and a bandwidth of only 76.8GB / s.
[0043] Wide-IO DRAM used in camera devices has a theoretical bandwidth of 128GB / s / die, but its capacity generally does not exceed 512MB, which is far from meeting the needs of mobile phones.
[0044] HBM used in server equipment has a yield and output that are greatly affected by the use of through-silicon via technology for 3D stacking, resulting in its cost per GB being more than five times that of LPDDR. It is currently only used in high-speed computing and is difficult to use in mobile consumer electronics. In addition, HBM's power consumption is also several times that of LPDDR, which is unacceptable for mobile phones with a battery life of 1,000 mAh.
[0045] In this embodiment, in order to meet the data transmission speed and data capacity required for running a large language model on a mobile phone, GDDR30 is installed on the mobile phone for the mobile phone's SoC20 to transmit data. GDDR30 and SoC20 are interconnected through a circuit board 10 for bidirectional data transmission, thereby improving the data transmission capacity and the data processing capacity of SoC20.
[0046] Optionally, SoC20 is a neural network processor (Neural Network Processing Unit, NPU), which uses circuits to simulate human neurons and synaptic structures. Storage and processing are integrated in the neural network, and are reflected through synaptic weights. The instructions directly deal with the processing of large-scale neurons and synapses. One instruction can complete the processing of a group of neurons, and provides a series of special support for the transmission of neuron and synaptic data on the chip.
[0047] Figure 2 This is a schematic diagram of the structure of a terminal side memory combination device provided by an embodiment of the utility model. Figure 2 As shown, the GDDR is connected to the SoC 20 via a graphics card double data rate physical layer GDDRPHY40.
[0048] In this embodiment, a double data rate physical layer (Double Data Rate Physical Layer, GDDRPHY) is an interface technology used for data transmission.
[0049] In a computer system, GDDRPHY40 is used to connect the memory controller (DDRController) in the SoC20 on the motherboard and DDR (double data rate synchronous dynamic random access memory). The main function of GDDRPHY40 is to coordinate the data transmission between the memory controller and DDR SDRAM. It is responsible for converting the data sent by the DDR Controller into signals that comply with the DDR protocol and sending them to the DDR particles; conversely, it is also responsible for converting the data sent by the DRAM into signals that comply with the DFI protocol and sending them to the memory controller.
[0050] GDDRPHY40 improves the data transmission rate by adopting double data rate technology. It can perform data transmission twice in one clock cycle, thus achieving effective data transmission speed improvement. GDDRPHY40 can also improve the efficiency of data transmission by using pre-fetch technology, and achieve high-speed and high-bandwidth data transmission by improving data transmission rate and efficiency.
[0051] Figure 3 This is a schematic diagram of the structure of a terminal side memory combination device provided by an embodiment of the utility model. Figure 3 As shown, the device also includes: a double rate synchronous dynamic random access memory DDR50 arranged on the top of the SoC.
[0052] In this embodiment, in addition to the graphics card DDR30 specially prepared for large language model data transmission, DDR50 is also set to provide data transmission services for the mobile phone to process daily tasks. The capacity and data transmission speed of DDR50 are lower than those of the graphics card DDR30. When the mobile phone does not run a large language model, the data transmission speed and data capacity required by SoC20 are relatively low. Therefore, in this scenario, only DDR50 and SoC20 need to be used for data interaction, which can effectively reduce energy consumption and improve the battery life of the mobile phone.
[0053] Optionally, the DDR50 is directly connected to the SoC20.
[0054] In this embodiment, SoC+DDR is installed through a stacking assembly (Packaging on Packaging, PoP) solution. PoP is a packaging method that uses two or more BGAs (Ball Grid Array Packages) stacked together. Generally, the PoP stacked packaging structure uses a BGA solder ball structure to integrate high-density digital or mixed-signal logic devices at the bottom of the PoP package, meeting the multi-pin characteristics of the logic device. As a new type of highly integrated packaging form, PoP effectively reduces the volume of electronic devices and is conducive to the miniaturization of terminals.
[0055] Figure 4 This is a schematic diagram of the structure of a terminal side memory combination device provided by an embodiment of the utility model. Figure 4 As shown, the device further includes: a DDR50 arranged on the circuit board 10 .
[0056] In this embodiment, in addition to being stacked on the SoC 20 , the DDR 50 can also be directly mounted on the circuit board 10 and connected to the SoC 20 through the circuit board.
[0057] Figure 5 This is a schematic diagram of the structure of a terminal side memory combination device provided by an embodiment of the utility model. Figure 5As shown, the DDR is connected to the SoC 20 via a double data rate physical layer DDR PHY 60 .
[0058] Optionally, the GDDR50 is disposed on the top of the SoC20 and is directly connected to the SoC20.
[0059] In this embodiment, GDDR50 is set on the top of SoC20 through the PoP solution, and can communicate directly with SoC20, thereby improving the efficiency of data transmission.
[0060] Optionally, the DDR is a low power DDR.
[0061] The solution in this embodiment can meet the above requirements of high bandwidth, large capacity, low cost and low implementation cost, and has the following advantages:
[0062] 1. In terms of bandwidth, the bandwidth of 32-bit GDDR6x devices is up to 96GB / s. By properly adjusting the number of bits, a bandwidth of 200GB / s can be easily achieved, which is sufficient for mobile phone LLM applications;
[0063] 2. In terms of capacity, the capacity density is basically the same as LPDDR, and a single die can be 16Gb, and the capacity can easily reach 4GB;
[0064] 3. In terms of power consumption, although the power consumption of GDDR6 is about twice that of LPDDR5x, we have decoupled the usage scenarios and isolated traditional services from LLM services, so the impact on the overall battery life can be effectively controlled;
[0065] 4. More cost advantages;
[0066] 5. Easy to implement, with minimal impact on the existing SOC chip architecture and mobile phone architecture. It only requires adding GDDRPHY to the chip and mounting GDDR particles on the mobile phone PCB motherboard.
[0067] In order to implement the above embodiments, the present utility model further proposes an electronic device, including: the device as described in any one of the above embodiments.
[0068] In order to implement the above embodiments, the present invention further proposes a mobile terminal, comprising: the device as described in any one of the above embodiments.
[0069] The collection, storage, use, processing, transmission, provision and disclosure of user personal information involved in this utility model shall comply with the provisions of relevant laws and regulations and shall not violate public order and good morals.
[0070] It should be noted that personal information from users should be collected for legitimate and reasonable purposes and should not be shared or sold outside of these legitimate uses. In addition, such collection / sharing should be carried out after receiving the user's informed consent, including but not limited to notifying the user to read the user agreement / user notice and sign the agreement / authorization including authorization of relevant user information before the user uses the function. In addition, any necessary steps should be taken to protect and safeguard access to such personal information data and ensure that others who have access to personal information data comply with its privacy policy and procedures.
[0071] The utility model is expected to provide an implementation scheme for users to selectively block the use or access of personal information data. That is, the disclosure is expected to provide hardware and / or software to prevent or block access to such personal information data. Once the personal information data is no longer needed, the risk can be minimized by limiting data collection and deleting the data. In addition, when applicable, personal identification is removed from such personal information to protect the privacy of the user.
[0072] In the description of the aforementioned embodiments, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the utility model. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.
[0073] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present utility model, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0074] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code that includes one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present invention includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present invention belong.
[0075] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute the instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purpose of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.
[0076] It should be understood that the various parts of the utility model can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0077] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.
[0078] In addition, each functional unit in each embodiment of the utility model can be integrated into a processing module, or each unit can exist physically separately, or two or more units can be integrated into one module. The above-mentioned integrated module can be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium.
[0079] The storage medium mentioned above may be a read-only memory, a disk or an optical disk, etc. Although the embodiments of the present invention have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present invention. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present invention.
Claims
1. A terminal side memory combination device, characterized in that: include: Circuit boards; A system on chip (SoC) disposed on the circuit board; A graphics card double data rate synchronous dynamic random access memory GDDR is arranged on the circuit board, and the GDDR is connected to the SoC through the circuit board.
2. The device according to claim 1, characterized in that The GDDR is connected to the SoC via a graphics card double data rate physical layer GDDRPHY.
3. The device according to claim 2, characterized in that The device further comprises: a double data rate synchronous dynamic random access memory DDR arranged on top of the SoC.
4. The device according to claim 3, characterized in that The DDR is directly connected to the SoC.
5. The device according to claim 2, characterized in that The device further includes: a DDR arranged on the circuit board.
6. The device according to claim 5, characterized in that The DDR is connected to the SoC via a double data rate physical layer DDRPHY.
7. The device according to claim 1, characterized in that The GDDR is disposed on the top of the SoC and is directly connected to the SoC.
8. The device according to any one of claims 3 to 7, characterized in that: The DDR is a low power consumption DDR.
9. An electronic device, characterized in that: It comprises an end-side memory combination device as described in any one of claims 1-8.
10. A mobile terminal, characterized in that: include: An end-side memory combination device as described in any one of claims 1-8.
