CN113886306B - 一种bbu备电时nvme硬盘控制系统及方法 - Google Patents

一种bbu备电时nvme硬盘控制系统及方法 Download PDF

Info

Publication number
CN113886306B
CN113886306B CN202111159582.4A CN202111159582A CN113886306B CN 113886306 B CN113886306 B CN 113886306B CN 202111159582 A CN202111159582 A CN 202111159582A CN 113886306 B CN113886306 B CN 113886306B
Authority
CN
China
Prior art keywords
hard disk
nvme hard
power
expander
bbu
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.)
Active
Application number
CN202111159582.4A
Other languages
English (en)
Other versions
CN113886306A (zh
Inventor
董术永
徐强
高阳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202111159582.4A priority Critical patent/CN113886306B/zh
Publication of CN113886306A publication Critical patent/CN113886306A/zh
Application granted granted Critical
Publication of CN113886306B publication Critical patent/CN113886306B/zh
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4204Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus
    • G06F13/4221Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus being an input/output bus, e.g. ISA bus, EISA bus, PCI bus, SCSI bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4004Coupling between buses
    • G06F13/4009Coupling between buses with data restructuring
    • G06F13/4018Coupling between buses with data restructuring with data-width conversion
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4004Coupling between buses
    • G06F13/4022Coupling between buses using switching circuits, e.g. switching matrix, connection or expansion network
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0673Single storage device
    • G06F3/0674Disk device
    • G06F3/0676Magnetic disk device
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Mathematical Physics (AREA)
  • Human Computer Interaction (AREA)
  • Power Sources (AREA)

Abstract

本发明公开了一种BBU备电时NVME硬盘控制系统及方法;控制系统包括PCIE Switch芯片,NVME硬盘的在位信号接口、复位信号接口及电源使能信号接口通过IO扩展器接到所述PCIE Switch芯片;NVME硬盘的在位信号接口与所述IO扩展器之间设有由CPLD芯片控制闭合和断开的开关;NVME硬盘的在位信号接口与所述IO扩展器之间外部设有上拉电阻;AC电源的Power Good信号接入CPLD芯片,用于触发BBU备电流程。本发明解决了BBU备电时NVME硬盘识别不到的问题,方法简单、实现方便,能够提高产品的稳定性。

Description

一种BBU备电时NVME硬盘控制系统及方法
技术领域
本发明涉及BBU备电控制技术领域,尤其涉及一种BBU备电时NVME硬盘控制系统及方法。
背景技术
在全闪统一存储系统中,在AC电源突然断开时,需要进行BBU备电流程,防止数据丢失。一般AC电源断开5秒后才进入BBU备电流程,如果在5秒内恢复AC电源则应能正常工作。在有些设计中如果5秒内恢复AC电源会出现NVME硬盘识别不到的情况。
发明内容
本发明的目的就是为了解决上述问题,提供一种BBU备电时NVME硬盘控制系统及方法,解决了BBU备电时NVME硬盘识别不到的问题,方法简单、实现方便,能够提高产品的稳定性。
为了实现上述目的,本发明采用如下技术方案:
一种BBU备电时NVME硬盘控制系统,包括PCIE Switch芯片,NVME硬盘的在位信号接口、复位信号接口及电源使能信号接口通过IO扩展器接到所述PCIE Switch芯片;
NVME硬盘的在位信号接口与所述IO扩展器之间设有由CPLD芯片控制闭合和断开的开关;
NVME硬盘的在位信号接口与所述IO扩展器之间外部设有上拉电阻;
AC电源的Power Good信号接入CPLD芯片,用于触发BBU备电流程。
所述NVME硬盘的在位信号接口通过IO扩展器的IO expander1接口与所述PCIESwitch芯片连接。
所述NVME硬盘的复位信号接口通过IO扩展器的IO expander2接口与所述PCIESwitch芯片连接。
所述NVME硬盘的电源使能信号接口通过IO扩展器的IO expander3接口与所述PCIE Switch芯片连接。
所述IO扩展器与所述PCIE Switch芯片之间通过I2C总线连接。
采用所述一种BBU备电时NVME硬盘控制系统的控制方法,包括:
插入AC电源后,CPLD控制所述开关闭合,PCIE Switch芯片检测到NVME硬盘在位信号,NVME硬盘被识别到;
当CPLD芯片检测到AC电源的Power Good信号消失时,PCIE Switch芯片检测到NVME硬盘不在位;设定时间内恢复AC电源时,NVME硬盘恢复供电,CPLD芯片检测到AC电源的Power Good信号,控制所述开关闭合,检测NVME硬盘为在位,NVME硬盘再次被识别到。
插入AC电源后,CPLD控制所述开关闭合,IO扩展器的GPIO电平被NVME硬盘内部下拉电阻拉低,PCIE Switch芯片通过IO扩展器检测到NVME硬盘在位信号,再通过IO扩展器发出电源使能信号和复位信号,NVME硬盘被识别到。
当CPLD芯片检测到AC电源的Power Good信号消失时,触发BBU备电流程,NVME硬盘掉电,CPLD芯片控制所述开关断开,此时IO扩展器的GPIO电平被外部上拉电阻拉高,PCIESwitch芯片检测到NVME硬盘不在位。
设定时间内恢复AC电源时,NVME硬盘恢复供电,CPLD芯片检测到AC电源的PowerGood信号,控制所述开关闭合,IO扩展器的GPIO被NVME硬盘重新拉低,NVME硬盘检测为在位,通过IO扩展器再次发出电源使能信号和复位信号,此时NVME硬盘重新被识别到。
所述设定时间为5s。
本发明的有益效果:
BBU备电时NVME硬盘可以被识别,方法简单、实现方便,能够提高产品的稳定性。
附图说明
图1为本发明的控制系统图;
图2为本发明的控制方法图。
具体实施方式
下面结合附图与实施例对本发明作进一步说明。
如图1所示,一种BBU备电时NVME硬盘控制系统,NVME硬盘的在位信号接口、复位信号接口、电源使能信号接口通过IO expander(IO扩展器)接到PCIE Switch芯片。
NVME硬盘的在位信号接口与IO expander1接口之间通过开关连接,开关由CPLD控制闭合、断开,正常开机时开关默认闭合;IO expander1外部有上拉电阻。
NVME硬盘的复位信号接口通过IO扩展器的IO expander2接口与PCIE Switch芯片连接。
NVME硬盘的电源使能信号接口通过IO扩展器的IO expander3接口与PCIE Switch芯片连接。
IO expander与PCIE Switch芯片之间通过I2C总线连接。
AC电源的Power Good信号接到CPLD,用于触发BBU备电流程。
采用一种BBU备电时NVME硬盘控制系统的控制方法,包括:
插入AC电源后,CPLD芯片控制开关闭合,IO expander1的GPIO电平被NVME硬盘内部下拉电阻拉低,PCIE Switch芯片通过IO expander1检测到NVME硬盘在位信号,通过IOexpander2和IO expander3发出电源使能信号和复位信号,此时NVME硬盘可以被识别到;
当CPLD芯片检测到AC电源的Power Good信号消失时,触发BBU备电流程,此时NVME硬盘会掉电,CPLD芯片控制开关断开,此时IO expander1的GPIO电平被外部上拉电阻拉高,PCIE switch通过IO expander1检测到NVME硬盘不在位;
如果5秒内恢复AC电源,此时NVME硬盘恢复供电,CPLD芯片检测到AC电源的PowerGood信号,控制开关闭合,IO expander1的GPIO被NVME硬盘重新拉低,检测为在位,通过IOexpander2和IO expander3再次发出电源使能信号和复位信号,此时NVME硬盘可以重新被识别到。
上述虽然结合附图对本发明的具体实施方式进行了描述,但并非对本发明保护范围的限制,所属领域技术人员应该明白,在本发明的技术方案的基础上,本领域技术人员不需要付出创造性劳动即可做出的各种修改或变形仍在本发明的保护范围以内。

Claims (9)

1.一种BBU备电时NVME硬盘控制系统,其特征是,包括PCIE Switch芯片,NVME硬盘的在位信号接口、复位信号接口及电源使能信号接口通过IO扩展器接到所述PCIE Switch芯片;
NVME硬盘的在位信号接口与所述IO扩展器之间设有由CPLD芯片控制闭合和断开的开关;
NVME硬盘的在位信号接口与所述IO扩展器之间外部设有上拉电阻;
AC电源的Power Good信号接入CPLD芯片,用于触发BBU备电流程;
其中,
插入AC电源后,CPLD控制所述开关闭合,PCIE Switch芯片检测到NVME硬盘在位信号,NVME硬盘被识别到;
当CPLD芯片检测到AC电源的Power Good信号消失时,PCIE Switch芯片检测到NVME硬盘不在位;设定时间内恢复AC电源时,NVME硬盘恢复供电,CPLD芯片检测到AC电源的PowerGood信号,控制所述开关闭合,检测NVME硬盘为在位,NVME硬盘再次被识别到;
插入AC电源后,CPLD控制所述开关闭合,IO扩展器的GPIO电平被NVME硬盘内部下拉电阻拉低,PCIE Switch芯片通过IO扩展器检测到NVME硬盘在位信号,再通过IO扩展器发出电源使能信号和复位信号,NVME硬盘被识别到。
2.如权利要求1所述一种BBU备电时NVME硬盘控制系统,其特征是,所述NVME硬盘的在位信号接口通过IO扩展器的IO expander1接口与所述PCIE Switch芯片连接。
3.如权利要求1所述一种BBU备电时NVME硬盘控制系统,其特征是,所述NVME硬盘的复位信号接口通过IO扩展器的IO expander2接口与所述PCIE Switch芯片连接。
4.如权利要求1所述一种BBU备电时NVME硬盘控制系统,其特征是,所述NVME硬盘的电源使能信号接口通过IO扩展器的IO expander3接口与所述PCIE Switch芯片连接。
5.如权利要求1-4任意一项所述一种BBU备电时NVME硬盘控制系统,其特征是,所述IO扩展器与所述PCIE Switch芯片之间通过I2C总线连接。
6.采用权利要求1所述一种BBU备电时NVME硬盘控制系统的控制方法,其特征是,包括:
插入AC电源后,CPLD控制所述开关闭合,PCIE Switch芯片检测到NVME硬盘在位信号,NVME硬盘被识别到;
当CPLD芯片检测到AC电源的Power Good信号消失时,PCIE Switch芯片检测到NVME硬盘不在位;设定时间内恢复AC电源时,NVME硬盘恢复供电,CPLD芯片检测到AC电源的PowerGood信号,控制所述开关闭合,检测NVME硬盘为在位,NVME硬盘再次被识别到;
插入AC电源后,CPLD控制所述开关闭合,IO扩展器的GPIO电平被NVME硬盘内部下拉电阻拉低,PCIE Switch芯片通过IO扩展器检测到NVME硬盘在位信号,再通过IO扩展器发出电源使能信号和复位信号,NVME硬盘被识别到。
7.如权利要求6所述一种BBU备电时NVME硬盘控制系统的控制方法,其特征是,当CPLD芯片检测到AC电源的Power Good信号消失时,触发BBU备电流程,NVME硬盘掉电,CPLD芯片控制所述开关断开,此时IO扩展器的GPIO电平被外部上拉电阻拉高,PCIE Switch芯片检测到NVME硬盘不在位。
8.如权利要求6所述一种BBU备电时NVME硬盘控制系统的控制方法,其特征是,设定时间内恢复AC电源时,NVME硬盘恢复供电,CPLD芯片检测到AC电源的Power Good信号,控制所述开关闭合,IO扩展器的GPIO被NVME硬盘重新拉低,NVME硬盘检测为在位,通过IO扩展器再次发出电源使能信号和复位信号,此时NVME硬盘重新被识别到。
9.如权利要求6所述一种BBU备电时NVME硬盘控制系统的控制方法,其特征是,所述设定时间为5s。
CN202111159582.4A 2021-09-30 2021-09-30 一种bbu备电时nvme硬盘控制系统及方法 Active CN113886306B (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111159582.4A CN113886306B (zh) 2021-09-30 2021-09-30 一种bbu备电时nvme硬盘控制系统及方法

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111159582.4A CN113886306B (zh) 2021-09-30 2021-09-30 一种bbu备电时nvme硬盘控制系统及方法

Publications (2)

Publication Number Publication Date
CN113886306A CN113886306A (zh) 2022-01-04
CN113886306B true CN113886306B (zh) 2023-09-01

Family

ID=79004726

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111159582.4A Active CN113886306B (zh) 2021-09-30 2021-09-30 一种bbu备电时nvme硬盘控制系统及方法

Country Status (1)

Country Link
CN (1) CN113886306B (zh)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107885686A (zh) * 2017-12-01 2018-04-06 郑州云海信息技术有限公司 一种采用bmc控制单个硬盘重启的系统及方法

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107885686A (zh) * 2017-12-01 2018-04-06 郑州云海信息技术有限公司 一种采用bmc控制单个硬盘重启的系统及方法

Also Published As

Publication number Publication date
CN113886306A (zh) 2022-01-04

Similar Documents

Publication Publication Date Title
US8502414B2 (en) Power saving apparatus and power saving method thereof
US8150539B2 (en) Information processing apparatus and method for controlling power supply of the apparatus
US6274949B1 (en) Back-up power accessory for a computer
CN102156679A (zh) 一种基于pcie接口的固态硬盘掉电保护方法及装置
CN102778943A (zh) 状态控制方法、装置及便携终端
CN202013570U (zh) 一种基于pcie接口的固态硬盘掉电保护装置
CN110244830A (zh) 一种用于硬盘上电的控制电路及其控制方法
CN105807885B (zh) 一种掉电保护方法及装置
CN203982116U (zh) 一种电子设备的开关机控制电路
US20150052390A1 (en) Apparatus and Method for Microprocessor File System Protection
CN102882267A (zh) 供电装置、电子设备和供电方法
CN103970248A (zh) 电源管理电路与方法以及计算机系统
WO2011160572A1 (zh) 一种通过通用串行总线接口充电的方法和装置
CN104951416A (zh) 通用串行总线集线器、其控制模块以及其控制方法
CN103905756A (zh) 一种电视机故障处理装置及电视机
CN201444667U (zh) 一种usb供电保护电路及应用该电路的电视机
CN106325463B (zh) 一种usb外设的省电控制系统及其方法
EP3876382A1 (en) Charging control circuit, charging circuit and charging control method
CN111968694A (zh) 一种数据保护装置、存储设备及存储系统
CN113886306B (zh) 一种bbu备电时nvme硬盘控制系统及方法
US20040243826A1 (en) Computer data protection control device
US20150149677A1 (en) Hot plugging system and method
CN108491052B (zh) 一种热插拔风扇自恢复的方法
WO2014015838A1 (zh) 供电电路与供电方法
CN201174769Y (zh) 无线通信模块电源管理器

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
GR01 Patent grant