Printed circuit board (PCB) capable of being directly provided with magnetic shaft, magnetic shaft and keyboard

By setting slots on the PCB to fix the magnetic axis, integrating a magnetic full-color chip, and using a serial-parallel single-bus serial communication circuit, the problems of large assembly errors and high costs of existing magnetic axis keyboards are solved, achieving a lower cost and higher reliability ultra-thin keyboard design.

CN121742671APending Publication Date: 2026-03-27SHENZHEN XINHEYUN ELECTRONIC TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-01-21
Publication Date
2026-03-27

AI Technical Summary

Technical Problem

Existing magnetic axis keyboards have large assembly errors, high costs, and require dedicated mounting boards and multiple components. The MCU can only be built into the magnetic axis PCB, resulting in complex structure and insufficient reliability.

Method used

Slots are set on the PCB to fix the magnetic shaft, and magnetic full-color chips and magnetic external color chips are integrated. A serial-parallel single-bus serial communication circuit is adopted to realize chip cascading and hot standby design, simplifying the circuit structure, externalizing the MCU and reducing the number of pins.

Benefits of technology

It reduces material and assembly costs, improves reliability and stability, supports ultra-thin designs, simplifies circuit structure, reduces component space occupation, and enhances keyboard reliability and performance stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121742671A_ABST
    Figure CN121742671A_ABST
Patent Text Reader

Abstract

The invention discloses a PCB (printed circuit board) capable of being directly provided with magnetic shafts, the magnetic shafts and a keyboard, a plurality of slotted holes are formed in the PCB, the PCB is fixed with the magnetic shafts through the slotted holes, and each magnetic shaft is correspondingly provided with a chip; the chip is one of a magnetic full color chip, a magnetic full outer color chip, a magnetic full device chip, a magnetic fantasy color chip, a magnetic converging color chip, a magnetic loading color chip and a magnetic full loading color chip. The magnetic shaft can be directly installed on the PCB, the magnetic shaft can be repeatedly plugged into the PCB, the installation is simple and convenient, and the material cost and the assembly cost are reduced. The keyboard does not need a special shaft body fixing plate, the magnetic shaft can be directly installed on the PCB, and the height of the keyboard is also reduced. Wherein the magnetic full-color chip, the magnetic full-outer-color chip, the magnetic fantasy color chip, the magnetic converging color chip, the magnetic loading color chip and the magnetic full-loading color chip are provided with GRB lamp beads, so that the use is more convenient.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The application relates to a magnetic shaft keyboard, in particular to a PCB capable of directly installing a magnetic shaft, the magnetic shaft and the keyboard. BACKGROUND

[0002] The original magnetic shaft keyboard has a special fixing plate, and the magnetic shaft special fixing plate and the PCB must be firmly locked together during assembly, which is high in cost and large in assembly error; the magnetic shaft element with RGB indication is large in quantity, the MCU pin number of the USB function is at least 30PIN or more, double-sided plates are mostly used, and the single-sided plate is made, the element is increased by hundreds, and the MCU can only be built-in on the magnetic shaft PCB. SUMMARY

[0003] The application aims at overcoming the defects and deficiencies of the prior art, and providing a PCB capable of directly installing a magnetic shaft.

[0004] Another object of the application is to provide a magnetic shaft.

[0005] Still another object of the application is to provide a keyboard.

[0006] The objects of the application are achieved by the following technical solutions.

[0007] The PCB capable of directly installing a magnetic shaft is characterized in that a plurality of slot holes are arranged on the PCB, the PCB is fixed with the magnetic shaft through the slot holes, and one magnetic full-color chip is arranged corresponding to each magnetic shaft.

[0008] The magnetic full-color chip contains a GRB lamp bead, and integrates a magnetic induction circuit, a GRB fantasy color driving circuit, an address code memory and a serial communication circuit of a serial-parallel single bus, and comprises a power supply pin, a grounding pin, a parallel data line pin, an address code input pin and an address code output pin; the power supply pin is used for power supply of the magnetic full-color chip, and the grounding pin is used for signal grounding and power supply grounding.

[0009] The address code input pin and the address code output pin of the n magnetic full-color chips are cascaded in front and back, to form a serial data line network DIN(1)-DOUT(n), and the two ends DIN(1) and DOUT(n) of the serial data line network are connected with an MCU, the MCU writes the sequence position formed by the cascaded magnetic full-color chips into the address code memory through the serial data line network DIN(1)-DOUT(n), and uses the same as a communication address code; the power supply pins of the n magnetic full-color chips are connected in parallel to share a power supply network VCC, the grounding pins are connected in parallel to share a grounding network GND, and the parallel data line pins are connected in parallel to form a parallel data line network DIO, and then connected to the MCU.

[0010] The serial communication circuit of the serial-parallel single bus is used for processing serial data line network information and parallel data line network information.

[0011] GRB color information and magnetic axis switch information can be transmitted on parallel data line network DIO;

[0012] GRB color information and magnetic axis switch information can also be transmitted on serial data line network DIN(1)-DOUT(n);

[0013] Both parallel data line network and serial data line network use serial single bus communication protocol to transmit GRB color information and magnetic axis switch information, and are hot standby for each other.

[0014] A PCB capable of directly installing magnetic shafts, the PCB is provided with a plurality of slots, the PCB is fixed with the magnetic shafts through the slots, and one magnetic full-color chip is arranged corresponding to each magnetic shaft;

[0015] The magnetic full-color chip is used for driving external LED lamp beads, integrates a magnetic induction circuit, a GRB color driving circuit, an address code memory, and a serial-parallel single bus serial communication circuit, and includes a power supply pin, a grounding pin, a parallel data line pin, an address code input pin, an address code output pin, a G pin, an R pin, and a B pin; the power supply pin is used for supplying power to the magnetic full-color chip, and the grounding pin is used for signal grounding and power grounding; the G pin, the R pin, and the B pin are respectively connected with external green LED lights, red LED lights, and blue LED lights;

[0016] The address code input pin and the address code output pin of the n magnetic full-color chips are cascaded in front and back, forming a serial data line network DIN(1)-DOUT(n), and the two ends DIN(1) and DOUT(n) of the serial data line network are respectively connected with an MCU; the MCU writes a sequence position formed by cascading the magnetic full-color chips into the address code memory through the serial data line network DIN(1)-DOUT(n), and uses the sequence position as a communication address code; the power supply pins of the n magnetic full-color chips are connected in parallel to share a power supply network VCC, the grounding pins are connected in parallel to share a ground network GND, and the parallel data line pins are connected in parallel to form a parallel data line network DIO, and then connected to the MCU;

[0017] The serial-parallel single bus serial communication circuit is used for processing serial data line network information and parallel data line network information;

[0018] GRB color information and magnetic axis switch information can be transmitted on parallel data line network DIO;

[0019] GRB color information and magnetic axis switch information can also be transmitted on serial data line network DIN(1)-DOUT(n);

[0020] Both parallel data line network and serial data line network use serial single bus communication protocol to transmit GRB color information and magnetic axis switch information, and are hot standby for each other.

[0021] A PCB capable of directly installing magnetic shafts, the PCB is provided with a plurality of slot holes, the PCB is fixed with the magnetic shafts through the slot holes, and one magnetic full device chip is arranged corresponding to each magnetic shaft;

[0022] The magnetic full device chip integrates a magnetic induction circuit, an address code storage, and a serial-parallel single bus serial communication circuit, and includes a power supply pin, a grounding pin, a parallel data line pin, an address code input pin, and an address code output pin; the power supply pin is used for supplying power to the magnetic full device chip, and the grounding pin is used for signal grounding and power grounding;

[0023] The address code input pin and the address code output pin of the n magnetic full device chips are cascaded in front and back, forming a serial data line network DIN(1)-DOUT(n), and the two ends DIN(1) and DOUT(n) of the serial data line network are connected with an MCU, the MCU writes the sequence position formed by cascading the magnetic full device chips into the address code storage and uses it as a communication address code; the power supply pins of the n magnetic full device chips are connected in parallel to share a power supply network VCC, the grounding pins are connected in parallel to share a ground network GND, and the parallel data line pins are connected in parallel to form a parallel data line network DIO and then connected to the MCU;

[0024] The serial-parallel single bus serial communication circuit is used for processing serial data line network information and parallel data line network information;

[0025] Magnetic shaft switch information can be transmitted on the parallel data line network DIO;

[0026] Magnetic shaft switch information can also be transmitted on the serial data line network DIN(1)-DOUT(n);

[0027] The parallel data line network and the serial data line network both adopt a serial single bus communication protocol to transmit magnetic shaft switch information and are hot backups for each other.

[0028] A PCB capable of directly installing magnetic shafts, the PCB is provided with a plurality of slot holes, the PCB is fixed with the magnetic shafts through the slot holes, and one magnetic full device chip is arranged corresponding to each magnetic shaft;

[0029] The magnetic full device chip integrates a magnetic induction circuit, an address code storage, and a serial-parallel single bus serial communication circuit, and includes a power supply pin, a grounding pin, a parallel data line pin, an address code input pin, and an address code output pin; the power supply pin is used for supplying power to the magnetic full device chip, and the grounding pin is used for signal grounding and power grounding;

[0030] The series signal input pin and the series signal output pin of the n magnetic color-changing chips are cascaded in front and back, forming a series data line network DIN(1)-DOUT(n), and the two ends DIN(1) and DOUT(n) of the series data line network are connected with the MCU, and the MCU transmits the GRB color-changing information and the magnetic shaft switch information to the MCU through the series data line network DIN(1)-DOUT(n);

[0031] The series single-bus serial communication circuit is used for processing the series data line network information;

[0032] The GRB color-changing information and the magnetic shaft switch information are transmitted on the series data line network DIN(1)-DOUT(n);

[0033] The series data line network transmits the GRB color-changing information and the magnetic shaft switch information by using the serial single-bus communication protocol.

[0034] A PCB capable of directly installing magnetic shafts, the PCB is provided with a plurality of slot holes, the PCB is fixed with the magnetic shafts through the slot holes, and one magnetic color-changing chip is arranged corresponding to each magnetic shaft;

[0035] The magnetic color-changing chip contains a GRB lamp bead, and integrates a magnetic induction circuit, a GRB color-changing driving circuit, a parallel single-bus serial communication circuit and an address code memory, and includes a power supply pin, a grounding pin and a parallel data line pin; the power supply pin is used for supplying power to the magnetic color-changing chip, and the grounding pin is used for signal grounding and power grounding;

[0036] The parallel data line pins are connected together to form a parallel data line network DIO, and then connected to the MCU; the address code of the magnetic color-changing chip is written into the address code memory through an external tool and used as a communication address code;

[0037] The parallel single-bus serial communication circuit is used for processing the parallel data line network information;

[0038] The GRB color-changing information and the magnetic shaft switch information are transmitted on the parallel data line network DIO;

[0039] The parallel data line network transmits the GRB color-changing information and the magnetic shaft switch information by using the serial single-bus communication protocol.

[0040] A PCB capable of directly installing magnetic shafts, the PCB is provided with a plurality of slot holes, the PCB is fixed with the magnetic shafts through the slot holes, and one magnetic color-changing chip is arranged corresponding to each magnetic shaft;

[0041] The magnetic color-changing chip contains a GRB lamp bead, and integrates a magnetic induction circuit, a GRB color-changing driving circuit, a parallel single-bus serial communication circuit and an address code memory, and includes a power supply pin, a grounding pin and a parallel data line pin; the power supply pin is used for supplying power to the magnetic color-changing chip, and the grounding pin is used for signal grounding and power grounding;

[0042] The magnetic carrier color chip address code is written into the address code memory through the external tool and used as the communication address code; the data information is modulated on the power network VCC and transmitted to the MCU through the power carrier, and the power network VCC is the parallel carrier data line network VCC (DIO);

[0043] The parallel single bus serial communication circuit is used for processing the parallel carrier data line network information.

[0044] The GRB color information and the magnetic shaft switch information are transmitted on the parallel carrier data line network VCC (DIO).

[0045] The parallel carrier data line network uses the serial single bus communication protocol to transmit the GRB color information and the magnetic shaft switch information.

[0046] A PCB capable of directly installing magnetic shafts, the PCB is provided with a plurality of slot holes, the PCB is fixed with the magnetic shafts through the slot holes, and one magnetic full color chip is arranged corresponding to each magnetic shaft.

[0047] The magnetic full color chip contains a GRB lamp bead, and integrates a magnetic induction circuit, a GRB color driving circuit, an address code memory and a serial-parallel single bus serial communication circuit, and includes a power supply pin, a grounding pin, an address code input pin and an address code output pin; the power supply pin is used for supplying power and transmitting information to the magnetic full color chip, and the grounding pin is used for signal grounding and power grounding.

[0048] The address code input pin and the address code output pin of the n magnetic full color chips are connected in series, forming a serial data line network DIN (1)-DOUT (n), and the two ends DIN (1) and DOUT (n) of the serial data line network are connected with the MCU, the MCU writes the sequence position of the magnetic full color chips connected in series into the address code memory through the serial data line network DIN (1)-DOUT (n) and uses it as the communication address code; the power supply pins of the n magnetic full color chips are connected in parallel to share the power network VCC, and the grounding pins are connected in parallel to share the ground network GND, the data information is modulated on the power network VCC and transmitted to the MCU through the power carrier, and the power network VCC is the parallel carrier data line network VCC (DIO).

[0049] The serial-parallel single bus serial communication circuit is used for processing the serial data line network information and the parallel carrier data line network information.

[0050] The GRB color information and the magnetic shaft switch information can be transmitted on the parallel carrier data line network VCC (DIO).

[0051] The GRB color information and the magnetic shaft switch information can also be transmitted on the serial data line network DIN (1)-DOUT (n).

[0052] The parallel carrier data line network and the serial data line network both adopt serial single bus communication protocol to transmit GRB fantasy color information and magnetic shaft switch information, and are hot backups for each other.

[0053] Another object of the present application is achieved by the following technical solutions:

[0054] A magnetic shaft, the shaft body of the magnetic shaft is provided with a buckle, and the magnetic shaft can be repeatedly plugged into the PCB.

[0055] Another object of the present application is achieved by the following technical solutions:

[0056] A keyboard comprising the PCB and the magnetic shaft which can be repeatedly plugged into the PCB.

[0057] Compared with the prior art, the present application has the following advantages and beneficial effects:

[0058] 1. The present application eliminates the need for a special shaft body fixing plate, further reducing material costs and assembly costs.

[0059] 2. The present application also reduces the height of the keyboard, making the keyboard more ergonomic for anyone.

[0060] 3. The present application uses a magnetic full-color chip, or a magnetic full-outer color chip, or a magnetic full-device chip, or a magnetic fantasy color chip, or a magnetic convergence color chip, or a magnetic load color chip, or a magnetic full-load color chip to form a simple overall circuit, and the PCB can be made into a single-sided PCB, improving reliability and reducing costs.

[0061] 4. The present application uses a magnetic full-color chip, a magnetic full-outer color chip, a magnetic full-device chip, a magnetic fantasy color chip, a magnetic convergence color chip, a magnetic load color chip, and a magnetic full-load color chip to form a simple overall circuit, and the MCU with USB function can complete the communication between the keyboard and the computer with only 6PIN, further reducing costs.

[0062] 5. The present application uses a magnetic full-color chip, a magnetic full-outer color chip, a magnetic full-device chip, a magnetic fantasy color chip, a magnetic convergence color chip, a magnetic load color chip, and a magnetic full-load color chip to form a simple overall circuit, and the MCU with USB function can be externally connected to the wire end, so that the heart of the entire keyboard is not easily contaminated by external liquid dust, the MCU has good reliability, and the keyboard has further enhanced reliability and stability.

[0063] 6. The present application uses a magnetic full-color chip, a magnetic full-outer color chip, a magnetic full-device chip, and a magnetic full-load color chip as a serial-parallel serial communication circuit, and the serial-parallel connection is a hot backup, which is not a simple repeated double-serial hot backup, nor a simple double-parallel hot backup. The serial-parallel hot backup has stronger complementarity, better hot backup effect, and more stable performance.

[0064] 7. The present invention uses a magnetic full-color chip, a magnetic external color chip, a magnetic device chip, and a magnetic full-carrying color chip. The coding can be completed by the serial data network formed by the cascading of the chips themselves. It does not require any external fixtures. The process is simple, improves reliability and stability, and reduces manufacturing costs.

[0065] 8. This invention omits the dedicated insert plate, thus having a natural advantage in making ultra-thin keyboards; furthermore, the magnetic switch can be made into an ultra-thin switch, further reducing the thickness of the ultra-thin keyboard and making it an ultra-thin keyboard.

[0066] 9. In order to minimize power consumption, the control signal interface pin of this invention operates in a time-division multiplexing manner: when the button is being detected, it is an input port (INPUT); when the button is not being detected, the control signal interface pin is an output port (OUTPUT), which can output a low level, and the button is in a zero power consumption state.

[0067] 10. Magnetic full-color chip, magnetic external color chip, magnetic magic color chip, magnetic convergence color chip, magnetic carrier color chip, and magnetic full carrier color chip all come with built-in GRB LEDs as keycap indicators, making them easier to use and reducing the PCB space occupied by the components. Attached Figure Description

[0068] Figure 1 This is a functional schematic diagram of the magnetic full-color chip described in Example 1.

[0069] Figure 2 This is a functional schematic diagram of the magnetic full-color chip described in Example 2.

[0070] Figure 3 This is a functional schematic diagram of the magnetic oscillator chip described in Example 3.

[0071] Figure 4 This is a functional schematic diagram of the magnetic color chip described in Example 4.

[0072] Figure 5 This is a functional schematic diagram of the magnetic color chip described in Example 5.

[0073] Figure 6 This is a functional schematic diagram of the magnetic color chip described in Example 6.

[0074] Figure 7 This is a functional schematic diagram of the magnetic full-color chip described in Example 7.

[0075] Figure 8 This is a timing diagram of address code transmission in Example 1.

[0076] Figure 9 This is a schematic diagram of the address code composition in Example 1.

[0077] Figure 10This is a schematic diagram of the composition of the magnetic shaft switch information code transmitted on the serial data line network DIN(1)-DOUT(n) in Example 1.

[0078] Figure 11 This is the encoding function diagram for Example 1.

[0079] Figure 12 This is an exploded view of the magnetic shaft described in this invention.

[0080] Figure 13 This is a schematic diagram of the overall structure of the magnetic shaft described in this invention.

[0081] Figure 14 This is a schematic diagram of the PCB and magnetic shaft mounting structure described in this invention.

[0082] Figure 15 This is a schematic diagram of the PCB structure described in this invention.

[0083] Figure 16 This is a partial structural diagram of a PCB containing only one magnetic full-color chip in Embodiment 7 of the present invention.

[0084] The meanings of the reference numerals in the attached figures are as follows:

[0085] 1-Slot, 2-Through hole, 3-Magnetic full-color chip, 4-Magnet, 5-Snap fastener. Detailed Implementation

[0086] The present invention will be further described in detail below with reference to the embodiments and accompanying drawings, but the embodiments of the present invention are not limited thereto.

[0087] Example 1

[0088] A PCB that can directly mount magnetic shafts has several slots on it. The PCB is fixed to the magnetic shaft through the slots, and each magnetic shaft is equipped with a corresponding magnetic full-color chip.

[0089] like Figure 1 The magnetic full-color chip contains GRB LED beads and integrates a magnetic induction circuit, a GRB color driving circuit, an address code memory, and a serial communication circuit with a single bus in series and parallel connection. It includes a power supply pin, a grounding pin, a parallel data line pin, an address code input pin, and an address code output pin. The power supply pin is used to supply power to the magnetic full-color chip, and the grounding pin is used for signal grounding and power grounding.

[0090] The address code input pin and the address code output pin of the n magnetic full-color chips are cascaded in front and back, forming a serial data line network DIN(1)-DOUT(n), the two ends DIN(1) and DOUT(n) of the serial data line network are connected with the MCU, the MCU writes the serial position formed by the cascaded magnetic full-color chips into the address code memory through the serial data line network DIN(1)-DOUT(n), and the serial position is used as a communication address code; the power supply pins of the n magnetic full-color chips are connected in parallel to share a power supply network VCC, the ground pins are connected in parallel to share a ground network GND, and the parallel data line pins are connected in parallel to form a parallel data line network DIO, and then connected to the MCU;

[0091] The serial-parallel single bus serial communication circuit is used for processing serial data line network information and parallel data line network information;

[0092] The GRB color-changing information and the magnetic shaft switch information can be transmitted on the parallel data line network DIO;

[0093] The GRB color-changing information and the magnetic shaft switch information can also be transmitted on the serial data line network DIN(1)-DOUT(n);

[0094] The serial data line network and the parallel data line network both adopt a serial single bus communication protocol to transmit the GRB color-changing information and the magnetic shaft switch information, and are hot standby for each other.

[0095] The serial data line network and the parallel data line network simultaneously transmit data information, in actual application, the GRB color-changing information is transmitted on the serial data line network, and the magnetic shaft switch information is transmitted on the parallel data line network, so as to improve the scanning frequency of the magnetic induction key and the scanning frequency of the GRB lamp bead, so as to seek the highest stability and reliability, and only in the extreme case that one side fails, the data communication network is switched intelligently and instantaneously.

[0096] There are many forms of specific transmission protocols of data information on the parallel data line network DIO, the Chinese invention patent with the publication number CN120049875B “magnetic induction integrated circuit chip with address code, key and magnetic induction keyboard” gives many different self-defined code transmission modes and working modes, for those skilled in the art, the transmission mode is clear and implementable, and will not be repeated here.

[0097] As Figure 8 , ADD1 is the first magnetic full-color chip, ADD2 is the second magnetic full-color chip, and ADD3 is the third magnetic full-color chip; ADD means ADDRESS (address). The data structure of the first magnetic full-color chip 16 bits data + the second magnetic full-color chip 16 bits data + the third magnetic full-color chip 16 bits data + … + the n-th magnetic full-color chip 16 bits data + Trst;

[0098] As Figure 9 , high in front, low in the back, 16 bits of data before 6 bit address command code "A5, A4, A3, A2, A1, A0", followed by 10 bit address code "D9, D8, D7, D6, D5, D4, D3, D2, D1, D0", a total of 10 bits, a total of 1024 address code. =1024 address code.

[0099] As Figure 8 , the first magnetic full-color chip receives n 16 bits of data, the first address code is reserved to the first magnetic full-color chip address code memory, the second 16 bits of data to the n 16 bits of data are transmitted to the second magnetic full-color chip;

[0100] The second magnetic full-color chip receives n-1 16 bits of data, the original second address code is reserved to the second magnetic full-color chip address code memory, the third 16 bits of data to the n 16 bits of data are transmitted to the third magnetic full-color chip;

[0101] The third magnetic full-color chip receives n-2 16 bits of data, the third address code is reserved to the third magnetic full-color chip address code memory, the fourth 16 bits of data to the n 16 bits of data are transmitted to the fourth magnetic full-color chip;

[0102] The n magnetic full-color chip receives 1 16 bits of data, the n address code is reserved to the n magnetic full-color chip address code memory.

[0103] When the parallel data line network fails, the magnetic shaft switch information is converted to transmit on the series data line network, at this time the series data line network works as the backup data line of the parallel data line network, and its transmission process is as follows:

[0104] Define the magnetic shaft switch information code to include the key command code and the key state code;

[0105] When the first magnetic full-color chip receives the magnetic shaft switch information code, the second bit of the key command code is received at the same time, and the first bit of the key command code is transmitted to the second magnetic full-color chip;

[0106] When the second magnetic full-color chip receives the second bit of the key command code, the first bit of the key command code is transmitted to the third magnetic full-color chip at the same time;

[0107] When the third magnetic full-color chip receives the second bit of the key command code, the first bit of the key command code is transmitted to the fourth magnetic full-color chip at the same time;

[0108]

[0109] When the n-th magnetic full-color chip receives the second bit of the key command code, the first bit of the key command code is sent to the MCU through the address code output pin DOUT(n).

[0110] Specifically, as Figure 10 , the magnetic shaft switch information code takes 1024 as an example, and "M5, M4, M3, M2, M1, M0" are read key command codes, wherein M1 and M0 are definitions of the total number of keys, and are self-defined as follows:

[0111] M1=0, M0=0 represents 128 keys, and represents that there are 128 bit after reading the key command code;

[0112] M1=0, M0=1 represents 256 keys, and represents that there are 256 bit after reading the key command code;

[0113] M1=1, M0=0 represents 512 keys, and represents that there are 512 bit after reading the key command code;

[0114] M1=1, M0=1 represents 1024 keys, and represents that there are 1024 bit after reading the key command code;

[0115] The first magnetic full-color chip will receive 1030 bit magnetic shaft switch information in turn;

[0116] The second magnetic full-color chip will receive 1030 bit magnetic shaft switch information in turn;

[0117] The third magnetic full-color chip will receive 1030 bit magnetic shaft switch information in turn;

[0118] The n-th magnetic full-color chip will receive 1030 bit magnetic shaft switch information in turn;

[0119] In order to save time, when the first magnetic full-color chip receives M4 bit, M5 bit is sent to the second magnetic full-color chip at the same time;

[0120] When the second magnetic full-color chip receives M4 bit, M5 bit is sent to the third magnetic full-color chip at the same time;

[0121] When the third magnetic full-color chip receives M4 bit, M5 bit is sent to the fourth magnetic full-color chip at the same time;

[0122] When the n-th magnetic full-color chip receives M4 bit, M5 bit is sent to the MCU through the address code output pin DOUT(n).

[0123] G1023……G2, G1, G0 initial value is 1024 "1" of 0 code.

[0124] As Figure 11 :

[0125] 0 code indicates that the magnetic axis is triggered and occupies the order of the placeholder;

[0126] 0# indicates that the magnetic axis is not triggered, but has a placeholder order, i.e. placeholder 0 code;

[0127] 1 code indicates the initial code, indicating that the magnetic axis is not triggered and does not occupy the placeholder;

[0128] When the first magnetic full-color chip is not triggered by the corresponding magnetic axis, the bit of G1023 must be set to placeholder 1#, i.e. placeholder 1 code, indicating that the magnetic axis is not triggered, but has a placeholder order.

[0129] When the second magnetic full-color chip is triggered by the corresponding magnetic axis, it is first detected that the bit of G1023 is 0#, and the bit of G1022 is still the initial code 1 code. Therefore, the second magnetic full-color chip can only occupy the bit order of G1022. At this time, the second magnetic full-color chip is triggered by the corresponding magnetic axis, and the bit of G1022 must be set to 0 code. G1022 as 0 code indicates that the button has been triggered and has a placeholder order.

[0130] When the third magnetic full-color chip is triggered by the corresponding magnetic axis, it is first detected that the bit of G1023 is 1#, which is not triggered by the placeholder; the bit of G1022 is 0 code, which is triggered by the placeholder. Therefore, the third magnetic full-color chip can only occupy the bit order of G1021. At this time, the third magnetic full-color chip is triggered by the corresponding magnetic axis, and the bit of G1021 must be set to 0 code. G1021 as 0 code indicates that the button has been triggered and has a placeholder order.

[0131] By analogy, until the nth magnetic full-color chip.

[0132] The series data line network is a backup data line of the parallel data line network for transmitting magnetic axis switch information. The authorized publication number CN117270701B of the Chinese invention "A magnetic induction integrated circuit chip with data line, button and magnetic induction keyboard" transmits button information through placeholder information, which is essentially different and more time-saving.

[0133] The magnetic full-color chip contains GRB lamp beads, and is packaged in a light-transmitting LED type package; the GRB color information includes GRB lamp bead color information, light gray information, and light current size information.

[0134] The magnetic axis switch information includes magnetic induction polarity setting, Bop value setting, and Brp value setting.

[0135] Embodiment 2

[0136] A PCB capable of directly installing magnetic shafts, the PCB is provided with a plurality of slot holes, the PCB is fixed with the magnetic shafts through the slot holes, and one magnetic full-color chip is arranged corresponding to each magnetic shaft;

[0137] As Figure 2 , the magnetic full-color chip is used for driving external LED lamp beads, integrates a magnetic induction circuit, a GRB color-changing driving circuit, an address code memory, a serial-parallel single bus serial communication circuit, and includes a power supply pin, a grounding pin, a parallel data line pin, an address code input pin, an address code output pin, a G pin, an R pin, and a B pin; the power supply pin is used for supplying power to the magnetic full-color chip, and the grounding pin is used for signal grounding and power grounding; the G pin, the R pin, and the B pin are respectively connected with external green LED lamps, red LED lamps, and blue LED lamps;

[0138] The address code input pin and the address code output pin of the n magnetic full-color chips are cascaded in front and back, forming a serial data line network DIN(1)-DOUT(n), and the two ends DIN(1) and DOUT(n) of the serial data line network are respectively connected with an MCU; the MCU writes the sequence position formed by the cascaded magnetic full-color chips into the address code memory and uses it as a communication address code through the serial data line network DIN(1)-DOUT(n); the power supply pins of the n magnetic full-color chips are connected in parallel to share a power supply network VCC, the grounding pins are connected in parallel to share a ground network GND, and the parallel data line pins are connected in parallel to form a parallel data line network DIO and then connected to the MCU;

[0139] The serial-parallel single bus serial communication circuit is used for processing serial data line network information and parallel data line network information;

[0140] GRB color-changing information and magnetic shaft switch information can be transmitted on the parallel data line network DIO;

[0141] GRB color-changing information and magnetic shaft switch information can also be transmitted on the serial data line network DIN(1)-DOUT(n);

[0142] The parallel data line network and the serial data line network both use a serial single bus communication protocol to transmit GRB color-changing information and magnetic shaft switch information, and are hot backups for each other.

[0143] Embodiment 3

[0144] A PCB capable of directly installing magnetic shafts, the PCB is provided with a plurality of slot holes, the PCB is fixed with the magnetic shafts through the slot holes, and one magnetic full-color chip is arranged corresponding to each magnetic shaft;

[0145] As Figure 3The magnetic converter chip integrates a magnetic induction circuit, an address code memory, and a serial-parallel single-bus serial communication circuit, including a power supply pin, a ground pin, a parallel data line pin, an address code input pin, and an address code output pin; the power supply pin is used to power the magnetic converter chip, and the ground pin is used for signal grounding and power grounding;

[0146] The address code input pins and address code output pins of n magnetic oscillator chips are cascaded to form a series data line network DIN(1)-DOUT(n). The two ends of the series data line network DIN(1) and DOUT(n) are connected to the MCU respectively. The MCU writes the sequence bit formed by the cascaded magnetic oscillator chips into the address code memory through the series data line network DIN(1)-DOUT(n) and uses it as the communication address code. The power supply pins of the n magnetic oscillator chips are connected in parallel to share the power supply network VCC, the ground pins are connected in parallel to share the ground network GND, and the parallel data line pins are connected in parallel to form a parallel data line network DIO, which is then connected to the MCU.

[0147] Serial-parallel single-bus serial communication circuits are used to process serial data line network information and parallel data line network information.

[0148] Information from the magnetic shaft switch can be transmitted on the parallel data line network (DIO).

[0149] Information from the magnetic shaft switch can also be transmitted on the serial data line network DIN(1)-DOUT(n);

[0150] Both the parallel data line network and the series data line network use a serial single-bus communication protocol to transmit magnetic shaft switch information and serve as hot backups for each other.

[0151] Example 4

[0152] A PCB that can directly mount magnetic shafts has several slots on it. The PCB is fixed to the magnetic shaft through the slots, and each magnetic shaft is equipped with a corresponding magnetic color chip.

[0153] like Figure 4 The magnetic color chip contains GRB LED beads and integrates a magnetic induction circuit, a GRB color driving circuit, and a series single-bus serial communication circuit, including a power supply pin, a grounding pin, a series signal input pin, and a series signal output pin; the power supply pin is used to power the magnetic color chip, and the grounding pin is used for signal grounding and power grounding;

[0154] The serial signal input pins and serial signal output pins of n magnetic color chips are cascaded to form a serial data line network DIN(1)-DOUT(n). The two ends of the serial data line network DIN(1) and DOUT(n) are connected to the MCU respectively. The MCU transmits the GRB color information and magnetic shaft switch information to the MCU through the serial data line network DIN(1)-DOUT(n).

[0155] A serial single-bus serial communication circuit is used to process information from a serial data line network.

[0156] GRB RGB information and magnetic shaft switch information are transmitted on the serial data line network DIN(1)-DOUT(n);

[0157] The serial data line network uses a serial single-bus communication protocol to transmit GRB holographic information and magnetic shaft switch information.

[0158] Example 5

[0159] A PCB that can directly mount magnetic shafts has several slots on it. The PCB is fixed to the magnetic shaft through the slots, and each magnetic shaft is equipped with a corresponding magnetic chip.

[0160] like Figure 5 The magnetic color chip contains GRB LED beads and integrates a magnetic induction circuit, a GRB color driving circuit, a parallel single-bus serial communication circuit, and an address code memory. It includes a power supply pin, a grounding pin, and a parallel data line pin. The power supply pin is used to supply power to the magnetic color chip, and the grounding pin is used for signal grounding and power grounding.

[0161] The parallel data lines are connected together to form a parallel data line network (DIO), which is then connected to the MCU. The address code of the Magnetchip chip is written into the address code memory through an external fixture and used as the communication address code.

[0162] Parallel single-bus serial communication circuits are used to process information from parallel data line networks;

[0163] GRB RGB information and magnetic shaft switch information are transmitted on the parallel data line network DIO;

[0164] The parallel data line network uses a serial single-bus communication protocol to transmit GRB holographic information and magnetic shaft switch information.

[0165] Example 6

[0166] A PCB that can directly mount magnetic shafts has several slots on it. The PCB is fixed to the magnetic shaft through the slots, and each magnetic shaft is equipped with a corresponding magnetic carrier chip.

[0167] like Figure 6 The magnetic color chip contains GRB LED beads and integrates a magnetic induction circuit, a GRB color driving circuit, a parallel single-bus serial communication circuit, and an address code memory. It includes a power supply pin and a grounding pin. The power supply pin is used to supply power to the magnetic color chip and transmit information, while the grounding pin is used for signal grounding and power grounding.

[0168] The magnetic carrier chip address code is written into the address code memory through an external fixture and used as the communication address code; the data information is modulated on the power network VCC and transmitted to the MCU via power line carrier. The power network VCC is the parallel carrier data line network VCC (DIO).

[0169] Parallel single-bus serial communication circuits are used to process information from parallel carrier data line networks;

[0170] GRB holographic information and magnetic shaft switch information are transmitted on the parallel carrier data line network VCC (DIO);

[0171] The parallel carrier data line network uses a serial single-bus communication protocol to transmit GRB holographic information and magnetic shaft switch information.

[0172] Example 7

[0173] A PCB that can directly mount magnetic shafts has several slots on it. The PCB is fixed to the magnetic shaft through the slots, and each magnetic shaft is equipped with a magnetic full-color chip.

[0174] like Figure 7 The magnetic full-color chip contains GRB LED beads and integrates a magnetic induction circuit, a GRB color driving circuit, an address code memory, and a serial communication circuit with a single bus. It includes a power supply pin, a grounding pin, an address code input pin, and an address code output pin. The power supply pin is used to power the magnetic full-color chip and transmit information, while the grounding pin is used for signal grounding and power grounding.

[0175] The address code input pins and address code output pins of n magnetic full-color chips are cascaded to form a series data line network DIN(1)-DOUT(n). The two ends of the series data line network DIN(1) and DOUT(n) are connected to the MCU respectively. The MCU writes the sequence bit formed by the cascaded magnetic full-color chips into the address code memory through the series data line network DIN(1)-DOUT(n) and uses it as the communication address code. The power supply pins of the n magnetic full-color chips are connected in parallel to share the power supply network VCC, and the ground pins are connected in parallel to share the ground network GND. The data information is modulated on the power supply network VCC and transmitted to the MCU via power line carrier. The power supply network VCC is the parallel carrier data line network VCC(DIO).

[0176] Serial-parallel single-bus serial communication circuits are used to process serial data line network information and parallel carrier data line network information.

[0177] GRB holographic information and magnetic shaft switch information can be transmitted on the parallel carrier data line network VCC (DIO);

[0178] GRB RGB information and magnetic shaft switch information can also be transmitted on the serial data line network DIN(1)-DOUT(n);

[0179] Both the parallel carrier data line network and the serial data line network use the serial single-bus communication protocol to transmit GRB holographic information and magnetic shaft switch information, and are hot-standby for each other.

[0180] like Figures 14 to 16 In Example 7, the PCB is provided with a plurality of slots 1 and through holes 2. The magnetic shaft is inserted into the PCB through the through hole 2 and fixed to the PCB through the slot 1. Each magnetic shaft is provided with a magnetic full-color chip 3.

[0181] like Figure 12 and Figure 13 A magnetic shaft includes a top cover, a handle, a magnet 4, a drive spring, and a base. The shaft body of the magnetic shaft is provided with a buckle 5, which is fixed to a slot 1 on the PCB, and the magnetic shaft can be repeatedly inserted and removed from the PCB. When the magnetic shaft is pressed down, the magnet 4 moves downward. When the magnet 4 passes through the horizontal induction critical surface of the magnetic pole of the magnetic full-color chip 3, the magnetic shaft is turned on and sends magnetic shaft switch information to the magnetic full-color chip 3.

[0182] A keyboard includes the aforementioned PCB and a magnetic shaft corresponding to the PCB and capable of being repeatedly plugged into and removed from the PCB.

[0183] The PCB described in Examples 1 to 6, and the keyboard that can be obtained according to Examples 1 to 6, differ from Example 7 in that the chip corresponding to each magnetic axis is different, while the rest are the same.

[0184] In Examples 1 to 7, it should be noted that in the same electrical system, all networks with the same name (such as VCC, GND, DIO, DIN, DOUT) are electrically connected. Furthermore, VCC and VCC(DIO) are essentially the same electrical network.

[0185] The above embodiments are preferred embodiments of the present invention, but the embodiments of the present invention are not limited to the above embodiments. Any changes, modifications, substitutions, combinations, or simplifications made without departing from the spirit and principle of the present invention shall be considered equivalent substitutions and shall be included within the protection scope of the present invention.

Claims

1. A PCB capable of directly mounting a magnetic shaft, characterized in that, The PCB has several slots, and the PCB is fixed to the magnetic shaft through the slots. Each magnetic shaft is equipped with a corresponding magnetic full-color chip. The magnetic full-color chip contains GRB LED beads and integrates a magnetic induction circuit, a GRB color driving circuit, an address code memory, and a serial-parallel single-bus serial communication circuit, including a power supply pin, a ground pin, a parallel data line pin, an address code input pin, and an address code output pin. The power pin is used to power the magnetic full-color chip, and the ground pin is used for signal grounding and power grounding. The address code input pins and address code output pins of n magnetic full-color chips are cascaded to form a series data line network DIN(1)-DOUT(n). The two ends of the series data line network DIN(1) and DOUT(n) are connected to the MCU respectively. The MCU writes the sequence number formed by the cascaded magnetic full-color chips into the address code memory through the series data line network DIN(1)-DOUT(n) and uses it as the communication address code. The power supply pins of the n magnetic full-color chips are connected in parallel to share the power supply network VCC, the ground pins are connected in parallel to share the ground network GND, and the parallel data line pins are connected in parallel to form a parallel data line network DIO, which is then connected to the MCU. Serial-parallel single-bus serial communication circuits are used to process serial data line network information and parallel data line network information. GRB RGB information and magnetic shaft switch information can be transmitted on the parallel data line network DIO; GRB RGB information and magnetic shaft switch information can also be transmitted on the serial data line network DIN(1)-DOUT(n); Both the parallel data line network and the series data line network use the serial single-bus communication protocol to transmit GRB RGB information and magnetic shaft switch information, and are hot-standby for each other.

2. A PCB capable of directly mounting a magnetic shaft, characterized in that, The PCB has several slots, and the PCB is fixed to the magnetic shaft through the slots. Each magnetic shaft is equipped with a corresponding magnetic full-color chip. The magnetic full-color chip is used to drive external LED beads. It integrates a magnetic induction circuit, a GRB color driving circuit, an address code memory, and a serial communication circuit with a single bus. It includes a power supply pin, a ground pin, a parallel data line pin, an address code input pin, an address code output pin, a G pin, an R pin, and a B pin. The power supply pin is used to power the magnetic full-color chip, and the ground pin is used for signal grounding and power grounding. The G pin, R pin, and B pin are connected to the external green LED, red LED, and blue LED, respectively. The address code input pins and address code output pins of n magnetic full-color chips are cascaded to form a series data line network DIN(1)-DOUT(n). The two ends of the series data line network DIN(1) and DOUT(n) are connected to the MCU respectively. The MCU writes the sequence number formed by the cascaded magnetic full-color chips into the address code memory through the series data line network DIN(1)-DOUT(n) and uses it as the communication address code. The power supply pins of the n magnetic full-color chips are connected in parallel to share the power supply network VCC, the ground pins are connected in parallel to share the ground network GND, and the parallel data line pins are connected in parallel to form a parallel data line network DIO, which is then connected to the MCU. Serial-parallel single-bus serial communication circuits are used to process serial data line network information and parallel data line network information. GRB RGB information and magnetic shaft switch information can be transmitted on the parallel data line network DIO; GRB RGB information and magnetic shaft switch information can also be transmitted on the serial data line network DIN(1)-DOUT(n); Both the parallel data line network and the series data line network use the serial single-bus communication protocol to transmit GRB RGB information and magnetic shaft switch information, and are hot-standby for each other.

3. A PCB capable of directly mounting a magnetic shaft, characterized in that, The PCB has several slots, and the PCB is fixed to the magnetic shaft through the slots. Each magnetic shaft is equipped with a corresponding magnetic oscillator chip. The magnetic sensor chip integrates a magnetic induction circuit, an address code memory, and a serial-parallel single-bus serial communication circuit, including a power supply pin, a ground pin, a parallel data line pin, an address code input pin, and an address code output pin. The power pin is used to supply power to the magnet chip, and the ground pin is used for signal grounding and power grounding. The address code input pins and address code output pins of n magnetic oscillator chips are cascaded to form a series data line network DIN(1)-DOUT(n). The two ends of the series data line network DIN(1) and DOUT(n) are connected to the MCU respectively. The MCU writes the sequence bit formed by the cascaded magnetic oscillator chips into the address code memory through the series data line network DIN(1)-DOUT(n) and uses it as the communication address code. The power supply pins of the n magnetic oscillator chips are connected in parallel to share the power supply network VCC, the ground pins are connected in parallel to share the ground network GND, and the parallel data line pins are connected in parallel to form a parallel data line network DIO, which is then connected to the MCU. Serial-parallel single-bus serial communication circuits are used to process serial data line network information and parallel data line network information. Information from the magnetic shaft switch can be transmitted on the parallel data line network (DIO). Information from the magnetic shaft switch can also be transmitted on the serial data line network DIN(1)-DOUT(n); Both the parallel data line network and the series data line network use a serial single-bus communication protocol to transmit magnetic shaft switch information and serve as hot backups for each other.

4. A PCB capable of directly mounting a magnetic shaft, characterized in that, The PCB has several slots, and the PCB is fixed to the magnetic shaft through the slots. Each magnetic shaft is equipped with a corresponding magnetic color chip. The magnetic color chip contains GRB LED beads and integrates a magnetic induction circuit, a GRB color driving circuit, and a series single-bus serial communication circuit, including a power supply pin, a ground pin, a series signal input pin, and a series signal output pin; the power supply pin is used to power the magnetic color chip, and the ground pin is used for signal grounding and power grounding; The serial signal input pins and serial signal output pins of n magnetic color chips are cascaded to form a serial data line network DIN(1)-DOUT(n). The two ends of the serial data line network DIN(1) and DOUT(n) are connected to the MCU respectively. The MCU transmits the GRB color information and magnetic shaft switch information to the MCU through the serial data line network DIN(1)-DOUT(n). A serial single-bus serial communication circuit is used to process information from a serial data line network. GRB RGB information and magnetic shaft switch information are transmitted on the serial data line network DIN(1)-DOUT(n); The serial data line network uses a serial single-bus communication protocol to transmit GRB holographic information and magnetic shaft switch information.

5. A PCB capable of directly mounting a magnetic shaft, characterized in that, The PCB has several slots, and the PCB is fixed to the magnetic shaft through the slots. Each magnetic shaft is equipped with a corresponding magnetic color chip. The magnetic color chip contains GRB LED beads and integrates a magnetic induction circuit, a GRB color driving circuit, a parallel single-bus serial communication circuit, and an address code memory. It includes a power supply pin, a grounding pin, and a parallel data line pin. The power supply pin is used to power the magnetic color chip, and the grounding pin is used for signal grounding and power grounding. The parallel data lines are connected together to form a parallel data line network (DIO), which is then connected to the MCU. The address code of the Magnetchip chip is written into the address code memory through an external fixture and used as the communication address code. Parallel single-bus serial communication circuits are used to process information from parallel data line networks; GRB RGB information and magnetic shaft switch information are transmitted on the parallel data line network DIO; The parallel data line network uses a serial single-bus communication protocol to transmit GRB holographic information and magnetic shaft switch information.

6. A PCB capable of directly mounting a magnetic shaft, characterized in that, The PCB has several slots, and the PCB is fixed to the magnetic shaft through the slots. Each magnetic shaft is equipped with a magnetic color chip. The magnetic color-carrying chip contains GRB LED beads and integrates a magnetic induction circuit, a GRB color-carrying drive circuit, a parallel single-bus serial communication circuit, and an address code memory. It includes a power supply pin and a grounding pin. The power supply pin is used to supply power to the magnetic color-carrying chip and transmit information, while the grounding pin is used for signal grounding and power grounding. The magnetic carrier chip address code is written into the address code memory through an external fixture and used as the communication address code; the data information is modulated on the power network VCC and transmitted to the MCU via power line carrier. The power network VCC is the parallel carrier data line network VCC (DIO). Parallel single-bus serial communication circuits are used to process information from parallel carrier data line networks; GRB holographic information and magnetic shaft switch information are transmitted on the parallel carrier data line network VCC (DIO); The parallel carrier data line network uses a serial single-bus communication protocol to transmit GRB holographic information and magnetic shaft switch information.

7. A PCB capable of directly mounting a magnetic shaft, characterized in that, The PCB has several slots, and the PCB is fixed to the magnetic shaft through the slots. Each magnetic shaft is equipped with a magnetic full-color chip. The magnetic full-color chip contains GRB LED beads and integrates a magnetic induction circuit, a GRB color driving circuit, an address code memory, and a serial communication circuit with a single bus, including a power supply pin, a ground pin, an address code input pin, and an address code output pin. The power pin is used to supply power to the magnetic full-load color chip and transmit information, while the ground pin is used for signal grounding and power grounding. The address code input pins and address code output pins of n magnetic full-color chips are cascaded to form a series data line network DIN(1)-DOUT(n). The two ends of the series data line network DIN(1) and DOUT(n) are connected to the MCU respectively. The MCU writes the sequence bit formed by the cascaded magnetic full-color chips into the address code memory through the series data line network DIN(1)-DOUT(n) and uses it as the communication address code. The power supply pins of the n magnetic full-color chips are connected in parallel to share the power supply network VCC, and the ground pins are connected in parallel to share the ground network GND. The data information is modulated on the power supply network VCC and transmitted to the MCU via power line carrier. The power supply network VCC is the parallel carrier data line network VCC(DIO). Serial-parallel single-bus serial communication circuits are used to process serial data line network information and parallel carrier data line network information. GRB holographic information and magnetic shaft switch information can be transmitted on the parallel carrier data line network VCC (DIO); GRB RGB information and magnetic shaft switch information can also be transmitted on the serial data line network DIN(1)-DOUT(n); Both the parallel carrier data line network and the serial data line network use the serial single-bus communication protocol to transmit GRB holographic information and magnetic shaft switch information, and are hot-standby for each other.

8. A magnetic shaft, characterized in that, The magnetic shaft is provided with a snap fastener to be fixed to a slot on the PCB as described in any one of claims 1 to 7, and the magnetic shaft can be repeatedly inserted and removed from the PCB.

9. A keyboard, characterized in that, It includes the PCB as described in any one of claims 1 to 7, and a magnetic shaft corresponding to the PCB and capable of being repeatedly inserted and removed from the PCB.

Citation Information

Patent Citations

  • Integrated circuit chip, key and mechanical keyboard with data line

    CN117270701B

  • Integrated circuit chip, key and mechanical keyboard with address code

    CN120049875B