Unlock instant, AI-driven research and patent intelligence for your innovation.

A compensation method for pwm control voltage

A compensation method and technology for controlling voltage, applied in control/regulating systems, regulating electrical variables, instruments, etc., can solve the problems of increasing hardware costs, large errors, and insufficient PWM control voltage accuracy, reducing costs, improving control accuracy, The effect of reducing errors

Active Publication Date: 2016-04-13
SHENZHEN ZHENBANG TECH
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] (1) The precision of the PWM control voltage generated by the I / O port of the microcontroller is not high enough, and the error is large;
[0005] (2) Although the voltage processed by a special chip has high precision, it increases the cost of product development;
[0006] (3) The accuracy of voltage compensation is slightly improved by using hardware, but it also increases the cost of hardware

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
  • A compensation method for pwm control voltage
  • A compensation method for pwm control voltage
  • A compensation method for pwm control voltage

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] Below in conjunction with accompanying drawing, preferred embodiment of the present invention is described in further detail:

[0030] see figure 1 with figure 2 , a kind of compensating method of PWM control voltage, comprises the steps:

[0031] S1. The I / O port P01 of the single-chip microcomputer generates a corresponding PWM according to the target voltage Vt, and the PWM generates an initial voltage Vst, and the initial voltage Vst is loaded to the load through the circuit; wherein, when the single-chip microcomputer I / O port P01 outputs a low level , the actual working voltage Vr at both ends of the load is 12V, the count value Duty sent by the microcontroller to the PWM is 255, and the relationship between the PWM count value Duty and the target voltage Vt satisfies the following formula:

[0032] Duty=255*Vt / 12;

[0033] When the single-chip microcomputer I / O port P01 outputs a high level, the actual working voltage Vr at both ends of the load is 0V;

[00...

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

A PWM control voltage compensation method comprises the following steps: S1, generating, by a microcontroller I / O port P01, a corresponding PWM according to a target voltage Vt, generating an initial voltage by the PWM, and loading the initial voltage to a load; S2, performing, by an I / O port P00, AD sampling on the load, and acquiring a sampled voltage Vc after an AD value conversion; S3, comparing the sampled voltage Vc with the target voltage Vt to obtain a difference value dalatV, where dalatV = Vc - Vt; and starting timing by the microcontroller after obtaining the sampled voltage Vc; S4, when the timing value reaches a set value, performing different processes by the microcontroller according to different positions of dalatV in a [-5, 5] range; and S5, timely adjusting the initial voltage by the microcontroller by changing a PWM timing value Duty so as to enable the initial voltage to approach the target voltage Vt. The PWM control voltage compensation method improves a precision of voltage control and reduces a cost.

Description

technical field [0001] The invention relates to the field of PWM control voltage, in particular to a compensation method for PWM control voltage. Background technique [0002] Using PWM to implement voltage control technology has spread throughout the entire technology development field. Whether it is the voltage control of small home appliance refrigeration chips or the control of the number of revolutions of large home appliance fans, the PWM control voltage technology has basically taken shape. However, the accuracy of the PWM control voltage does not use a better or simpler method to achieve its feedback and compensation processing, so as to achieve the voltage required for better control, or to make the voltage more stable. [0003] At present, the PWM control voltage is controlled by the PWM generated by the I / O port of the single-chip microcomputer to realize the voltage control, but the voltage accuracy and stability error are relatively large, especially the load i...

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 Patents(China)
IPC IPC(8): G05F1/56
CPCG05F1/56H03K5/01
Inventor 柯忠乘陈志杰
Owner SHENZHEN ZHENBANG TECH