CN115942730A - Anti-interference magnetic encoder - Google Patents
Anti-interference magnetic encoder Download PDFInfo
- Publication number
- CN115942730A CN115942730A CN202211614200.7A CN202211614200A CN115942730A CN 115942730 A CN115942730 A CN 115942730A CN 202211614200 A CN202211614200 A CN 202211614200A CN 115942730 A CN115942730 A CN 115942730A
- Authority
- CN
- China
- Prior art keywords
- type
- magnetic sensor
- pcb
- male head
- line
- 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.)
- Pending
Links
- 238000004891 communication Methods 0.000 claims abstract description 12
- 230000005540 biological transmission Effects 0.000 claims abstract description 8
- 238000002955 isolation Methods 0.000 claims description 14
- 230000002093 peripheral effect Effects 0.000 claims description 3
- 239000003990 capacitor Substances 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 235000015429 Mirabilis expansa Nutrition 0.000 description 2
- 244000294411 Mirabilis expansa Species 0.000 description 2
- 238000000034 method Methods 0.000 description 2
- 235000013536 miso Nutrition 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000001939 inductive effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
Images
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, wherein the data line is used for electrically connecting the magnetic sensor main body and the controller; 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 covering the PCB; follow SPI communication protocol between female seat of first Type-C and the magnetic sensor chip, the data line includes the public first unit of first Type-C that links to each other with the female seat of first Type-C, be used for linking to each other with the female seat of the second Type-C of the pre-configuration of controller and keep apart and the public first unit of second Type-C that forwards and connect the data line main part of the two to the receiving and dispatching data of controller. The magnetic sensor body also 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 high-speed data transmission process of the SPI of the existing magnetic encoder can be solved.
Description
Technical Field
The invention belongs to the field of encoders, and particularly relates to an anti-interference magnetic encoder.
Background
An encoder is a device that compiles, converts, and formats signals (e.g., bitstreams) or data into a form of signals that can be communicated, transmitted, and stored. The encoder, in principle, has the following categories: photoelectric encoders, magnetic encoders, capacitive encoders, inductive encoders, and the like. Magnetic encoders are applied more and more in the market as emerging technologies, and data interfaces for motor position sensing in the market are divided into: ABZ interface, PWM interface, I2C interface, SPI interface etc. the position precision of sensor output under the different interfaces is different again, relatively speaking, the magnetic encoder position output precision of SPI interface is the highest, and the sensor of no matter which kind of interface all can receive electromagnetic interference after the motor circular telegram, and wherein the sensor of SPI and I2C interface is sensitive to electromagnetic interference most. In the prior art, a shielding system is basically adopted to solve the problem that a magnetic encoder is subjected to electromagnetic interference. The first solution is to use a customized shielded wire, but this method has a problem of inconvenient replacement of the shielded wire. The other scheme is to adopt an M12 interface, and then the scheme has a problem of large 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 process of high-speed data transmission of the SPI of the existing magnetic encoder 。
To achieve the above objects, the present invention provides an anti-jamming magnetic encoder.
The invention provides an anti-interference magnetic encoder which comprises a magnetic sensor body and a data line, wherein the data line is used for realizing the electrical connection between the magnetic sensor body and a remote controller;
the magnetic sensor main body comprises a PCB (printed circuit board), a magnetic sensor chip and a first Type-C female seat which are arranged on the PCB, and a shielding shell which covers the PCB;
an SPI (serial peripheral interface) communication protocol is followed between the first Type-C female seat and the magnetic sensor chip, a VBUS (voltage-source bus) pin of the first Type-C female seat is connected with a VDD (voltage-source drain) pin of the magnetic sensor chip, and a GND (ground) pin of the magnetic sensor chip and a GND pin of the Type-C female seat are connected to the same power ground;
the data line comprises a first Type-C male head unit, a second Type-C male head unit and a data line main body for connecting the first Type-C male head unit and the second Type-C male head unit, wherein the first Type-C male head unit is used for being connected with the first Type-C female seat, the second Type-C male head unit is used for being connected with a second Type-C female seat which is configured in advance of the controller, and isolating and forwarding the receiving and sending data of the controller;
the magnetic sensor main body further comprises an RC filter circuit, and the RC filter circuit is connected between a VBUS pin of the first Type-C female socket and a VDD pin of the magnetic sensor chip in series.
Optionally, the first Type-C male connector unit comprises a first PCB pinboard and a first Type-C male connector arranged on the first PCB pinboard, and the first end of the data line main body is electrically connected with the first Type-C male connector through the first PCB pinboard.
Optionally, the first Type-C male is configured with a first shielding shell.
Optionally, the second Type-C male connector unit includes a second PCB pinboard and a second Type-C male connector disposed on the second PCB pinboard, and the second end of the data line main body is electrically connected to the second Type-C male connector through the second PCB pinboard;
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 the second Type-C male head from SPI communication between the data line main bodies.
Optionally, the second Type-C male connector is configured with a second shielding shell.
Optionally, the data line main body is a five-core shielding line, and the data line main body is a power line, a data transmitting line, a data receiving line, a chip selection line and a clock line.
The invention has the beneficial effects that:
compared with the existing magnetic encoder, the anti-interference magnetic encoder provided by the invention has the advantages that the anti-interference capability is improved by adopting the four-channel digital isolation chip and the shielding structure, the magnetic sensor main body is connected with the controller through the data line of the scheme, the SPI high-speed data transmission is realized, the interference of the output signal of the magnetic encoder is greatly reduced, and the problems of inconvenience in replacement of the shielding line and the size of the interface in the current shielding scheme in the market are solved.
According to the above contents, the anti-interference magnetic encoder of the invention can effectively solve the problems of inconvenient replacement of the shielding wire and large interface in order to shield electromagnetic interference as much as possible in the SPI high-speed data transmission process of the existing magnetic encoder.
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 reference to the following description taken in conjunction with the accompanying drawings, in which like or similar reference numerals identify like or similar parts throughout the figures.
FIG. 1 illustrates a functional block diagram of a tamper resistant magnetic encoder of an embodiment of the present invention.
Fig. 2 shows a diagram of the electrical connections between associated power supply filter capacitors and resistors in a magnetic sensor chip in accordance with an embodiment of the present invention.
Detailed Description
In order that those skilled in the art can 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. Obviously, the one or more embodiments of the present invention described below are only one or more of specific ways to implement the technical solutions of the present invention, and are not exhaustive. It should be understood that the technical solutions of the present invention can 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 can be obtained by a person skilled in the art without making any inventive step on the basis of one or more embodiments of the present invention, shall fall within the scope of protection of the present invention.
Example (b): FIG. 1 illustrates a functional block diagram of a tamper resistant magnetic encoder of an embodiment of the present invention. Referring to fig. 1, the anti-interference magnetic encoder of the embodiment of the present invention includes a magnetic sensor body and a data line for electrically connecting the magnetic sensor body to 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 which covers the PCB;
the first Type-C female seat and the magnetic sensor chip follow an SPI (serial peripheral interface) communication protocol, a VBUS (voltage-variable bus) pin of the first Type-C female seat is connected with a VDD (voltage-VDD) pin of the magnetic sensor chip, and a GND pin of the magnetic sensor chip and a GND pin of the Type-C female seat are connected to the same power ground;
the data line comprises a first Type-C male head unit, a second Type-C male head unit and a data line main body for connecting the first Type-C male head unit and the second Type-C male head unit, wherein the first Type-C male head unit is used for being connected with a first Type-C female seat, the second Type-C male head unit is used for being connected with a second Type-C female seat which is configured in advance of the controller, and isolating and forwarding receiving and transmitting data of the controller;
the magnetic sensor main part also comprises an RC filter circuit, and the RC filter circuit is connected between a VBUS pin of the first Type-C female seat and a VDD pin of the magnetic sensor chip in series.
Specifically, in the embodiment of the present invention, referring to fig. 2, the rc filter circuit includes a resistor and a capacitor; the first end of resistance links to each other with the VBUS pin of the female seat of first Type-C, and the common terminal of the second end of resistance and the first end of electric capacity links to each other with the VDD pin of magnetic sensor chip, and the second end of electric capacity is connected into power ground, reduces the input ripple of power as far as possible through the RC wave filter, and wherein, the specific pin of input of the power that the In is connected can change, the power input pin of the sensor chip that the OUT is connected. Different numbers exist for specific chip pins.
Further, in the embodiment of the present invention, the first Type-C male plug unit includes a first PCB pinboard and a first Type-C male plug disposed on the first PCB pinboard, and the first end of the data line main body is electrically connected to the first Type-C male plug through the first PCB pinboard. The first PCB adapter plate is provided with six power and data channels which are respectively a 5-volt power line, a 5-volt grounding line, a data receiving line, a data sending line, a chip selection line and a clock line.
Still further, in the embodiment of the present invention, the first Type-C male connector is configured with a first shielding shell.
Furthermore, in the embodiment of the present invention, the second Type-C male head unit includes a second PCB pinboard and a second Type-C male head disposed on the second PCB pinboard, and the second end of the data line main body is electrically connected to the second Type-C male head through the second PCB pinboard;
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. The second PCB pinboard is provided with eight power data channels which are respectively 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 sending line, a chip selection line and a clock line. The digital isolation chip comprises four digital isolation channels which are respectively a data receiving line, a data transmitting line, a chip selection line and a clock line.
Still further, in the embodiment of the present invention, the second Type-C male connector is configured with a second shielding shell.
Still further, in the embodiment of the present invention, the data line main body is a five-core shielded line, which is a power line, a data transmitting line, a data receiving line, a chip selecting line, and a clock line.
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 power supply end is added with a filter capacitor and a resistor, a first TYPE-C female seat serving AS an external interface is further arranged on the PCB and conforms to an SPI communication protocol with the sensor chip AS5047P, the coaxial magnetic rotation position sensor chip AS5047P is matched with a radial magnet to realize motor position detection, the magnet is selected to be open, and the radial magnet is ensured. The magnet is fixed to the rotor of the motor, and the rotation center of the magnetic field 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 head unit, a second TYPE-C male head unit and a data line main body for connecting the first TYPE-C male head unit and the second TYPE-C male head unit, the data line main body is a 5-core shielding line and is respectively a power line VCC, a data sending line MOSI, a data receiving line MISO, a chip selection line CSN and a clock line CLK, SPI high-speed data communication is achieved, a shielding layer is used as a 6 th line and is determined as a ground line, and the whole data line comprises a total outer shielding structure. Public first unit of first TYPE-C includes first PCB keysets and sets up the public head of first TYPE-C on first PCB keysets, and first PCB keysets is provided with 6 power data channel and is 5 power cords, 5 earth connections that lie prostrate respectively, the data receiving line, data transmission line, piece selection line and clock line, and first PCB keysets links to each other with the female seat of first TYPE-C through public head of first TYPE-C, realizes SPI high-speed data communication. It is worth proposing that the mounting position of the public head of first TYPE-C and the female seat of first TYPE-C also can be exchanged, and what this embodiment provided is optimal scheme, and the public head of first TYPE-C sets up and reduces first PCB keysets volume at first PCB keysets purpose. Public first unit of second TYPE-C includes second PCB keysets and the public head of second TYPE-C of setting on the second PCB keysets, the second PCB keysets is provided with 8 power data channel and is 5 power cords that lie prostrate respectively, 3.3 lie prostrate power cords, 5 lie prostrate earth connection, 3.3 earth connections, the data receiving line, the data transmission line, chip select line and clock line, the second PCB keysets passes through the public head of second TYPE-C and links to each other with the female seat of second TYPE-C that sets up on the controller in advance, realize SPI high-speed data communication, it is worth proposing to mention that, the mounted position of the public head of second TYPE-C and the female seat of second TYPE-C also can exchange, what this embodiment proposed is optimal scheme, the public head of second TYPE-C sets up on the second PCB keysets purpose of reducing the second PCB keysets volume.
The second PCB adapter plate is also provided with a digital isolation chip ISO7241CDW, and the digital isolation chip ISO7241CDW comprises 4 paths of digital isolation channels which are respectively a data transmission line MOSI, a data receiving line MISO, a chip selection line CSN and a clock line CLK. The magnetic encoder end is connected by adopting 5VDC and 5VGND, and the controller end is connected by adopting 3.3VDC and 3.3VGND. The digital isolation chip is used for isolating SPI communication between the second Type-C male connector and the data line main body. And a four-channel digital isolation chip and a shielding structure are adopted to improve the anti-interference capability.
While one or more embodiments of the invention have been described, it will be appreciated by those skilled in the art that the invention can be embodied in many other forms without departing from the spirit or scope of the invention. Accordingly, the above-described embodiments are intended to be illustrative, not limiting, and many modifications and alterations may be apparent to those of ordinary skill in the art without departing from the spirit and scope of the invention, as defined by the following claims.
Claims (6)
1. An anti-interference magnetic encoder is characterized by comprising a magnetic sensor body and a data line for realizing the electrical connection between the magnetic sensor body and a remote controller;
the magnetic sensor main body comprises a PCB (printed circuit board), a magnetic sensor chip and a first Type-C female seat which are arranged on the PCB, and a shielding shell which covers the PCB;
the first Type-C female seat and the magnetic sensor chip follow an SPI (serial peripheral interface) communication protocol, a VBUS (voltage-source bus) pin of the first Type-C female seat is connected with a VDD (voltage-source bus) pin of the magnetic sensor chip, and a GND (ground) pin of the magnetic sensor chip and a GND pin of the Type-C female seat are connected to the same power ground;
the data line comprises a first Type-C male head unit, a second Type-C male head unit and a data line main body for connecting the first Type-C male head unit and the second Type-C male head unit, wherein the first Type-C male head unit is used for being connected with the first Type-C female seat, and the second Type-C male head unit is used for being connected with a second Type-C female seat which is configured in advance of the controller and used for isolating and forwarding the receiving and sending data of the controller;
the magnetic sensor main body further comprises an RC filter circuit, and the RC filter circuit is connected between a VBUS pin of the first Type-C female socket and a VDD pin of the magnetic sensor chip in series.
2. The anti-interference magnetic encoder of claim 1, wherein the first Type-C male head unit comprises a first PCB pinboard and a first Type-C male head arranged on the first PCB pinboard, and the first end of the data line body is electrically connected to the first Type-C male head through the first PCB pinboard.
3. The anti-jamming magnetic encoder according to claim 2, wherein the first Type-C male head is configured with a first shielding shell.
4. The anti-jamming magnetic encoder according to claim 1, wherein the second Type-C male head unit includes a second PCB pinboard and a second Type-C male head disposed on the second PCB pinboard, and the second end of the data line body is electrically connected to the second Type-C male head through the second PCB pinboard;
the second Type-C male connector unit further comprises a digital isolation chip arranged on the second PCB adapter plate, and the digital isolation chip is used for isolating the second Type-C male connector from SPI communication between the data line main bodies.
5. The tamper-resistant magnetic encoder of claim 4, wherein the second Type-C male head is configured with a second shielding shell.
6. The anti-jamming magnetic encoder according to claim 1, wherein the data line body is a five-core shield line, which is a power line, a data transmission line, a data reception line, a chip selection line, and a clock line.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211614200.7A CN115942730A (en) | 2022-12-15 | 2022-12-15 | Anti-interference magnetic encoder |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211614200.7A CN115942730A (en) | 2022-12-15 | 2022-12-15 | Anti-interference magnetic encoder |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115942730A true CN115942730A (en) | 2023-04-07 |
Family
ID=86652256
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211614200.7A Pending CN115942730A (en) | 2022-12-15 | 2022-12-15 | Anti-interference magnetic encoder |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115942730A (en) |
-
2022
- 2022-12-15 CN CN202211614200.7A patent/CN115942730A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6541878B1 (en) | Integrated RJ-45 magnetics with phantom power provision | |
KR101578472B1 (en) | Systems and methods for duplex communication | |
CN107580701A (en) | Apparatus and method for providing reconfigurable two-way front end interface | |
CN102377088B (en) | Audio signal receiving and transferring device | |
US20150340872A1 (en) | Electrical connector parts for combining power delivery and signaling in inductively coupled connectors | |
CN102708390A (en) | RFID tag and electronic device equipped with RFID tag | |
CN115942730A (en) | Anti-interference magnetic encoder | |
CN201251760Y (en) | Power supply device of direct current power supply capable of outputting correct voltage according to electrical equipment | |
CN219146053U (en) | Anti-interference magnetic encoder | |
CN207234109U (en) | Data cable with audio-frequency function | |
CN207474878U (en) | A kind of novel RJ45 interfaces and USB interface pinboard | |
CN207319794U (en) | A kind of I for strengthening antijamming capability2C buses | |
CN201252310Y (en) | Alternating current power supply distributor with a plurality of direct current power supply outputs and USB interfaces | |
WO2008114098A1 (en) | Transferring antenna signals via digital interfaces | |
CN212542908U (en) | Composite connecting wire connecting structure | |
CN100379117C (en) | Electronic device capable of raising charging current and charger thereof | |
JP2002528827A (en) | Data transmission equipment | |
CN201742434U (en) | Three-wire feed communication system | |
CN103119801B (en) | Modular interface systems and methods | |
CN200996972Y (en) | Multi-charge ratio and single-phase active electric-energy meter | |
CN216527155U (en) | Data line for communication between two USB HOST interface devices | |
CN105682360B (en) | High-frequency model and mobile terminal | |
JP2525751B2 (en) | Interface Module | |
CN219164565U (en) | Communication circuit and intelligent electric energy meter | |
CN115133958A (en) | Repeater for connecting two-core data cable and data connecting device |
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 |