Read-write switching circuit for SD (Secure Digital) card of dynamic electrocardiogram equipment
By introducing read and write switching circuits of microcontroller modules, card reader modules, high-speed analog switch modules and HID control equipment in dynamic electrocardiogram equipment, the problem that SD card cannot be upgraded in the existing technology is solved, and SD card read and write functions and improvements of microcontroller modules with simple structure and convenient operation are realized.
Patent Information
- Application Number
- CN202422493537.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-15
- Publication Date
- 2025-08-29
- Estimated Expiration
- 2034-10-15
AI Technical Summary
The SD card reading and writing circuit of existing dynamic ECG devices cannot add or improve functions while performing basic reading and writing operations. It requires the SD card or microcontroller module to be removed separately for changes. The structure is complex and the operation is cumbersome.
A read and write switching circuit including a microcontroller module, a card reader module, a high-speed analog switch module, a USB splitter and a HID control device was designed. The write protection program of the SD card is unlocked and added by controlling the high-speed analog switch and a card reader module, allowing the PC to directly write to the SD card, and the functional improvements are made by controlling the microcontroller module through the HID module.
Improvements or additions to dynamic ECG equipment functions without removing SD card or microcontroller modules, reducing costs and simplifying operating procedures.
Smart Images

Figure CN223284604U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of medical equipment, in particular to a read-write switching circuit of an SD card of a dynamic electrocardiogram device. Background Art
[0002] With the continuous advancement of technology, Holter monitoring devices have become widely available. Initially lacking SD card functionality, these devices now commonly incorporate SD cards, greatly facilitating daily life. Furthermore, some devices feature built-in USB ports, enabling direct communication with host computers, further enhancing ease of use.
[0003] However, when these Holter devices communicate with USB host devices, they sometimes not only need to read and write to the SD card but also need to upgrade or add existing functions. Existing SD card read / write switching circuits can only read and write to the SD card. Adding new functions or improving existing functions to the Holter device cannot be done directly. Instead, the SD card or microcontroller module must be removed separately for modification, resulting in a complex structure and cumbersome operation. Utility Model Content
[0004] The utility model provides a read-write switching circuit for an SD card of a dynamic electrocardiogram device, which is used to solve the above-mentioned problems existing in the prior art.
[0005] The utility model provides a read-write switching circuit for an SD card of a dynamic electrocardiogram device, comprising a single chip microcomputer module, a card reader module and a high-speed analog switch module;
[0006] The first end of the single chip microcomputer module is connected to the first end of the high speed analog switch module;
[0007] The second end of the single chip microcomputer module is connected to the second end of the high speed analog switch module;
[0008] The third end of the single-chip microcomputer module is connected to the first end of the card reader module; the first end of the card reader module is used to control the release and addition of the write protection program of the SD card;
[0009] The second terminal of the card reader module is connected to the third terminal of the high-speed analog switch;
[0010] The third terminal of the card reader module is connected to the fourth terminal of the high-speed analog switch module;
[0011] The fifth terminal of the high-speed analog switch module is connected to the first terminal of the SD card;
[0012] The sixth terminal of the high-speed analog switch module is connected to the second terminal of the SD card.
[0013] According to the utility model, a read-write switching circuit of an SD card of a dynamic electrocardiogram device further includes a USB splitter;
[0014] The first end of the USB splitter is connected to the fourth end of the card reader module;
[0015] The second end of the USB splitter is connected to the fifth end of the card reader module;
[0016] The third end of the USB splitter is connected to the host computer.
[0017] According to the utility model, a read-write switching circuit of an SD card of a dynamic electrocardiogram device further includes a HID control device;
[0018] The first end of the HID control device is connected to the fourth end of the USB splitter;
[0019] The second terminal of the HID control device is connected to the fourth terminal of the single chip microcomputer module.
[0020] According to a read-write switching circuit of an SD card of a dynamic electrocardiogram device provided by the present invention, the HID control device includes any one of a mouse and a control handle.
[0021] According to a read-write switching circuit of an SD card of a dynamic electrocardiograph device provided by the utility model, the connected interfaces are all USB interfaces; the type of the USB interface includes any one of Type-A, Type-B and Type-C.
[0022] According to the read-write switching circuit of the SD card of the dynamic electrocardiograph device provided by the utility model, the single-chip microcomputer in the single-chip microcomputer module includes any one of 8-bit, 16-bit and 32-bit.
[0023] According to the read-write switching circuit of the SD card of a dynamic electrocardiograph device provided by the present invention, the card reader module communicates with the SD card via the SD mode.
[0024] According to the read-write switching circuit of the SD card of the dynamic electrocardiograph device provided by the utility model, the high-speed analog switch module is used to control the circuit to switch to connect the card reader module to the SD card or connect the single-chip microcomputer to the SD card.
[0025] According to a read-write switching circuit of an SD card of a dynamic electrocardiograph device provided by the utility model, the data transmission speed of the SD card is greater than or equal to 10 MB / s.
[0026] The utility model also provides a dynamic electrocardiograph device, comprising the read-write switching circuit of the SD card of the dynamic electrocardiograph device as described in any one of the above items.
[0027] The utility model provides a read-write switching circuit for an SD card of a dynamic electrocardiograph device. The circuit can perform normal read and write operations on the SD card through a PC or a single-chip microcomputer, and can also use the PC to rewrite the program of the single-chip microcomputer, also known as a microcontroller unit (MCU), through USB and HID functions. In this way, when it is necessary to improve or add new functions of the dynamic electrocardiograph device, it is possible to avoid removing the SD card in the dynamic electrocardiograph device separately for writing operations, and it is also possible to avoid removing the single-chip microcomputer module separately for program changes. This not only reduces costs but also has a simple structure and is easy to operate. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] In order to more clearly illustrate the technical solutions in the present invention or the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0029] Figure 1 The utility model provides a circuit principle block diagram of a read-write switching circuit of an SD card in a dynamic electrocardiograph device. DETAILED DESCRIPTION
[0030] With the continuous advancement of technology, Holter monitoring devices have become widely available. Initially lacking SD card functionality, these devices now commonly incorporate SD cards, greatly facilitating daily life. Furthermore, some devices feature built-in USB ports, enabling direct communication with host computers, further enhancing ease of use.
[0031] However, when these devices communicate with USB host devices, they sometimes need to not only read and write SD cards but also upgrade or add existing functions. Existing SD card circuits can only read and write SD cards, and cannot simultaneously add new functions or improve existing functions of Holter devices.
[0032] The purpose of the utility model is to provide a read-write switching circuit which can realize the read and write operation of the SD card and can also add new functions to the single chip microcomputer module or improve the original functions.
[0033] To make the purpose, technical solutions, and advantages of the present invention more clear, the following will be combined with the accompanying drawings to clearly and completely describe the technical solutions of the present invention. Obviously, the embodiments described are only some of the embodiments of the present invention, not all of them. 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.
[0034] The following combination Figure 1 The utility model describes the read-write switching circuit of the SD card of the dynamic electrocardiogram device provided by the present invention.
[0035] Figure 1 This is a circuit principle block diagram of the read-write switching circuit of the SD card of the dynamic electrocardiogram device provided by the utility model, such as Figure 1 The read-write switching circuit at least includes an SD card, a single-chip microcomputer module, a card reader module, a high-speed analog switch module, a USB splitter, and a HID module.
[0036] The utility model provides a read-write switching circuit for an SD card of a dynamic electrocardiogram device, which at least comprises: a single chip computer module, a card reader module and a high-speed analog switch module;
[0037] The first end of the single chip microcomputer module is connected to the first end of the high speed analog switch module;
[0038] The second end of the single chip microcomputer module is connected to the second end of the high speed analog switch module;
[0039] The third end of the single-chip microcomputer module is connected to the first end of the card reader module; the first end of the card reader module is used to control the release and addition of the write protection program of the SD card;
[0040] The second terminal of the card reader module is connected to the third terminal of the high-speed analog switch;
[0041] The third terminal of the card reader module is connected to the fourth terminal of the high-speed analog switch module;
[0042] The fifth terminal of the high-speed analog switch module is connected to the first terminal of the SD card;
[0043] The sixth terminal of the high-speed analog switch module is connected to the second terminal of the SD card.
[0044] Specifically, the present invention provides a read / write switching circuit for an SD card in a Holter monitor, comprising at least a single-chip microcontroller module, a card reader module, and a high-speed analog switch module. The card reader module includes a radio frequency module, a control module, an interface circuit, and a card portion, which is a chip encapsulating an integrated circuit. In the embodiments of the present invention, the card reader module is described using a card reader chip encapsulating an integrated circuit as an example.
[0045] The first end of the single chip microcomputer module is connected to the first end of the high speed analog switch module;
[0046] The second end of the single chip microcomputer module is connected to the second end of the high speed analog switch module;
[0047] The third terminal of the single chip microcomputer module is connected to the first terminal of the card reader chip; the first terminal of the card reader chip is used to control the release and addition of the write protection program of the SD card;
[0048] The second terminal of the card reader chip is connected to the third terminal of the high-speed analog switch;
[0049] The third terminal of the card reader chip is connected to the fourth terminal of the high-speed analog switch module;
[0050] The fifth terminal of the high-speed analog switch module is connected to the first terminal of the SD card;
[0051] The sixth terminal of the high-speed analog switch module is connected to the second terminal of the SD card.
[0052] The embodiment of the present invention provides a read-write switching circuit for an SD card of a dynamic electrocardiograph device. The circuit controls the release and addition of the write protection program of the SD card through a single-chip microcomputer module and a card reader chip, and controls the switching of the high-speed analog switch through a high-speed analog switch module. This enables a host computer (such as a PC or a host, etc., the embodiment of the present invention uses a PC as an example) to perform conventional read and write operations on the SD card, and can also switch to the single-chip microcomputer module to directly write to the SD card. This allows new functions to be added to the dynamic electrocardiograph device or the original functions to be improved directly without having to remove the SD card or change the single-chip microcomputer module separately. The circuit has a simple structure and is easy to operate.
[0053] Optionally, the read-write switching circuit of the SD card of the Holter device provided by the embodiment of the present utility model further includes a USB splitter.
[0054] The first end of the USB splitter is connected to the fourth end of the card reader module;
[0055] The second end of the USB splitter is connected to the fifth end of the card reader module;
[0056] The third end of the USB splitter is connected to the host computer.
[0057] Specifically, the read-write switching circuit of the SD card of the Holter device provided by the embodiment of the present utility model also includes a USB splitter.
[0058] The first end of the USB splitter is connected to the fourth end of the card reader chip;
[0059] The second end of the USB splitter is connected to the fifth end of the card reader chip;
[0060] The third end of the USB splitter is connected to the host computer.
[0061] In this embodiment of the utility model, the main interface of the USB splitter is used to connect to the PC. The splitter end: one end can be connected to the microcontroller module through the HID module, and the other end can be connected to the card reader chip; the high-speed analog switch module is connected to the microcontroller module, SD card, and card reader chip in sequence.
[0062] A USB splitter is primarily used to expand a single USB port into multiple ones, thereby resolving the issue of insufficient USB ports on a device. By splitting a single USB host port into multiple independent USB ports, multiple USB devices can be connected simultaneously to a computer or other host device, eliminating the need for each device to occupy a dedicated host port. USB splitters are also suitable for other situations where multiple USB devices need to be connected simultaneously, such as connecting a keyboard, mouse, flash drive, external hard drive, and other multiple USB devices.
[0063] Optionally, the read-write switching circuit of the SD card of the Holter device provided by the embodiment of the present utility model further includes a HID control device.
[0064] The first end of the HID control device is connected to the fourth end of the USB splitter;
[0065] The second terminal of the HID control device is connected to the fourth terminal of the single chip microcomputer module.
[0066] Specifically, the read-write switching circuit of the SD card of the Holter device provided by the embodiment of the present invention also includes a HID control device.
[0067] The first terminal of the HID control device is connected to the fourth terminal of the USB splitter;
[0068] The second terminal of the HID control device is connected to the fourth terminal of the single chip computer module.
[0069] Optionally, the HID control device includes any one of a mouse and a control handle.
[0070] Specifically, a HID control device is a human-computer interaction device, including but not limited to a mouse, a joystick, and the like. In the embodiments of the present invention, a HID module refers to a module that includes the HID control device. The HID module automatically identifies whether a PC is connected. If so, the HID module connects the PC to the microcontroller module for data transmission. The PC can use the HID module to control the microcontroller module.
[0071] Optionally, the connected interfaces are all USB interfaces; the types of the USB interfaces include any one of Type-A, Type-B and Type-C.
[0072] Optionally, the single-chip microcomputer in the single-chip microcomputer module includes any one of 8 bits, 16 bits and 32 bits.
[0073] Optionally, the card reader module communicates with the SD card via SD mode.
[0074] Optionally, the high-speed analog switch module is used to control the circuit to switch the card reader module to connect to the SD card or the single-chip microcomputer to connect to the SD card.
[0075] Specifically, the high-speed analog switch module is a single-pole double-throw high-speed analog signal switching module, including an analog switch chip, a semiconductor electronic switching device that can switch analog signals of hundreds of MHz, and is used to switch the connection mode of the SD card. The microcontroller module selects whether the SD card is connected to the microcontroller module or the card reader chip.
[0076] In order to ensure data communication stability when communicating with the SD card, reduce errors, and increase reading speed, a pull-up resistor is set on the data line in the circuit between the SD card and the high-speed analog switch module.
[0077] Optionally, the data transmission speed of the SD card is greater than or equal to 10 MB / s.
[0078] Specifically, in the embodiment of the present invention, the SD card can be a high-speed memory card with a data transmission speed of at least 10 MB / s.
[0079] The working principle of the read-write switching circuit of the SD card of the dynamic electrocardiogram device provided by the utility model is as follows:
[0080] The microcontroller module, connected to one data port and the port selector of the high-speed analog switch module, is the core control component of the circuit. It controls the switching of the high-speed analog switch through the port selector. The input of the card reader chip is connected to another data port of the high-speed analog switch module. The card reader chip also includes a circuit that converts the SD card interface into a USB interface.
[0081] The HID module automatically identifies whether the PC end is connected to the USB splitter. When the HID module automatically identifies that the PC end is connected to the USB splitter, the HID module is turned on, and the PC end communicates data with the single-chip microcomputer module. When the PC end sends an instruction to write to the SD card, the HID module outputs a high-level signal to the single-chip microcomputer module. When the single-chip microcomputer module receives the high-level signal sent by the HID module, the single-chip microcomputer module controls the switching port of the high-speed analog switch module to output a high-level signal. At this time, the high-speed analog switch module receives the high-level signal sent by the single-chip microcomputer module, and the high-speed analog switch module selects the card reader chip to connect to the SD card. At this time, the PC end uses the automatic identification module of the HID module to control the card reader chip to read and write data to the SD card.
[0082] Furthermore, when the HID module automatically recognizes that the PC is connected to the USB splitter, the PC can directly write to the SD card. Specifically, on the PC, the HID module sends an instruction to release the write protection program for the SD card to the microcontroller module. The microcontroller executes the deletion of the write protection program for the SD card. At this time, the data in the SD card that needs to be written can be written directly through the PC to change the data in the SD card accordingly.
[0083] When it is necessary to read and write data to the SD card by controlling the single-chip microcomputer module, the HID module outputs a low-level signal to the single-chip microcomputer module. At this time, the single-chip microcomputer module receives the low-level signal sent by the HID module, and the single-chip microcomputer module controls the switching port of the high-speed analog switch module to output a low-level signal. The high-speed analog switch module receives the low-level signal sent by the single-chip microcomputer module, and the high-speed analog switch module selects the single-chip microcomputer module to connect to the SD card. At this time, data can be read and written to the SD card directly by controlling the single-chip microcomputer module.
[0084] The utility model provides a read-write switching circuit for an SD card in a dynamic electrocardiograph device, which can be applied to conventional electrocardiographs, electrocardiograph monitors, dynamic electrocardiograph recorders, and dynamic electrocardiographs. The following uses a dynamic electrocardiograph as an example to illustrate the specific application of the read-write switching circuit for an SD card in a dynamic electrocardiograph device provided by the utility model.
[0085] The Holter monitor has two working modes: storage mode and upload mode.
[0086] In the SD card reader / writer switching circuit of a Holter monitor with a HID module, a USB with a HUB (i.e., USB splitter) function simultaneously connects the HID module and the card reader chip.
[0087] After connecting the electrodes, lead wires, and Holter monitor, press the storage button to enter storage mode. At this time, the MCU is connected to the SD card through a high-speed analog switch and starts writing data to the SD card.
[0088] After the ECG data collection is completed, the HID module automatically recognizes the data when the USB is connected to the PC and enters the upload mode. The PC uses the automatic recognition module of the HID module to control the card reader chip to read the data stored in the SD card and transfer it to the PC via USB.
[0089] In addition, the PC can also directly write to the SD card. For example, if you want to write data to the SD card from the PC, you can send a command to the MCU through the HID module to remove the write protection restriction on the SD card from the PC. At this time, the data that needs to be written to the SD card can be written directly through the PC, and the SD card data will be changed accordingly.
[0090] When an SD card fails, there is no need to remove the SD card from the Holter monitor and then connect it to the PC through a card reader to format the SD card. The above operations can be completed by simply connecting the Holter monitor and the PC through a data cable. Conversely, the HID module can also be used to send an instruction to add an SD card write protection program to the MCU to protect the data stored in it.
[0091] The MCU program can also be upgraded from a PC via USB and HID modules. For example, if the Holter monitor requires improvement or new features, the program can be written to the MCU via USB or HID modules to achieve the desired improvements and new features, better meeting various design requirements and ultimately reducing costs and increasing operational flexibility.
[0092] Compared to conventional circuits, the SD card read / write switching circuit provided by this utility model can perform normal SD card read / write operations, while also enabling rewriting and control of the MCU via USB and HID functions from a PC. The MCU controls a high-speed analog switch to switch the SD card read / write functions.
[0093] The present invention utilizes the cooperation of a USB splitter, an HID module, and an MCU to automatically identify the PC end. When the MCU does not identify the PC end, the MCU can implement read and write operations on the SD card by controlling a high-speed analog switch. When the MCU identifies the PC end, the MCU can also control the single-chip microcomputer module to write to the SD card through the PC end by controlling a high-speed analog switch. In this case, if the PC end wants to perform a write operation on the SD card, the MCU can control the card reader module to remove the write protection restriction on the SD card by the PC end. At the same time, when the PC end controls the card reader chip to write to the SD card, it can also make changes to other specific functions of the single-chip microcomputer module. The present invention provides a read-write switching circuit for the SD card of a dynamic electrocardiograph device, which avoids the need to remove the SD card in the dynamic electrocardiograph device separately for write operations, and also avoids the need to remove the single-chip microcomputer module separately for changes. It has a simple structure and is easy to operate.
[0094] Optionally, the present invention further provides a dynamic electrocardiogram device, comprising the read-write switching circuit described in any of the above embodiments.
[0095] Specifically, the structure and working principle of the read-write switching circuit in a dynamic electrocardiogram device provided by an embodiment of the present invention can refer to the above embodiment and can achieve the same technical effect. The same parts and beneficial effects will not be described in detail here.
[0096] It should be noted that, in this document, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or device comprising the element. In addition, features described with reference to certain examples may be combined in other examples.
[0097] It should also be noted that the terms "first," "second," and the like in this utility model are used to distinguish similar objects, and are not used to describe a specific order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate, so that the embodiments of this application can be implemented in an order other than that illustrated or described herein. Furthermore, the objects distinguished by "first" and "second" are generally of the same type, and do not limit the number of objects. For example, the first object can be one or more.
[0098] In the present invention, the term "plurality" refers to two or more than two, and other quantifiers are similar.
[0099] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention.
Claims
1. A read-write switching circuit for an SD card of a dynamic electrocardiogram device, characterized in that: Including single chip microcomputer module, card reader module and high-speed analog switch module; The first end of the single chip microcomputer module is connected to the first end of the high speed analog switch module; The second end of the single chip microcomputer module is connected to the second end of the high speed analog switch module; The third end of the single-chip microcomputer module is connected to the first end of the card reader module; the first end of the card reader module is used to control the release and addition of the write protection program of the SD card; The second terminal of the card reader module is connected to the third terminal of the high-speed analog switch; The third terminal of the card reader module is connected to the fourth terminal of the high-speed analog switch module; The fifth terminal of the high-speed analog switch module is connected to the first terminal of the SD card; The sixth terminal of the high-speed analog switch module is connected to the second terminal of the SD card.
2. The read-write switching circuit of the SD card of the dynamic electrocardiograph device according to claim 1, characterized in that: Also includes a USB splitter; The first end of the USB splitter is connected to the fourth end of the card reader module; The second end of the USB splitter is connected to the fifth end of the card reader module; The third end of the USB splitter is connected to the host computer.
3. The read-write switching circuit of the SD card of the dynamic electrocardiograph device according to claim 1, characterized in that: Also includes HID control equipment; The first end of the HID control device is connected to the fourth end of the USB splitter; The second terminal of the HID control device is connected to the fourth terminal of the single chip microcomputer module.
4. The read-write switching circuit of the SD card of the dynamic electrocardiograph device according to claim 3, characterized in that: The HID control device includes any one of a mouse and a control handle.
5. The read-write switching circuit of the SD card of the Holter device according to any one of claims 1 to 3, characterized in that: The connected interfaces are all USB interfaces; the types of the USB interfaces include any one of Type-A, Type-B and Type-C.
6. The read-write switching circuit of the SD card of the dynamic electrocardiograph device according to claim 1, characterized in that: The single chip microcomputer in the single chip microcomputer module includes any one of 8-bit, 16-bit and 32-bit.
7. The read-write switching circuit of the SD card of the Holter device according to claim 1, characterized in that: The card reader module communicates with the SD card via SD mode.
8. The read-write switching circuit of the SD card of the dynamic electrocardiograph device according to claim 1, characterized in that: The high-speed analog switch module is used to control the circuit to switch the card reader module to connect to the SD card or the single-chip microcomputer to connect to the SD card.
9. The read-write switching circuit of the SD card of the dynamic electrocardiograph device according to claim 1, characterized in that: The data transmission speed of the SD card is greater than or equal to 10MB / s.
10. A dynamic electrocardiogram device, characterized in that: The read-write switching circuit comprises the read-write switching circuit according to any one of claims 1 to 9.