Magnetic stripe data transmission system and method for reliable data transmission and low power consumption
09697450 ยท 2017-07-04
Assignee
Inventors
Cpc classification
G06K19/07345
PHYSICS
G06K7/086
PHYSICS
International classification
G06K7/08
PHYSICS
G06K19/073
PHYSICS
Abstract
A magnetic stripe data transmission (MST) driver and a method for driving the MST are disclosed. The MST driver is configured to transmit magnetic strip data comprising of streams of pulses. The MST driver comprises a pair of high side switches and a pair of low side switches. The pair of high side switches comprises a first switch and a second switch. The pair of low side switches comprises a third switch and a fourth switch. The first, second, third and fourth switches are arranged in a full bridge type configuration connected across a voltage source and a ground. An inductive coil is connected across outputs of the full bridge type configuration of the switches. The MST driver includes a switch driver configured to drive the pair of low side switches and the pair of high side switches under current slope control using pulse width modulation. The driven load current has a rising portion and a falling portion through the inductive coil in a forward direction or in a reverse direction with programmable load current rising and falling slopes to induce a recognizable back electromagnetic force at a receiver emulating the magnetic strip data during the load current rising and falling portions and to reduce power loss during time periods without signal transmission.
Claims
1. A magnetic stripe data transmission (MST) driver configured to transmit magnetic strip data including a stream of pulses, the MST driver comprising: a pair of high side switches comprising a first switch and a second switch; a pair of low side switches comprising a third switch and a fourth switch; the first, second, third and fourth switches being arranged in a full bridge type configuration connected across a voltage source and a ground; an inductive coil connected across outputs of the full bridge type configuration of the switches; and a switch driver configured to drive the pair of low side switches and the pair of high side switches so as to control load current slopes of load current rising and falling portions of a load current to generate a back electromagnetic force emulating the magnetic strip data during the load current rising and falling portions through the inductive coil.
2. The MST driver of claim 1, wherein the switch driver is configured to drive the pair of low side switches or the pair of high side switches by selectively and repeatedly switching between ON states and OFF states so as to control the load current to generate a selected rising portion and a selected falling portion through the inductive coil in a forward direction or in a reverse direction with programmable load current rising and falling slopes to generate magnetic signals during the load current rising and falling portions.
3. The MST driver of claim 1, wherein the switch driver generates a first control signal for reliable data transmission and a second control signal for power loss reduction.
4. The MST driver of claim 3, wherein the switch driver is configured to drive the pair of low side switches in a forward direction by setting the first switch in a continuously ON state and by repeatedly switching the fourth switch between an ON state and an OFF state according to the first control signal and then the second control signal.
5. The MST driver of claim 4, wherein the switch driver is configured to repeatedly switch the fourth switch between the ON state and the OFF state according to a duty cycle of the first control signal and a duty cycle of the second control signal; wherein the duty cycle of the first control signal is adjusted to set the rising portions of the load current in the forward direction not exceeding a predetermined current limit with a positive first slope so as to induce a negative back electromagnetic force generating a signal lower than a negative reference voltage in a receiver to recognize the induced back electromagnetic force corresponding to a low pulse signal; and wherein the duty cycle of the second control signal is adjusted to set the falling portions of the load current in the forward direction after reaching the predetermined current limit with a second slope having a value less than a value of the positive first slope to induce a positive back electromagnetic force generating another signal lower than a positive reference voltage in the receiver, to reduce the power loss during time periods without signal transmission.
6. The MST driver of claim 3, wherein the switch driver is configured to drive the pair of low side switches in a reverse direction by setting the second switch in a continuously ON state and by repeatedly switching the third switch between an ON state and an OFF state according to the first control signal and then the second control signal.
7. The MST driver of claim 6, wherein the switch driver is configured to repeatedly switch the third switch between the ON state and the OFF state according to a duty cycle of the first control signal and a duty cycle of the second control signal; wherein the duty cycle of the first control signal is adjusted to set the falling portions of the load current in the reverse direction not exceeding a predetermined current limit with a negative first slope so as to induce a positive back electromagnetic force generating a signal higher than a positive reference voltage in a receiver to recognize the induced back electromagnetic force corresponding to a high pulse signal; and wherein the duty cycle of the second control signal is adjusted to set the rising portions of the load current in the reverse direction after reaching the predetermined current limit with a positive second slope having an absolute value less than an absolute value of the first slope to induce a negative back electromagnetic force generating another signal higher than a negative reference voltage in the receiver, to reduce the power loss during time periods without signal transmission.
8. A method for driving a magnetic stripe data transmission (MST) driver with low power and with transmission of signals generated by the MST driver, the method comprising the steps of: providing a pair of high side switches comprising a first switch and a second switch; providing a pair of low side switches comprising a third switch and a fourth switch; the first, second, third and fourth switches being arranged in a full bridge type configuration connected across a voltage source and a ground; providing an inductive coil connected across outputs of the full bridge type configuration of the switches; generating magnetic signals by driving a load current having rising portions and falling portions through the inductive coil in a forward direction or in a reverse direction with programmable load current rising and falling slopes to induce a recognizable back electromagnetic force at a receiver emulating the magnetic strip data during the load current rising and falling portions and to reduce power loss during time periods without signal transmission by controlling the programmable load current rising and falling slopes using pulse width modulation (PWM).
9. The method of claim 8 further comprising the step of providing diodes connected across each of the first, second, third and fourth switches for facilitating free-wheeling of the load current corresponding to stored energy in the inductive coil during OFF periods of the switches.
10. The method of claim 8, wherein the step of generating magnetic signals by driving the load current through the inductive coil with the programmable load current rising and falling slopes includes selectively and repeatedly switching of the pair of low side switches or the pair of high side switches.
11. The method of claim 10, wherein the selectively and repeatedly switching of the pair of low side switches comprises: setting the first switch in a continuously ON state and repeatedly switching the fourth switch between an ON state and an OFF state for driving the load current in the forward direction with the programmable load current rising and falling slopes; and setting the second switch in a continuously ON state and repeatedly switching the third switch between an ON state and an OFF state for driving the load current in the reverse direction with the programmable load current rising and falling slopes.
12. The method of claim 10, wherein the selectively and repeatedly switching of the pair of high side switches comprises: setting the fourth switch in a continuously ON state and repeatedly switching the first switch between an ON state and an OFF state for driving the load current in the forward direction with the programmable load current rising and falling slopes; and setting the third switch in a continuously ON state and repeatedly switching the second switch between an ON state and an OFF state for driving the load current in the reverse direction with the programmable load current rising and falling slopes.
13. The method of claim 8, wherein the step of generating magnetic signals by driving the load current through the inductive coil in the forward direction with the programmable load current rising and falling slopes includes repeatedly switching the switches between ON and OFF states according to a duty cycle of a first PWM control signal and a duty cycle of a second PWM control signal comprising: adjusting the duty cycle of the first PWM control signal to set the rising portions of the load current in the forward direction not exceeding a predetermined current limit with a positive first slope so as to induce a negative back electromagnetic force generating a signal lower than a negative reference voltage in a receiver to recognize the induced back electromagnetic force corresponding to a low pulse signal; and adjusting the duty cycle of the second PWM control signal to set the falling portions of the load current in the forward direction after reaching to the predetermined current limit with a second slope having a value less than a value of the positive first slope to induce a positive back electromagnetic force generating another signal lower than a positive reference voltage in the receiver, to reduce the power loss during the time periods without signal transmission.
14. The method of claim 13, wherein the positive first slope is selectively attained to provide sufficient durations of the load current rising portions to recognize the induced negative back electromagnetic force generated signal in the receiver as the low pulse signal.
15. The method of claim 8, wherein the step of generating magnetic signals by driving the load current through the inductive coil in the reverse direction with the programmable load current rising and falling slopes includes repeatedly switching the switches between ON and OFF states according to a duty cycle of a first PWM control signal and a duty cycle of a second PWM control signal comprising: adjusting the duty cycle of the first PWM control signal to set the falling portions of the load current in the reverse direction not exceeding a predetermined current limit with a negative first slope so as to induce a positive back electromagnetic force generating a signal higher than a positive reference voltage in a receiver to recognize the induced back electromagnetic force corresponding to a high pulse signal; adjusting the duty cycle of the second PWM control signal to set the rising portions of the load current in the reverse direction after reaching the predetermined current limit with a positive second slope having an absolute value less than an absolute value of the first slope to induce a negative back electromagnetic force generating another signal higher than a negative reference voltage in the receiver; to reduce the power loss during the time periods without signal transmission.
16. The method of claim 15, wherein the negative first slope is selectively attained to provide sufficient durations of the load current falling portions to recognize the induced positive back electromagnetic force generated signal in the receiver as the high pulse signal.
17. The method of claim 8, wherein an intermediate stage is between the forward direction and the reverse direction and wherein the load current reduces to zero in the intermediate stage for improved power efficiency.
18. The method of claim 8, wherein linearity of the load current rising and falling slopes is controlled by changing a duty cycle of a PWM control signal; wherein for a linear slope, a PWM duty cycle is varied and wherein for a non-linear logarithmic slope, the PWM duty cycle is a constant.
19. The method of claim 8, wherein a PWM switching frequency during the rising and falling portions is larger than an input signal frequency to reduce current ripple in the load current.
20. The method of claim 8 further comprising a pulse frequency modulation method including a constant on-time control and a constant off-time control to control the load current rising and falling slopes.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
DETAILED DESCRIPTION OF THE INVENTION
(11) An MST driver and a method for driving the MST driver are disclosed. It is for low power, reliable transmission of emitted signals of the MST driver by controlling the current slope of the emitted signals using pulse width modulation (PWM) technique. The MST driver is configured to transmit magnetic strip data including streams of high or low pulses. The MST driver comprises a pair of high side switches including a first switch and a second switch and a pair of low side switches including a third switch and a fourth switch. The switches are arranged in a full bridge type configuration connected across a voltage source and a ground. An inductive coil is connected across outputs of the full bridge type configuration of the switches.
(12) The MST driver further comprises a switch driver that is configured to drive the pair of low side switches and the high side switches under current slope control using PWM. It is for inducing recognizable back electromagnetic force (B.sub.emf) at receiver end and for emulating the magnetic strip data during load current rising and falling portions through the inductive coil.
(13) The induced back electromagnetic force B.sub.emf is a time derivative of the load current through the inductive coil. The induced B.sub.emf is a negative value to the load current. The induced B.sub.emf is calculated by:
(14)
where, L.sub.1 is the inductance value of the inductive coil and
(15)
is the time derivative of the load current through the inductive coil.
(16)
corresponds to the load current slope.
(17) The switch driver of the MST driver includes a pulse width modulator configured to generate a first pulse width modulation control signal (PWM 1) and a second pulse width modulation control signal (PWM 2). The switch driver drives either the pair of the low side switches or the pair of the high side switches by selectively and repeatedly switching between ON state and OFF state. It is to drive load current involving a rising portion and a falling portion through the inductive coil either in forward or in reverse direction with programmable load current rising and falling slope to generate a magnetic signal. It is for inducing the recognizable back electromagnetic force at the receiver end and for emulating the magnetic strip data during the load current rising and falling portion.
(18) A method using PWM controls on-time or off-time of the driver switches to change the average current in the inductive load of the MST driver. The controlling of the on-time or the off-time of the MST driver switches enables the method to program the current slope according to application requirement. The method can transmit the signal more reliably and efficiently. The method illustrates how to control or program the current slope stably through the PWM control even in a condition with different power supply voltage and MST coil.
(19)
(20) The MST switch driving method as shown in
(21) In the MST driver, for driving the load current in the MST coil in the forward direction the first switch 201 are continuously turned ON and the fourth switch 204 repeatedly switches between ON and OFF state. For driving the load current in the MST coil in the reverse direction, the second switch 202 are continuously turned ON and the third switch 203 repeatedly switches between ON and OFF state according to duty cycles of PWM control signals.
(22)
(23) Referring now to
(24) The PWM1 makes the fourth switch 204 repeatedly switched between ON and OFF state based on duty cycle (on-time/period). The duty cycle increases to maximize current when it is close to I.sub.L.sub._.sub.lim. The PWM1 controls rising of the forward load current to a current limit in a first positive slope Slop1. The Slop1 value is determined to ensure the induced negative back electromagnetic force (V.sub.fast) is lower than negative reference voltage (V.sub.r) in the receiver end. Therefore, the receiver can recognize the induced back electromagnetic force corresponding to a low pulse signal.
(25) Another factor for successful transmission is that the Slop1 duration time T.sub.lo should be long enough to recognize the induced back electromagnetic force in the card reader. In the MST driver, the Slop1 is controlled by setting the duty cycle of the PWM1. The instant load current during PWM control signal has a small saw-tooth waveform ripple. But, the load current I.sub.L waveform in
(26) When the load current reaches the I.sub.L.sub._.sub.lim during T.sub.1 time interval, it begins to decrease and has a second current slope (Slop2) controlled by second PWM control signal PWM2 during the T.sub.2 interval. In the T.sub.2 interval as shown in
(27) The Slop2 and the end current level are dependent on the coil inductance value (L.sub.1), the peak current level (I.sub.L.sub._.sub.lim), the period (P.sub.0), and card reader's receiver reference voltage level (V.sub.r). The end current level may or may not reach zero level. The Slop2 can be controlled by setting the duty cycle of the PWM2.
(28) If the load current is decayed completely before the T.sub.3 interval of
(29) The T.sub.4 interval as shown in
(30) The T.sub.5 interval of
(31) The T.sub.6 interval of
(32) In the MST driver's switch driving operation as described above, when the first 201 and the fourth 204 switches or the second 202 and the third 203 switches are turned on, the load current I.sub.L level increases for switch on time (t.sub.on) period by Eq. 1 and Eq. 2.
(33)
V.sub.drop1=I.sub.L*(R.sub.1+R.sub.on1,2+R.sub.on4,3)Eq. 2
(34) where V.sub.M is the power supply voltage. L.sub.1 is the inductance value of the MST coil. R.sub.1 is the series resistance of the coil. R.sub.on1,2 is the on-resistance of the first switch 201 or the second switch 202 in the high side. R.sub.on4,3 is the on-resistance of the fourth switch 204 or the third switch 203 in the low side.
(35) When the first 201 or the second 202 switch is turned on and the fourth 204 and the third 203 switches are turned off, the I.sub.L current decreases for switch off time (t.sub.off) period by Eq. 3 and Eq. 4. This period is called as a freewheeling.
(36)
V.sub.amp2=I.sub.L*(R.sub.1+R.sub.on1,2+R.sub.on2,1)Eq. 4
(37) where V.sub.F2,1 is the forward voltage of D2 or D1 and R.sub.on2,1 is the on-resistance of the second 202 or the first 201 switch in the high side.
(38)
(39) In
(40) In the prior art method, the slope changing quickly in the beginning stage of transition is out of control due to the freewheeling operation and the high voltage (V.sub.M+2VBE) applied to the inductor. It generates lots of high frequency noise including EMI which can cause many side effects. However, since the disclosed MST driver can control the current slope, optimal condition between the performance and the noise can be achieved.
(41) The MST drive includes the linear and non-linear (logarithmic) rising and falling in the load current using PWM. According to the PWM duty cycle the current slope can be controlled to be linear or non-linear. The rising and falling current slopes of
(42) The PWM switching frequency during the fast/slow rising/falling current slope intervals, T.sub.1, T.sub.2, T.sub.4 and T.sub.5, is set much faster than the input signal frequency, 1/P.sub.0, to minimize current ripple in the load current.
(43) The absolute value of |Slop1| and |Slop2| are determined by V.sub.r, V.sub.r, T.sub.hi, and T.sub.lo for successful signal transmission. |Slop1| is designed for B.sub.emf to induce the receiver to generate a voltage signal higher than V.sub.r. |Slop2| is adjusted for B.sub.emf to induce the receiver to generate a voltage signal lower than V.sub.r that can be ignored. |Slop1| is much higher than |Slop2| with reference to V.sub.r and V.sub.r. The control purpose of the |Slop1| is for more successful data transmission and the |Slop2| is for power loss reduction.
(44)
(45) The PWM method of the present disclosure can be replaced by a pulse frequency modulation (PFM) method including constant on-time control and constant off-time control. In examples of the present disclosure, the load current slope can be controlled by the PFM method instead of PWM method to get similar waveforms of
(46)
(47)
(48) Those of ordinary skill in the art may recognize that modifications of the embodiments disclosed herein are possible. For example, time intervals may vary. Other modifications may occur to those of ordinary skill in this art, and all such modifications are deemed to fall within the purview of the present invention, as defined by the claims.