CN115942730B - An anti-interference magnetic encoder - Google Patents
An anti-interference magnetic encoder Download PDFInfo
- Publication number
- CN115942730B CN115942730B CN202211614200.7A CN202211614200A CN115942730B CN 115942730 B CN115942730 B CN 115942730B CN 202211614200 A CN202211614200 A CN 202211614200A CN 115942730 B CN115942730 B CN 115942730B
- Authority
- CN
- China
- Prior art keywords
- type
- line
- magnetic sensor
- male
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Transmission And Conversion Of Sensor Element Output (AREA)
Abstract
The invention provides an anti-interference magnetic encoder which comprises a magnetic sensor main body, a controller and a data line for electric connection of the magnetic sensor main body and the controller, wherein the magnetic sensor main body comprises a PCB (printed circuit board), a magnetic sensor chip, a first Type-C female seat and a shielding shell covered on the PCB, an SPI (serial peripheral interface) communication protocol is followed between the first Type-C female seat and the magnetic sensor chip, and the data line comprises a first Type-C male head unit connected with the first Type-C female seat, a second Type-C male head unit connected with the second Type-C female seat which is preconfigured of the controller and used for isolating and forwarding transceiving data of the controller, and a data line main body connected with the second Type-C male head unit. The magnetic sensor body further includes a filter circuit. According to the invention, the problems of inconvenient replacement of the shielding wire and larger interface in order to shield electromagnetic interference as much as possible in the SPI high-speed data transmission process of the conventional magnetic encoder can be solved.
Description
Technical Field
The invention belongs to the field of encoders, and in particular relates to an anti-interference magnetic encoder.
Background
An encoder is a device that compiles, converts, or converts a signal (e.g., a bit stream) or data into a signal form that can be used for communication, transmission, and storage. In principle, encoders are classified into photoelectric encoders, magnetic encoders, capacitive encoders, inductive encoders, and the like. The magnetic encoder is used as an emerging technology in more and more markets, and the data interfaces of motor position sensing in the markets are divided into an ABZ interface, a PWM interface, an I2C interface, an SPI interface and the like, wherein the position accuracy of the sensor output under different interfaces is different, the position output accuracy of the magnetic encoder of the SPI interface is highest relatively, the sensors of any interface can be subjected to electromagnetic interference after the motor is electrified, and the sensors of the SPI interface and the I2C interface are most sensitive to the electromagnetic interference. In the prior art, shielding systems are basically adopted to solve the problem that a magnetic encoder is subjected to electromagnetic interference. One of the solutions is to use customized shielding wires, however, this method has the problem of inconvenient replacement of shielding wires. Another solution is to use an M12 interface, and then this solution has a problem of larger interface.
Disclosure of Invention
The invention aims to solve the problems of inconvenient replacement of a shielding wire and larger interface in order to shield electromagnetic interference as much as possible in the SPI high-speed data transmission process of the conventional magnetic encoder.
In order to achieve the above object, the present invention provides an anti-interference magnetic encoder.
According to the invention, an anti-interference magnetic encoder is provided, and comprises a magnetic sensor main body and a data line for realizing the electrical connection between the magnetic sensor main body and a remote controller;
The magnetic sensor main body comprises a PCB, a magnetic sensor chip and a first Type-C female seat which are arranged on the PCB, and a shielding shell covered on the PCB;
The first Type-C female seat and the magnetic sensor chip follow SPI communication protocol, the VBUS pin of the first Type-C female seat is connected with the VDD pin of the magnetic sensor chip, and the GND pin of the magnetic sensor chip and the GND pin of the Type-C female seat are connected to the same power supply ground;
The data line comprises a first Type-C male unit, a second Type-C male unit and a data line main body for connecting the first Type-C male unit and the second Type-C male unit, wherein the first Type-C male unit is used for being connected with the first Type-C female seat, and the second Type-C male unit is used for being connected with a second Type-C female seat which is preconfigured for the controller and isolating and forwarding transceiving data of the controller;
The magnetic sensor main body further comprises an RC filter circuit, and the RC filter circuit is connected between the VBUS pin of the first Type-C female seat and the VDD pin of the magnetic sensor chip in series.
Optionally, the first Type-C male unit includes a first PCB adapter plate and a first Type-C male disposed on the first PCB adapter plate, and the first end of the data line main body is electrically connected with the first Type-C male through the first PCB adapter plate.
Optionally, the first Type-C male is configured with a first shielding shell.
Optionally, the second Type-C male unit includes a second PCB adapter plate and a second Type-C male disposed on the second PCB adapter plate, and the second end of the data line main body is electrically connected with the second Type-C male through the second PCB adapter plate;
The second Type-C male head unit further comprises a digital isolation chip arranged on the second PCB adapter plate, and the digital isolation chip is used for isolating SPI communication between the second Type-C male head and the data line main body.
Optionally, the second Type-C male is configured with a second shielding shell.
Optionally, the data line body is a five-core shielding line, and is a power line, a data transmission line, a data receiving line, a chip selection line and a clock line respectively.
The invention has the beneficial effects that:
Compared with the existing magnetic encoder, the four-channel digital isolation chip and the shielding structure are adopted to improve the anti-interference capability, and the magnetic sensor main body is connected with the controller through the data line in the scheme, so that SPI high-speed data transmission is realized, interference of output signals of the magnetic encoder is greatly reduced, and the problems of inconvenience in replacement of the shielding line and the size of an interface in the existing shielding scheme in the market are solved.
According to the above, the anti-interference magnetic encoder can effectively solve the problems of inconvenient replacement of shielding wires and larger interface in the process of SPI high-speed data transmission of the conventional magnetic encoder to shield electromagnetic interference as much as possible.
Additional features and advantages of the invention will be set forth in the detailed description which follows.
Drawings
The invention may be better understood by referring to the following description in conjunction with the accompanying drawings in which the same or similar reference numerals are used throughout the several drawings to designate the same or similar components.
FIG. 1 shows a functional block diagram of an anti-interference magnetic encoder of an embodiment of the present invention.
Fig. 2 shows a diagram of electrical connection between the relevant power supply filter capacitance and resistance in the magnetic sensor chip according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will more fully understand the technical solutions of the present invention, exemplary embodiments of the present invention will be described more fully and in detail below with reference to the accompanying drawings. It should be apparent that the following description of one or more embodiments of the invention is merely one or more of the specific ways in which the technical solutions of the invention may be implemented and is not intended to be exhaustive. It should be understood that the technical solution of the present invention may be implemented in other ways belonging to one general inventive concept, and should not be limited by the exemplary described embodiments. All other embodiments, which may be made by one or more embodiments of the invention without inventive faculty, are intended to be within the scope of the invention.
FIG. 1 shows a schematic block diagram of an anti-tamper magnetic encoder of an embodiment of the present invention. Referring to fig. 1, an anti-interference magnetic encoder according to an embodiment of the present invention includes a magnetic sensor body and a data line for electrically connecting the magnetic sensor body with a remote controller;
The magnetic sensor main body comprises a PCB, a magnetic sensor chip and a first Type-C female seat which are arranged on the PCB, and a shielding shell covered on the PCB;
The first Type-C female seat and the magnetic sensor chip follow SPI communication protocol, the VBUS pin of the first Type-C female seat is connected with the VDD pin of the magnetic sensor chip, and the GND pin of the magnetic sensor chip and the GND pin of the Type-C female seat are connected to the same power ground;
The data line comprises a first Type-C male unit, a second Type-C male unit and a data line main body for connecting the first Type-C male unit and the second Type-C male unit, wherein the first Type-C male unit is used for being connected with a first Type-C female seat, and the second Type-C male unit is used for being connected with a second Type-C female seat which is preconfigured in the controller and isolating and forwarding the received and transmitted data of the controller;
the magnetic sensor main body further comprises an RC filter circuit, and the RC filter circuit is connected between the VBUS pin of the first Type-C female seat and the VDD pin of the magnetic sensor chip in series.
Specifically, in the embodiment of the invention, referring to fig. 2, the RC filter circuit comprises a resistor and a capacitor, wherein a first end of the resistor is connected with the VBUS pin of the first Type-C socket, a second end of the resistor is connected with the common end of the first end of the capacitor and the VDD pin of the magnetic sensor chip, the second end of the capacitor is connected to the power ground, and the input ripple of the power is reduced as much as possible through the RC filter, wherein the specific pin of the input end of the power connected with In is a variable power input pin of the sensor chip connected with OUT. Different numbers exist for specific chip pins.
Further, in the embodiment of the invention, the first Type-C male head unit comprises a first PCB adapter plate and a first Type-C male head arranged on the first PCB adapter plate, and the first end of the data line main body is electrically connected with the first Type-C male head through the first PCB adapter plate. The first PCB adapter plate is provided with six power data channels, namely a 5-volt power line, a 5-volt ground line, a data receiving line, a data transmitting line, a chip selecting line and a clock line.
Still further, in an embodiment of the present invention, the first Type-C male is configured with a first shielding shell.
Still further, in an embodiment of the present invention, the second Type-C male head unit includes a second PCB adapter plate and a second Type-C male head disposed on the second PCB adapter plate, and the second end of the data line main body is electrically connected to the second Type-C male head through the second PCB adapter plate;
The public first unit of second Type-C still includes the digital isolation chip of setting on the second PCB keysets, and the digital isolation chip is used for keeping apart the SPI communication between public first of second Type-C and the data line main part. The second PCB adapter plate is provided with eight power data channels, namely a 5-volt power line, a 3.3-volt power line, a 5-volt grounding line, a 3.3-volt grounding line, a data receiving line, a data transmitting line, a chip selecting line and a clock line. The digital isolation chip comprises four paths of digital isolation channels, which are a data receiving line, a data transmitting line, a chip selecting line and a clock line respectively.
Still further, in an embodiment of the present invention, the second Type-C male is configured with a second shielding shell.
Still further, in the embodiment of the present invention, the main body of the data line is a five-core shielding line, which is a power line, a data transmission line, a data reception line, a chip selection line and a clock line, respectively.
Specifically, in the embodiment of the invention, a coaxial magnetic rotation position sensor chip AS5047P supporting an SPI interface is arranged on a PCB of a magnetic sensor, a filter capacitor and a resistor are added at a power supply end, a first TYPE-C female seat serving AS an external interface is also arranged on the PCB, and the coaxial magnetic rotation position sensor chip AS5047P and the sensor chip AS5047P follow an SPI communication protocol, so that the position detection of a motor is realized by matching the coaxial magnetic rotation position sensor chip AS5047P with a radial magnet, the magnet is opened, and the radial magnet is ensured. The fixed position of the magnet is on the rotor of the motor, and the magnetic field rotation center of the radial magnet is required to be at the center of the surface-mounted end face of the sensor chip.
The data line comprises a first TYPE-C male unit, a second TYPE-C male unit and a data line main body connected with the first TYPE-C male unit and the second TYPE-C male unit, the data line main body is provided with a 5-core shielding line which is a power line VCC, a data transmission line MOSI, a data receiving line MISO, a chip select line CSN and a clock line CLK respectively, SPI high-speed data communication is realized, a shielding layer is provided with a 6 th line and is fixed as a ground line, and the whole data line comprises a total external shielding structure. The first TYPE-C male head unit comprises a first PCB adapter plate and a first TYPE-C male head arranged on the first PCB adapter plate, 6 power data channels are respectively arranged on the first PCB adapter plate and are respectively a 5-volt power line, a 5-volt grounding line, a data receiving line, a data transmitting line, a chip selecting line and a clock line, and the first PCB adapter plate is connected with the first TYPE-C female seat through the first TYPE-C male head to realize SPI high-speed data communication. It is worth providing that the installation positions of the first TYPE-C male head and the first TYPE-C female seat can be exchanged, and the first TYPE-C male head is arranged on the first PCB adapter plate to reduce the volume of the first PCB adapter plate. The second TYPE-C male unit comprises a second PCB adapter plate and a second TYPE-C male head arranged on the second PCB adapter plate, 8 power data channels are respectively arranged on the second PCB adapter plate and are respectively a 5-volt power line, a 3.3-volt power line, a 5-volt ground line, a 3.3-ground line, a data receiving line, a data transmitting line, a chip selecting line and a clock line, the second PCB adapter plate is connected with a second TYPE-C female seat preset on a controller through the second TYPE-C male head, SPI high-speed data communication is achieved, and it is worth proposing that the installation positions of the second TYPE-C male head and the second TYPE-C female seat can be interchanged.
The second PCB adapter plate is also provided with a digital isolation chip ISO7241CDW, wherein the digital isolation chip ISO7241CDW comprises 4 paths of digital isolation channels which are a data transmission line MOSI, a data receiving line MISO, a chip selection line CSN and a clock line CLK respectively. The connection magnetic encoder end adopts 5VDC and 5VGND, and the connection controller end adopts 3.3VDC and 3.3VGND. The digital isolation chip is used for isolating SPI communication between the second Type-C male head and the data line main body. A four-channel digital isolation chip and a shielding structure are adopted to improve the anti-interference capability.
Although one or more embodiments of the present invention have been described above, it will be appreciated by those of ordinary skill in the art that the invention can be embodied in any other form without departing from the spirit or scope thereof. The above-described embodiments are therefore intended to be illustrative rather than limiting, and many modifications and substitutions will now be apparent to those of ordinary skill in the art without departing from the spirit and scope of the present invention as defined in the appended claims.
Claims (4)
1. An anti-interference magnetic encoder is characterized by comprising a magnetic sensor main body and a data line for realizing the electrical connection between the magnetic sensor main body and a remote controller;
The magnetic sensor main body comprises a PCB, a magnetic sensor chip and a first Type-C female seat which are arranged on the PCB, and a shielding shell covered on the PCB;
The first Type-C female seat and the magnetic sensor chip follow SPI communication protocol, the VBUS pin of the first Type-C female seat is connected with the VDD pin of the magnetic sensor chip, and the GND pin of the magnetic sensor chip and the GND pin of the Type-C female seat are connected to the same power supply ground;
The data line comprises a first Type-C male unit, a second Type-C male unit and a data line main body for connecting the first Type-C male unit and the second Type-C male unit, wherein the first Type-C male unit is used for being connected with the first Type-C female seat, and the second Type-C male unit is used for being connected with a second Type-C female seat which is preconfigured for the controller and isolating and forwarding transceiving data of the controller;
The magnetic sensor main body further comprises an RC filter circuit, and the RC filter circuit is connected in series between a VBUS pin of the first Type-C master seat and a VDD pin of the magnetic sensor chip;
The first Type-C male head unit comprises a first PCB adapter plate and a first Type-C male head arranged on the first PCB adapter plate, wherein a first end of the data line main body is electrically connected with the first Type-C male head through the first PCB adapter plate, and the first PCB adapter plate is provided with 6 power supply data channels which are respectively a 5-volt power supply line, a 5-volt grounding line, a data receiving line, a data transmitting line, a chip selecting line and a clock line;
the second Type-C male head unit comprises a second PCB adapter plate and a second Type-C male head arranged on the second PCB adapter plate, wherein the second end of the data line main body is electrically connected with the second Type-C male head through the second PCB adapter plate, and 8 power supply data channels are respectively a 5-volt power supply line, a 3.3-volt power supply line, a 5-volt grounding line, a 3.3 grounding line, a data receiving line, a data transmitting line, a chip selecting line and a clock line;
The data line main body is a five-core shielding line and is respectively a power line, a data transmission line, a data receiving line, a chip selection line and a clock line.
2. The tamper resistant magnetic encoder of claim 1, wherein the first Type-C male is configured with a first shield.
3. The anti-interference magnetic encoder of claim 1, wherein the second Type-C male unit further comprises a digital isolation chip disposed on the second PCB adapter plate, the digital isolation chip configured to isolate SPI communications between the second Type-C male and the data line body.
4. The tamper resistant magnetic encoder of claim 3, wherein the second Type-C male is configured with a second shield.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202211614200.7A CN115942730B (en) | 2022-12-15 | 2022-12-15 | An anti-interference magnetic encoder |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202211614200.7A CN115942730B (en) | 2022-12-15 | 2022-12-15 | An anti-interference magnetic encoder |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN115942730A CN115942730A (en) | 2023-04-07 |
| CN115942730B true CN115942730B (en) | 2025-07-11 |
Family
ID=86652256
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202211614200.7A Active CN115942730B (en) | 2022-12-15 | 2022-12-15 | An anti-interference magnetic encoder |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN115942730B (en) |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN205861327U (en) * | 2016-03-18 | 2017-01-04 | 群光电子(苏州)有限公司 | A kind of Intelligent Opto Sensors tester |
| CN212517829U (en) * | 2020-05-13 | 2021-02-09 | 安克创新科技股份有限公司 | Charging data line |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8587648B2 (en) * | 2004-06-01 | 2013-11-19 | SeeScan, Inc. | Self-leveling camera head |
| CN111813026A (en) * | 2020-07-28 | 2020-10-23 | 安徽鑫创源机器人科技有限公司 | ROS robot drive plate |
| CN214315104U (en) * | 2020-12-23 | 2021-09-28 | 华南理工大学 | Brushless DC motor driving device with magnetic encoder |
-
2022
- 2022-12-15 CN CN202211614200.7A patent/CN115942730B/en active Active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN205861327U (en) * | 2016-03-18 | 2017-01-04 | 群光电子(苏州)有限公司 | A kind of Intelligent Opto Sensors tester |
| CN212517829U (en) * | 2020-05-13 | 2021-02-09 | 安克创新科技股份有限公司 | Charging data line |
Also Published As
| Publication number | Publication date |
|---|---|
| CN115942730A (en) | 2023-04-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20150340872A1 (en) | Electrical connector parts for combining power delivery and signaling in inductively coupled connectors | |
| CN204258828U (en) | Realize Set Top Box and the module-integrated network interface circuit of EOC | |
| CN115942730B (en) | An anti-interference magnetic encoder | |
| CN219146053U (en) | Anti-interference magnetic encoder | |
| CN207148828U (en) | Three-wire system serial communication interface isolation circuit module | |
| JP7154320B2 (en) | Systems for energy transfer and data exchange between electronic devices | |
| CN115460025B (en) | Single-pair Ethernet power supply communication circuit and module | |
| CN115734062B (en) | Camera module and its connector PIN pin setting method | |
| CN207474878U (en) | A kind of novel RJ45 interfaces and USB interface pinboard | |
| CN211201449U (en) | Electromagnetic interference resistance's signal processing mechanism and intelligent lock | |
| CN207319794U (en) | A kind of I for strengthening antijamming capability2C buses | |
| CN201563154U (en) | RS485 communication circuit with isolating function | |
| CN107273330A (en) | Three-wire system serial communication interface isolation circuit module | |
| CN201742434U (en) | Three-wire feed communication system | |
| CN201623720U (en) | Embedded type interface board supporting POE and double power supply | |
| CN216527155U (en) | Data line for communication between two USB HOST interface devices | |
| CN208689571U (en) | A kind of multiplex roles circuit for photoelectric direct reading module | |
| CN202094891U (en) | Portable universal serial bus (USB)-optical fiber converter for serial communication | |
| CN219164565U (en) | Communication circuit and intelligent electric energy meter | |
| CN219018837U (en) | Photoelectric port automatic identification device and Ethernet equipment | |
| CN212542908U (en) | Composite connecting wire connecting structure | |
| CN219678450U (en) | Mining A/D conversion device | |
| CN112713916A (en) | Carrier communication circuit and cabinet-charger carrier communication system | |
| CN223182158U (en) | Multi-channel composite communication equipment and system | |
| CN223155475U (en) | PCIe transmission module based on optical communication |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| TA01 | Transfer of patent application right |
Effective date of registration: 20231129 Address after: 200233, Room 409, Building 1, No. 100 Qinzhou Road, Xuhui District, Shanghai Applicant after: Shanghai Numi Health Technology Co.,Ltd. Address before: Room 124, Podium Building 1, No. 3279, Sanlu Road, Minhang District, Shanghai, 201108 Applicant before: Shanghai Numi Technology Equipment Co.,Ltd. |
|
| TA01 | Transfer of patent application right | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |