WO2023045248A1 - Detection apparatus for power supply voltage of hard disk - Google Patents

Detection apparatus for power supply voltage of hard disk Download PDF

Info

Publication number
WO2023045248A1
WO2023045248A1 PCT/CN2022/078184 CN2022078184W WO2023045248A1 WO 2023045248 A1 WO2023045248 A1 WO 2023045248A1 CN 2022078184 W CN2022078184 W CN 2022078184W WO 2023045248 A1 WO2023045248 A1 WO 2023045248A1
Authority
WO
WIPO (PCT)
Prior art keywords
target
power supply
hard disk
signal
module
Prior art date
Application number
PCT/CN2022/078184
Other languages
French (fr)
Chinese (zh)
Inventor
葛志华
Original Assignee
苏州浪潮智能科技有限公司
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 苏州浪潮智能科技有限公司 filed Critical 苏州浪潮智能科技有限公司
Publication of WO2023045248A1 publication Critical patent/WO2023045248A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/28Supervision thereof, e.g. detecting power-supply failure by out of limits supervision

Definitions

  • the present application relates to the technical field of servers, in particular to a detection device for a hard disk power supply voltage.
  • the hard disk is usually powered by the hard disk backplane, and the power supply of the hard disk backplane to the hard disk directly affects the running status of the hard disk. If the power supply voltage of the hard disk fluctuates beyond the preset range, it will cause a system failure.
  • a general E-fuse is usually added to the front of the power connector of the hard disk backplane, and then, through the BMC (Baseboard Management Controller, baseboard management controller) To read the voltage of the E-fuse to determine the power supply voltage provided by the backplane for the hard disk. Since this method can only detect the total power supply voltage of the backplane to the hard disk, it cannot detect the power supply voltage of the backplane to each hard disk.
  • BMC Baseboard Management Controller, baseboard management controller
  • the purpose of the present application is to provide a detection device for the power supply voltage of the hard disk, so as to reduce the manufacturing cost required in the detection process of the power supply voltage of the hard disk.
  • the specific plan is as follows:
  • a detection device for a hard disk supply voltage comprising:
  • a voltage dividing module connected to the target hard disk, configured to divide the power supply voltage of the target hard disk to obtain a target voltage
  • the PWM module arranged in the target integrated chip is used to generate the target PWM signal
  • a filter module connected to the PWM module, configured to filter the target PWM signal to obtain a triangular filter signal
  • a differential comparison module disposed in the target integrated chip, configured to perform a differential comparison between the target voltage and the triangular filter signal to obtain a differential comparison signal;
  • a data processing module disposed in the target integrated chip, configured to determine the target power supply data of the target hard disk according to the duty cycle of the differential comparison signal and the target PWM signal, and detect the target power supply data according to the target power supply data. Check whether the power supply voltage of the target hard disk is abnormal.
  • the BMC connected to the data processing module is configured to obtain abnormal power supply data in the target power supply data, and provide a corresponding fault analysis report according to the abnormal power supply data.
  • the display connected to the BMC is used to display the abnormal power supply data, and generate an abnormal graph from the abnormal power supply data.
  • the memory provided in the BMC is used for storing the abnormal power supply data.
  • the alarm set in the BMC is used for prompting early warning information when the BMC acquires the abnormal power supply data.
  • the duty cycle of the target PWM signal changes linearly and periodically from 0-100%-0.
  • the target voltage and the triangular filter signal can be flexibly swapped at the input terminal of the differential comparison module.
  • the filtering module is specifically a low-pass filter.
  • the bandpass of the low-pass filter is smaller than the frequency of the target PWM signal.
  • the target integrated chip is specifically a CPLD.
  • V_HDD V_oh ⁇ D_dat ⁇ R_d
  • V_HDD is the power supply voltage of the target hard disk
  • V_oh is the value corresponding to the high level output signal of the pin of the target integrated chip
  • D_dat is the duty cycle of the target PWM signal
  • R_d is the divided voltage The attenuation ratio of the module.
  • the target integrated chip is set in a backplane for supplying power to the target hard disk.
  • the detection device for detecting the hard disk power supply voltage is composed of a voltage divider module, a filter module, and a differential comparison module, a PWM module, and a data processing module in the existing target integrated chip of the backplane.
  • the voltage dividing module is used to divide the power supply voltage of the target hard disk to obtain the target voltage.
  • the PWM module is used to generate the target PWM signal
  • the filter module is used to filter the target PWM signal to obtain a triangular filter signal.
  • the differential comparison module is used to perform differential comparison between the target voltage and the triangular filter signal to obtain a differential comparison signal.
  • the data processing module determines the target power supply data of the target hard disk according to the duty cycle of the differential comparison signal and the target PWM signal, and detects whether the power supply voltage of the target hard disk is abnormal according to the target power supply data.
  • FIG. 1 is a structural diagram of a detection device for a hard disk supply voltage provided by an embodiment of the present application
  • FIG. 2 is a structural diagram of another detection device for a hard disk supply voltage provided by an embodiment of the present application.
  • FIG. 1 is a structural diagram of a detection device for a hard disk supply voltage provided in an embodiment of the present application.
  • the detection device includes:
  • a voltage divider module 11 connected to the target hard disk is used to divide the power supply voltage of the target hard disk to obtain the target voltage;
  • the PWM module 12 arranged in the target integrated chip is used to generate the target PWM signal
  • the filter module 13 connected with the PWM module 12 is used to filter the target PWM signal to obtain a triangular filter signal
  • the differential comparison module 14 arranged in the target integrated chip is used for differential comparison of the target voltage and the triangular filter signal to obtain a differential comparison signal;
  • the data processing module 15 arranged in the target integrated chip is used to determine the target power supply data of the target hard disk according to the duty cycle of the differential comparison signal and the target PWM signal, and detect whether the power supply voltage of the target hard disk is abnormal according to the target power supply data.
  • a detection device for the power supply voltage of the hard disk is provided, through which the manufacturing cost required in the detection process of the power supply voltage of the hard disk can be significantly reduced.
  • the detection device for detecting the power supply voltage of the hard disk is composed of a voltage divider module 11, a filter module 13, and a differential comparison module 14, a PWM module 12, and a data processing module 15 in the existing target integrated chip of the backplane. .
  • the target integrated chip can be CPLD (Complex Programmable Logic Device, complex programmable logic device), FPGA (Field Programmable Gate Array, field programmable logic gate array) in the backplane or other types of programmable logic devices.
  • CPLD Complex Programmable Logic Device, complex programmable logic device
  • FPGA Field Programmable Gate Array, field programmable logic gate array
  • the voltage divider module 11 is used to divide the power supply voltage V_HDD of the target hard disk to obtain the target voltage V_HDD1, and at the same time, the PWM module 12 arranged in the target integrated chip is used to generate the target PWM signal PWM_lin, and use the filter module 13 to filter the target PWM signal PWM_lin to obtain the triangular filter signal Tri_wave; after that, use the differential comparison module 14 in the target integrated chip to perform differential comparison on the target voltage V_HDD1 and the triangular filter signal Tri_wave to obtain a differential comparison signal Trigger_o.
  • the data processing module 15 arranged in the target integrated chip will determine the target power supply data of the target hard disk according to the differential comparison signal Trigger_o and the duty cycle D_dat of the target PWM signal PWM_lin, and will According to the target power supply data, it is detected whether the power supply voltage of the target hard disk is abnormal.
  • the differential comparison signal Trigger_o obtained by differentially comparing the target voltage V_HDD1 after dividing the power supply voltage V_HDD of the target hard disk with the triangular filter signal Tri_wave will appear If the differential comparison signal Trigger_o output by the differential comparison module shows irregular changes, it indicates that the power supply voltage of the target hard disk is abnormal.
  • the differential comparison signal Trigger_o output by the differential comparison module 14 will be linear with the duty ratio D_dat of the target PWM signal PWM_lin Therefore, the target power supply data of the target hard disk can be determined through the change law of the differential comparison signal Trigger_o and the duty cycle D_dat of the target PWM signal PWM_lin, and whether the target hard disk is abnormal can be detected according to the target power supply data.
  • the detection device Compared with the prior art that needs to install an E-fuse on the hard disk connector to detect the power supply voltage of the target hard disk, in the detection device provided in this embodiment, because the existing target integration in the backplane is used
  • the differential comparison module 14 of the chip is used to detect the power supply voltage of the target hard disk.
  • the purpose of detecting the power supply voltage of the target hard disk can be achieved, thereby significantly reducing the detection process of the hard disk power supply voltage. The required cost of construction.
  • the detection device for detecting the hard disk power supply voltage is composed of the voltage divider module, the filter module, and the differential comparison module, PWM module and data processing module in the existing target integrated chip on the backplane.
  • the voltage dividing module is used to divide the power supply voltage of the target hard disk to obtain the target voltage.
  • the PWM module is used to generate the target PWM signal
  • the filter module is used to filter the target PWM signal to obtain a triangular filter signal.
  • the differential comparison module is used to perform differential comparison between the target voltage and the triangular filter signal to obtain a differential comparison signal.
  • the data processing module determines the target power supply data of the target hard disk according to the duty cycle of the differential comparison signal and the target PWM signal, and detects whether the power supply voltage of the target hard disk is abnormal according to the target power supply data.
  • FIG. 2 is a structural diagram of another detection device for a hard disk supply voltage provided by an embodiment of the present application.
  • the above detection device also includes:
  • the BMC16 connected with the data processing module is used to obtain abnormal power supply data in the target power supply data, and provide a corresponding fault analysis report according to the abnormal power supply data.
  • the data processing module is also connected to the BMC16, and the BMC16 is used to obtain abnormal power supply data in the target power supply data.
  • the BMC 16 obtains the abnormal power supply data corresponding to the target hard disk, it will provide a corresponding failure analysis report according to the abnormal power supply data of the target hard disk.
  • the staff can detect and repair the abnormal fault state of the target hard disk according to the fault analysis report provided by BMC16, which not only ensures the maintainability of the target hard disk Moreover, it can also improve the efficiency of the staff when repairing the target hard disk.
  • the above detection device also includes:
  • a display connected to the BMC is used to display abnormal power supply data and generate an abnormal graph of the abnormal power supply data.
  • a display is also set in the detection device, so as to use the display to display the abnormal power supply data of the target hard disk, and display the abnormal power supply data of the target hard disk Generate exception graphs.
  • the staff can view the power supply data of the target hard disk at various time points more intuitively from the display.
  • the abnormal fault of the target hard disk can be located and repaired in time, thereby further improving the maintenance experience of the staff.
  • the above detection device also includes:
  • the memory set in the BMC is used to store abnormal power supply data.
  • the abnormal power supply data of the target hard disk not only contains the power supply information of the target hard disk, but also includes information such as the cause of the abnormal power supply of the target hard disk, the time of abnormal power supply, and the type of abnormal power supply. Therefore, when the abnormal power supply data of the target hard disk is stored in the memory, the staff can not only analyze the current power supply status of the target hard disk according to the abnormal power supply data stored in the memory, but also evaluate the abnormal power supply data of the target hard disk. Display the health status and loss degree of the power supply of the target hard disk. Thus, the user experience of people when using the detection device can be further improved.
  • the above detection device also includes:
  • the alarm set in the BMC is used to prompt the warning information when the BMC obtains abnormal power supply data.
  • an alarm device for prompting early warning information is also provided in the detection device when the BMC acquires abnormal power supply data of the target hard disk. It is conceivable that when the power supply status of the target hard disk is abnormal, the staff can be informed of the abnormal power supply status of the target hard disk in time through the alarm prompt to the staff, and take corresponding remedial measures in time. This can relatively reduce people's economic loss.
  • this embodiment further explains and optimizes the technical solution.
  • the duty ratio of the target PWM signal changes linearly and periodically from 0-100%-0.
  • the duty cycle of the target PWM signal generated by the PWM module is controlled to change linearly and periodically from 0 to 100% to 0.
  • the duty cycle of the target PWM signal changes linearly and periodically from 0 to 100% to 0, the duty cycle of the triangular filter signal output by the filtering module will also change according to a certain rule.
  • the differential comparison module compares the triangular filter signal with the target voltage, the output differential comparison signal will be more regular and orderly, which not only facilitates the calculation of the differential comparison signal by the data processing module Moreover, the accuracy and reliability of the data processing results can also be guaranteed.
  • this embodiment further explains and optimizes the technical solution.
  • the target voltage and the triangular filter signal can be flexibly exchanged at the input end of the differential comparison module.
  • the target voltage output by the voltage divider module and the triangular filter signal output by the filter module can be respectively input to the positive phase input of the differential comparison module
  • the target voltage output by the voltage divider module and the triangular filter signal output by the filter module can also be input to the negative phase input terminal and the positive phase input terminal of the differential comparison module respectively.
  • the error probability of the staff when operating the detection device can be relatively reduced.
  • the filtering module is specifically a low-pass filter.
  • the filtering module is set as a low-pass filter.
  • the bandpass of the low-pass filter is smaller than the frequency of the target PWM signal.
  • the bandpass of the low-pass filter is set to a value smaller than the frequency of the target PWM signal. That is, if the signal input to the filter module is less than the frequency of the target PWM signal, the signal can pass through the filter module, and if the signal input to the filter module is greater than or equal to the frequency of the target PWM signal, the signal cannot pass through the low-pass filter . In this way, the purpose of accurately filtering the target PWM signal can be achieved.
  • this embodiment further explains and optimizes the technical solution.
  • the above-mentioned target integrated chip is specifically a CPLD.
  • the target integrated chip can be set as CPLD, because CPLD not only has abundant logic and memory resources, but also has a large number of input and output interfaces, and can be reprogrammed after the system is installed. Therefore, when the target integrated chip is set as a CPLD, it can further improve the usability of people when using the detection device.
  • this embodiment further explains and optimizes the technical solution.
  • the level of the differential comparison signal is reversed, the duty cycle of the target PWM signal and the power supply of the target hard disk There is a target mapping relationship for voltage;
  • V_HDD V_oh ⁇ D_dat ⁇ R_d
  • V_HDD is the power supply voltage of the target hard disk
  • V_oh is the value corresponding to the high level of the pin output signal of the target integrated chip
  • D_dat is the duty cycle of the target PWM signal
  • R_d is the attenuation ratio of the voltage divider module.
  • the magnitude of the obtained triangular filter signal Tri_wave corresponds to the duty ratio D_dat of the target PWM signal PWM_lin one-to-one.
  • the maximum value of the triangular filter signal Tri_wave corresponds to the waveform of the target PWM signal PWM_lin when the duty cycle is 100%
  • the maximum value of the triangular filter signal Tri_wave corresponds to the high level V_oh of the pin output signal of the target integrated chip
  • the high level V_oh is determined by the operating voltage of the target integrated chip and is a fixed value.
  • the data processing module 15 samples the duty cycle D_dat of the target PWM signal PWM_lin at the edge of the differential comparison signal Trigger_o, and calculates the target power supply data of the target hard disk. Specifically, when the data processing module detects that the power supply voltage of the target hard disk is abnormal, the data processing module will actively latch the abnormal power supply data of the target hard disk and the power supply data before and after the abnormal power supply data.
  • the detection result of the power supply data of the target hard disk can be made more accurate and reliable.
  • the embodiment of the present application also discloses a server, including a detection device for a hard disk power supply voltage as disclosed above.
  • the server provided by the embodiment of the present application has the beneficial effects of the detection device for the power supply voltage of the hard disk disclosed above.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Power Sources (AREA)
  • Measurement Of Current Or Voltage (AREA)

Abstract

The present application discloses a detection apparatus for the power supply voltage of a hard disk, comprising: a voltage dividing module connected to a target hard disk, used for dividing the power supply voltage of the target hard disk to obtain a target voltage; a PWM module provided in a target integrated chip, used for generating a target PWM signal; a filter module connected to the PWM module, used for filtering the target PWM signal to obtain a triangular filter signal; a differential comparison module provided in the target integrated chip, used for performing differential comparison on the target voltage and the triangular filter signal to obtain a differential comparison signal; and a data processing module provided in the target integrated chip, used for determining target power supply data of the target hard disk according to the differential comparison signal and the duty cycle of the target PWM signal, and detecting, according to the target power supply data, whether the power supply voltage of the target hard disk is abnormal. By means of the detection apparatus, manufacturing costs required in the process of detecting the power supply voltage of the hard disk can be significantly reduced.

Description

一种硬盘供电电压的检测装置A detection device for hard disk power supply voltage
本申请要求在2021年9月22日提交中国专利局、申请号为202111103941.4、发明名称为“一种硬盘供电电压的检测装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202111103941.4 and the title of the invention "a device for detecting power supply voltage of a hard disk" submitted to the China Patent Office on September 22, 2021, the entire contents of which are incorporated by reference in this application middle.
技术领域technical field
本申请涉及服务器技术领域,特别涉及一种硬盘供电电压的检测装置。The present application relates to the technical field of servers, in particular to a detection device for a hard disk power supply voltage.
背景技术Background technique
硬盘通常是由硬盘背板进行供电,硬盘背板对硬盘的供电状况直接影响着硬盘的运行状态。如果硬盘的供电电压波动超过预设范围,则会引发系统掉盘故障。The hard disk is usually powered by the hard disk backplane, and the power supply of the hard disk backplane to the hard disk directly affects the running status of the hard disk. If the power supply voltage of the hard disk fluctuates beyond the preset range, it will cause a system failure.
在现有技术中,为了检测硬盘背板对硬盘的供电情况,通常会在硬盘背板的电源连接器前端增加一个总E-fuse,然后,再通过BMC(Baseboard Management Controller,基板管理控制器)来读取E-fuse的电压来确定背板为硬盘所提供的供电电压。由于该方法只能检测出背板给硬盘的总供电电压,无法检测出背板对各个硬盘的供电电压。这样当硬盘背板上的某一个硬盘出现电流瞬时增大而导致硬盘出现故障时,由于总E-fuse的电流阈值会远大于每个硬盘的工作电流,总E-fuse上不会产生明显的电压波动,由此就会造成硬盘故障无法定位以及故障原因无法解析等的问题。如果想要检测出背板上每一个硬盘的供电电压,就需要在每一个硬盘连接器上安装一个E-fuse,这样就会极大的增加硬件成本。目前,针对上述技术问题,还没有较为有效的解决办法。In the prior art, in order to detect the power supply of the hard disk backplane to the hard disk, a general E-fuse is usually added to the front of the power connector of the hard disk backplane, and then, through the BMC (Baseboard Management Controller, baseboard management controller) To read the voltage of the E-fuse to determine the power supply voltage provided by the backplane for the hard disk. Since this method can only detect the total power supply voltage of the backplane to the hard disk, it cannot detect the power supply voltage of the backplane to each hard disk. In this way, when the current of a certain hard disk on the hard disk backplane increases instantaneously and the hard disk fails, since the current threshold of the total E-fuse will be much greater than the operating current of each hard disk, no obvious noise will be generated on the total E-fuse. Voltage fluctuations will cause problems such as hard disk failures that cannot be located and causes of failures that cannot be resolved. If you want to detect the power supply voltage of each hard disk on the backplane, you need to install an E-fuse on each hard disk connector, which will greatly increase the hardware cost. At present, there is no relatively effective solution to the above-mentioned technical problems.
发明内容Contents of the invention
有鉴于此,本申请的目的在于提供一种硬盘供电电压的检测装置,以减少在对硬盘供电电压进行检测过程中所需要的造价成本。其具体方案如下:In view of this, the purpose of the present application is to provide a detection device for the power supply voltage of the hard disk, so as to reduce the manufacturing cost required in the detection process of the power supply voltage of the hard disk. The specific plan is as follows:
一种硬盘供电电压的检测装置,包括:A detection device for a hard disk supply voltage, comprising:
与目标硬盘相连的分压模块,用于对所述目标硬盘的供电电压进行分压,得到目标电压;A voltage dividing module connected to the target hard disk, configured to divide the power supply voltage of the target hard disk to obtain a target voltage;
设置于目标集成芯片中的PWM模块,用于产生目标PMW信号;The PWM module arranged in the target integrated chip is used to generate the target PWM signal;
与所述PWM模块相连的滤波模块,用于对所述目标PWM信号进行滤波,得到三角滤波信号;A filter module connected to the PWM module, configured to filter the target PWM signal to obtain a triangular filter signal;
设置于所述目标集成芯片中的差分比较模块,用于对所述目标电压和所述三角滤波信号进行差分比较,得到差分比较信号;A differential comparison module disposed in the target integrated chip, configured to perform a differential comparison between the target voltage and the triangular filter signal to obtain a differential comparison signal;
设置于所述目标集成芯片中的数据处理模块,用于根据所述差分比较信号和所述目标PWM信号的占空比确定所述目标硬盘的目标供电数据,并根据所述目标供电数据检测所述目标硬盘的供电电压是否出现异常。A data processing module disposed in the target integrated chip, configured to determine the target power supply data of the target hard disk according to the duty cycle of the differential comparison signal and the target PWM signal, and detect the target power supply data according to the target power supply data. Check whether the power supply voltage of the target hard disk is abnormal.
可选的,还包括:Optionally, also include:
与所述数据处理模块相连的BMC,用于获取所述目标供电数据中的异常供电数据,并根据所述异常供电数据提供对应的故障分析报告。The BMC connected to the data processing module is configured to obtain abnormal power supply data in the target power supply data, and provide a corresponding fault analysis report according to the abnormal power supply data.
可选的,还包括:Optionally, also include:
与所述BMC相连的显示器,用于对所述异常供电数据进行显示,并将所述异常供电数据生成异常曲线图。The display connected to the BMC is used to display the abnormal power supply data, and generate an abnormal graph from the abnormal power supply data.
可选的,还包括:Optionally, also include:
设置于所述BMC中的存储器,用于对所述异常供电数据进行存储。The memory provided in the BMC is used for storing the abnormal power supply data.
可选的,还包括:Optionally, also include:
设置于所述BMC中的报警器,用于当所述BMC获取到所述异常供电数据时,提示预警信息。The alarm set in the BMC is used for prompting early warning information when the BMC acquires the abnormal power supply data.
可选的,所述目标PWM信号的占空比从0~100%~0进行线性、周期性变化。Optionally, the duty cycle of the target PWM signal changes linearly and periodically from 0-100%-0.
可选的,所述目标电压和所述三角滤波信号能够在所述差分比较模块的输入端进行灵活调换。Optionally, the target voltage and the triangular filter signal can be flexibly swapped at the input terminal of the differential comparison module.
可选的,所述滤波模块具体为低通滤波器。Optionally, the filtering module is specifically a low-pass filter.
可选的,所述低通滤波器的带通小于所述目标PWM信号的频率。Optionally, the bandpass of the low-pass filter is smaller than the frequency of the target PWM signal.
可选的,所述目标集成芯片具体为CPLD。Optionally, the target integrated chip is specifically a CPLD.
可选的,当所述差分比较信号的电平发生翻转时,所述目标PWM信号的占空比与所述目标硬盘的供电电压存在目标映射关系;Optionally, when the level of the differential comparison signal is reversed, there is a target mapping relationship between the duty cycle of the target PWM signal and the power supply voltage of the target hard disk;
其中,所述目标映射关系的表达式为:Wherein, the expression of the target mapping relationship is:
V_HDD=V_oh×D_dat×R_dV_HDD=V_oh×D_dat×R_d
式中,V_HDD为所述目标硬盘的供电电压,V_oh为所述目标集成芯片管脚输出信号高电平所对应的数值,D_dat为所述目标PWM信号的占空比,R_d为所述分压模块的衰减比值。In the formula, V_HDD is the power supply voltage of the target hard disk, V_oh is the value corresponding to the high level output signal of the pin of the target integrated chip, D_dat is the duty cycle of the target PWM signal, and R_d is the divided voltage The attenuation ratio of the module.
可选的,所述目标集成芯片设置在用于为所述目标硬盘进行供电的背板中。Optionally, the target integrated chip is set in a backplane for supplying power to the target hard disk.
可见,在本申请中,是由分压模块、滤波模块以及背板现有目标集成芯片中的差分比较模块、PWM模块和数据处理模块来组成对硬盘供电电压进行检测的检测装置。在利用该检测装置对目标硬盘的供电电压进行检测时,首先是利用分压模块对目标硬盘的供电电压进行分压,得到目标电压。同时,利用PWM模块产生目标PWM信号,并利用滤波模块对目标PWM信号进行滤波得到三角滤波信号,之后,再利用差分比较模块对目标电压和三角滤波信号进行差分比较,得到差分比较信号,最后,再利用数据处理模块根据差分比较信号和目标PWM信号的占空比确定目标硬盘的目标供电数据,并根据目标供电数据来检测目标硬盘的供电电压是否出现异常。显然,相较于现有技术而言,在本申请所提供的检测装置中,因为是利用背板中现有目标集成芯片自带的差分比较模块来对目标硬盘的供电电压进行检测,在此情况下,只要配合目标集成芯片增加一些简单的分压模块、滤波模块就可以达到对目标硬盘的供电电压进行检测的目的,由此就可以显著减少在对硬盘供电电压进行检测过程中所需要的造价成本。It can be seen that in this application, the detection device for detecting the hard disk power supply voltage is composed of a voltage divider module, a filter module, and a differential comparison module, a PWM module, and a data processing module in the existing target integrated chip of the backplane. When using the detecting device to detect the power supply voltage of the target hard disk, firstly, the voltage dividing module is used to divide the power supply voltage of the target hard disk to obtain the target voltage. At the same time, the PWM module is used to generate the target PWM signal, and the filter module is used to filter the target PWM signal to obtain a triangular filter signal. After that, the differential comparison module is used to perform differential comparison between the target voltage and the triangular filter signal to obtain a differential comparison signal. Finally, The data processing module determines the target power supply data of the target hard disk according to the duty cycle of the differential comparison signal and the target PWM signal, and detects whether the power supply voltage of the target hard disk is abnormal according to the target power supply data. Apparently, compared with the prior art, in the detection device provided by this application, because the differential comparison module of the existing target integrated chip in the backplane is used to detect the power supply voltage of the target hard disk, here Under certain circumstances, as long as some simple voltage divider modules and filter modules are added in conjunction with the target integrated chip, the purpose of detecting the power supply voltage of the target hard disk can be achieved, thereby significantly reducing the required time for detecting the power supply voltage of the hard disk. Construction cost.
附图说明Description of drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only It is an embodiment of the present application, and those skilled in the art can also obtain other drawings according to the provided drawings without creative work.
图1为本申请实施例所提供的一种硬盘供电电压的检测装置的结构图;FIG. 1 is a structural diagram of a detection device for a hard disk supply voltage provided by an embodiment of the present application;
图2为本申请实施例所提供的另一种硬盘供电电压的检测装置的结构图。FIG. 2 is a structural diagram of another detection device for a hard disk supply voltage provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.
请参见图1,图1为本申请实施例所提供的一种硬盘供电电压的检测装置的结构图,该检测装置包括:Please refer to FIG. 1. FIG. 1 is a structural diagram of a detection device for a hard disk supply voltage provided in an embodiment of the present application. The detection device includes:
与目标硬盘相连的分压模块11,用于对目标硬盘的供电电压进行分压,得到目标电压;A voltage divider module 11 connected to the target hard disk is used to divide the power supply voltage of the target hard disk to obtain the target voltage;
设置于目标集成芯片中的PWM模块12,用于产生目标PMW信号;The PWM module 12 arranged in the target integrated chip is used to generate the target PWM signal;
与PWM模块12相连的滤波模块13,用于对目标PWM信号进行滤波,得到三角滤波信号;The filter module 13 connected with the PWM module 12 is used to filter the target PWM signal to obtain a triangular filter signal;
设置于目标集成芯片中的差分比较模块14,用于对目标电压和三角滤波信号进行差分比较,得到差分比较信号;The differential comparison module 14 arranged in the target integrated chip is used for differential comparison of the target voltage and the triangular filter signal to obtain a differential comparison signal;
设置于目标集成芯片中的数据处理模块15,用于根据差分比较信号和目标PWM信号的占空比确定目标硬盘的目标供电数据,并根据目标供电数据检测目标硬盘的供电电压是否出现异常。The data processing module 15 arranged in the target integrated chip is used to determine the target power supply data of the target hard disk according to the duty cycle of the differential comparison signal and the target PWM signal, and detect whether the power supply voltage of the target hard disk is abnormal according to the target power supply data.
在本实施例中,是提供了一种硬盘供电电压的检测装置,通过该检测装置可以显著减少在对硬盘供电电压进行检测过程中所需要的造价成本。在该检测装置中,是由分压模块11、滤波模块13以及背板现有目标集成芯片中的差分比较模块14、PWM模块12和数据处理模块15来组成对硬盘供电电压进行检测的检测装置。In this embodiment, a detection device for the power supply voltage of the hard disk is provided, through which the manufacturing cost required in the detection process of the power supply voltage of the hard disk can be significantly reduced. In this detection device, the detection device for detecting the power supply voltage of the hard disk is composed of a voltage divider module 11, a filter module 13, and a differential comparison module 14, a PWM module 12, and a data processing module 15 in the existing target integrated chip of the backplane. .
其中,目标集成芯片可以是背板中的CPLD(Complex Programmable Logic Device,复杂可编程逻辑器件)、FPGA(Field Programmable Gate Array,现场可编程逻辑门阵列)或者是其它类型的可编程逻辑器件。Wherein, the target integrated chip can be CPLD (Complex Programmable Logic Device, complex programmable logic device), FPGA (Field Programmable Gate Array, field programmable logic gate array) in the backplane or other types of programmable logic devices.
当需要对目标硬盘的供电电压进行检测时,首先是利用分压模块11对目标硬盘的供电电压V_HDD进行分压,得到目标电压V_HDD1,同时利用设置于目标集成芯片中的PWM模块12产生目标PWM信号PWM_lin,并利用滤波模块13对目标PWM信号PWM_lin进行滤波,得到三角滤波信号Tri_wave;之后,利用目标集成芯片中的差分比较模块14对目标电压V_HDD1和三角滤波信号Tri_wave进行差分比较得到差分比较信号Trigger_o。当差分比较模块14获取得到差分比较信号Trigger_o之后,设置于目标集成芯片中的数据处理模块15会根据差分比较信号Trigger_o和目标PWM信号PWM_lin的占空比D_dat确定目标硬盘的目标供电数据,并会根据目标供电数据来检测目标硬盘的供电电压是否出现异常。When the power supply voltage of the target hard disk needs to be detected, firstly, the voltage divider module 11 is used to divide the power supply voltage V_HDD of the target hard disk to obtain the target voltage V_HDD1, and at the same time, the PWM module 12 arranged in the target integrated chip is used to generate the target PWM signal PWM_lin, and use the filter module 13 to filter the target PWM signal PWM_lin to obtain the triangular filter signal Tri_wave; after that, use the differential comparison module 14 in the target integrated chip to perform differential comparison on the target voltage V_HDD1 and the triangular filter signal Tri_wave to obtain a differential comparison signal Trigger_o. After the differential comparison module 14 obtains the differential comparison signal Trigger_o, the data processing module 15 arranged in the target integrated chip will determine the target power supply data of the target hard disk according to the differential comparison signal Trigger_o and the duty cycle D_dat of the target PWM signal PWM_lin, and will According to the target power supply data, it is detected whether the power supply voltage of the target hard disk is abnormal.
能够想到的是,如果目标硬盘的供电电压V_HDD一直处于稳定状态,那么对目标硬盘供电电压V_HDD进行分压之后的目标电压V_HDD1与三角滤波信号Tri_wave进行差分比较所得到的差分比较信号Trigger_o就会呈现出线性、有规律的变化;如果差分比较模块所输出的差分比较信号Trigger_o呈现出无规律的变化情形时,则说明目标硬盘的供电电压出现了异常。It is conceivable that if the power supply voltage V_HDD of the target hard disk is always in a stable state, then the differential comparison signal Trigger_o obtained by differentially comparing the target voltage V_HDD1 after dividing the power supply voltage V_HDD of the target hard disk with the triangular filter signal Tri_wave will appear If the differential comparison signal Trigger_o output by the differential comparison module shows irregular changes, it indicates that the power supply voltage of the target hard disk is abnormal.
并且,根据差分比较模块14对目标电压V_HDD1和三角滤波信号Tri_wave进行差分比较的工作原理可知,差分比较模块14所输出的差分比较信号Trigger_o会与目标PWM信号PWM_lin的占空比D_dat呈一定的线性关系,所以,通过差分比较信号Trigger_o的这一变化规律以及结合目标PWM信号PWM_lin的占空比D_dat就可以确定出目标硬盘的目标供电数据,并根据目标供电数据能够检测出目标硬盘是否出现异常。Moreover, according to the working principle of differential comparison between the target voltage V_HDD1 and the triangular filter signal Tri_wave by the differential comparison module 14, it can be known that the differential comparison signal Trigger_o output by the differential comparison module 14 will be linear with the duty ratio D_dat of the target PWM signal PWM_lin Therefore, the target power supply data of the target hard disk can be determined through the change law of the differential comparison signal Trigger_o and the duty cycle D_dat of the target PWM signal PWM_lin, and whether the target hard disk is abnormal can be detected according to the target power supply data.
相较于现有技术中需要在硬盘连接器上安装一个E-fuse才能检测出目标硬盘的供电电压而言,在本实施例所提供的检测装置中,因为是利用背板中现有目标集成芯片自带的差分比较模块14来对目标硬盘的供电电压进行检测。在此情况下,只要配合目标集成芯片增加一些简单的分压模块11、滤波模块13就可以达到对目标硬盘的供电电压进行检测的目的,由此就可以显著减少在对硬盘供电电压进行检测过程中所需要的造价成本。Compared with the prior art that needs to install an E-fuse on the hard disk connector to detect the power supply voltage of the target hard disk, in the detection device provided in this embodiment, because the existing target integration in the backplane is used The differential comparison module 14 of the chip is used to detect the power supply voltage of the target hard disk. In this case, as long as some simple voltage divider modules 11 and filter modules 13 are added in conjunction with the target integrated chip, the purpose of detecting the power supply voltage of the target hard disk can be achieved, thereby significantly reducing the detection process of the hard disk power supply voltage. The required cost of construction.
可见,在本实施例中,是由分压模块、滤波模块以及背板现有目标集成芯片中的差分比较模块、PWM模块和数据处理模块来组成对硬盘供电电压进行检测的检测装置。在利用该检测装置对目标硬盘的供电电压进行检测时, 首先是利用分压模块对目标硬盘的供电电压进行分压,得到目标电压。同时,利用PWM模块产生目标PWM信号,并利用滤波模块对目标PWM信号进行滤波得到三角滤波信号,之后,再利用差分比较模块对目标电压和三角滤波信号进行差分比较,得到差分比较信号,最后,再利用数据处理模块根据差分比较信号和目标PWM信号的占空比确定目标硬盘的目标供电数据,并根据目标供电数据来检测目标硬盘的供电电压是否出现异常。显然,相较于现有技术而言,在本实施例所提供的检测装置中,因为是利用背板中现有目标集成芯片自带的差分比较模块来对目标硬盘的供电电压进行检测,在此情况下,只要配合目标集成芯片增加一些简单的分压模块、滤波模块就可以达到对目标硬盘的供电电压进行检测的目的,由此就可以显著减少在对硬盘供电电压进行检测过程中所需要的造价成本。It can be seen that in this embodiment, the detection device for detecting the hard disk power supply voltage is composed of the voltage divider module, the filter module, and the differential comparison module, PWM module and data processing module in the existing target integrated chip on the backplane. When the detecting device is used to detect the power supply voltage of the target hard disk, firstly, the voltage dividing module is used to divide the power supply voltage of the target hard disk to obtain the target voltage. At the same time, the PWM module is used to generate the target PWM signal, and the filter module is used to filter the target PWM signal to obtain a triangular filter signal. After that, the differential comparison module is used to perform differential comparison between the target voltage and the triangular filter signal to obtain a differential comparison signal. Finally, The data processing module determines the target power supply data of the target hard disk according to the duty cycle of the differential comparison signal and the target PWM signal, and detects whether the power supply voltage of the target hard disk is abnormal according to the target power supply data. Apparently, compared with the prior art, in the detection device provided in this embodiment, because the differential comparison module of the existing target integrated chip in the backplane is used to detect the power supply voltage of the target hard disk, the In this case, as long as some simple voltage divider modules and filter modules are added in conjunction with the target integrated chip, the purpose of detecting the power supply voltage of the target hard disk can be achieved, thereby significantly reducing the required cost of construction.
基于上述实施例,本实施例对技术方案作进一步的说明与优化,请参见图2,图2为本申请实施例所提供的另一种硬盘供电电压的检测装置的结构图。作为一种可选的实施方式,上述检测装置还包括:Based on the above embodiments, this embodiment further explains and optimizes the technical solution. Please refer to FIG. 2 , which is a structural diagram of another detection device for a hard disk supply voltage provided by an embodiment of the present application. As an optional implementation manner, the above detection device also includes:
与数据处理模块相连的BMC16,用于获取目标供电数据中的异常供电数据,并根据异常供电数据提供对应的故障分析报告。The BMC16 connected with the data processing module is used to obtain abnormal power supply data in the target power supply data, and provide a corresponding fault analysis report according to the abnormal power supply data.
在本实施例中,当目标硬盘的供电电压出现异常时,为了使得工作人员能够及时知悉到目标硬盘的异常供电原因。在该检测装置中还将数据处理模块与BMC16相连,并利用BMC16来获取目标供电数据中的异常供电数据。当BMC16获取得到与目标硬盘相对应的异常供电数据时,会根据目标硬盘的异常供电数据提供与之相对应的故障分析报告。In this embodiment, when the power supply voltage of the target hard disk is abnormal, in order to enable the staff to know the reason of the abnormal power supply of the target hard disk in time. In the detection device, the data processing module is also connected to the BMC16, and the BMC16 is used to obtain abnormal power supply data in the target power supply data. When the BMC 16 obtains the abnormal power supply data corresponding to the target hard disk, it will provide a corresponding failure analysis report according to the abnormal power supply data of the target hard disk.
当获取得到与目标硬盘异常供电数据相对应的故障分析报告时,工作人员就可以根据BMC16所提供的故障分析报告对目标硬盘的异常故障状态进行检测与维修,这样不仅保证了目标硬盘的可维护性,而且,也可以提高工作人员在对目标硬盘进行维修时的效率。When the fault analysis report corresponding to the abnormal power supply data of the target hard disk is obtained, the staff can detect and repair the abnormal fault state of the target hard disk according to the fault analysis report provided by BMC16, which not only ensures the maintainability of the target hard disk Moreover, it can also improve the efficiency of the staff when repairing the target hard disk.
作为一种可选的实施方式,上述检测装置还包括:As an optional implementation manner, the above detection device also includes:
与BMC相连的显示器,用于对异常供电数据进行显示,并将异常供电数据生成异常曲线图。A display connected to the BMC is used to display abnormal power supply data and generate an abnormal graph of the abnormal power supply data.
为了使得工作人员能够更为清楚、直观地查看到目标硬盘的异常供电数据,还在该检测装置中设置了显示器,以利用显示器来显示目标硬盘的异常供电数据,并将目标硬盘的异常供电数据生成异常曲线图。In order to enable the staff to view the abnormal power supply data of the target hard disk more clearly and intuitively, a display is also set in the detection device, so as to use the display to display the abnormal power supply data of the target hard disk, and display the abnormal power supply data of the target hard disk Generate exception graphs.
可以理解的是,当将目标硬盘的异常供电数据生成异常曲线图时,工作人员就可以更为直观地从显示器上查看到目标硬盘在各个时间点的供电数据,在此情况下,工作人员就可以及时对目标硬盘的异常故障进行定位与维修,由此就可以进一步提高工作人员的维修体验。It is understandable that when the abnormal power supply data of the target hard disk is generated into an abnormal graph, the staff can view the power supply data of the target hard disk at various time points more intuitively from the display. The abnormal fault of the target hard disk can be located and repaired in time, thereby further improving the maintenance experience of the staff.
作为一种可选的实施方式,上述检测装置还包括:As an optional implementation manner, the above detection device also includes:
设置于BMC中的存储器,用于对异常供电数据进行存储。The memory set in the BMC is used to store abnormal power supply data.
可以理解的是,目标硬盘的异常供电数据不仅蕴含着目标硬盘的供电信息,而且,也包含着目标硬盘的异常供电原因、异常供电时间以及异常供电类型等信息。所以,当将目标硬盘的异常供电数据存储到存储器时,工作人员不仅可以根据存储器中所存储的异常供电数据对目标硬盘的当前供电状态进行分析,而且,也可以根据目标硬盘的异常供电数据评估出目标硬盘供电电源的健康状态以及损耗程度。由此就可以进一步提高人们在使用该检测装置时的用户体验。It can be understood that the abnormal power supply data of the target hard disk not only contains the power supply information of the target hard disk, but also includes information such as the cause of the abnormal power supply of the target hard disk, the time of abnormal power supply, and the type of abnormal power supply. Therefore, when the abnormal power supply data of the target hard disk is stored in the memory, the staff can not only analyze the current power supply status of the target hard disk according to the abnormal power supply data stored in the memory, but also evaluate the abnormal power supply data of the target hard disk. Display the health status and loss degree of the power supply of the target hard disk. Thus, the user experience of people when using the detection device can be further improved.
作为一种可选的实施方式,上述检测装置还包括:As an optional implementation manner, the above detection device also includes:
设置于BMC中的报警器,用于当BMC获取到异常供电数据时,提示预警信息。The alarm set in the BMC is used to prompt the warning information when the BMC obtains abnormal power supply data.
在本实施例中,还在该检测装置中设置了用于当BMC获取到目标硬盘的异常供电数据时,提示预警信息的报警器。能够想到的是,当目标硬盘的供电状态出现异常时,通过报警器对工作人员的预警提示,就可以使得工作人员能够及时知悉到目标硬盘的异常供电状态,并及时采取相应的补救措施,由此就可以相对降低人们的经济损失。In this embodiment, an alarm device for prompting early warning information is also provided in the detection device when the BMC acquires abnormal power supply data of the target hard disk. It is conceivable that when the power supply status of the target hard disk is abnormal, the staff can be informed of the abnormal power supply status of the target hard disk in time through the alarm prompt to the staff, and take corresponding remedial measures in time. This can relatively reduce people's economic loss.
基于上述实施例,本实施例对技术方案作进一步的说明与优化,作为一种可选的实施方式,目标PWM信号的占空比从0~100%~0进行线性、周期性变化。Based on the above embodiments, this embodiment further explains and optimizes the technical solution. As an optional implementation mode, the duty ratio of the target PWM signal changes linearly and periodically from 0-100%-0.
为了使得差分比较模块能够获取得到数据更为整齐、结果更加精确的差分比较信号,是控制PWM模块所产生目标PWM信号的占空比按照0~100%~0进行线性、周期性变化。In order to enable the differential comparison module to obtain a differential comparison signal with neater data and more accurate results, the duty cycle of the target PWM signal generated by the PWM module is controlled to change linearly and periodically from 0 to 100% to 0.
可以理解的是,当目标PWM信号的占空比按照从0~100%~0进行线性、周期性的变化时,滤波模块所输出三角滤波信号的占空比也会按照一定的规律进行变化。在此情况下,差分比较模块在将三角滤波信号和目标电压进行差分比较的过程中,其所输出的差分比较信号也会比较规整与整齐,这样不仅可以方便数据处理模块对差分比较信号的计算与处理,而且,也可以保证数据处理结果的准确性与可靠性。It can be understood that when the duty cycle of the target PWM signal changes linearly and periodically from 0 to 100% to 0, the duty cycle of the triangular filter signal output by the filtering module will also change according to a certain rule. In this case, when the differential comparison module compares the triangular filter signal with the target voltage, the output differential comparison signal will be more regular and orderly, which not only facilitates the calculation of the differential comparison signal by the data processing module Moreover, the accuracy and reliability of the data processing results can also be guaranteed.
基于上述实施例,本实施例对技术方案作进一步的说明与优化,作为一种可选的实施方式,目标电压和三角滤波信号能够在差分比较模块的输入端进行灵活调换。Based on the above embodiments, this embodiment further explains and optimizes the technical solution. As an optional implementation, the target voltage and the triangular filter signal can be flexibly exchanged at the input end of the differential comparison module.
在本实施例中,因为差分比较模块对于输入端的信号无极性要求,所以,既可以将分压模块所输出的目标电压和滤波模块所输出的三角滤波信号分别输入至差分比较模块的正相输入端和负相输入端,也可以将分压模块所输出的目标电压和滤波模块所输出的三角滤波信号分别输入至差分比较模块的负相输入端和正相输入端。In this embodiment, because the differential comparison module has no polarity requirement for the signal at the input end, the target voltage output by the voltage divider module and the triangular filter signal output by the filter module can be respectively input to the positive phase input of the differential comparison module The target voltage output by the voltage divider module and the triangular filter signal output by the filter module can also be input to the negative phase input terminal and the positive phase input terminal of the differential comparison module respectively.
显然,通过本实施例所提供的技术方案,就可以相对降低工作人员在对检测装置进行操作时的出错概率。Apparently, through the technical solution provided by this embodiment, the error probability of the staff when operating the detection device can be relatively reduced.
基于上述实施例,本实施例对技术方案作进一步的说明与优化,作为一种可选的实施方式,滤波模块具体为低通滤波器。Based on the above embodiments, this embodiment further explains and optimizes the technical solution. As an optional implementation manner, the filtering module is specifically a low-pass filter.
可以理解的是,因为PWM模块所输出的目标PWM信号的频率相对降低,所以,为了使得滤波模块能够对目标PWM信号中的有用信号和噪声信号进行更好的分离,并取得良好的滤波效果,在本实施例中,是将滤波模块设置为低通滤波器。It can be understood that, because the frequency of the target PWM signal output by the PWM module is relatively lower, in order to enable the filtering module to better separate the useful signal and the noise signal in the target PWM signal and achieve a good filtering effect, In this embodiment, the filtering module is set as a low-pass filter.
作为一种可选的实施方式,低通滤波器的带通小于目标PWM信号的频率。As an optional implementation manner, the bandpass of the low-pass filter is smaller than the frequency of the target PWM signal.
在实际应用中,为了使得滤波模块能够将目标PWM信号中的有用信号和 噪声信号进行更为精确的分离,是将低通滤波器的带通设置为小于目标PWM信号频率的数值。也即,如果输入至滤波模块的信号小于目标PWM信号的频率,则该信号可以通过滤波模块,如果输入至滤波模块的信号大于或等于目标PWM信号的频率,则该信号无法通过低通滤波器。由此就可以达到对目标PWM信号进行精确滤波的目的。In practical applications, in order to enable the filter module to separate the useful signal and the noise signal in the target PWM signal more accurately, the bandpass of the low-pass filter is set to a value smaller than the frequency of the target PWM signal. That is, if the signal input to the filter module is less than the frequency of the target PWM signal, the signal can pass through the filter module, and if the signal input to the filter module is greater than or equal to the frequency of the target PWM signal, the signal cannot pass through the low-pass filter . In this way, the purpose of accurately filtering the target PWM signal can be achieved.
基于上述实施例,本实施例对技术方案作进一步的说明与优化,作为一种可选的实施方式,上述目标集成芯片具体为CPLD。Based on the above-mentioned embodiments, this embodiment further explains and optimizes the technical solution. As an optional implementation manner, the above-mentioned target integrated chip is specifically a CPLD.
具体的,在实际应用中,可以将目标集成芯片设置为CPLD,因为CPLD不仅具有丰富的逻辑和存储器资源,而且,CPLD还具有大量的输入输出接口,以及能够在装完系统后进行重新编程,所以,当将目标集成芯片设置为CPLD时,就可以进一步提高人们在使用该检测装置时的易用性。Specifically, in practical applications, the target integrated chip can be set as CPLD, because CPLD not only has abundant logic and memory resources, but also has a large number of input and output interfaces, and can be reprogrammed after the system is installed. Therefore, when the target integrated chip is set as a CPLD, it can further improve the usability of people when using the detection device.
基于上述实施例,本实施例对技术方案作进一步的说明与优化,作为一种可选的实施方式,当差分比较信号的电平发生翻转时,目标PWM信号的占空比与目标硬盘的供电电压存在目标映射关系;Based on the above embodiment, this embodiment further explains and optimizes the technical solution. As an optional implementation mode, when the level of the differential comparison signal is reversed, the duty cycle of the target PWM signal and the power supply of the target hard disk There is a target mapping relationship for voltage;
其中,目标映射关系的表达式为:Among them, the expression of the target mapping relationship is:
V_HDD=V_oh×D_dat×R_dV_HDD=V_oh×D_dat×R_d
式中,V_HDD为目标硬盘的供电电压,V_oh为目标集成芯片管脚输出信号高电平所对应的数值,D_dat为目标PWM信号的占空比,R_d为分压模块的衰减比值。In the formula, V_HDD is the power supply voltage of the target hard disk, V_oh is the value corresponding to the high level of the pin output signal of the target integrated chip, D_dat is the duty cycle of the target PWM signal, and R_d is the attenuation ratio of the voltage divider module.
在本实施例中,目标PWM信号PWM_lin经过滤波模块13的滤波之后,所得到三角滤波信号Tri_wave的大小会与目标PWM信号PWM_lin的占空比D_dat一一对应。其中,三角滤波信号Tri_wave的最大值对应目标PWM信号PWM_lin在占空比为100%时的波形,并且,三角滤波信号Tri_wave的最大值对应的是目标集成芯片管脚输出信号的高电平V_oh,高电平V_oh由目标集成芯片的工作电压所确定,为固定值。In this embodiment, after the target PWM signal PWM_lin is filtered by the filtering module 13 , the magnitude of the obtained triangular filter signal Tri_wave corresponds to the duty ratio D_dat of the target PWM signal PWM_lin one-to-one. Wherein, the maximum value of the triangular filter signal Tri_wave corresponds to the waveform of the target PWM signal PWM_lin when the duty cycle is 100%, and the maximum value of the triangular filter signal Tri_wave corresponds to the high level V_oh of the pin output signal of the target integrated chip, The high level V_oh is determined by the operating voltage of the target integrated chip and is a fixed value.
差分比较模块14对目标电压V_HDD1和三角滤波信号Tri_wave进行差分比较的过程中,当三角滤波信号Tri_wave的数值等于目标电压V_HDD1时,差分比较模块14所输出的差分比较信号Trigger_o会发生翻转。也即,当差 分比较模块14所输出的差分比较信号Trigger_o发生翻转时,目标PWM信号PWM_lin的占空比D_dat与目标硬盘的供电电压V_HDD一一对应。此时,V_HDD=V_oh×D_dat×R_d。其中,R_d为分压模块11的衰减比值,由滤波模块13的电路参数所决定,R_d=V_HDD/V_HDD1。During the differential comparison between the target voltage V_HDD1 and the triangular filtered signal Tri_wave by the differential comparison module 14 , when the value of the triangular filtered signal Tri_wave is equal to the target voltage V_HDD1 , the differential comparison signal Trigger_o output by the differential comparison module 14 will be reversed. That is, when the differential comparison signal Trigger_o output by the differential comparison module 14 is reversed, the duty ratio D_dat of the target PWM signal PWM_lin corresponds to the power supply voltage V_HDD of the target hard disk one-to-one. At this time, V_HDD=V_oh×D_dat×R_d. Wherein, R_d is the attenuation ratio of the voltage divider module 11 , which is determined by the circuit parameters of the filter module 13 , R_d=V_HDD/V_HDD1 .
数据处理模块15在差分比较信号Trigger_o发生翻转的边沿,会采样目标PWM信号PWM_lin的占空比D_dat,并计算得到目标硬盘的目标供电数据。具体的,当数据处理模块检测到目标硬盘的供电电压存在异常时,数据处理模块会主动锁存目标硬盘的异常供电数据以及异常供电数据前后的供电数据。The data processing module 15 samples the duty cycle D_dat of the target PWM signal PWM_lin at the edge of the differential comparison signal Trigger_o, and calculates the target power supply data of the target hard disk. Specifically, when the data processing module detects that the power supply voltage of the target hard disk is abnormal, the data processing module will actively latch the abnormal power supply data of the target hard disk and the power supply data before and after the abnormal power supply data.
显然,通过本实施例所提供的技术方案,就可以使得目标硬盘供电数据的检测结果更加准确与可靠。Obviously, through the technical solution provided by this embodiment, the detection result of the power supply data of the target hard disk can be made more accurate and reliable.
相应的,本申请实施例还公开了一种服务器,包括如前述所公开的一种硬盘供电电压的检测装置。Correspondingly, the embodiment of the present application also discloses a server, including a detection device for a hard disk power supply voltage as disclosed above.
本申请实施例所提供的一种服务器,具有前述所公开的一种硬盘供电电压的检测装置所具有的有益效果。The server provided by the embodiment of the present application has the beneficial effects of the detection device for the power supply voltage of the hard disk disclosed above.
本说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其它实施例的不同之处,各个实施例之间相同或相似部分互相参见即可。最后,还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。Each embodiment in this specification is described in a progressive manner, each embodiment focuses on the difference from other embodiments, and the same or similar parts of each embodiment can be referred to each other. Finally, it should also be noted that in this text, relational terms such as first and second etc. are only used to distinguish one entity or operation from another, and do not necessarily require or imply that these entities or operations, any such actual relationship or order exists. Furthermore, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus comprising a set of elements includes not only those elements, but also includes elements not expressly listed. other elements of or also include elements inherent in such a process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article or apparatus comprising said element.
以上对本申请所提供的一种硬盘供电电压的检测装置进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的 一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。The above is a detailed introduction of a hard disk power supply voltage detection device provided by this application. In this paper, specific examples are used to illustrate the principle and implementation of this application. The description of the above embodiments is only used to help understand the application. method and its core idea; at the same time, for those of ordinary skill in the art, according to the idea of this application, there will be changes in the specific implementation and application scope. Application Restrictions.

Claims (12)

  1. 一种硬盘供电电压的检测装置,其特征在于,包括:A detection device for a hard disk supply voltage, characterized in that it comprises:
    与目标硬盘相连的分压模块,用于对所述目标硬盘的供电电压进行分压,得到目标电压;A voltage dividing module connected to the target hard disk, configured to divide the power supply voltage of the target hard disk to obtain a target voltage;
    设置于目标集成芯片中的PWM模块,用于产生目标PMW信号;The PWM module arranged in the target integrated chip is used to generate the target PWM signal;
    与所述PWM模块相连的滤波模块,用于对所述目标PWM信号进行滤波,得到三角滤波信号;A filter module connected to the PWM module, configured to filter the target PWM signal to obtain a triangular filter signal;
    设置于所述目标集成芯片中的差分比较模块,用于对所述目标电压和所述三角滤波信号进行差分比较,得到差分比较信号;A differential comparison module disposed in the target integrated chip, configured to perform a differential comparison between the target voltage and the triangular filter signal to obtain a differential comparison signal;
    设置于所述目标集成芯片中的数据处理模块,用于根据所述差分比较信号和所述目标PWM信号的占空比确定所述目标硬盘的目标供电数据,并根据所述目标供电数据检测所述目标硬盘的供电电压是否出现异常。A data processing module disposed in the target integrated chip, configured to determine the target power supply data of the target hard disk according to the duty cycle of the differential comparison signal and the target PWM signal, and detect the target power supply data according to the target power supply data. Check whether the power supply voltage of the target hard disk is abnormal.
  2. 根据权利要求1所述的检测装置,其特征在于,还包括:The detection device according to claim 1, further comprising:
    与所述数据处理模块相连的BMC,用于获取所述目标供电数据中的异常供电数据,并根据所述异常供电数据提供对应的故障分析报告。The BMC connected to the data processing module is configured to obtain abnormal power supply data in the target power supply data, and provide a corresponding fault analysis report according to the abnormal power supply data.
  3. 根据权利要求2所述的检测装置,其特征在于,还包括:The detection device according to claim 2, further comprising:
    与所述BMC相连的显示器,用于对所述异常供电数据进行显示,并将所述异常供电数据生成异常曲线图。The display connected to the BMC is used to display the abnormal power supply data, and generate an abnormal graph from the abnormal power supply data.
  4. 根据权利要求2所述的检测装置,其特征在于,还包括:The detection device according to claim 2, further comprising:
    设置于所述BMC中的存储器,用于对所述异常供电数据进行存储。The memory provided in the BMC is used for storing the abnormal power supply data.
  5. 根据权利要求2所述的检测装置,其特征在于,还包括:The detection device according to claim 2, further comprising:
    设置于所述BMC中的报警器,用于当所述BMC获取到所述异常供电数据时,提示预警信息。The alarm set in the BMC is used for prompting early warning information when the BMC acquires the abnormal power supply data.
  6. 根据权利要求1所述的检测装置,其特征在于,所述目标PWM信号的占空比从0~100%~0进行线性、周期性变化。The detection device according to claim 1, characterized in that the duty cycle of the target PWM signal changes linearly or periodically from 0-100%-0.
  7. 根据权利要求1所述的检测装置,其特征在于,所述目标电压和所述三角滤波信号能够在所述差分比较模块的输入端进行灵活调换。The detection device according to claim 1, wherein the target voltage and the triangular filter signal can be flexibly exchanged at the input end of the differential comparison module.
  8. 根据权利要求1所述的检测装置,其特征在于,所述滤波模块具体为低通滤波器。The detection device according to claim 1, wherein the filtering module is specifically a low-pass filter.
  9. 根据权利要求8所述的检测装置,其特征在于,所述低通滤波器的带通小于所述目标PWM信号的频率。The detection device according to claim 8, characterized in that the bandpass of the low-pass filter is smaller than the frequency of the target PWM signal.
  10. 根据权利要求1所述的检测装置,其特征在于,所述目标集成芯片具体为CPLD。The detection device according to claim 1, wherein the target integrated chip is specifically a CPLD.
  11. 根据权利要求1至10任一项所述的检测装置,其特征在于,当所述差分比较信号的电平发生翻转时,所述目标PWM信号的占空比与所述目标硬盘的供电电压存在目标映射关系;The detection device according to any one of claims 1 to 10, wherein when the level of the differential comparison signal is reversed, the duty ratio of the target PWM signal and the power supply voltage of the target hard disk exist. Target mapping relationship;
    其中,所述目标映射关系的表达式为:Wherein, the expression of the target mapping relationship is:
    V_HDD=V_oh×D_dat×R_dV_HDD=V_oh×D_dat×R_d
    式中,V_HDD为所述目标硬盘的供电电压,V_oh为所述目标集成芯片管脚输出信号高电平所对应的数值,D_dat为所述目标PWM信号的占空比,R_d为所述分压模块的衰减比值。In the formula, V_HDD is the power supply voltage of the target hard disk, V_oh is the value corresponding to the high level output signal of the pin of the target integrated chip, D_dat is the duty cycle of the target PWM signal, and R_d is the divided voltage The attenuation ratio of the module.
  12. 根据权利要求1至10任一项所述的检测装置,其特征在于,所述目标集成芯片设置在用于为所述目标硬盘进行供电的背板中。The detection device according to any one of claims 1 to 10, wherein the target integrated chip is arranged in a backplane for supplying power to the target hard disk.
PCT/CN2022/078184 2021-09-22 2022-02-28 Detection apparatus for power supply voltage of hard disk WO2023045248A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111103941.4A CN113568494B (en) 2021-09-22 2021-09-22 Detection apparatus for hard disk supply voltage
CN202111103941.4 2021-09-22

Publications (1)

Publication Number Publication Date
WO2023045248A1 true WO2023045248A1 (en) 2023-03-30

Family

ID=78173833

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/078184 WO2023045248A1 (en) 2021-09-22 2022-02-28 Detection apparatus for power supply voltage of hard disk

Country Status (2)

Country Link
CN (1) CN113568494B (en)
WO (1) WO2023045248A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113568494B (en) * 2021-09-22 2022-02-18 苏州浪潮智能科技有限公司 Detection apparatus for hard disk supply voltage

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080195786A1 (en) * 2007-02-08 2008-08-14 Inventec Corporation Hard disk type detecting circuit and hard disk connecting port having the hard disk type detecting circuit
CN205644429U (en) * 2016-03-14 2016-10-12 浙江大华技术股份有限公司 Supply circuit of polydisc position hard disk
CN112000284A (en) * 2020-08-14 2020-11-27 苏州浪潮智能科技有限公司 Hardware system, method and program for supporting storage server hard disk protection
CN113568494A (en) * 2021-09-22 2021-10-29 苏州浪潮智能科技有限公司 Detection apparatus for hard disk supply voltage

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201432420A (en) * 2012-12-24 2014-08-16 Hon Hai Prec Ind Co Ltd Cooling system and method for fans
DE102014012664A1 (en) * 2014-08-22 2016-02-25 Eaton Protection Systems Ip Gmbh & Co. Kg Supply voltage detection device and method for detecting a supply voltage
CN106569926A (en) * 2015-10-09 2017-04-19 鸿富锦精密工业(深圳)有限公司 Monitoring system for operating situation of electronic equipment
CN110955576A (en) * 2019-11-22 2020-04-03 苏州浪潮智能科技有限公司 Fan aging monitoring method and system capable of saving BMC (baseboard management controller) resources
CN111711262A (en) * 2020-06-16 2020-09-25 苏州浪潮智能科技有限公司 Circuit protection device based on hard disk
CN112531632B (en) * 2020-10-30 2022-07-12 苏州浪潮智能科技有限公司 Low-cost burn-proof board protection method and device in server

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080195786A1 (en) * 2007-02-08 2008-08-14 Inventec Corporation Hard disk type detecting circuit and hard disk connecting port having the hard disk type detecting circuit
CN205644429U (en) * 2016-03-14 2016-10-12 浙江大华技术股份有限公司 Supply circuit of polydisc position hard disk
CN112000284A (en) * 2020-08-14 2020-11-27 苏州浪潮智能科技有限公司 Hardware system, method and program for supporting storage server hard disk protection
CN113568494A (en) * 2021-09-22 2021-10-29 苏州浪潮智能科技有限公司 Detection apparatus for hard disk supply voltage

Also Published As

Publication number Publication date
CN113568494A (en) 2021-10-29
CN113568494B (en) 2022-02-18

Similar Documents

Publication Publication Date Title
US9720758B2 (en) Diagnostic analysis tool for disk storage engineering and technical support
US7461303B2 (en) Monitoring VRM-induced memory errors
CN108919935A (en) Monitoring method, device and equipment for power supply on server mainboard
US20140359339A1 (en) Apparatus and method for detecting power failure
US8286034B2 (en) Accurate fault status tracking of variable access sensors
US20090121739A1 (en) Ac detecting apparatus for detecting operating states of ac power supply
US20200309861A1 (en) Active ac power loss detection
CN104794033A (en) CPU low-frequency fault positioning method and device based on BMC
WO2023045248A1 (en) Detection apparatus for power supply voltage of hard disk
WO2013127221A1 (en) Parallel operation wire fault detection device and system
WO2023222109A1 (en) Network wakeup management method and apparatus, electronic device, and storage medium
CN106371958A (en) Server fault diagnosis system and method
WO2014169869A1 (en) Alarm processing method and alarm system
CN103605596A (en) System and method for collaborative power management of FPGA (field programmable gata array) chip and BMC (baseboard management controller) chip used on ATCA (advanced telecom computing architecture) blade
CN109002375A (en) A kind of electrifying timing sequence signal monitoring system and method applied to server
EP2955532A1 (en) Adaptive voltage scaling circuit and chip
US11762033B2 (en) Power failure monitoring device and power failure monitoring method
US20190086978A1 (en) Determine a failure event of a power supply
CN111599174B (en) Traffic index abnormity detection method and electronic equipment
US11846682B2 (en) Method and device for avoiding abnormal signal oscillation in UVLO test
US11138512B2 (en) Management of building energy systems through quantification of reliability
US20240304077A1 (en) Detection circuit and system for detecting detector removal failure
CN104182308A (en) Power supply detection system and power supply detection method
CN104216816A (en) Server status information detection system
TWI823556B (en) Memory abnormality detection system, motherboard, electronic device and abnormality detection method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22871314

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22871314

Country of ref document: EP

Kind code of ref document: A1