WO2011076103A1 - Method and device for detecting pwm wave - Google Patents

Method and device for detecting pwm wave Download PDF

Info

Publication number
WO2011076103A1
WO2011076103A1 PCT/CN2010/080050 CN2010080050W WO2011076103A1 WO 2011076103 A1 WO2011076103 A1 WO 2011076103A1 CN 2010080050 W CN2010080050 W CN 2010080050W WO 2011076103 A1 WO2011076103 A1 WO 2011076103A1
Authority
WO
WIPO (PCT)
Prior art keywords
pwm wave
electric level
counting
duty ratio
period
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.)
Ceased
Application number
PCT/CN2010/080050
Other languages
French (fr)
Inventor
Yu Liu
Xiaofeng Shen
Jianhua Zhang
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.)
BYD Co Ltd
Original Assignee
BYD Co Ltd
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 BYD Co Ltd filed Critical BYD Co Ltd
Priority to EP10838666.5A priority Critical patent/EP2517029A4/en
Publication of WO2011076103A1 publication Critical patent/WO2011076103A1/en
Priority to US13/530,818 priority patent/US8878603B2/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • G—PHYSICS
    • G01—MEASURING; TESTING
    • G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R29/00—Arrangements for measuring or indicating electric quantities not covered by groups G01R19/00 - G01R27/00
    • G01R29/02—Measuring characteristics of individual pulses, e.g. deviation from pulse flatness, rise time or duration
    • G01R29/027—Indicating that a pulse characteristic is either above or below a predetermined value or within or beyond a predetermined range of values
    • G01R29/0273—Indicating that a pulse characteristic is either above or below a predetermined value or within or beyond a predetermined range of values the pulse characteristic being duration, i.e. width (indicating that frequency of pulses is above or below a certain limit)
    • G—PHYSICS
    • G01—MEASURING; TESTING
    • G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R29/00—Arrangements for measuring or indicating electric quantities not covered by groups G01R19/00 - G01R27/00
    • G01R29/02—Measuring characteristics of individual pulses, e.g. deviation from pulse flatness, rise time or duration

Definitions

  • the present disclosure relates to electric vehicle field, more particularly, to a method and a device for detecting PWM wave.
  • the main power source of the electric vehicle is battery pack
  • the battery pack is an energy- storage equipment which greatly expends on external environment, especially temperature, when the temperature is sub-zero 20 degree centigrade, the discharge performance of lithium battery is greatly decreased and nearly can't satisfy the basic requirements.
  • the electric vehicle could not only operate in the warm climate, if into the cold climate, the electric vehicle may not operate normally, even can not start.
  • a battery heating technology is used to heat the battery pack, so that the temperature of the battery can reach the minimum desired temperature, thereby the electric vehicle can drive in the cold climate.
  • heating the battery is realized by a battery heating module driven by a PWM wave.
  • the PWM wave must be detected.
  • a hardware circuit to detect the PWM wave.
  • it can only detect the electric level of the PWM wave, such as high electric level or low electric level, but can not determine a duty ratio of the PWM wave.
  • the present disclosure is directed to solving at least one problem associated with the prior art. Accordingly, a method and a device for detecting PWM wave are provided in embodiments of the present disclosure.
  • a method for detecting PWM wave comprising:
  • a device for detecting PWM wave comprising: a PWM wave generating module configured to generate a PWM wave; a detecting module coupled to the PWM wave generating module and configured to receive the PWM wave and determine electric level of the PWM wave; a timer coupled to the detecting module and configured to start counting when the detecting module receives the PWM wave and interrupt the counting when a value of the counting reaches a predetermined value, in which the detecting module determines whether the electric level of the PWM wave during the interruption is high electric level or low electric level; and a calculating module coupled to the detecting module to calculate a duty ratio of the PWM wave based on a number of high electric level and a number of low electric level of the PWM wave determined within one period of the PWM wave.
  • the present disclosure can accurately calculate the duty ratio of the PWM wave according to the number of high electric level and the number of low electric level determined and recorded within one period of the PWM wave. If the duty ratio of the PWM wave does not satisfy the predetermined requirements, the PWM wave will be adjusted to satisfy the requirements, so as to ensure the reliability of the PWM wave, thus avoid occurring of accidents.
  • Fig. 1 shows a flow chart of a method for detecting PWM wave according to an embodiment of the present disclosure
  • Fig. 2 shows a schematic diagram of a device for detecting PWM wave according to an embodiment of the present disclosure
  • Fig. 3 shows a schematic diagram of the MCU according to an example of the present disclosure
  • Fig. 4 shows a schematic diagram of the PWM wave outputted by the MCU in Fig.3
  • Fig. 5 shows a schematic diagram of the electric level determined within one period of the PWM wave according to an embodiment of the present disclosure
  • Fig. 6 shows a schematic diagram of the electric level determined within one period of the PWM wave according to another embodiment of the present disclosure.
  • a method for detecting PWM wave comprises (a) starting counting when a PWM wave is detected; (b)interrupting the counting when a value of the counting reaches a predetermined value; (c) determining whether electric level of the PWM wave during the interruption is high electric level or low electric level; (d) clearing the value of the counting, starting a next counting and interrupting the next counting when a value of the next counting reaches the predetermined value; (e) determining whether the electric level of the PWM wave during the interruption of the next counting is high electric level or low electric level; (f) repeating steps (d) and (e) until one period of the PWM wave; and (g) calculating a duty ratio of the PWM wave based on a number of high electric level and a number of low electric level determined within one period of the PWM wave.
  • the method for detecting PWM wave comprises the following steps.
  • step SI 1 a PWM wave is outputted, as shown in Fig. 4. Then the counting is started when the PWM wave is detected at step S12.
  • the electric level of the PWM wave is determined and recorded as high electric level or low electric level during the interruption.
  • the low electric level may denoted by “0” and the high electric level may be denoted by "1".
  • step SI 5 after recording the electric level of the PWM wave, the value of the counting is cleared.
  • steps S12 to S14 are repeated until one period of the PWM wave, as shown in Figs. 4-6. Since the time of recording the electric level is very short, it is ignored here.
  • the duty ratio of the PWM wave is calculated according to the number of high electric level and the number of low electric level determined and recorded within one period of the PWM wave.
  • the number of high electric level and the number of low electric level may increase with increasing of the interruption times. That is, the shorter the interval time between adjacent interruptions, the larger the number of high electric level and the number of low electric level are, thereby the duty ratio may be more accurate.
  • the method for detecting the PWM wave may further include a step S17 of judging whether the duty ratio of the PWM wave satisfies the predetermined requirements. If the duty ratio of the PWM wave does not satisfy the predetermined requirements, a step S18 of adjusting the duty ratio of the PWM wave is performed so as to ensure the reliability of the PWM wave.
  • the device for detecting PWM wave according to an embodiment of the present disclosure will be described below.
  • the device 1 may comprise: a PWM wave generating module 11, a detecting module 12, a timer 13 and a calculating module 14.
  • the PWM wave generating module 11 is configured to generate a PWM wave.
  • the detecting module 12 is coupled to the PWM wave generating module 11 and configured to receive the PWM wave generated by the PWM wave generating module 11 and to determine electric level of the PWM wave.
  • the timer 13 is coupled to the detecting module 12 and configured to start counting when the detecting module 12 receives the PWM wave and to interrupt the counting when a value of the counting reaches a predetermined value.
  • the detecting module 12 determines whether the electric level of the PWM wave is high electric level or low electric level and records the high electric level or low electric level.
  • the calculating module 14 is coupled to the detecting module 12 and configured to calculate a duty ratio of the PWM wave based on a number of high electric level and a number of low electric level of the PWM wave determined and recorded within one period of the PWM wave.
  • the device may further comprise a judging module 15.
  • the judging module 15 is coupled to the calculating module 14 and configured to judge whether the duty ratio of the PWM wave satisfies predetermined requirements so as to adjust the PWM wave if the duty ratio of the PWM wave does not satisfy the predetermined requirements.
  • the device 1 may be connected to a battery heating module 2, as shown in Figs. 2 and 3, the PWM wave may be sent to the battery heating module 2 if the duty ratio of the PWM wave satisfies predetermined requirements.
  • the PWM wave generating module 11, the detecting module 12, the timer 13, and the calculating module 14 are all incorporated into a MCU (micro control unit) 1.
  • the MCU 1 may have a fixed end to output the generated PWM wave, and the other ends may be served as the feedback input end to receive the PWM wave and determine the electric level of the PWM wave.
  • the port P0.1 of the MCU 1 may be used as an output port to output the PWM wave
  • the port P0.2 of the MCU 1 may be used as an input port.
  • the port P0.1 for outputting the PWM wave may be coupled to the input port P0.2 of the MCU 1 by a transmission line.
  • the port P0.1 starts to output the high electric level or low electric level with a fixed period and duty ratio, as shown in Fig.4, the electric level of the port P0.2 may be high electric level or low electric level.
  • a counter in the timer 13 also starts counting, when the value of the counting reaches the predetermined value, the timer 13 interrupts the counting. During the interruption, the electric level of the port P0.2 is determined and recorded. After the recording of the electric level, the counter is reset to count again.
  • the predetermined value may be determined based on a bus time of the MCU 1 and a frequency division value of the timer. If the bus clock rate of the MCU 1 is 48M (that is, 1/48000000 S), the frequency division value of the timer is zero (that is, there is no frequency division), the predetermined value may be 4800, in other words, the interval time between adjacent interruptions is 0.1ms. It should be appreciated that the present disclosure is not limited to the above example. A skilled person in the art may change the predetermined value as long as it is integer times of the bus clock rate of the MCUl, such as 9600 or 2400 etc. But it should be understood that the smaller the predetermined value, the larger number of electric level is, thereby the duty ratio calculated may be more accurate.
  • the predetermined value is 4800, that is, the timer interrupts the counting per 0.1ms, within one period T, the electric level at the port P0.2 is recorded for 200 times.
  • the black points represent the state of the electric level state, in which the high electric level is recorded for 50 times, and the low electric level is recorded for 150 times, that is, in one period, the high electric level at the port P0.2 is 5ms, the low electric level at the port P0.2 is 15ms, thereby the duty ratio of the PWM wave is 200 divided by 50.
  • the present disclosure can accurately calculate the duty ratio of the PWM wave according to the number of high electric level and the number of low electric level determined and recorded within one period of the PWM wave. If the duty ratio of the PWM wave does not satisfy the predetermined requirements, the PWM wave will be adjusted to satisfy the requirements, so as to ensure the reliability of the PWM wave, thus avoid occurring of accidents.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Inverter Devices (AREA)
  • Microcomputers (AREA)

Abstract

A method for detecting PWM wave comprises: starting counting when a PWM wave is detected; interrupting the counting when a value of the counting reaches a predetermined value; determining whether electric level of the PWM wave during the interruption is high electric level or low electric level; clearing the value of the counting, starting a next counting and interrupting the next counting when a value of the next counting reaches the predetermined value; determining whether the electric level of the PWM wave during the interruption of the next counting is high electric level or low electric level; clearing the value of the counting and repeating the counting and the determining until one period of the PWM wave; and calculating a duty ratio of the PWM wave based on a number of high electric level and a number of low electric level determined within one period of the PWM wave.

Description

METHOD AND DEVICE FOR DETECTING PWM WAVE
CROSS-REFERENCE TO RELATED APPLICATIONS
The present application claims priority to and benefits of Chinese Patent Application No. 200910189235.9 filed with Chinese SIPO on December 22, 2009, the entirety of which is hereby incorporated by reference.
TECHNICAL FIELD
The present disclosure relates to electric vehicle field, more particularly, to a method and a device for detecting PWM wave.
BACKGROUND
With the shortage of resource, an electric vehicle as a transportation vehicle using new energy is gradually developing. It is widely known that, the main power source of the electric vehicle is battery pack, however, the battery pack is an energy- storage equipment which greatly expends on external environment, especially temperature, when the temperature is sub-zero 20 degree centigrade, the discharge performance of lithium battery is greatly decreased and nearly can't satisfy the basic requirements. However, the electric vehicle could not only operate in the warm climate, if into the cold climate, the electric vehicle may not operate normally, even can not start. In order to solve this problem, a battery heating technology is used to heat the battery pack, so that the temperature of the battery can reach the minimum desired temperature, thereby the electric vehicle can drive in the cold climate.
Typically, heating the battery is realized by a battery heating module driven by a PWM wave. To ensure reliability, the PWM wave must be detected. In the prior art, generally using a hardware circuit to detect the PWM wave. However, it can only detect the electric level of the PWM wave, such as high electric level or low electric level, but can not determine a duty ratio of the PWM wave.
SUMMARY
The present disclosure is directed to solving at least one problem associated with the prior art. Accordingly, a method and a device for detecting PWM wave are provided in embodiments of the present disclosure.
According to an embodiment of the present disclosure, a method for detecting PWM wave is provided, comprising:
(a) starting counting when a PWM wave is detected;
(b) interrupting the counting when a value of the counting reaches a predetermined value; (c) determining whether electric level of the PWM wave during the interruption is high electric level or low electric level;
(d) clearing the value of the counting, starting a next counting and interrupting the next counting when a value of the next counting reaches the predetermined value,
(e) determining whether the electric level of the PWM wave during the interruption of the next counting is high electric level or low electric level;
(f) repeating steps (d) and (e) until one period of the PWM wave; and
(g) calculating a duty ratio of the PWM wave based on a number of high electric level and a number of low electric level determined within one period of the PWM wave.
According to another embodiment of the present disclosure, a device for detecting PWM wave is provided, comprising: a PWM wave generating module configured to generate a PWM wave; a detecting module coupled to the PWM wave generating module and configured to receive the PWM wave and determine electric level of the PWM wave; a timer coupled to the detecting module and configured to start counting when the detecting module receives the PWM wave and interrupt the counting when a value of the counting reaches a predetermined value, in which the detecting module determines whether the electric level of the PWM wave during the interruption is high electric level or low electric level; and a calculating module coupled to the detecting module to calculate a duty ratio of the PWM wave based on a number of high electric level and a number of low electric level of the PWM wave determined within one period of the PWM wave.
The present disclosure can accurately calculate the duty ratio of the PWM wave according to the number of high electric level and the number of low electric level determined and recorded within one period of the PWM wave. If the duty ratio of the PWM wave does not satisfy the predetermined requirements, the PWM wave will be adjusted to satisfy the requirements, so as to ensure the reliability of the PWM wave, thus avoid occurring of accidents.
BRIEF DESCRIPTION OF THE DRAWINGS
These and other aspects and advantages of the invention will become apparent and more readily appreciated from the following descriptions taken in conjunction with the drawings in which:
Fig. 1 shows a flow chart of a method for detecting PWM wave according to an embodiment of the present disclosure;
Fig. 2 shows a schematic diagram of a device for detecting PWM wave according to an embodiment of the present disclosure;
Fig. 3 shows a schematic diagram of the MCU according to an example of the present disclosure;
Fig. 4 shows a schematic diagram of the PWM wave outputted by the MCU in Fig.3; Fig. 5 shows a schematic diagram of the electric level determined within one period of the PWM wave according to an embodiment of the present disclosure; and
Fig. 6 shows a schematic diagram of the electric level determined within one period of the PWM wave according to another embodiment of the present disclosure.
DETAILED DESCRIPTION
Reference will be made in detail to embodiments of the present invention. The embodiments described herein with reference to drawings are explanatory and illustrative, and are used to generally understand the present invention. The embodiments shall not be construed to limit the present invention. The same or similar elements and the elements having the same or similar functions are denoted by the same reference numerals throughout the descriptions.
A method for detecting PWM wave according to an embodiment comprises (a) starting counting when a PWM wave is detected; (b)interrupting the counting when a value of the counting reaches a predetermined value; (c) determining whether electric level of the PWM wave during the interruption is high electric level or low electric level; (d) clearing the value of the counting, starting a next counting and interrupting the next counting when a value of the next counting reaches the predetermined value; (e) determining whether the electric level of the PWM wave during the interruption of the next counting is high electric level or low electric level; (f) repeating steps (d) and (e) until one period of the PWM wave; and (g) calculating a duty ratio of the PWM wave based on a number of high electric level and a number of low electric level determined within one period of the PWM wave.
An example of the method for detecting PWM wave according to the present disclosure will be described with reference to Fig.1 and Figs. 4-6. As shown in Fig. l and Figs. 4-6, the method for detecting PWM wave comprises the following steps.
At step SI 1, a PWM wave is outputted, as shown in Fig. 4. Then the counting is started when the PWM wave is detected at step S12.
When a valve of the counting reaches a predetermined valve, the counting is interrupted at step S13.
Next, at step S14, the electric level of the PWM wave is determined and recorded as high electric level or low electric level during the interruption. For example, the low electric level may denoted by "0" and the high electric level may be denoted by "1".
At step SI 5, after recording the electric level of the PWM wave, the value of the counting is cleared.
Then, steps S12 to S14 are repeated until one period of the PWM wave, as shown in Figs. 4-6. Since the time of recording the electric level is very short, it is ignored here.
At step SI 6, the duty ratio of the PWM wave is calculated according to the number of high electric level and the number of low electric level determined and recorded within one period of the PWM wave.
In some embodiments, the duty ratio M of the PWM wave is calculated by the formal: M = Ph /(Ph + Pj ) , where Ph is the number of high electric level determined within one period of the PWM wave and Pj is the number of low electric level determined within one period of the PWM wave.
It will be understood that the number of high electric level and the number of low electric level may increase with increasing of the interruption times. That is, the shorter the interval time between adjacent interruptions, the larger the number of high electric level and the number of low electric level are, thereby the duty ratio may be more accurate.
In another embodiment of the present disclosure, the method for detecting the PWM wave may further include a step S17 of judging whether the duty ratio of the PWM wave satisfies the predetermined requirements. If the duty ratio of the PWM wave does not satisfy the predetermined requirements, a step S18 of adjusting the duty ratio of the PWM wave is performed so as to ensure the reliability of the PWM wave.
The device for detecting PWM wave according to an embodiment of the present disclosure will be described below.
According to the embodiment of the present disclosure, as shown in Figs. 2 and 3, the device 1 may comprise: a PWM wave generating module 11, a detecting module 12, a timer 13 and a calculating module 14.
The PWM wave generating module 11 is configured to generate a PWM wave. The detecting module 12 is coupled to the PWM wave generating module 11 and configured to receive the PWM wave generated by the PWM wave generating module 11 and to determine electric level of the PWM wave.
The timer 13 is coupled to the detecting module 12 and configured to start counting when the detecting module 12 receives the PWM wave and to interrupt the counting when a value of the counting reaches a predetermined value.
During the interruption, the detecting module 12 determines whether the electric level of the PWM wave is high electric level or low electric level and records the high electric level or low electric level.
The calculating module 14 is coupled to the detecting module 12 and configured to calculate a duty ratio of the PWM wave based on a number of high electric level and a number of low electric level of the PWM wave determined and recorded within one period of the PWM wave.
In some embodiments, the duty ratio M of the PWM wave is calculated by the formal: M = Ph /(Ph + Pj ) , where Ph is the number of high electric level determined within one period of the PWM wave and Pj is the number of low electric level determined within one period of the PWM wave.
In another embodiment of the present disclosure, the device may further comprise a judging module 15. The judging module 15 is coupled to the calculating module 14 and configured to judge whether the duty ratio of the PWM wave satisfies predetermined requirements so as to adjust the PWM wave if the duty ratio of the PWM wave does not satisfy the predetermined requirements. The device 1 may be connected to a battery heating module 2, as shown in Figs. 2 and 3, the PWM wave may be sent to the battery heating module 2 if the duty ratio of the PWM wave satisfies predetermined requirements.
In an example as shown in Fig. 3, the PWM wave generating module 11, the detecting module 12, the timer 13, and the calculating module 14 are all incorporated into a MCU (micro control unit) 1. The MCU 1 may have a fixed end to output the generated PWM wave, and the other ends may be served as the feedback input end to receive the PWM wave and determine the electric level of the PWM wave. As shown in Fig.3, the port P0.1 of the MCU 1 may be used as an output port to output the PWM wave, the port P0.2 of the MCU 1 may be used as an input port. The port P0.1 for outputting the PWM wave may be coupled to the input port P0.2 of the MCU 1 by a transmission line.
When the MCU 1 starts to operate, the port P0.1 starts to output the high electric level or low electric level with a fixed period and duty ratio, as shown in Fig.4, the electric level of the port P0.2 may be high electric level or low electric level. Furthermore, when the MCU 1 starts to operate, a counter in the timer 13 also starts counting, when the value of the counting reaches the predetermined value, the timer 13 interrupts the counting. During the interruption, the electric level of the port P0.2 is determined and recorded. After the recording of the electric level, the counter is reset to count again.
In some embodiments, the predetermined value may be determined based on a bus time of the MCU 1 and a frequency division value of the timer. If the bus clock rate of the MCU 1 is 48M (that is, 1/48000000 S), the frequency division value of the timer is zero (that is, there is no frequency division), the predetermined value may be 4800, in other words, the interval time between adjacent interruptions is 0.1ms. It should be appreciated that the present disclosure is not limited to the above example. A skilled person in the art may change the predetermined value as long as it is integer times of the bus clock rate of the MCUl, such as 9600 or 2400 etc. But it should be understood that the smaller the predetermined value, the larger number of electric level is, thereby the duty ratio calculated may be more accurate.
For example, supposing the period of the PWM wave is 20ms, the predetermined value is 4800, that is, the timer interrupts the counting per 0.1ms, within one period T, the electric level at the port P0.2 is recorded for 200 times. As shown in Figs.5 and 6, the black points represent the state of the electric level state, in which the high electric level is recorded for 50 times, and the low electric level is recorded for 150 times, that is, in one period, the high electric level at the port P0.2 is 5ms, the low electric level at the port P0.2 is 15ms, thereby the duty ratio of the PWM wave is 200 divided by 50.
The present disclosure can accurately calculate the duty ratio of the PWM wave according to the number of high electric level and the number of low electric level determined and recorded within one period of the PWM wave. If the duty ratio of the PWM wave does not satisfy the predetermined requirements, the PWM wave will be adjusted to satisfy the requirements, so as to ensure the reliability of the PWM wave, thus avoid occurring of accidents.
Although explanatory embodiments have been shown and described, it would be appreciated by those skilled in the art that changes, alternatives, and modifications can be made in the embodiments without departing from spirit and principles of the disclosure. Such changes, alternatives, and modifications all fall into the scope of the claims and their equivalents.

Claims

WHAT IS CLAIMED IS:
1 . A method for detecting PWM wave, comprising:
(a) starting counting when a PWM wave is detected;
(b) interrupting the counting when a value of the counting reaches a predetermined value;
(c) determining whether electric level of the PWM wave during the interruption is high electric level or low electric level;
(d) clearing the value of the counting, starting a next counting and interrupting the next counting when a value of the next counting reaches the predetermined value;
(e) determining whether the electric level of the PWM wave during the interruption of the next counting is high electric level or low electric level;
(f) repeating steps (d) and (e) until one period of the PWM wave; and
(g) calculating a duty ratio of the PWM wave based on a number of high electric level and a number of low electric level determined within one period of the PWM wave.
2. The method of claim 1, further comprising:
judging whether the duty ratio of the PWM wave satisfies predetermined requirements; and adjusting the PWM wave if the duty ratio of the PWM wave does not satisfy the predetermined requirements.
3. The method of claim 1, wherein the duty ratio M of the PWM wave is calculated by a formula: M = Ph /(Ph + Pj ) , where Ph is the number of high electric level determined within one period of the PWM wave and Pj is the number of low electric level determined within one period of the PWM wave.
4. A device for detecting PWM wave, comprising:
a PWM wave generating module configured to generate a PWM wave;
a detecting module coupled to the PWM wave generating module and configured to receive the PWM wave and determine electric level of the PWM wave;
a timer coupled to the detecting module and configured to start counting when the detecting module receives the PWM wave and interrupt the counting when a value of the counting reaches a predetermined value, in which the detecting module determines whether the electric level of the PWM wave during the interruption is high electric level or low electric level; and
a calculating module coupled to the detecting module and configured to calculate a duty ratio of the PWM wave based on a number of high electric level and a number of low electric level of the PWM wave determined within one period of the PWM wave.
5. The device of claim 4, further comprising a judging module coupled to the calculating module and configured to judge whether the duty ratio of the PWM wave satisfies predetermined requirements and to adjust the PWM wave if the duty ratio of the PWM wave does not satisfy the predetermined requirements.
6. The device of claim 4, wherein the calculating module calculates the duty ratio of the PWM wave by a formula: M = Ph /(Ph + Pj ) , where Ph is the number of high electric level determined within one period of the PWM wave and P, is the number of low electric level determined within one period of the PWM wave.
7. The device of claim 4, wherein the PWM wave generating module, the detecting module, the timer, and the calculating module are incorporated into a MCU.
8. The device of claim 7, wherein an interval time between adjacent interruptions of the timer is determined based on a bus time of the MCU and a frequency division value of the timer.
PCT/CN2010/080050 2009-12-22 2010-12-21 Method and device for detecting pwm wave Ceased WO2011076103A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP10838666.5A EP2517029A4 (en) 2009-12-22 2010-12-21 Method and device for detecting pwm wave
US13/530,818 US8878603B2 (en) 2009-12-22 2012-06-22 Method and device for detecting PWM wave

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2009101892359A CN102103168A (en) 2009-12-22 2009-12-22 PWM (Pulse-Width Modulation) wave detecting method and device
CN200910189235.9 2009-12-22

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US13/530,818 Continuation US8878603B2 (en) 2009-12-22 2012-06-22 Method and device for detecting PWM wave

Publications (1)

Publication Number Publication Date
WO2011076103A1 true WO2011076103A1 (en) 2011-06-30

Family

ID=44156093

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/080050 Ceased WO2011076103A1 (en) 2009-12-22 2010-12-21 Method and device for detecting pwm wave

Country Status (4)

Country Link
US (1) US8878603B2 (en)
EP (1) EP2517029A4 (en)
CN (1) CN102103168A (en)
WO (1) WO2011076103A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8878603B2 (en) 2009-12-22 2014-11-04 Shenzhen Byd Auto R&D Company Limited Method and device for detecting PWM wave

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104702251B (en) * 2014-07-24 2017-04-19 北京航空航天大学 Timer-based PWM (Pulse Width Modulation) wave generation method
CN104698286B (en) * 2014-07-24 2017-10-03 北京航空航天大学 A kind of PWM ripple acquisition methods based on timer
CN106569434A (en) * 2016-08-31 2017-04-19 宝鸡中发石油机械有限责任公司 Encoder type control handle
CN107064653A (en) * 2017-04-07 2017-08-18 贵州电网有限责任公司贵阳供电局 The comprehensive measuring method of pwm signal in alternating-current charging pile tester
CN110661459A (en) * 2019-09-06 2020-01-07 重庆东渝中能实业有限公司 Method for monitoring PWM pulse number by using IO port interrupt feedback
CN110568253B (en) * 2019-09-18 2021-11-02 杭州晨晓科技股份有限公司 Voltage monitoring system and method based on FPGA
CN111220843A (en) * 2020-01-18 2020-06-02 惠州华阳通用电子有限公司 Signal level duration time measuring method and device
CN111490760B (en) * 2020-05-19 2023-05-12 广东海悟科技有限公司 Singlechip high-precision analog quantity output method, device and equipment based on PWM waveform
CN111786865B (en) * 2020-06-09 2021-11-12 青岛信芯微电子科技股份有限公司 Data processing method and equipment
CN112084464B (en) * 2020-09-11 2025-07-11 中国科学院微小卫星创新研究院 Duty cycle statistics method and system for satellite electric heater
CN113447616B (en) * 2021-06-22 2022-09-02 成都归谷环境科技有限责任公司 PWM output value calculation method of CO2 sensor
CN118046066A (en) * 2024-02-29 2024-05-17 南京云岗智能科技有限公司 Real-time alarm method and device for DC pulse argon arc welding process

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57208474A (en) * 1981-06-19 1982-12-21 Fujitsu General Ltd Measuring device for duty ratio
JPS57208473A (en) * 1981-06-19 1982-12-21 Fujitsu General Ltd Measuring device for duty ratio
JPH1038907A (en) * 1996-07-25 1998-02-13 Denso Corp Pulse signal period detector
US20050225351A1 (en) * 2004-04-13 2005-10-13 Tseng-Wen Chen Method for detecting a power load of a power supply module according to duty cycle detection, and related device
US20090102514A1 (en) * 2007-10-17 2009-04-23 Lu-Yueh Hsu Duty cycle detecting circuit for pulse width modulation

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6465464A (en) * 1987-09-04 1989-03-10 Toshiba Corp Pulse signal detecting device
US5367200A (en) * 1993-11-29 1994-11-22 Northern Telecom Limited Method and apparatus for measuring the duty cycle of a digital signal
JPH07322693A (en) * 1994-05-24 1995-12-08 Canon Inc Stepping motor drive device and recording device using stepping motor drive means
GB9608819D0 (en) * 1996-04-30 1996-07-03 Switched Reluctance Drives Ltd Demodulator for a pulse width modulated signal
JP3199027B2 (en) * 1998-05-11 2001-08-13 日本電気株式会社 Duty measurement circuit, data identification system, data signal reproduction system, duty measurement method, data identification method, and data signal reproduction method
CN2411489Y (en) * 2000-02-22 2000-12-20 刘哲明 Logic testing probe with easyly testing frequency and duty ratio function
US7151367B2 (en) * 2004-03-31 2006-12-19 Teradyne, Inc. Method of measuring duty cycle
US7795826B2 (en) * 2006-07-07 2010-09-14 Panasonic Corporation Brushless motor driving circuit and motor having the same circuit
CN102103168A (en) 2009-12-22 2011-06-22 比亚迪股份有限公司 PWM (Pulse-Width Modulation) wave detecting method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57208474A (en) * 1981-06-19 1982-12-21 Fujitsu General Ltd Measuring device for duty ratio
JPS57208473A (en) * 1981-06-19 1982-12-21 Fujitsu General Ltd Measuring device for duty ratio
JPH1038907A (en) * 1996-07-25 1998-02-13 Denso Corp Pulse signal period detector
US20050225351A1 (en) * 2004-04-13 2005-10-13 Tseng-Wen Chen Method for detecting a power load of a power supply module according to duty cycle detection, and related device
US20090102514A1 (en) * 2007-10-17 2009-04-23 Lu-Yueh Hsu Duty cycle detecting circuit for pulse width modulation

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8878603B2 (en) 2009-12-22 2014-11-04 Shenzhen Byd Auto R&D Company Limited Method and device for detecting PWM wave

Also Published As

Publication number Publication date
EP2517029A4 (en) 2016-01-06
US8878603B2 (en) 2014-11-04
US20120319795A1 (en) 2012-12-20
EP2517029A1 (en) 2012-10-31
CN102103168A (en) 2011-06-22

Similar Documents

Publication Publication Date Title
EP2517029A1 (en) Method and device for detecting pwm wave
US8525371B2 (en) Discharge control apparatus arranged in power conversion system
CN105790754B (en) Digital isolation circuit and control method thereof
EP2626714A1 (en) System and method for verifying the operating frequency of digital control circuitry
US9812947B2 (en) Motor control device having life prediction unit of smoothing capacitor
US10289142B2 (en) Induction type power supply system and intruding metal detection method thereof
KR20160061121A (en) Wireless power transmitting apparatus and foreign object detection method of the same
US9461495B2 (en) Battery warm up system and method for warming up battery using the same
CN103579706A (en) Charging method for adjusting charging current
JP5947633B2 (en) Signal transmission circuit, integrated circuit, and electrical equipment including the same
EP2128958A2 (en) Current Breaking Method for Rechargeable Battery and Battery Pack Using the Same
EP2800236B1 (en) Power supply device and power supply switching method
WO2011004247A3 (en) Secondary battery temperature-increasing control apparatus, vehicle including the same, and secondary battery temperature-increasing control method
JPWO2015019873A1 (en) Battery control system, vehicle control system
CN105850001A (en) Method for wireless transmission of a power
WO2017051515A1 (en) Method for detecting temperature of battery system
EP2784539A1 (en) Vehicle obstacle detection device
CN1722561B (en) Battery protection circuit
EP2001096B1 (en) Controller
EP2991228B1 (en) Alarm processing circuit
JP5418273B2 (en) Power converter
JP2018182974A (en) Propulsion controller
CN103246216A (en) Radio frequency module and load mode switch method thereof
US7928723B2 (en) Measurement of dissipated power
EP3169904B1 (en) Method for controlling an electric ventilator

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 10838666

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

REEP Request for entry into the european phase

Ref document number: 2010838666

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2010838666

Country of ref document: EP