{"id":37899,"date":"2021-12-06T08:00:03","date_gmt":"2021-12-06T16:00:03","guid":{"rendered":"https:\/\/phisonblog.com\/?p=37899"},"modified":"2022-06-14T08:11:15","modified_gmt":"2022-06-14T15:11:15","slug":"phisons-smartrefresh-2","status":"publish","type":"post","link":"https:\/\/phisonblog.com\/de\/phisons-smartrefresh-2\/","title":{"rendered":"NAND Flash 101: Phisons SmartRefresh\u2122"},"content":{"rendered":"<p>[et_pb_section fb_built=&#8221;1&#8243; _builder_version=&#8221;4.9.1&#8243; _module_preset=&#8221;default&#8221; custom_margin=&#8221;0px||||false|false&#8221; custom_padding=&#8221;0px||||false|false&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_row _builder_version=&#8221;4.9.1&#8243; _module_preset=&#8221;default&#8221; width=&#8221;100%&#8221; max_width=&#8221;100%&#8221; custom_margin=&#8221;||||false|false&#8221; custom_padding=&#8221;0px||||false|false&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.9.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_text _builder_version=&#8221;4.14.4&#8243; _module_preset=&#8221;default&#8221; ul_line_height=&#8221;1.7em&#8221; ol_line_height=&#8221;1.7em&#8221; hover_enabled=&#8221;0&#8243; global_colors_info=&#8221;{}&#8221; sticky_enabled=&#8221;0&#8243;]<\/p>\n<p><\/p>\n<p>The role that Solid State Drives (SSDs) play in the storage market is becoming more and more critical. And because of the tremendous advantages SSDs have over traditional Hard Disk Drives (HDDs), SSDs will soon become the mainstream storage solution.<\/p>\n<p>The adoption of SSD is related to the process evolution of NAND flash. Like other semiconductor products, the NAND flash chip unit cost will be significantly reduced by reducing the processing node. Flash memory is also mainly driven by transistor scaling and multi-level cell (MLC) technology. More than one bit can be stored in a single flash cell. Unfortunately, due to the physical characteristics of NAND flash, the reliability will become worse with the scaling down of transistors and the increase of data bits in a single flash cell. Technologies have been developed to cover these side effects.<\/p>\n<p>&nbsp;<\/p>\n<div class=\"banner_wrapper\" style=\"height: 83px;\"><div class=\"banner  banner-34182 bottom vert custom-banners-theme-default_style\" style=\"\"><img decoding=\"async\" width=\"1080\" height=\"150\" src=\"https:\/\/phisonblog.com\/wp-content\/uploads\/2021\/09\/Video-Phison-\u2013-A-Leader-in-NAND-Flash-Controller-IC.jpg\" class=\"attachment-full size-full\" alt=\"\" style=\"height: 83px;\" srcset=\"https:\/\/phisonblog.com\/wp-content\/uploads\/2021\/09\/Video-Phison-\u2013-A-Leader-in-NAND-Flash-Controller-IC.jpg 1080w, https:\/\/phisonblog.com\/wp-content\/uploads\/2021\/09\/Video-Phison-\u2013-A-Leader-in-NAND-Flash-Controller-IC-300x42.jpg 300w, https:\/\/phisonblog.com\/wp-content\/uploads\/2021\/09\/Video-Phison-\u2013-A-Leader-in-NAND-Flash-Controller-IC-1024x142.jpg 1024w, https:\/\/phisonblog.com\/wp-content\/uploads\/2021\/09\/Video-Phison-\u2013-A-Leader-in-NAND-Flash-Controller-IC-768x107.jpg 768w, https:\/\/phisonblog.com\/wp-content\/uploads\/2021\/09\/Video-Phison-\u2013-A-Leader-in-NAND-Flash-Controller-IC-18x3.jpg 18w, https:\/\/phisonblog.com\/wp-content\/uploads\/2021\/09\/Video-Phison-\u2013-A-Leader-in-NAND-Flash-Controller-IC-610x85.jpg 610w, https:\/\/phisonblog.com\/wp-content\/uploads\/2021\/09\/Video-Phison-\u2013-A-Leader-in-NAND-Flash-Controller-IC-980x136.jpg 980w, https:\/\/phisonblog.com\/wp-content\/uploads\/2021\/09\/Video-Phison-\u2013-A-Leader-in-NAND-Flash-Controller-IC-480x67.jpg 480w\" sizes=\"(max-width: 1080px) 100vw, 1080px\" \/><a class=\"custom_banners_big_link\"  href=\"https:\/\/phisonblog.com\/about-phison-a-leader-in-nand-flash-controller-ic-2\/\"><\/a><div class=\"banner_caption\" style=\"\"><div class=\"banner_caption_inner\"><div class=\"banner_caption_text\" style=\"\">View Video: Phison \u2013 A Leader in NAND Flash Controller IC<\/div><\/div><\/div><\/div><\/div>\n<h3>\u00a0<\/h3>\n<h3>Read disturb error<\/h3>\n<p>NAND flash memory consists of millions of transistors (MOSFET). Each MOSFET can be regarded as a memory cell. These memory cells store data through a threshold voltage (Vth), the lowest voltage able to &#8220;switch on&#8221; the memory cell.<\/p>\n<p>&nbsp;<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-37907 size-full\" src=\"https:\/\/phisonblog.com\/wp-content\/uploads\/2021\/11\/1139807_PHISONSSDControllerWP_SmartRefreshv10_01_081321.jpg\" alt=\"\" width=\"1920\" height=\"1200\" srcset=\"https:\/\/phisonblog.com\/wp-content\/uploads\/2021\/11\/1139807_PHISONSSDControllerWP_SmartRefreshv10_01_081321.jpg 1920w, https:\/\/phisonblog.com\/wp-content\/uploads\/2021\/11\/1139807_PHISONSSDControllerWP_SmartRefreshv10_01_081321-1280x800.jpg 1280w, https:\/\/phisonblog.com\/wp-content\/uploads\/2021\/11\/1139807_PHISONSSDControllerWP_SmartRefreshv10_01_081321-980x613.jpg 980w, https:\/\/phisonblog.com\/wp-content\/uploads\/2021\/11\/1139807_PHISONSSDControllerWP_SmartRefreshv10_01_081321-480x300.jpg 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) and (max-width: 1280px) 1280px, (min-width: 1281px) 1920px, 100vw\" \/><\/p>\n<p>Taking 2-bit MLC NAND as an example, there are four states of data in 2-bit MLC NAND. Three reference voltages (e.g., V1, V2, and V3) that divide the entire range of possible Vth values into these four segments. The region that Vth locates indicates the memory cell&#8217;s current state, which is used to identify what data has been stored in the memory cell. An upper boundary of all memory cells&#8217; threshold voltage exists, called a pass-through voltage (Vpass). Vpass is the voltage required to guarantee a memory cell will be switched &#8220;on.&#8221;<\/p>\n<p>A NAND flash block can be regarded as an array of many transistors. A simple read operation on NAND flash memory is performed by applying a reference voltage (Vref) to the wordline (WL) and then checking the switch ON\/OFF status of the selected cell on this WL. Memory cells on the same bitline (BL) are connected with their neighboring cells. Since the cell targeted to be read is just one of them, other unselected cells have to keep their &#8220;ON&#8221; status to make sure the status of the selected cell can be sensed. Therefore, a pass-through (Vpass) must be applied to other unselected cells on the same BL.<\/p>\n<p>&nbsp;<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-37902 size-full\" src=\"https:\/\/phisonblog.com\/wp-content\/uploads\/2021\/11\/1139807_PHISONSSDControllerWP_SmartRefreshv10_02_081321.jpg\" alt=\"\" width=\"1920\" height=\"1200\" srcset=\"https:\/\/phisonblog.com\/wp-content\/uploads\/2021\/11\/1139807_PHISONSSDControllerWP_SmartRefreshv10_02_081321.jpg 1920w, https:\/\/phisonblog.com\/wp-content\/uploads\/2021\/11\/1139807_PHISONSSDControllerWP_SmartRefreshv10_02_081321-1280x800.jpg 1280w, https:\/\/phisonblog.com\/wp-content\/uploads\/2021\/11\/1139807_PHISONSSDControllerWP_SmartRefreshv10_02_081321-980x613.jpg 980w, https:\/\/phisonblog.com\/wp-content\/uploads\/2021\/11\/1139807_PHISONSSDControllerWP_SmartRefreshv10_02_081321-480x300.jpg 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) and (max-width: 1280px) 1280px, (min-width: 1281px) 1920px, 100vw\" \/><\/p>\n<p>In this way, the threshold voltages of other unselected cells in the same block are shifted to a higher value when a read data operation is performed.<\/p>\n<p>&nbsp;<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-37903 size-full\" src=\"https:\/\/phisonblog.com\/wp-content\/uploads\/2021\/11\/1139807_PHISONSSDControllerWP_SmartRefreshv10_03_081321.jpg\" alt=\"\" width=\"1920\" height=\"1200\" srcset=\"https:\/\/phisonblog.com\/wp-content\/uploads\/2021\/11\/1139807_PHISONSSDControllerWP_SmartRefreshv10_03_081321.jpg 1920w, https:\/\/phisonblog.com\/wp-content\/uploads\/2021\/11\/1139807_PHISONSSDControllerWP_SmartRefreshv10_03_081321-1280x800.jpg 1280w, https:\/\/phisonblog.com\/wp-content\/uploads\/2021\/11\/1139807_PHISONSSDControllerWP_SmartRefreshv10_03_081321-980x613.jpg 980w, https:\/\/phisonblog.com\/wp-content\/uploads\/2021\/11\/1139807_PHISONSSDControllerWP_SmartRefreshv10_03_081321-480x300.jpg 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) and (max-width: 1280px) 1280px, (min-width: 1281px) 1920px, 100vw\" \/><\/p>\n<p>The statuses of unselected memory cells in the same block may be affected because of the Vpass. When a pass-through voltage is applied to the unselected transistors, electrical charges may be injected into the floating gate due to a tunneling effect called a Fowler-Nordheim Tunneling. This effect will cause the shift of threshold voltages of transistors and then result in unacceptable data distortion.<\/p>\n<p>&nbsp;<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-37904 size-full\" src=\"https:\/\/phisonblog.com\/wp-content\/uploads\/2021\/11\/1139807_PHISONSSDControllerWP_SmartRefreshv10_04_081321.jpg\" alt=\"\" width=\"1920\" height=\"1200\" srcset=\"https:\/\/phisonblog.com\/wp-content\/uploads\/2021\/11\/1139807_PHISONSSDControllerWP_SmartRefreshv10_04_081321.jpg 1920w, https:\/\/phisonblog.com\/wp-content\/uploads\/2021\/11\/1139807_PHISONSSDControllerWP_SmartRefreshv10_04_081321-1280x800.jpg 1280w, https:\/\/phisonblog.com\/wp-content\/uploads\/2021\/11\/1139807_PHISONSSDControllerWP_SmartRefreshv10_04_081321-980x613.jpg 980w, https:\/\/phisonblog.com\/wp-content\/uploads\/2021\/11\/1139807_PHISONSSDControllerWP_SmartRefreshv10_04_081321-480x300.jpg 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) and (max-width: 1280px) 1280px, (min-width: 1281px) 1920px, 100vw\" \/><\/p>\n<h3>Retention error in NAND flash<\/h3>\n<p>Some users write files onto an SSD but do not access them for a long time. Some errors can be detected in these old files. This kind of error is caused by charge leakage over time. This phenomenon is similar to the root cause of a &#8220;read disturb&#8221;. The charges existing in the transistors determine the threshold voltage level of the memory cell. With the scaling reduction of NAND flash, the size of the threshold voltage window also becomes smaller and smaller. This down-scaling trend raises the probability of threshold voltage level shift due to the retention noise. However, the integrity of rarely accessed data still needs to be guaranteed.<\/p>\n<h3>\u00a0<\/h3>\n<h3>Phison&#8217;s SmartRefresh\u2122 technology<\/h3>\n<p>To protect the data stored in an SSD, Phison developed a proprietary technology called <a href=\"https:\/\/www.phison.com\/en\/technologies\/ftl\" target=\"_blank\" rel=\"noopener\">SmartRefresh\u2122<\/a> that uses two primary methodologies:<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\n<li>Dynamic Error Bit Monitoring (DEBM)<\/li>\n<li>Read Retry<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<p>With the reduction of process scaling, the intrinsic reliability of NAND flash becomes an issue. Error Correction Code (ECC) capability has become one of the most critical topics in the NAND flash industry. Unfortunately, no matter what kind of ECC algorithm is used, there must be a theoretical limitation of its correction capability. If errors can be reduced or avoided before the ECC engine is triggered, the possibility that the ECC engine cannot recover user data is lowered. Dynamic Error Bit Monitoring (DEBM) is a mechanism used for checking the data health status before any data corruption occurs.<\/p>\n<p>&nbsp;<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-37905 size-full\" src=\"https:\/\/phisonblog.com\/wp-content\/uploads\/2021\/11\/1139807_PHISONSSDControllerWP_SmartRefreshv10_05_081321.jpg\" alt=\"\" width=\"1920\" height=\"1200\" srcset=\"https:\/\/phisonblog.com\/wp-content\/uploads\/2021\/11\/1139807_PHISONSSDControllerWP_SmartRefreshv10_05_081321.jpg 1920w, https:\/\/phisonblog.com\/wp-content\/uploads\/2021\/11\/1139807_PHISONSSDControllerWP_SmartRefreshv10_05_081321-1280x800.jpg 1280w, https:\/\/phisonblog.com\/wp-content\/uploads\/2021\/11\/1139807_PHISONSSDControllerWP_SmartRefreshv10_05_081321-980x613.jpg 980w, https:\/\/phisonblog.com\/wp-content\/uploads\/2021\/11\/1139807_PHISONSSDControllerWP_SmartRefreshv10_05_081321-480x300.jpg 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) and (max-width: 1280px) 1280px, (min-width: 1281px) 1920px, 100vw\" \/><\/p>\n<p>Phison&#8217;s embedded firmware runs in the background to check the error bit of each block. Once there is a block fail within the criteria set by our firmware (i.e., the number of error bits is over the threshold decided in advance), the firmware performs specific actions on this failed block to guarantee the integrity of user data.<\/p>\n<p>&nbsp;<\/p>\n<h3>Read retry<\/h3>\n<p>Another way to get correct data from a problematic NAND block is to select different voltage levels to perform data interpretation. Fig.1 illustrates a read operation on a 2-bit MLC NAND flash and the threshold voltage (Vth) used to interpret stored data. Phison&#8217;s firmware uses proper voltage levels to analyze the data if the current targeted block has been identified as risky. The reliability of the data retrieved by using this methodology depends on the selection of Vth. Phison&#8217;s proprietary algorithm determines the best Vth value based on the health evaluation of NAND blocks.<\/p>\n<h3>\u00a0<\/h3>\n<h3>Idle-Time Media Scan (ITMS)<\/h3>\n<p>The previously mentioned methodologies can be regarded as a preventive measure and a corrective action, respectively. SmartRefresh\u2122 is a technology that combines these two methodologies to protect user data from unwanted errors due to the physical characteristics of NAND flash. This mechanism is divided into two stages.<br \/>Stage one is the Idle-Time Media Scan (ITMS). ITMS is triggered when the Host has entered an IDLE status. Once ITMS is activated, the ITMS is divided into many ITMS cycles, and numbers of sectors are scanned within each ITMS cycle<\/p>\n<p>&nbsp;<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-37906 size-full\" src=\"https:\/\/phisonblog.com\/wp-content\/uploads\/2021\/11\/1139807_PHISONSSDControllerWP_SmartRefreshv10_06_081321.jpg\" alt=\"\" width=\"1920\" height=\"1200\" srcset=\"https:\/\/phisonblog.com\/wp-content\/uploads\/2021\/11\/1139807_PHISONSSDControllerWP_SmartRefreshv10_06_081321.jpg 1920w, https:\/\/phisonblog.com\/wp-content\/uploads\/2021\/11\/1139807_PHISONSSDControllerWP_SmartRefreshv10_06_081321-1280x800.jpg 1280w, https:\/\/phisonblog.com\/wp-content\/uploads\/2021\/11\/1139807_PHISONSSDControllerWP_SmartRefreshv10_06_081321-980x613.jpg 980w, https:\/\/phisonblog.com\/wp-content\/uploads\/2021\/11\/1139807_PHISONSSDControllerWP_SmartRefreshv10_06_081321-480x300.jpg 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) and (max-width: 1280px) 1280px, (min-width: 1281px) 1920px, 100vw\" \/><\/p>\n<p>ITMS is a mechanism used to detect if the scanned blocks are healthy after DEBM and Read Retry operations are performed. If any block is identified as an unhealthy block, the valid data inside the unhealthy block is processed appropriately to avoid data loss. Since ITMS utilizes the duration that a Host has entered an IDLE mode to check the health status of stored data, it can be interrupted whenever the Host sends commands to a drive. In this case, ITMS will be stopped, and the next ITMS cycle will launch from an address that has not been checked in the last ITMS cycle.<\/p>\n<h3>\u00a0<\/h3>\n<h3>Run-Time Media Scan (RTMS)<\/h3>\n<p>Stage two is the Run-Time Media Scan (RTMS). In contrast to ITMS, the timing to perform RTMS is not limited to IDLE mode. RTMS guarantees that the entire drive is scanned entirely in a specific period (e.g., once every week) even though the Host keeps sending commands to a drive. In other words, RTMS is designed to ensure the data integrity of drives used for processing long-term tasks.<\/p>\n<h3>\u00a0<\/h3>\n<h3>Phison ensures the integrity of your data<\/h3>\n<p>Phison&#8217;s proprietary technology, SmartRefresh\u2122, offers a reliable mechanism to ensure data integrity, including multiple layers of actions to protect user data stored on an SSD. By adopting Phison&#8217;s SmartRefresh\u2122 solution, you can avoid the errors caused by the intrinsic characteristics of NAND flash.<\/p>\n<p>&nbsp;<\/p>\n<div class=\"banner_wrapper\" style=\"height: 83px;\"><div class=\"banner  banner-37566 bottom vert custom-banners-theme-default_style\" style=\"\"><img decoding=\"async\" width=\"1080\" height=\"150\" src=\"https:\/\/phisonblog.com\/wp-content\/uploads\/2021\/10\/Phison-Second-Generation-Pro-Gaming-SSD-Is-the-Real-Deal.jpg\" class=\"attachment-full size-full\" alt=\"\" style=\"height: 83px;\" srcset=\"https:\/\/phisonblog.com\/wp-content\/uploads\/2021\/10\/Phison-Second-Generation-Pro-Gaming-SSD-Is-the-Real-Deal.jpg 1080w, https:\/\/phisonblog.com\/wp-content\/uploads\/2021\/10\/Phison-Second-Generation-Pro-Gaming-SSD-Is-the-Real-Deal-980x136.jpg 980w, https:\/\/phisonblog.com\/wp-content\/uploads\/2021\/10\/Phison-Second-Generation-Pro-Gaming-SSD-Is-the-Real-Deal-480x67.jpg 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1080px, 100vw\" \/><a class=\"custom_banners_big_link\" href=\"https:\/\/phisonblog.com\/the-evolution-of-mobile-nand-flash-memory-storage-2\/\"><\/a><div class=\"banner_caption\" style=\"\"><div class=\"banner_caption_inner\"><div class=\"banner_caption_text\" style=\"\">Read:  The Evolution of Mobile NAND Flash Memory Storage<\/div><\/div><\/div><\/div><\/div>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The role that Solid State Drives (SSDs) play in the storage market is becoming more and more critical. And because of the tremendous advantages SSDs have over traditional Hard Disk Drives (HDDs), SSDs will soon become the mainstream storage solution. The adoption of SSD is related to the process evolution of NAND flash. Like other [&hellip;]<\/p>\n","protected":false},"author":12,"featured_media":37970,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_et_pb_use_builder":"on","_et_pb_old_content":"","_et_gb_content_width":"","inline_featured_image":false,"footnotes":""},"categories":[23,37,8],"tags":[22],"class_list":["post-37899","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-all-posts","category-nand-flash-101","category-technology","tag-long-content"],"acf":[],"_links":{"self":[{"href":"https:\/\/phisonblog.com\/de\/wp-json\/wp\/v2\/posts\/37899","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/phisonblog.com\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/phisonblog.com\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/phisonblog.com\/de\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/phisonblog.com\/de\/wp-json\/wp\/v2\/comments?post=37899"}],"version-history":[{"count":1,"href":"https:\/\/phisonblog.com\/de\/wp-json\/wp\/v2\/posts\/37899\/revisions"}],"predecessor-version":[{"id":43065,"href":"https:\/\/phisonblog.com\/de\/wp-json\/wp\/v2\/posts\/37899\/revisions\/43065"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/phisonblog.com\/de\/wp-json\/wp\/v2\/media\/37970"}],"wp:attachment":[{"href":"https:\/\/phisonblog.com\/de\/wp-json\/wp\/v2\/media?parent=37899"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/phisonblog.com\/de\/wp-json\/wp\/v2\/categories?post=37899"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/phisonblog.com\/de\/wp-json\/wp\/v2\/tags?post=37899"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}