Switching power supply unit (PSU) hardware fault simulation apparatus, system and application method
Patent Information
- Application Number
- CN202311272040.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-28
- Publication Date
- 2026-09-29
- Estimated Expiration
- 2043-09-28
AI Technical Summary
[0004]有鉴于此,本发明提供了一种交换机PSU硬件故障模拟装置、系统及应用方法,以解决针对PSU的故障检测可重复性差,且难以保证测试准确性的技术问题
[0016]本发明提供的一种交换机PSU硬件故障模拟装置、系统及应用方法,该装置通过嵌入式系统模块、网口、散热风扇、电源接口、电源调节模块以及金手指构成的PSU硬件故障模拟装置,其中,由电源接口、电源调节模块与金手指保证外部电能对于交换机的电能供应,维持了PSU原有的电能供应功能,并且通过嵌入式系统模块解析由网口传输的控制信号,生成控制命令,从而分别调控电源调节模块的输入、输出电压以及调控散热风扇的风扇转速,完成对于PSU的参数控制,这一过程中无需人为因素的参与,保证了检测结果的准确性,并且可以根据不同的控制命令实现不同的参数调控,无需手动进行故障电路的切换,从而提高了PSU故障检测的复用性。
Smart Images

Figure CN117347682B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of power supply unit testing technology, specifically to a device, system, and application method for simulating hardware faults in a power supply unit (PSU). Background Technology
[0002] In the actual operating environment of a switch, the PSU (Power Supply Unit), as the power supply device for the switch, needs to ensure the normal operation of the switch. Therefore, a management module is usually set up to monitor the operating status of the PSU in order to detect PSU failures in a timely manner, thereby ensuring the reliable operation of the switch during the online operation process. Before the switch is officially put into operation, the PSU, as the supporting management hardware of the switch, needs to undergo testing first to ensure that PSU failures will not affect the online operation of the switch.
[0003] In related technologies, fault detection for PSU equipment typically involves hardware fault injection. This involves artificially creating fault circuits to bring the PSU's input voltage, output voltage, fan speed, or other parameters within a specific range. When detecting different fault types, the fault circuits need to be manually switched. The management module then monitors the PSU's operating status to achieve fault detection. However, because different fault circuits need to be built for different PSU faults, each fault circuit is only applicable to its corresponding scenario and cannot be reused in subsequent test environments. Furthermore, the circuit construction and the detection of different fault types both require human intervention, which affects the accuracy of the test results. Summary of the Invention
[0004] In view of this, the present invention provides a device, system and application method for simulating hardware faults of a switch PSU, in order to solve the technical problems of poor repeatability of fault detection for PSU and difficulty in ensuring test accuracy.
[0005] In a first aspect, the present invention provides a hardware fault simulation device for a power switch (PSU). The device includes: an embedded system module, a network port, a cooling fan, a power interface, a power regulation module, and gold fingers. The embedded system module is connected to the network port, the cooling fan, and the power regulation module. The power regulation module is connected to the power interface and the gold fingers. The network port is used to receive control signals. The embedded system module is used to receive the control signals transmitted from the network port, parse the control signals, determine the control commands and control signal types, and adjust the cooling fan and / or the power regulation module according to the control signal types and control commands. The power interface is used to connect to electrical energy and transmit electrical energy to the power regulation module. The power regulation module is used to adjust the input voltage and output voltage in response to the control commands of the embedded system module. The cooling fan is used to adjust the fan speed in response to the control commands of the embedded system module. The gold fingers are used to connect to the switch and supply power to the switch in response to the output voltage of the power regulation module.
[0006] In conjunction with the first aspect, in one possible implementation of the first aspect, the device further includes at least one sensor connected to an embedded system module. The embedded system module includes: a data storage submodule and an MCU submodule. The MCU submodule is used to receive control signals transmitted via the network port, parse the control signals, determine the control command and control signal type, and adjust the cooling fan and / or power regulation module according to the control signal type and control command. At least one sensor is used to collect one or more of current, voltage, fan speed, and temperature, and send the collected test data corresponding to the control command to the data storage submodule. The data storage submodule is used to store the test data collected by at least one sensor so that the test data can be communicated externally via the network port.
[0007] In conjunction with the first aspect, in one possible implementation of the first aspect, 3. the control signal includes one or more of a first control signal, a second control signal, and a third control signal; at least one sensor is disposed at the cooling fan and / or the power conditioning module; wherein, the MCU submodule is used to receive one or more of the first control signal, the second control signal, and the third control signal transmitted via the network port, parse the first control signal, the second control signal, and the third control signal, determine the first control command, the second control command, and the third control command respectively, and send the first control command and / or the second control command to the power conditioning module, and send the third control command to the cooling fan; at least one sensor is used for... The system collects first test data and second test data corresponding to the first control command and the second control command, and collects third test data corresponding to the third control command. The first test data and second test data are used to represent current and / or voltage, and the third test data is used to represent fan speed and / or temperature. The data storage submodule is used to store the first test data, second test data, and third test data, so that the first test data, second test data, and third test data can be transmitted through the network port to the device connected to the switch PSU hardware fault simulation device, thereby using the first test data and second test data to determine voltage faults, and using the third test data to determine operating temperature faults.
[0008] In conjunction with the first aspect, in one possible implementation of the first aspect, the device further includes: a storage module connected to an embedded system module, the embedded system module being connected to a gold finger, wherein the storage module is used to store fault information and, in response to the control of the embedded system module, sends the fault information to the gold finger through the embedded system module, so that the fault information can be externally communicated through the gold finger.
[0009] Secondly, the present invention provides a PSU hardware fault simulation system for a switch, the system comprising: a host computer and a PSU hardware fault simulation device according to the first aspect or any corresponding embodiment thereof, wherein the PSU hardware fault simulation device is connected to the host computer, wherein the host computer is used to acquire PSU control parameters configured by the user, generate control signals according to the PSU control parameters, and send the control signals to the PSU hardware fault simulation device; the PSU hardware fault simulation device is used to adjust one or more of the input voltage, output voltage, and fan speed of the PSU hardware fault simulation device in response to the control signals.
[0010] In conjunction with the second aspect, in one possible implementation of the second aspect, the switch PSU hardware fault simulation device is further used to collect and store one or more test data of current, voltage, fan speed, and temperature, and send the test data to the host computer through the network port; the host computer is further used to respond to the test data and determine the fault type of the switch PSU hardware fault simulation device relative to the PSU control parameters through the preset correspondence between the test data and the fault type.
[0011] In conjunction with the second aspect, in one possible implementation of the second aspect, the system further includes a switch connected to a switch PSU hardware fault simulation device. The switch PSU hardware fault simulation device is also used to store fault information and send the fault information to the switch via a gold finger. The switch is used to respond to the fault data, determine the data execution result corresponding to the fault data, and determine the fault judgment logic of the switch through the execution result.
[0012] Thirdly, the present invention provides an application method for a switch PSU hardware fault simulation system, the method comprising: acquiring control signals in response to user-configured PSU control parameters; parsing the control signals to determine control commands and control signal types, wherein the control signal types include control signals for voltage and / or fan; and adjusting the voltage and / or fan based on the control commands and control signal types.
[0013] In conjunction with the third aspect, in one possible implementation of the third aspect, the method further includes: acquiring test data, which includes one or more of current, voltage, fan speed, and temperature; and based on the test data, determining the fault type corresponding to the test data through a preset correspondence between the test data and the fault type.
[0014] In conjunction with the third aspect, in one possible implementation of the third aspect, the method further includes: acquiring fault information; determining the switch data execution result in response to the fault information based on the fault information; and detecting the switch's fault judgment logic based on the switch data execution result.
[0015] The technical solution of this invention has the following advantages:
[0016] This invention provides a hardware fault simulation device, system, and application method for a power supply unit (PSU). The device comprises an embedded system module, a network port, a cooling fan, a power interface, a power regulation module, and gold fingers. The power interface, power regulation module, and gold fingers ensure the external power supply to the switch, maintaining the PSU's original power supply function. The embedded system module parses the control signals transmitted through the network port and generates control commands to regulate the input and output voltages of the power regulation module and the fan speed of the cooling fan, thus controlling the PSU's parameters. This process requires no human intervention, ensuring the accuracy of the detection results. Furthermore, different parameter adjustments can be implemented based on different control commands without requiring manual switching of faulty circuits, thereby improving the reusability of PSU fault detection. Attached Figure Description
[0017] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0018] Figure 1 This is a structural block diagram of a switch PSU hardware fault simulation device provided according to an embodiment of the present invention;
[0019] Figure 2 This is a schematic diagram of a switch PSU hardware fault simulation system provided according to an embodiment of the present invention;
[0020] Figure 3 This is a flowchart illustrating the application method of a switch PSU hardware fault simulation system according to an embodiment of the present invention. Detailed Implementation
[0021] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0022] In the description of this invention, it should be noted that:
[0023] EEPROM (Electrically Erasable Programmable Read-Only Memory) is a type of memory chip that retains data even when power is off.
[0024] PMBus (Power Management Bus) is an open standard power management protocol.
[0025] AC / DC circuits refer to circuits that convert alternating current to direct current.
[0026] MCU (Micro Control Unit) is a chip-level processing device that integrates a central processing unit with a reduced frequency and specifications, and peripheral interfaces such as memory and counters onto a single chip.
[0027] This embodiment provides a structural block diagram of a switch PSU hardware fault simulation device, as shown below. Figure 1 As shown, it includes: a network port 101, a power interface 102, a cooling fan 103, an embedded system module 104, a power regulation module 105, and gold fingers 106. The embedded system module 104 is connected to the network port 101, the cooling fan 103, and the power regulation module 105. The power regulation module 105 is connected to the power interface 102 and the gold fingers 106.
[0028] Network port 101 is used to receive control signals.
[0029] Specifically, network port 101 refers to the integrated connection module that uses an Ethernet interface, supports the TCP / IP protocol stack, and receives control signals transmitted by devices connected to network port 101. These control signals include parameter settings for input voltage, output voltage, and fan speed.
[0030] Embedded system module 104 is used to receive control signals transmitted through the network port, parse the control signals, determine the control commands and control signal types, and adjust the cooling fan and / or power regulation module according to the control signal types and control commands.
[0031] Specifically, the embedded system module 104 receives the control signal transmitted by the mesh 101, parses the control signal, and converts the control signal into a digital signal or an analog signal. The control signal type is a control signal sent to the cooling fan and / or a control signal sent to the power regulation module.
[0032] The power interface 102 is used to connect to electrical energy and transmit the electrical energy to the power conditioning module.
[0033] Specifically, the electrical energy connected to the power interface 102 is usually AC power, and after the electrical energy is connected, it is transmitted to the power conditioning module 105.
[0034] The power regulation module 105 is used to regulate the input voltage and output voltage in response to control commands from the embedded system module.
[0035] Specifically, the power regulation module 105 includes an AC / DC circuit 1051 and a voltage regulator 1052. The AC / DC circuit 1051 is used to convert the alternating current transmitted through the power interface 102 into direct current. The voltage regulator 1052 is used to regulate the input voltage and output voltage of the switch PSU hardware fault simulation device in response to the control commands of the system module, and transmit the regulated output voltage to the gold finger 106.
[0036] Cooling fan 103 is used to adjust fan speed in response to control commands from the embedded system module.
[0037] Specifically, the cooling fan 103 is a heat dissipation device of the switch PSU hardware fault simulation device, used to adjust the fan speed in response to the control commands of the embedded system module, thereby increasing or decreasing the heat dissipation efficiency.
[0038] The gold finger 106 is used to connect to the switch and supplies power to the switch in response to the output voltage of the power regulation module.
[0039] This invention provides a PSU hardware fault simulation device, which consists of an embedded system module, a network port, a cooling fan, a power interface, a power regulation module, and gold fingers. The power interface, power regulation module, and gold fingers ensure the external power supply to the switch, maintaining the original power supply function of the PSU. The embedded system module parses the control signals transmitted through the network port and generates control commands to regulate the input and output voltages of the power regulation module and the fan speed of the cooling fan, thus controlling the parameters of the PSU. This process requires no human intervention, ensuring the accuracy of the detection results. Furthermore, different parameter adjustments can be made according to different control commands without manually switching faulty circuits, thereby improving the reusability of PSU fault detection.
[0040] In one optional implementation, as an application of a switch PSU hardware fault simulation device, this embodiment of the invention provides a switch PSU hardware fault simulation system, such as... Figure 2 As shown, it includes: a host computer 201 and a PSU hardware fault simulation device 202, wherein,
[0041] The host computer 201 is used to obtain the PSU control parameters configured by the user, generate control signals according to the PSU control parameters, and send the control signals to the switch PSU hardware fault simulation device.
[0042] The switch PSU hardware fault simulation device 202 is used to adjust one or more of the input voltage, output voltage, and fan speed of the switch PSU hardware fault simulation device in response to a control signal.
[0043] Specifically, the host computer has corresponding software for configuring PSU control parameters. For example, through a user interface or user control interface, the user can set parameters such as input voltage, output voltage, fan speed, or input current and output current. Based on the user-configured PSU control parameters, corresponding control signals are generated and sent to the switch PSU hardware fault simulation device.
[0044] Specifically, after the user completes the configuration of the PSU control parameters, the host computer 201 transmits the control signals to the switch PSU hardware fault simulation device 202 via the network port. The embedded system module on the switch PSU hardware fault simulation device 202 then analyzes the control signals and, based on the control signal type and control command, adjusts the fan speed of the cooling fan and / or the input and output voltage of the power supply module. It should be understood that the switch PSU hardware fault simulation device 202 transmits electrical energy to the power supply module via the power interface, and after adjusting the output voltage, transmits the electrical energy to the gold fingers.
[0045] By implementing this embodiment, a host computer is connected to a switch PSU hardware fault simulation device. The host computer configures and generates control signals, which are then parsed into control commands for the cooling fan and / or power regulation module by the embedded system module in the switch PSU hardware fault simulation device. This allows for the simulation of PSU equipment fault parameters by configuring PSU control parameters, avoiding human intervention. Furthermore, when different fault types need to be simulated, only different PSU control parameters need to be configured to simulate different fault scenarios, eliminating the need for manual switching of fault circuits and improving the reusability of fault detection. In this process, since the power input to the power interface is regulated by the power regulation module, the power can be continuously supplied by the gold fingers, maintaining the original power supply function of the PSU while realizing PSU hardware fault simulation.
[0046] In one optional implementation, to improve the accuracy of PSU fault simulation detection results, this embodiment of the invention provides an application method for a switch PSU hardware fault simulation system, such as... Figure 3 As shown, the method includes:
[0047] S301. Obtain control signals in response to user-configured PSU control parameters.
[0048] Specifically, acquiring the control signal in response to the user-configured PSU control parameters means that the switch PSU hardware fault simulation device receives the PSU control parameters configured by the user in the host computer. The PSU control parameters include one or more of the following: input voltage, output voltage, fan speed, or input current and output current.
[0049] S302. Analyze the control signals to determine the control commands and control signal types. The control signal types include control voltage and / or fan control signals.
[0050] Specifically, parsing control signals and determining control commands and control signal types refers to using the embedded system module in the PSU hardware fault simulation device to parse and convert control signals into digital or analog signals, thereby generating control commands, and determining the control signal type according to the different controlled objects targeted by the control signals.
[0051] S303, Adjust the voltage and / or fan based on the control command and control signal type.
[0052] Specifically, adjusting the voltage and / or fan based on the control command and control signal type means dividing the converted control command into voltage control signals and fan control signals according to the type of control signal. The voltage control signal is used to control the input voltage and output voltage of the power supply regulating module, while the fan control signal is used to control the fan speed of the cooling fan.
[0053] By implementing this embodiment, the host computer is connected to the switch PSU hardware fault simulation device. The host computer configures and generates control signals, which are then parsed into control commands for the cooling fan and / or power regulation module by the embedded system module in the switch PSU hardware fault simulation device. This allows for the simulation of PSU equipment fault parameters by configuring PSU control parameters, avoiding human intervention. Furthermore, when different fault types need to be simulated, only different PSU control parameters need to be configured to simulate different fault scenarios, without the need to manually switch fault circuits, thus improving the reusability of fault detection.
[0054] In one optional implementation, to determine whether the PSU device has experienced a corresponding fault after simulation based on PSU control parameters, it is necessary to collect data on the impact of the simulated values. Therefore, the switch PSU hardware fault simulation device further includes at least one sensor, which is connected to an embedded system module, such as... Figure 1As shown, the embedded system module 104 includes: a data storage submodule 1042 and an MCU submodule 1041, wherein,
[0055] MCU submodule 1041 is used to receive control signals transmitted through the network port, parse the control signals, determine the control commands and control signal types, and adjust the cooling fan and / or power regulation module according to the control signal types and control commands.
[0056] Specifically, the MCU submodule 1041 receives control signals transmitted through the network port, parses the control signals, and converts the control signals into digital signals or analog signals. The control signal type refers to control signals sent to the cooling fan and / or control signals sent to the power regulation module.
[0057] At least one sensor is used to collect one or more of current, voltage, fan speed, and temperature, and to send the collected test data corresponding to the control command to the data storage submodule.
[0058] Specifically, the location and number of sensors can be set according to the actual working conditions. This embodiment does not impose specific restrictions on this, as long as they can be used to collect data on the current, voltage, fan speed, and temperature of the PSU equipment.
[0059] The data storage submodule 1042 is used to store test data collected by at least one sensor so that the test data can be communicated externally through the network port.
[0060] Specifically, the data storage submodule 1042 stores the test data collected by the sensors and transmits it via the network port so that devices connected to the network port can obtain the corresponding test data. This allows for the determination of whether the PSU device has experienced a corresponding fault. The collected test data includes one or more of the following: the PSU device's current, voltage, fan speed, and temperature.
[0061] In one optional embodiment, the control signal includes one or more of a first control signal, a second control signal, and a third control signal, wherein at least one sensor is disposed at the cooling fan and / or the power conditioning module.
[0062] The MCU submodule is used to receive one or more of the first control signal, second control signal, and third control signal transmitted through the network port, parse the first control signal, second control signal, and third control signal, determine the first control command, second control command, and third control command respectively, and send the first control command and / or the second control command to the power conditioning module, and send the third control command to the cooling fan.
[0063] Specifically, the first control command and the second control command refer to one of the control commands for input voltage, output voltage, short circuit, or other voltage-related parameters. The control commands represented by the first and second control commands are different; for example, the first control command might be a voltage control command that prevents the PSU from meeting its rated power, while the second control command might be a voltage control command that causes the PSU to exceed its rated power. These commands can be set according to the specific fault to be simulated. The third control command refers to the fan control command for fan speed. For example, the third control command might be a fan control command that disables cooling for the PSU, allows normal cooling, or causes the cooling fan to operate beyond its rated power.
[0064] At least one sensor is used to collect first test data and second test data corresponding to a first control command and a second control command, respectively, and to collect third test data corresponding to a third control command. The first test data and second test data are used to represent current and / or voltage, and the third test data is used to represent fan speed and / or temperature.
[0065] Specifically, the first and second test data are used to represent the voltage and current of the PSU under different voltage control commands, and the third test data is used to represent the temperature of the PSU and the fan speed under different fan control commands.
[0066] The data storage submodule is used to store the first test data, the second test data, and the third test data, so that the first test data, the second test data, and the third test data can be transmitted through the network port to the device connected to the switch PSU hardware fault simulation device, thereby using the first test data and the second test data to determine the voltage fault, and using the third test data to determine the operating temperature fault.
[0067] Specifically, the device connected to the switch PSU hardware fault simulation device can be a host computer. The host computer determines the voltage fault type of the switch PSU hardware fault simulation device relative to the PSU control parameters by using the correspondence between the first test data, the second test data and the fault type, and determines the fan fault type of the switch PSU hardware fault simulation device relative to the PSU control parameters by using the correspondence between the third test data and the fault type.
[0068] By implementing this embodiment, the MCU submodule included in the embedded system module parses the control signals transmitted via the network port and generates control commands. These commands are then used to regulate the input and output voltages of the power supply module and the fan speed of the cooling fan, thereby controlling the parameters of the PSU. This process requires no human intervention, ensuring the accuracy of the detection results. Different parameters can be adjusted according to different control commands without the need for manual switching of faulty circuits, thus improving the reusability of PSU fault detection. Furthermore, the data storage submodule included in the embedded system module stores the test data collected by the sensors, and the stored test data is transmitted via the network port to determine the fault of the PSU device after simulation based on the PSU control parameters. This process does not require the involvement of the switch equipment, improving the accuracy of the detection results while avoiding damage to the switch equipment due to simulated fault scenarios.
[0069] In one optional implementation, as an application of a switch PSU hardware fault simulation device, this embodiment of the invention provides a switch PSU hardware fault simulation system, such as... Figure 2 As shown, it includes: a host computer 201 and a PSU hardware fault simulation device 202, wherein,
[0070] The switch PSU hardware fault simulation device 202 is also used to collect and store one or more test data of current, voltage, fan speed, and temperature, and send the test data to the host computer through the network port.
[0071] The host computer 201 is also used to respond to test data and determine the fault type of the switch PSU hardware fault simulation device relative to the PSU control parameters by using the preset correspondence between test data and fault types.
[0072] Specifically, the switch PSU hardware fault simulation device 202 collects one or more of the following in response to the control signal: current, voltage, fan speed, and temperature, through sensors, and stores the collected test data in the storage submodule. The collected test data is then sent to the host computer 201 through the network port.
[0073] Specifically, after receiving the test data, the host computer 201 determines the fault type corresponding to the test data based on a preset correspondence between test data and fault types. Since the test data is one or more of the following responses to control signals: current, voltage, fan speed, and temperature, there is a one-to-one correspondence between the test data and the control signals sent by the host computer 201. That is, determining the fault type corresponding to the test data means determining the fault type corresponding to the control signal, thereby determining whether there is a correspondence between the control signal and the fault type. For example, if the sent control signal belongs to type A, and the fault type determined by the test data is also type A, then the control signal corresponds to the fault type. It should be understood that other functions of the host computer 201 and the switch PSU hardware fault simulation device 202 are detailed in the relevant descriptions of the above embodiments and will not be repeated here.
[0074] In one optional implementation, to improve the accuracy of PSU fault simulation detection results, this embodiment of the invention provides an application method for a switch PSU hardware fault simulation system, comprising:
[0075] Acquire test data, which includes one or more of the following: current, voltage, fan speed, and temperature.
[0076] Specifically, acquiring test data refers to obtaining test data corresponding to control signals through sensors set in the switch PSU hardware fault simulation device. The types of test data vary depending on the location of the sensors, and include one or more of the following: current, voltage, fan speed, and temperature.
[0077] Based on the test data, the fault type corresponding to the test data is determined by using the pre-defined correspondence between the test data and the fault type.
[0078] Specifically, determining the fault type corresponding to the test data based on the preset correspondence between test data and fault types means that after receiving the test data corresponding to the control signal, the host computer determines the fault type corresponding to the test data according to the correspondence between test data and fault types. The correspondence between test data and fault types is one-to-one. It should be understood that if no fault type is matched with the test data, it indicates that the control signal corresponding to the test data has not triggered a fault in the PSU device.
[0079] By implementing this embodiment, the MCU submodule included in the embedded system module parses the control signals transmitted through the network port and generates control commands to regulate the input and output voltages of the power supply module and the fan speed of the cooling fan, thereby completing the parameter control of the PSU. This process requires no human intervention, ensuring the accuracy of the detection results. Different parameters can be adjusted according to different control commands without the need for manual switching of faulty circuits, thus improving the reusability of PSU fault detection. Furthermore, by sending the collected test data to the host computer and determining whether the control signal corresponding to the test data caused the PSU device to malfunction based on the correspondence between the test data and the fault type, the fault judgment of the PSU device after simulation based on the PSU control parameters is completed. This process does not require the participation of the switch equipment, improving the accuracy of the detection results while avoiding damage to the switch equipment due to simulated fault scenarios.
[0080] In one optional embodiment, to determine whether the switch connected to the PSU triggered the corresponding fault judgment logic after the PSU device was simulated according to the PSU control parameters, the switch PSU hardware fault simulation device further includes: a storage module connected to an embedded system module, and the embedded system module connected to a gold finger (a keypad for the switch).
[0081] The storage module is used to store fault information and, in response to the control of the embedded system module, sends the fault information to the gold finger so that the fault information can be communicated externally through the gold finger.
[0082] Specifically, the storage module refers to the EEPROM, which is used to store fault information from the switch PSU hardware fault simulation device and send the fault information to the gold finger through the embedded system module.
[0083] In one optional implementation, as an application of a switch PSU hardware fault simulation device, this embodiment of the invention provides a switch PSU hardware fault simulation system, such as... Figure 2 As shown, it includes: a switch 203 and a switch PSU hardware fault simulation device 202, wherein,
[0084] The switch PSU hardware fault simulation device 202 is also used to store fault information and send the fault information to the switch via the gold finger.
[0085] Switch 203 is used to respond to fault data, determine the data execution result corresponding to the fault data, and determine the fault judgment logic of the switch through the execution result.
[0086] Specifically, the switch PSU hardware fault simulation device 202 stores fault information through a storage module and communicates with the switch through a gold finger.
[0087] Specifically, switch 203 reads fault information through PMBus, determines whether the switch can detect the fault normally, and takes corresponding measures. The fault judgment logic determined by the execution result includes actions such as automatically switching to backup power, issuing alarms, or recording fault logs. It should be understood that other functions of the switch PSU hardware fault simulation device 202 are detailed in the relevant descriptions of the above embodiments and will not be repeated here.
[0088] In one optional embodiment, this invention provides an application method for a switch PSU hardware fault simulation system, comprising:
[0089] Obtain fault information.
[0090] Specifically, obtaining fault information refers to the switch reading the fault information stored in the switch's PSU hardware fault simulation device through PMBus.
[0091] Based on the fault information, determine the data execution result of the switch in response to the fault information.
[0092] Specifically, determining the switch data execution result in response to the fault information based on fault information means determining whether the switch has performed the corresponding execution action. The execution action of the switch includes, for example, automatically switching to backup power, issuing an alarm, or recording a fault log.
[0093] Based on the execution results of switch data, detect the switch's fault diagnosis logic.
[0094] Specifically, based on the data execution results of the switch, the fault judgment logic of the switch is to assume that the switch has executed the corresponding fault judgment logic when the switch executes the corresponding execution action, that is, to execute the hardware protection action.
[0095] By implementing this embodiment, the MCU submodule included in the embedded system module parses the control signals transmitted through the network port and generates control commands, thereby regulating the input and output voltages of the power supply module and the fan speed of the cooling fan to complete the parameter control of the PSU. This process requires no human intervention, ensuring the accuracy of the detection results. Different parameter adjustments can be achieved according to different control commands without the need for manual switching of faulty circuits, thus improving the reusability of PSU fault detection. Furthermore, by reading the stored fault information through the switch and detecting whether the switch has executed the corresponding fault logic judgment action, the detection of whether the switch connected to the PSU has triggered the corresponding fault judgment logic is completed, thereby further improving the accuracy of the detection results.
[0096] Although embodiments of the invention have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations all fall within the scope defined by the appended claims.
Claims
1. A device for simulating hardware faults in a power switch (PSU), characterized in that, The device includes: an embedded system module, a network port, a cooling fan, a power interface, a power regulation module, and gold fingers. The embedded system module is connected to the network port, the cooling fan, and the power regulation module. The power regulation module is connected to the power interface and the gold fingers. The network port is used to receive control signals; The embedded system module is used to receive control signals transmitted through the network port, parse the control signals, determine the control commands and control signal types, and adjust the cooling fan and / or power regulation module according to the control signal types and control commands. The power interface is used to connect to electrical energy and transmit the electrical energy to the power regulation module; The power regulation module is used to regulate the input voltage and output voltage in response to the control commands of the embedded system module; The cooling fan is used to adjust the fan speed in response to the control commands of the embedded system module; The gold fingers are used to connect to the switch and supply power to the switch in response to the output voltage of the power regulation module. The device further includes at least one sensor connected to the embedded system module, the embedded system module comprising: a data storage submodule and an MCU submodule, wherein... The MCU submodule is used to receive control signals transmitted through the network port, parse the control signals, determine the control commands and control signal types, and adjust the cooling fan and / or power regulation module according to the control signal types and control commands. At least one of the aforementioned sensors is used to collect one or more of current, voltage, fan speed, and temperature, and to send the collected test data corresponding to the control command to the data storage submodule. The data storage submodule is used to store test data collected by at least one of the sensors, so that the test data can be communicated externally through the network port; The control signal includes one or more of a first control signal, a second control signal, and a third control signal, and at least one of the sensors is disposed at the cooling fan and / or the power conditioning module, wherein... The MCU submodule is used to receive one or more of the first control signal, the second control signal, and the third control signal transmitted through the network port, parse the first control signal, the second control signal, and the third control signal, determine the first control command, the second control command, and the third control command respectively, and send the first control command and / or the second control command to the power adjustment module, and send the third control command to the cooling fan; At least one of the sensors is used to collect first test data, second test data and third test data corresponding to the first control command and the second control command respectively, wherein the first test data and the second test data are used to represent current and / or voltage and the third test data are used to represent fan speed and / or temperature. The data storage submodule is used to store the first test data, the second test data, and the third test data, so that the first test data, the second test data, and the third test data are transmitted through the network port to the device connected to the switch PSU hardware fault simulation device, thereby using the first test data and the second test data to determine voltage faults, and using the third test data to determine operating temperature faults.
2. The apparatus according to claim 1, characterized in that, The device further includes: a storage module connected to the embedded system module, and the embedded system module connected to the gold finger, wherein... The storage module is used to store fault information and, in response to the control of the embedded system module, sends the fault information to the gold finger through the embedded system module, so that the fault information can be communicated externally through the gold finger.
3. A hardware fault simulation system for a power switch (PSU), characterized in that, The system includes: a host computer and a switch PSU hardware fault simulation device as described in claim 1 or 2, wherein the switch PSU hardware fault simulation device is connected to the host computer, wherein... The host computer is used to obtain the PSU control parameters configured by the user, generate control signals according to the PSU control parameters, and send the control signals to the switch PSU hardware fault simulation device. The switch PSU hardware fault simulation device is used to adjust one or more of the input voltage, output voltage, and fan speed of the switch PSU hardware fault simulation device in response to the control signal.
4. The system according to claim 3, characterized in that, The switch PSU hardware fault simulation device is also used to collect and store one or more test data of current, voltage, fan speed, and temperature, and send the test data to the host computer through the network port; The host computer is also used to respond to the test data and determine the fault type of the switch PSU hardware fault simulation device relative to the PSU control parameters by means of a preset correspondence between the test data and the fault type.
5. The system according to claim 3, characterized in that, The system also includes a switch, which is connected to the switch PSU hardware fault simulation device, wherein... The switch PSU hardware fault simulation device is also used to store fault information and send the fault information to the switch via a gold finger; The switch is configured to respond to the fault information, determine the data execution result corresponding to the fault information, and determine the fault judgment logic of the switch through the execution result.
6. An application method of the switch PSU hardware fault simulation system as described in any one of claims 3 to 5, characterized in that, The method includes: Acquire control signals in response to user-configured PSU control parameters; The control signals are analyzed to determine the control commands and control signal types, including control voltage and / or fan control signals. The voltage and / or fan are adjusted based on the control command and the control signal type.
7. The method according to claim 6, characterized in that, After adjusting the voltage and / or fan based on the control command and the control signal type, the method further includes: Acquire test data, which includes one or more of the following: current, voltage, fan speed, and temperature; Based on the test data, the fault type corresponding to the test data is determined by using a preset correspondence between test data and fault types.
8. The method according to claim 6, characterized in that, After adjusting the voltage and / or fan based on the control command and the control signal type, the method further includes: Obtain fault information; Based on the fault information, determine the switch data execution result in response to the fault information; Based on the execution results of the switch data, the fault diagnosis logic of the switch is detected.
Citation Information
Patent Citations
System and method for fault simulation, electronic equipment and storage medium
CN113377598A
Power module test method and device, electronic equipment and storage medium
CN116106777A