CN104123574B - The smart card of adaptive output driving - Google Patents
The smart card of adaptive output driving Download PDFInfo
- Publication number
- CN104123574B CN104123574B CN201310156407.9A CN201310156407A CN104123574B CN 104123574 B CN104123574 B CN 104123574B CN 201310156407 A CN201310156407 A CN 201310156407A CN 104123574 B CN104123574 B CN 104123574B
- Authority
- CN
- China
- Prior art keywords
- output
- signal
- input
- module
- output module
- 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.)
- Active
Links
Landscapes
- Electronic Switches (AREA)
Abstract
The invention discloses a kind of smart card of adaptive output driving, the smart card includes input/output module, detection module and drive control module, detection module is used to detect whether the driving force of input/output module meets requirement according to the output signal of input/output module, and drive control module is used for the driving force that input/output module is adjusted according to the testing result of detection module.By the above-mentioned means, the smart card of the adaptive output driving of the present invention can judge whether driving force and load match according to the testing result of detection module, and adjust automatically driving force.
Description
Technical field
The present invention relates to electronic technology field, more particularly to a kind of smart card of adaptive output driving.
Background technology
With the development of science and technology, the application of contact intelligent card is widely, and the species of corresponding card reader nor
Chang Duo, but the difference of card reader is than larger, for I/O (Input/Output, input/output) port of contact intelligent card
The driving force size requirements of rear-guard are different.If the driving force of I/O port is too small, being easily caused contact intelligent card can not
Communicated with card reader, if the driving force of I/O port is excessive, easily cause more power wastage.The driving of current I/O port
Capability approach, which is mainly, selects larger I/O port driving force, but is so easily caused more power wastage.
In summary, it is necessary to a kind of smart card of adaptive output driving is provided, to solve the above problems.
The content of the invention
, can be according to detection the present invention solves the technical problem of a kind of smart card of adaptive output driving is provided
The testing result of module judges whether driving force and load match, and adjust automatically driving force.
In order to solve the above technical problems, one aspect of the present invention is:A kind of adaptive output driving is provided
Smart card, the smart card include input/output module, detection module and drive control module, detection module be used for according to defeated
Enter/whether the driving force of the output signal of output module detection input/output module meet requirement, drive control module is used for
The driving force of input/output module is adjusted according to the testing result of detection module;Wherein, detection module includes the first XOR
Door, the second XOR gate, the 3rd XOR gate, the first delayer, the second delayer and trigger, wherein the first XOR gate is to be output
The first postpones signal that signal and signal to be output carry out trailing edge delay through the first delayer produces the after carrying out xor operation
One trigger signal, the second XOR gate treats second that output signal and signal to be output carry out rise edge delay through the second delayer
Postpones signal produces the second trigger signal after carrying out xor operation, and the 3rd XOR gate treats output signal and first detection signal is entered
Second is produced after row xor operation and detects signal, the data terminal of trigger receives second and detects signal, the clock termination of trigger
The first trigger signal and the second trigger signal are received, is examined by the trailing edge locking second of the first trigger signal and the second trigger signal
Signal is surveyed, and then the 3rd of the driving force for representing input/output module is produced by the output end of trigger and detects signal.
Wherein, input/output module includes output module and input module, and the input of output module receives smart card
Signal to be output, the Enable Pin of output module, which is received, enables signal, and the output end of output module is produced in the presence of signal is enabled
Raw output signal, the input of input module connects the output end of output module, and the input of input module receives output signal,
Input module output signal is detected after input module output end produce first detection signal.
Wherein, output module includes the first buffer, and input module includes the second buffer, the output end of the first buffer
Connect the input of the second buffer.
Wherein, trigger is d type flip flop.
Wherein, the first delayer treats drop-down drive of the retardation more than input/output module of the trailing edge of output signal
Retardation when kinetic force meets the requirements between signal to be output and the trailing edge of first detection signal, the second delayer treats defeated
The retardation for going out the rising edge of signal is more than the pulling drive ability of input/output module signal to be output and the when meeting the requirements
Retardation between the rising edge of one detection signal.
Wherein, when the trailing edge of the first trigger signal and the second trigger signal is low to the lock value of the second detection signal
During level, represent that the pulling drive ability and drop-down driving force of input/output module meet the requirements, when the first trigger signal
Trailing edge to second detection signal lock value be high level when, represent input/output module drop-down driving force be not inconsistent
Close and require, when it is high level that the trailing edge of the second trigger signal, which detects the lock value of signal to second, represent input/output mould
The pulling drive ability of block is undesirable.
Wherein, input/output module further comprises there are multiple driving transistors, and drive control module is defeated by controlling
Enter/output module in the conducting number of driving transistor adjust the driving force of input/output module.
Wherein, input/output module further comprises there are multiple driving transistors, and drive control module is defeated by controlling
Enter/output module in the size of image reference electric current of driving transistor adjust the driving force of input/output module.
The beneficial effects of the invention are as follows:It is different from the situation of prior art, the intelligence of adaptive output driving of the invention
Block and detect whether the driving force of the output signal of input/output module meets requirement by detection module, and controlled by driving
Molding root tuber adjusts the driving force of input/output module according to the testing result of detection module, therefore, it is possible to according to detection module
Testing result judge whether driving force and load match, the waste of and adjust automatically driving force, effectively reduction power consumption.
Brief description of the drawings
Fig. 1 is the schematic block diagram of the smart card of adaptive output driving of the invention;
Fig. 2 is the schematic block diagram of input/output module in Fig. 1;
Fig. 3 is the schematic block diagram of detection module in Fig. 1;
Fig. 4 is the first trigger signal of the present invention and the timing diagram of the second trigger signal;
Fig. 5 is the timing diagram of the smart card normal work of adaptive output driving of the invention;
Fig. 6 is that the smart card of adaptive output driving of the invention pulls down timing diagram when driving force is insufficient to;
Timing diagram when Fig. 7 is the smart card pulling drive sufficient capacity of adaptive output driving of the invention.
Embodiment
The present invention is described in detail with embodiment below in conjunction with the accompanying drawings.
As shown in figure 1, Fig. 1 is the schematic block diagram of the smart card of adaptive output driving of the invention.The smart card 10 includes
Input/output module 11, detection module 12 and drive control module 13.Detection module 12 is connected with input/output module 11, inspection
Module 12 is surveyed according to the output signal of input/output module 11 and detects whether the driving force of input/output module 11 meets
It is required that.Drive control module 13 is connected with input/output module 11 and detection module 12 respectively, and drive control module 13 is according to inspection
The testing result of module 12 is surveyed, the driving force of input/output module 11 is adjusted.
In the present embodiment, multiple driving transistors (not shown), drive control mould are included in input/output module 11
Block 13 adjusts the drive of input/output module 11 by the conducting number of the driving transistor in control input/output module 11
The image reference electric current that kinetic force or drive control module 13 pass through the driving transistor in control input/output module 11
Size adjusts the driving force of input/output module 11.Certainly, in other embodiments, it can also adjust by other means
The driving force of whole input/output module 11.
Please also refer to Fig. 2, Fig. 2 is the schematic block diagram of input/output module in Fig. 1.Input/output module 11 includes defeated
Go out module 111 and input module 112.The input of output module 111 receives the signal I to be output of smart card 10, output module 111
Enable Pin receive and enable signal EN, the output end of output module 111 produces output signal U in the presence of signal EN is enabled.
The input of input module 112 connects the output end of output module 111, and the input of input module 112 receives output signal U,
Input module 112 produces first detection signal C after being detected to output signal U in the output end of input module 112.
Wherein, output module 111 includes the first buffer, wherein the preferred three state buffer 113 of the first buffer, inputs mould
Block 112 includes the second buffer 114, and the output end of the first buffer connects the input of the second buffer 114.Output module
The enable control end of 111 Enable Pin correspondence three state buffer 113, the output end correspondence three state buffer 113 of output module 111
Output end, output module 111 input correspondence three state buffer 113 input, input module 112 input correspondence
The input of second buffer 114, the output end of output end the second buffer 114 of correspondence of input module 112.
In the present embodiment, three state buffer 113 is preferably to enable control end high level effectively, three state buffer 113
Output end Inverse code output, the preferred Inverse code output of output end of the second buffer 114.Signal I to be output is through the He of three state buffer 113
The processing of second buffer 114, from the output end of the second buffer 114 output first detection signal C.
Further, please also refer to Fig. 3, Fig. 3 is the schematic block diagram of detection module in Fig. 1.Detection module 12 includes the
One XOR gate 121, the second XOR gate 122, the 3rd XOR gate 123, the first delayer 124, the second delayer 125 and trigger
126.In the present embodiment, trigger 126 is preferably the retardation of d type flip flop, the first delayer 124 and the second delayer 125
It is preferably equal, certainly, in other embodiments, the retardation of the first delayer 124 and the second delayer 125 can also be selected
It is unequal.3rd XOR gate 123 treats output signal I and first detection signal C and carries out producing the second detection letter after xor operation
Number A.The data terminal of trigger 126 receives second and detects signal A, the clock end of trigger 126 receive the first trigger signal CKA and
Second trigger signal CKB.Wherein, the first trigger signal CKA treats output signal I and signal I to be output by the first XOR gate 121
The the first postpones signal I1 for carrying out trailing edge delay through the first delayer 124 is produced after carrying out xor operation.Second trigger signal
CKB treats output signal I and signal I to be output carry out rise edge delay through the second delayer 125 by the second XOR gate 122
Two postpones signal I2 produced after xor operation.Specifically as shown in figure 4, Fig. 4 be the present invention the first trigger signal and
The timing diagram of second trigger signal.Signal I to be output drops to low level at the t1 moment by high level, and the first postpones signal
I1 drops to low level at the t2 moment by high level, and wherein period Td0 is the retardation of the first delayer 124.In t1
It is carved into the t2 moment, signal I to be output is low level, and the first postpones signal I1 is high level, then within the t1 moment to t2 moment
First XOR gate 121 produces high level after carrying out xor operation to low level signal I and high level signal I to be output to be output
The first trigger signal CKA.Signal I to be output rises to high level at the t3 moment by low level, and the second postpones signal I2
High level is risen to by low level at the t4 moment, wherein period Td0 is the retardation of the second delayer 125.At the t3 moment
Into the t4 moment, signal I to be output is high level, and the second postpones signal I2 is low level, then the within the t3 moment to t4 moment
Two XOR gates 122 carry out producing high level after xor operation to signal I to be output and low level the signal I to be output of high level
Second trigger signal CKB.
In the present embodiment, trigger 126 is locked by the first trigger signal CKA and the second trigger signal CKB trailing edge
Fixed second detection signal A, and then the of the driving force for representing input/output module 11 is produced by the output end of trigger 126
Three detection signal IO_D.When the first trigger signal CKA and the second trigger signal CKB trailing edge are to the second lock for detecting signal A
When definite value is low level to produce the 3rd detection signal IO_D, represent the pulling drive ability of input/output module 11 with
Driving force is drawn to meet the requirements.When the first trigger signal CKA trailing edge to the second detection signal A lock value to produce the
When three detection signal IO_D are high level, represent that the drop-down driving force of input/output module 11 is undesirable.When second touch
When signalling CKB trailing edge detects signal IO_D as high level to the second detection signal A lock value to produce the 3rd, represent
The pulling drive ability of input/output module 11 is undesirable.
The operation principle of the smart card to inventing adaptive output driving is illustrated below.
Please also refer to Fig. 5, Fig. 5 is the timing diagram of the smart card normal work of adaptive output driving of the invention.
High level signal I to be output and high level first detection signal C handles output second through the 3rd XOR gate 123 and detects signal A.By
In processing output first detection signal Cs of the signal I to be output through the buffer 114 of three state buffer 113 and second, the first detection letter
Number C signal I delays relatively to be output, then in retardation Td1 and Td2 the 3rd XOR gate 123 output high level the second detection
Signal A.The first trigger signal CKA and the second trigger signal CKB is inputted in trigger 126.Believed at the t2 moment by the first triggering
Number CKA trailing edge locking second detects signal A, wherein, examined in t2 moment the first trigger signal CKA trailing edge locking second
The a points for surveying signal A are in low level, then the output end of trigger 126 produces the 3rd and detects signal IO_D<CKA>For low level,
Thus represent that the drop-down driving force of input/output module 11 meets the requirements.Pass through at the t4 moment under the second trigger signal CKB
Drop detects signal A along locking second, wherein, detect signal A's in t4 moment the second trigger signal CKB trailing edge locking second
B points are in low level, then the output end of trigger 126 produces the 3rd and detects signal IO_D<CKB>For low level, thus represent defeated
Enter/the pulling drive ability of output module 11 meets the requirements.
In the present embodiment, retardation Td1 is preferably equal to Td2, certainly, in other embodiments, and retardation Td1 can also
Selection is not equal to Td2, specific to need according to depending on driving force and load.First delayer 124 treats output signal I decline
The detections of signal I to be output and first when the drop-down driving force that the retardation Td0 on edge is more than input/output module 11 meets the requirements
Retardation Td1 between signal C trailing edge.The retardation Td0 that second delayer 125 treats output signal I rising edge is big
When the pulling drive ability of input/output module 11 meets the requirements signal I and first detection signal C to be output rising edge it
Between retardation Td2.
Please also refer to Fig. 6, Fig. 6 is that the smart card of adaptive output driving of the invention is pulled down when driving force is insufficient to
Timing diagram.The first trigger signal CKA and the second trigger signal CKB is inputted in trigger 126.Touched at the t2 moment by first
Signalling CKA trailing edge locking second detects signal A, wherein, in t2 moment the first trigger signal CKA trailing edge locking the
Two detection signal A c points are in high level, then the output end of trigger 126 produces the 3rd and detects signal IO_D<CKA>For high electricity
It is flat, thus represent that the drop-down driving force of input/output module 11 is undesirable.Pass through the second trigger signal at the t4 moment
CKB trailing edge locking second detects signal A, wherein, detected in t4 moment the second trigger signal CKB trailing edge locking second
Signal A d points are in low level, then the output end of trigger 126 produces the 3rd and detects signal IO_D<CKB>For low level, by
This represents that the pulling drive ability of input/output module 11 meets the requirements.
In the present embodiment, retardation Td3 is more than Td0, and retardation Td0 is more than Td2.
Further, please also refer to Fig. 7, Fig. 7 is the smart card pulling drive ability of adaptive output driving of the invention
Timing diagram when being insufficient to.The first trigger signal CKA and the second trigger signal CKB is inputted in trigger 126.At the t2 moment
Signal A is detected by the first trigger signal CKA trailing edge locking second, wherein, under t2 moment the first trigger signal CKA
Drop detects that signal A e points are in low level along locking second, then the output end of trigger 126 produces the 3rd and detects signal IO_D<
CKA>For low level, thus represent that the drop-down driving force of input/output module 11 meets the requirements.Touched at the t4 moment by second
Signalling CKB trailing edge locking second detects signal A, wherein, in t4 moment the second trigger signal CKB trailing edge locking the
Two detection signal A f points are in high level, then the output end of trigger 126 produces the 3rd and detects signal IO_D<CKB>For high electricity
It is flat, thus represent that the pulling drive ability of input/output module 11 is undesirable.
In the present embodiment, retardation Td4 is more than Td0, and retardation Td0 is more than Td1.
In summary, the smart card of adaptive output driving of the invention detects input/output module by detection module
The driving force of output signal whether meet requirement, and adjusted by drive control module according to the testing result of detection module
The driving force of input/output module, can judge whether driving force and load match according to the testing result of detection module,
And the waste of adjust automatically driving force, effectively reduction power consumption.
Embodiments of the present invention are the foregoing is only, are not intended to limit the scope of the invention, it is every to utilize this
Equivalent structure or equivalent flow conversion that description of the invention and accompanying drawing content are made, or directly or indirectly it is used in other correlations
Technical field, is included within the scope of the present invention.
Claims (8)
1. a kind of smart card of adaptive output driving, it is characterised in that the smart card includes input/output module, detection
Module and drive control module, the detection module are used to detect described defeated according to the output signal of the input/output module
Enter/whether the driving force of output module meet requirement, the drive control module is used for the detection according to the detection module
As a result the driving force of the input/output module is adjusted;
Wherein, the detection module includes the first XOR gate, the second XOR gate, the 3rd XOR gate, the first delayer, the second delay
Device and trigger, wherein first XOR gate treats output signal and the signal to be output is carried out through first delayer
First postpones signal of trailing edge delay produces the first trigger signal after carrying out xor operation, and second XOR gate is treated to described
The second postpones signal that output signal and the signal to be output carry out rise edge delay through second delayer carries out XOR
The second trigger signal is produced after operation, the 3rd XOR gate carries out XOR behaviour to the signal to be output and first detection signal
Second is produced after work and detects signal, the data terminal of the trigger receives the second detection signal, the clock of the trigger
End receives first trigger signal and second trigger signal, is believed by first trigger signal and second triggering
Number trailing edge locking the second detection signal, and then produced by the output end of the trigger and represent the input/output
3rd detection signal of the driving force of module.
2. smart card according to claim 1, it is characterised in that the input/output module includes output module and defeated
Enter module, the input of the output module receives the signal to be output of the smart card, the enable termination of the output module
Receive and enable signal, the output end of the output module produces the output signal in the presence of the enable signal, described defeated
The input for entering module connects the output end of the output module, and the input of the input module receives the output signal,
The input module output signal is detected after the input module output end produce first detection signal.
3. smart card according to claim 2, it is characterised in that the output module includes the first buffer, described defeated
Entering module includes the second buffer, and the output end of first buffer connects the input of second buffer.
4. smart card according to claim 1, it is characterised in that the trigger is d type flip flop.
5. smart card according to claim 1, it is characterised in that first delayer is under the signal to be output
The retardation on drop edge is more than the drop-down driving force of the input/output module signal to be output and described when meeting the requirements
Retardation between the trailing edge of first detection signal, delay of second delayer to the rising edge of the signal to be output
The signal to be output and the first detection letter when amount meets the requirements more than the pulling drive ability of the input/output module
Number rising edge between retardation.
6. smart card according to claim 5, it is characterised in that when first trigger signal and the second triggering letter
Number trailing edge to when the lock value of the described second detection signal is low level, representing the pull-up of the input/output module
Driving force and drop-down driving force meet the requirements, when the trailing edge of first trigger signal is to the described second detection signal
Lock value when being high level, represent that the drop-down driving force of the input/output module is undesirable, touch when described second
The trailing edge of signalling is to when the lock value of the described second detection signal is high level, representing the upper of the input/output module
Draw driving force undesirable.
7. smart card according to claim 1, it is characterised in that the input/output module further comprises thering is multiple
Driving transistor, the drive control module is by controlling the conducting number of the driving transistor in the input/output module
To adjust the driving force of the input/output module.
8. smart card according to claim 1, it is characterised in that the input/output module further comprises thering is multiple
Driving transistor, the drive control module is by controlling the image reference of the driving transistor in the input/output module
The size of electric current adjusts the driving force of the input/output module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310156407.9A CN104123574B (en) | 2013-04-28 | 2013-04-28 | The smart card of adaptive output driving |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310156407.9A CN104123574B (en) | 2013-04-28 | 2013-04-28 | The smart card of adaptive output driving |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104123574A CN104123574A (en) | 2014-10-29 |
CN104123574B true CN104123574B (en) | 2017-08-25 |
Family
ID=51768979
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310156407.9A Active CN104123574B (en) | 2013-04-28 | 2013-04-28 | The smart card of adaptive output driving |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104123574B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1710780A (en) * | 2005-07-07 | 2005-12-21 | 上海坤锐电子科技有限公司 | Self-adaptive radio-energy extraction circuit based on capacity energy-storage |
CN101026387A (en) * | 2007-02-13 | 2007-08-29 | 徐震 | Automatic stream control device, control method and its circuit |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8803474B2 (en) * | 2009-03-25 | 2014-08-12 | Qualcomm Incorporated | Optimization of wireless power devices |
CN101727123B (en) * | 2009-11-18 | 2011-10-12 | 苏州麦格芯微电子有限公司 | Intelligent self-adaption driving stage control system and method of integrated circuit chip |
-
2013
- 2013-04-28 CN CN201310156407.9A patent/CN104123574B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1710780A (en) * | 2005-07-07 | 2005-12-21 | 上海坤锐电子科技有限公司 | Self-adaptive radio-energy extraction circuit based on capacity energy-storage |
CN101026387A (en) * | 2007-02-13 | 2007-08-29 | 徐震 | Automatic stream control device, control method and its circuit |
Also Published As
Publication number | Publication date |
---|---|
CN104123574A (en) | 2014-10-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN203909710U (en) | Multifunctional low-level reset circuit suitable for SoC chips | |
CN103345299B (en) | A kind of voltage adjusting method and corresponding HPM, chip and chip system | |
CN107612540A (en) | Can scan data synchronizer | |
CN103095283A (en) | Semiconductor device | |
CN107733421A (en) | For the data synchronizing unit for being latched the asynchronous data signal relevant with clock signal | |
CN107911104A (en) | Clock gating circuit | |
CN102760475B (en) | Memory circuit and control method thereof | |
CN102195619A (en) | Method and circuit for detecting and eliminating signal glitch | |
CN104378103A (en) | Dual-track precharge logic unit structure | |
EP3062188A1 (en) | Multi-supply sequential logic unit | |
CN103227558A (en) | Wave-by-wave current limiting method and device | |
CN203904725U (en) | Door opening protecting circuit of washing machine | |
CN103873031B (en) | Non-clock-activated register | |
CN104123574B (en) | The smart card of adaptive output driving | |
CN107786191A (en) | A kind of electrification reset automatic shutoff circuit | |
CN105095137A (en) | Control chip and connection module | |
CN112650377B (en) | I2C bus pull-up power supply method, circuit and chip | |
CN104953993B (en) | A kind of reset circuit of the super low-power consumption of high reliability | |
CN103873024A (en) | Small area low power data retention flop | |
CN104184456A (en) | Low-frequency multiphase differential clock tree type serializer with high speed and low power consumption for IO interface | |
KR100518573B1 (en) | Signal squelch detector and signal detecting method | |
CN106066684B (en) | Master-slave mode SOC chip low power consumpting controling circuit | |
CN105094269A (en) | System and method for controlling automatic power-off of electronic device | |
CN103886895B (en) | Sequential control circuit of static random access memory | |
CN203522730U (en) | Bus transceiver signal separating circuit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |