The invention discloses a hard disk detection device and method. It involves the hard disk management technology, and solves the problem that it is impossible to judge whether the hard disk is in place. The device includes: a first voltage sampling point, a second voltage sampling point and a comparator, which takes the first voltage sampling point and the second voltage sampling point as input; a Precharge Pin connected to the hard disk position by the first voltage sampling point; and a first voltage sampling point connected to the first standard voltage dividing point. A second standard voltage divider is connected, and the second standard voltage divider is larger than the first standard voltage divider; when the Precharge Pin has a hard disk connection, the voltage of the first voltage sampling point is in-situ voltage, and the second standard voltage divider is less than the in-situ voltage. The technical scheme provided by the invention is suitable for in-situ detection of SATA hard disk, and realizes in-situ detection of hard disk without PRSNT signal.
【技术实现步骤摘要】
一种硬盘检测装置和方法
本专利技术涉及存储硬盘管理技术,尤指一种硬盘检测装置和方法。
技术介绍
随着服务器行业的高速发展,对硬盘存储的要求也越来越高,所以SATA硬盘开始广泛应用在服务器行业。根据客户的需求,当使用SATA硬盘时,需要获取硬盘的在位状态,即判断硬盘是否物理在位。目前,已有的SATA硬盘在位检测方案是通过硬盘的GNDpin实现的。如图1所示,在其中一个GNDpin通过电阻上拉到3.3Vpower,并给到controller芯片。当硬盘不在位时,该信号为高电平,当接入硬盘时,该信号被硬盘的GND拉到低电平,controller芯片由此来判断硬盘是否在位。但是,已有方案存在一定的弊端,如果硬盘连接器内部所有的GNDpin全部连在一起,则该方案就无法判断硬盘是否在位。
技术实现思路
为了解决上述技术问题,本专利技术提供了一种硬盘检测装置和方法。通过添加比较器和作为参考的第二电压采样点,进行准确的硬盘在位情况检测,解决了无法判断硬盘是否在位的问题。为了达到本专利技术目的,本专利技术提供了一种硬盘检测装置,包括第一电压采样点、第二电压采样点和比较器,所述比较器以所述第一电压采样点及所述第二电压采样点作为输入;所述第一电压采样点连接至硬盘位的硬盘预充电引脚(PrechargePin);所述第一电压采样点还连接有第一标准分压电压,所述第二电压采样点连接有第二标准分压电压,所述第二标准分压电压大于所述第一标准分压电压;在所述PrechargePin有硬盘连接时,所述第一电压采样点的电压值为在位电压,所述第二标准分压电压小于所述在位电压。优选的,该装置还包括第一分 ...
【技术保护点】
1.一种硬盘检测装置,其特征在于,包括第一电压采样点、第二电压采样点和比较器,所述比较器以所述第一电压采样点及所述第二电压采样点作为输入;所述第一电压采样点连接至硬盘位的硬盘预充电引脚Precharge Pin;所述第一电压采样点还连接有第一标准分压电压,所述第二电压采样点连接有第二标准分压电压,所述第二标准分压电压大于所述第一标准分压电压;在所述Precharge Pin有硬盘连接时,所述第一电压采样点的电压值为在位电压,所述第二标准分压电压小于所述在位电压。
【技术特征摘要】
1.一种硬盘检测装置,其特征在于,包括第一电压采样点、第二电压采样点和比较器,所述比较器以所述第一电压采样点及所述第二电压采样点作为输入;所述第一电压采样点连接至硬盘位的硬盘预充电引脚PrechargePin;所述第一电压采样点还连接有第一标准分压电压,所述第二电压采样点连接有第二标准分压电压,所述第二标准分压电压大于所述第一标准分压电压;在所述PrechargePin有硬盘连接时,所述第一电压采样点的电压值为在位电压,所述第二标准分压电压小于所述在位电压。2.根据权利要求1所述的硬盘检测装置,其特征在于,该装置还包括第一分压电路;所述第一分压电路包含串联的第一电阻、第二电阻和第三电阻,所述第一分压电路第一电阻侧接入标准电压,所述第三电阻两侧加有在位电压;所述第二电阻为预充电电阻;所述第一电压采样点接入至所述第一电阻和所述第二电阻的中间点。3.根据权利要求1或2所述的硬盘检测装置,其特征在于,该装置还包括第二分压电...
【专利技术属性】
技术研发人员:高超,王栋,
申请(专利权)人:郑州云海信息技术有限公司,
类型:发明
国别省市:河南,41
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。