Method for outputting UVW signal in incremental encoder IC

文档序号:1085487 发布日期:2020-10-20 浏览:13次 中文

阅读说明:本技术 一种增量式编码器ic中输出uvw信号的方法 (Method for outputting UVW signal in incremental encoder IC ) 是由 张超 汪坚雄 胡枭 于 2020-07-09 设计创作,主要内容包括:本发明公开了一种增量式编码器IC中输出UVW信号的方法,包含一种能同时输出U、V和W信号的增量式编码器IC,编码器由增量信号产生模块、UVW信号产生模块,输入控制模块、模式选择模块和输出驱动模块组成。输入控制模块通过判断电机状态和信号反馈,配置模式选择,驱动增量信号或UVW信号输出。本发明中,增量式编码器IC中输出UVW信号的方法通过复用增量式编码器的输出接口,输出U、V和W信号,在初始上电时,使无刷电机系统确定电机控制线圈通电的顺序及方向。提高了增量式编码器的兼容性,同时极大地改善了电机启动时的抖动和噪声。该方法可应用于电机控制,电机传感等领域。(The invention discloses a method for outputting UVW signals in an incremental encoder IC, which comprises the incremental encoder IC capable of simultaneously outputting U, V and W signals, wherein the encoder consists of an incremental signal generating module, a UVW signal generating module, an input control module, a mode selection module and an output driving module. The input control module is used for configuring mode selection and driving output of an incremental signal or UVW signal by judging the state of the motor and signal feedback. In the invention, the method for outputting the UVW signal in the incremental encoder IC outputs U, V and W signals through the output interface of the multiplexing incremental encoder, and when the brushless motor system is initially electrified, the sequence and the direction of the electrification of the control coil of the motor are determined. The compatibility of the incremental encoder is improved, and meanwhile, the jitter and the noise of the motor during starting are greatly improved. The method can be applied to the fields of motor control, motor sensing and the like.)

1. A method of outputting a UVW signal in an incremental encoder IC, comprising the steps of:

mode selection: gating UVW coding signals or incremental coding signals through mode selection;

output driving: when the UVW signal is gated, the multiplexing incremental signal interface outputs the UVW signal and drives the motor control system.

2. The method of claim 1, further comprising an input control comprising:

the method comprises the steps that an incremental encoder IC collects angle information of a motor and encodes the angle information according to a motor encoding format to form ABZ and UVW encoding signals;

and controlling the mode selection module according to the power-on state and the feedback information of the motor control system.

3. The method as claimed in claim 2, wherein the incremental encoder IC comprises an ABZ and UVW signal generating circuit, and the ABZ and UVW encoded signals are completely used by collecting angle information of the motor and processing the angle information.

4. The method of claim 3, wherein the incremental encoder IC comprises an input control circuit, and the mode selection circuit is controlled by forming a control signal according to the incremental encoder IC state, a control end request and received feedback information of the motor control system.

5. The method as claimed in any one of claims 1 to 4, wherein the incremental encoder IC comprises a mode selection circuit, and according to the power-on state of the incremental encoder IC and the control signal input to the control circuit, the incremental signal ABZ generated by the incremental signal generation circuit in the incremental encoder IC and the UVW coding signal generated by the UVW signal generation circuit are gated and transmitted to the output driving module.

6. The method as claimed in claim 5, wherein the incremental encoder IC comprises an output driving circuit, which receives the output signal of the mode selection circuit and converts the output signal into a driving signal to drive the motor control system, so as to accurately control the motor operation, and the output signal is output through the UVW signal multiplexing incremental signal output interface.

7. The method as claimed in claim 5, wherein after the encoder is powered on, the input control circuit detects the ABZ encoding state after detecting the state time delay, generates the control signal, and controls the mode selection circuit to gate the UVW signal; after UVW coding output time, the input control circuit changes the control signal and controls the mode selection circuit to gate the incremental signal output.

8. The method as claimed in claim 5, wherein after the control terminal sends the request, the UVW encoding output enable signal enters the input control circuit to generate the control signal, and the control mode selection circuit gates the UVW signal; after UVW coding output time, the input control circuit changes the control signal and controls the mode selection circuit to gate the incremental signal output.

9. The method of claim 5, wherein multiplexing encoder IC incremental output ports during the detection state time outputs the detection state, using preset special U, V and W-code to indicate that the motor controller is ready to accept initial U, V and W signals; if a valid U, V and W code is detected, it represents entry into the UVW code output time.

10. The method of claim 9, wherein the encoder IC incremental output A, B and the Z port are multiplexed to output U, V and W signals respectively during UVW encoding output time, the UVW signal is in a format of common motor UVW encoding, and its output U, V and W signals are related to the pole pair number of the motor.

Technical Field

The invention relates to the technical field of electronic circuits, in particular to a method for outputting UVW signals in an incremental encoder IC.

Background

The incremental encoder converts the displacement variation into periodic electric signal, converts the electric signal into counting pulse, and expresses the displacement by the number of the pulse. Incremental encoders typically have a three-way signal output (differential has six signals): A. b, and Z, where the A, B two channel signals are generally orthogonal (i.e., 90 ° out of phase with each other) pulsed signals. A. The signal of the phase difference of 90 degrees of the phase B can judge the positive rotation and the reverse rotation of the encoder by judging whether the phase A is ahead or the phase B is ahead, and the phase Z represents a zero reference bit. The incremental encoder has the advantages of simple principle and structure, long average mechanical life of over ten thousand hours, strong anti-interference capability, high reliability and suitability for long-distance transmission. The incremental encoder has a disadvantage of being unable to output absolute position information of displacement variation.

Currently, one type of motor that is widely used is a brushless motor, whose drive system accepts U, V and W signals as drives, where the U, V and W signal combination represents the sequence and direction in which the control coils of the motor are energized, i.e., the electrical vector angle. The number of outputs U, V and W signals per revolution of the controller is related to the number of pole pairs of the motor.

Because the incremental encoder cannot output absolute position information of displacement variation, at the starting time, the brushless motor applying the incremental encoder cannot determine the sequence and the direction of the energization of the control coils of the motor. At this time, it is a common practice to find the correct coil energization sequence by traversing the energization sequence and trying for multiple times, and at this time, the motor may shake back and forth at a small angle to generate a large noise.

Disclosure of Invention

In view of the shortcomings in the prior art, an object of the embodiments of the present invention is to provide a method for outputting UVW signal in an incremental encoder IC, so as to solve the above-mentioned problems in the background art.

In order to achieve the purpose, the invention provides the following technical scheme:

a method of outputting a UVW signal in an incremental encoder IC, comprising the steps of:

mode selection: gating UVW coding signals or incremental coding signals through mode selection;

output driving: when the UVW signal is gated, the multiplexing incremental signal interface outputs the UVW signal and drives the motor control system.

As a further aspect of the present invention, an input control is also included, including:

the method comprises the steps that an incremental encoder IC collects angle information of a motor and encodes the angle information according to a motor encoding format to form ABZ and UVW encoding signals;

and controlling the mode selection module according to the power-on state and the feedback information of the motor control system.

As a further scheme of the invention, the incremental encoder IC comprises an ABZ and UVW signal generating circuit, and the complete usable ABZ and UVW encoding signals are formed by acquiring the angle information of the motor and processing the angle information.

As a further aspect of the present invention, the incremental encoder IC includes an input control circuit, and forms a control signal according to the state of the incremental encoder IC, a request from the control terminal, and received feedback information of the motor control system, so as to control the mode selection circuit.

As a further aspect of the present invention, the incremental encoder IC includes a mode selection circuit, and gates the incremental signal ABZ generated by the incremental signal generation circuit in the incremental encoder IC and the UVW encoded signal generated by the UVW signal generation circuit according to the power-on state of the incremental encoder IC and the control signal input to the control circuit, and transmits them to the output driving module.

As a further aspect of the present invention, the incremental encoder IC includes an output driving circuit, which receives an output signal of the mode selection circuit and converts the output signal into a driving signal, drives the motor control system to accurately control the motor operation, and outputs the driving signal through the UVW signal multiplexing incremental signal output interface.

As a further scheme of the invention, after the encoder is electrified and works, the input control circuit detects the ABZ encoding state through detecting state time delay, generates a control signal and controls the mode selection circuit to gate the UVW signal; after UVW coding output time, the input control circuit changes the control signal and controls the mode selection circuit to gate the incremental signal output.

As a further scheme of the invention, after the control terminal sends a request, the UVW coding output enable signal enters the input control circuit to generate a control signal, and the mode selection circuit is controlled to gate the UVW signal; after UVW coding output time, the input control circuit changes the control signal and controls the mode selection circuit to gate the incremental signal output.

As a further scheme of the invention, an encoder IC increment output port is multiplexed within the detection state time, the detection state is output, and the motor controller is indicated to be ready to receive initial U, V and W signals by adopting preset special U, V and W codes; if a valid U, V and W code is detected, it represents entry into the UVW code output time.

As a further scheme of the invention, during the output time of the UVW coding, the encoder IC incremental output A, B and the Z port are multiplexed to output U, V and W signals, respectively, the format of the UVW signal adopts a common motor UVW coding, and the output U, V and the W signals of the UVW coding are related to the pole pair number of the motor.

The invention has the beneficial effects that:

1. the method for outputting the UVW signal in the incremental encoder IC provided by the invention solves the problem of noise of a motor at the starting time and the problem of compatibility of an incremental encoder interface. According to the invention, an input control module configures mode selection and drives output of an incremental signal or a UVW signal by judging the state of a motor and signal feedback; the method for outputting the UVW signal in the incremental encoder IC outputs U, V and W signals through an output interface of a multiplexing incremental encoder, when the incremental encoder IC is initially electrified, a brushless motor system determines the sequence and the direction of the electrification of a control coil of a motor, the compatibility of the incremental encoder is improved, and meanwhile, the jitter and the noise of the motor during starting are greatly improved.

2. In the invention, the compatibility of the method for outputting the UVW signal in the incremental encoder IC is strong, and the cost is saved by adopting the output mode of the motor system of the incremental encoder without an additional interface; the method does not need to traverse the electrifying sequence, thereby avoiding the back-and-forth shaking of the motor and reducing unnecessary noise, and solving the problem that the back-and-forth shaking generates larger noise when the motor is started.

To more clearly illustrate the structural features and effects of the present invention, the present invention will be described in detail below with reference to the accompanying drawings and specific embodiments.

Description of the drawings:

FIG. 1 is a diagram of an incremental encoder IC framework according to the present invention;

fig. 2 is a timing diagram of output of a power-up UVW signal according to the present invention;

FIG. 3 is a timing diagram illustrating the output of a control request UVW signal according to the present invention;

FIG. 4 is a timing diagram of the output of UVW signal when 3 output ports are detected to be low voltage (representing logic 000) according to the embodiment of the present invention;

fig. 5 is a timing chart of output of UVW signals when 3 output ports are detected to be at high voltage (representing logic 111) according to an embodiment of the present invention;

FIG. 6 is a timing diagram of the output of UVW signals when 3 output ports are detected to be in a high impedance state (representing logic zzz) according to the embodiment of the present invention;

FIG. 7 is a timing diagram of coding output of UVW signal according to the embodiment of the present invention.

The specific implementation mode is as follows:

the invention will be described more fully and clearly in connection with the accompanying drawings and the accompanying knowledge, and it is to be understood that the circuit diagrams described are merely exemplary embodiments of the invention, and are not intended to represent all exemplary embodiments.

Referring to fig. 1 to 7, a method for outputting UVW signals in an incremental encoder IC solves the problem of large noise caused by the back-and-forth shake when a motor is started on the premise of ensuring compatibility.

In the invention, the incremental encoder and the motor are both connected with the driver, the motor rotates under the driving of the driver, and the incremental encoder generates a signal and sends the signal to the driver.

The specific scheme is that the method for outputting the UVW signal in the incremental encoder IC comprises the following steps: generating a UVW signal, specifically acquiring angle information of a motor by an incremental encoder IC, and coding according to a motor coding format to form a UVW coding signal;

an input control step, selecting according to a power-on state and a feedback control mode of a motor control system;

a mode selection step, namely, in the incremental encoder IC, gating UVW coding signals and incremental coding signals through mode selection;

and an output driving step, wherein when the UVW signal is gated, the multiplexing incremental signal interface outputs the UVW signal and drives the motor control system. The brushless motor system is enabled to determine the sequence and direction of energization of the motor control coils.

The method for outputting the UVW signal in the incremental encoder IC has strong compatibility, adopts the output mode of the motor system of the incremental encoder, does not need an additional interface and saves the cost; the method does not need to traverse the electrifying sequence, thereby avoiding the shaking of the motor and reducing unnecessary noise.

10页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种智能传感器

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类