TW201742380A - Slew rate control apparatus, semiconductor apparatus, and electronic equipment - Google Patents

Slew rate control apparatus, semiconductor apparatus, and electronic equipment Download PDF

Info

Publication number
TW201742380A
TW201742380A TW106114684A TW106114684A TW201742380A TW 201742380 A TW201742380 A TW 201742380A TW 106114684 A TW106114684 A TW 106114684A TW 106114684 A TW106114684 A TW 106114684A TW 201742380 A TW201742380 A TW 201742380A
Authority
TW
Taiwan
Prior art keywords
voltage
slew rate
switch
circuit
charging
Prior art date
Application number
TW106114684A
Other languages
Chinese (zh)
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 理光電子裝置股份有限公司
Publication of TW201742380A publication Critical patent/TW201742380A/en

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K17/00Electronic switching or gating, i.e. not by contact-making and –breaking
    • H03K17/16Modifications for eliminating interference voltages or currents
    • H03K17/161Modifications for eliminating interference voltages or currents in field-effect transistor switches
    • H03K17/165Modifications for eliminating interference voltages or currents in field-effect transistor switches by feedback from the output circuit to the control circuit
    • H03K17/166Soft switching
    • H03K17/167Soft switching using parallel switching arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/263Arrangements for using multiple switchable power supplies, e.g. battery and AC
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K2217/00Indexing scheme related to electronic switching or gating, i.e. not by contact-making or -breaking covered by H03K17/00
    • H03K2217/0054Gating switches, e.g. pass gates
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K2217/00Indexing scheme related to electronic switching or gating, i.e. not by contact-making or -breaking covered by H03K17/00
    • H03K2217/0063High side switches, i.e. the higher potential [DC] or life wire [AC] being directly connected to the switch and not via the load

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Power Engineering (AREA)
  • Electronic Switches (AREA)
  • Direct Current Feeding And Distribution (AREA)
  • Power Sources (AREA)
  • Dc-Dc Converters (AREA)

Abstract

A slew rate control apparatus includes voltage detecting means, charging and discharging means, and control means. The voltage detecting means detects a first voltage and a second voltage on both ends of at least one switch. The charging and discharging means outputs a current for charging at least one of the both ends of the switch and for inputting a current for discharging the at least one end. The control means controls a slew rate by turning on the switch when the first voltage detected by the voltage detecting means has reached the second voltage, and outputs a current for charging at least one of two terminals on the both ends of the switch or discharging the at least one terminal according to a magnitude relationship between the first voltage and the second voltage when the first voltage does not reached the second voltage.

Description

迴轉率控制裝置、半導體裝置及電子設備 Slewing rate control device, semiconductor device and electronic device

本發明係關於在例如切換電源電壓時控制迴轉率的迴轉率控制裝置、包含該迴轉率控制裝置的半導體裝置以及包含該迴轉率控制裝置的電子設備。 The present invention relates to a slew rate control device that controls a slew rate when switching a power source voltage, a semiconductor device including the slew rate control device, and an electronic device including the slew rate control device.

現今,在例如個人電腦、行動電話、智慧型手機等的電子設備領域中,USB(Universal Serial Bus)被廣泛地使用。在此USB中,對應用以從習知5V/1.5A供電至最高20V/5A供電的新規格USB Power Delivery(USBPD),於各公司均以此為目標正進行開發著。 Today, USB (Universal Serial Bus) is widely used in the field of electronic devices such as personal computers, mobile phones, smart phones, and the like. In this USB, the new specification USB Power Delivery (USBPD), which is used to supply power from the conventional 5V/1.5A to the maximum of 20V/5A, is being developed by each company.

相較於習知技術的USB規格,在USBPD規格為了對應多個供給電壓(5V/12V/20V等),必須具有多個電源,以能對連接的設備提供適當電壓的方式在排線連接時通訊,藉由切換開關IC或場效電晶體(FET)至所要求的電源來實現USBPD機能,這樣的技術係為人所思及已為習知。 Compared with the USB specification of the prior art, in order to correspond to a plurality of supply voltages (5V/12V/20V, etc.) in the USBPD specification, it is necessary to have a plurality of power sources so as to be able to supply an appropriate voltage to the connected devices when the cable is connected. Communication, by switching the switch IC or field effect transistor (FET) to the required power supply to achieve USBPD function, such technology is known and is known.

作為USBPD規格的特徵、亦即作為切換供給電壓的方法而言,為了防止連接設備的故障,並防止不必要的電磁場放射,係要求緩慢地切換供給電壓。於此,具體上是要求在電源電壓切換時以規定的迴轉率將電壓升降。迴轉率係表示每一單位時間的電壓變化量,作為單位係使用V/s。 As a feature of the USBPD specification, that is, as a method of switching the supply voltage, it is required to slowly switch the supply voltage in order to prevent malfunction of the connected device and prevent unnecessary electromagnetic field radiation. Here, specifically, it is required to raise and lower the voltage at a predetermined slew rate when the power source voltage is switched. The slew rate is the amount of voltage change per unit time, and V/s is used as a unit.

[先前技術文獻] [Previous Technical Literature]

專利文獻1:日本專利特開第2005-275611號公報。 Patent Document 1: Japanese Patent Laid-Open No. 2005-275611.

然而,為了緩慢地切換供給電壓,則有例如對VBUS節點等輸出端子增加電容、或者是對開關控制端子增加電阻及/或電容後必須調整使用該元件值之各電源的問題。 However, in order to slowly switch the supply voltage, for example, it is necessary to increase the capacitance of the output terminal such as the VBUS node or to increase the resistance and/or the capacitance of the switch control terminal, and then it is necessary to adjust the respective power sources using the component value.

本發明之目的在於解決以上的問題點,提供一種迴轉率控制裝置,其在切換供給電壓時相較於習知技術能以簡單的電路控制迴轉率。 SUMMARY OF THE INVENTION An object of the present invention is to solve the above problems and to provide a slew rate control apparatus capable of controlling a slew rate with a simple circuit as compared with the prior art when switching a supply voltage.

本發明一態樣的迴轉率控制裝置包括電壓檢測手段、充放電手段以及控制手段。電壓檢測手段檢測至少一個開關其兩端的第一電壓與第二電壓。充放電手段對該開關其兩端中至少一端輸出用以充電的電流,或者從該至少一端輸入用以放電的電流。控制手段當由該電壓檢測手段檢測的該第一電壓到達該第二電壓時,開啟該開關,反之當該第一電壓未到達該第二電壓時,對應該第一電壓與該第二電壓的大小關係,對該開關其兩端之兩端子中至少一端子輸出用以充電的電流,或者從該至少一端子放電,藉此控制迴轉率。 A slew rate control device according to an aspect of the present invention includes a voltage detecting means, a charging and discharging means, and a control means. The voltage detecting means detects the first voltage and the second voltage of the two ends of the at least one switch. The charging and discharging means outputs a current for charging to at least one of both ends of the switch, or inputs a current for discharging from the at least one end. Controlling means that when the first voltage detected by the voltage detecting means reaches the second voltage, the switch is turned on, and when the first voltage does not reach the second voltage, corresponding to the first voltage and the second voltage In relation to the size, at least one of the two terminals of the switch has a current for charging or is discharged from the at least one terminal, thereby controlling the slew rate.

是以,依據本發明的迴轉率控制裝置,在切換供給電壓時不增加調整元件下相較於習知技術能以簡單的電路控制迴轉率。 Therefore, according to the slew rate control apparatus of the present invention, the slew rate can be controlled with a simple circuit without increasing the number of adjustment elements when switching the supply voltage as compared with the prior art.

1‧‧‧電源 1‧‧‧Power supply

1-1~1-N‧‧‧電源 1-1~1-N‧‧‧Power supply

2‧‧‧負載電路 2‧‧‧Load circuit

3‧‧‧開關 3‧‧‧ switch

3-1~3-N‧‧‧開關 3-1~3-N‧‧‧ switch

3a‧‧‧接點端子 3a‧‧‧Contact terminals

3a-1~3a-N‧‧‧接點端子 3a-1~3a-N‧‧‧Contact Terminal

3b‧‧‧接點端子 3b‧‧‧Contact terminals

3b-1~3b-N‧‧‧接點端子 3b-1~3b-N‧‧‧Contact Terminal

10‧‧‧迴轉率控制裝置 10‧‧‧Slewing rate control device

10A‧‧‧迴轉率控制裝置 10A‧‧‧swing rate control device

10B‧‧‧迴轉率控制裝置 10B‧‧‧swing rate control device

10C‧‧‧迴轉率控制裝置 10C‧‧‧swing rate control device

20‧‧‧控制電路 20‧‧‧Control circuit

20A‧‧‧控制電路 20A‧‧‧Control circuit

20B‧‧‧控制電路 20B‧‧‧Control circuit

20C‧‧‧控制電路 20C‧‧‧Control circuit

20m‧‧‧記憶體 20m‧‧‧ memory

21‧‧‧電壓檢測電路 21‧‧‧Voltage detection circuit

21B‧‧‧電壓檢測電路 21B‧‧‧Voltage detection circuit

22‧‧‧迴轉率調整電路 22‧‧‧ slew rate adjustment circuit

22B‧‧‧迴轉率調整電路 22B‧‧‧ slew rate adjustment circuit

22C‧‧‧迴轉率調整電路 22C‧‧‧swing rate adjustment circuit

23‧‧‧開關驅動電路 23‧‧‧Switch drive circuit

23B‧‧‧開關驅動電路 23B‧‧‧Switch drive circuit

30‧‧‧迴轉率自動調整裝置 30‧‧‧Automatic adjustment device for slew rate

31‧‧‧迴轉率算出電路 31‧‧‧ slew rate calculation circuit

32‧‧‧誤差訊號產生電路 32‧‧‧Error signal generation circuit

33‧‧‧迴轉率調整控制訊號產生電路(SR調整控制訊號產生電路) 33‧‧‧ Swing rate adjustment control signal generation circuit (SR adjustment control signal generation circuit)

41‧‧‧延遲電路 41‧‧‧Delay circuit

42‧‧‧加法器 42‧‧‧Adder

43‧‧‧訊號調整電路 43‧‧‧Signal adjustment circuit

44‧‧‧加法器 44‧‧‧Adder

45‧‧‧訊號調整電路 45‧‧‧Signal adjustment circuit

51‧‧‧電流源 51‧‧‧current source

52‧‧‧電流源 52‧‧‧current source

53‧‧‧電流源 53‧‧‧current source

54‧‧‧電流源 54‧‧‧current source

90‧‧‧充電/放電用電路 90‧‧‧Charging/discharging circuit

91‧‧‧電流源 91‧‧‧current source

92‧‧‧電流源 92‧‧‧current source

CL‧‧‧負載電容 CL‧‧‧ load capacitance

IC‧‧‧充電電流 IC‧‧‧Charging current

Icharge‧‧‧充電電流 Icharge‧‧‧Charging current

Idischarge‧‧‧放電電流 Idischarge‧‧‧discharge current

IL‧‧‧充電電流 IL‧‧‧Charging current

RL‧‧‧負載電阻 RL‧‧‧ load resistor

S1~S8‧‧‧步驟 S1~S8‧‧‧Steps

S1A‧‧‧步驟 S1A‧‧‧ steps

S11~S17‧‧‧步驟 S11~S17‧‧‧Steps

S21~S24‧‧‧步驟 S21~S24‧‧‧Steps

SRerror‧‧‧誤差 SRerror‧‧‧ error

t0~t3‧‧‧時間 T0~t3‧‧‧Time

V1‧‧‧電源電壓 V1‧‧‧Power supply voltage

V1-1~V1-N‧‧‧電源電壓 V1-1~V1-N‧‧‧Power supply voltage

V2‧‧‧負載端電壓 V2‧‧‧ load terminal voltage

VDD‧‧‧電源電壓 VDD‧‧‧Power supply voltage

VR‧‧‧可變電阻 VR‧‧‧Variable resistor

圖1A為表示本發明實施形態1之迴轉率控制裝置10與其周邊電路的構成例的方塊圖。 Fig. 1A is a block diagram showing an example of the configuration of a rotation rate control device 10 and its peripheral circuits according to the first embodiment of the present invention.

圖1B為表示本發明實施形態1之變形例1的迴轉率控制裝置10A與其周邊電路的構成例的方塊圖。 Fig. 1B is a block diagram showing a configuration example of a rotation speed control device 10A and its peripheral circuits according to a first modification of the first embodiment of the present invention.

圖2A為表示由圖1A之迴轉率控制裝置10實行迴轉率控制處理(電壓V1、V2未知時)的流程圖。 Fig. 2A is a flowchart showing a slew rate control process (when voltages V1 and V2 are unknown) are performed by the slew rate control device 10 of Fig. 1A.

圖2B為表示由圖1A之迴轉率控制裝置10實行迴轉率控制處理(電壓V1已知V2未知時)的流程圖。 Fig. 2B is a flowchart showing the slew rate control processing (when the voltage V1 is known to be unknown V2) by the slew rate control device 10 of Fig. 1A.

圖2C為表示實施形態1之變形例2由圖1A的迴轉率控制裝置10實行迴轉率控制處理(電壓V1、V2未知時)的流程圖。 Fig. 2C is a flowchart showing a second embodiment of the first modification in which the slew rate control device 10 of Fig. 1A executes the slew rate control processing (when the voltages V1 and V2 are unknown).

圖2D為表示實施形態1之變形例2由圖1A的迴轉率控制裝置10實行迴轉率控制處理(電壓V1已知V2未知時)的流程圖。 Fig. 2D is a flowchart showing a second embodiment of the first embodiment in which the slew rate control device 10 of Fig. 1A executes the slew rate control processing (when the voltage V1 is known to be unknown V2).

圖2E為表示實施形態1之變形例3由圖1A的迴轉率控制裝置10實行迴轉率控制處理(電壓V1、V2未知時)的流程圖。 Fig. 2E is a flowchart showing a third embodiment of the first embodiment in which the slew rate control device 10 of Fig. 1A executes the slew rate control processing (when the voltages V1 and V2 are unknown).

圖2F為表示實施形態1之變形例4由圖1A的迴轉率控制裝置10實行迴轉率控制處理(電壓V1已知V2未知時)的流程圖。 Fig. 2F is a flowchart showing a fourth modification of the first embodiment in which the slew rate control device 10 of Fig. 1A executes the slew rate control processing (when the voltage V1 is known to be unknown V2).

圖3為表示圖1A之迴轉率調整電路22的構成例的電路圖。 FIG. 3 is a circuit diagram showing a configuration example of the rotation rate adjustment circuit 22 of FIG. 1A.

圖4為表示圖1A之迴轉率控制裝置10的動作例的時序圖。 Fig. 4 is a timing chart showing an operation example of the rotation rate control device 10 of Fig. 1A.

圖5為表示本發明實施形態2之迴轉率控制裝置10B與其周邊電路的構成例的方塊圖。 Fig. 5 is a block diagram showing an example of the configuration of the rotation rate control device 10B and its peripheral circuits according to the second embodiment of the present invention.

圖6為表示本發明實施形態3之迴轉率控制裝置10C與其周邊電路的構成例的方塊圖。 Fig. 6 is a block diagram showing an example of the configuration of a rotation rate control device 10C and its peripheral circuits according to the third embodiment of the present invention.

圖7A為表示由圖6之迴轉率控制裝置10C實行迴轉率控制處理(電壓V1、V2未知時)的流程圖。 Fig. 7A is a flowchart showing a slew rate control process (when voltages V1 and V2 are unknown) are executed by the slew rate control device 10C of Fig. 6 .

圖7B為表示由圖6之迴轉率控制裝置10C實行迴轉率控制處理(電壓V1已知V2未知時)的流程圖。 Fig. 7B is a flowchart showing the slew rate control processing (when the voltage V1 is known to be unknown V2) by the slew rate control device 10C of Fig. 6 .

圖8為表示圖7A與圖7B的子流程、亦即為表示迴轉率自動調整處理(S7、S8)的流程圖。 Fig. 8 is a flowchart showing the subroutine of Figs. 7A and 7B, that is, the slew rate automatic adjustment processing (S7, S8).

以下,參照發明圖式針對本發明之實施形態作說明。又,在以下的各實施形態中,對同樣的構成元件賦予相同的符號。 Hereinafter, embodiments of the present invention will be described with reference to the drawings. In the following embodiments, the same components are denoted by the same reference numerals.

[實施形態1] [Embodiment 1]

圖1A為表示本發明實施形態1之迴轉率控制裝置10與其周邊電路之構成例的方塊圖。圖1A的迴轉率控制裝置10具有如下特徵:包括開關控制裝置,檢測 插入至電源1與負載電路2之間的開關3其兩端的接點端子3a、3b各自的電壓V1、V2,並控制對負載電路2供給之電壓V2的迴轉率。於此,開關3例如是單極單投開關,電壓V1稱為電源電壓V1,電壓V2稱為負載端電壓V2。迴轉率控制裝置10構成為具有控制電路20、電壓檢測電路21、迴轉率調整電路22以及開關驅動電路23。又,負載電路2例如是負載電阻RL與負載電容CL的並聯電路。 Fig. 1A is a block diagram showing an example of the configuration of a rotation rate control device 10 and its peripheral circuits according to the first embodiment of the present invention. The slew rate control device 10 of FIG. 1A has the following features: including a switch control device, detecting The voltages V1, V2 of the contact terminals 3a, 3b at both ends of the switch 3 inserted between the power source 1 and the load circuit 2 are controlled, and the slew rate of the voltage V2 supplied to the load circuit 2 is controlled. Here, the switch 3 is, for example, a single-pole single-shot switch, the voltage V1 is referred to as a power supply voltage V1, and the voltage V2 is referred to as a load terminal voltage V2. The slew rate control device 10 is configured to include a control circuit 20, a voltage detecting circuit 21, a slew rate adjusting circuit 22, and a switch driving circuit 23. Further, the load circuit 2 is, for example, a parallel circuit of the load resistor RL and the load capacitor CL.

特別是,迴轉率控制裝置10藉由實行圖2A或圖2B的迴轉率控制處理,在對例如是USBPD中的負載電路2切換供給電壓時具有以下的特徵:迴轉率控制裝置10檢測電源電壓V1與負載電壓V2,對應檢測的電壓進行開關3的開啟/關閉控制,以迴轉率調整電路22充電或放電負載電路2,藉此控制供給電壓其切換時的迴轉率。 In particular, the swing rate control device 10 has the following feature when switching the supply voltage to the load circuit 2 in, for example, the USB PD by performing the slew rate control process of FIG. 2A or FIG. 2B: the slew rate control device 10 detects the power supply voltage V1. The on/off control of the switch 3 is performed in response to the detected voltage with the load voltage V2, and the load circuit 2 is charged or discharged by the slew rate adjustment circuit 22, thereby controlling the slew rate at the time of switching of the supply voltage.

首先,針對迴轉率控制裝置10的構成說明如下。 First, the configuration of the swing rate control device 10 will be described below.

迴轉率調整電路22與開關3的接點端子3a、3b並聯連接,並具有對應來自控制電路20的控制訊號用以對負載電容CL充電或放電的電流輸出電路。電壓檢測電路21檢測開關3其兩端的電壓V1、V2,將表示檢測之電壓V1、V2的訊號輸出至控制電路20。開關驅動電路23基於來自控制電路20之開關3的開啟/關閉訊號,對開關3產生開啟/關閉時所需的驅動控制訊號後,輸出至開關3。控制電路20基於由電壓檢測電路21檢測的開關3其兩端之電壓V1、V2的資訊,控制迴轉率調整電路22的動作,同時產生開關驅動電路23用的開啟/關閉驅動控制訊號。 The slew rate adjustment circuit 22 is connected in parallel with the contact terminals 3a, 3b of the switch 3, and has a current output circuit corresponding to the control signal from the control circuit 20 for charging or discharging the load capacitance CL. The voltage detecting circuit 21 detects the voltages V1, V2 at both ends of the switch 3, and outputs a signal indicating the detected voltages V1, V2 to the control circuit 20. The switch drive circuit 23 generates a drive control signal required for ON/OFF of the switch 3 based on the ON/OFF signal from the switch 3 of the control circuit 20, and outputs it to the switch 3. The control circuit 20 controls the operation of the slew rate adjusting circuit 22 based on the information of the voltages V1, V2 at both ends of the switch 3 detected by the voltage detecting circuit 21, and simultaneously generates an on/off driving control signal for the switch driving circuit 23.

圖2A為表示由圖1A之迴轉率控制裝置10其控制電路20實行迴轉率控制處理(電壓V1、V2未知時)的流程圖。在圖2A的處理開始時,開關3為關閉狀態,在後述迴轉率控制處理時亦同。 Fig. 2A is a flow chart showing the slew rate control process (when voltages V1 and V2 are unknown) by the control circuit 20 of the slew rate control device 10 of Fig. 1A. At the start of the process of Fig. 2A, the switch 3 is in the closed state, and the same applies to the slew rate control process which will be described later.

在圖2A的步驟S1中,電壓檢測電路21檢測負載端電壓V2與電源電壓V1,在步驟S2中判斷是否|V1-V2|≦△V。於此,△V是比電壓V1、V2還更小的值,例如是20V±5%,在本實施形態中設定為0.1V~1V的大小。此判斷係判斷負載端電壓V2是否實質上到達電源電壓V1。YES(是)時前進至步驟S3,反之NO(否)時前進至步驟S4。在步驟S3,開關驅動電路23開啟開關3並結束該迴轉率控制處理。另一方面,在步驟S4中則判斷是否V2<V1,YES(是)時前進至步驟S5,反之NO(否)時前進至步驟S6。在步驟S5中迴轉率調整電路22對負載電路2 充電並返回至步驟S1,以預定的週期,週期性地重複該控制處理。又,在步驟S6中迴轉率調整電路22從負載電路2放電並返回至步驟S1,以預定的週期,週期性地重複該控制處理。 In step S1 of FIG. 2A, the voltage detecting circuit 21 detects the load terminal voltage V2 and the power source voltage V1, and determines whether or not |V1 - V2 | ≦ ΔV in step S2. Here, ΔV is a value smaller than the voltages V1 and V2, and is, for example, 20 V ± 5%, and is set to a size of 0.1 V to 1 V in the present embodiment. This judgment determines whether the load terminal voltage V2 substantially reaches the power supply voltage V1. YES (YES) proceeds to step S3, whereas NO (NO) proceeds to step S4. In step S3, the switch drive circuit 23 turns on the switch 3 and ends the slew rate control process. On the other hand, in step S4, it is judged whether or not V2 < V1, and if YES (YES), the process proceeds to step S5, whereas if NO (NO), the process proceeds to step S6. The slew rate adjustment circuit 22 pairs the load circuit 2 in step S5 Charging and returning to step S1, the control processing is periodically repeated at a predetermined cycle. Further, in step S6, the slew rate adjustment circuit 22 discharges from the load circuit 2 and returns to step S1 to periodically repeat the control process at a predetermined cycle.

圖2B為表示由圖1A之迴轉率控制裝置10其控制電路20實行迴轉率控制處理(電壓V1已知V2未知時)的流程圖。圖2B的迴轉率控制處理的特徵在於相較於圖2A的迴轉率控制處理,係以實行步驟S1A來取代步驟S1,其他處理則相同。在步驟S1A,電壓檢測電路21只檢測負載端電壓V2。是以,電壓檢測電路21具有只檢測一個負載端電壓V2即可的獨特效果。 Fig. 2B is a flow chart showing the slew rate control process (when the voltage V1 is known to be unknown V2) by the slew rate control device 10 of Fig. 1A. The slew rate control process of Fig. 2B is characterized in that step S1 is replaced with step S1 instead of step S1 as compared with the slew rate control process of Fig. 2A, and the other processes are the same. In step S1A, the voltage detecting circuit 21 detects only the load terminal voltage V2. Therefore, the voltage detecting circuit 21 has a unique effect of detecting only one load terminal voltage V2.

在如以上構成的迴轉率控制裝置10中,在對負載電容CL的充電結束的額定狀態下,負載端電壓V2相對於流過負載電阻RL的充電電流IL係以下式來表示。 In the swing rate control device 10 configured as described above, in the rated state in which the charging of the load capacitance CL is completed, the load terminal voltage V2 is expressed by the following equation with respect to the charging current IL flowing through the load resistor RL.

V2=IL×RL (1) V2=IL×RL (1)

負載端電壓V2為了上升至電源電壓V1,負載端電壓V2使成為連接後之電源電壓V1的電流值IL>V1/RL即可。因此,充電電流IC若為IC>V1/RL,即可對負載電容CL充電至電源電壓V1。也就是說,負載端電壓V2的迴轉率若使充電電流IC大於流過負載電阻RL的電流,因為負載電容CL可充電至電源電壓V1,所以能藉由調整上述迴轉率調整電路22的充電電流值來控制。 In order to rise to the power supply voltage V1, the load terminal voltage V2 may be such that the current value IL>V1/RL of the connected power supply voltage V1 is obtained. Therefore, if the charging current IC is IC>V1/RL, the load capacitance CL can be charged to the power supply voltage V1. That is, if the slew rate of the load terminal voltage V2 is such that the charging current IC is greater than the current flowing through the load resistor RL, since the load capacitance CL can be charged to the power supply voltage V1, the charging current of the slew rate adjusting circuit 22 can be adjusted. Value to control.

圖1B為表示本發明實施形態1之變形例1的迴轉率控制裝置10A與其周邊電路的構成例的方塊圖。在負載電阻RL比較小而流過電流大時,則在成為開關3其連接端之負載的電阻結構,例如IC(積體電路)等可通訊裝置,控制電路20A是在該充電時進行通訊。此時,負載電阻RL為可變電阻VR並在能調整該電阻的情況下,也可如圖1B將流過的電流調整變小。 Fig. 1B is a block diagram showing a configuration example of a rotation speed control device 10A and its peripheral circuits according to a first modification of the first embodiment of the present invention. When the load resistor RL is relatively small and the current flowing is large, the resistor structure that becomes the load at the connection end of the switch 3, for example, a communication device such as an IC (integrated circuit), the control circuit 20A performs communication at the time of charging. At this time, the load resistor RL is the variable resistor VR, and when the resistor can be adjusted, the current adjustment that flows may be reduced as shown in FIG. 1B.

圖2C為表示實施形態1之變形例2由圖1A的迴轉率控制裝置10實行迴轉率控制處理(電壓V1、V2未知時)的流程圖。又,圖2D為表示實施形態1之變形例2由圖1A的迴轉率控制裝置10實行迴轉率控制處理(電壓V1已知V2未知時)的流程圖。在充放電電流固定,流過負載電阻RL的充電電流IL比充電電流Icharge或放電電流Idischarge夠小時,迴轉率幾乎變得固定,負載端電壓V2則正比於時間。在此情況中,可如圖2C與圖2D的步驟S21,在充電或放電的開始 後設置等待時間,無需數次地測量負載端電壓V2與電源電壓V1,在等待時間後控制開啟開關3。關於該等待時間可用以下的方式求出並設定。 Fig. 2C is a flowchart showing a second embodiment of the first modification in which the slew rate control device 10 of Fig. 1A executes the slew rate control processing (when the voltages V1 and V2 are unknown). 2D is a flowchart showing the second embodiment of the first embodiment in which the slew rate control device 10 of FIG. 1A performs the slew rate control processing (when the voltage V1 is known to be unknown V2). When the charge and discharge current is fixed, the charge current IL flowing through the load resistor RL is sufficiently smaller than the charge current Icharge or the discharge current Idischarge, the slew rate becomes almost constant, and the load terminal voltage V2 is proportional to time. In this case, step S21 of FIG. 2C and FIG. 2D may be used at the beginning of charging or discharging. After the waiting time is set, the load terminal voltage V2 and the power supply voltage V1 are not required to be measured several times, and the switch 3 is controlled to be turned on after the waiting time. This waiting time can be obtained and set in the following manner.

令在時間t的負載端電壓為V(t)、充放電電流為I、負載電容為C、初期電壓為Vinit時,以下式來表示。 When the load terminal voltage at time t is V(t), the charge/discharge current is I, the load capacitance is C, and the initial voltage is Vinit, it is expressed by the following equation.

V(t)=t×I/C+Vinit (2) V(t)=t×I/C+Vinit (2)

由此,在負載端電壓V(t)成為等於電源電壓Vdd時的時間t即為等待時間twait。將V(twait)=Vdd代入式(2)即可由下式求出等待時間twait。 Thus, the time t when the load terminal voltage V(t) becomes equal to the power supply voltage Vdd is the waiting time twait. By substituting V(twait)=Vdd into equation (2), the waiting time twait can be obtained from the following equation.

twait=(Vdd-Vinit)×C/I (3) Twait=(Vdd-Vinit)×C/I (3)

於此,等待時間的設定值可為固定值,也可以能夠從系統來控制而自記憶裝置讀出後再設定。 Here, the set value of the waiting time may be a fixed value, or may be controlled from the system and read from the memory device.

圖2E為表示實施形態1之變形例3由圖1A的迴轉率控制裝置10實行迴轉率控制處理(電壓V1、V2未知時)的流程圖。又,圖2F為表示實施形態1之變形例4由圖1A的迴轉率控制裝置10實行迴轉率控制處理(電壓V1已知V2未知時)的流程圖。流過負載電阻RL的充電電流IL變得比充電電流Icharge或放電電流Idischarge大時,迴轉率控制只能進行至負載端電壓V2變化的中間過程。是以,在此情況中,可如圖2E與圖2F的步驟S22~S24,強制地在一定時間後控制開啟開關3。 Fig. 2E is a flowchart showing a third embodiment of the first embodiment in which the slew rate control device 10 of Fig. 1A executes the slew rate control processing (when the voltages V1 and V2 are unknown). 2F is a flowchart showing a fourth embodiment of the first embodiment in which the slew rate control device 10 of FIG. 1A executes the slew rate control processing (when the voltage V1 is known to be unknown V2). When the charging current IL flowing through the load resistor RL becomes larger than the charging current Icharge or the discharging current Idischarge, the slew rate control can only perform an intermediate process to the load terminal voltage V2. Therefore, in this case, the opening switch 3 can be forcibly controlled after a certain time as shown in steps S22 to S24 of FIGS. 2E and 2F.

圖3為表示圖1A之迴轉率調整電路22的構成例的電路圖。在圖3中,迴轉率調整電路22構成為具有:(1)電流源51,其係用以對連接至接點端子3b之負載電路2充電的充電用電路,並連接在電源電壓VDD與接點端子3b之間;(2)電流源52,其係用以從連接至接點端子3b之負載電路2放電的放電用電路,並連接在接地端與接點端子3b之間;(3)電流源53,其係用以對連接至接點端子3a之電源1(例如充電電池)充電的充電用電路,並連接在電源電壓VDD與接點端子3a之間;(4)電流源54,其係用以從連接至接點端子3a之電源1(例如充電電池)放電的放電用電路,並連接在接地端與接點端子3a之間;以及(5)充電/放電用電路90,連接在接點端子3a與接點端子3b之間。 FIG. 3 is a circuit diagram showing a configuration example of the rotation rate adjustment circuit 22 of FIG. 1A. In FIG. 3, the slew rate adjustment circuit 22 is configured to have: (1) a current source 51 for charging a charging circuit connected to the load circuit 2 of the contact terminal 3b, and connected to the power supply voltage VDD and connected Between the point terminals 3b; (2) a current source 52 for discharging a circuit from the load circuit 2 connected to the contact terminal 3b, and connected between the ground terminal and the contact terminal 3b; (3) a current source 53, which is a charging circuit for charging a power source 1 (for example, a rechargeable battery) connected to the contact terminal 3a, and is connected between the power source voltage VDD and the contact terminal 3a; (4) a current source 54, It is used for discharging a discharge circuit from a power source 1 (for example, a rechargeable battery) connected to the contact terminal 3a, and is connected between the ground terminal and the contact terminal 3a; and (5) a charging/discharging circuit 90, connected Between the contact terminal 3a and the contact terminal 3b.

此處之充電/放電用電路90構成為具有: (1)電流源91,其係用以對連接至接點端子3b之負載電路2充電、或者是從連接至接點端子3a之電源1(例如充電電池)放電的充電/放電用電路,並連接在接點端子3a與接點端子3b之間;以及(2)電流源92,其係用以對連接至接點端子3a之電源1(例如充電電池)充電、或者是從連接至接點端子3b之負載電路2放電的充電/放電用電路,並連接在接點端子3a與接點端子3b之間。 Here, the charging/discharging circuit 90 is configured to have: (1) a current source 91 for charging a load circuit 2 connected to the contact terminal 3b or a charging/discharging circuit for discharging from a power source 1 (for example, a rechargeable battery) connected to the contact terminal 3a, and Connected between the contact terminal 3a and the contact terminal 3b; and (2) a current source 92 for charging the power source 1 (e.g., a rechargeable battery) connected to the contact terminal 3a, or from the connection to the contact The charging/discharging circuit for discharging the load circuit 2 of the terminal 3b is connected between the contact terminal 3a and the contact terminal 3b.

圖3的電流源51~54、91、92其動作的開啟/關閉與電流量係由來自控制電路20的控制訊號所控制。於此,充電或放電其電流量調整的控制在迴轉率控制中,可直接作為固定值來控制,也可以是對應時間動態地控制,也可以是對應例如在電壓檢測電路所顯示之開關其兩端的電壓值來控制。 The on/off and current quantities of the current sources 51-54, 91, 92 of FIG. 3 are controlled by control signals from the control circuit 20. Here, the control of the current amount adjustment of charging or discharging may be directly controlled as a fixed value in the slew rate control, or may be dynamically controlled corresponding to the time, or may be corresponding to, for example, the switch displayed by the voltage detecting circuit. The voltage value of the terminal is controlled.

圖3的迴轉率調整電路22使用多個電流源51~54、91、92來構成,惟本發明不限於此,也可將各電流源51~54、91、92作為以下的構成。 The rotation rate adjustment circuit 22 of FIG. 3 is configured using a plurality of current sources 51 to 54, 91, and 92. However, the present invention is not limited thereto, and each of the current sources 51 to 54, 91, and 92 may have the following configuration.

(1)連接至電源電壓VDD或接地端,並使用例如是開關與可變電阻的串聯電路。 (1) Connect to the power supply voltage VDD or ground, and use a series circuit such as a switch and a variable resistor.

(2)連接至電源電壓VDD或接地端,並使用例如是由多個開關、可變電阻以及電容所構成的開關電容電路。 (2) Connect to the power supply voltage VDD or the ground terminal, and use, for example, a switched capacitor circuit composed of a plurality of switches, variable resistors, and capacitors.

又,關於圖3之迴轉率調整電路22中的充電量或放電量,取代電流源51~54、91、92其電流量的調整,可用以下的方式構成。 Further, the amount of charge or the amount of discharge in the slew rate adjustment circuit 22 of FIG. 3 can be adjusted in the following manner instead of the current amount of the current sources 51 to 54, 91, and 92.

(1)使用多個可變電流源的並聯電路。 (1) A parallel circuit using a plurality of variable current sources.

(2)取代電源電壓VDD或接地端,使用電壓穩壓電路。 (2) Instead of the power supply voltage VDD or ground, use a voltage regulator circuit.

(3)將數位控制訊號輸入DA轉換器後,基於DA轉換器的輸出訊號由訊號調整電路或訊號轉換電路控制充電/放電用電路的充電量或放電量。 (3) After the digital control signal is input to the DA converter, the output signal of the DA converter is controlled by the signal adjustment circuit or the signal conversion circuit to control the amount of charge or discharge of the charging/discharging circuit.

(4)基於類比控制訊號由訊號調整電路或訊號轉換電路控制充電/放電用電路的充電量或放電量。 (4) The charge amount or the discharge amount of the charge/discharge circuit is controlled by the signal adjustment circuit or the signal conversion circuit based on the analog control signal.

圖4為表示圖1A之迴轉率控制裝置10的動作例的時序圖。以下參照圖4,針對在圖2A的迴轉率控制處理中,對應負載端電壓V2與電源電壓V1為未知情況的控制處理以時間t1~t3的順序,對負載電路2供電的情況作說明。 Fig. 4 is a timing chart showing an operation example of the rotation rate control device 10 of Fig. 1A. Next, with reference to FIG. 4, in the slew rate control processing of FIG. 2A, a case where the control circuit corresponding to the load terminal voltage V2 and the power supply voltage V1 is unknown will supply power to the load circuit 2 in the order of time t1 to t3.

(SS1)在時間t0~t1中,以電壓檢測電路21測量負載端電壓V2與電源電壓V1,比較該些電壓進而判斷負載端電壓V2是否到達電源電壓V1。 當|V1-V2|>△V時,則負載端電壓V2未到達電源電壓V1,舉例來說,V2<V1時,由迴轉率調整電路22對負載電路2充電。 (SS1) In the time t0 to t1, the voltage detecting circuit 21 measures the load terminal voltage V2 and the power supply voltage V1, and compares the voltages to determine whether the load terminal voltage V2 reaches the power supply voltage V1. When |V1 - V2| > ΔV, the load terminal voltage V2 does not reach the power supply voltage V1. For example, when V2 < V1, the load circuit 2 is charged by the slew rate adjustment circuit 22.

(SS2)在時間t1~t2中,待負載端電壓V2到達電源電壓V1為止前重複步驟SS1的處理。 (SS2) In the time t1 to t2, the processing of the step SS1 is repeated until the load terminal voltage V2 reaches the power supply voltage V1.

(SS3)在時間t2中,若負載端電壓V2到達電源電壓V1則由開關驅動電路23控制開啟開關3。 (SS3) At time t2, if the load terminal voltage V2 reaches the power supply voltage V1, the switch drive circuit 23 controls the open switch 3.

(SS4)在時間t2~t3中,因開關3被開啟,開始從電源1向負載電路2供電。於此,在開關3開啟之後,迴轉率調整電路22的動作可以是保持開啟,也可以是關閉。 (SS4) During the time t2 to t3, since the switch 3 is turned on, power supply from the power source 1 to the load circuit 2 is started. Here, after the switch 3 is turned on, the action of the slew rate adjustment circuit 22 may be kept on or off.

(SS5)在時間t3以後,若結束負載電路2的供電而結束充電,則將開關3關閉。於此,以負載電路2的負載電容CL所保持的電壓係殘留的,該電壓的電荷藉由負載電阻RL放電。此外,在放電較慢的情況下,也可以是經過往迴轉率調整電路22內接地端的放電電路來放電。 (SS5) After the time t3, when the power supply of the load circuit 2 is completed and the charging is completed, the switch 3 is turned off. Here, the voltage held by the load capacitance CL of the load circuit 2 remains, and the charge of this voltage is discharged by the load resistor RL. Further, in the case where the discharge is slow, the discharge circuit may be discharged through the discharge circuit to the ground terminal of the slew rate adjustment circuit 22.

依據如以上說明的本發明實施形態,在例如是USBPD等電源電路中切換供給電壓時,由迴轉率控制裝置10內的迴轉率調整電路22對負載電路2的負載電容CL充電。接著,以充電電流量調整迴轉率,待負載端電壓V2到達電源電壓V1為止後開啟開關3。藉此,迴轉率控制裝置10能不取決於開關3的狀態調整迴轉率。於此,切換供給電壓時能不增加調整元件地控制迴轉率。又,作為開關3可使用如實施形態1~3的多種類開關。 According to the embodiment of the present invention as described above, when the supply voltage is switched in the power supply circuit such as the USBPD, the load capacitance CL of the load circuit 2 is charged by the slew rate adjustment circuit 22 in the slew rate control device 10. Next, the slew rate is adjusted by the amount of charging current, and the switch 3 is turned on until the load terminal voltage V2 reaches the power source voltage V1. Thereby, the swing rate control device 10 can adjust the swing rate without depending on the state of the switch 3. Here, when the supply voltage is switched, the slew rate can be controlled without increasing the adjustment element. Further, as the switch 3, various types of switches as in the first to third embodiments can be used.

[實施形態2] [Embodiment 2]

圖5為表示本發明實施形態2之迴轉率控制裝置10B與其周邊電路的構成例的方塊圖。在圖5的實施形態2中,迴轉率控制裝置10B相較於圖1A之實施形態1的迴轉率控制裝置10具有以下的點相異。 Fig. 5 is a block diagram showing an example of the configuration of the rotation rate control device 10B and its peripheral circuits according to the second embodiment of the present invention. In the second embodiment of Fig. 5, the rotation rate control device 10B differs from the rotation rate control device 10 of the first embodiment of Fig. 1A in the following points.

(1)取代電源1,構成為單極N投的開關電路,並具有多個(N個)電源1-1~1-N。 (1) In place of the power supply 1, it is configured as a single-pole N-turn switching circuit and has a plurality of (N) power supplies 1-1 to 1-N.

(2)取代開關3,具有多個(N個)開關3-1~3-N。 (2) Instead of the switch 3, there are a plurality of (N) switches 3-1 to 3-N.

(3)取代迴轉率控制裝置10,具有迴轉率控制裝置10B。 (3) In place of the slew rate control device 10, the slew rate control device 10B is provided.

以下,針對該些相異點作詳述。 Hereinafter, the differences will be described in detail.

在圖5中,開關3-1的接點端子3a-1連接電源1-1,開關3-1的接點端子3b-1藉由接點端子3b連接負載電路2。開關3-2的接點端子3a-2連接電源1-2,開關3-2的接點端子3b-2藉由接點端子3b連接負載電路2。以下用相同的規則,開關3-N的接點端子3a-N連接電源1-N,開關3-N的接點端子3b-N藉由接點端子3b連接負載電路2。於此,將電源1-1~1-N的電源電壓分別作為V1-1~V1-N。 In FIG. 5, the contact terminal 3a-1 of the switch 3-1 is connected to the power source 1-1, and the contact terminal 3b-1 of the switch 3-1 is connected to the load circuit 2 via the contact terminal 3b. The contact terminal 3a-2 of the switch 3-2 is connected to the power source 1-2, and the contact terminal 3b-2 of the switch 3-2 is connected to the load circuit 2 via the contact terminal 3b. Following the same rule, the contact terminals 3a-N of the switch 3-N are connected to the power source 1-N, and the contact terminals 3b-N of the switch 3-N are connected to the load circuit 2 via the contact terminal 3b. Here, the power supply voltages of the power sources 1-1 to 1-N are respectively V1-1 to V1-N.

迴轉率控制裝置10B為了控制多個開關3-1~3-N與電源1-1~1-N而具有控制電路20B、電壓檢測電路21B、迴轉率調整電路22B以及開關驅動電路23B。 The slew rate control device 10B includes a control circuit 20B, a voltage detecting circuit 21B, a slew rate adjusting circuit 22B, and a switch driving circuit 23B in order to control the plurality of switches 3-1 to 3-N and the power sources 1-1 to 1-N.

依據如以上構成的本發明實施形態2,可相對於多個(N個)電源1-1~1-N、開關3-1~3-N以及負載電路2進行迴轉率控制。於此,迴轉率控制裝置10B能不取決於開關3-1~3-N的狀態調整迴轉率。在此,切換供給電壓時還能不增加調整元件地控制迴轉率。 According to the second embodiment of the present invention having the above configuration, the slew rate control can be performed with respect to the plurality of (N) power sources 1-1 to 1-N, the switches 3-1 to 3-N, and the load circuit 2. Here, the slew rate control device 10B can adjust the slew rate without depending on the state of the switches 3-1 to 3-N. Here, when the supply voltage is switched, the slew rate can be controlled without increasing the adjustment element.

[實施形態3] [Embodiment 3]

圖6為表示本發明實施形態3之迴轉率控制裝置10C與其周邊電路的構成例的方塊圖。在圖6的實施形態3中,迴轉率控制裝置10C相較於圖1之實施形態1的迴轉率控制裝置10具有以下的點相異。 Fig. 6 is a block diagram showing an example of the configuration of a rotation rate control device 10C and its peripheral circuits according to the third embodiment of the present invention. In the third embodiment of Fig. 6, the rotation rate control device 10C differs from the rotation rate control device 10 of the first embodiment of Fig. 1 in the following points.

(1)還具有迴轉率自動調整裝置30。 (1) There is also a slew rate automatic adjusting device 30.

(2)取代控制電路20,具有控制電路20C,其具備預先儲存迴轉率設定值(以下稱SR設定值)的記憶體20m。 (2) In place of the control circuit 20, the control circuit 20C includes a memory 20m that stores a slew rate setting value (hereinafter referred to as an SR set value) in advance.

(3)取代迴轉率調整電路22,具有迴轉率調整電路22C。 (3) In place of the slew rate adjustment circuit 22, the slew rate adjustment circuit 22C is provided.

以下,針對該些相異點作詳述。 Hereinafter, the differences will be described in detail.

在圖6中,迴轉率自動調整裝置30使用為用以自動地調整負載端電壓V2的迴轉率,並具有迴轉率算出電路31、誤差訊號產生電路32以及迴轉率調整控制訊號產生電路33。於此,迴轉率自動調整裝置30的特徵在於以負載端電壓V2的迴轉率成為所需之迴轉率值的方式,藉由使用負回饋自動地調整迴轉率。 In FIG. 6, the slew rate automatic adjusting device 30 is used to automatically adjust the slew rate of the load terminal voltage V2, and has a slew rate calculating circuit 31, an error signal generating circuit 32, and a slew rate adjustment control signal generating circuit 33. Here, the automatic slew rate adjusting device 30 is characterized in that the slew rate is automatically adjusted by using negative feedback so that the slew rate of the load terminal voltage V2 becomes a desired slew rate value.

迴轉率算出電路31具有例如延遲電路41與加法器42,並從負載端電壓V2算出迴轉率。於此,延遲電路41將負載端電壓V2只延遲預定的時間後輸出延遲訊號。加法器42從表示負載端電壓V2的訊號減去延遲訊號後,將減法計 算結果的訊號輸出至誤差訊號產生電路32。是以,迴轉率算出電路31能算出每一延遲時間的電壓變化量、亦即能算出迴轉率。 The slew rate calculation circuit 31 has, for example, a delay circuit 41 and an adder 42, and calculates a slew rate from the load terminal voltage V2. Here, the delay circuit 41 delays the load terminal voltage V2 only for a predetermined time and outputs a delay signal. The adder 42 subtracts the delay signal from the signal indicating the load terminal voltage V2, and then subtracts the subtraction meter. The signal of the result is output to the error signal generating circuit 32. Therefore, the slew rate calculation circuit 31 can calculate the amount of voltage change per delay time, that is, the slew rate can be calculated.

誤差訊號產生電路32具有例如由放大器或濾波器等所構成的訊號調整電路43以及加法器44,並對所需的SR設定值,算出相對於以迴轉率算出電路31求出之迴轉率的誤差。由迴轉率算出電路31算出的迴轉率由訊號調整電路43作預定的訊號調整處理。接著,加法器44從表示SR設定值的訊號減去該訊號調整處理後的訊號,將減法計算結果的誤差訊號SRerror輸出至迴轉率調整控制訊號產生電路33,其中SR設定值係從控制電路20C的記憶體20m所讀出。此誤差的計算可以不僅是減法計算、而是以作為相對於所需之迴轉率值的比(除法計算值)來計算,也可以是為了用訊號調整電路43除去雜訊與改變迴圈的回饋率而以濾波器、放大/衰減處理、平均化進行訊號調整。 The error signal generating circuit 32 has, for example, a signal adjusting circuit 43 composed of an amplifier or a filter, and an adder 44, and calculates an error with respect to the slew rate obtained by the slew rate calculating circuit 31 for the required SR setting value. . The slew rate calculated by the slew rate calculating circuit 31 is subjected to a predetermined signal adjustment process by the signal adjusting circuit 43. Next, the adder 44 subtracts the signal after the signal adjustment process from the signal indicating the SR set value, and outputs the error signal SRerror of the subtraction calculation result to the slew rate adjustment control signal generating circuit 33, wherein the SR set value is from the control circuit 20C. The memory is read by 20m. The calculation of the error may be calculated not only as a subtraction calculation but as a ratio (division calculation value) with respect to the required slew rate value, or may be a feedback for removing the noise and changing the loop by the signal adjustment circuit 43. The signal is adjusted by filter, amplification/attenuation processing, and averaging.

迴轉率調整控制訊號產生電路33(以下稱SR調整控制訊號產生電路)具有例如由放大器或濾波器等所構成的訊號調整電路45,SR調整訊號控制產生電路33基於以誤差訊號產生電路32算出的誤差訊號SRerror,產生表示迴轉率調整值(即充放電電流調整,以下稱SR調整值)的迴轉率調整控制訊號(以下稱SR調整控制訊號)。SR調整控制訊號輸入迴轉率調整電路22C。是以,SR調整控制訊號產生電路33能例如以回饋訊號位階相對於迴轉率調整電路22C呈最佳化的方式,藉由對誤差訊號作濾波處理或放大處理,將往迴轉率調整電路22C的控制訊號最佳化。 The slew rate adjustment control signal generating circuit 33 (hereinafter referred to as the SR adjustment control signal generating circuit) has a signal adjusting circuit 45 composed of, for example, an amplifier or a filter, and the SR adjusting signal control generating circuit 33 calculates based on the error signal generating circuit 32. The error signal SRerror generates a slew rate adjustment control signal (hereinafter referred to as an SR adjustment control signal) indicating a slew rate adjustment value (that is, a charge/discharge current adjustment, hereinafter referred to as an SR adjustment value). The SR adjustment control signal is input to the slew rate adjustment circuit 22C. Therefore, the SR adjustment control signal generating circuit 33 can optimize the feedback signal level to the slew rate adjustment circuit 22C by, for example, filtering or amplifying the error signal in a manner that the feedback signal level is optimized with respect to the slew rate adjustment circuit 22C. Control signal optimization.

更進一步,迴轉率調整電路22C基於來自SR調整控制訊號與控制電路20C的控制訊號,以迴轉率成為SR調整值的方式調整迴轉率。 Further, the slew rate adjustment circuit 22C adjusts the slew rate such that the slew rate becomes the SR adjustment value based on the control signal from the SR adjustment control signal and the control circuit 20C.

圖6的控制電路20C具有儲存SR設定值的記憶體20m,惟本發明不限於此,也可以構成為從外部的控制電路或控制裝置接收SR設定值。 The control circuit 20C of FIG. 6 has the memory 20m for storing the SR set value, but the present invention is not limited thereto, and may be configured to receive the SR set value from an external control circuit or control device.

迴轉率調整裝置30內的各訊號處理可以是在類比或數位的任一者或者是兩者的環境下進行,若為類比訊號處理,則使用取樣保持電路、開關電容電路、運算放大器等來實現功能。又,若為數位訊號處理,則將輸入訊號作AD轉換,之後階段的處理全部以數位訊號處理來實現功能。也就是說,可以在不論類比/數位訊號處理的區分下實現功能的處理。在作數位訊號處理的情 況下,將往迴轉率自動調整裝置30的輸入訊號作AD轉換處理時,若在電壓檢測電路21使用AD轉換器,亦可與電壓檢測電路21共用。 The signal processing in the slew rate adjusting device 30 can be performed in an environment of either analog or digital or both. If the analog signal processing is performed, the sampling and holding circuit, the switched capacitor circuit, the operational amplifier, etc. are used. Features. Moreover, if it is a digital signal processing, the input signal is AD-converted, and the processing in the subsequent stages is all performed by digital signal processing. That is to say, the processing of the function can be realized regardless of the distinction of the analog/digital signal processing. In the case of digital signal processing In the case where the input signal to the slew rate automatic adjusting device 30 is subjected to AD conversion processing, the voltage detecting circuit 21 may be shared with the voltage detecting circuit 21 if the AD converter is used.

圖7A為表示由圖6之迴轉率控制裝置10C實行迴轉率控制處理(電壓V1、V2未知時)的流程圖。圖7A之迴轉率控制處理相較於圖2A的迴轉率控制處理,其特徵在於係在步驟S5、S6的各後續步驟S7、S8中實行圖8的迴轉率自動調整處理。 Fig. 7A is a flowchart showing a slew rate control process (when voltages V1 and V2 are unknown) are executed by the slew rate control device 10C of Fig. 6 . The slew rate control processing of FIG. 7A is compared with the slew rate control processing of FIG. 2A, and is characterized in that the slew rate automatic adjustment processing of FIG. 8 is executed in each of the subsequent steps S7, S8 of steps S5, S6.

又,圖7B為表示由圖6之迴轉率控制裝置10C實行迴轉率控制處理(電壓V1已知V2未知時)的流程圖。圖7B之迴轉率控制處理相較於圖2B的迴轉率控制處理,其特徵在於係在步驟S5、S6的各後續步驟S7、S8中實行圖8的迴轉率自動調整處理。 Further, Fig. 7B is a flowchart showing the slew rate control processing (when the voltage V1 is known to be unknown V2) by the slew rate control device 10C of Fig. 6 . The slew rate control processing of FIG. 7B is compared with the slew rate control processing of FIG. 2B, and is characterized in that the slew rate automatic adjustment processing of FIG. 8 is executed in each of the subsequent steps S7, S8 of steps S5, S6.

圖8為表示圖7A與圖7B的子流程、亦即為表示迴轉率自動調整處理(S7、S8)的流程圖。 Fig. 8 is a flowchart showing the subroutine of Figs. 7A and 7B, that is, the slew rate automatic adjustment processing (S7, S8).

在圖8的步驟S11中,電壓檢測電路21測量負載端電壓V2,接著在步驟S12中,基於測量的負載端電壓V2算出迴轉率。在步驟S13中,基於算出的迴轉率與迴轉率設定值算出誤差SRerror,在步驟S14中判斷是否SRerror≦△SR,YES(是)時返回至原流程,NO(否)時前進至步驟S15。於此,△SR例如是0.01~0.1等0的附近值。在步驟S15中判斷是否SRerror>0,YES(是)時前進至步驟S16,反之NO(否)時前進至步驟S17。在步驟S16基於誤差SRerror減少迴轉率調整電路22的調整值x,更新後返回至原流程。又,在步驟S17則基於誤差SRerror放大迴轉率調整電路22的調整值x,更新後返回至原流程。 In step S11 of Fig. 8, the voltage detecting circuit 21 measures the load terminal voltage V2, and then, in step S12, the slew rate is calculated based on the measured load terminal voltage V2. In step S13, the error SRerror is calculated based on the calculated slew rate and the slew rate setting value, and it is determined in step S14 whether or not SRerror ≦ ΔSR, YES (YES) returns to the original flow, and NO (NO) proceeds to step S15. Here, ΔSR is, for example, a nearby value of 0 such as 0.01 to 0.1. It is determined in step S15 whether SRerror > 0, YES (YES) proceeds to step S16, and if NO (NO), proceeds to step S17. The adjustment value x of the swing rate adjustment circuit 22 is reduced based on the error SRerror in step S16, and is updated to return to the original flow. Further, in step S17, the adjustment value x of the rotation rate adjustment circuit 22 is amplified based on the error SRerror, and is updated and returned to the original flow.

在圖8的步驟S14,若誤差SRerror變成0的附近值內,此時迴轉率調整電路22C的調整值相對於所需的迴轉率視為最佳值,則不進行調整值的更新,返回至原流程。此外,也可以是不進行誤差SRerror是否為0之附近值內的比較處理,隨時放大減少迴轉率調整電路22C的調整值。 In step S14 of FIG. 8, if the error SRerror becomes within the vicinity of 0, and the adjustment value of the rotation rate adjustment circuit 22C is regarded as the optimum value with respect to the required rotation rate, the adjustment value is not updated and the operation returns to The original process. Further, the comparison processing in the vicinity of the value of whether the error SRerror is 0 or not may be performed, and the adjustment value of the rotation rate adjustment circuit 22C may be increased and decreased at any time.

如以上說明,相對於圖2A與圖2B的迴轉率控制處理,藉由增加迴轉率自動調整處理的子流程,可實現迴轉率自動調整處理。此子流程可由將充電/放電的電流值對應圖8的流程圖依序調整來實現。此外,實施形態3不僅能適用於實施形態1,也能適用於實施形態2。 As described above, with respect to the slew rate control processing of FIGS. 2A and 2B, the slew rate automatic adjustment processing can be realized by increasing the subroutine of the slew rate automatic adjustment processing. This subroutine can be realized by sequentially adjusting the current value of charging/discharging in accordance with the flowchart of FIG. Further, the third embodiment can be applied not only to the first embodiment but also to the second embodiment.

[變形例] [Modification]

以上之實施形態1~3的迴轉率控制裝置可設置在例如半導體積體電路等的半導體裝置。 The rotation rate control device according to the first to third embodiments described above can be provided in a semiconductor device such as a semiconductor integrated circuit.

又,以上之實施形態1~3的迴轉率控制裝置可設置在例如個人電腦、行動電話、智慧型手機等的電子設備。 Further, the slew rate control devices of the above-described first to third embodiments can be installed in electronic devices such as personal computers, mobile phones, and smart phones.

1‧‧‧電源 1‧‧‧Power supply

2‧‧‧負載電路 2‧‧‧Load circuit

3‧‧‧開關 3‧‧‧ switch

3a‧‧‧接點端子 3a‧‧‧Contact terminals

3b‧‧‧接點端子 3b‧‧‧Contact terminals

10‧‧‧迴轉率控制裝置 10‧‧‧Slewing rate control device

20‧‧‧控制電路 20‧‧‧Control circuit

21‧‧‧電壓檢測電路 21‧‧‧Voltage detection circuit

22‧‧‧迴轉率調整電路 22‧‧‧ slew rate adjustment circuit

23‧‧‧開關驅動電路 23‧‧‧Switch drive circuit

CL‧‧‧負載電容 CL‧‧‧ load capacitance

RL‧‧‧負載電阻 RL‧‧‧ load resistor

V1‧‧‧電源電壓 V1‧‧‧Power supply voltage

V2‧‧‧負載端電壓 V2‧‧‧ load terminal voltage

Claims (9)

一種迴轉率控制裝置,包括:電壓檢測手段,檢測至少一個開關其兩端的第一電壓與第二電壓;充放電手段,對該開關其兩端中至少一端輸出用以充電的電流,或者從該至少一端輸入用以放電的電流;以及控制手段,當由該電壓檢測手段檢測的該第一電壓到達該第二電壓時,開啟該開關,反之當該第一電壓未到達該第二電壓時,對應該第一電壓與該第二電壓的大小關係,對該開關其兩端之兩端子中至少一端子輸出用以充電的電流,或者從該至少一端子放電,藉此控制迴轉率。 A slew rate control device includes: a voltage detecting means for detecting a first voltage and a second voltage of the two ends of the at least one switch; and a charging and discharging means for outputting a current for charging at least one of the two ends of the switch, or from the current And at least one end inputs a current for discharging; and a control means, when the first voltage detected by the voltage detecting means reaches the second voltage, turning on the switch, and when the first voltage does not reach the second voltage, Corresponding to the magnitude relationship between the first voltage and the second voltage, at least one of the two terminals of the switch has a current for charging or is discharged from the at least one terminal, thereby controlling the slew rate. 一種迴轉率控制裝置,包括:電壓檢測手段,檢測至少一個開關其兩端中一端的第一電壓;充放電手段,對該開關其兩端中至少一端輸出用以充電的電流,或者從該至少一端輸入用以放電的電流;以及控制手段,當由該電壓檢測手段檢測的該第一電壓到達預定的第二電壓時,開啟該開關,反之當該第一電壓未到達該第二電壓時,對應該第一電壓與該第二電壓的大小關係,對該開關其兩端之兩端子中至少一端子輸出用以充電的電流,或者從該至少一端子放電,藉此控制迴轉率。 A slew rate control device comprising: a voltage detecting means for detecting a first voltage of one end of at least one of the switches; and a charging and discharging means for outputting a current for charging at least one of the two ends of the switch, or from the at least One end inputs a current for discharging; and a control means that when the first voltage detected by the voltage detecting means reaches a predetermined second voltage, the switch is turned on, and when the first voltage does not reach the second voltage, Corresponding to the magnitude relationship between the first voltage and the second voltage, at least one of the two terminals of the switch has a current for charging or is discharged from the at least one terminal, thereby controlling the slew rate. 如申請專利範圍第1項或第2項所述之迴轉率控制裝置,其中連接該開關其兩端中一端的負載電路包含可變電阻,該控制手段在該充電或放電時控制該可變電阻的電阻值。 The yaw rate control device according to claim 1 or 2, wherein the load circuit connecting one end of the switch includes a variable resistor, and the control means controls the variable resistor during the charging or discharging The resistance value. 如申請專利範圍第1項至第3項中任一項所述之迴轉率控制裝置,進一步包括:算出手段,算出由該充放電手段對該開關其兩端中至少一端充電時或者放電時的迴轉率;以及訊號產生手段,產生表示該算出的迴轉率與預定的迴轉率設定值之誤差的誤差訊號;其中,該控制手段基於該誤差訊號,自動地控制所算出的該迴轉率與該迴轉率設定值一致。 The yaw rate control device according to any one of claims 1 to 3, further comprising: calculating means for calculating, when the charging/discharging means charges at least one of both ends of the switch or when discharging a slew rate; and a signal generating means for generating an error signal indicating an error between the calculated slew rate and a predetermined slew rate setting value; wherein the control means automatically controls the calculated slew rate and the swivel based on the error signal The rate setting values are the same. 如申請專利範圍第1項至第4項中任一項所述之迴轉率控制裝置,其中該第一電壓為負載端電壓,該第二電壓為電源電壓。 The yaw rate control device according to any one of claims 1 to 4, wherein the first voltage is a load terminal voltage and the second voltage is a power source voltage. 如申請專利範圍第1項至第5項中任一項所述之迴轉率控制裝置,其中該控制手段以如下的方式控制:對該開關其兩端之兩端子中至少一端子輸出用以充電的電流;或者從該至少一端子放電後,在預定的等待時間後開啟該開關。 The yaw rate control device according to any one of claims 1 to 5, wherein the control means is controlled in such a manner that at least one of the two terminals of the switch is output for charging The current; or after discharging from the at least one terminal, the switch is turned on after a predetermined waiting time. 如申請專利範圍第1項至第5項中任一項所述之迴轉率控制裝置,其中該控制手段以如下的方式控制:對該開關其兩端之兩端子中至少一端子輸出用以充電的電流;或者從該至少一端子放電後,在該用以充電或放電的電流變得比預定的電流值大時,在預定的等待時間後開啟該開關。 The yaw rate control device according to any one of claims 1 to 5, wherein the control means is controlled in such a manner that at least one of the two terminals of the switch is output for charging The current is turned on; or after discharging from the at least one terminal, when the current for charging or discharging becomes larger than a predetermined current value, the switch is turned on after a predetermined waiting time. 一種半導體裝置,包括如申請專利範圍第1項至第7項中任一項所述的迴轉率控制裝置。 A semiconductor device comprising the slew rate control device according to any one of claims 1 to 7. 一種電子設備,包括如申請專利範圍第1項至第7項中任一項所述的迴轉率控制裝置。 An electronic device comprising the slew rate control device according to any one of claims 1 to 7.
TW106114684A 2016-05-19 2017-05-03 Slew rate control apparatus, semiconductor apparatus, and electronic equipment TW201742380A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016100275A JP2017207946A (en) 2016-05-19 2016-05-19 Slew rate controller, semiconductor device, and electronic apparatus

Publications (1)

Publication Number Publication Date
TW201742380A true TW201742380A (en) 2017-12-01

Family

ID=59034819

Family Applications (1)

Application Number Title Priority Date Filing Date
TW106114684A TW201742380A (en) 2016-05-19 2017-05-03 Slew rate control apparatus, semiconductor apparatus, and electronic equipment

Country Status (3)

Country Link
JP (1) JP2017207946A (en)
TW (1) TW201742380A (en)
WO (1) WO2017199772A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114448451A (en) * 2020-11-04 2022-05-06 瑞昱半导体股份有限公司 Transmitter with controllable slew rate

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109485772B (en) * 2017-09-13 2021-10-19 中国石油化工股份有限公司 Low cis-polybutadiene rubber, process for producing the same, composition thereof, aromatic vinyl resin and process for producing the same
US11101673B2 (en) 2018-03-13 2021-08-24 Cypress Semiconductor Corporation Programmable gate driver control in USB power delivery

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005275611A (en) 2004-03-23 2005-10-06 Sony Corp Electronic equipment
US8716997B2 (en) * 2010-06-16 2014-05-06 Honeywell International, Inc. High power DC SSPC with capability of soft turn-on large capacitive loads

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114448451A (en) * 2020-11-04 2022-05-06 瑞昱半导体股份有限公司 Transmitter with controllable slew rate
CN114448451B (en) * 2020-11-04 2023-10-31 瑞昱半导体股份有限公司 Transmitter with controllable slew rate

Also Published As

Publication number Publication date
JP2017207946A (en) 2017-11-24
WO2017199772A1 (en) 2017-11-23

Similar Documents

Publication Publication Date Title
US9804619B2 (en) USB power supply apparatus
US20170222463A1 (en) Duty cycle control for charging a battery
US10523042B2 (en) Master-slave charging circuit with slave charger input current sensing and adaptive battery current limiting
US10770912B2 (en) Charging device and control method thereof
CN108964447B (en) Power converter and method of charging a power adapter having a power converter
TW201742380A (en) Slew rate control apparatus, semiconductor apparatus, and electronic equipment
US10491116B2 (en) Fast transient response circuit
US7764116B2 (en) Cutoff frequency adjusting method, GmC filter circuit and semiconductor device
JP2015204705A (en) Charge control circuit and method, and charging device
US7696726B2 (en) Battery charger and associated method
JP6553346B2 (en) Overcurrent detection circuit, USB power supply apparatus using the same, electronic apparatus, overcurrent detection method
KR101907367B1 (en) Protection of speakers from thermal damage
US20080054843A1 (en) Linear battery charger
CN111934395B (en) Switching control circuit, charging chip and electronic device
US10444077B2 (en) Device for operating passive infrared sensors
WO2018010400A1 (en) Charging method for mobile terminal and mobile terminal
US20130114310A1 (en) Power Supply Control Circuit and method for sensing voltage in the power supply control circuit
US20230058715A1 (en) Adding circuit for multi-channel signals and implementation method of adding circuit for multi-channel signals
US10128680B2 (en) Constant current charging device
CN114069757A (en) Dual stage detection to reduce voltage drop on critical battery voltage node
CN106505650B (en) Power supply and power control method thereof
EP2792044A1 (en) Voltage measurement
JP2011176930A (en) Charging circuit and charging method
KR101146005B1 (en) Precharging control apparatus and precharging control method
WO2015063968A1 (en) Battery pack, electronic device system, and electronic device