CN101136064A - Control device and method for providing setting signal by using load circuit - Google Patents
Control device and method for providing setting signal by using load circuit Download PDFInfo
- Publication number
- CN101136064A CN101136064A CNA2006101291673A CN200610129167A CN101136064A CN 101136064 A CN101136064 A CN 101136064A CN A2006101291673 A CNA2006101291673 A CN A2006101291673A CN 200610129167 A CN200610129167 A CN 200610129167A CN 101136064 A CN101136064 A CN 101136064A
- Authority
- CN
- China
- Prior art keywords
- control device
- input signal
- setting signal
- load circuit
- circuit
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title description 6
- 239000003990 capacitor Substances 0.000 description 13
- 230000007246 mechanism Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 238000004806 packaging method and process Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 2
- 238000005070 sampling Methods 0.000 description 2
- 230000007423 decrease Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Landscapes
- Electronic Switches (AREA)
- Power Sources (AREA)
Abstract
本发明提供了一种用来输出一设定讯号的控制装置。该控制装置包含有一电源电路、一负载电路与一决定电路,其中该电源电路用来提供一输出电流;而该负载电路耦接至该电源电路,用来依据该输出电流决定一输入讯号;以及该决定电路耦接至该负载电路,并用来依据该输入讯号与至少一参考值以决定该设定讯号。
The present invention provides a control device for outputting a setting signal. The control device comprises a power circuit, a load circuit and a determination circuit, wherein the power circuit is used to provide an output current; the load circuit is coupled to the power circuit and is used to determine an input signal according to the output current; and the determination circuit is coupled to the load circuit and is used to determine the setting signal according to the input signal and at least one reference value.
Description
技术领域technical field
本发明涉及一种讯号产生装置与相关方法,特别是涉及一种依据参考值以及负载电路所提供的设定讯号的控制装置及其相关方法。The invention relates to a signal generating device and a related method, in particular to a control device and a related method based on a reference value and a setting signal provided by a load circuit.
背景技术Background technique
一般而言,现有的控制卡片阅读机(Card Reader)芯片的方式通常是藉由电可擦除可编程只读存储器(Electrically Erasable Programmable Read onlyMemory,EEPROM)中所储存的控制设定值或者是使用通用输出入接口(General Purpose I/O Interface,GPIO)来加以控制,然而,在使用电可擦除可编程只读存储器时,卡片阅读机芯片本身需要经由多个接脚来连接电可擦除可编程只读存储器,以便分别接收该电可擦除可编程只读存储器中所记录的控制设定值的各个位,虽然其控制逻辑较为简单,但却需要具有相对应的硬件电路或组件来配合控制卡片阅读机芯片,同时,电可擦除可编程只读存储器本身的高成本亦将提高整体系统的成本。另外,若改成使用通用输出入接口来输出控制讯号以控制卡片阅读机芯片(例如控制卡片阅读机芯片的组态设定),该通用输出入接口会因为需要具有多种控制方式而造成其本身所需的接脚数目相当的多,这导因于其接脚所输出的控制讯号为数字讯号,因此其本身只具有位“0”与位“1”的表示方式而无法减少其接脚数目,进而导致卡片阅读机芯片的成本提高。Generally speaking, the existing way of controlling the card reader (Card Reader) chip is usually through the control settings stored in the Electrically Erasable Programmable Read only Memory (Electrically Erasable Programmable Read only Memory, EEPROM) or by Use the General Purpose I/O Interface (GPIO) to control it. However, when using the EEPROM, the card reader chip itself needs to connect the EEPROM via multiple pins. In addition to the programmable read-only memory, in order to receive each bit of the control setting value recorded in the electrically erasable programmable read-only memory, although its control logic is relatively simple, it needs to have corresponding hardware circuits or components To cooperate with the control card reader chip, at the same time, the high cost of the EEPROM itself will also increase the cost of the overall system. In addition, if the general-purpose input-output interface is used instead to output control signals to control the card reader chip (for example, to control the configuration settings of the card reader chip), the general-purpose input-output interface will cause its own problems due to the need for multiple control methods. The number of pins required by itself is quite large, which is due to the fact that the control signal output by its pins is a digital signal, so it only has the representation of bit "0" and bit "1" and cannot reduce its pins The number, which in turn leads to an increase in the cost of the card reader chip.
此外,若改为使用模拟/数字转换器(Analog-to-Digital Convener,ADC)将卡片阅读机芯片外部所输入的模拟控制讯号转换成数字控制讯号来实现控制该卡片阅读机芯片的机制,则会因为模拟/数字转换器需要实时地将瞬间变化的模拟控制讯号经由取样来转换成数字控制讯号,而使得整体电路在实作上却变得较为复杂,即便其可以将模拟/数字转换器整合至该卡片阅读机芯片中而使得接脚数目降低,然而其成本亦将提高。In addition, if an analog-to-digital converter (Analog-to-Digital Convener, ADC) is used instead to convert the analog control signal input from the outside of the card reader chip into a digital control signal to realize the mechanism of controlling the card reader chip, then Because the analog/digital converter needs to convert the instantaneously changing analog control signal into a digital control signal through sampling in real time, the implementation of the overall circuit becomes more complicated, even if it can integrate the analog/digital converter Into the card reader chip to reduce the number of pins, but its cost will also increase.
总结而言,现有机制虽然皆可以控制卡片阅读机芯片的运作,然而,却无法同时有效降低输入控制讯号至卡片阅读机芯片时需要使用到的接脚数目与整体系统成本。In summary, although the existing mechanisms can control the operation of the card reader chip, they cannot effectively reduce the number of pins required to input control signals to the card reader chip and the overall system cost at the same time.
发明内容Contents of the invention
因此本发明的目的之一在于提供一种依据参考值以及负载电路所提供的输入讯号来产生设定讯号的控制装置与方法,其能够有效降低输入设定讯号至芯片(例如卡片阅读机芯片)时所需要的接脚数目与整体系统成本,以解决上述所提到的问题。Therefore, one of the objects of the present invention is to provide a control device and method for generating a setting signal based on a reference value and an input signal provided by a load circuit, which can effectively reduce the input setting signal to a chip (such as a card reader chip) The number of pins required and the overall system cost at the time, in order to solve the problems mentioned above.
本发明披露了一种用来设定芯片的控制装置。该控制装置包含有一电源电路、一负载电路以及一决定电路,其中该电源电路用来提供一输出电流,该负载电路耦接至该电源电路,用来依据该输出电流决定一输入讯号,以及该决定电路则耦接至该负载电路,并用来依据该输入讯号与至少一参考值以决定该设定讯号。The invention discloses a control device for setting chips. The control device includes a power supply circuit, a load circuit and a determination circuit, wherein the power supply circuit is used to provide an output current, the load circuit is coupled to the power supply circuit, and is used to determine an input signal according to the output current, and the The determining circuit is coupled to the load circuit and used for determining the setting signal according to the input signal and at least one reference value.
附图说明Description of drawings
图1为本发明控制装置的一实施例的示意图。Fig. 1 is a schematic diagram of an embodiment of the control device of the present invention.
附图符号说明Description of reference symbols
具体实施方式Detailed ways
在本发明中,对于卡片阅读机芯片本身而言,其控制讯号并不要求特别高的讯号实时性,因而可以舍弃模拟/数字转换器中的取样电路而不会使得整体电路在实作上变得复杂,亦不会造成系统功能不符的情形,而本发明的精神即是以此作为改良基础来实现只需单一接脚即可控制卡片阅读机芯片运作的机制,其详细说明如下所述。In the present invention, for the card reader chip itself, the control signal does not require particularly high signal real-time performance, so the sampling circuit in the analog/digital converter can be discarded without changing the overall circuit in practice. It is complicated and will not cause inconsistent system functions, and the spirit of the present invention is to use this as an improved basis to realize a mechanism that only needs a single pin to control the operation of the card reader chip. The detailed description is as follows.
请参照图1,图1是本发明控制装置100的一实施例的示意图。控制装置100可应用于卡片阅读机芯片以产生一设定讯号来设定其芯片组态,然而,本发明并不以此为限,亦即控制装置100亦可应用于其它用途/功能的芯片中,也应属本发明的范畴。Please refer to FIG. 1 , which is a schematic diagram of an embodiment of a
如图1所示,控制装置100包含有一电源电路105、一负载电路110以及一决定电路115。于一实施例中,电源电路105可用来提供具有固定电流值的输出电流Iout。负载电路110包含有一并联的电容C与一电阻R,其中电容C与电阻R依据输出电流Iout进行充电或放电以设定输入讯号Sin。决定电路115则包含有一定时器120、一第一决定单元125以及一第二决定单元130,其中定时器120依据输入讯号Sin的电压电平来产生一计时值Tv,其是藉由计时输入讯号Sin自一第一预定电压电平达到一第二预定电压电平的时间来决定计时值Tv,其中该第一、第二预定电压电平可依据设计需求来加以设定,例如可将该第一、第二预定电压电平分别设为0V与0.8V。第一决定单元125接收计时值T。与多个参考值S1~SN-1,并藉由比较计时值Tv与多个参考值S1~SN-1来决定一第一设定讯号成分C1,亦即,当输入讯号Sin达到该第二预定电压电平时,第一决定单元125会比较计时值Tv与参考值S1~SN-1来决定第一设定讯号成分C1。第二决定单元130则依据输入讯号Sin与多个参考值S1’~SM-1’来产生一第二设定讯号成份C2。其中决定电路115所输出的设定讯号Sc是由第一设定讯号成份C1与第二设定讯号成份C2所组成。为了简化图标,在图1中直接将第一设定讯号成份C1与第二设定讯号成份C2合并以形成设定讯号Sc。举例来说,若第一设定讯号成份C1与第二设定讯号成份C2分别具有x个位与Y个位,则所输出的设定讯号Sc便具有(x+Y)个位。As shown in FIG. 1 , the
在一较佳实施例中,控制装置100利用电源电路105内一电流源所提供的固定输出电流Iout来对负载电路110中的电容C与电阻R进行充放电,因此就其操作原理叙述如下。In a preferred embodiment, the
在该卡片阅读机芯片刚激活时,由于电容C经由输出电流Iout充电的关系而会造成输入讯号Sin的电压电平升高,而不同电容值的电容,其由一电压电平充电至另一电压电平的时间快慢亦不相同,举例来说,具有较大电容值的电容,其充电速度将较慢。因此,通过设定电容C的电容值便可达到设定第一设定讯号成份C1的目的,此时,可以利用定时器120来计时输入讯号Sin自一第一预定电压电平(例如0伏特)达到一第二预定电压电平(例如0.8伏特)的时间以决定计时值Tv,然后,第一决定单元125负责比较计时值Tv,与多个参考值S1~SN-1(其为参考时间值)来决定第一设定讯号成分C1。而在上述例子中,自该第一预定电压电平开始计时并非只限于由0伏特开始计时,亦可以由非零电压电平开始计时,此亦符合本发明的精神。When the card reader chip is just activated, the voltage level of the input signal S in will rise due to the capacitor C being charged by the output current I out , and the capacitors with different capacitance values will be charged from a voltage level to The time for another voltage level is also different, for example, a capacitor with a larger capacitance value will be charged more slowly. Therefore, the purpose of setting the first set signal component C1 can be achieved by setting the capacitance value of the capacitor C. At this time, the
当负载电路110趋于稳态时,亦即,电阻R与电容C在经由足够的时间下充放电已达到稳态状态,此时虽然输入讯号Sin的电压电平维持稳定,然而,输入讯号Sin的电压电平却会因为电阻R所选用的阻抗值不同而有不同的电压电平,因此,第二决定单元130可以依据输入讯号Sin在稳态时的电压电平与参考值s1’~SM-1’(其为不同的参考电压电平)来产生第二设定讯号成份C2,最后,第二设定讯号成份C2与第一设定讯号成份C1组成设定讯号Sc而输出并设定该卡片阅读机芯片。When the
在此请注意到,于此一实施例中,决定电路115与电源电路105皆可整合于卡片阅读机芯片中,而负载电路110中的电容C与电阻R则设置于该卡片阅读机芯片的外部,因此使用者可依据卡片阅读机芯片所要的设定讯号Sc的代表位值,由外部来动态地改变电容C的电容值与电阻R的电阻值。然而,于另一实施例中,决定电路115、电源电路105与负载电路110皆可整合于卡片阅读机芯片中,虽然此一架构无法动态地依据卡片阅读机芯片的需求来动态设定电容C的电容值与电阻R的阻抗值,但决定电路115、电源电路105与负载电路110所构成的产生设定讯号的电路架构仍属本发明的范畴。Please note here that in this embodiment, both the
综合上述,于电阻R与电容C设置于该卡片阅读机芯片外部的实施例中,使用者可以藉由调整电阻R与电容C来实现产生不同的设定讯号Sc来设定该卡片阅读机芯片,同时,因为输入讯号Sin只经由该卡片阅读机芯片的单一接脚(例如图1所示的端点P)而传输至决定电路115,将可以使得芯片封装时的成本大大降低。在此请注意,N-1个参考值S1~SN-1将可以产生可设定log2N位的第一设定讯号成份C1,而M-1个参考值s1’~SM-1’将可以产生可设定log2M位的第二设定讯号成份C2,因此最后将组成可设定log2N+log2M位的设定讯号Sc。举例来说,以最后需要4位的数字设定讯号而言(亦即具有16种不同的数字设定讯号),N的值可以设定为4而M的值亦设定为4,亦即只需要6个参考值S1~S3、S1’~S3’即可以完成4位的设定讯号。To sum up the above, in the embodiment where the resistor R and the capacitor C are arranged outside the card reader chip, the user can adjust the resistor R and capacitor C to generate different setting signals Sc to set the card reader chip , and at the same time, because the input signal S in is transmitted to the
在此请注意到,本实施例中为了达到较多种类的设定讯号来设定该卡片阅读机芯片,使用多个参考值S1~SN-1、S1’~SM-1’来实现,然而,若只使用参考值S1、S1’来实现,虽然运作上只能够达到较少种类的设定讯号,然而亦有助于解决现有技术所造成的问题。Please note here that in this embodiment, in order to achieve more types of setting signals to set the card reader chip, multiple reference values S 1 ~S N-1 , S 1 ′~S M-1 ′ are used However, if only the reference values S 1 , S 1 ′ are used to implement, although only a few types of setting signals can be achieved in operation, it is also helpful to solve the problems caused by the prior art.
在本发明的实施例中,亦实现了只需要单一接脚就能够设定卡片阅读机芯片的运作,然而,在其它实施例中,亦可以依据本发明所提供的机制来实现芯片中具有多组控制装置的架构。由于每一控制装置会使用到一个接脚来连接负载电路,因而得以获得更多种类的设定讯号来设定卡片阅读机芯片。In the embodiment of the present invention, only a single pin is required to set the operation of the chip of the card reader. However, in other embodiments, the mechanism provided by the present invention can also be used to implement the chip with multiple The architecture of the group control device. Since each control device uses a pin to connect the load circuit, more types of setting signals can be obtained to set the card reader chip.
在另一实施例中,可以将第二决定单元130与负载电路110中的电阻R移除,此时只藉由比较不同的电容值充电时所花费的时间不同来决定设定讯号Sc,亦即设定讯号Sc仅包含第一设定讯号成份C1,虽然相较于图1所示的实施例而言,其无法得到较多种类的设定讯号,然而亦可以解决因芯片接脚过多所造成封装成本过高的问题,此亦属于本发明的范畴。甚至在另一实施例中,可以将第一决定单元130、定时器120与负载电路110中的电容C移除,此时只藉由比较输出电流所产生的不同的电位差来决定设定讯号Sc,亦即设定讯号Sc仅包含第二设定讯号成份C2,虽然相较于图1所示的实施例而言,其无法得到较多种类的设定讯号,然而亦可以解决因芯片接脚过多所造成封装成本过高的问题,此亦属于本发明的范畴。由上述诸多实施例可知,负载电路110的内容改变所引发的阻抗变化亦理应属本发明的范畴。In another embodiment, the resistor R in the
另外,在另一实施例中,对于电源电路105中的电流源而言,并不限于只能使用固定的电流源,举例来说,亦可以使用随时间而递增/递减的非固定电流值的电流源,而上述的参考值则必须跟着而改变,虽然此种非固定电流源会使得参考值需要跟着调整并且在选择上会变得较为困难,然而只要输出电流Iout的电流值是可预知的,亦即规则性变化而非随机变动的,亦可应用于控制装置100中。In addition, in another embodiment, the current source in the
以上所述仅为本发明的较佳实施例,凡依本发明的权利要求所做的均等变化与修饰,皆应属本发明的涵盖范围。The above descriptions are only preferred embodiments of the present invention, and all equivalent changes and modifications made according to the claims of the present invention shall fall within the scope of the present invention.
Claims (12)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2006101291673A CN101136064B (en) | 2006-08-31 | 2006-08-31 | Control device and method for providing setting signal by using load circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2006101291673A CN101136064B (en) | 2006-08-31 | 2006-08-31 | Control device and method for providing setting signal by using load circuit |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN101136064A true CN101136064A (en) | 2008-03-05 |
| CN101136064B CN101136064B (en) | 2012-01-04 |
Family
ID=39160155
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN2006101291673A Active CN101136064B (en) | 2006-08-31 | 2006-08-31 | Control device and method for providing setting signal by using load circuit |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN101136064B (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103778023A (en) * | 2012-10-19 | 2014-05-07 | 原相科技股份有限公司 | Communication method between access device and control device and access device |
-
2006
- 2006-08-31 CN CN2006101291673A patent/CN101136064B/en active Active
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103778023A (en) * | 2012-10-19 | 2014-05-07 | 原相科技股份有限公司 | Communication method between access device and control device and access device |
| CN103778023B (en) * | 2012-10-19 | 2017-09-15 | 原相科技股份有限公司 | Communication means and access device between access device and control device |
Also Published As
| Publication number | Publication date |
|---|---|
| CN101136064B (en) | 2012-01-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11509323B2 (en) | Adaptive low power common mode buffer | |
| CN1689216A (en) | Variable charge pump circuit with dynamic load | |
| KR102685478B1 (en) | Analog to digital converter and semiconductor apparatus using the same | |
| CN100589207C (en) | A control device for a charge pump outputting high voltage | |
| US20110241653A1 (en) | Impedance calibration apparatus of semiconductor integrated circuit | |
| US6661728B2 (en) | Supply voltage generating circuit and semiconductor memory device using same | |
| US8780666B2 (en) | Decoupling capacitance calibration devices and methods for DRAM | |
| US9128504B2 (en) | Signal generation circuit, method of operating a signal generation circuit, and device for generating an output voltage | |
| US10345845B1 (en) | Fast settling bias circuit | |
| US11474789B2 (en) | Power supplier circuit and operation method | |
| CN101136064A (en) | Control device and method for providing setting signal by using load circuit | |
| US7596029B2 (en) | Flash memory device including unified oscillation circuit and method of operating the device | |
| US7372760B2 (en) | Semiconductor device and entry into test mode without use of unnecessary terminal | |
| US7334738B2 (en) | Riser card identification system | |
| JP2978753B2 (en) | Voltage level conversion clock generator | |
| JP4439905B2 (en) | Variable attenuator circuit | |
| US20150022235A1 (en) | Semiconductor device | |
| JP4639162B2 (en) | Analog to digital converter | |
| US20090189592A1 (en) | Identification Of Integrated Circuit | |
| US20060114042A1 (en) | Duty cycle correction circuit | |
| KR950015048B1 (en) | Power-on reset circuit | |
| JPH09135170A (en) | A / D conversion circuit | |
| CN205195558U (en) | Conversion integrated circuit | |
| TWI304588B (en) | Control apparatus and method utilizing configuration signal provided by load circuit | |
| JP5191812B2 (en) | Communication processing device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant |