KR100412734B1 - Modeling method of pulse width modulation device - Google Patents

Modeling method of pulse width modulation device Download PDF

Info

Publication number
KR100412734B1
KR100412734B1 KR10-2001-0080885A KR20010080885A KR100412734B1 KR 100412734 B1 KR100412734 B1 KR 100412734B1 KR 20010080885 A KR20010080885 A KR 20010080885A KR 100412734 B1 KR100412734 B1 KR 100412734B1
Authority
KR
South Korea
Prior art keywords
signal
control signal
pwm device
event
duty
Prior art date
Application number
KR10-2001-0080885A
Other languages
Korean (ko)
Other versions
KR20030050455A (en
Inventor
박창혁
Original Assignee
현대자동차주식회사
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 현대자동차주식회사 filed Critical 현대자동차주식회사
Priority to KR10-2001-0080885A priority Critical patent/KR100412734B1/en
Publication of KR20030050455A publication Critical patent/KR20030050455A/en
Application granted granted Critical
Publication of KR100412734B1 publication Critical patent/KR100412734B1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K7/00Modulating pulses with a continuously-variable modulating signal
    • H03K7/08Duration or width modulation ; Duty cycle modulation

Abstract

PWM 소자를 SABER(Semi Automatic Business Environment Research) 시뮬레이션 소프트웨어에서 동작할 수 있도록 모델링하여 컴퓨터 시뮬레이션 환경에서 PWM 소자로 인한 전기 부하의 전류 소비량을 확인할 수 있도록 하는 것이다.The PWM device is modeled for operation in Semi Automatic Business Environment Research (SABER) simulation software, allowing the computer simulation environment to determine the current consumption of the electrical load due to the PWM device.

본 발명은 PWM 소자에 입력되는 제어신호와 상기 제어신호를 받아 전기부하에 공급되는 입력 전원을 스위칭하는 신호를 구분하는 과정과, 제어신호중에 주파수 신호를 Mast Language에서 지원하는 Schedule_event() 함수로 적용하고, 듀티 신호에 대해서는 온/오프 듀티비를 결정하는 과정과, 주파수 신호와 듀티 신호로 결정되는 제어신호를 통해 PWM 소자를 스위칭시켜 전기부하에 공급되는 전압을 측정하여 소비 전류량을 측정하는 과정을 포함하는 것을 특징으로 한다.The present invention is to classify a control signal input to a PWM device and a signal for switching the input power supplied to the electric load receiving the control signal, and apply the frequency signal in the control signal to the Schedule_event () function supported by the Mast Language And, for the duty signal, the process of determining the on / off duty ratio, and the process of measuring the current consumption by measuring the voltage supplied to the electrical load by switching the PWM element through a control signal determined by the frequency signal and the duty signal It is characterized by including.

Description

피 더블유 엠 소자의 모델링 방법{MODELING METHOD OF PULSE WIDTH MODULATION DEVICE}MODELING METHOD OF PULSE WIDTH MODULATION DEVICE

본 발명은 피 더블유 엠(Pulse width modulation ; 이하 'PWM' 이라 한다.) 소자에 관한 것으로, 더 상세하게는 PWM 소자를 SABER(Semi Automatic Business Environment Research) 시뮬레이션(Simulation) 소프트웨어(Software)에서 동작할 수 있도록 모델링하여 컴퓨터 시뮬레이션 환경에서 PWM 소자로 인한 전기 부하의전류 소비량을 확인할 수 있도록 하는 피 더블유 엠 소자의 모델링 방법에 관한 것이다.The present invention relates to a pulse width modulation (PWM) device. More specifically, the PWM device may be operated in a SABER (Semi Automatic Business Environment Research) simulation software. The present invention relates to a method for modeling a P.M element that can be modeled to enable the computer simulation environment to check the current consumption of an electrical load due to a PWM element.

일반적으로 PWM 소자는 특정한 전기부하, 예를들어 모터의 전단 또는 후단에 연결되어 전기부하에 인가되는 전압을 조절하는 스위칭 소자로, 도 1에서 알 수 있는 바와 같이 PWM 소자에 제어신호로 입력되는 주파수와 듀티 싸이클에 의해 입력전압이 제어되어 출력전압을 형성되며, 제어신호가 '1'인 경우 스위치는 온 상태로 되고, 제어신호가 '0'인 경우 스위치는 오프 상태로 된다.In general, a PWM device is a switching device that is connected to a specific electric load, for example, a front end or a rear end of a motor to adjust a voltage applied to the electric load. As shown in FIG. 1, a frequency input as a control signal to a PWM device The input voltage is controlled by the duty cycle to form an output voltage. When the control signal is '1', the switch is turned on. When the control signal is '0', the switch is turned off.

따라서, PWM 소자의 출력단에 전기부하인 모터가 연결되는 경우 모터의 출력은 PWM 소자에 제어신호로 입력되는 주파수와 듀티 싸이클에 의해 제어된다.Therefore, when an electric load motor is connected to the output terminal of the PWM device, the output of the motor is controlled by the frequency and duty cycle inputted as a control signal to the PWM device.

상기와 같이 전기부하에 인가되는 전압을 조절하는 PWM 소자를 통해 전기부하의 전류 소비량을 검출하는 종래의 방법은 개발을 통해 시제품으로 생산한 PWM 소자를 해당 전기부하에 직접적으로 연결한 다음 주파수 및 듀티 싸이클로 이루어지는 제어신호의 인가로 입력전압과 출력전압과의 관계로부터 해당 PWM 소자의 전류 소비량을 측정하고, 이로부터 해당 전기부하의 소비 전류량을 측정한다.The conventional method of detecting the current consumption of the electric load through the PWM device for adjusting the voltage applied to the electric load as described above is to connect the PWM device produced as a prototype through development directly to the corresponding electric load and then frequency and duty By applying a control signal consisting of cycles, the current consumption of the corresponding PWM element is measured from the relationship between the input voltage and the output voltage, and from this the current consumption of the corresponding electrical load is measured.

전술한 바와 같이 PWM 소자가 전단에 연결되는 전기부하의 전류 소비량을 측정하는 방법은 PWM 소자와 해당 전기부하의 실제품을 회로로 구현하여 전류 소비량을 측정하므로, 실질적인 전류 소비량의 측정에 많은 시간이 소요되고, 전기부하에 적합한 PWM 소자의 개발 역시 많은 시간이 소요되며 개발비용의 상승을 초래하는 문제점이 발생한다.As described above, the method of measuring the current consumption of an electrical load connected to a PWM device at the front end measures a current consumption by implementing a PWM device and a real product of the corresponding electrical load in a circuit, and therefore, it takes a long time to measure the actual current consumption. In addition, the development of a PWM device suitable for an electric load also takes a lot of time and causes a problem that leads to an increase in development costs.

본 발명은 상기와 같은 문제점을 해결하기 위하여 발명한 것으로, 그 목적은 PWM 소자를 SABER 시뮬레이션 소프트웨어를 통해 동작되도록 모델링하여 컴퓨터 시뮬레이션 환경에서 PWM 소자의 전류 소비량과 이에 따른 전기부하의 전류 소비량을 측정할 수 있도록 한 것이다.The present invention has been invented to solve the above problems, the object of which is to model the PWM device to be operated by the SABER simulation software to measure the current consumption of the PWM device in the computer simulation environment and thus the current consumption of the electrical load I would have to.

또한, PWM 소자의 모델링으로 각각의 전기부하에 적합한 전류 소비량을 갖는 PWM 소자의 개발에 편리성과 신뢰성 및 개발비용의 절감을 제공하도록 한 것이다.In addition, the modeling of the PWM device is intended to provide convenience, reliability, and development cost reduction in the development of a PWM device having a current consumption suitable for each electric load.

도 1은 일반적인 PWM 소자의 개념도.1 is a conceptual diagram of a general PWM device.

도 2는 본 발명에 따라 PWM 소자의 모델링을 수행하는 일 실시예의 흐름도.2 is a flow diagram of one embodiment for modeling a PWM device in accordance with the present invention.

도 3은 본 발명에 따른 PWM 소자의 모델링을 통해 PWM 소자에 인가되는 전압을 측정하는 시뮬레이션 회로도.3 is a simulation circuit diagram for measuring the voltage applied to the PWM device through the modeling of the PWM device according to the present invention.

도 4는 도 3을 통해 측정된 시뮬레이션 결과 그래프.4 is a graph of simulation results measured through FIG. 3.

도 5는 본 발명에 따른 PWM 소자의 모델링을 통해 PWM 소자를 통과한 전압을 측정하는 다른 실시예의 시뮬레이션 회로도.5 is a simulation circuit diagram of another embodiment for measuring the voltage passing through the PWM device through the modeling of the PWM device according to the present invention.

도 6은 도 5를 통해 측정되는 시뮬레이션 결과 그래프.6 is a graph of simulation results measured through FIG. 5.

상기와 같은 목적을 실현하기 위한 본 발명은 PWM 소자에 입력되는 제어신호와 상기 제어신호를 받아 전기부하에 공급되는 입력 전원을 스위칭하는 신호를 구분하는 과정과; 상기 제어신호중에 주파수 신호를 Mast Language에서 지원하는 Schedule_event() 함수로 적용하고, 듀티 신호에 대해서는 온/오프 듀티비를 결정하는 과정과; 상기 주파수 신호와 듀티 신호로 결정되는 제어신호를 통해 PWM 소자를 스위칭시켜 전기부하에 공급되는 전압을 측정하여 소비 전류량을 측정하는 과정을 포함하는 것을 특징으로 한다.The present invention for realizing the above object comprises the steps of separating the control signal input to the PWM device and the signal for switching the input power supplied to the electrical load receiving the control signal; Applying a frequency signal to a Schedule_event () function supported by Mast Language among the control signals, and determining an on / off duty ratio for the duty signal; And switching a PWM device through a control signal determined by the frequency signal and the duty signal to measure a voltage supplied to an electric load to measure a current consumption amount.

이하, 첨부된 도면을 참조하여 본 발명의 바람직한 일 실시예를 상세하게 설명하면 다음과 같다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

먼저, SABER의 Mast Language를 이용한 PWM 소자의 모델링은 제어신호를 발생시키는 부분과 제어신호에 받아 전기부하에 사용되는 전원을 스위칭하는 부분으로 구분하여 모델링 한다(S110).First, the modeling of the PWM device using SABER's Mast Language is modeled by dividing the control signal generation portion and the switching portion of the power used for the electric load in response to the control signal (S110).

상기에서 제어신호의 발생부분은 그 입력값으로 주파수와 듀티비를 받아 클럭신호(Clock)로 제어신호를 출력하는데, 클럭신호는 일종의 온/오프의 신호로 스위칭 신호로 사용되므로 후술하고, 제어신호를 발생하는 부분에서 주의할 점은 주파수의 값을 1Hz 이상의 값으로 주어지는 경우 어떻게 시뮬레이션하여 정확한 결과값을 얻을 수 있는가이다.The generating part of the control signal receives the frequency and duty ratio as its input value and outputs the control signal as a clock signal. The clock signal is used as a switching signal as a kind of on / off signal, which will be described later. At the point of generating, note that how to obtain the accurate result by simulating the frequency value more than 1Hz.

일반적으로 시뮬레이션을 진행할 시 타임 스텝(Time Step)은 주로 '1' 주게 되는데, 만일 1Hz 이상의 주파수값을 주어 시뮬레이션 하고자 하는 경우 타임 스텝은 주파수 보다 작은 '1' 이하로 주어야 하므로 시뮬레이션 시간이 길어지게 된다.In general, when performing simulation, the time step is mainly given as '1'. If you want to simulate with a frequency value of 1Hz or more, the time step should be given as '1' or less than the frequency, so the simulation time becomes longer. .

따라서, 이를 정확하게 모델링하기 위하여 Mast Language에서 지원하는 Schedule_event()함수를 이용한다(S120).Therefore, to accurately model this, the Schedule_event () function supported by Mast Language is used (S120).

상기의 Schedule_event()함수의 일반적인 사용법은 Schedule_event(time, statevariable, expression)의 형태를 가지고 있으며, 그 의미는 '시뮬레이션을 수행하다 해당 시간(time)에 도달하게 되면 상태가변값(statevariable)에 표현(expression)의 값을 대입하여 수행하라' 라는 의미이다.The general usage of the Schedule_event () function is in the form of Schedule_event (time, statevariable, expression), which means that 'simulation is performed. execute by assigning the value of expression).

따라서, 이러한 Schedule_event()함수를 이용하면 시뮬레이션의 타임 스텝에 관계없이 스위치의 온/오프를 정확하게 조절할 수 있다.Therefore, this Schedule_event () function can be used to accurately control the switch on / off regardless of the time step of the simulation.

그리고, 제어신호의 부분에서 고려하여야 하는 또하나는 듀티비를 조정하는 것이므로, 예를들어 듀티비가 30%인 경우 온되는 부분이 전체 주파수의 30%이고 오프되는 부분이 전체 주파수의 70%가 된다는 의미가 된다.In addition, since the duty ratio is to be adjusted in the part of the control signal, for example, when the duty ratio is 30%, the on portion is 30% of the total frequency and the off portion is 70% of the total frequency. It makes sense.

따라서, 온은 전체 주기에 듀티비 만큼 곱한 구간이 되고 오프는 전체 주기에서 온되는 구간을 뺀 구간이 되므로, 이를 통해 각 듀티비를 결정한다(S130).Therefore, since the ON is a section multiplied by the duty ratio for the entire period and the OFF is a section obtained by subtracting the section that is turned on in the entire cycle, the duty ratio is determined through this (S130).

상기와 같이 제어신호 부분에서 주파수와 듀티비를 결정하는 SABER의 Mast Language의 알고리즘은 하기와 같이 설정된다.As described above, SABER's Mast Language algorithm for determining the frequency and duty ratio in the control signal portion is set as follows.

element template ctrlgen clock = freq,duty,td,v1,v2,restartelement template ctrlgen clock = freq, duty, td, v1, v2, restart

state logic_4 clockstate logic_4 clock

number freq=0, # Clock frequency.number freq = 0, # Clock frequency.

duty=0.5, # Clock duty cycle (time pulsed/period)duty = 0.5, # Clock duty cycle (time pulsed / period)

td=0 # Initial delay.td = 0 # Initial delay.

enum {l4_0,l4_1, # obsolete specification of logic 0 and 1enum {l4_0, l4_1, # obsolete specification of logic 0 and 1

_0, _1} v1=_0, # "Off" state._0, _1} v1 = _0, # "Off" state.

v2=_1 # "On" state.v2 = _1 # "On" state.

enum {init,continue} restart=init # An option to eliminate theenum {init, continue} restart = init # An option to eliminate the

# Initial event on clock.# Initial event on clock.

# If restart=init, the clock# If restart = init, the clock

# is initialized. An# is initialized. An

# event on clock occurs at the# event on clock occurs at the

# beginning.# beginning.

# If restart=continue, the event on# If restart = continue, the event on

# clock is the event left from# clock is the event left from

# the previous transient analysis.# the previous transient analysis.

# if trip is not specified,# if trip is not specified,

# the clock starts from v0# the clock starts from v0

{{

state logic_4 off, # Off state.state logic_4 off, # Off state.

on # On state.on # On state.

state nu tick=0, # Internal wake-up state.state nu tick = 0, # Internal wake-up state.

handle[2],hclk[2],reset=0handle [2], hclk [2], reset = 0

number ton=0, # Clock on time.number ton = 0, # Clock on time.

toff=0 # Clock off time.toff = 0 # Clock off time.

#++++++++++++++++++++++++++++++++++++++++++++++++++++++# +++++++++++++++++++++++++++++++++++++++++++++++++ +++++

parameters {parameters {

# Input parameter checking.# Input parameter checking.

if (td < 0)if (td <0)

saber_message("TMPL_S_EQUIV_POSEQ",instance(),"td")saber_message ("TMPL_S_EQUIV_POSEQ", instance (), "td")

if (freq < 0)if (freq <0)

saber_message("TMPL_S_EQUIV_POSEQ",instance(),"freq")saber_message ("TMPL_S_EQUIV_POSEQ", instance (), "freq")

if ((duty < 0)|(duty > 1))if ((duty <0) | (duty> 1))

saber_message("TMPL_S_RANGE",instance(),duty","0",quot;1")saber_message ("TMPL_S_RANGE", instance (), duty "," 0 ", quot; 1")

# Calculate off and on times.# Calculate off and on times.

if (freq > 0) {if (freq> 0) {

ton = duty/freqton = duty / freq

toff = 1/freq - tontoff = 1 / freq-ton

}}

}}

#+++++++++++++++++++++++++++++++++++++++++++++++++++++++# +++++++++++++++++++++++++++++++++++++++++++++++++ ++++++

when (dc_init | time_init) {when (dc_init | time_init) {

if ((v1==l4_0)|(v1==_0)) off = l4_0if ((v1 == l4_0) | (v1 == _ 0)) off = l4_0

else off = l4_1else off = l4_1

if ((v2==l4_0)|(v2==_0)) on = l4_0if ((v2 == l4_0) | (v2 == _ 0)) on = l4_0

else on = l4_1else on = l4_1

# time_init may be true without a dc operation (i.e. with trip zero)# time_init may be true without a dc operation (i.e. with trip zero)

hclk = schedule_event(time,clock,off)hclk = schedule_event (time, clock, off)

# if(freq == 0 time_init) {# if (freq == 0 time_init) {

# # with freq = 0, the output may change its state once.# # with freq = 0, the output may change its state once.

# handle = schedule_event(time+td,clock,on)# handle = schedule_event (time + td, clock, on)

# }#}

# set a mark indicating that the events in the event queue# set a mark indicating that the events in the event queue

# have been canceled# have been canceled

reset = 1reset = 1

}}

when (tr_start freq == 0) {when (tr_start freq == 0) {

# In this case, the initial value of the output state is off and# In this case, the initial value of the output state is off and

# change to on in td. It stays on after td.# change to on in td. It stays on after td.

hclk = schedule_event(time,clock,off)hclk = schedule_event (time, clock, off)

handle = schedule_event(time+td,clock,on)handle = schedule_event (time + td, clock, on)

}}

when (tr_start freq > 0) {when (tr_start freq> 0) {

# Start clock ticking after delay time.# Start clock ticking after delay time.

# In the case that tr re-starts, since there has been an event# In the case that tr re-starts, since there has been an event

# in the event queue, no event need to be scheduled at this moment.# in the event queue, no event need to be scheduled at this moment.

if (restart == init ) {if (restart == init) {

# tr may start after an alter without dc analysis# tr may start after an alter without dc analysis

if ((v1==l4_0)|(v1==_0)) off = l4_0if ((v1 == l4_0) | (v1 == _ 0)) off = l4_0

else off = l4_1else off = l4_1

if ((v2==l4_0)|(v2==_0)) on = l4_0if ((v2 == l4_0) | (v2 == _ 0)) on = l4_0

else on = l4_1else on = l4_1

# The event on tick remained in the event queue should# The event on tick remained in the event queue should

# be removed. Otherwise, there may be a redundunt event# be removed. Otherwise, there may be a redundunt event

# on tick if the previous end point is used as the start# on tick if the previous end point is used as the start

# point of the present tr analysis.# point of the present tr analysis.

deschedule(hclk)deschedule (hclk)

deschedule(handle)deschedule (handle)

hclk = schedule_event(time,clock,off)hclk = schedule_event (time, clock, off)

handle = schedule_event(time+td,tick,1-tick)handle = schedule_event (time + td, tick, 1-tick)

}}

else if (reset == 1) {else if (reset == 1) {

# in the case the restart = continue, there may have# in the case the restart = continue, there may have

# two situations:# two situations:

# 1. trip has been specified. in this case, the event# 1. trip has been specified. in this case, the event

# in the trip file exists, no need to initial any events;# in the trip file exists, no need to initial any events;

# 2. trip has not been specified, i.e. start tr without trip# 2. trip has not been specified, i.e. start tr without trip

# option and reset is set to 1, in this case,# option and reset is set to 1, in this case,

# the initial event on tick is needed.# the initial event on tick is needed.

handle = schedule_event(time+td,tick,1-tick)handle = schedule_event (time + td, tick, 1-tick)

}}

# reset the mark# reset the mark

reset = 0reset = 0

}}

when (event_on(tick)) {when (event_on (tick)) {

if (clock==off) {if (clock == off) {

# Turn clock on# Turn clock on

if (ton > 0) {if (ton> 0) {

hclk = schedule_event(time,clock,on)hclk = schedule_event (time, clock, on)

handle = schedule_event(time+ton,tick,1-tick)handle = schedule_event (time + ton, tick, 1-tick)

}}

}}

else {else {

# Turn clock off# Turn clock off

if (toff > 0) {if (toff> 0) {

hclk = schedule_event(time,clock,off)hclk = schedule_event (time, clock, off)

handle = schedule_event(time+toff,tick,1-tick)handle = schedule_event (time + toff, tick, 1-tick)

}}

또한, 스위치 부분은 제어신호로부터 나오는 신호를 이용하여 전기부하의 입력전원을 제어하는 부분으로, 제어신호가 '0'에서 '1'로 변환되면 스위치를 온 시키라는 의미이므로 저항 값을 1μΩ으로 하여 PWM 입력전압이 그대로 전기부하에 전달되도록 하고, 제어신호가 '1'에서 '0'으로 변환되면 스위치를 오프시키라는 의미이므로 저항값을 1MΩ으로 하여 PWM 입력전압이 전기 부하에 전달되지 못하도록결정한다(S140).In addition, the switch part controls the input power of the electric load by using the signal from the control signal. When the control signal is converted from '0' to '1', it means to turn on the switch. The PWM input voltage is transferred to the electric load as it is, and when the control signal is changed from '1' to '0', it means to switch off. Therefore, the resistance value is 1MΩ. (S140).

상기한 바와 같이 스위치 부분의 전압을 결정하는 SABER의 Mast Language 알고리즘은 하기와 같이 설정된다.As described above, SABER's Mast Language algorithm for determining the voltage of the switch portion is set as follows.

template swt ctrl p mtemplate swt ctrl p m

state logic_4 ctrlstate logic_4 ctrl

electrical p,melectrical p, m

{{

val v vval v v

state nu R_sw = 1state nu R_sw = 1

state logic_4 old_ctrl = l4_1state logic_4 old_ctrl = l4_1

when (event_on(ctrl)) {when (event_on (ctrl)) {

if (ctrl == l4_0 old_ctrl == l4_1) { # Openif (ctrl == l4_0 old_ctrl == l4_1) {# Open

old_ctrl = l4_0 # input filteringold_ctrl = l4_0 # input filtering

R_sw = 100meg # High impedanceR_sw = 100meg # High impedance

schedule_next_time(time)schedule_next_time (time)

}}

else if (ctrl == l4_1 old_ctrl == l4_0) { # Closedelse if (ctrl == l4_1 old_ctrl == l4_0) {# Closed

old_ctrl = l4_1 # Input filteringold_ctrl = l4_1 # Input filtering

R_sw = 1u # Avoid divide by zeroR_sw = 1u # Avoid divide by zero

schedule_next_time(time)schedule_next_time (time)

}}

}}

values {values {

v = v(p) - v(m)v = v (p)-v (m)

}}

equations {equations {

i(p->m) += v/R_swi (p-> m) + = v / R_sw

}}

상기한 바와 같은 모델링 방법을 이용하여 PWM 소자의 시뮬레이션을 검증하는 동작을 도 3을 참조하여 설명하면 다음과 같다.An operation of verifying the simulation of the PWM device using the modeling method as described above will be described with reference to FIG. 3.

도면에서 알 수 있는 바와 같이, 10V의 정전압원과 1K의 저항 및 PWM 소자를 직렬로 연결한 다음 PWM 소자에 입력되는 신호선(SW)의 전압을 측정함으로써 PWM 소자의 동작 상태를 확인한다.As can be seen in the figure, a 10V constant voltage source, a 1K resistor and a PWM device are connected in series, and then the operating state of the PWM device is checked by measuring the voltage of the signal line SW input to the PWM device.

따라서, 예를들어 PWM 소자에 제어신호로 입력되는 주파수를 10Hz로 하고, 듀티를 30%로 하는 경우 PWM 소자에 입력되는 전압은 첨부된 도 4와 같이 검출되므로, 도 4에서 알 수 있는 바와 같이 10V의 정전압 전원이 공급되더라도 10Hz의 주파수와 30%의 듀티로 입력되는 제어신호에 의해 PWM 소자에 입력되어지는 평균전압은 7.07V로 강하됨을 알 수 있다.Thus, for example, when the frequency input to the PWM device as a control signal is 10Hz, and the duty is 30%, the voltage input to the PWM device is detected as shown in FIG. 4, as shown in FIG. Even when a 10V constant voltage power is supplied, the average voltage input to the PWM device drops to 7.07V due to a control signal input at a frequency of 10Hz and a duty of 30%.

이는 PWM 소자의 스위칭 역할에 의한 영향으로 해석된다.This is interpreted as an influence by the switching role of the PWM device.

또한, 다른 일 실시예로 PWM 소자의 시뮬레이션을 검증하는 동작에 대하여도 5를 참조하여 설명하면 다음과 같다.In another embodiment, an operation of verifying a simulation of a PWM device will be described with reference to FIG. 5.

도면에서 알 수 있는 바와 같이, 10V의 정전압원과 PWM 소자를 1K 저항값을 갖는 와이어(r.src)로 연결하고, PWM 소자의 출력단에 9Ω의 저항값을 갖는 부하저항(r.r1)을 직렬로 연결한 다음 PWM 소자에 1Hz의 주파수와 50%의 듀티로 이루어지는 제어신호를 입력한 다음 부하저항에 걸리는 전압을 측정함으로써 PWM 소자의 동작 상태를 확인한다.As can be seen in the figure, a 10V constant voltage source and a PWM device are connected by a wire (r.src) having a 1K resistance value, and a load resistance (r.r1) having a resistance value of 9Ω is connected to the output terminal of the PWM device. After connecting in series, input the control signal of 1Hz frequency and 50% duty to the PWM device and check the operation status of the PWM device by measuring the voltage across the load resistor.

상기한 구성에서 PWM 소자가 연결되어 있지 않다고 가정하는 경우 공급되는 10V의 전압은 와이어 저항(r.src)에 1V의 전압이 거리고, 부하저항(r.r1)에는 9V의 전압이 걸려 최종적으로 부하 저항에서 소비되는 전력은 9W로 생각할 수 있다.In the above configuration, assuming that the PWM device is not connected, the voltage of 10V supplied is 1V across the wire resistance (r.src) and 9V is applied to the load resistor (r.r1). The power dissipated in the resistor can be thought of as 9W.

그러나, PWM 소자를 연결한 경우 도 6의 분석 결과에서 알 수 있는 바와 같이 와이어 저항(r.src)에 0.4966V의 전압이 걸리고, PWM소자에 9.5033V의 전압이 입력되나 제어신호로 듀티가 50%로 인가되므로 9.5033V/2로 출력전압이 결정되므로 최종적으로 부하저항(r.r1)에 걸리는 전압은 4.47V가 된다.However, when the PWM device is connected, as shown in the analysis result of FIG. 6, a voltage of 0.4966 V is applied to the wire resistance (r.src), and a voltage of 9.5033 V is input to the PWM device, but the duty is 50 as a control signal. Since the output voltage is determined as 9.5033V / 2 because it is applied in%, the voltage applied to the load resistance (r.r1) finally becomes 4.47V.

따라서, 최종적으로 소비되는 전력은 2.219W로 PWM 소자가 연결되지 않은 경우에 비하여 현저히 줄어들게 된다.Therefore, the final power consumption is 2.219W, which is significantly reduced compared to the case where no PWM device is connected.

이상에서 설명한 바와 같이 본 발명은 PWM 소자를 모델링하여 컴퓨터 시뮬레이션 환경에서 PWM 소자의 출력단에 연결되는 전기 부하의 전류 소비량을 확인할 수 있어 PWM 소자의 제어신호 신호값 결정에 신뢰성 및 편리성을 제공한다.As described above, the present invention can model the PWM device to check the current consumption of the electrical load connected to the output terminal of the PWM device in a computer simulation environment, thereby providing reliability and convenience in determining the control signal signal value of the PWM device.

Claims (3)

PWM 소자에 입력되는 제어신호와 상기 제어신호를 받아 전기부하에 공급되는 입력 전원을 스위칭하는 신호를 구분하는 과정과;Dividing the control signal input to the PWM device and the signal for switching the input power supplied to the electrical load in response to the control signal; 상기 제어신호중에 주파수 신호를 Mast Language에서 지원하는 Schedule_event() 함수로 적용하고, 듀티 신호에 대해서는 온/오프 듀티비를 결정하는 과정과;Applying a frequency signal to a Schedule_event () function supported by Mast Language among the control signals, and determining an on / off duty ratio for the duty signal; 상기 주파수 신호와 듀티 신호로 결정되는 제어신호를 통해 PWM 소자를 스위칭시켜 전기부하에 공급되는 전압을 측정하여 소비 전류량을 측정하는 과정을 포함하는 것을 특징으로 하는 피 더블유 엠 소자의 모델링 방법.And switching a PWM device through a control signal determined by the frequency signal and the duty signal to measure a voltage supplied to an electrical load to measure a current consumption amount. 제1항에 있어서,The method of claim 1, 상기 Schedule_event() 함수로 적용으로 시뮬레이션 타임 스텝에 관계없이 스위치의 온/오프가 결정되는 것을 특징으로 하는 피 더블유 엠 소자의 모델링 방법.A method of modeling a PW element, characterized in that the on / off of the switch is determined regardless of the simulation time step by applying to the Schedule_event () function. 제1항에 있어서,The method of claim 1, 상기 듀티비는 전체 주기에 듀티비 만큼 곱한 구간을 온으로 설정하고, 전체 주기에서 온되는 구간을 뺀 구간을 오프로 설정하는 것을 특징으로 하는 피 더블유 엠 소자의 모델링 방법.The duty ratio is set to the interval multiplied by the duty ratio of the entire period to the ON, and the section subtracting the interval that is turned on in the entire period is set to off WM element modeling method.
KR10-2001-0080885A 2001-12-18 2001-12-18 Modeling method of pulse width modulation device KR100412734B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR10-2001-0080885A KR100412734B1 (en) 2001-12-18 2001-12-18 Modeling method of pulse width modulation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-2001-0080885A KR100412734B1 (en) 2001-12-18 2001-12-18 Modeling method of pulse width modulation device

Publications (2)

Publication Number Publication Date
KR20030050455A KR20030050455A (en) 2003-06-25
KR100412734B1 true KR100412734B1 (en) 2003-12-31

Family

ID=29576183

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2001-0080885A KR100412734B1 (en) 2001-12-18 2001-12-18 Modeling method of pulse width modulation device

Country Status (1)

Country Link
KR (1) KR100412734B1 (en)

Also Published As

Publication number Publication date
KR20030050455A (en) 2003-06-25

Similar Documents

Publication Publication Date Title
CN101673137B (en) Calibration method and calibration circuit
WO2000065705A3 (en) System and method for accurately determining remaining battery life
KR970007360A (en) Measuring method of internal circuit tester and system
CN107425712A (en) Inductor current simulation for output current monitoring
JPWO2010029709A1 (en) Test apparatus, test method, circuit system, power supply apparatus, power supply evaluation apparatus, and power supply environment emulation method
CN101873951A (en) Detect the method for short circuited magnet coil
EP1223654A3 (en) Battery charging circuit
KR920020341A (en) Circuit logic function automatic judgment device and method
JPWO2010137327A1 (en) Drive current detection device, drive current detection method, failure detection device, and failure detection method for PWM load equipment
KR20010095301A (en) Power source current measurement unit for semiconductor test system
CN102915059A (en) Means of providing variable reactive load capability on an electronic load
JP5916606B2 (en) Apparatus and method for measuring and / or forming electrical characteristic quantities
KR101601323B1 (en) Method for detecting switch input in the sleep mode
CN104699594A (en) Test method and test equipment
KR100412734B1 (en) Modeling method of pulse width modulation device
CN103954845A (en) Method for detecting inductance parameter of levitation electromagnet of medium-low-speed magnetic-levitation train in on-line mode based on resistance
US6381551B1 (en) Method for providing an output signal having a desired value of a characteristic quantity at the output of a switched-mode power supply unit and circuit for carrying out the method
Zumel et al. Co-simulation PSIM-ModelSim oriented to digitally controlled switching power converters
JPH04191678A (en) Apparatus for inspecting integrated circuit
US20220318472A1 (en) Simulation device, simulation method, simulation system, and program
US7492166B2 (en) Method for determining the source equivalent inductance of an energized AC circuit
CN107942142A (en) A kind of detection device of large scale equipment electrostatic core release device
US9584009B2 (en) Line current reference generator
US11230986B2 (en) Method to determine the operating resistance of an electrical harness connecting an ECU to a solenoid controlled valve
JPH0212074A (en) Power source unit for measurement of ic testing device

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20061128

Year of fee payment: 4

LAPS Lapse due to unpaid annual fee