Double-wire type intelligent air switch loading storage system

The soldered packaging and SPDT switching circuit design of the SD-NAND memory solves the problems of Flash memory being unable to be upgraded offline and the poor reliability of SD cards. It achieves high-reliability, low-cost two-wire operation, supports switching between online and offline modes, and improves system maintenance efficiency and data synchronization capabilities.

CN120705089AActive Publication Date: 2025-09-26SICHUAN AIBEISI TECH DEV CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202510678581.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-26
Publication Date
2025-09-26
Estimated Expiration
2045-05-26

AI Technical Summary

Technical Problem

In the existing technology, Flash memory cannot be upgraded offline, SD cards have poor reliability in high-vibration scenarios, and are not compatible with online and offline operations.

Method used

It adopts SD-NAND memory for welding packaging, and realizes two-wire operation through SPDT switching circuit and SD to USB conversion circuit. It combines manual switching of DIP switch and automatic switching of GPIO control circuit to support online and offline mode switching.

Benefits of technology

It achieves high reliability and low-cost two-wire operation, supports switching between online and offline modes, avoids mechanical contact failure, reduces system costs, improves system maintenance efficiency, and supports data synchronization and repair in complex scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120705089A_ABST
    Figure CN120705089A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of lamp networking systems, street lamp control and intelligent air switches, in particular to a double-wire type intelligent air switch loading storage system, which solves the contradiction between the reliability and the operation mode of a traditional storage device through an SPDT switching circuit, an SD-to-USB conversion circuit and double-control switching logic. Specifically speaking, the SD-NAND is packaged in a welding mode, so that the problem of mechanical contact failure is avoided; flexible switching between an online mode and an offline mode is realized through the SPDT switching circuit, and firmware updating or data recovery can be completed without dismounting a memory; the unit storage cost of the SD-NAND is lower than that of NOR Flash and EMMC, and the SD-NAND is directly operated through a general SD burning tool, so that special burning equipment is omitted; the double-control design of dial-up manual switching and GPIO automatic switching not only supports forced off-line operation during first burning, but also meets the requirement for automatic switching during running, and the system maintenance efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical fields of lighting networking systems, street lamp control, and intelligent circuit breakers, and in particular to a two-wire intelligent circuit breaker loading and storage system. Background Art

[0002] With the popularization of smart circuit breakers and lighting networking systems, storage devices need to meet the requirements of high reliability and flexible operation at the same time. In the existing technology, although Flash memory has high reliability, it only supports online operation and requires special tools for burning, and cannot be upgraded offline. Although SD cards support offline operation and are low-cost, they cannot be used in high-vibration scenarios due to poor mechanical contact reliability. In addition, although the existing SD-NAND devices have improved reliability through welding packaging, they only support online operation and are not compatible with offline mode. Therefore, how to retain the low-cost advantage of SD cards while solving its reliability problems and realizing two-wire operation (compatible with online and offline modes) has become a technical problem that needs to be solved urgently. The core of the present invention is to use innovative control circuit design combined with SD-NAND memory to retain the high reliability of welding and support two-wire operation, thereby overcoming the defects of the existing technology. Summary of the Invention

[0003] The object of the present invention is to provide a dual-line intelligent circuit breaker loading and storage system to improve the above technical problems.

[0004] In order to achieve the above objectives, the embodiments of the present application provide the following technical solutions: On the one hand, an embodiment of the present application provides a two-wire intelligent circuit breaker loading and storage system, the system comprising: an SD-NAND memory, which is packaged in a soldered manner and integrated into a circuit board; An SPDT single-pole dual-position switch switching circuit is connected to the SD-NAND memory and is used to switch the communication channel between the SD-NAND memory and the SD interface of the CPU or the SD to USB conversion circuit; an SD to USB conversion circuit is connected to the SPDT switching circuit and is used to convert SD interface signals into USB signals to achieve communication with an external PC; a manual switching control circuit with a dial code is connected to the SPDT switching circuit and is used to manually control channel switching; a GPIO automatic switching control circuit is connected to the SPDT switching circuit and automatically controls channel switching through the GPIO signal of the CPU; wherein, the SPDT switching circuit switches the communication channel of the SD-NAND memory to an online mode or an offline mode according to the instructions of the manual switching control circuit with the dial code or the GPIO automatic switching control circuit. In the online mode, the SD-NAND memory interacts with the CPU through the SD interface, and in the offline mode, the SD-NAND memory interacts with the PC through the SD to USB conversion circuit to achieve two-wire operation.

[0005] Optionally, the DIP manual switching control circuit and the GPIO automatic switching control circuit adopt a dual-control design, so that manual switching and automatic switching are independent and do not conflict with each other, and manual switching has a higher priority than automatic switching.

[0006] Optionally, the SD to USB conversion circuit includes an STM32XX, GD32XX or GL823K chip, which is used to complete level adaptation and rate conversion between SD signals and USB signals.

[0007] Optionally, in the online mode, the CPU performs online read and write operations on the SD-NAND memory through the SD interface; in the offline mode, the PC directly burns firmware or repairs data on the SD-NAND memory through the USB interface.

[0008] Optionally, the SPDT switching circuit is connected to the SD interface of the CPU by default in the initial state, and switches to the SD to USB conversion circuit when a manual switching signal of a dial code or an automatic switching signal of a GPIO is detected.

[0009] Optionally, the system supports a bidirectional operation mode in the following manner: Step 1: Generate a switching signal through the GPIO automatic switching control circuit to switch the communication channel of the SD-NAND memory to the CPU side; Step 2: The CPU reads or writes data to the SD-NAND memory through the SD interface; Step 3: When offline operation is required, the GPIO automatic switching control circuit generates a switching signal to switch the communication channel to the SD to USB conversion circuit side; Step 4: The PC updates or repairs the data on the SD-NAND memory through the USB interface; The output of step 1 is used as the input of step 2, and the output of step 3 is used as the input of step 4, ultimately achieving two-line data interaction.

[0010] Optionally, the capacity of the SD-NAND memory is greater than or equal to 8 GB, and the unit storage cost is lower than that of a NOR Flash or EMMC memory of the same capacity.

[0011] The beneficial effects of the present invention are: The present invention solves the contradiction between reliability and operation mode of traditional storage devices through SPDT switching circuit, SD to USB conversion circuit and dual-control switching logic. Specifically: High reliability and compatibility with two-wire operation: SD-NAND uses a soldered package to avoid mechanical contact failure and is suitable for high-vibration scenarios. The SPDT switching circuit enables flexible switching between online and offline modes, allowing firmware updates or data repairs without disassembling the memory.

[0012] Cost advantage: The unit storage cost of SD-NAND is lower than that of NOR Flash and EMMC, and it can be directly operated through universal SD burning tools, eliminating the need for dedicated burning equipment and significantly reducing system costs.

[0013] Operational flexibility: The dual-control design of manual switching via the DIP switch and automatic switching via GPIO supports both forced offline operation during the first programming and automatic switching during operation, improving system maintenance efficiency.

[0014] Bidirectional data interaction capability: Through the time-division multiplexing mechanism, the CPU and PC can alternately access the same storage, supporting data synchronization and repair in complex scenarios, and avoiding system paralysis caused by single point failures in traditional storage systems.

[0015] Other features and advantages of the present invention will be described in the following description, and in part will become apparent from the description, or understood by practicing the embodiments of the present invention. The purposes and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments. It should be understood that the following drawings only illustrate certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can be obtained based on these drawings without paying any creative work.

[0017] Figure 1 This is an architectural block diagram of a dual-line intelligent circuit breaker loading and storage system described in an embodiment of the present invention.

[0018] Figure 2 Schematic diagram of the SPDT switching circuit and dual control logic described in an embodiment of the present invention.

[0019] Figure 3 This is a block diagram of a two-wire intelligent circuit breaker loading storage device described in an embodiment of the present invention. DETAILED DESCRIPTION

[0020] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. The components of the embodiments of the present invention generally described and shown in the drawings herein can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0021] It should be noted that similar reference numerals or letters represent similar items in the following drawings. Therefore, once an item is defined in one drawing, it does not need to be further defined or explained in subsequent drawings. At the same time, in the description of the present invention, the terms "first", "second", etc. are only used to distinguish the description and should not be understood as indicating or implying relative importance.

[0022] Example 1:

[0023] like Figure 1-2 As shown, this embodiment provides a dual-line intelligent circuit breaker loading and storage system, the system comprising: SD-NAND memory, which is packaged in a soldered format and integrated into the circuit board; An SPDT single-pole double-position switch switching circuit is connected to the SD-NAND memory and is used to switch the communication channel between the SD-NAND memory and the SD interface of the CPU or the SD to USB conversion circuit. The SPDT single-pole double-position switch switching circuit is connected to the SD interface of the CPU by default in the initial state. When a manual switching signal of the dial code or an automatic switching signal of the GPIO is detected, it switches to the SD to USB conversion circuit; An SD to USB conversion circuit, connected to the SPDT switching circuit, is used to convert SD interface signals into USB signals to achieve communication with an external PC. The SD to USB conversion circuit includes an STM32XX, GD32XX or GL823K chip, which is used to complete level adaptation and rate conversion between SD signals and USB signals; A dial manual switching control circuit is connected to the SPDT switching circuit and is used to manually control channel switching; A GPIO automatic switching control circuit is connected to the SPDT switching circuit and automatically controls channel switching through the GPIO signal of the CPU; Among them, the SPDT switching circuit switches the communication channel of the SD-NAND memory to online mode or offline mode according to the instructions of the dial manual switching control circuit or the GPIO automatic switching control circuit. In the online mode, the SD-NAND memory interacts with the CPU through the SD interface. In the offline mode, the SD-NAND memory interacts with the PC through the SD to USB conversion circuit to realize two-wire operation.

[0024] Among them, the dial manual switching control circuit and the GPIO automatic switching control circuit adopt a dual control design, so that manual switching and automatic switching are independent and do not conflict with each other, and manual switching has a higher priority than automatic switching.

[0025] In the online mode, the CPU performs online read and write operations on the SD-NAND memory through the SD interface. In the offline mode, the PC directly burns firmware or repairs data on the SD-NAND memory through the USB interface. The capacity of the SD-NAND memory is greater than or equal to 8GB, and the unit storage cost is lower than that of NOR Flash or EMMC memory of the same capacity.

[0026] The dual-wire intelligent circuit breaker loading storage system described in this embodiment utilizes an SPDT switching circuit, an SD-to-USB conversion circuit, and dual-control switching logic to address the conflict between reliability and operating modes encountered by traditional storage devices. Specifically, the system offers high reliability and compatibility with dual-wire operation: SD-NAND utilizes a soldered package, eliminating mechanical contact failure and making it suitable for high-vibration scenarios. The SPDT switching circuit enables flexible switching between online and offline modes, enabling firmware updates or data repairs without disassembling the storage. Cost advantage: SD-NAND boasts a lower unit storage cost than NOR Flash and EMMC, and can be directly operated using common SD programming tools, eliminating the need for dedicated programming equipment and significantly reducing system costs. Operational flexibility: The dual-control design, with manual DIP switching and automatic GPIO switching, supports both forced offline operation during initial programming and automatic switching during runtime, improving system maintenance efficiency. Bidirectional data exchange: Through time-division multiplexing, the CPU and PC can alternately access the same storage, supporting data synchronization and repair in complex scenarios and avoiding the single point of failure that can cause system failure in traditional storage systems.

[0027] Example 2:

[0028] This embodiment, based on Embodiment 1, provides a specific implementation method for a bidirectional operation mode of a loading storage system based on a two-wire intelligent circuit breaker, the method comprising: Step 1: Generate a switching signal through the GPIO automatic switching control circuit to switch the communication channel of the SD-NAND memory to the CPU side; Step 2: The CPU reads or writes data to the SD-NAND memory through the SD interface; Step 3: When offline operation is required, the GPIO automatic switching control circuit generates a switching signal to switch the communication channel to the SD to USB conversion circuit side; Step 4: The PC updates or repairs the data on the SD-NAND memory through the USB interface; The output of step 1 is used as the input of step 2, and the output of step 3 is used as the input of step 4, ultimately achieving two-line data interaction.

[0029] Example 3:

[0030] like Figure 1-2 As shown, this embodiment describes the structure, connection mode and operation mode of the dual-line intelligent circuit breaker loading and storage system. Hardware composition and connection relationship: SD-NAND memory: This device uses a solder-packaged SD-NAND chip (8GB capacity), directly soldered to the circuit board to avoid mechanical contact failure. Its interface signals, including CLK, CMD, and DAT0-DAT3, are connected to the SPDT switching circuit.

[0031] SPDT single-pole dual-position switch switching circuit: composed of a high-speed analog switch chip (such as TS5A23157), including two independent channels: Channel A: connected to the CPU's SD interface (SD_CLK, SD_CMD, SD_DAT0-DAT3); Channel B: connect to SD to USB conversion circuit; The control end of the SPDT switching circuit is connected to the dial manual switching control circuit and the GPIO automatic switching control circuit respectively.

[0032] SD to USB conversion circuit: uses the GL823K chip to convert the SD interface signal into USB 2.0 signal, and connects to the PC through the Micro-USB interface to achieve signal adaptation and communication during offline operation.

[0033] Dip manual switching control circuit: consists of a 4-bit dip switch and a pull-up resistor, which directly controls the channel selection of the SPDT switching circuit through high and low levels.

[0034] GPIO automatic switching control circuit: outputs high and low level signals through the CPU's GPIO pin (such as GPIO12) to control the automatic switching logic of the SPDT switching circuit.

[0035] Connection relationship: The interface signal line of SD-NAND is connected to the common end of the SPDT switching circuit; Channel A of the SPDT switching circuit is connected to the SD interface of the CPU, and channel B is connected to the SD to USB conversion circuit; The output end of the dip switch is connected in parallel with the GPIO pin and then connected to the control end of the SPDT switching circuit to ensure that manual switching takes priority over automatic switching.

[0036] Working mode and operation process: Mode 1: Online Mode (CPU Interaction) Initial state: The SPDT switching circuit is connected to channel A (CPU side) by default, and the GPIO automatic switching control circuit outputs a low level.

[0037] Operation process: 1. The CPU sends read and write instructions (such as reading configuration files or updating firmware) to the SD-NAND through the SD interface. 2. SD-NAND responds to commands and completes data exchange through the SD interface; 3. To switch to offline mode, the CPU outputs a high-level signal through GPIO12, triggering the SPDT switching circuit to disconnect channel A and connect channel B.

[0038] Mode 2: Offline mode (PC interaction) Forced switching: When the SD-NAND is burned for the first time or needs urgent repair, manually turn the DIP switch to the "OFFLINE" position, and the SPDT switching circuit is forced to connect to channel B.

[0039] Operation process: 1. The PC sends the burning command through the USB interface (such as using the Win32DiskImager tool); 2. The SD to USB conversion circuit converts USB signals into SD interface signals and writes them directly to SD-NAND; 3. After the operation is completed, the DIP switch is reset and the system automatically returns to online mode.

[0040] Mode 3: Bidirectional operation (time division multiplexing).

[0041] Automatic switching logic: 1. The CPU outputs a low level through GPIO12, and the SPDT switches to channel A to read the operating data in the SD-NAND. 2. When the PC sends an offline operation request, GPIO12 outputs a high level and switches to channel B; 3. After the PC completes the data update, GPIO12 returns to a low level and switches back to channel A; 4. The CPU continues to process the updated data, forming a closed-loop interaction.

[0042] Secondly, the dual-line intelligent circuit breaker loading and storage system described in this embodiment also includes: Bad block repair function: PC can call SD Formatter tool through USB connection to directly detect and repair bad blocks on SD-NAND without disassembling the chip; Multi-device compatibility: SD to USB conversion circuit supports USB Type-C interface, adapting to different PC devices; Low power design: SPDT switching circuit automatically enters sleep mode when idle, reducing system power consumption.

[0043] Example 4:

[0044] Corresponding to the above method embodiment, the embodiment of the present disclosure further provides a two-wire intelligent circuit breaker loading and storage device. The two-wire intelligent circuit breaker loading and storage device described below and the specific implementation method of the bidirectional operation mode described above can refer to each other.

[0045] Figure 3 FIG. 1 is a block diagram showing a dual-line intelligent circuit breaker for loading a storage device according to an exemplary embodiment. Figure 3 As shown, the electronic device 800 may include: a processor 801 , a memory 802 , and may further include one or more of a multimedia component 803 , an I / O interface 804 , and a communication component 805 .

[0046] The processor 801 is used to control the overall operation of the electronic device 800 to complete all or part of the steps in the above-mentioned two-wire intelligent circuit breaker loading and storing method. The memory 802 is used to store various types of data to support the operation of the electronic device 800. Such data may include, for example, instructions for any application or method operating on the electronic device 800, as well as application-related data, such as contact information, sent and received messages, pictures, audio, video, etc. The memory 802 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. The multimedia component 803 may include a screen and an audio component. The screen may be, for example, a touch screen, and the audio component is used to output and / or input audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signal may be further stored in the memory 802 or sent through the communication component 805. The audio component also includes at least one speaker for outputting audio signals. The I / O interface 804 provides an interface between the processor 801 and other interface modules. The above-mentioned other interface modules may be a keyboard, a mouse, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication component 805 is used for wired or wireless communication between the electronic device 800 and other devices. Wireless communication, such as Wi-Fi, Bluetooth, near field communication (NFC), 2G, 3G or 4G, or a combination of one or more thereof, so the corresponding communication component 805 may include: a Wi-Fi module, a Bluetooth module, an NFC module.

[0047] In an exemplary embodiment, the electronic device 800 can be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to execute the above-mentioned two-wire intelligent circuit breaker loading and storage method.

[0048] In another exemplary embodiment, a computer-readable storage medium including program instructions is also provided. When executed by a processor, the program instructions implement the steps of the aforementioned two-wire intelligent circuit breaker loading and storing method. For example, the computer-readable storage medium may be the aforementioned memory 802 including the program instructions. The program instructions may be executed by the processor 801 of the electronic device 800 to implement the aforementioned two-wire intelligent circuit breaker loading and storing method.

[0049] Example 5:

[0050] Corresponding to the above method embodiment, the embodiment of the present disclosure further provides a readable storage medium. The readable storage medium described below and the two-wire intelligent circuit breaker loading and storing method described above can refer to each other.

[0051] A readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the dual-wire intelligent circuit breaker loading and storing method of the above method embodiment.

[0052] The readable storage medium may specifically be any readable storage medium that can store program code, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0053] The foregoing description is merely a preferred embodiment of the present invention and is not intended to limit the present invention. Those skilled in the art will readily appreciate that various modifications and variations of the present invention are possible. Any modifications, equivalent substitutions, or improvements made within the spirit and principles of the present invention shall be included within the scope of protection of the present invention.

Claims

1. A dual-line intelligent circuit breaker loading and storage system, characterized in that: The system comprises: SD-NAND memory, which is packaged in a soldered format and integrated into the circuit board; An SPDT single-pole double-position switch switching circuit is connected to the SD-NAND memory and is used to switch the communication channel between the SD-NAND memory and the SD interface of the CPU or the SD to USB conversion circuit; An SD to USB conversion circuit, connected to the SPDT switching circuit, for converting SD interface signals into USB signals to enable communication with an external PC; A dial manual switching control circuit is connected to the SPDT switching circuit and is used to manually control channel switching; A GPIO automatic switching control circuit is connected to the SPDT switching circuit and automatically controls channel switching through the GPIO signal of the CPU; Among them, the SPDT switching circuit switches the communication channel of the SD-NAND memory to online mode or offline mode according to the instructions of the dial manual switching control circuit or the GPIO automatic switching control circuit. In the online mode, the SD-NAND memory interacts with the CPU through the SD interface. In the offline mode, the SD-NAND memory interacts with the PC through the SD to USB conversion circuit to realize two-wire operation.

2. The dual-line intelligent circuit breaker loading and storage system according to claim 1, characterized in that: The dial manual switching control circuit and the GPIO automatic switching control circuit adopt a dual control design, so that manual switching and automatic switching are independent and do not conflict with each other, and manual switching has a higher priority than automatic switching.

3. The dual-line intelligent circuit breaker loading and storage system according to claim 2, characterized in that: The SD to USB conversion circuit includes an STM32XX, GD32XX or GL823K chip, which is used to complete the level adaptation and rate conversion of SD signals and USB signals.

4. The dual-line intelligent circuit breaker loading and storage system according to claim 3, characterized in that: In the online mode, the CPU performs online reading and writing operations on the SD-NAND memory through the SD interface; in the offline mode, the PC directly burns firmware or repairs data on the SD-NAND memory through the USB interface.

5. The dual-line intelligent circuit breaker loading and storage system according to claim 4, characterized in that: The SPDT single-pole double-position switch switching circuit is connected to the CPU's SD interface by default in the initial state. When a manual switching signal from the dial code or an automatic switching signal from the GPIO is detected, it switches to the SD to USB conversion circuit.

6. The dual-line intelligent circuit breaker loading and storage system according to claim 5, characterized in that: The system supports a bidirectional operation mode in the following manner: Step 1: Generate a switching signal through the GPIO automatic switching control circuit to switch the communication channel of the SD-NAND memory to the CPU side; Step 2: The CPU reads or writes data to the SD-NAND memory through the SD interface; Step 3: When offline operation is required, the GPIO automatic switching control circuit generates a switching signal to switch the communication channel to the SD to USB conversion circuit side; Step 4: The PC updates or repairs the data on the SD-NAND memory through the USB interface; The output of step 1 is used as the input of step 2, and the output of step 3 is used as the input of step 4, ultimately achieving two-line data interaction.

7. The dual-line intelligent circuit breaker loading and storage system according to claim 5, characterized in that: The capacity of the SD-NAND memory is greater than or equal to 8GB, and the unit storage cost is lower than that of NOR Flash or EMMC memory of the same capacity.

Citation Information

Patent Citations

  • Embedded system and system starting method

    CN112099856A

  • Network data transmission module capable of meeting multifunctional and multi-dimensional requirements

    CN116319737A

  • MCU controller

    CN119690906A

  • Electric tracing band control system for circuit breaker tank body of combined electric appliance of transformer substation

    CN218300920U

  • Mixed-Mode ROM / RAM Booting Using an Integrated Flash Controller with NAND-Flash, RAM, and SD Interfaces

    US20100146256A1