An absolute vector counting magnetic induction encoder
By designing an absolute vector counting magnetic induction encoder, the problem of low accuracy of incremental magnetic encoders is solved, achieving high-precision positioning and system redundancy, expanding the application range, and simplifying the maintenance process.
Patent Information
- Application Number
- CN202620078394.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2026-01-21
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2036-01-21
AI Technical Summary
Existing incremental magnetic encoders have low accuracy and no significant cost advantage, and cannot effectively solve the problem of unknown position.
An absolute vector counting magnetic induction encoder is adopted, which is connected to the MCU through several magnetic induction chips. The magnetic elements rotate or move linearly around or along the magnetic induction chips. It integrates magnetic induction circuit, GRB color driving circuit, address code memory and serial-parallel single-bus serial communication circuit to realize mutual hot backup of serial and parallel data line network, thereby improving data transmission redundancy and reliability.
It achieves high-precision positioning, simplifies inspection and maintenance, ensures the system can continue to operate even in the event of partial failure, expands the application scope, and improves the stability and reliability of data transmission.
Smart Images

Figure CN225017439U_ABST
Abstract
Description
Technical Field
[0001] This utility model relates to the field of encoders, and in particular to an absolute vector counting magnetic induction encoder. Background Technology
[0002] Conventional magnetic induction encoders are incremental encoders, typically containing two magnetic induction chips and multiple magnetic elements. The two magnetic induction chips are fixedly arranged with a certain phase difference (e.g., 90°). During the movement of the multiple magnetic elements, the MCU detects that the two magnetic induction chips output A and B phase pulse signals respectively. Hall A outputs a sine wave signal, and Hall B outputs a cosine wave signal. The MCU calculates the number of pulses to determine "how much movement has occurred," and determines "which direction of movement" by the sequence of A and B phases, similar to recording "how many steps have been taken" and "forward / backward." If the multiple magnetic elements perform circular rotation, a pulse is also generated for each complete rotation, namely the Z-phase zero-position signal / index signal, used to determine the absolute mechanical zero point, solving the problem of unknown position when the incremental system is powered on, and can also be used for rotation counting.
[0003] From a physical perspective, an incremental magnetic encoder consists of multiple magnetic elements corresponding to two magnetic induction chips. The magnetic induction chips are fewer in number and remain stationary, while the magnetic elements move.
[0004] The aforementioned incremental magnetic encoders have relatively low accuracy, and their cost advantage is no longer significant. Utility Model Content
[0005] The purpose of this invention is to overcome the shortcomings and deficiencies of the existing technology and provide an absolute vector counting magnetic induction encoder.
[0006] The objective of this utility model is achieved through the following technical solution:
[0007] An absolute vector counting magnetic induction encoder includes several magnetic induction chips, an MCU, and magnetic components; wherein, the data lines of the several magnetic induction chips are connected in series, parallel, or series-parallel to the MCU mounted on a PCB.
[0008] Several magnetic induction chips are evenly and fixedly arranged;
[0009] The magnetic components are mounted on a turntable and rotate around the magnetic induction chip.
[0010] Alternatively, the magnetic element can move linearly along the magnetic induction chip.
[0011] Furthermore, the magnetic induction chip is a dual-channel hot-standby magnetic full-color chip, which 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 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 supply power to the magnetic induction chip, and the ground pin is used for signal grounding and power grounding.
[0012] The address code input pins and address code output pins of n magnetic induction 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 induction 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 induction 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.
[0013] Serial-parallel single-bus serial communication circuits are used to process serial data line network information and parallel data line network information.
[0014] GRB holographic information and magnetic induction data can be transmitted on the parallel data line network DIO;
[0015] GRB holographic information and magnetic induction data can also be transmitted on the serial data line network DIN(1)-DOUT(n);
[0016] Both the parallel data line network and the serial data line network use the serial single-bus communication protocol to transmit GRB holographic information and magnetic induction data, and they serve as hot backups for each other.
[0017] Furthermore, the magnetic induction chip is a dual-channel hot-standby magnetic full-color chip, used to drive external LED beads. It integrates a magnetic induction circuit, a GRB color-changing driver 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, an address code output pin, a G pin, an R pin, and a B pin. The power supply pin supplies power to the magnetic induction chip, and the ground pin is used for signal grounding and power grounding. The G pin, R pin, and B pin are respectively connected to external green LEDs, red LEDs, and blue LEDs.
[0018] The address code input pins and address code output pins of n magnetic induction 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 induction 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 induction 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.
[0019] Serial-parallel single-bus serial communication circuits are used to process serial data line network information and parallel data line network information.
[0020] GRB holographic information and magnetic induction data can be transmitted on the parallel data line network DIO;
[0021] GRB holographic information and magnetic induction data can also be transmitted on the serial data line network DIN(1)-DOUT(n);
[0022] Both the parallel data line network and the serial data line network use the serial single-bus communication protocol to transmit GRB holographic information and magnetic induction data, and they serve as hot backups for each other.
[0023] Furthermore, the magnetic induction chip is a dual-channel hot-standby magnetic induction chip, which 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 induction chip, and the ground pin is used for signal grounding and power grounding;
[0024] The address code input pins and address code output pins of n magnetic induction 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 induction 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 induction 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.
[0025] Serial-parallel single-bus serial communication circuits are used to process serial data line network information and parallel data line network information.
[0026] Magnetic induction data can be transmitted on the parallel data line network DIO;
[0027] Magnetic induction data can also be transmitted on the serial data line network DIN(1)-DOUT(n);
[0028] Both the parallel data line network and the series data line network use a serial single-bus communication protocol to transmit magnetic induction data information, and they serve as hot backups for each other.
[0029] Furthermore, the magnetic induction chip is a dual-channel hot-standby full-color chip, which contains GRB LEDs and integrates a control signal interface circuit, a GRB color driving circuit, an address code memory, and a serial-parallel single-bus serial communication circuit; it includes control signal interface pins, power supply pins, ground pins, parallel data line pins, address code input pins, and address code output pins; the power supply pin is used to power the magnetic induction chip, and the ground pin is used for signal grounding and power grounding;
[0030] The control signal interface pin is used to receive external magnetic induction control signals. The control signal interface circuit is responsible for processing the external magnetic induction control signals and connecting them to the serial communication circuit of the serial single bus in series and parallel.
[0031] The address code input pins and address code output pins of n magnetic induction 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 induction 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 induction 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.
[0032] Serial-parallel single-bus serial communication circuits are used to process serial data line network information and parallel data line network information.
[0033] GRB holographic information and magnetic induction data can be transmitted on the parallel data line network DIO;
[0034] GRB holographic information and magnetic induction data can also be transmitted on the serial data line network DIN(1)-DOUT(n);
[0035] Both the parallel data line network DIO and the serial data line network DIN(1)-DOUT(n) use the serial single-bus communication protocol to transmit GRB color information and magnetic induction data information, and they are hot backups for each other.
[0036] Furthermore, the magnetic induction chip is a dual-channel hot-standby external LED chip, which is used to drive external LED beads and integrates a control signal interface circuit, a GRB color driving circuit, an address code memory, and a serial-parallel single-bus serial communication circuit. It includes control signal interface pins, power supply pins, ground pins, parallel data line pins, address code input pins, address code output pins, G pins, R pins, and B pins. The power supply pin is used to power the magnetic induction chip, and the ground pin is used for signal grounding and power grounding. The G pin, R pin, and B pin are respectively connected to external green LEDs, red LEDs, and blue LEDs.
[0037] The control signal interface pin is used to receive external magnetic induction control signals. The control signal interface circuit is responsible for processing the external magnetic induction control signals and connecting them to the serial communication circuit of the serial single bus in series and parallel.
[0038] The address code input pins and address code output pins of n magnetic induction 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 induction 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 induction 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.
[0039] Serial-parallel single-bus serial communication circuits are used to process serial data line network information and parallel data line network information.
[0040] GRB holographic information and magnetic induction data can be transmitted on the parallel data line network DIO;
[0041] GRB holographic information and magnetic induction data can also be transmitted on the serial data line network DIN(1)-DOUT(n);
[0042] Both the parallel data line network DIO and the serial data line network DIN(1)-DOUT(n) use the serial single-bus communication protocol to transmit GRB color information and magnetic induction data information, and they are hot backups for each other.
[0043] Furthermore, the magnetic induction chip is a dual-channel hot-standby controller chip, which integrates a control signal interface circuit, an address code memory, and a serial communication circuit with a single bus. It includes control signal interface pins, power supply pins, ground pins, parallel data line pins, address code input pins, and address code output pins. The power supply pin is used to power the magnetic induction chip, and the ground pin is used for signal grounding and power grounding.
[0044] The control signal interface pin is used to receive external magnetic induction control signals. The control signal interface circuit is responsible for processing the external magnetic induction control signals and connecting them to the serial communication circuit of the serial single bus in series and parallel.
[0045] The address code input pins and address code output pins of n magnetic induction 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 induction 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 induction 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.
[0046] Serial-parallel single-bus serial communication circuits are used to process serial data line network information and parallel data line network information.
[0047] Magnetic induction data can be transmitted on the parallel data line network DIO;
[0048] Magnetic induction data can also be transmitted on the serial data line network DIN(1)-DOUT(n);
[0049] Both the parallel data line network DIO and the serial data line network DIN(1)-DOUT(n) use the serial single-bus communication protocol to transmit magnetic induction data information and serve as hot backups for each other.
[0050] Furthermore, the magnetic induction chip is a magnetic magic chip, which integrates a magnetic induction 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 supply power to the magnetic induction chip, and the ground pin is used for signal grounding and power grounding;
[0051] The series signal input pins and series signal output pins of n magnetic induction 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 transmits magnetic induction data information to the MCU through the series data line network DIN(1)-DOUT(n).
[0052] A serial single-bus serial communication circuit is used to process information from a serial data line network.
[0053] Magnetic induction data is transmitted on the serial data line network DIN(1)-DOUT(n);
[0054] The serial data line network uses a serial single-bus communication protocol to transmit magnetic induction data information.
[0055] Furthermore, the magnetic induction chip is a magnetic color-changing chip, which contains GRB LED beads and integrates a magnetic induction circuit, a GRB color-changing 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 supply power to the magnetic induction chip, and the grounding pin is used for signal grounding and power grounding;
[0056] The serial signal input pins and serial signal output pins of n magnetic induction 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 induction data information to the MCU through the serial data line network DIN(1)-DOUT(n).
[0057] A serial single-bus serial communication circuit is used to process information from a serial data line network.
[0058] Both GRB holographic information and magnetic induction data are transmitted on the serial data line network DIN(1)-DOUT(n);
[0059] The serial data line network uses a serial single-bus communication protocol to transmit GRB holographic information and magnetic induction data.
[0060] Furthermore, the magnetic induction chip is a magic controller chip, which integrates a control signal interface circuit and a serial single-bus serial communication circuit, including a control signal interface pin, a power supply pin, a ground pin, a serial signal input pin, and a serial signal output pin; the power supply pin is used to supply power to the magnetic induction chip, and the ground pin is used for signal grounding and power grounding;
[0061] The control signal interface pin is used to receive external magnetic induction control signals. The control signal interface circuit is responsible for processing the external magnetic induction control signals and connecting them to the serial communication circuit on a single bus.
[0062] The series signal input pins and series signal output pins of n magnetic induction 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 transmits magnetic induction data information to the MCU through the series data line network DIN(1)-DOUT(n).
[0063] A serial single-bus serial communication circuit is used to process information from a serial data line network.
[0064] Magnetic induction data is transmitted on the serial data line network DIN(1)-DOUT(n);
[0065] The serial data line network uses a serial single-bus communication protocol to transmit magnetic induction data information.
[0066] Furthermore, several magnetic induction chips are equally spaced on the PCB, and the density of the magnetic induction chips determines the minimum movement encoding amount of the encoder.
[0067] Furthermore, the absolute vector counting magnetic induction encoder is a circular rotary encoder, with a circle formed by several magnetic induction chips as the fixed outer circle and the turntable where the magnetic element is located as the rotating inner circle, and the fixed outer circle and the rotating inner circle having the same center.
[0068] Alternatively, the circle formed by several magnetic induction chips is the fixed inner circle, and the turntable where the magnetic element is located is the rotating outer circle, with the fixed inner circle and the rotating outer circle having the same center.
[0069] Furthermore, the absolute vector counting magnetic induction encoder is a linear encoder, in which several magnetic induction chips form a fixed straight line, and the magnetic element moves linearly parallel along the straight line where the magnetic induction chips are located.
[0070] Compared with the prior art, this utility model has the following advantages and beneficial effects:
[0071] 1. After the MCU of this invention is powered on, it can sort and locate the position of each magnetic induction chip, similar to having a built-in "coordinate positioning" function, and is itself a vector counter. From a physical point of view, one or two magnetic elements correspond to multiple magnetic induction chips, which is simple and efficient, and the chip's built-in GRB light indicator is more intuitive, making inspection and maintenance more convenient.
[0072] 2. Existing general magnetic induction integrated circuit chips, regardless of whether they use cascaded or parallel data lines to transmit information, maintain the same backup data line connection as the original, meaning the connection is simple and repetitive, and the functions are not complementary. However, the serial and parallel data lines of this utility model's magnetic full-color chip, magnetic external color chip, magnetic all-in-one chip, driving full-color chip, driving external color chip, and driving all-in-one chip have different connection methods and complementary functions, fully utilizing the advantages of both serial and parallel data lines. This redundant serial-parallel interface circuit or dual-channel hot standby (serial + parallel) transmission circuit, which supports degraded operation, ensures that the target system still has the ability to continue operating even with partial failures.
[0073] It should be noted that serial data line networks and parallel data line networks refer to the connection relationship between n magnetic induction chips, and serial communication is always used when transmitting magnetic induction data. When transmitting magnetic induction data through a parallel data line network, it is defined as parallel serial single-bus communication; when transmitting magnetic induction data through a serial data line network, it is defined as serial serial single-bus communication.
[0074] 3. The magnetic full-color chip and the driving full-color chip of this utility model have GRB lamps set outside the packaged magnetic induction chip, which makes the application of magnetic induction encoders more extensive.
[0075] For example, when the magnetic induction encoder of this invention is used as a level gauge for multiple oil tanks, the level indicator lights (i.e., GRBs) of multiple oil tanks can be centrally located in the monitoring room, allowing staff to monitor the level data simultaneously, and the system is located far from the oil tank body, making it safer.
[0076] For example, the magnetic induction encoder of this utility model can be used as a children's track toy (such as a toy train). As the toy train moves on the track, the GRB LEDs next to the track will light up along the train's path. After the train moves away, the GRB LEDs will turn off. In addition to being set at the bottom of the track, the GRB LEDs can also be set above the track (such as streetlights next to the track) or in other places. That is, the setting area of the GRB LEDs is no longer limited, the display effect is better, or more complex colorful patterns can be designed. Attached Figure Description
[0077] Figure 1 This is a schematic diagram of the absolute vector counting magnetic induction encoder structure corresponding to Embodiment 1 of this utility model.
[0078] Figure 2 This is a schematic diagram of the absolute vector counting magnetic induction encoder structure corresponding to Embodiment 2 of this utility model.
[0079] Figure 3 This is a schematic diagram of the absolute vector counting magnetic induction encoder structure corresponding to Embodiment 3 of this utility model.
[0080] Figure 4 This is another structural schematic diagram of the corresponding absolute vector counting magnetic induction encoder described in this utility model.
[0081] Figure 5 This is another structural schematic diagram of the corresponding absolute vector counting magnetic induction encoder described in this utility model.
[0082] Figure 6 This is a timing diagram of address code transmission in Example 1.
[0083] Figure 7 This is a schematic diagram of the address code composition in Example 1.
[0084] Figure 8 This is a schematic diagram of the composition of the magnetic induction data information code transmitted on the serial data line network DIN(1)-DOUT(n) in Example 1.
[0085] Figure 9 This is the encoding function diagram for Example 1.
[0086] Figure 10 This is a functional schematic diagram of the magnetic full-color chip described in Embodiment 1 of this utility model.
[0087] Figure 11 This is a functional schematic diagram of the magnetic full-color chip described in Embodiment 4 of this utility model.
[0088] Figure 12 This is a functional schematic diagram of the magnetic oscillator chip described in Embodiment 5 of this utility model.
[0089] Figure 13 This is a functional diagram of the full-color chip described in Embodiment 6 of this utility model.
[0090] Figure 14 This is a schematic diagram of the function of the Yuquan external color chip described in Embodiment 7 of this utility model.
[0091] Figure 15 This is a functional diagram of the controller chip described in Embodiment 8 of this utility model.
[0092] Figure 16 This is a functional diagram of the magnetic magic chip described in Embodiment 9 of this utility model.
[0093] Figure 17 This is a functional diagram of the magnetic color chip described in Embodiment 10 of this utility model.
[0094] Figure 18 This is a functional diagram of the device chip described in Embodiment 11 of this utility model.
[0095] The meanings of the reference numerals in the attached figures are as follows:
[0096] 1-Magnetic induction chip, 2-Magnetic component. Detailed Implementation
[0097] The present invention will be further described in detail below with reference to the embodiments and accompanying drawings, but the implementation of the present invention is not limited thereto.
[0098] Example 1 (using a magnetic full-color chip)
[0099] An absolute vector counting magnetic induction encoder includes several magnetic induction chips 1, an MCU, and magnetic components 2; wherein, the data lines of the several magnetic induction chips 1 are connected in series and parallel (i.e., they simultaneously have a series data line network and a parallel data line network) and then connected to the MCU mounted on the PCB.
[0100] Several magnetic induction chips 1 are uniformly fixed in place;
[0101] like Figure 1The magnetic element 2 is mounted on the turntable and rotates around the magnetic induction chip 1.
[0102] like Figure 10 The magnetic induction chip 1 is a dual-channel hot-standby 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. It includes 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 supply power to the magnetic induction chip 1, and the ground pin is used for signal grounding and power grounding.
[0103] The address code input pins and address code output pins of n magnetic induction chips 1 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 induction chips 1 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 n magnetic induction chips 1 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.
[0104] Serial-parallel single-bus serial communication circuits are used to process serial data line network information and parallel data line network information.
[0105] GRB holographic information and magnetic induction data can be transmitted on the parallel data line network DIO;
[0106] GRB holographic information and magnetic induction data can also be transmitted on the serial data line network DIN(1)-DOUT(n);
[0107] Both the parallel data line network and the serial data line network use the serial single-bus communication protocol to transmit GRB holographic information and magnetic induction data, and they serve as hot backups for each other.
[0108] The serial data line network and the parallel data line network transmit data information simultaneously. In practical applications, the GRB RGB information is transmitted on the serial data line network, and the magnetic induction data information is transmitted on the parallel data line network to improve the scanning frequency of the magnetic induction chip 1 and the scanning frequency of the GRB LED bead, in order to achieve the highest stability and reliability. Only in the extreme case of failure of one party will the data communication network be switched intelligently and instantly.
[0109] There are many forms of specific transmission protocols for data information on parallel data line networks (DIO). The Chinese utility model patent with announcement number CN120049875B, "A magnetic induction integrated circuit chip with address code, key and magnetic induction keyboard", provides a variety of different custom code transmission methods and working modes. For those skilled in the art, the transmission methods are clear and feasible, and will not be elaborated here.
[0110] like Figure 6 ADD1 represents the first magnetic induction chip 1, ADD2 represents the second magnetic induction chip 1, and ADD3 represents the third magnetic induction chip 1; ADD stands for ADDRESS. The data structure consists of: 16 bits of data from the first magnetic induction chip 1 + 16 bits of data from the second magnetic induction chip 1 + 16 bits of data from the third magnetic induction chip 1 + ... + 16 bits of data from the nth magnetic induction chip 1 + Trst.
[0111] like Figure 7 The most significant byte is placed first, followed by the least significant byte. The first 6 bits of the 16-bit data are the address command code "A5, A4, A3, A2, A1, A0", followed by 10 bits of the address code "D9, D8, D7, D6, D5, D4, D3, D2, D1, D0", totaling 10 bits. =1024 address codes.
[0112] like Figure 6 The first magnetic induction chip 1 receives n 16-bit data, retains the first address code in the address code memory of the first magnetic induction chip 1, and transmits the second 16-bit data to the nth 16-bit data as is to the second magnetic induction chip 1.
[0113] The second magnetic induction chip 1 receives n-1 16-bit data, retains the original second address code in the address code memory of the second magnetic induction chip 1, and transmits the third to nth 16-bit data to the third magnetic induction chip 1 as is.
[0114] The third magnetic induction chip 1 receives n-2 16-bit data, retains the third address code in the address code memory of the third magnetic induction chip 1, and transmits the fourth to nth 16-bit data to the fourth magnetic induction chip 1 as is.
[0115] The nth magnetic induction chip 1 receives a 16-bit data and stores the nth address code in the address code memory of the nth magnetic induction chip 1.
[0116] When the parallel data line network fails, the magnetic induction data information is transmitted on the series data line network. At this time, the series data line network acts as a backup data line for the parallel data line network, and its transmission process is as follows:
[0117] The magnetic induction data information code is defined to include command code and status code;
[0118] When the first magnetic induction chip 1 receives the magnetic induction data information code, it simultaneously transmits the first bit of the command code to the second magnetic induction chip 1 when it receives the second bit of the command code.
[0119] When the second magnetic induction chip 1 receives the second bit of the command code, it simultaneously transmits the first bit of the command code to the third magnetic induction chip 1.
[0120] When the third magnetic induction chip 1 receives the second bit of the command code, it simultaneously transmits the first bit of the command code to the fourth magnetic induction chip 1.
[0121] ...
[0122] When the nth magnetic induction chip 1 receives the second bit of the command code, it simultaneously sends the first bit of the command code to the MCU through the address code output pin DOUT(n).
[0123] Specifically, such as Figure 8 Taking 1024 magnetic induction data information codes as an example, "M5, M4, M3, M2, M1, M0" are read command codes. Among them, M1 and M0 are defined as the total number of magnetic induction chips, which can be customized.
[0124] M1=0 and M0=0 represent 128 magnetic induction chips 1, which means there are 128 bits after reading the command code;
[0125] M1=0 and M0=1 represent 256 magnetic induction chips 1, which means there are 256 bits after reading the command code;
[0126] M1=1 and M0=0 represent 512 magnetic induction chips, and indicate that there are 512 bits after reading the command code;
[0127] M1=1 and M0=1 represent 1024 magnetic induction chips 1, which means there are 1024 bits after reading the command code;
[0128] The first magnetic induction chip 1 will receive 1030 bits of magnetic induction data information in sequence;
[0129] The second magnetic induction chip 1 will receive 1030 bits of magnetic induction data information in sequence;
[0130] The third magnetic induction chip 1 will receive 1030 bits of magnetic induction data information in sequence;
[0131] The nth magnetic induction chip 1 will receive 1030 bits of magnetic induction data information in sequence;
[0132] To save time, when the first magnetic induction chip 1 receives bit M4, it simultaneously sends bit M5 to the second magnetic induction chip 1.
[0133] When the second magnetic induction chip 1 receives bit M4, it simultaneously sends bit M5 to the third magnetic induction chip 1;
[0134] When the third magnetic induction chip 1 receives bit M4, it simultaneously sends bit M5 to the fourth magnetic induction chip 1.
[0135] When the nth magnetic induction chip 1 receives the M4 bit, it simultaneously sends the M5 bit to the MCU through the address code output pin DOUT(n).
[0136] G1023……G2, G1, G0 are initially set to 1024 return-to-zero codes of “1”.
[0137] like Figure 9 :
[0138] Code 0 indicates that magnetic induction chip 1 has been triggered and is used for sorting;
[0139] 0# indicates that magnetic induction chip 1 has not been triggered, but there is a placeholder sequence, i.e., placeholder code 0;
[0140] Code 1 represents the initial code, indicating that magnetic induction chip 1 has not been triggered and is not occupying a bit;
[0141] When the first magnetic induction chip 1 is not triggered, the bit of G1023 must be set to placeholder 1#, that is, placeholder 1 code, indicating that the magnetic induction chip 1 has not been triggered, but there is a placeholder sequence.
[0142] When the second magnetic induction chip 1 is triggered, it first detects that the bit of G1023 is 0#, and the bit of G1022 is still the initial code 1. Therefore, the second magnetic induction chip 1 can only occupy the bit of G1022 for sorting. At this time, the second magnetic induction chip 1 is triggered, and the bit of G1022 must be set to 0. G1022 being 0 indicates that this chip has been triggered and has a placeholder for sorting.
[0143] When the third magnetic induction chip 1 is triggered, it first detects that bit 1 of G1023 is occupied because there is no trigger; bit 0 of G1022 is occupied because there is a trigger. Therefore, the third magnetic induction chip 1 can only occupy bit 1 of G1021 for sorting. At this time, when the third magnetic induction chip 1 is triggered, bit 0 of G1021 must be set to bit 0. Bit 0 of G1021 indicates that this chip has been triggered and is occupied for sorting.
[0144] And so on, until the nth magnetic induction chip 1.
[0145] The serial data line network, serving as a backup data line for the parallel data line network, transmits magnetic induction data information. This is fundamentally different from the Chinese utility model patent "A Magnetic Induction Integrated Circuit Chip with Data Line, Keypad and Magnetic Induction Keyboard" (authorization announcement number CN117270701B), which transmits key information through placeholder information, and thus saves more time.
[0146] The absolute vector counting magnetic induction encoder is a circular rotary encoder. The circle formed by several magnetic induction chips 1 is the fixed outer circle, and the turntable where the magnetic element 2 is located is the rotating inner circle. The fixed outer circle and the rotating inner circle are at the same center.
[0147] Example 2
[0148] Example 2 is identical to Example 1 except for the following content:
[0149] like Figure 2 The circle formed by several magnetic induction chips 1 is the fixed inner circle, and the turntable where the magnetic element 2 is located is the rotating outer circle. The fixed inner circle and the rotating outer circle are at the same center.
[0150] Example 3
[0151] Example 3 is identical to Example 1 except for the following content:
[0152] like Figure 3 The magnetic element 2 moves linearly along the magnetic induction chip 1.
[0153] The absolute vector counting magnetic induction encoder is a linear encoder, in which several magnetic induction chips 1 form a fixed straight line, and the magnetic element 2 moves linearly parallel along the straight line where the magnetic induction chips 1 are located.
[0154] Example 4 (using a magnetic full-color chip)
[0155] Example 4 is identical to Example 1 except for the following content:
[0156] like Figure 11The magnetic induction chip 1 is a dual-channel hot-standby magnetic full-color chip, used to drive external LED beads. It 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, an address code output pin, a G pin, an R pin, and a B pin. The power supply pin is used to supply power to the magnetic induction chip 1, and the ground pin is used for signal grounding and power grounding. The G pin, R pin, and B pin are respectively connected to the external green LED, red LED, and blue LED.
[0157] The address code input pins and address code output pins of n magnetic induction chips 1 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 induction chips 1 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 n magnetic induction chips 1 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.
[0158] Serial-parallel single-bus serial communication circuits are used to process serial data line network information and parallel data line network information.
[0159] GRB holographic information and magnetic induction data can be transmitted on the parallel data line network DIO;
[0160] GRB holographic information and magnetic induction data can also be transmitted on the serial data line network DIN(1)-DOUT(n);
[0161] Both the parallel data line network and the serial data line network use the serial single-bus communication protocol to transmit GRB holographic information and magnetic induction data, and they serve as hot backups for each other.
[0162] Example 5 (using a magnetic oscillator chip)
[0163] Example 5 is identical to Example 1 except for the following content:
[0164] like Figure 12 The magnetic induction chip 1 is a dual-channel hot-standby magnetic induction chip. The magnetic induction chip integrates a magnetic induction circuit, an address code memory, and a serial communication circuit with a single bus. 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 induction chip 1, and the grounding pin is used for signal grounding and power grounding.
[0165] The address code input pins and address code output pins of n magnetic induction chips 1 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 induction chips 1 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 n magnetic induction chips 1 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.
[0166] Serial-parallel single-bus serial communication circuits are used to process serial data line network information and parallel data line network information.
[0167] Magnetic induction data can be transmitted on the parallel data line network DIO;
[0168] Magnetic induction data can also be transmitted on the serial data line network DIN(1)-DOUT(n);
[0169] Both the parallel data line network and the series data line network use a serial single-bus communication protocol to transmit magnetic induction data information, and they serve as hot backups for each other.
[0170] Example 6 (using the Yuquancai chip)
[0171] Example 6 is identical to Example 1 except for the following content:
[0172] like Figure 13 The magnetic induction chip 1 is a dual-channel hot-standby full-color chip, which contains GRB LEDs and integrates a control signal interface circuit, a GRB color driving circuit, an address code memory, and a serial communication circuit with a single bus. It includes control signal interface pins, power supply pins, ground pins, parallel data line pins, address code input pins, and address code output pins. The power supply pin is used to supply power to the magnetic induction chip 1, and the ground pin is used for signal grounding and power grounding.
[0173] The control signal interface pin is used to receive external magnetic induction control signals. The control signal interface circuit is responsible for processing the external magnetic induction control signals and connecting them to the serial communication circuit of the serial single bus in series and parallel.
[0174] The address code input pins and address code output pins of n magnetic induction chips 1 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 induction chips 1 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 n magnetic induction chips 1 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.
[0175] Serial-parallel single-bus serial communication circuits are used to process serial data line network information and parallel data line network information.
[0176] GRB holographic information and magnetic induction data can be transmitted on the parallel data line network DIO;
[0177] GRB holographic information and magnetic induction data can also be transmitted on the serial data line network DIN(1)-DOUT(n);
[0178] Both the parallel data line network DIO and the serial data line network DIN(1)-DOUT(n) use the serial single-bus communication protocol to transmit GRB color information and magnetic induction data information, and they are hot backups for each other.
[0179] Example 7 (using Yuquan external color chip)
[0180] Example 7 is identical to Example 1 except for the following content:
[0181] like Figure 14 The magnetic induction chip 1 is a dual-channel hot-standby external LED chip, which is used to drive external LED beads. It integrates a control signal interface circuit, a GRB color driving circuit, an address code memory, and a serial-parallel single-bus serial communication circuit. It includes control signal interface pins, power supply pins, ground pins, parallel data line pins, address code input pins, address code output pins, G pins, R pins, and B pins. The power supply pin is used to power the magnetic induction chip, and the ground pin is used for signal grounding and power grounding. The G pin, R pin, and B pin are respectively connected to the external green LED, red LED, and blue LED.
[0182] The control signal interface pin is used to receive external magnetic induction control signals. The control signal interface circuit is responsible for processing the external magnetic induction control signals and connecting them to the serial communication circuit of the serial single bus in series and parallel.
[0183] The address code input pins and address code output pins of n magnetic induction chips 1 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 induction chips 1 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 n magnetic induction chips 1 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.
[0184] Serial-parallel single-bus serial communication circuits are used to process serial data line network information and parallel data line network information.
[0185] GRB holographic information and magnetic induction data can be transmitted on the parallel data line network DIO;
[0186] GRB holographic information and magnetic induction data can also be transmitted on the serial data line network DIN(1)-DOUT(n);
[0187] Both the parallel data line network DIO and the serial data line network DIN(1)-DOUT(n) use the serial single-bus communication protocol to transmit GRB color information and magnetic induction data information, and they are hot backups for each other.
[0188] Example 8 (using the All-in-One Chip)
[0189] Example 8 is identical to Example 1 except for the following content:
[0190] like Figure 15 The magnetic induction chip 1 is a dual-channel hot-standby controller chip. The controller chip integrates a control signal interface circuit, an address code memory, and a serial communication circuit with a single bus. It includes control signal interface pins, power supply pins, ground pins, parallel data line pins, address code input pins, and address code output pins. The power supply pin is used to supply power to the magnetic induction chip 1, and the ground pin is used for signal grounding and power grounding.
[0191] The control signal interface pin is used to receive external magnetic induction control signals. The control signal interface circuit is responsible for processing the external magnetic induction control signals and connecting them to the serial communication circuit of the serial single bus in series and parallel.
[0192] The address code input pins and address code output pins of n magnetic induction chips 1 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 induction chips 1 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 n magnetic induction chips 1 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.
[0193] Serial-parallel single-bus serial communication circuits are used to process serial data line network information and parallel data line network information.
[0194] Magnetic induction data can be transmitted on the parallel data line network DIO;
[0195] Magnetic induction data can also be transmitted on the serial data line network DIN(1)-DOUT(n);
[0196] Both the parallel data line network DIO and the serial data line network DIN(1)-DOUT(n) use the serial single-bus communication protocol to transmit magnetic induction data information and serve as hot backups for each other.
[0197] Example 9 (using a magnetic magic chip)
[0198] Example 9 is identical to Example 1 except for the following content:
[0199] The data lines of several magnetic induction chips are connected in series (i.e., there is only a series data line network) and then connected to the MCU set on the PCB.
[0200] like Figure 16 The magnetic induction chip 1 is a magnetic magic chip, which integrates a magnetic induction 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 supply power to the magnetic induction chip 1, and the grounding pin is used for signal grounding and power grounding;
[0201] The series signal input pins and series signal output pins of n magnetic induction chips 1 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 transmits magnetic induction data information to the MCU through the series data line network DIN(1)-DOUT(n).
[0202] A serial single-bus serial communication circuit is used to process information from a serial data line network.
[0203] Magnetic induction data is transmitted on the serial data line network DIN(1)-DOUT(n);
[0204] The serial data line network uses a serial single-bus communication protocol to transmit magnetic induction data information.
[0205] Example 10 (using a magnetic color chip)
[0206] Example 10 is identical to Example 1 except for the following content:
[0207] The data lines of several magnetic induction chips are connected in series (i.e., there is only a series data line network) and then connected to the MCU set on the PCB.
[0208] like Figure 17 The magnetic induction chip 1 is a magnetic color chip, which 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 supply power to the magnetic induction chip 1, and the grounding pin is used for signal grounding and power grounding;
[0209] The series signal input pins and series signal output pins of n magnetic induction chips 1 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 transmits the GRB color information and magnetic induction data information to the MCU through the series data line network DIN(1)-DOUT(n).
[0210] A serial single-bus serial communication circuit is used to process information from a serial data line network.
[0211] Both GRB holographic information and magnetic induction data are transmitted on the serial data line network DIN(1)-DOUT(n);
[0212] The serial data line network uses a serial single-bus communication protocol to transmit GRB holographic information and magnetic induction data.
[0213] Example 11 (using the Magic Control Chip)
[0214] Example 11 is the same as Example 1, except for the following content:
[0215] The data lines of several magnetic induction chips are connected in series (i.e., there is only a series data line network) and then connected to the MCU set on the PCB.
[0216] like Figure 18The magnetic induction chip 1 is a magic controller chip. The magic controller chip integrates a control signal interface circuit and a serial single-bus serial communication circuit, including a control signal interface pin, a power supply pin, a ground pin, a serial signal input pin, and a serial signal output pin; the power supply pin is used to supply power to the magnetic induction chip 1, and the ground pin is used for signal grounding and power grounding;
[0217] The control signal interface pin is used to receive external magnetic induction control signals. The control signal interface circuit is responsible for processing the external magnetic induction control signals and connecting them to the serial communication circuit on a single bus.
[0218] The series signal input pins and series signal output pins of n magnetic induction chips 1 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 transmits magnetic induction data information to the MCU through the series data line network DIN(1)-DOUT(n).
[0219] A serial single-bus serial communication circuit is used to process information from a serial data line network.
[0220] Magnetic induction data is transmitted on the serial data line network DIN(1)-DOUT(n);
[0221] The serial data line network uses a serial single-bus communication protocol to transmit magnetic induction data information.
[0222] Several magnetic induction chips 1 described in Embodiments 1 to 11 are equally spaced on a PCB, such as... Figure 4 and Figure 5 The density of the magnetic induction chip 1 determines the minimum amount of code that the encoder can move. That is, the more magnetic induction chips 1 are arranged per unit length, the more code is generated.
[0223] In Examples 1 to 11, the magnetic induction chip 1 is either a magnetic induction chip 1 with GRB light emission or a magnetic induction chip 1 without GRB light emission.
[0224] In Examples 1 to 11, 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.
[0225] In Examples 1 to 11, the n magnetic induction chips can also be connected by a parallel data line network, and serial communication is always used when transmitting magnetic induction data information.
[0226] The above embodiments are preferred embodiments of the present utility model, but the embodiments of the present utility model 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 utility model shall be considered equivalent substitutions and shall be included within the protection scope of the present utility model.
Claims
1. An absolute vector counting magnetic induction encoder, characterized in that, It includes several magnetic induction chips, an MCU, and magnetic components; among them, the data lines of the several magnetic induction chips are connected in series, parallel, or series-parallel to the MCU set on the PCB. Several magnetic induction chips are evenly and fixedly arranged; The magnetic components are mounted on a turntable and rotate around the magnetic induction chip. Alternatively, the magnetic element can move linearly along the magnetic induction chip.
2. The absolute vector counting magnetic induction encoder according to claim 1, characterized in that, The magnetic induction chip is a series-parallel dual-channel hot-standby 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 series-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 induction 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 induction 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 induction 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 induction 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 holographic information and magnetic induction data can be transmitted on the parallel data line network DIO; GRB holographic information and magnetic induction data can also be transmitted on the serial data line network DIN(1)-DOUT(n); Both the parallel data line network and the serial data line network use the serial single-bus communication protocol to transmit GRB holographic information and magnetic induction data, and they serve as hot backups for each other.
3. The absolute vector counting magnetic induction encoder according to claim 1, characterized in that, The magnetic induction chip is a dual-channel, hot-standby magnetic full-color chip used to drive external LED beads. It integrates a magnetic induction circuit, a GRB (Gradient RGB) driver circuit, an address code memory, and a serial-parallel single-bus serial communication circuit. 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 supplies power to the magnetic induction chip, and the ground pin is used for signal grounding and power grounding. The G pin, R pin, and B pin are connected to external green, red, and blue LEDs, respectively. The address code input pins and address code output pins of n magnetic induction 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 induction 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 induction 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 holographic information and magnetic induction data can be transmitted on the parallel data line network DIO; GRB holographic information and magnetic induction data can also be transmitted on the serial data line network DIN(1)-DOUT(n); Both the parallel data line network and the serial data line network use the serial single-bus communication protocol to transmit GRB holographic information and magnetic induction data, and they serve as hot backups for each other.
4. The absolute vector counting magnetic induction encoder according to claim 1, characterized in that, The magnetic induction chip is a dual-channel hot-standby magnetic induction chip, which 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 power the magnetic induction 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 induction 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 induction 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 induction 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. Magnetic induction data can be transmitted on the parallel data line network DIO; Magnetic induction data 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 induction data information, and they serve as hot backups for each other.
5. The absolute vector counting magnetic induction encoder according to claim 1, characterized in that, The magnetic induction chip is a dual-channel hot-standby full-color chip with serial and parallel connections. The full-color chip contains GRB LED beads and integrates a control signal interface circuit, a GRB color driving circuit, an address code memory, and a serial communication circuit with serial and parallel connections on a single bus. It includes control signal interface pins, power supply pins, ground pins, parallel data line pins, address code input pins, and address code output pins. The power pin is used to power the magnetic induction chip, and the ground pin is used for signal grounding and power grounding. The control signal interface pin is used to receive external magnetic induction control signals. The control signal interface circuit is responsible for processing the external magnetic induction control signals and connecting them to the serial communication circuit of the serial single bus in series and parallel. The address code input pins and address code output pins of n magnetic induction 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 induction 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 induction 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 holographic information and magnetic induction data can be transmitted on the parallel data line network DIO; GRB holographic information and magnetic induction data can also be transmitted on the serial data line network DIN(1)-DOUT(n); Both the parallel data line network DIO and the serial data line network DIN(1)-DOUT(n) use the serial single-bus communication protocol to transmit GRB color information and magnetic induction data information, and they are hot backups for each other.
6. The absolute vector counting magnetic induction encoder according to claim 1, characterized in that, The magnetic induction chip is a dual-channel hot-standby external LED chip used to drive external LED beads. It integrates a control signal interface circuit, a GRB color driver circuit, an address code memory, and a serial-parallel single-bus serial communication circuit. It includes control signal interface pins, power supply pins, ground pins, parallel data line pins, address code input pins, address code output pins, G pins, R pins, and B pins. The power supply pins provide power to the magnetic induction chip, and the ground pins are used for signal grounding and power grounding. The G pins, R pins, and B pins are connected to external green LEDs, red LEDs, and blue LEDs, respectively. The control signal interface pin is used to receive external magnetic induction control signals. The control signal interface circuit is responsible for processing the external magnetic induction control signals and connecting them to the serial communication circuit of the serial single bus in series and parallel. The address code input pins and address code output pins of n magnetic induction 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 induction 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 induction 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 holographic information and magnetic induction data can be transmitted on the parallel data line network DIO; GRB holographic information and magnetic induction data can also be transmitted on the serial data line network DIN(1)-DOUT(n); Both the parallel data line network DIO and the serial data line network DIN(1)-DOUT(n) use the serial single-bus communication protocol to transmit GRB color information and magnetic induction data information, and they are hot backups for each other.
7. The absolute vector counting magnetic induction encoder according to claim 1, characterized in that, The magnetic induction chip is a dual-channel hot-standby controller chip, which integrates a control signal interface circuit, an address code memory, and a serial communication circuit with a single bus; including control signal interface pins, power supply pins, ground pins, parallel data line pins, address code input pins, and address code output pins; The power pin is used to power the magnetic induction chip, and the ground pin is used for signal grounding and power grounding. The control signal interface pin is used to receive external magnetic induction control signals. The control signal interface circuit is responsible for processing the external magnetic induction control signals and connecting them to the serial communication circuit of the serial single bus in series and parallel. The address code input pins and address code output pins of n magnetic induction 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 induction 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 induction 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. Magnetic induction data can be transmitted on the parallel data line network DIO; Magnetic induction data can also be transmitted on the serial data line network DIN(1)-DOUT(n); Both the parallel data line network DIO and the serial data line network DIN(1)-DOUT(n) use the serial single-bus communication protocol to transmit magnetic induction data information and serve as hot backups for each other.
8. The absolute vector counting magnetic induction encoder according to claim 1, characterized in that, The magnetic induction chip is a magnetic magic chip, which integrates a magnetic induction 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 induction chip, and the ground pin is used for signal grounding and power grounding; The series signal input pins and series signal output pins of n magnetic induction 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 transmits magnetic induction data information to the MCU through the series 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. Magnetic induction data is 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 magnetic induction data information.
9. The absolute vector counting magnetic induction encoder according to claim 1, characterized in that, The magnetic induction chip is a magnetic color chip, which 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 pin is used to power the magnetic induction 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 induction 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 induction data 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. Both GRB holographic information and magnetic induction data 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 induction data.
10. The absolute vector counting magnetic induction encoder according to claim 1, characterized in that, The magnetic induction chip is a magic controller chip, which integrates a control signal interface circuit and a serial single-bus serial communication circuit, including a control signal interface pin, a power supply pin, a ground pin, a serial signal input pin, and a serial signal output pin; the power supply pin is used to power the magnetic induction chip, and the ground pin is used for signal grounding and power grounding; The control signal interface pin is used to receive external magnetic induction control signals. The control signal interface circuit is responsible for processing the external magnetic induction control signals and connecting them to the serial communication circuit on a single bus. The series signal input pins and series signal output pins of n magnetic induction 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 transmits magnetic induction data information to the MCU through the series 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. Magnetic induction data is 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 magnetic induction data information.
11. The absolute vector counting magnetic induction encoder according to claim 1, characterized in that, Several magnetic induction chips are arranged at equal intervals on the PCB, and the density of the magnetic induction chips determines the minimum movement encoding amount of the encoder.
12. The absolute vector counting magnetic induction encoder according to claim 1, characterized in that, The absolute vector counting magnetic induction encoder is a circular rotary encoder. The circle formed by several magnetic induction chips is the fixed outer circle, and the turntable where the magnetic element is located is the rotating inner circle. The fixed outer circle and the rotating inner circle are at the same center. Alternatively, the circle formed by several magnetic induction chips is the fixed inner circle, and the turntable where the magnetic element is located is the rotating outer circle, with the fixed inner circle and the rotating outer circle having the same center.
13. The absolute vector counting magnetic induction encoder according to claim 1, characterized in that, The absolute vector counting magnetic induction encoder is a linear encoder, in which several magnetic induction chips form a fixed straight line, and the magnetic element moves linearly and parallelly along the straight line where the magnetic induction chips are located.
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
