Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for receiving data of absolute encoder through STM32 microcontroller

An absolute encoder and microcontroller technology, applied in program control, computer control, general control system, etc., can solve the problems of complex hardware and software development, expensive, difficult to completely replace the SSI communication method, etc., to achieve convenient acceptance and reading Easy to use, low cost, simple effect

Inactive Publication Date: 2019-05-28
WUHU HIT ROBOT TECH RES INST
View PDF4 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although the emerging bus-type absolute encoder has the advantages of simple connection and strong versatility, it is expensive, and the development of hardware and software is complicated, so it is difficult to completely replace the SSI communication method

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for receiving data of absolute encoder through STM32 microcontroller
  • Method for receiving data of absolute encoder through STM32 microcontroller

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0016] The specific implementation manner of the present invention will be described in further detail below by describing the best embodiment with reference to the accompanying drawings.

[0017] Such as figure 1 As shown, the solution is implemented on the stm32F207ZGT6 board, the software development is in the keil5 integrated environment, and the DDK uses keil.stm32f2xx_DFP.1.0.7.pdsc. In terms of hardware, the 422 chip SN75176A with both transceiver functions is used, and the circuit is simple. The absolute encoder is a Sick AHM36A-S3PC013x12 with a total resolution of 25 bits. With a compact size of only 36mm and a special rotatable plug / cable outlet, this series of encoders is ideal for applications where installation space is limited.

[0018] Ssi adopts a synchronous communication mode, so that the baud rate of the communication can be self-adapted. In the occasions that require high-speed real-time control, a high-speed synchronous clock is used to improve the data ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method for receiving data of an absolute encoder through an STM32 microprocessor. An SSI is adopted for the absolute encoder to output collected data, the absolute encoder comprises two chips 422 with a data transceiving function, a data output port of the absolute encoder is connected with a data input port of a single-chip microcomputer through the chips 422, and a pulse output port of the single-chip microcomputer is connected with a clock interface of the absolute encoder through the chips 422; the microprocessor outputs pulse signals through the pulse output portand sends the pulse signals into the absolute encoder via the chips 422, the absolute encoder sends the data of the encoder at rising edges of pulses, and the single-chip microcomputer collects the data sent from the encoder at the rising edges of the signals according to the output pulse signals. The method has the advantages that data transmission and reading can be controlled through the cooperation of the chips 422 and the output pulse signals on hardware, the data of the absolute encoder with the ssi is conveniently read at the stm32 microprocessor, and the method is easy to implement, low in cost and capable of conveniently receiving and reading the data.

Description

technical field [0001] The invention relates to the field of data transmission and reading, in particular to a method for STM32 to receive data from an absolute encoder with an SSI interface. Background technique [0002] An encoder is a device that converts angular displacement or linear displacement into an electrical signal, and is divided into absolute value type and incremental type. At present, the price of an absolute value encoder is about 4 times that of an incremental encoder, and 70% of the applications in the domestic market are relatively economical incremental encoders. In high-precision mechanical equipment or heavy industries such as steel, ports, and hoisting, absolute encoders are used in more cases due to relatively high requirements for measurement accuracy. In these heavy industry applications, due to the relatively harsh working conditions, the requirements for the encoder's shock and vibration resistance are relatively high. [0003] The absolute enc...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G05B19/042
Inventor 侯婷婷万立浩陈双罗海南伍永健林振辉李想
Owner WUHU HIT ROBOT TECH RES INST
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products