Method for solving interference of high-frequency signals during rotating speed sampling of direct-current variable frequency motor

A DC frequency conversion motor and high-frequency signal technology, which is applied to devices using electric/magnetic methods, can solve the problem of many pulse counts, etc.

Pending Publication Date: 2021-05-28
厦门狄耐克环境智能科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, periodic polling sampling takes up a lot of MCU resources, and using hardware high-frequency filtering to reduce the magnitude of interference will cause pulse counts to increase by 1 due to high-frequency interference.

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 solving interference of high-frequency signals during rotating speed sampling of direct-current variable frequency motor
  • Method for solving interference of high-frequency signals during rotating speed sampling of direct-current variable frequency motor
  • Method for solving interference of high-frequency signals during rotating speed sampling of direct-current variable frequency motor

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0039] refer to Figure 5 , a solution to the interference of high-frequency signals when sampling the rotational speed of a DC variable frequency motor, comprising the following steps:

[0040] S1. The main program for sampling the motor speed is running normally, and the main program contains an interrupt program;

[0041] S2. In the main program, the falling edge of the input pulse triggers the interrupt command and enters the interrupt program;

[0042] S3. The interrupt program judges the current input level to determine whether this interrupt needs to be counted;

[0043] S4. When the input level is low, the count value of the counter is increased by one. When the input level is high, it is judged as high-frequency interference. This pulse is an invalid pulse, and the count value of the counter remains unchanged;

[0044] S5. End the interrupt program and return to the main program.

[0045] refer to image 3 , when T0 is set, the value of the counter is N; T1, T3, T...

Embodiment 2

[0048] refer to Image 6 , the specific implementation of this embodiment is basically the same as that of Embodiment 1, the difference is that this embodiment uses a rising edge to trigger an interrupt:

[0049] A solution to the interference of high-frequency signals when sampling the rotational speed of a DC variable frequency motor, comprising the following steps:

[0050] S1. The main program for sampling the motor speed is running normally, and the main program contains an interrupt program;

[0051] S2. In the main program, the rising edge of the input pulse triggers the interrupt command and enters the interrupt program;

[0052] S3. The interrupt program judges the current input level to determine whether this interrupt needs to be counted;

[0053] S4. When the input level is high level, the count value of the counter is increased by one. When the input level is low level, it is judged as high-frequency interference. This pulse is an invalid pulse, and the count va...

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 solving high-frequency signal interference during rotating speed sampling of a direct-current variable-frequency motor, which comprises the following steps: S1, enabling a main program for sampling the rotating speed of the motor to normally run, wherein the main program comprises an interrupt program; s2, inputting a pulse edge in the main program to trigger an interrupt instruction to enter an interrupt program; s3, enabling the interrupt program to judge the current input level to determine whether the interrupt needs to be counted or not; s4, when the input level is the effective level, adding one to the count value of the counter, and when the input level is the ineffective level, judging that the interference is high-frequency interference, the pulse is the ineffective pulse, and the count value of the counter is not changed; and S5, ending the interrupt program, and returning to the main program. According to the method, under the condition that hardware is not added, the problem of counting errors of the direct-current variable frequency motor due to high-frequency interference is solved only by using few MCU resources, and whether interruption is caused by interference pulses or not is identified by judging the input level, so that the influence of the interference pulses on a counter is eliminated.

Description

technical field [0001] The invention relates to a solution to high-frequency signal interference, in particular to a solution to the high-frequency signal interference of a DC variable frequency motor when sampling its rotational speed. Background technique [0002] When the DC variable frequency motor is running at high speed, the counting pulse frequency is high. When it is disturbed by high-frequency pulse signals, these interference signals are interspersed in the counting pulse waveform and are misidentified as speed pulses, thus affecting the accuracy of speed counting. DC variable frequency motors are more and more widely used due to their high efficiency and energy saving. In order to accurately control the motor speed, the current common practice is to count the number of motor speed pulses, and the MCU performs closed-loop control according to the count value to make the motor work at the expected speed. The hardware implements as figure 1 As shown, the logic flow...

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 & AuthorityApplications(China)
IPC IPC(8): G01P3/44
CPCG01P3/44
Inventor陈衍德陈平王燕云
Owner厦门狄耐克环境智能科技有限公司