[go: up one dir, main page]

CN104698286B - A kind of PWM ripple acquisition methods based on timer - Google Patents

A kind of PWM ripple acquisition methods based on timer Download PDF

Info

Publication number
CN104698286B
CN104698286B CN201510089728.0A CN201510089728A CN104698286B CN 104698286 B CN104698286 B CN 104698286B CN 201510089728 A CN201510089728 A CN 201510089728A CN 104698286 B CN104698286 B CN 104698286B
Authority
CN
China
Prior art keywords
timer
pwm
cycle
count
value
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.)
Expired - Fee Related
Application number
CN201510089728.0A
Other languages
Chinese (zh)
Other versions
CN104698286A (en
Inventor
蒙志君
王凯鹏
陈旭智
林子豪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ningbo Lefeng New Energy Co ltd
Original Assignee
Beihang University
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beihang University filed Critical Beihang University
Priority to CN201510089728.0A priority Critical patent/CN104698286B/en
Publication of CN104698286A publication Critical patent/CN104698286A/en
Application granted granted Critical
Publication of CN104698286B publication Critical patent/CN104698286B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Measurement Of Unknown Time Intervals (AREA)

Abstract

本发明为一种基于定时器的PWM波采集方法,其步骤如下:一:设置一个定时器为循环计数工作模式,每周期触发一个时钟中断;二:设置用于PWM波采集的定时器为高电平触发减数计数的工作模式,PWM波采集定时器的输入端与要采集的PWM波信号相连接;三:编写中断服务函数,在每个循环计数结束后响应时钟中断。本发明基于定时器的PWM波采集方法,由于采用了高电平触发定时器计数而非脉冲捕获的采集方式,即使在信号出现了诸如毛刺或其他跳动,对采集结果也几乎没影响,从而大大提高了PWM采集的抗干扰能力。

The present invention is a timer-based PWM wave collection method, the steps of which are as follows: 1: set a timer as a cycle counting work mode, and trigger a clock interruption every cycle; 2: set the timer for PWM wave collection as high Level-triggered downcounting mode of operation, the input of the PWM wave acquisition timer is connected to the PWM wave signal to be collected; 3: Write an interrupt service function to respond to the clock interrupt after each cycle counting ends. The timer-based PWM wave acquisition method of the present invention adopts a high-level trigger timer counting instead of a pulse capture acquisition method, even if the signal appears such as glitches or other jumps, it has almost no effect on the acquisition results, thereby greatly Improve the anti-interference ability of PWM acquisition.

Description

一种基于定时器的PWM波采集方法A Timer-Based PWM Wave Acquisition Method

技术领域technical field

本发明提供一种基于定时器的PWM波采集方法,它涉及一种基于定时器的脉宽长度调制信号PWM波的采集方法,提出了一种利用定时器来实现PWM波的采集的方法。这种基于定时器的PWM波采集方法,可以推广到各种类型的定时器中实现PWM信号的采集,适用于多种工业控制领域。在本发明中以CDT2000板卡为范例进行实例讲解,所采集的PWM波是用来控制舵机动作的14ms周期PWM波,脉宽长度范围1.1~1.9ms。The invention provides a timer-based PWM wave acquisition method, which relates to a timer-based pulse width length modulation signal PWM wave acquisition method, and proposes a timer-based PWM wave acquisition method. This timer-based PWM wave acquisition method can be extended to various types of timers to realize the acquisition of PWM signals, and is applicable to various industrial control fields. In the present invention, the CDT2000 board is used as an example to explain the example. The collected PWM wave is a 14ms cycle PWM wave used to control the action of the steering gear, and the pulse width length ranges from 1.1 to 1.9ms.

背景技术Background technique

PWM波(PWM,即Pulse Width Modulation,脉冲宽度调制)是一种技术成熟的工业控制信号,广泛应用于电机转速控制、作动器行程控制等工业控制方面,是利用数字输出来对模拟电路进行控制的一种非常有效的技术。PWM wave (PWM, that is, Pulse Width Modulation, pulse width modulation) is a mature industrial control signal, which is widely used in industrial control such as motor speed control and actuator stroke control. It uses digital output to control analog circuits. A very effective technique of control.

PWM波的波形图见图1,tc为脉冲周期,t1、t2为表征PWM波有效信息的脉宽长度。本发明所述的PWM波来源于舵机作动控制的需求,需要采集一种周期14ms,脉宽长度的范围1.1~1.9ms的脉宽调制信号。The waveform diagram of the PWM wave is shown in Figure 1, t c is the pulse period, t 1 and t 2 are the pulse width lengths representing the effective information of the PWM wave. The PWM wave in the present invention is derived from the requirement for the actuation control of the steering gear, and it is necessary to collect a pulse width modulation signal with a period of 14 ms and a pulse width ranging from 1.1 to 1.9 ms.

进行PWM波的采集,就是利用某些设备来实现PWM波的脉宽长度的测量。The acquisition of PWM wave is to use some equipment to realize the measurement of the pulse width length of PWM wave.

传统的PWM波采集方法,采用分别记录脉宽信号上升沿和下降沿的发生时刻,然后对两个时刻做差求得脉宽长度。这种方法的缺点是当脉宽信号的电压不稳定或者有毛刺时,上升沿和下降沿的判断会出现失误,导致信号采集发生错误。In the traditional PWM wave acquisition method, the timing of the rising and falling edges of the pulse width signal is recorded separately, and then the difference between the two timings is used to obtain the pulse width length. The disadvantage of this method is that when the voltage of the pulse width signal is unstable or has burrs, the judgment of the rising edge and falling edge will be wrong, resulting in an error in signal acquisition.

本发明中所用的PWM波采集方法,将PWM波信号作为定时器的触发源,设置定时器为高电平触发,然后采取设计中断服务函数定时读取定时器的计数值。利用定时器中的计数值的变化量来计算高电平的持续时间,这样就不会受到电压不稳定和毛刺带来的干扰,具有很强的抗干扰能力。The PWM wave acquisition method used in the present invention uses the PWM wave signal as the trigger source of the timer, sets the timer as a high-level trigger, and then adopts a designed interrupt service function to regularly read the count value of the timer. Use the variation of the count value in the timer to calculate the duration of the high level, so that it will not be disturbed by voltage instability and glitches, and has strong anti-interference ability.

发明内容Contents of the invention

<1>发明目的<1> Purpose of the invention

本发明目的在于设计一种基于定时器的PWM波的采集方法,以定时器为主要硬件设备,通过一定的物理连接和中断服务函数的编码,实现可适用于各种不同周期和脉宽的PWM波的采集。The purpose of the present invention is to design a method for collecting PWM waves based on a timer. With the timer as the main hardware device, through certain physical connections and coding of interrupt service functions, PWM waves applicable to various cycles and pulse widths can be realized. collection of waves.

<2>技术方案<2>Technical solution

本发明一种基于定时器的PWM波采集方法,其步骤如下:A kind of PWM wave acquisition method based on timer of the present invention, its steps are as follows:

步骤一:设置一个定时器为循环计数工作模式,每周期触发一个时钟中断;Step 1: Set a timer to work in cycle counting mode, and trigger a clock interrupt every cycle;

步骤二:设置用于PWM波采集的定时器为高电平触发减数计数的工作模式,PWM波采集定时器的输入端与要采集的PWM波信号相连接;Step 2: Set the timer used for PWM wave acquisition as the working mode of high level triggering down counting, and the input terminal of the PWM wave acquisition timer is connected with the PWM wave signal to be collected;

步骤三:编写中断服务函数,在每个循环计数结束后响应时钟中断。其中,在步骤二中所述的“高电平触发减数计数的工作模式”,是定时器的另一种能设置的工作模式,该工作模式的功能是:当PWM波采集定时器的输入端即PWM波信号的高电平到来时会触发定时器进行自减、低电平到来时结束自减。Step 3: Write an interrupt service function to respond to the clock interrupt after each cycle count ends. Among them, the "high-level trigger down-counting working mode" described in step 2 is another working mode that can be set for the timer. The function of this working mode is: when the PWM wave collects the input of the timer When the high level of the PWM wave signal arrives, it will trigger the timer to perform self-decrement, and when the low level arrives, it will end the self-decrement.

其中,在步骤一中所述的“循环计数工作模式”,是定时器的一种能进行设置的工作模式,给定一个设定值,它会从这个值自减到零,然后再次回到这个值继续自减,周而复始,循环计数周期=设定值/循环计数定时器时钟频率;每次当计数自减到零时触发一个时钟中断;为了实现PWM波的采集,循环计数周期必须小于PWM波低电平持续时间最小值的二分之一,这样才能确保步骤三中所述的“中断服务函数”能够读到步骤二中所述的“PWM波采集定时器”计数停止时的计数值。Among them, the "cycle counting working mode" described in step 1 is a working mode of the timer that can be set. Given a set value, it will decrease from this value to zero, and then return to This value continues to decrease by itself, and it goes round and round, the cycle count period = set value / cycle count timer clock frequency; each time when the count decreases to zero, a clock interrupt is triggered; in order to realize the acquisition of PWM waves, the cycle count period must be less than PWM One-half of the minimum duration of the wave low level, so as to ensure that the "interrupt service function" described in step 3 can read the count value when the "PWM wave acquisition timer" described in step 2 stops counting .

其中,在步骤三中所述的“中断服务函数”,是在每个循环计数定时器周期结束时触发中断所调用的一个函数,其功能是:每个循环计数定时器周期读取一次PWM波采集定时器的计数值,判断相邻两个周期的PWM波采集定时器的计数值;如果连续两个周期的PWM波采集定时器的计数值相等且均不等于初始计数值时,表明脉冲高电平已经结束,脉宽长度=(PWM波采集定时器的初始计数值-PWM波采集定时器的计数结束数值)/PWM波采集定时器时钟频率,读取脉宽长度数值,并将PWM波采集定时器重载;否则不做任何处理。Among them, the "interrupt service function" described in step 3 is a function called by triggering an interrupt at the end of each cycle counting timer cycle, and its function is: to read a PWM wave every cycle counting timer cycle Collect the count value of the timer, and judge the count value of the PWM wave acquisition timer for two adjacent cycles; if the count values of the PWM wave acquisition timer for two consecutive cycles are equal and not equal to the initial count value, it indicates that the pulse is high The level has ended, the pulse width length = (the initial count value of the PWM wave acquisition timer - the count end value of the PWM wave acquisition timer) / the clock frequency of the PWM wave acquisition timer, read the value of the pulse width length, and convert the PWM wave The collection timer is reloaded; otherwise, no processing is done.

用定时器采集PWM波的时序图见图2所示。The timing diagram of collecting PWM waves with a timer is shown in Figure 2.

<3>优点功效<3>Advantages and efficacy

基于定时器的PWM波采集方法,由于采用了高电平触发定时器计数而非脉冲捕获的采集方式,即使在信号出现了诸如毛刺或其他跳动,对采集结果也几乎没影响,从而大大提高了PWM采集的抗干扰能力。The timer-based PWM wave acquisition method uses a high-level trigger timer count instead of a pulse capture acquisition method, even if the signal appears such as glitches or other jumps, it has almost no effect on the acquisition results, thereby greatly improving The anti-interference ability of PWM acquisition.

附图说明Description of drawings

下面结合附图对本发明进一步说明。The present invention will be further described below in conjunction with the accompanying drawings.

图1是一种PWM波的波形示意图。Fig. 1 is a schematic diagram of the waveform of a PWM wave.

图2是用定时器采集PWM波的时序图,备注中有相关变量的解释说明;其中,1、循环计数定时器计数周期T0必须小于PWM波低电平长度最大值的二分之一;2、在连续两个中断内读取到相同且不等于Tmax的计数值,则认为高电平已结束;3、在判断到高电平结束的中断内,读取PWM波脉宽t1=(Tmax-T1)/f定时器时钟频率,重载PWM波采集定时器的计数值为TmaxFig. 2 is a timing diagram of collecting PWM waves with a timer, and there are explanations of related variables in the remarks; wherein, 1, the counting cycle T of the cycle counting timer must be less than 1/2 of the maximum value of the low-level length of the PWM wave ; 2. If the count value that is the same and not equal to T max is read in two consecutive interrupts, it is considered that the high level has ended; 3. In the interrupt that judges the end of the high level, read the PWM wave pulse width t 1 =(T max -T 1 )/f timer clock frequency , the count value of the reload PWM wave acquisition timer is T max .

图3是应用实例中利用CDT2000的定时器功能实现PWM波采集的电路和信号连接图。Fig. 3 is the circuit and signal connection diagram of PWM wave acquisition using the timer function of CDT2000 in the application example.

图4是应用实例中利用CDT2000的定时器功能进行PWM波采集的时序图。Fig. 4 is the timing diagram of PWM wave acquisition using the timer function of CDT2000 in the application example.

图5本发明所述方法流程框图。Fig. 5 is a flow chart of the method of the present invention.

具体实施方式detailed description

实施步骤Implementation steps

如图1-5所示,本发明一种基于定时器的PWM波采集方法,见图5所示,其步骤如下:As shown in Figure 1-5, a kind of PWM wave acquisition method based on timer of the present invention, as shown in Figure 5, its steps are as follows:

步骤一:设置一个定时器为循环计数工作模式,每周期触发一个时钟中断,循环计数周期必须小于PWM波低电平持续时间最小值的二分之一。Step 1: Set a timer to work in cycle counting mode, trigger a clock interrupt every cycle, and the cycle count cycle must be less than half of the minimum duration of PWM wave low level.

步骤二:设置用于PWM波采集的定时器为高电平触发减数计数、上升沿触发计数重载的工作模式,PWM波采集定时器的输入端与要采集的PWM波信号相连接。Step 2: Set the timer used for PWM wave acquisition to the working mode of high-level trigger downcounting and rising edge trigger counting overload, and the input terminal of the PWM wave acquisition timer is connected to the PWM wave signal to be collected.

步骤三:编写中断服务函数,在每个循环计数结束后响应时钟中断;中断服务函数每周期读取一次PWM波采集定时器的计数值,判断相邻两个周期的定时器数值;如果连续两个周期的数值相等且均不等于初始计数值时,表明脉冲高电平已经结束,脉宽长度=(初始计数值-计数结束数值)/定时器时钟频率,读取脉宽长度数值,并将PWM波采集定时器重载。Step 3: Write the interrupt service function, and respond to the clock interrupt after each cycle counts; the interrupt service function reads the count value of the PWM wave acquisition timer once per cycle, and judges the timer value of two adjacent cycles; When the values of the two cycles are equal and not equal to the initial count value, it indicates that the pulse high level has ended, the pulse width length = (initial count value - count end value) / timer clock frequency, read the pulse width length value, and PWM wave acquisition timer overload.

应用实例Applications

下面讲解的示例来自于实际的应用案例,以CDT2000板卡为定时器设备,以PC/104嵌入式计算机实现中断服务函数的响应。在这个案例中,需要采集6路PWM波。采集的6路PWM均来自于Futaba接收机的遥控信号,其中1路是模式切换信号、5路PWM波是原始舵机控制信号。The example explained below comes from an actual application case. The CDT2000 board is used as the timer device, and the PC/104 embedded computer is used to realize the response of the interrupt service function. In this case, 6 channels of PWM waves need to be collected. The 6 channels of PWM collected are all from the remote control signals of the Futaba receiver, of which 1 channel is the mode switching signal, and 5 channels of PWM waves are the original servo control signals.

需要采集的PWM波是一种周期14ms,脉宽长度范围1.1~1.9ms的脉宽调制信号。The PWM wave to be collected is a pulse width modulation signal with a period of 14ms and a pulse width range of 1.1 to 1.9ms.

具体做法如下:The specific method is as follows:

1、定时器工作模式设置1. Timer working mode setting

CDT2000板卡的四个82C54定时控制器,每个具有三个独立定时器,总共获得了12个独立的定时器,进行PWM波采集只用到了其中七个定时器,如图4所示。各定时器的连接和工作方式的设置表述如下:The four 82C54 timing controllers of the CDT2000 board each have three independent timers, and a total of 12 independent timers are obtained, and only seven of them are used for PWM wave acquisition, as shown in Figure 4. The connection and working mode settings of each timer are described as follows:

定时器1-0:以2ms为周期循环计数,并产生中断。Timer 1-0: cycle counting with 2ms as cycle and generate interrupt.

定时器3-0~定时器4-2:GATE口为高电平时开始计数,低电平停止计数。Timer 3-0~Timer 4-2: start counting when GATE port is high level, and stop counting when low level.

其中,定时器1-0个作为中断服务函数的触发定时器,设置工作周期为2ms,即每周期初始计数值设定为16000。Among them, timers 1-0 are triggered timers as interrupt service functions, and the working cycle is set to 2ms, that is, the initial count value of each cycle is set to 16000.

2、中断服务函数功能描述2. Interrupt service function function description

中断服务函数中关于PWM波采集的原理表述如下(PWM波采集的时序图见图5):The principle of PWM wave acquisition in the interrupt service function is expressed as follows (see Figure 5 for the timing diagram of PWM wave acquisition):

1)以2ms为周期读PWM采集定时器3-0~定时器4-2的计数值;1) Read the count value of PWM acquisition timer 3-0~timer 4-2 with a period of 2ms;

2)若连续相邻两次计数结果不是65535且相等,则记此计数值为T,则PWM波的脉宽即为t=(65535-T)/(8×106),将此定时器重载为最大值(65535);2) If the counting results of two consecutive adjacent counts are not 65535 and equal, then record the count value as T, then the pulse width of the PWM wave is t=(65535-T)/(8×10 6 ), and the timer reload is max(65535);

3)若连续相邻两次计数结果不相等,则不做任何处理。3) If the counting results of two consecutive adjacent counts are not equal, no processing will be done.

Claims (4)

1. a kind of PWM ripple acquisition methods based on timer, it is characterised in that:Its step is as follows:
Step one:It is cycle count mode of operation to set a timer, and each cycle triggers a tick interrupt;
Step 2:It is provided for the timer of PWM ripples collection and triggers the mode of operation that subtrahend is counted, the collection of PWM ripples for high level The input of timer is connected with the PWM ripple signals to be gathered;
Step 3:Interruption service function is write, tick interrupt is responded after each cycle count terminates.
2. a kind of PWM ripple acquisition methods based on timer according to claim 1, it is characterised in that:In step 2 Described " mode of operation that high level triggering subtrahend is counted ", is another mode of operation that can be set of timer, the work The function of pattern is:Timer can be triggered when the high level that the input that PWM ripples gather timer is PWM ripple signals arrives to enter Terminate to subtract certainly when row subtracts certainly, low level arrives.
3. a kind of PWM ripple acquisition methods based on timer according to claim 2, it is characterised in that:In step one Described " cycle count mode of operation ", is a kind of mode of operation that can be configured of timer, gives a setting value, it It can then turn again to this value from this value from reducing to zero and continue, from subtracting, to go round and begin again, cycle count period=setting value/ Cycle count timer clock frequency;Every time a tick interrupt is triggered when counting and reducing to zero certainly;In order to realize adopting for PWM ripples Collection, cycle count period is necessarily less than 1/2nd of PWM ripple low duration minimum values, so just can ensure that step 3 Described in " interruption service function " " the PWM ripples gather timer " that can read described in step 2 count counting when stopping Value.
4. a kind of PWM ripple acquisition methods based on timer according to claim 1, it is characterised in that:In step 3 Described " interruption service function ", is that a called letter is interrupted in triggering at the end of each cycle count timer period Count, its function is:Each cycle count timer period reads the count value that a PWM ripple gathers timer, judges adjacent two The PWM ripples in individual cycle gather the count value of timer;If the count value of the PWM ripples collection timer in continuous two cycles is equal And when being not equal to initial count value, show that pulse high level is over, pulsewidth length=(PWM ripples gather the first of timer Beginning count value-PWM ripple gathers the counting end value of timer)/PWM ripples collection timer clock frequency, reads pulsewidth length Numerical value, and PWM ripples are gathered into timer heavy duty;Otherwise it is without any processing.
CN201510089728.0A 2014-07-24 2015-02-27 A kind of PWM ripple acquisition methods based on timer Expired - Fee Related CN104698286B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510089728.0A CN104698286B (en) 2014-07-24 2015-02-27 A kind of PWM ripple acquisition methods based on timer

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN2014103542967 2014-07-24
CN201410354296 2014-07-24
CN201510089728.0A CN104698286B (en) 2014-07-24 2015-02-27 A kind of PWM ripple acquisition methods based on timer

Publications (2)

Publication Number Publication Date
CN104698286A CN104698286A (en) 2015-06-10
CN104698286B true CN104698286B (en) 2017-10-03

Family

ID=53345616

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510089728.0A Expired - Fee Related CN104698286B (en) 2014-07-24 2015-02-27 A kind of PWM ripple acquisition methods based on timer

Country Status (1)

Country Link
CN (1) CN104698286B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107256033B (en) * 2017-07-10 2020-12-22 重庆大学 A UAV remote control signal conversion device
CN111220843A (en) * 2020-01-18 2020-06-02 惠州华阳通用电子有限公司 Signal level duration time measuring method and device
CN112242828A (en) * 2020-09-11 2021-01-19 深圳市杉川机器人有限公司 Method, device and equipment for capturing pulse width modulation signal
CN112904090A (en) * 2021-01-25 2021-06-04 珠海格力电器股份有限公司 Signal duration acquisition method
CN119254195B (en) * 2024-09-23 2025-06-10 小米汽车科技有限公司 Pulse Width Modulation (PWM) signal capturing method and device, storage medium and chip

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101567658A (en) * 2009-06-05 2009-10-28 中国兵器工业第二○六研究所 Rotating transformer exciting circuit based on sinusoidal pulse width modulation (SPWM)
CN102103168A (en) * 2009-12-22 2011-06-22 比亚迪股份有限公司 PWM (Pulse-Width Modulation) wave detecting method and device
KR20110098291A (en) * 2010-02-26 2011-09-01 (주)모토닉 PPM pulse period and duty measurement method
CN102298095A (en) * 2011-06-27 2011-12-28 中国国土资源航空物探遥感中心 Method for ensuring accurate measurement on pulse width in multi-task singlechip system and device
CN102833905A (en) * 2011-06-17 2012-12-19 博西华电器(江苏)有限公司 PWM (pulse width modulation) dimming method and device for LED (light-emitting diode)
CN103870421A (en) * 2012-12-10 2014-06-18 上海工程技术大学 FPGA (Field Programmable Gate Array) based serial interface and PWM (Pulse Width Modulation) combined application IP (Intellectual Property) core
CN103873035A (en) * 2014-03-07 2014-06-18 电子科技大学 Timer-based PWM (Pulse-Width Modulation) control signal system for generating adjustable dead zone

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8564365B2 (en) * 2012-01-20 2013-10-22 Qualcomm Incorporated Wide input bit-rate, power efficient PWM decoder
KR101367681B1 (en) * 2012-05-30 2014-02-26 삼성전기주식회사 Detector for duty of signal and driving apparatus for motor having the same

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101567658A (en) * 2009-06-05 2009-10-28 中国兵器工业第二○六研究所 Rotating transformer exciting circuit based on sinusoidal pulse width modulation (SPWM)
CN102103168A (en) * 2009-12-22 2011-06-22 比亚迪股份有限公司 PWM (Pulse-Width Modulation) wave detecting method and device
KR20110098291A (en) * 2010-02-26 2011-09-01 (주)모토닉 PPM pulse period and duty measurement method
CN102833905A (en) * 2011-06-17 2012-12-19 博西华电器(江苏)有限公司 PWM (pulse width modulation) dimming method and device for LED (light-emitting diode)
CN102298095A (en) * 2011-06-27 2011-12-28 中国国土资源航空物探遥感中心 Method for ensuring accurate measurement on pulse width in multi-task singlechip system and device
CN103870421A (en) * 2012-12-10 2014-06-18 上海工程技术大学 FPGA (Field Programmable Gate Array) based serial interface and PWM (Pulse Width Modulation) combined application IP (Intellectual Property) core
CN103873035A (en) * 2014-03-07 2014-06-18 电子科技大学 Timer-based PWM (Pulse-Width Modulation) control signal system for generating adjustable dead zone

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
MCS-51单片机对连续脉冲宽度测量的实现;朱玉红;《自动化与仪器仪表》;20030125;全文 *
基于FPGA生成PWM波的实现;苏荣锋 等;《核技术》;20120610(第6期);全文 *
转速转差率的数字化测量方法;罗盛波 等;《电工技术》;20020410(第4期);第1页第1段以及第7段 *

Also Published As

Publication number Publication date
CN104698286A (en) 2015-06-10

Similar Documents

Publication Publication Date Title
CN104698286B (en) A kind of PWM ripple acquisition methods based on timer
KR102691197B1 (en) Magnetic stripe data transmission system and method for reliable data transmission and low power consumption
KR20100121605A (en) Multiple capacitance measuring circuits and methods
EP2912773A1 (en) Pulse frequency measurement device and method and control system
CN104302028B (en) High-frequency heating apparatus and its power control method and power control
CN110673532B (en) Pulse signal processing and collecting device
CN102830263B (en) Over-current detection system of inverter circuit and method of over-current detection system
CN102315765A (en) New current sampling method for PFC (power factor correction) circuit
CN105682271A (en) PPG drive frequency detection system for induction cooker
CN104767439A (en) PWM pulse width speed regulation signal given and fault code feedback circuit
CN109213130B (en) Method for filtering burr signal in fault signal
CN108061564B (en) An incremental encoder phase signal single-line transmission identification and synchronization method
CN112629570B (en) Encoder filtering algorithm based on FPGA
JP2011166240A (en) System and device for detecting capacitance
CN203617681U (en) Pulse over-current detection and protection circuit
CN208257698U (en) A kind of contracting brake controller and traction machine based on PWM pulsewidth modulation
CN104702251A (en) Timer-based PWM (Pulse Width Modulation) wave generation method
CN204465399U (en) PWM pulse width speed regulation signal given and fault code feedback circuit
CN104297560A (en) Measuring system for direct current amount of secondary device of electric system
CN204517709U (en) A kind of drive unit of DC brushless motor and drive system thereof
CN203859711U (en) Engine rotating speed sampling and controlling circuit
CN2682709Y (en) IGBT overcurrent processing circuit for middle and high voltage frequency converter
CN204290731U (en) The DC-DC change-over circuit of a kind of variable period control frequency disturbance
CN205546009U (en) Electromagnetism stove PPG driving frequency detecting system
CN204258771U (en) AC/DC logic input. interface circuit and comprise its integrated circuit

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210128

Address after: 315199 b-211-47, Kexin building, 655 bachelor Road, Yinzhou District, Ningbo City, Zhejiang Province

Patentee after: NINGBO ZHIZHENG WEIYING INFORMATION TECHNOLOGY Co.,Ltd.

Address before: 100191 No. 37, Haidian District, Beijing, Xueyuan Road

Patentee before: BEIHANG University

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230308

Address after: 315799 Industrial Park, Sizhoutou Town, Xiangshan County, Ningbo City, Zhejiang Province

Patentee after: Ningbo Lefeng new energy Co.,Ltd.

Address before: 315199 b-211-47, Kexin building, 655 bachelor Road, Yinzhou District, Ningbo City, Zhejiang Province

Patentee before: NINGBO ZHIZHENG WEIYING INFORMATION TECHNOLOGY Co.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20171003