CN109059752A - A kind of CAN bus based high-precision magnetic field detection and decoding circuit - Google Patents
A kind of CAN bus based high-precision magnetic field detection and decoding circuit Download PDFInfo
- Publication number
- CN109059752A CN109059752A CN201810912534.XA CN201810912534A CN109059752A CN 109059752 A CN109059752 A CN 109059752A CN 201810912534 A CN201810912534 A CN 201810912534A CN 109059752 A CN109059752 A CN 109059752A
- Authority
- CN
- China
- Prior art keywords
- magnetic field
- bus
- decoding
- field detection
- mcu
- 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
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01B—MEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
- G01B7/00—Measuring arrangements characterised by the use of electric or magnetic techniques
- G01B7/30—Measuring arrangements characterised by the use of electric or magnetic techniques for measuring angles or tapers; for testing the alignment of axes
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R33/00—Arrangements or instruments for measuring magnetic variables
- G01R33/02—Measuring direction or magnitude of magnetic fields or magnetic flux
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Condensed Matter Physics & Semiconductors (AREA)
- Transmission And Conversion Of Sensor Element Output (AREA)
- Arrangements For Transmission Of Measured Signals (AREA)
Abstract
The invention discloses a kind of CAN bus based high-precision magnetic field detection and decoding circuits, design bipolarity magnet steel and loaded in rudderpost, magnet steel face magnetic coding chip, coding chip measures rotating excitation field, and measurement result is sent to by main control chip MCU by dedicated SSC interface, the reception and decoding that magnetic field is completed by MCU obtain corresponding rudderpost rotation angle;MCU completes that digital signal is sent to servo control circuit by CAN bus control module in real time after resolving, and completes the closed-loop control of servo-system.The present invention, which uses, is based on magnetic field detection and decoded non-contact measurement, realizes the non-cpntact measurement of system, improves product functional reliability;CAN bus based communication mode substantially reduces the difficult point of circuit design, and circuit is made to be easier to realize in placement-and-routing, can be with the spatial volume of effectively save circuit board, while can effectively save circuit design cost.
Description
Technical field
The present invention relates to a kind of CAN bus based high-precision magnetic field detection and decoding circuits, are a kind of non-cpntact measurements
Rotating excitation field detection and the decoding circuit of angular displacement
Technical background
As servo mechanism is towards high-precision, highly reliable, digitlization, integrated direction development, so that sensor requirements are got over
Come higher, must have the features such as environmental suitability is strong, measurement is accurate, the linearity is high, make executing agency in real time to the flight of guided missile
Track is controlled.The digital transducer encoded currently based on magnetic is that own is straight by magnetic susceptibility technology there are apparent advantage
Output angle information is connect, contactless performance characteristics increase the wearability of sensor, improve product functional reliability, and angle
Degree precision height can directly apply the data of output without other external transformation, and multichannel node is counted by 2 buses
The difficult point that circuit design is substantially reduced according to transmission makes circuit be easier to realize in placement-and-routing, can be with effectively save circuit
The spatial volume of plate, at the same can effectively save circuit design cost, be conducive to the high-performance designs of servo-system.
Traditional angle measurement unit relies primarily on the design accuracy of resistor body, and brush contacts with each other with resistor body, obtains
Voltage is measured, obtains system perspective information indirectly, the precision and the linearity for the angle feed-back sensor that this mode is realized are low, directly
The levels of precision for affecting rudder system work is connect, and easily leads to and introduces nonlinear element in steering engine, is not suitable in high-precision rudder
It is applied in system.
The angle measurement unit that servo-system generally uses mainly has: rotary transformer, photoelectric encoder, Hall element with
And mechanical measuring quantity sensor etc..Rotary transformer needs to carry out R/D transformation, cost is generally higher, volume is larger and signal at
Reason periphery is vulnerable to interference, by larger limitation in terms of miniaturization and low cost aspect development;Photoelectric encoder output accuracy
Mainly by the accuracy guarantee of code-disc, also servo-system is made to increase volume, the manufacturing process for further increasing servo electrical machinery system is difficult
Degree and cost;Traditional potentiometer, major defect are that cannot obtain absolute angle information, and the CONTACT WITH FRICTION of brush and slip ring is significantly
Shorten its working life and reliability.The generally existing peripheral circuit of the angle measurement unit that these schemes are realized is complicated, smart
Spend the disadvantages of not high, environmental suitability is poor, reliability is insufficient.
Generally speaking, mainly there are following two points the shortcomings that the prior art:
1, measuring signal has stronger nonlinear characteristic, is easy to excite limit cycles oscillations.
2, measurement method is contact measurement, and analogue transmission is easily introduced too many levels error, increases system and controls difficulty, reliability
It is low, it is unsatisfactory for service life requirement.
Summary of the invention
The object of the present invention is to provide a kind of indirect measurement rotating excitation fields based on CAN bus communication, and complete high-precision
Magnetic field decoding solves analog potentiometer peripheral circuit complexity, misses to realize the circuit of angular displacement non-cpntact measurement and control
Difference ring section is more, brush wears the problems such as bringing system oscillation and application cost high for a long time.
The technical solution of the present invention is as follows:
A kind of CAN bus based high-precision magnetic field detection and decoding circuit, main thought be design bipolarity magnet steel simultaneously
Loaded in rudderpost, magnet steel face magnetic coding chip, coding chip measures rotating excitation field, and passing through dedicated SSC interface will
Measurement result is sent to main control chip MCU, and the reception and decoding in magnetic field are completed by MCU, obtains corresponding rudderpost rotation angle;
MCU completes that digital signal is sent to servo control circuit by CAN bus control module in real time after resolving, and completes servo-system
Closed-loop control.
It specifically includes: magnetic field detection chip (U2), magnetic field decoding and communication control module (U1), CAN bus communication control
Device (U3), communication impedance matching resistor (R1, R3, R4), magnetic field detection rate setting resistance (R2) and CAN bus build-out resistor
(R5);Magnetic field detection chip (U2) is connected to magnetic field decoding and communication control module (U1), resistance R1, R3, R4 by SSC interface
Impedance matching to communication line between the two;It completes that obtained magnetic core logical circuit deflection angle information is passed through CAN after magnetic field resolves
Bus control unit (U3) is sent to SERVO CONTROL controller in the form of bus frame, is finally completed the closed-loop control of system;Magnetic field
Decoding is internally integrated crystal oscillator with communication control module (U1).
Wherein, realize that the SSC of magnetic induction chip is communicated using the universaling I/O port of MCU.
The present invention, which uses, is based on magnetic field detection and decoded non-contact measurement, realizes the non-cpntact measurement of system,
Improve product functional reliability;CAN bus based communication mode substantially reduces the difficult point of circuit design, makes circuit in cloth
It is easier to realize when office's wiring, can be with the spatial volume of effectively save circuit board, while it can effectively save circuit design cost.
Detailed description of the invention
Fig. 1 is high-precision magnetic field detection and decoding circuit structural schematic diagram of the invention.
Specific embodiment
The present invention is described in detail below with reference to attached drawing.
The present invention is based on such a principles, design a bipolarity magnet steel and are loaded in rudderpost, magnet steel face magnetic coding
Chip, coding chip measure rotating excitation field, and measurement result is sent to main control chip MCU by dedicated SSC interface,
The reception and decoding that magnetic field is completed by MCU obtain corresponding rudderpost rotation angle;MCU completes to pass through digital signal after resolving
CAN bus control module is sent to servo control circuit in real time, completes the closed-loop control of servo-system.
As shown in Figure 1, the present invention is such a indirect measurement rotating excitation field based on CAN bus communication, and complete height
Precision magnetic field decoding, to realize the circuit of angle displacement measurement and control.It specifically includes: magnetic field detection chip (U2), magnetic field solution
Code with communication control module (U1), CAN bus communication controler (U3), communicate impedance matching resistor (R1, R3, R4), magnetic field inspection
Resistance (R2), CAN bus build-out resistor (R5) is arranged in the rate that tests the speed.Magnetic field detection chip (U2) is connected to magnetic field by SSC interface
Decoding and communication control module (U1), complete the high-acruracy survey and decoding in magnetic field, while call duration time, core can easily be arranged
Piece ID number and progress zero-bit change, the impedance matching of resistance R1, R3, R4 to communication line between the two;Complete magnetic field solution
Obtained magnetic core logical circuit deflection angle information is sent to SERVO CONTROL in the form of bus frame CAN controller (U3) after calculation
Controller is finally completed the closed-loop control of system.Magnetic field decoding is internally integrated crystal oscillator with communication control module (U1), eliminates outer
Portion pierce circuit, it is easy to use, and realize miniaturization.The advantages of designing in this way is the measurement and solution for realizing rotating excitation field
Code has obtained high-precision deflection angle information, and measurement method is cordless, is passed after measuring signal decoding by bus
It is defeated;The circuit components of realization are common device, not only at low cost, and structure is simple, and functional reliability is high, the service life is long, are improved
Versatility and servo-system functional reliability based on magnetic field decoding angle displacement measurement circuit.It can be responded by bus different
Order, to realize the change and calibration of sensor ID number, commitment defini interval time and system zero-bit.
Magnetosensitive sense chip is connected with MCU, obtains the information such as induction chip angle by SSC interface.U2 model TLE5012
It is a angular transducer chip based on GMR principle, favour stone full-bridge circuit measures and chip package table in 3600 ranges
The parallel magnetic direction θ in face, full-bridge circuit can eliminate the influence of temperature with amplified signal.The output voltage of two Wheatstone bridges
X, y, the cosine value and sine value chip interior processing circuit for respectively representing θ calculate θ, θ are converted into 15 digits according to x, y
Word amount is stored in angle value register AVAL (angle val-ue register), and angle value digital quantity and θ are in segmented line
Sexual intercourse:
1) when the value of AVAL is in 0~0x3FFF, θ is between 0~179.99 °;
2) when the value of AVAL is in 0x7FFF~0x4000, θ is between 0.0l~-180 °.
Induction chip angular transducer is based on iGMR technology, detectable to be parallel to the variation of 360 ° of package surface magnetic field.It can answer
It is detected for angular position in automobile and industrial circle.Induction chip is internally integrated angle calculation module, can be by original value
(sine and cosine) exports absolute angle after carrying out digital processing.Integrated automatic Calibration and temperature compensation function, in temperature model
It encloses and can achieve 0.1 ° of precision in life cycle.Automotive grade certification, can work in -40 DEG C to 150 DEG C ranges.Induction chip tool
Standby extremely accurate angular resolution (15bit) and quickly signal handling capacity and shorter delay/turnover rate, it is extremely suitable
Close the rotor-position in accurate measurement high dynamic application.Induction chip has advanced diagnostic function and security feature simultaneously, really
Product high reliability is protected.
U1 is C8051F506, the MCU fully-integrated mixed signal SOC micro controller unit, has electrification reset in piece
Circuit, VDD monitor, WatchDog Timer and clock oscillator.The controller has the internal data RAM of 4352 bytes,
32kB in-system programmable components FLASH, can be used for non-volatile data storage, and scene is allowed to update 8051 firmwares.User software
There is complete control to all peripheral hardwares, any one or all peripheral hardwares can be turned off to save power consumption.Device temperature range be-
40 °~125 °, supply voltage is 1.8V~5.25V, and is internally integrated crystal oscillator.
U3 is SN55HVD251, is a CAN bus converter, has strong real-time, long transmission distance, anti-interference ability
By force, the advantages that at low cost, while being used simply using the device that CAN bus is developed.
The present invention is rotating excitation field detection and the decoding circuit of a kind of non-cpntact measurement angular displacement, realizes the non-of angle and connects
Touching measurement, while data processing and bus communication are carried out using high performance controller, realize system high-precision, it is highly reliable,
Non-contact angle/placement measurement and control.
When it is implemented, coding chip measures rotating excitation field, and measurement result is sent by dedicated SSC interface
Main control chip MCU is given, the reception and decoding in magnetic field are completed by MCU, obtains corresponding rudderpost rotation angle;MCU is completed after resolving
Digital signal is sent to servo control circuit by CAN bus control module in real time, completes the closed-loop control of servo-system.Solution
Determined traditional angle displacement measurement the shortcomings that, tradition machinery formula measurement method is converted into the detection to rotating excitation field, is greatly improved
Measurement accuracy and reliability, while the circuit design is novel, it is compact-sized, to promote servo mechanism miniaturization, digitlization,
Combine design has positive effect.
It is above specific application example of the invention, there are other embodiments of the invention, all to use equivalent replacement
Or the technical solution that equivalent transformation is formed, it all falls within protection scope of the presently claimed invention.
Claims (3)
1. a kind of CAN bus based high-precision magnetic field detection and decoding circuit, it is characterised in that: design bipolarity magnet steel simultaneously fills
In rudderpost, magnet steel face magnetic coding chip, coding chip measures rotating excitation field, and will be surveyed by dedicated SSC interface
Amount result is sent to main control chip MCU, and the reception and decoding in magnetic field are completed by MCU, obtains corresponding rudderpost rotation angle;MCU
It completes that digital signal is sent to servo control circuit by CAN bus control module in real time after resolving, completes servo-system
Closed-loop control.
2. CAN bus based high-precision magnetic field detection according to claim 1 and decoding circuit, it is characterised in that packet
Include: magnetic field detection chip (U2), magnetic field decoding with communication control module (U1), CAN bus communication controler (U3), communicate impedance
Build-out resistor (R1, R3, R4), magnetic field detection rate setting resistance (R2) and CAN bus build-out resistor (R5);Magnetic field detection chip
(U2) magnetic field decoding and communication control module (U1) are connected to by SSC interface, resistance R1, R3, R4 to communicate between the two
The impedance matching of route;Complete magnetic field resolve after by obtained magnetic core logical circuit deflection angle information by CAN controller (U3) with
The form of bus frame is sent to SERVO CONTROL controller, is finally completed the closed-loop control of system;Magnetic field decoding and communication control mould
Block (U1) is internally integrated crystal oscillator.
3. CAN bus based high-precision magnetic field detection according to claim 2 and decoding circuit, it is characterised in that: make
The SSC communication of magnetic induction chip is realized with the universaling I/O port of MCU.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810912534.XA CN109059752A (en) | 2018-08-10 | 2018-08-10 | A kind of CAN bus based high-precision magnetic field detection and decoding circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810912534.XA CN109059752A (en) | 2018-08-10 | 2018-08-10 | A kind of CAN bus based high-precision magnetic field detection and decoding circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109059752A true CN109059752A (en) | 2018-12-21 |
Family
ID=64683556
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810912534.XA Pending CN109059752A (en) | 2018-08-10 | 2018-08-10 | A kind of CAN bus based high-precision magnetic field detection and decoding circuit |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109059752A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111722156A (en) * | 2020-06-29 | 2020-09-29 | 深圳市优必选科技股份有限公司 | Detection circuit and detection method for positive and negative electrodes of brush motor and steering engine |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005043224A (en) * | 2003-07-22 | 2005-02-17 | Yazaki Corp | Rudder angle detecting device |
CN102654567A (en) * | 2011-03-01 | 2012-09-05 | 霍尼韦尔国际公司 | 360-degree angle sensor |
CN202563075U (en) * | 2012-05-29 | 2012-11-28 | 天津职业技术师范大学 | Linear Hall sensor node module with positioning function |
CN204740029U (en) * | 2015-07-24 | 2015-11-04 | 徐继文 | A magnetism navigation sensor for AGV car |
CN106546163A (en) * | 2015-09-23 | 2017-03-29 | 上海世德子汽车零部件有限公司 | The detection correction system of magneto resistive angular sensor |
-
2018
- 2018-08-10 CN CN201810912534.XA patent/CN109059752A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005043224A (en) * | 2003-07-22 | 2005-02-17 | Yazaki Corp | Rudder angle detecting device |
CN102654567A (en) * | 2011-03-01 | 2012-09-05 | 霍尼韦尔国际公司 | 360-degree angle sensor |
CN202563075U (en) * | 2012-05-29 | 2012-11-28 | 天津职业技术师范大学 | Linear Hall sensor node module with positioning function |
CN204740029U (en) * | 2015-07-24 | 2015-11-04 | 徐继文 | A magnetism navigation sensor for AGV car |
CN106546163A (en) * | 2015-09-23 | 2017-03-29 | 上海世德子汽车零部件有限公司 | The detection correction system of magneto resistive angular sensor |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111722156A (en) * | 2020-06-29 | 2020-09-29 | 深圳市优必选科技股份有限公司 | Detection circuit and detection method for positive and negative electrodes of brush motor and steering engine |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106625020B (en) | High speed and super precision machine tool chief axis, electro spindle incremental magnetic induction type bus type encoder | |
CN102624375B (en) | The signal processing apparatus of compatible with multiple encoder and resolver interface | |
US11248971B2 (en) | Magnetic field torque and/or angle sensor | |
CN104634367B (en) | A kind of magneto-electric absolute position transducer of Large central aperture structure and the method for measurement absolute position | |
CN102879032A (en) | Dynamic measuring device for angle measurement precision | |
CN101706250A (en) | Absolute intersection angle measuring device with large scale and high accuracy | |
CN106767956A (en) | High speed and super precision machine tool chief axis magnetic induction absolute value encoder and its measurement gear | |
CN102506698A (en) | Contactless corner-torque sensor | |
CN206578635U (en) | High speed and super precision machine tool chief axis, electro spindle incremental magnetic induction type bus type encoder | |
CN109059752A (en) | A kind of CAN bus based high-precision magnetic field detection and decoding circuit | |
CN102879017B (en) | Novel double-speed coarse and fine combination system for resolver-to-digital converter | |
CN107367226A (en) | Digital angle sensor | |
CN203551045U (en) | Liquid level sensor | |
CN108873770B (en) | AS5048A magnetic encoder control method and system based on state machine | |
CN206583466U (en) | High speed and super precision machine tool chief axis magnetic induction absolute value encoder and its measurement gear | |
CN203811182U (en) | FPGA-based control device for analog quantity output of fiber optic gyroscope | |
CN206847640U (en) | The angular displacement sensor of mechanical rotating shaft on-line monitoring | |
CN105203088B (en) | A kind of three-dimensional magnetic induction type magnetic compass | |
CN202974319U (en) | Dynamic measuring device for angle measurement precision | |
CN202694083U (en) | Signal processing apparatus compatible with a plurality of encoder and rotary transformer interface | |
CN103727872A (en) | Hall type angle displacement measurement device | |
EP4248174B1 (en) | A magnetic sensing device | |
CN207763960U (en) | A kind of phase measurement device of diesel engine | |
CN206683655U (en) | A kind of intelligentized calibrating three-axle magnetic sensor system | |
CN114157102A (en) | Angle measuring method, system and device of motor and computer readable storage medium |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181221 |