Circuit and device for detecting CFexpress card

By detecting current and level signals in the CFexpress card detection circuit, the problem of disassembly in the CFexpress card test due to shell assembly failure during the CFexpress card test is solved, which improves production efficiency and reliability and avoids shell damage.

CN222213743UActive Publication Date: 2024-12-20BIWIN STORAGE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202421027068.4
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-05-13
Publication Date
2024-12-20
Estimated Expiration
2034-05-13

AI Technical Summary

Technical Problem

During the testing process of the CFexpress card, if the shell is found to be faulted after assembly, the shell needs to be removed and analyzed, resulting in low testing efficiency and the shell may be damaged, affecting subsequent testing.

Method used

A detection circuit of CFexpress card is designed, including a current detection module, main control module, current sampling module, switch module, current limit module and indication module. By detecting the level signal and sampling current value before the CFexpress card housing is assembled, it is judged. Whether the card is malfunctioning, and control the switch status and indicator signals to avoid disassembly and damage.

Benefits of technology

Improve product production efficiency and production process, enhance the overall reliability of the product, avoid damage caused by disassembly, and ensure the accuracy and efficiency of testing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222213743U_ABST
    Figure CN222213743U_ABST
Patent Text Reader

Abstract

The embodiment of the utility model provides a detection circuit and device for a CFexpress card, and belongs to the technical field of memory card testing. The circuit is characterized in that a current detection module is electrically connected with a main control module and a current sampling module, the main control module is electrically connected with a CFexpress card and a switch module, and whether the CFexpress card breaks down or not is judged according to a level signal and / or a sampling current value so as to control the on-off state of the switch module; the switch module is electrically connected with the current sampling module and the current limiting module; and the indication module is electrically connected with the current limiting module, the CFexpress card and the main control module, generates an indication signal according to the switch state, and determines that the CFexpress card has a fault if the indication signal is a fault indication signal. Through the provided scheme, fault detection can be carried out before the CFexpress card is installed, the fault can be timely perceived, and the production efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of memory card testing, and in particular to a detection circuit and device for a CFexpress card. Background Art

[0002] CFexpress card is a large-capacity memory card. After being sealed in plastic, the CFexpress card is assembled through a shell, with only the gold fingers on the PCB exposed to connect to the application device. In addition, the CFexpress card must pass various functional tests before qualified CFexpress cards can be shipped. During the test process, if the shell of the CFexpress card is assembled before testing, once the test finds functional abnormalities or other faults, the CFexpress card needs to be removed from the shell for analysis, and the shell of the CFexpress card will be damaged, affecting the efficiency of subsequent tests. Utility Model Content

[0003] In order to solve the above technical problems, the embodiments of the present application provide a CFexpress card detection circuit and device.

[0004] In a first aspect, an embodiment of the present application provides a detection circuit for a CFexpress card, the circuit comprising: a current detection module, a main control module, a current sampling module, a switch module, a current limiting module, an indication module and a CFexpress card;

[0005] The current detection module is electrically connected to the main control module and the current sampling module, respectively, and is used to send the sampled current value obtained by the current sampling module to the main control module;

[0006] The main control module is electrically connected to the CFexpress card and the switch module, respectively, and is used to determine whether the CFexpress card fails according to the acquired level signal of the CFexpress card and / or the sampled current value, and control the switch state of the switch module according to the determination result;

[0007] The switch module is electrically connected to the current sampling module and the current limiting module respectively;

[0008] The indication module is electrically connected to the current limiting module, the CFexpress card and the main control module respectively, and is used to generate a corresponding indication signal according to the received switch state. If the indication signal is a fault indication signal, it is determined that the CFexpress card has a fault.

[0009] In one embodiment, the current detection module includes: a current detection chip, a filter submodule and a drive submodule; the current sampling module includes a current sampling resistor;

[0010] The current sampling resistor is electrically connected to the second end of the filter submodule and the switch module respectively;

[0011] The current detection chip is electrically connected to the first end of the filter submodule and the driving submodule respectively;

[0012] The driving submodule is electrically connected to the main control module.

[0013] In one implementation, the current detection chip model is INA228.

[0014] In one implementation, the driving submodule includes: a first pull-up resistor, a second pull-up resistor, and a third pull-up resistor;

[0015] The serial data pin of the current detection chip is electrically connected to the first end of the first pull-up resistor;

[0016] The serial clock pin of the current detection chip is electrically connected to the first end of the second pull-up resistor;

[0017] The warning output pin of the current detection chip is electrically connected to the first end of the third pull-up resistor;

[0018] The second end of the first pull-up resistor, the second end of the second pull-up resistor, and the second end of the third pull-up resistor are electrically connected to the main control module respectively.

[0019] In one implementation, the filter submodule includes: a first filter resistor, a second filter resistor, and a filter capacitor;

[0020] The first end of the first filter resistor is electrically connected to the first end of the current sampling resistor;

[0021] The second end of the first filter resistor is electrically connected to the first end of the filter capacitor and the input pin end of the current detection chip respectively;

[0022] The first end of the second filter resistor is electrically connected to the second end of the current sampling resistor;

[0023] The second end of the second filter resistor is electrically connected to the second end of the filter capacitor and the output pin end of the current detection chip respectively.

[0024] In one implementation, the main control module includes: a level signal sampling submodule;

[0025] The level signal sampling submodule is electrically connected to the indication module and the detection pin of the CFexpress card respectively, and is used to receive the level signal of the CFexpress card.

[0026] In one embodiment, the switch module includes: a switch MOS tube and a protection resistor;

[0027] The first end of the protection resistor is connected to the source of the switch MOS tube and the current sampling module respectively;

[0028] The second end of the protection resistor is connected to the gate of the switch MOS tube and the main control module respectively;

[0029] The drain of the switch MOS tube is electrically connected to the current limiting module.

[0030] In one embodiment, the current limiting module includes a current limiting resistor;

[0031] The drain of the switch MOS tube is electrically connected to the first end of the current limiting resistor;

[0032] The second end of the current limiting resistor is electrically connected to the indication module.

[0033] In one embodiment, the indicator module includes an LED indicator light:

[0034] The anode of the LED indicator light is electrically connected to the second end of the current limiting resistor;

[0035] The cathode of the LED indicator light is electrically connected to the CFexpress card and the main control module respectively.

[0036] In a second aspect, an embodiment of the present application provides a CFexpress card detection device, wherein the CFexpress card detection device includes the CFexpress card detection circuit of the first aspect, and further includes:

[0037] The test socket is fixed on the top of the PCB board by screws;

[0038] The test card slot is arranged above the test socket;

[0039] The test card slot is electrically connected to the CFexpress card of the detection circuit of the CFexpress card.

[0040] The detection circuit and device of the CFexpress card provided in the present application, the circuit includes: a current detection module, a main control module, a current sampling module, a switch module, a current limiting module, an indication module and a CFexpress card; the current detection module is electrically connected to the main control module and the current sampling module, respectively, and is used to send the sampled current value obtained by the current sampling module to the main control module; the main control module is electrically connected to the CFexpress card and the switch module, respectively, and is used to judge whether the CFexpress card has a fault according to the acquired level signal of the CFexpress card and / or the sampled current value, and control the switch state of the switch module according to the judgment result; the switch module is electrically connected to the current sampling module and the current limiting module, respectively; the indication module is electrically connected to the current limiting module, the CFexpress card and the main control module, respectively, and is used to generate a corresponding indication signal according to the received switch state, and if the indication signal is a fault indication signal, it is determined that the CFexpress card has a fault. In this application, before the shell of the CFexpress card is assembled, the level signal and sampling current value of the CFexpress card are detected, which improves the production efficiency of the product, optimizes the production process, and further improves the overall reliability of the product. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] In order to more clearly illustrate the technical solution of the present application, the following is a brief introduction to the drawings required for use in the embodiments. It should be understood that the following drawings only illustrate certain embodiments of the present application and should not be regarded as limiting the scope of protection of the present application. In each of the drawings, similar components are numbered similarly.

[0042] Figure 1 A schematic diagram of the structure of the detection circuit of the CFexpress card is shown;

[0043] Figure 2 An overall circuit diagram of a detection circuit of a CFexpress card provided in an embodiment of the present application is shown;

[0044] Figure 3 A schematic diagram of the structure of a CFexpress card detection device provided in an embodiment of the present application is shown.

[0045] Icons: 100-current sampling module; 200-switch module; 300-current limiting module; 400-indicator module; 500-CFexpress card; 600-main control module; 700-current detection module; 800-test card slot; 900-test socket; 1000-PCB board; R1-current sampling resistor; R2-first filter resistor; R3-second filter resistor; C1-filter capacitor; R4-first pull-up resistor; R5-second pull-up resistor; R6-third pull-up resistor; R7-protection resistor; Q1-switch MOS tube; R8-current limiting resistor; LED1-Led indicator light; U1-main control chip; U2-current detection chip. DETAILED DESCRIPTION

[0046] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments.

[0047] The components of the embodiments of the present application generally described and shown in the drawings herein may be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.

[0048] Hereinafter, the terms "including", "having" and their cognates, which may be used in various embodiments of the present application, are intended only to indicate specific features, numbers, steps, operations, elements, components, or combinations of the foregoing items, and should not be understood as first excluding the existence of one or more other features, numbers, steps, operations, elements, components, or combinations of the foregoing items or adding the possibility of one or more features, numbers, steps, operations, elements, components, or combinations of the foregoing items.

[0049] Furthermore, the terms “first”, “second”, “third”, etc. are merely used for distinguishing descriptions and are not to be understood as indicating or implying relative importance.

[0050] Unless otherwise defined, all terms (including technical terms and scientific terms) used herein have the same meanings as those generally understood by those skilled in the art to which the various embodiments of the present application belong. The terms (such as those defined in generally used dictionaries) will be interpreted as having the same meanings as the contextual meanings in the relevant technical field and will not be interpreted as having idealized meanings or overly formal meanings unless clearly defined in the various embodiments of the present application.

[0051] Example 1

[0052] An embodiment of the present application provides a detection circuit for a CFexpress card.

[0053] See also Figure 1 , Figure 1 A structural schematic diagram of a detection circuit of a CFexpress card is shown, including: a current detection module 700, a main control module 600, a current sampling module 100, a switch module 200, a current limiting module 300, an indication module 400 and a CFexpress card 500.

[0054] The current detection module 700 is electrically connected to the main control module 600 and the current sampling module 100, respectively; the main control module 600 is electrically connected to the CFexpress card 500 and the switch module 200, respectively; the switch module 200 is electrically connected to the current sampling module 100 and the current limiting module 300, respectively; the indication module 400 is electrically connected to the current limiting module 300, the CFexpress card 500 and the main control module 600, respectively.

[0055] It should be noted that the range of variation of the standby current and read / write working current of the CFexpress card 500 is fixed, and these current range values ​​are pre-stored in the main control module 600 as the threshold for judging the working state of the CFexpress card 500. The current of the CFexpress card 500 in standby and read / write operation can be obtained by real-time sampling by the current detection module 700, and the current sampling value is transmitted to the main control module 600 through the I2C interface. It is judged whether the CFexpress card 500 has a fault by obtaining the level signal and / or the sampled current value of the detection pin of the CFexpress card 500, and the switch state of the switch module 200 is controlled according to the judgment result; and a corresponding indication signal is generated according to the received switch state to determine whether the CFexpress card 500 has a fault.

[0056] like Figure 2 As shown, Figure 2 A circuit diagram of a detection circuit of a CFexpress card provided in an embodiment of the present application is shown;

[0057] The current detection module 700 includes: a current detection chip U2, a filter submodule and a drive submodule; the current sampling module 100 is a current sampling resistor R1; the second end of the filter submodule is electrically connected to the current sampling resistor R1; the current detection chip U2 is electrically connected to the first end of the filter submodule and the drive submodule respectively; the drive submodule is electrically connected to the main control module 600.

[0058] It should be noted that the current detection module 700 collects the voltage across the current sampling resistor R1 in real time, calculates the current data flowing through the current sampling resistor R1, and sends the collected current data to the main control module 600 through the I2C interface. When the current flowing through the current sampling resistor R1 exceeds the standby current, or the read and write working current exceeds the normal range value, the main control module 600 controls the switch module 200 to turn off, the power supply no longer supplies power to the CFexpress card 500 and the indication module 400, and the indication module 400 sends a fault indication signal. The tester determines that the CFexpress card 500 has a fault according to the fault indication signal.

[0059] In one embodiment, the driving submodule includes: a first pull-up resistor R4, a second pull-up resistor R5 and a third pull-up resistor R6; the serial data pin of the current detection chip U2 is electrically connected to the first end of the first pull-up resistor R4; the serial clock pin of the current detection chip U2 is electrically connected to the first end of the second pull-up resistor R5; the warning output pin of the current detection chip U2 is electrically connected to the first end of the third pull-up resistor R6; the second end of the first pull-up resistor R4, the second end of the second pull-up resistor R5 and the second end of the third pull-up resistor R6 are respectively electrically connected to the main control module.

[0060] It should be noted that the main control chip U1 is electrically connected to the I2C interface of the current detection chip U2 through the serial data signal SDA and the serial clock signal SCL. At the same time, the main control module 600 is electrically connected to the warning output pin of the current detection chip U2 through the INT signal.

[0061] In one embodiment, the filtering submodule includes: a first filtering resistor R2, a second filtering resistor R3 and a filtering capacitor C1; the first end of the first filtering resistor R2 is electrically connected to the first end of the current sampling resistor R1; the second end of the first filtering resistor R2 is electrically connected to the first end of the filtering capacitor C1 and the input pin end of the current detection chip U2 respectively; the first end of the second filtering resistor R3 is electrically connected to the second end of the current sampling resistor R1; the second end of the second filtering resistor R3 is electrically connected to the second end of the filtering capacitor C1 and the output pin end of the current detection chip U2 respectively.

[0062] In one implementation, the current detection chip U2 is INA228.

[0063] In this embodiment, STM32F105R8T6 is used as the main control chip U1 of the main control module 600 .

[0064] It should be noted that the STM32F105R8T6 is connected to INA228 through the I2C interface to receive the detected current data, and is connected to the output warning pin ALERT of INA228 through the INT signal to receive the status signal sent by INA228; the cathode of the LED indicator is connected to the detection pin of the CFexpress card 500, and the detection pin is connected to the pin interface of the STM32F105R8T6.

[0065] When the current of the CFexpress card 500 in standby mode and in reading and writing operation remains within a reasonable range, the main control module 600 controls the switch module 200 to continuously supply power to the CFexpress card 500, and the LED indicator generates a normal indication signal and remains lit; when the current of the CFexpress card 500 in standby mode and in reading and writing operation exceeds a reasonable range, the main control module 600 controls the switch module 200 to shut down and stop supplying power to the CFexpress card 500, and the LED indicator generates a fault indication signal and stops lighting.

[0066] In one embodiment, the main control module 600 includes: a level signal sampling submodule; the level signal sampling submodule is electrically connected to the indication module 400 and the detection pin of the CFexpress card 500 respectively, and is used to receive the level signal of the CFexpress card 500.

[0067] It should be noted that the level signal sampling submodule is an ADC (Analog-to-Digital Converter) inside the main control module 600 .

[0068] When the detection signal inside the CFexpress card 500 fails, the detection pin of the CFexpress card 500 cannot be pulled to a logic low level. The power supply 3V3_PCIe is used to power on the card, and the main control module 600 controls the switch MOS tube Q1 to turn on. The power supply 3V3_CF supplies power to the CFexpress card 500. Because the detection pin signal of the CFexpress card 500 cannot be pulled low, the level signal sampling submodule inside the main control module 600 detects that the detection pin level of the CFexpress card 500 is not a low level. The main control module 600 controls the PWR_CTL signal to be pulled high, controls the switch MOS tube Q1 to be turned off, and the LED indicator goes out. The tester detects that the LED indicator goes out and determines that the CFexpress card 500 has a fault.

[0069] In one embodiment, the switch module 200 includes: a switch MOS tube Q1 and a protection resistor R7; the first end of the protection resistor R7 is respectively connected to the source of the switch MOS tube Q1 and the current sampling module 100; the second end of the protection resistor R7 is respectively connected to the gate of the switch MOS tube Q1 and the main control module 600; the drain of the switch MOS tube is electrically connected to the current limiting module.

[0070] It should be noted that the current value of the CFexpress card 500 is sampled by the current detection module 700 to obtain a sampled current value. It is determined whether the sampled current value is within a preset current range. If it is within the preset current range, the switch state of the control switch module 200 is the on state, and the indication module 400 generates an indication signal according to the on state. If the indication signal emits a bright light, it is determined that the indication signal is a normal indication signal, and the CFexpress card 500 is in a normal state. If it is not within the preset current range, the switch state of the control switch module 200 is the off state, and the indication module 400 generates an indication signal according to the on state. If the indication signal does not emit a bright light, it is determined that the indication signal is a fault indication signal, and the CFexpress card 500 is in a fault state.

[0071] It is further explained that the level signal of the detection pin of the CFexpress card 500 is obtained through the level signal sampling module; it is determined whether the level signal is a low level signal; if the level signal is a low level signal, the switch state of the control switch module 200 is the on state, and the indication module 400 generates an indication signal according to the on state, and if the indication signal emits a bright light, it is determined that the indication signal is a normal indication signal, and the CFexpress card 500 is in a normal state; if the level signal is not a low level signal, the switch state of the control switch module 200 is the off state, and the indication module 400 generates an indication signal according to the on state, and if the indication signal does not emit a bright light, it is determined that the indication signal is a fault indication signal, and the CFexpress card 500 is in a fault state.

[0072] In one implementation, the current limiting module 300 includes a current limiting resistor R8; the drain of the switch MOS tube Q1 is electrically connected to a first end of the current limiting resistor R8.

[0073] In one embodiment, the indication module 400 is a LED indicator LED1: an anode of the LED indicator LED1 is electrically connected to the second end of the current limiting resistor R8; a cathode of the LED indicator LED1 is electrically connected to the CFexpress card 500 and the main control module 600.

[0074] In this embodiment, when the current of the CFexpress card 500 in standby mode and read / write operation is within a reasonable range, the main control module 600 controls the MOS tube to continuously supply power to the card, and the LED status indicator is on; when the current of the card in standby mode and read / write operation exceeds a reasonable range, the main control module 600 controls the MOS tube to turn off, stop supplying power to the CFexpress card 500, and the LED status indicator is off. The main control module 600 also detects the sampling pin level signal of the internal sampling module. If it is a low-level signal, the main control module 600 controls the MOS tube to continuously supply power to the card, and the LED status indicator is on; otherwise, the main control module 600 controls the MOS tube to turn off, stop supplying power to the CFexpress card 500, and the LED status indicator is off. The tester determines whether the CFexpress card 500 has a fault by the LED light being off.

[0075] The detection circuit of the CFexpress card provided in this embodiment includes: a current detection module 700, a main control module 600, a current sampling module 100, a switch module 200, a current limiting module 300, an indication module 400 and a CFexpress card 500; the current detection module 700 is electrically connected to the main control module 600 and the current sampling module 100, respectively, and is used to send the sampled current value obtained by the current sampling module 100 to the main control module 600; the main control module 600 is electrically connected to the CFexpress card 500 and the switch module 200, respectively, and is used to obtain the sampled current value according to the obtained The CFexpress card 500 detects the level signal of the pin and / or the sampled current value to determine whether the CFexpress card 500 is faulty, and controls the switch state of the switch module 200 according to the judgment result; the switch module 200 is electrically connected to the current sampling module 100 and the current limiting module 300 respectively; the indication module 400 is electrically connected to the current limiting module 300, the CFexpress card 500 and the main control module 600 respectively, and is used to generate a corresponding indication signal according to the received switch state. If the indication signal is a fault indication signal, it is determined that the CFexpress card is faulty. In the present application, the level signal and the sampled current value of the CFexpress card are detected before the shell of the CFexpress card is assembled, which improves the production efficiency of the product, optimizes the production process, and further improves the overall reliability of the product.

[0076] Example 2

[0077] In addition, an embodiment of the present application provides a CFexpress card detection device.

[0078] like Figure 3 As shown, the CFexpress card detection device includes:

[0079] PCB board 1000, test socket 900 and test card slot 800; the test socket 900 is fixed on the top of the PCB board 1000 by screws; the test card slot 800 is arranged above the test socket 900; and the detection circuit of the CFexpress card provided in Example 1 (not shown), the test card slot 800 is electrically connected to the CFexpress card of the detection circuit of the CFexpress card.

[0080] In this embodiment, it is composed of a PCB board 1000 and a test socket 900, wherein the test socket 900 is mounted on the PCB board 1000 and fixed by a plurality of screw holes. A test card slot 800 is provided on the test socket 900, and the tested CFexpress card 500 is placed in the test card slot 800. The size and number of the pads of the PCB pins are kept the same as the gold fingers of the CFexpress card 500. The test card slot 800 of the test socket 900 is designed to be a hollow shape. When the CFexpress card 500 is placed in the test card slot 800, the gold fingers of the CFexpress card 500 and the pin pads of the PCB board 1000 can be directly contacted and connected, ensuring a stable electrical connection, increasing the contact between the gold fingers and the pads, reducing the contact resistance, and avoiding poor contact.

[0081] A support is provided in the test card slot 800 of the test socket 900, and a spring ejector is provided in the middle of the support. When the CFexpress card 500 is placed in the test card slot 800, downward pressure is applied to the card, and the spring ejector can connect the gold fingers of the CFexpress card 500 with the pin pads of the PCB board 1000 one by one. One end of the PCB board 1000 is designed as a standard M.2 interface, and its interface is in the shape of a gold finger.

[0082] It should be noted that when the CFexpress card 500 interface is connected to the M.2 interface signal, the CFexpress card 500 interface signal is connected to the corresponding M.2 interface. The test socket 900 and the PCB board 1000 pad pins are connected to the M.2 interface, and the PCB board 1000 is electrically connected to a computer or a test platform supporting the M.2 interface through the PCB board 1000 with a standard M.2 interface, and further the CFexpress card 500 in the test card slot 800 is tested.

[0083] The CFexpress card detection device provided in this embodiment includes the CFexpress card detection circuit provided in Embodiment 1, which will not be described again to avoid repetition.

[0084] The detection device of the CFexpress card provided in this embodiment includes a detection circuit of the CFexpress card 500, wherein the circuit includes: a current detection module 700, a main control module 600, a current sampling module 100, a switch module 200, a current limiting module 300, an indication module 400 and a CFexpress card 500; the current detection module 700 is electrically connected to the main control module 600 and the current sampling module 100, respectively, and is used to send the sampled current value obtained by the current sampling module 100 to the main control module 600; the main control module 600 is electrically connected to the CFexpress card 500 and the switch module 200, respectively. The switch module 200 is electrically connected to the current sampling module 100 and the current limiting module 300, and is used to determine whether the CFexpress card 500 fails according to the acquired level signal and / or the sampled current value of the CFexpress card 500, and control the switch state of the switch module 200 according to the judgment result; the switch module 200 is electrically connected to the current sampling module 100 and the current limiting module 300 respectively; the indication module 400 is electrically connected to the current limiting module 300 and the CFexpress card 500 respectively, and is used to generate a corresponding indication signal according to the received switch state, and if the indication signal is a fault indication signal, it is determined that the CFexpress card fails. In the present application, before the shell of the CFexpress card is assembled, the level signal and the sampled current value of the CFexpress card are detected, which improves the production efficiency of the product, optimizes the production process, and further improves the overall reliability of the product.

[0085] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or terminal including the element.

[0086] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0087] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A detection circuit for a CFexpress card, characterized in that: The circuit includes: a current detection module, a main control module, a current sampling module, a switch module, a current limiting module, an indication module and a CFexpress card; The current detection module is electrically connected to the main control module and the current sampling module, respectively, and is used to send the sampled current value obtained by the current sampling module to the main control module; The main control module is electrically connected to the CFexpress card and the switch module, respectively, and is used to determine whether the CFexpress card fails according to the acquired level signal of the CFexpress card and / or the sampled current value, and control the switch state of the switch module according to the determination result; The switch module is electrically connected to the current sampling module and the current limiting module respectively; The indication module is electrically connected to the current limiting module, the CFexpress card and the main control module respectively, and is used to generate a corresponding indication signal according to the received switch state. If the indication signal is a fault indication signal, it is determined that the CFexpress card has a fault.

2. The detection circuit of the CFexpress card according to claim 1, characterized in that: The current detection module includes: a current detection chip, a filter submodule and a drive submodule; the current sampling module includes a current sampling resistor; The current sampling resistor is electrically connected to the second end of the filter submodule and the switch module respectively; The current detection chip is electrically connected to the first end of the filter submodule and the driving submodule respectively; The driving submodule is electrically connected to the main control module.

3. The detection circuit of the CFexpress card according to claim 2, characterized in that: The current detection chip model is INA228.

4. The detection circuit of the CFexpress card according to claim 2, characterized in that: The driving submodule includes: a first pull-up resistor, a second pull-up resistor and a third pull-up resistor; The serial data pin of the current detection chip is electrically connected to the first end of the first pull-up resistor; The serial clock pin of the current detection chip is electrically connected to the first end of the second pull-up resistor; The warning output pin of the current detection chip is electrically connected to the first end of the third pull-up resistor; The second end of the first pull-up resistor, the second end of the second pull-up resistor, and the second end of the third pull-up resistor are electrically connected to the main control module respectively.

5. The detection circuit of the CFexpress card according to claim 2, characterized in that: The filtering submodule includes: a first filtering resistor, a second filtering resistor and a filtering capacitor; The first end of the first filter resistor is electrically connected to the first end of the current sampling resistor; The second end of the first filter resistor is electrically connected to the first end of the filter capacitor and the input pin end of the current detection chip respectively; The first end of the second filter resistor is electrically connected to the second end of the current sampling resistor; The second end of the second filter resistor is electrically connected to the second end of the filter capacitor and the output pin end of the current detection chip respectively.

6. The detection circuit of the CFexpress card according to claim 1, characterized in that: The main control module includes: a level signal sampling submodule; The level signal sampling submodule is electrically connected to the indication module and the detection pin of the CFexpress card respectively, and is used to receive the level signal of the CFexpress card.

7. The detection circuit of the CFexpress card according to claim 6, characterized in that: The switch module includes: a switch MOS tube and a protection resistor; The first end of the protection resistor is connected to the source of the switch MOS tube and the current sampling module respectively; The second end of the protection resistor is connected to the gate of the switch MOS tube and the main control module respectively; The drain of the switch MOS tube is electrically connected to the current limiting module.

8. The detection circuit of the CFexpress card according to claim 7, characterized in that: The current limiting module includes a current limiting resistor; The drain of the switch MOS tube is electrically connected to the first end of the current limiting resistor; The second end of the current limiting resistor is electrically connected to the indication module.

9. The detection circuit of the CFexpress card according to claim 8, characterized in that: The indicator module includes an LED indicator light: The anode of the LED indicator light is electrically connected to the second end of the current limiting resistor; The cathode of the LED indicator light is electrically connected to the CFexpress card and the main control module respectively.

10. A CFexpress card detection device, characterized in that: A detection circuit for a CFexpress card comprising any one of claims 1 to 9, wherein the device further comprises: a PCB board, a test socket and a test card slot; The test socket is fixed on the top of the PCB board by screws; The test card slot is arranged above the test socket; The test card slot is electrically connected to the CFexpress card of the detection circuit of the CFexpress card.