A power monitoring system for memory compatibility testing
By designing a power monitoring system for memory compatibility testing, real-time monitoring and controlling the power supply of the test system, the problem of not being able to quickly determine the power supply problem is solved, and the effect of quickly positioning and protecting the test system and memory is achieved.
Patent Information
- Application Number
- CN202411630876.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-15
- Publication Date
- 2025-03-14
- Estimated Expiration
- 2044-11-15
AI Technical Summary
In the compatibility test of eMMC memory, the host cannot monitor and control the power supply of the test system in real time, resulting in the inability to quickly determine whether the power supply problem has caused the test to fail.
A power monitoring system for memory compatibility testing is designed, including control modules, switch modules, rectifier modules, voltage division modules and comparison modules. Through these modules, the power supply is monitored and controlled in real time, voltage signals and comparison results are generated, and the host is fed back.
Real-time monitoring of the compatibility test system power supply is realized, which can quickly determine the power supply problem, locate the root cause of the problem, and protect the test system and memory through power-off instructions to prevent further damage.
Smart Images

Figure CN119148838B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of storage, and in particular to a power supply monitoring system for storage compatibility testing. Background Art
[0002] eMMC memory (embedded MultiMediaCard) is widely used in various electronic devices, such as smart phones, tablet computers, etc. Before the memory leaves the factory, it needs to be tested for compatibility to ensure that the eMMC memory can work properly under different platforms and conditions.
[0003] When testing the eMMC memory, the test is usually performed through the cooperation between the compatibility test system and the host. The host cannot control the closing and disconnection of the power supply on the compatibility test system, nor can it obtain the specific parameters of the power supply. When testing the eMMC memory, if a problem occurs, it is impossible to directly know whether it is caused by power supply abnormality. Therefore, there is room for improvement. Summary of the invention
[0004] The object of the present invention is to provide a power supply monitoring system for memory compatibility testing, which can monitor the power supply on the compatibility testing system in real time.
[0005] In order to solve the above technical problems, the present invention is achieved through the following technical solutions:
[0006] The present invention provides a power supply monitoring system for memory compatibility testing, comprising:
[0007] A control module, which is electrically connected to the host and is used to receive a power supply instruction / power off instruction from the host;
[0008] A switch module, whose input end is electrically connected to the output end of the control module, and whose output end is electrically connected to the power supply of the compatibility test system; the control module is used to control the power supply of the compatibility test system to supply power / off power through the switch module according to the power supply instruction / off power supply instruction;
[0009] A rectifier module, whose input end is electrically connected to the output end of the switch module; when the power supply of the compatibility test system outputs an AC voltage, the rectifier module is used to convert it into a DC voltage and output it; when the power supply of the compatibility test system outputs a DC voltage, the rectifier module directly outputs it;
[0010] a voltage dividing module, whose input end is electrically connected to the output end of the rectifier module, for reducing the DC voltage to a divided voltage; and
[0011] A comparison module, whose input terminal is electrically connected to the output terminal of the voltage divider module, for outputting a comparison instruction according to the divided voltage;
[0012] Among them, the control module is also electrically connected to the output end of the voltage divider module and the output end of the comparison module respectively; the control module is used to generate a corresponding voltage signal according to the voltage divider voltage; the control module generates a corresponding comparison result according to the comparison instruction; the control module feeds back the voltage signal and the comparison result to the host through the interface module.
[0013] In one embodiment of the present invention, it also includes:
[0014] a power supply module, used to supply power to the control module, the switch module, and some power supply interfaces of the comparison module; and
[0015] The voltage regulating module is used to regulate the voltage output by the power supply module and then supply power to other power supply interfaces of the control module and the comparison module.
[0016] In one embodiment of the present invention, the power supply module includes:
[0017] A power supply unit for supplying power;
[0018] A first switch unit, whose input end is electrically connected to the output end of the power supply unit, for controlling power supply / power off of the power supply unit;
[0019] a protection unit, whose input end is electrically connected to the output end of the first switch unit, for protecting the power supply unit; and
[0020] A power supply filter unit, whose input end is electrically connected to the output end of the protection unit, is used to filter the output current of the power supply unit.
[0021] In one embodiment of the present invention, the voltage regulating module includes:
[0022] A first control unit, an input end of which is electrically connected to an output end of the power supply module; and
[0023] an output unit, electrically connected to an output terminal of the first control unit, for regulating a voltage output by the first control unit;
[0024] The first control unit is further used to receive a feedback signal from the output unit to monitor the working state of the output unit.
[0025] In one embodiment of the present invention, it also includes:
[0026] The conversion module has an input end electrically connected to the host through an interface, and an output end electrically connected to the input end of the control module, and is used to convert the digital signal of the interface into a serial interface signal.
[0027] In one embodiment of the present invention, the control module includes:
[0028] A main control unit, whose input end is electrically connected to the output end of the conversion module, for receiving a power supply instruction / power-off instruction from the host through the interface module and the conversion module in sequence;
[0029] A main control crystal oscillator unit, electrically connected to an input terminal of the main control unit, for generating a clock signal;
[0030] A reset unit, electrically connected to the input terminal of the main control unit, for initializing the main control unit;
[0031] The main control filter unit is used to filter the current input into the main control unit.
[0032] In one embodiment of the present invention, the switch module includes:
[0033] A second switch unit, used to close / open according to the power supply instruction / power off instruction received by the control module;
[0034] a relay electrically connected to an output end of the second switch unit; when the second switch unit is closed, the relay is in a closed state; when the second switch unit is opened, the relay is in an open state; and
[0035] An interface, whose input end is electrically connected to the output end of the relay, and whose output end is electrically connected to the power supply of the compatibility test system.
[0036] In one embodiment of the present invention, the voltage divider module is used to divide the DC voltage output by the rectifier module according to a preset ratio, and input the divided voltage into the input end of the control module and the input end of the comparison module respectively; the control module calculates the output voltage of the power supply of the compatibility test system according to the preset ratio and the divided voltage, and generates a corresponding voltage signal.
[0037] In one embodiment of the present invention, the comparison module includes:
[0038] A comparison unit, comprising a first input terminal, a second input terminal, a third input terminal, a first output terminal and a second output terminal, wherein the first input terminal is electrically connected to the second input unit, the second input terminal is electrically connected to the voltage divider module, the third input terminal is electrically connected to the voltage divider module, and the first output terminal and the second output terminal are electrically connected to the control module respectively;
[0039] Wherein, when the voltage on the first input terminal is greater than the voltage on the second input terminal, the first output terminal outputs a low level;
[0040] When the voltage at the first input terminal is less than or equal to the voltage at the second input terminal, the first output terminal outputs a high level;
[0041] When the voltage on the third input terminal is greater than the reference voltage, the second output terminal outputs a high level;
[0042] When the voltage on the third input terminal is equal to the reference voltage, the second output terminal outputs a low level;
[0043] The control module generates a comparison result that the power supply of the compatibility test system has no output when the first output terminal outputs a low level and the second output terminal outputs a low level;
[0044] The control module generates a comparison result that the output of the power supply of the compatibility test system is a DC voltage when the first output terminal outputs a low level and the second output terminal outputs a high level;
[0045] The control module generates a comparison result that the output of the power supply of the compatibility test system is an AC voltage when the first output terminal outputs a high level and the second output terminal outputs a high level.
[0046] In one embodiment of the present invention, the number of the switch module is at least one, the number of the switch modules, the rectifier modules, the voltage divider modules and the comparison modules are the same, and each of the compatibility test systems corresponds to a group of the switch modules, the rectifier modules, the voltage divider modules and the comparison modules.
[0047] As described above, the present invention provides a power supply monitoring system for memory compatibility testing, and the control module can obtain the power supply status of the compatibility test system in real time when the compatibility test is performed on the memory, and send the current parameters to the host. When a problem occurs in the compatibility test system, by checking the real-time voltage value of the power supply, it is possible to quickly determine whether the error is caused by a power supply problem, so as to quickly locate the root cause of the problem. At the same time, when an error occurs, a power-off command can be sent to control the relay to disconnect, thereby effectively protecting the compatibility test system and the memory, and preventing further damage or failure caused by continued erroneous operation.
[0048] Of course, any product implementing the present invention does not necessarily need to achieve all of the advantages described above at the same time. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for describing the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.
[0050] Figure 1 A schematic diagram of a power monitoring system for memory compatibility testing according to an embodiment of the present invention;
[0051] Figure 2 is a schematic diagram of a power supply module in one embodiment of the present invention;
[0052] Figure 3 is a schematic diagram of a voltage regulating module in one embodiment of the present invention;
[0053] Figure 4 is a schematic diagram of an interface module in one embodiment of the present invention;
[0054] Figure 5 is a schematic diagram of a conversion module in one embodiment of the present invention;
[0055] Figure 6 is a schematic diagram of a control module in one embodiment of the present invention;
[0056] Figure 7 It is a schematic diagram of the cooperation between different groups of switch modules, rectification modules, voltage division modules and comparison modules in one embodiment of the present invention.
[0057] In the figure: 10, host;
[0058] 100, power supply module; 110, power supply unit; 120, first switch unit; 130, protection unit; 140, power supply filter unit;
[0059] 200, voltage regulating module; 210, first input unit; 220, first control unit; 230, output unit;
[0060] 300, interface module;
[0061] 400, conversion module; 410, second control unit; 420, interface crystal oscillator unit;
[0062] 500, control module; 510, main control unit; 520, main control crystal oscillator unit; 530, reset unit; 540, main control filter unit;
[0063] 600, switch module; 610, second switch unit; 620, relay; 621, interface;
[0064] 700, rectifier module;
[0065] 800, voltage divider module;
[0066] 900, comparison module; 910, comparison unit; 920, second input unit. DETAILED DESCRIPTION
[0067] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0068] See also Figure 1 The present invention provides a power supply monitoring system for memory compatibility testing, which can monitor the power supply of the memory compatibility testing system to control it to supply power to / off power to other modules of the memory compatibility testing system. The power supply monitoring system for memory compatibility testing may include a power supply module 100, a voltage regulating module 200, an interface module 300, a conversion module 400, a control module 500, a switch module 600, a rectifier module 700, a voltage dividing module 800, and a comparison module 900.
[0069] See also Figure 2 In one embodiment, the output end of the power supply module 100 may be electrically connected to the control module 500, the switch module 600, and the comparison module 900, respectively, so as to supply power to some power interfaces of the control module 500, the switch module 600, and the comparison module 900. The power supply module 100 may include a power supply unit 110, a first switch unit 120, a protection unit 130, and a power supply filter unit 140.
[0070] See also Figure 2 In one embodiment, the power supply unit 110 can be used as a power supply to power various modules of the power supply monitoring system.
[0071] Specifically, the power supply unit 110 may output a DC voltage of 5 V. Pin 1 of the power supply unit 110 may be electrically connected to the first switch unit 120. Pins 2 and 3 of the power supply unit 110 may be grounded.
[0072] See also Figure 2 In one embodiment, the input end of the first switch unit 120 may be electrically connected to the output end of the power supply unit 110. The first switch unit 120 may be used to control power supply / power off of the power supply unit 110.
[0073] Specifically, the first switch unit 120 may be a double pole double throw switch (DPDT), and its model may be SW DPDT_6P_TS-11P-A1. The first switch unit 120 may have 6 pins, and the 6 pins may be divided into two groups. Each group has a common pin and two switching pins, and the connection of the pins may select different circuit paths as needed.
[0074] See also Figure 2 In one embodiment, the input end of the protection unit 130 may be electrically connected to the output end of the first switch unit 120. The protection unit 130 may be used to protect the power supply unit 110.
[0075] Specifically, the protection unit 130 may be a fuse, and its model may be FUSE-MSMD350. The fuse may be used to prevent the circuit from being damaged when the current is too large. The fuse interrupts the current by melting when the current exceeds its rated value, thereby protecting the circuit from damage due to overload or short circuit.
[0076] See also Figure 2 In one embodiment, the input end of the power supply filter unit 140 is electrically connected to the output end of the protection unit 130. The power supply filter unit 140 can be used to filter the output voltage of the power supply unit 110 to remove ripples and noise in the output current.
[0077] Specifically, the power supply filter unit 140 may include an ordinary capacitor C5, an ordinary capacitor C6, an electrolytic capacitor EC1 and an inductor LB2. Among them, the output end of the protection unit 130 can be electrically connected to one end of the ordinary capacitor C5 and one end of the inductor LB2 respectively. The other end of the inductor LB2 can be electrically connected to one end of the ordinary capacitor C6 and one end of the electrolytic capacitor EC1 respectively. The other end of the ordinary capacitor C5, the other end of the ordinary capacitor C6, and the other end of the electrolytic capacitor EC1 can be grounded. The end of the ordinary capacitor C6 connected to the electrolytic capacitor EC1 can be used as the power output end of the power supply module 100 to output a stable 5V DC voltage.
[0078] Furthermore, ordinary capacitors C5 and C6 can be used for decoupling and filtering. Ordinary capacitors C5 and C6 can effectively filter out high-frequency noise, smooth the power supply signal, and ensure the stability of the circuit. Electrolytic capacitor EC1 is used as the main filter capacitor in the circuit to remove ripples in the current signal and provide a stable DC voltage. Inductor LB2 plays a role in filtering and decoupling in the circuit, and achieves a filtering effect by preventing high-frequency components from passing through and only allowing low-frequency signals to pass through.
[0079] Furthermore, the capacitance of the common capacitor C5 may be 0.1 μF. The capacitance of the common capacitor C6 may be 0.1 μF. The capacitance of the electrolytic capacitor EC1 may be 10 μF. The maximum current allowed to pass through the inductor LB2 does not exceed 6A.
[0080] See also Figure 3 In one embodiment, the input end of the voltage regulating module 200 can be electrically connected to the output end of the power supply module 100. The output end of the voltage regulating module 200 can be electrically connected to the control module 500 and the comparison module 900 respectively. The voltage regulating module 200 can regulate the voltage output by the power supply module 100 to supply power to other power supply interfaces of the control module 500 and the comparison module 900. The voltage regulating module 200 can include a first input unit 210, a first control unit 220 and an output unit 230.
[0081] See also Figure 3 In one embodiment, the first input unit 210 can be electrically connected to the power output terminal of the power supply module 100 to receive the 5V DC voltage output from the power supply module 100. The first input unit 210 is also used to filter the 5V DC voltage output by the power supply module 100 to remove ripples and noise in the output current.
[0082] Specifically, the first input unit 210 may include an inductor LB1, a common capacitor C2, a resistor R1, and a resistor R2. One end of the inductor LB1 may be electrically connected to the power output end of the power supply module 100. The other end of the inductor LB1 may be electrically connected to one end of the common capacitor C2, one end of the resistor R1, and one end of the resistor R2, respectively. The other end of the common capacitor C2 and the other end of the resistor R2 may be grounded.
[0083] Furthermore, the maximum current allowed to pass through the inductor LB1 does not exceed 6 A. The capacitance of the common capacitor C2 may be 22 μF. The resistance value of the resistor R1 may be 100 KΩ. The resistance value of the resistor R2 may be 100 KΩ.
[0084] See also Figure 3 In one embodiment, the first control unit 220 may be a high-efficiency buck DC-DC converter chip, which is used to convert a higher DC voltage into a lower DC voltage. In this embodiment, the model of the first control unit 220 may be SY8003A. The SY8003A chip has 9 pins.
[0085] Specifically, pin 1 of the SY8003A chip can be a FB (Feed back) pin. The FB pin can be used to collect the output voltage and feed it back to the internal control circuit through an external voltage divider resistor network. The chip adjusts the output voltage according to the feedback signal to ensure that it is stable at the set value. The FB pin can be electrically connected to the output unit 230, and the first control unit 220 monitors the working state of the output unit 230 by receiving the feedback signal of the output unit 230.
[0086] Further, pin 2 of the SY8003A chip can be a POK (Power OK) pin. The POK pin can be used to indicate whether the output voltage is normal. When the output voltage is normal, the POK pin is pulled high. When the output voltage is abnormal, the POK pin is pulled low. The POK pin can be electrically connected to the other end of the resistor R1.
[0087] Furthermore, pin 3 of the SY8003A chip can be a VIN (Input Voltage) pin. The VIN pin is an input voltage pin connected to the other end of the inductor LB1. The VIN pin receives an external power supply voltage and uses it as a power supply for the chip to work.
[0088] Furthermore, pin 4 of the SY8003A chip can be a PGND (Power Ground) pin. The PGND pin is a power ground pin used to connect to the power ground.
[0089] Furthermore, pin 5 of the SY8003A chip may be a NC (No Connection) pin. The NC pin is a no connection pin and is not connected to any functional circuit in the internal circuit.
[0090] Furthermore, pin 6 of the SY8003A chip may be an LX (Inductor Connection) pin. The LX pin is an inductor connection pin connected to the inductor L1 in the output unit 230 , which can be used to store energy and transmit energy during switch operation.
[0091] Furthermore, pin 7 of the SY8003A chip can be an EN (Enable) pin. The EN pin is used as an enable pin to enable or disable the chip. When the EN pin is high, the chip works. When the EN pin is low, the chip shuts down and stops working. The EN pin can be electrically connected to the VIN pin to control the start and stop of the chip.
[0092] Furthermore, pin 8 of the SY8003A chip can be an AGND (Analog Ground) pin. The AGND pin is used as an analog ground pin to provide a ground reference for the analog circuit of the chip and to process the ground line of the low-noise analog circuit.
[0093] Furthermore, pin 9 of the SY8003A chip can be a G1 (Ground) pin. The G1 pin can be used as a ground pin to provide a low-noise ground reference for the chip.
[0094] See also Figure 3 In one embodiment, the output unit 230 may be electrically connected to the output terminal of the first control unit 220 to regulate the voltage output by the first control unit 220 .
[0095] Specifically, the output unit 230 may include an inductor L1, a common capacitor C1, a common capacitor C3, a common capacitor C4, a resistor R3 and a resistor R4. Among them, one end of the inductor L1 may be electrically connected to the LX pin of the SY8003A chip. The other end of the inductor L1 may be connected to an end in parallel with the common capacitor C3 and the common capacitor C4. The other end of the common capacitor C3 and the common capacitor C4 is grounded. The other end of the inductor L1 may also be connected to an end in parallel with the resistor R3 and the common capacitor C1. The other end of the resistor R3 and the common capacitor C1 may be electrically connected to the FB pin of the SY8003A chip. The other end of the resistor R3 and the common capacitor C1 may also be grounded through the resistor R4. The other end of the inductor L1 may be used as the power output end of the voltage regulating module 200.
[0096] Furthermore, by adjusting the ratio of the resistance values of the resistor R3 and the resistor R4, the voltage output from the power output end of the voltage regulating module 200 can be regulated to output a DC voltage of 3.3V.
[0097] Furthermore, the maximum current allowed to pass through the inductor L1 does not exceed 3A. The capacitance of the common capacitor C1 may be 22μF. The capacitance of the common capacitor C3 may be 22μF. The capacitance of the common capacitor C4 may be 22μF. The resistance value of the resistor R3 may be 200KΩ. The resistance value of the resistor R4 may be 44.2KΩ.
[0098] See also Figure 4 In one embodiment, the input end of the interface module 300 can be electrically connected to the host 10, and the host 10 can send corresponding power supply instructions / power-off instructions to other modules through the interface module 300.
[0099] Specifically, the interface module 300 may be a USB interface, and the type may be USB2 B type Female. The interface module 300 may include an interface chip, an inductor LB3, a common capacitor C7, and a common capacitor C8. The interface chip has 4 pins.
[0100] Further, pin No. 1 of the interface chip may be a VBUS pin, which may be used as a power pin to supply power to the interface chip. The VBUS pin may be electrically connected to one end of a common capacitor C7 and one end of a common capacitor C8 through an inductor LB3. The other end of the common capacitor C7 and the other end of the common capacitor C8 may be grounded. The maximum current allowed to pass through the inductor LB3 does not exceed 6A. The capacitance of the common capacitor C7 may be 10μF. The capacitance of the common capacitor C8 may be 4.7μF.
[0101] Furthermore, pin 2 and pin 3 of the interface chip can be respectively a D-pin and a D+ pin. The D-pin can be used to transmit a negative signal of data. The D+ pin can be used to transmit a positive signal of data. The D-pin and the D+ pin cooperate with each other to transmit a differential signal to achieve high-speed data transmission. The D-pin and the D+ pin can be connected to pin 7 and pin 6 on the conversion module 400, respectively.
[0102] Furthermore, pin 4 of the interface chip may be a GND pin, which is a ground pin of the USB and is used to provide a common electrical reference point.
[0103] See also Figure 5 In one embodiment, the input end of the conversion module 400 can be electrically connected to the USB interface and the host 10, and the output end thereof can be electrically connected to the input end of the control module 500. The conversion module 400 can be used to convert the digital signal of the interface module 300 into a serial interface signal and send it to the control module 500. The conversion module 400 can include a second control unit 410 and an interface crystal oscillator unit 420.
[0104] See also Figure 5 In one embodiment, the second control unit 410 may be a USB-to-Serial interface chip, which is used to convert the signal of the USB interface into a serial communication signal. The model of the second control unit 410 may be CH340T. The CH340T chip has 20 pins.
[0105] Furthermore, pin 1, pin 11, pin 12, pin 13, pin 14, pin 15, pin 16, pin 18, and pin 19 of the CH340T chip are used as no-connection pins, which are not connected to any functional circuit in the internal circuit.
[0106] Furthermore, pin 2 of the CH340T chip may be an ACT# pin. The ACT# pin may be used to indicate the activity state of the chip. When the chip is working, the ACT# pin may send a signal to indicate that the chip is transmitting data or is in an active state. The ACT# pin may be connected to pin 50 of the control module 500.
[0107] Furthermore, pin 3 of the CH340T chip can be a TXD pin. The TXD pin can send serial data from the chip to the control module 500, and the TXD pin is responsible for transmitting data bits in the serial port data stream. The TXD pin can be connected to pin 52 of the control module 500.
[0108] Furthermore, pin 4 of the CH340T chip can be a RXD pin. The RXD pin can be used to receive serial data from the control module 500 to the chip. The RXD pin is responsible for receiving data bits from the serial port data stream. The RXD pin can be connected to pin 51 of the control module 500.
[0109] Furthermore, pin 5 of the CH340T chip may be pin V3, which may be electrically connected to the power output terminal of the voltage regulating module 200 via resistor R74.
[0110] Furthermore, pin 6 and pin 7 of the CH340T chip can be UD+ pin and UD- pin respectively. The UD+ pin and UD- pin can be connected to the D+ pin and D- pin of the interface module 300 respectively. The UD+ pin is used to transmit the positive differential signal of the USB data signal. The UD- pin is used to transmit the negative differential signal of the USB data signal.
[0111] Furthermore, pin 8 of the CH340T chip is the ground pin (GND).
[0112] Furthermore, pin 9 and pin 10 of the CH340T chip are respectively XI pin and XO pin. The XI pin and the XO pin are respectively connected to the two ends of the interface crystal oscillator unit 420. The XI pin is used to provide a clock signal to the chip. The XO pin is used to output the signal of the external crystal oscillator.
[0113] Furthermore, pin 17 of the CH340T chip may be a TNOW pin. The TNOW pin may be used as a test pin for debugging or testing purposes. The TNOW pin may be connected to pin 36 of the control module 500.
[0114] Furthermore, pin 19 of the CH340T chip may be a VCC pin. The VCC pin is a power pin and is electrically connected to the power output terminal of the voltage regulating module 200 to provide a 3.3V DC voltage to the chip.
[0115] See also Figure 5 In one embodiment, the interface crystal oscillator unit 420 can be used to provide a stable and accurate clock signal to the second control unit 410. The interface crystal oscillator unit 420 includes a crystal oscillator X1, a common capacitor C9, and a common capacitor C10. The crystal oscillator X1 has 4 pins.
[0116] Specifically, pins 2 and 4 of the crystal oscillator X1 can be grounded. Pins 1 and 3 of the crystal oscillator X1 can be used to output a stable clock signal. Pin XI of the second control unit 410 can be connected to pin 1 of the crystal oscillator X1 and one end of a common capacitor C9, respectively. The other end of the common capacitor C9 can be grounded. Pin XO of the second control unit 410 can be connected to pin 3 of the crystal oscillator X1 and one end of a common capacitor C10, respectively. The other end of the common capacitor C10 can be grounded. The operating frequency of the crystal oscillator X1 is 12 MHz. The capacitance of the common capacitor C9 can be 20 pF. The capacitance of the common capacitor C10 can be 20 pF.
[0117] See also Figure 6 In one embodiment, the control module 500 can be electrically connected to the host 10 through the interface module 300 and the conversion module 400 in sequence to receive the power supply instruction / power-off instruction from the host 10, and perform corresponding actions according to the power supply instruction / power-off instruction. The control module 500 can include a main control unit 510, a main control crystal oscillator unit 520, a reset unit 530, and a main control filter unit 540.
[0118] See also Figure 6 In one embodiment, the input end of the main control unit 510 can be electrically connected to the output end of the conversion module 400, so as to receive the power supply instruction / power-off instruction from the host 10 through the interface module 300 and the conversion module 400 in sequence. In this embodiment, the main control unit 510 can be a single-chip microcomputer, and its model can be STM32F103RC. Among them, the STM32F103RC chip has 64 pins.
[0119] Further, pins 2, 3, 4, 14, 26, 39, 40, 46, 49, 53, 54, 55, and 60 of the STM32F103RC chip are used as unconnected pins, which are not connected to any functional circuit in the internal circuit. Of course, for the above unconnected pins, when necessary, some pins can also be selected for debugging to serve as ADC pins (not shown in the figure), which can be connected to the output end of the voltage divider module 800 to convert the analog signal output by the voltage divider module 800 into a digital signal for processing by the STM32F103RC chip.
[0120] Furthermore, pin 1 of the STM32F103RC chip can be a VBAT pin. The VBAT pin can provide power to the real-time clock (RTC) and the backup register to maintain data (such as time and configuration information) when the main power is off. When the main power is off, the VBAT pin is used to keep the RTC running and save the data in the backup register. The VBAT pin can be connected to the power output terminal of the voltage regulator module 200 to maintain a DC voltage of 3.3V when the main power is off.
[0121] Furthermore, pin 5 and pin 6 of the STM32F103RC chip can be respectively an OSC_IN pin and an OSC_OUT pin. The OSC_IN pin and the OSC_OUT pin can be respectively connected to two ends of the master crystal oscillator unit 520. The OSC_IN pin is used to provide a clock signal to the chip. The OSC_OUT pin is used to output a signal of an external crystal oscillator.
[0122] Furthermore, pin 7 of the STM32F103RC chip may be a NRST pin. The NRST pin is an external reset pin, which may be electrically connected to the output end of the reset unit 530, and the chip may be reset to an initial state by triggering a reset signal of the reset unit 530.
[0123] Furthermore, pins 12 and 13 of the STM32F103RC chip can be VSSA pin and VDDA pin respectively. The VSSA pin and the VDDA pin can be grounded through the main control filter unit 540 respectively. The VSSA pin is used as the ground wire of the analog circuit to provide a reference ground for the analog circuit part to ensure the stability and accuracy of the analog circuit. The VDDA pin provides a power supply voltage for the analog circuit. The stability and accuracy of the analog circuit can be ensured by the mutual cooperation of the VDDA pin and the VSSA pin. Among them, the VDDA pin needs to be connected to the power output end of the voltage regulating module 200 to provide a 3.3V DC voltage for the analog circuit.
[0124] Furthermore, pins 18 and 19 of the STM32F103RC chip can be respectively VSS_4 pin and VDD_4 pin. As a digital ground pin, the VSS_4 pin can provide a reference ground for the digital circuit, ensure the stable operation of the digital circuit, and reduce the noise and interference of the digital signal. As a digital power supply voltage pin, the VDD_4 pin can provide a power supply voltage for the digital circuit part. The VSS_4 pin and the VDD_4 pin work together to ensure the stability and reliability of the digital circuit. Among them, the VDD_4 pin needs to be connected to the power output end of the voltage regulating module 200 to provide a 3.3V DC voltage for the digital circuit. A common capacitor C19 can be connected between the VSS_4 pin and the VDD_4 pin. The capacitance of the common capacitor C19 can be 100nF.
[0125] Furthermore, pins 31 and 32 of the STM32F103RC chip can be respectively VSS_1 pin and VDD_1 pin. As a digital ground pin, the VSS_1 pin can provide a reference ground for the digital circuit, ensure the stable operation of the digital circuit, and reduce the noise and interference of the digital signal. As a digital power supply voltage pin, the VDD_1 pin can provide a power supply voltage for the digital circuit part. The VSS_1 pin and the VDD_1 pin work together to ensure the stability and reliability of the digital circuit. Among them, the VDD_1 pin needs to be connected to the power output end of the voltage regulating module 200 to provide a 3.3V DC voltage for the digital circuit. An ordinary capacitor C20 can be connected between the VSS_1 pin and the VDD_1 pin. The capacitance of the ordinary capacitor C20 can be 100nF.
[0126] Furthermore, pins 47 and 48 of the STM32F103RC chip can be respectively VSS_2 pin and VDD_2 pin. As a digital ground pin, the VSS_2 pin can provide a reference ground for the digital circuit, ensure the stable operation of the digital circuit, and reduce the noise and interference of the digital signal. As a digital power supply voltage pin, the VDD_2 pin can provide a power supply voltage for the digital circuit part. The VSS_2 pin and the VDD_2 pin work together to ensure the stability and reliability of the digital circuit. Among them, the VDD_2 pin needs to be connected to the power output end of the voltage regulating module 200 to provide a 3.3V DC voltage for the digital circuit. A common capacitor C13 can be connected between the VSS_2 pin and the VDD_2 pin. The capacitance of the common capacitor C20 can be 100nF.
[0127] Furthermore, pins 63 and 64 of the STM32F103RC chip can be respectively VSS_3 pin and VDD_3 pin. As a digital ground pin, the VSS_3 pin can provide a reference ground for the digital circuit, ensure the stable operation of the digital circuit, and reduce the noise and interference of the digital signal. As a digital power supply voltage pin, the VDD_3 pin can provide a power supply voltage for the digital circuit part. The VSS_3 pin and the VDD_3 pin work together to ensure the stability and reliability of the digital circuit. Among them, the VDD_3 pin needs to be connected to the power output end of the voltage regulating module 200 to provide a 3.3V DC voltage for the digital circuit.
[0128] See also Figure 6 In one embodiment, the master crystal oscillator unit 520 can be used to provide a stable and accurate clock signal to the control module 500. The master crystal oscillator unit 520 includes a crystal oscillator X2, a common capacitor C14, and a common capacitor C15. The crystal oscillator X2 has 4 pins.
[0129] Specifically, pins 2 and 4 of the crystal oscillator X2 can be grounded. Pins 1 and 3 of the crystal oscillator X2 can be used to output a stable clock signal. The OSC_IN pin of the STM32F103RC chip can be connected to pin 1 of the crystal oscillator X2 and one end of a common capacitor C14, respectively. The other end of the common capacitor C14 can be grounded. The OSC_OUT pin of the STM32F103RC chip can be connected to pin 3 of the crystal oscillator X2 and one end of a common capacitor C15, respectively. The other end of the common capacitor C15 can be grounded. Among them, the operating frequency of the crystal oscillator X2 is 8 MHz. The capacitance of the common capacitor C14 can be 12 pF. The capacitance of the common capacitor C15 can be 12 pF.
[0130] See also Figure 6 In one embodiment, the reset unit 530 may be electrically connected to the input terminal of the main control unit 510 to initialize the main control unit 510. The reset unit 530 may include a resistor R5 and a common capacitor C16.
[0131] Specifically, one end of the resistor R5 can be connected to the power output end of the voltage regulating module 200 to provide a DC voltage of 3.3V. The other end of the resistor R5 can be connected to the NRST pin of the STM32F103RC chip and one end of the ordinary capacitor C16 respectively. The other end of the ordinary capacitor C16 can be connected to the VSSA pin of the STM32F103RC chip. The resistance value of the resistor R5 can be 1KΩ. The capacitance of the ordinary capacitor C16 can be 0.1μF.
[0132] See also Figure 6 In one embodiment, the main control filter unit 540 can filter the current input to the main control unit 510 to remove ripples and noise in the current. The main control filter unit 540 can include a first filter unit, a second filter unit, a third filter unit, a fourth filter unit, and a fifth filter unit.
[0133] Further, the first filtering unit can filter the current between the VSSA pin and the VDDA pin of the STM32F103RC chip. The first filtering unit can include a common capacitor C27 and a common capacitor C28. The VDDA pin can be connected to one end of the common capacitor C27 and the common capacitor C28 respectively, and at the same time, the connection can be connected to the power output end of the voltage regulating module 200 to provide a DC voltage of 3.3V. The other end of the common capacitor C27 and the common capacitor C28 can be grounded, and at the same time, the other end of the common capacitor C27 and the common capacitor C28 can be connected to the VSSA pin. Among them, the capacitance of the common capacitor C27 can be 10nF. The capacitance of the common capacitor C28 can be 10nF.
[0134] Further, the second filtering unit can filter the current between the VSS_1 pin and the VDD_1 pin of the STM32F103RC chip. The second filtering unit can include a common capacitor C20. One end of the common capacitor C20 can be connected to the VSS_1 pin, and the connection can be grounded. The other end of the common capacitor C20 can be connected to the VDD_1 pin, and the connection can be connected to the power output end of the voltage regulating module 200 to provide a DC voltage of 3.3V. Wherein, the capacitance of the common capacitor C20 can be 100nF.
[0135] Further, the third filtering unit can filter the current between the VSS_2 pin and the VDD_2 pin of the STM32F103RC chip. The third filtering unit can include a common capacitor C13. One end of the common capacitor C13 can be connected to the VSS_2 pin, and the connection can be grounded. The other end of the common capacitor C13 can be connected to the VDD_2 pin, and the connection can be connected to the power output end of the voltage regulating module 200 to provide a DC voltage of 3.3V. Wherein, the capacitance of the common capacitor C13 can be 100nF.
[0136] Further, the fourth filtering unit can filter the current between the VSS_3 pin and the VDD_3 pin of the STM32F103RC chip. The fourth filtering unit may include a common capacitor C21 and a common capacitor C22. The VDD_3 pin may be connected to one end of the common capacitor C21 and the common capacitor C22 respectively, and at the same time, the connection may be connected to the power output end of the voltage regulating module 200 to provide a DC voltage of 3.3V. The other end of the common capacitor C21 and the common capacitor C22 may be connected to ground, and at the same time, the other end of the common capacitor C21 and the common capacitor C22 may be connected to the VSS_3 pin. Among them, the capacitance of the common capacitor C21 may be 4.7μF. The capacitance of the common capacitor C22 may be 100nF.
[0137] Further, the fifth filtering unit can filter the current between the VSS_4 pin and the VDD_4 pin of the STM32F103RC chip. The fifth filtering unit can include a common capacitor C19. One end of the common capacitor C19 can be connected to the VSS_4 pin, and the connection can be grounded. The other end of the common capacitor C19 can be connected to the VDD_4 pin, and the connection can be connected to the power output end of the voltage regulating module 200 to provide a DC voltage of 3.3V. Wherein, the capacitance of the common capacitor C19 can be 100nF.
[0138] See also Figure 6 , Figure 7 In one embodiment, the number of the switch module 600 may be at least one. The number of the switch modules 600, the rectifier modules 700, the voltage divider modules 800, and the comparison modules 900 may be the same. One switch module 600, one rectifier module 700, one voltage divider module 800, and one comparison module 900 may be a group. One group of switch modules 600, rectifier modules 700, voltage divider modules 800, and comparison modules 900 may correspond to one compatibility test system. At this time, the control module 500 may correspond to multiple groups of switch modules 600, rectifier modules 700, voltage divider modules 800, and comparison modules 900 to monitor the power supplies of multiple compatibility test systems.
[0139] See also Figure 6 , Figure 7In one embodiment, the structures of the switch modules 600, the rectifier modules 700, the voltage divider modules 800 and the comparison modules 900 of different groups may be the same. The switch modules 600, the rectifier modules 700, the voltage divider modules 800 and the comparison modules 900 of the first group may be represented as PORT 1. The switch modules 600, the rectifier modules 700, the voltage divider modules 800 and the comparison modules 900 of the second group may be represented as PORT 2. By analogy, the switch modules 600, the rectifier modules 700, the voltage divider modules 800 and the comparison modules 900 of the Nth group may be represented as PORT N. Among them, since the number of pins on the control module 500 is certain, the size of N needs to be determined according to the number of pins on the control module 500. Of course, when it is necessary to monitor the power supplies of a large number of compatibility test systems, the number of control modules 500 may also be increased, so that the size of N may be increased in proportion.
[0140] See also Figure 6 and Figure 7 In one embodiment, pin 15 (PA1), pin 16 (PA2), pin 17 (PA3), and pin 20 (PA4) of the main control unit 510 can be matched with PORT 1. Pin 15 of the main control unit 510 can be used as an output signal pin to output a power supply instruction / power-off instruction to the switch module 600. Pins 16 and 17 of the main control unit 510 can be used as input pins to receive a comparison instruction from the comparison module 900. The main control unit 510 can use pin 20 of the main control unit 510 as an output pin according to the comparison instruction to feed back the comparison result and the voltage signal to the host 10.
[0141] See also Figure 6 In one embodiment, pin 21 (PA5), pin 22 (PA6), pin 23 (PA7), and pin 41 (PA8) of the main control unit 510 can be matched with PORT 2. Pin 21 of the main control unit 510 can be used as an output signal pin to output a power supply instruction / power-off instruction to the switch module 600. Pins 22 and 23 of the main control unit 510 can be used as input pins to receive a comparison instruction from the comparison module 900. The main control unit 510 can use pin 41 of the main control unit 510 as an output pin according to the comparison instruction to feed back the comparison result and the voltage signal to the host 10.
[0142] See also Figure 6In one embodiment, pin 42 (PA9), pin 43 (PA10), pin 44 (PA11), and pin 45 (PA12) of the main control unit 510 can be matched with PORT 3. Pin 42 of the main control unit 510 can be used as an output signal pin to output a power supply instruction / power-off instruction to the switch module 600. Pins 43 and 44 of the main control unit 510 can be used as input pins to receive a comparison instruction from the comparison module 900. The main control unit 510 can use pin 45 of the main control unit 510 as an output pin according to the comparison instruction to feed back the comparison result and the voltage signal to the host 10.
[0143] See also Figure 6 In one embodiment, pin 27 (PB1), pin 56 (PB4), pin 57 (PB5), and pin 58 (PB6) of the main control unit 510 can be matched with PORT 4. Pin 27 of the main control unit 510 can be used as an output signal pin to output a power supply instruction / power-off instruction to the switch module 600. Pins 56 and 57 of the main control unit 510 can be used as input pins to receive a comparison instruction from the comparison module 900. The main control unit 510 can use pin 58 of the main control unit 510 as an output pin according to the comparison instruction to feed back the comparison result and the voltage signal to the host 10.
[0144] See also Figure 6 In one embodiment, pin 59 (PB7), pin 61 (PB8), pin 62 (PB9), and pin 29 (PB10) of the main control unit 510 can be matched with PORT 5. Pin 59 of the main control unit 510 can be used as an output signal pin to output a power supply instruction / power-off instruction to the switch module 600. Pins 61 and 62 of the main control unit 510 can be used as input pins to receive a comparison instruction from the comparison module 900. The main control unit 510 can use pin 29 of the main control unit 510 as an output pin according to the comparison instruction to feed back the comparison result and the voltage signal to the host 10.
[0145] See also Figure 6In one embodiment, pin 30 (PB11), pin 33 (PB12), pin 34 (PB13), and pin 35 (PB14) of the main control unit 510 can be matched with PORT 6. Pin 30 of the main control unit 510 can be used as an output signal pin to output a power supply instruction / power-off instruction to the switch module 600. Pins 33 and 34 of the main control unit 510 can be used as input pins to receive a comparison instruction from the comparison module 900. The main control unit 510 can use pin 35 of the main control unit 510 as an output pin according to the comparison instruction to feed back the comparison result and the voltage signal to the host 10.
[0146] See also Figure 6 In one embodiment, pin 8 (PC0), pin 9 (PC1), pin 10 (PC2), and pin 11 (PC3) of the main control unit 510 can be matched with PORT 7. Pin 8 of the main control unit 510 can be used as an output signal pin to output a power supply instruction / power-off instruction to the switch module 600. Pin 9 and pin 10 of the main control unit 510 can be used as input pins to receive a comparison instruction from the comparison module 900. The main control unit 510 can use pin 11 of the main control unit 510 as an output pin according to the comparison instruction to feed back the comparison result and the voltage signal to the host 10.
[0147] See also Figure 6 In one embodiment, pin 24 (PC4), pin 25 (PC5), pin 37 (PC6), and pin 38 (PC7) of the main control unit 510 can be matched with PORT 8. Pin 24 of the main control unit 510 can be used as an output signal pin to output a power supply instruction / power-off instruction to the switch module 600. Pin 25 and pin 37 of the main control unit 510 can be used as input pins to receive a comparison instruction from the comparison module 900. The main control unit 510 can use pin 38 of the main control unit 510 as an output pin according to the comparison instruction to feed back the comparison result and the voltage signal to the host 10.
[0148] See also Figure 6 , Figure 7 In one embodiment, since the circuit structures of PORT 1, PORT 2, PORT 3, PORT 4, PORT 5, PORT 6, PORT 7, and PORT 8 are the same, the connection between the main control unit 510 and PORT 1 is taken as an example for description.
[0149] See also Figure 6 and Figure 7In one embodiment, the input end of the switch module 600 can be electrically connected to the output end of the control module 500. The output end of the switch module 600 can be electrically connected to the power supply of the compatibility test system. The control module 500 can control the switch module 600 to close / open according to the power supply instruction / power off instruction to control the power supply of the compatibility test system to supply power / power off. Among them, the switch module 600 can include a second switch unit 610 and a relay 620.
[0150] See also Figure 6 and Figure 7 In one embodiment, the second switch unit 610 can be used to receive the power supply instruction / power off instruction sent by the control module 500 to close / open. Specifically, the second switch unit 610 can include a resistor R13, a resistor R14, an NPN transistor Q1, an NPN transistor Q2, and a common capacitor C21. Among them, the model of the NPN transistor Q1 can be LS3407PG. The model of the NPN transistor Q2 can be MMBT3904.
[0151] Further, one end of the resistor R14 can be connected to pin 15 of the main control unit 510 to receive the power supply instruction (PORT 1_ON) sent by the main control unit 510. The other end of the resistor R14 can be connected to the base (Base) of the NPN transistor Q2. The emitter (Emitter) of the NPN transistor Q2 can be grounded. The collector (Collector) of the NPN transistor Q2 can be connected to one end of the resistor R13 and pin 1 (GATE) of the NPN transistor Q1 respectively. The other end of the resistor R13 and pin 2 (SOURCE) of the NPN transistor Q1 can be connected to the power output end of the power supply module 100 respectively to receive a DC voltage of 5V. Pin 3 (DRAIN) of the NPN transistor Q1 can be used as an output pin. The power output end of the power supply module 100 can be simultaneously connected to pin 3 of the NPN transistor Q1 and one end of the common capacitor C21, and the other end of the common capacitor C21 can be grounded.
[0152] Furthermore, when the control module 500 issues a power supply instruction (PORT 1_ON), a 3.3V DC voltage will be generated to the base of the NPN transistor Q2. After receiving the DC voltage, the NPN transistor Q2 can be turned on. At this time, the electrode of the NPN transistor Q2 will send a signal to the gate of the NPN transistor Q1 to control the NPN transistor Q1 to turn on. After the NPN transistor Q1 is turned on, the 5V DC voltage received by its source can be output from the drain to the relay 620. Among them, the resistance value of the resistor R13 can be 47KΩ. The resistance value of the resistor R14 can be 1KΩ. The capacitance of the ordinary capacitor C21 can be 1μF.
[0153] See also Figure 7 In one embodiment, the relay 620 can be electrically connected to the output end of the second switch unit 610. When the second switch unit 610 is closed, the relay 620 is also in a closed state. When the second switch unit 610 is disconnected, the relay 620 is in an open state. One end of the relay 620 can be connected to an interface 621. The input end of the interface 621 can be electrically connected to the output end of the relay 620, and the output end of the interface 621 can be electrically connected to the power supply of the compatibility test system. Among them, the model of the relay 620 can be JQC-3FF-005-1ZS, which has 5 pins. The model of the interface 621 can be WI500V, which has 3 pins.
[0154] Further, pin 1 (positive pin) of relay 620 can be connected to the drain of NPN transistor Q1 to receive a DC voltage of 5V. Pin 3 (COM pin) of relay 620 can be connected to pin 2 of interface 621. Pin 2 (negative pin) of relay 620 can be grounded. Pin 4 (Normally Closed, NC) of relay 620 can be connected to pin 3 of interface 621. Pin 5 (Normally Open, NO) of relay 620 can be connected to pin 1 of interface 621. Pin 1 and pin 2 of interface 621 can be connected to two output terminals of a power supply of a compatibility test system, respectively.
[0155] Furthermore, when the control module 500 sends a power supply instruction to the second switch unit 610, the second switch unit 610 is in a closed state and outputs a 5V DC voltage to the pin 1 of the relay 620. Subsequently, the internal circuit of the relay 620 is turned on, and the current of the power supply of the compatibility test system passes through the pin 2 of the interface 621, the pin 3 of the relay 620, the pin 5 of the relay 620, and the pin 1 of the interface 621 in sequence, and then supplies power to other modules of the compatibility test system.
[0156] Furthermore, when the control module 500 sends a power-off instruction to the second switch unit 610, the second switch unit 610 is in an off state, and the internal circuit of the relay 620 is also in an off state. At this time, the current of the power supply of the compatibility test system cannot pass through the relay 620, and cannot supply power to other modules of the compatibility test system.
[0157] See also Figure 7 In one embodiment, the input end of the rectifier module 700 can be electrically connected to the output end of the switch module 600. When the power supply of the compatibility test system outputs an AC voltage, the rectifier module 700 can convert the AC voltage into a DC voltage to output a corresponding DC voltage. When the power supply of the compatibility test system outputs a DC voltage, the rectifier module 700 can directly output the corresponding DC voltage. The model of the rectifier module 700 can be MDB8S, which has 4 pins.
[0158] Further, pins 3 and 4 of the rectifier module 700 can be used as input pins. Pins 1 and 2 of the rectifier module 700 can be used as output pins. Pin 3 of the rectifier module 700 can be connected to pin 2 of the interface 621. Pin 4 of the rectifier module 700 can be connected to pin 1 of the interface 621.
[0159] See also Figure 7 In one embodiment, the input end of the voltage divider module 800 may be electrically connected to the output end of the rectifier module 700. Since the voltage value of the DC voltage may be too large, the voltage divider module 800 may step down the DC voltage according to a preset ratio to output a corresponding divided voltage. The voltage divider module 800 may include a resistor R15, a resistor R17, and an electrolytic capacitor C22.
[0160] Further, pin 1 of the rectifier module 700 may be a positive terminal. Pin 1 of the rectifier module 700 may be connected to one end of the resistor R15 and one end of the electrolytic capacitor C22, respectively. Pin 2 of the rectifier module 700 may be a negative terminal, which may be grounded. The other end of the electrolytic capacitor C22 may be grounded. The other end of the resistor R15 may be connected to one end of the resistor R17, an ADC pin (not shown) of the control module 500, and the comparison module 900, respectively. The other end of the resistor R17 may be grounded.
[0161] Furthermore, by adjusting the ratio of the resistance values of the resistor R15 to the resistor R17, the magnitude of the divided voltage input to the ADC pin of the control module 500 and the comparison module 900 can be adjusted. When the ratio of the resistance values of the resistor R15 to the resistor R17 is x:y, when the magnitude of the DC voltage output by the rectifier module 700 is m, the magnitude of the divided voltage can be expressed as (y×m) / (x+y). For example, when the magnitude of the DC voltage output by the rectifier module 700 is 220V, and the ratio of the resistance values of the resistor R15 to the resistor R17 is 21:1, the magnitude of the divided voltage can be 10V. The ratio of the resistance values of the resistor R15 to the resistor R17 can be set according to specific needs, and is not limited here.
[0162] Furthermore, the control module 500 may calculate the output voltage of the power supply of the compatibility test system according to the ratio of the resistance values of the resistor R15 and the resistor R17 and the magnitude of the divided voltage, and generate a corresponding voltage signal.
[0163] See also Figure 7 In one embodiment, the input end of the comparison module 900 can be electrically connected to the output end of the voltage divider module 800 and the output end of the power supply module 100 respectively. The comparison module 900 can be used to output a corresponding comparison instruction according to the voltage divider voltage. Among them, the comparison module 900 can include a comparison unit 910, a second input unit 920, a common capacitor C50 and a common capacitor C51. The model of the comparison unit 910 can be LM393, which has four input ends, two output ends, a ground end and a power supply end.
[0164] Further, the four input terminals of the comparison unit 910 can be divided into a first input terminal (pin No. 2, INA-), a second input terminal (pin No. 3, IN A+), a third input terminal (pin No. 5, IN B+), and a fourth input terminal (pin No. 6, INB-). The two output terminals of the comparison unit 910 can be divided into a first output terminal (pin No. 1, OUT A) and a second output terminal (pin No. 7, OUT B). The ground terminal of the comparison unit 910 can be pin No. 4 (GND), which can be grounded. The power supply terminal of the comparison unit 910 can be pin No. 8 (VCC), which can be connected to the power supply output terminal of the voltage regulation module 200 to provide a DC voltage of 3.3V. Among them, the first input terminal and the second input terminal can correspond to the first output terminal. The third input terminal and the fourth input terminal can correspond to the second output terminal. The second input terminal can be connected to one end of the ordinary capacitor C50 and one end of the ordinary capacitor C51 respectively, and the other end of the ordinary capacitor C50 and the other end of the ordinary capacitor C51 can be grounded. The ordinary capacitors C50 and C51 can play a role in filtering. The capacitance value of the ordinary capacitor C50 can be 1 μF. The capacitance value of the ordinary capacitor C51 can be 100 nF.
[0165] Further, the first input terminal can be electrically connected to the output terminal of the second input unit 920 to obtain the comparison voltage output by the second input unit 920. The second input terminal can be electrically connected to the output terminal of the voltage divider module 800 to obtain the divided voltage output by the voltage divider module 800. The comparison unit 910 can compare the comparison voltage with the divided voltage to output a comparison instruction. For example, when the voltage value of the comparison voltage is greater than the voltage value of the divided voltage, the comparison unit 910 can output a low-level comparison instruction through the first output terminal. For another example, when the voltage value of the comparison voltage is less than or equal to the voltage value of the divided voltage, the comparison unit 910 can output a high-level comparison instruction through the first output terminal. Wherein, the first output terminal can be connected to pin 16 of the control module 500.
[0166] Further, the fourth input terminal can be grounded, and in this case, the voltage on the fourth input terminal can be represented as a reference voltage. The third input terminal can be connected to the power output terminal of the voltage regulating module 200. The comparison unit 910 can compare the voltage value of the fourth input terminal with the voltage value of the third input terminal to output a comparison instruction. For example, when the voltage value of the third input terminal is greater than the reference voltage, the comparison unit 910 can output a high-level comparison instruction through the second output terminal. For another example, when the voltage value of the third input terminal is equal to the reference voltage, the comparison unit 910 can output a low-level comparison instruction through the second output terminal. Wherein, the second output terminal can be connected to pin 17 of the control module 500.
[0167] Furthermore, the control module 500 can determine the output type of the power supply of the compatibility test system according to the comparison instruction of the first output terminal and the comparison instruction of the second output terminal of the comparison unit 910. For example, when the first output terminal outputs a low level and the second output terminal outputs a low level, it can be indicated that the power supply of the compatibility test system has no output. When the first output terminal outputs a low level and the second output terminal outputs a high level, it can be indicated that the output of the power supply of the compatibility test system is a DC voltage. When the first output terminal outputs a high level and the second output terminal outputs a high level, it can be indicated that the output of the power supply of the compatibility test system is an AC voltage.
[0168] See also Figure 7 In one embodiment, the second input unit 920 may include a resistor R10 and a resistor R11. One end of the resistor R10 may be connected to the power output end of the power supply module 100 to obtain a 5V DC voltage. The other end of the resistor R10 may be connected to the first input end of the comparison unit 910 and one end of the resistor R11, respectively. The other end of the resistor R11 may be grounded.
[0169] Furthermore, by adjusting the ratio of the resistance values of the resistor R10 to the resistor R11, the magnitude of the comparison voltage input to the first input terminal can be adjusted. When the ratio of the resistance values of the resistor R10 to the resistor R11 is q:w, the magnitude of the comparison voltage can be expressed as 5w / (q+w). For example, when the ratio of the resistance values of the resistor R10 to the resistor R11 is 3:2, the magnitude of the comparison voltage can be 2V. The ratio of the resistance values of the resistor R10 to the resistor R11 can be set according to specific needs and is not limited here.
[0170] It can be seen that in the above scheme, the control module can obtain the power supply status of the compatibility test system in real time when performing compatibility testing on the memory, and send the current parameters to the host. When a problem occurs in the compatibility test system, by checking the real-time voltage value of the power supply, it can be quickly determined whether the error is caused by the power supply problem, so as to quickly locate the root cause of the problem. At the same time, when an error occurs, a power-off command can be sent to control the relay to disconnect, thereby effectively protecting the compatibility test system and memory, and preventing further damage or failure caused by continued erroneous operation.
[0171] The embodiments of the present invention disclosed above are only used to help illustrate the present invention. The embodiments do not describe all the details in detail, nor do they limit the invention to the specific embodiments described. Obviously, many modifications and changes can be made according to the content of this specification. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the present invention, so that those skilled in the art can understand and use the present invention well. The present invention is limited only by the claims and their full scope and equivalents.
Claims
1. A power monitoring system for memory compatibility testing, characterized in that: include: A control module, which is electrically connected to the host and is used to receive a power supply instruction / power off instruction from the host; A switch module, whose input end is electrically connected to the output end of the control module, and whose output end is electrically connected to the power supply of the compatibility test system; the control module is used to control the power supply of the compatibility test system to supply power / off power through the switch module according to the power supply instruction / off power supply instruction; A rectifier module, whose input end is electrically connected to the output end of the switch module; when the power supply of the compatibility test system outputs an AC voltage, the rectifier module is used to convert it into a DC voltage and output it; when the power supply of the compatibility test system outputs a DC voltage, the rectifier module directly outputs it; A voltage divider module, whose input end is electrically connected to the output end of the rectifier module, for reducing the DC voltage to a divided voltage; the voltage divider module is used to divide the DC voltage output by the rectifier module according to a preset ratio, and input the divided voltage to the input end of the control module and the input end of the comparison module respectively; the control module calculates the output voltage of the power supply of the compatibility test system according to the preset ratio and the divided voltage, and generates a corresponding voltage signal; as well as A comparison module, whose input terminal is electrically connected to the output terminal of the voltage divider module, for outputting a comparison instruction according to the divided voltage; The control module is also electrically connected to the output end of the voltage divider module and the output end of the comparison module respectively; the control module is used to generate a corresponding voltage signal according to the voltage divider voltage; the control module generates a corresponding comparison result according to the comparison instruction; the control module feeds back the voltage signal and the comparison result to the host through the interface module; The comparison module comprises: A comparison unit, comprising a first input terminal, a second input terminal, a third input terminal, a first output terminal and a second output terminal, wherein the first input terminal is electrically connected to the second input unit, the second input terminal is electrically connected to the voltage divider module, the third input terminal is electrically connected to the voltage divider module, and the first output terminal and the second output terminal are electrically connected to the control module respectively; the comparison unit is used to compare the comparison voltage output by the second input unit with the voltage divider voltage to output a comparison instruction; Wherein, when the voltage on the first input terminal is greater than the voltage on the second input terminal, the first output terminal outputs a low level; When the voltage at the first input terminal is less than or equal to the voltage at the second input terminal, the first output terminal outputs a high level; When the voltage on the third input terminal is greater than the reference voltage, the second output terminal outputs a high level; When the voltage on the third input terminal is equal to the reference voltage, the second output terminal outputs a low level; The control module generates a comparison result that the power supply of the compatibility test system has no output when the first output terminal outputs a low level and the second output terminal outputs a low level; The control module generates a comparison result that the output of the power supply of the compatibility test system is a DC voltage when the first output terminal outputs a low level and the second output terminal outputs a high level; The control module generates a comparison result that the output of the power supply of the compatibility test system is an AC voltage when the first output terminal outputs a high level and the second output terminal outputs a high level.
2. The power monitoring system for memory compatibility testing according to claim 1, characterized in that: Also includes: A power supply module, used to supply power to the control module, the switch module, and some power supply interfaces of the comparison module; as well as The voltage regulating module is used to regulate the voltage output by the power supply module and then supply power to other power supply interfaces of the control module and the comparison module.
3. The power monitoring system for memory compatibility testing according to claim 2, characterized in that: The power supply module comprises: A power supply unit for supplying power; A first switch unit, whose input end is electrically connected to the output end of the power supply unit, for controlling power supply / power off of the power supply unit; a protection unit, whose input end is electrically connected to the output end of the first switch unit, for protecting the power supply unit; and A power supply filter unit, whose input end is electrically connected to the output end of the protection unit, is used to filter the output current of the power supply unit.
4. The power monitoring system for memory compatibility testing according to claim 2, characterized in that: The voltage regulating module comprises: A first control unit, an input end of which is electrically connected to an output end of the power supply module; and an output unit, electrically connected to an output terminal of the first control unit, for regulating a voltage output by the first control unit; The first control unit is further used to receive a feedback signal from the output unit to monitor the working state of the output unit.
5. The power monitoring system for memory compatibility testing according to claim 1, characterized in that: Also includes: The conversion module has an input end electrically connected to the host through an interface, and an output end electrically connected to the input end of the control module, and is used to convert the digital signal of the interface into a serial interface signal.
6. The power monitoring system for memory compatibility testing according to claim 5, characterized in that: The control module comprises: A main control unit, whose input end is electrically connected to the output end of the conversion module, for receiving a power supply instruction / power-off instruction from the host through the interface module and the conversion module in sequence; A main control crystal oscillator unit, electrically connected to an input terminal of the main control unit, for generating a clock signal; A reset unit, electrically connected to the input terminal of the main control unit, for initializing the main control unit; The main control filter unit is used to filter the current input into the main control unit.
7. The power monitoring system for memory compatibility testing according to claim 1, characterized in that: The switch module comprises: A second switch unit, used to close / open according to the power supply instruction / power off instruction received by the control module; a relay electrically connected to an output end of the second switch unit; when the second switch unit is closed, the relay is in a closed state; when the second switch unit is opened, the relay is in an open state; and An interface, whose input end is electrically connected to the output end of the relay, and whose output end is electrically connected to the power supply of the compatibility test system.
8. The power monitoring system for memory compatibility testing according to claim 1, characterized in that: The number of the switch module is at least one, the number of the switch modules, the rectifier modules, the voltage divider modules and the comparison modules are the same, and each of the compatibility test systems corresponds to a group of the switch modules, the rectifier modules, the voltage divider modules and the comparison modules.
Citation Information
Patent Citations
Time constant test system for secondary voltage dividing plate of direct-current electronic voltage transformer
CN213275804U
Circuit and method for an uninterruptible power supply of electronic modules
US20120089855A1