Magnetic stripe data transmission system and method for reliable data transmission and low power consumption

09697450 ยท 2017-07-04

Assignee

Inventors

Cpc classification

International classification

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) FIG. 1 shows an inscription of payment card data on a magnetic stripe of the payment card and a waveform corresponding to the magnetic stripe data as picked up by the payment terminal's card reader while swiping of the payment card along with a digital equivalent of the waveform.

(2) FIG. 2A shows a circuit representation of the MST driver.

(3) FIG. 2B shows an operation of the conventional MST driver switches and corresponding load current waveforms in an inductive coil of the MST driver.

(4) FIG. 2C shows switching cycles of the MST driver switches, corresponding load current waveform in the MST coil and an induced back electromagnetic force (B.sub.emf) at card reader's receiver.

(5) FIG. 3 [from (i) to (iv)] shows an MST driver's switch driving mechanism in a full bridge type switch configuration of an MST driver in examples of the present disclosure.

(6) FIG. 4 shows the MST driver's switching operation with the load current waveform and the induced back electromagnetic force at the receiver in examples of the present disclosure.

(7) FIGS. 5a and 5b show comparison of power consumption in the prior art MST driver and the disclosed MST driver.

(8) FIG. 6 shows PWM switching of the high side switches 201, 202 comparing to the low side PWM switches in FIG. 4.

(9) FIG. 7 shows the MST driver's switching operation with the load current waveform and the induced back electromagnetic force at the receiver including PWM in the rising current slope only in examples of the present disclosure.

(10) FIG. 8 shows the MST driver's switching operation with the load current waveform and the induced back electromagnetic force at the receiver including PWM in the falling current slope only in examples of the present disclosure.

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) B emf = - L 1 di dt
where, L.sub.1 is the inductance value of the inductive coil and

(15) di dt
is the time derivative of the load current through the inductive coil.

(16) di dt
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) FIG. 3 shows an MST switch driving mechanism in a full bridge type switch configuration of an MST driver in examples of the present disclosure. The MST driver comprises a pair of high side switches 201, 202 and a pair of low side switches 203, 204 arranged in a full bridge type configuration connected across a voltage source V.sub.M 208 and a ground and an inductive MST coil 206 having inductance L.sub.1 and series resistance R.sub.1 207. Each of the MST driver switches includes a respective diode (D1-D4) connected across the switch 201, 202, 203, 204. It plays a role of free-wheeling current path of stored energy in the inductive MST coil 206 during the switch off period. In examples of the present disclosure, the full bridge type switch configuration of the MST driver comprises a first and a second high side low side metal-oxide semiconductor field-effect transistor (MOSFET) pairs connected in parallel between the voltage source and the ground. Each high side low side MOSFET pair comprises a high side MOSFET and a low side MOSFET connected in series with the drain of the high side MOSFET connected to the voltage source and the source of the low side MOSFET connected to ground, and the inductive MST coil 206 and the series resistance R.sub.1 207 connected between the common (outputs) nodes of the two high side low side MOSFET pairs.

(20) The MST switch driving method as shown in FIGS. 3(i)-(iv) discloses the driving of the load current involving a rising portion and a falling portion through the inductive coil in a forward and in a reverse direction with a programmable load current rising and falling slope by selectively and repeatedly switching the pair of the low side switches 203, 204 of the MST driver. Each switch is driven by a separate driving signal different from each other.

(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) FIG. 4 shows MST driver's switching operation with the load current waveform and the induced back electromagnetic force at the receiver end in examples of the present disclosure. The waveforms have a same period P.sub.0 divided into 6 time intervals T.sub.1, T.sub.2, T.sub.3, T.sub.4, T.sub.5 and T.sub.6. The time intervals T.sub.1 and T.sub.2 are corresponding to forward switching. The time intervals T.sub.4 and T.sub.5 are corresponding to reverse switching. First current slope (Slop1) during the time interval T.sub.1 and T.sub.4 is much faster than second current slope (Slop2) during the time interval T.sub.2 and T.sub.5.

(23) Referring now to FIG. 3(i) and FIG. 4, during T.sub.1 time interval, the first switch 201 is turned ON and the fourth switch 204 repeatedly switched between ON and OFF states based on a duty cycle of the first PWM control signal PWM 1. The other two switches 202, 203 stay in OFF state. During the T.sub.1 interval, the load current (I.sub.L) increases by using PWM1 method to a current limit I.sub.L.sub._.sub.lim which limits the excessive load current.

(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 FIG. 4 shows the average value of the load current during PWM.

(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 FIG. 3(ii) and FIG. 4, the fourth switch 204 still switches between ON and OFF state but its duty cycle is different from T.sub.1. The PWM2 makes the second slope (Slop2) opposite to the Slop1 and much slower than Slop1 value. Therefore, the induced positive back electromagnetic force (V.sub.slow) becomes much lower than the positive reference voltage (V.sub.r) in the receiver end and is ignored by the receiver. This operation reduces the power loss drastically comparing to the prior art. In conventional operation, the load current is fixed to a constant value for the T.sub.2 interval and consumes lots of power loss (Iout*VM) without conducting work.

(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 FIG. 3(ii), during the T.sub.3 interval, the load current is zero and the fourth switch 204 as well as the second switch 202 and the third switch 203 are turned off. The first switch 201 may be on or off. If the load current in the T.sub.3 interval doesn't exist and is skipped, the T.sub.4 interval starts after T.sub.2 interval. The longer the T.sub.3 time, the better the power efficiency.

(29) The T.sub.4 interval as shown in FIG. 3(iii) and FIG. 4 is the same as the T.sub.1 interval except that the load current directions are in opposite directions. In the T.sub.4 interval, the first switch 201 and the fourth switch 204 are turned off. The second switch 202 is turned on continuously. The third switch 203 is switched between ON and OFF state according to the PWM1. In the T.sub.4 interval, the first slope Slop1 is negative and the induced back electromagnetic force is positive. The induced positive back electromagnetic force (+V.sub.fast) should be higher than V.sub.r and the time (T.sub.hi) should be long enough, so that the receiver can identify the high pulse signal.

(30) The T.sub.5 interval of FIG. 3(iii) and FIG. 4 is the same as the T.sub.2 interval except that the load current directions are in opposite directions. During the T.sub.5 interval, the first switch 201 and the fourth switch 204 are turned off continuously. The second switch 202 is turned ON. The third switch 203 is switched between ON and OFF state according to the PWM2. The second slope, Slop2, is positive and the induced back electromagnetic force (V.sub.slow) is negative comparing to that in the T.sub.4 interval and is higher than V.sub.r, which can be ignored at the receiver end. In examples of the present disclosure, all the operations of T.sub.5 are the same as T.sub.2 except that their directions are opposite.

(31) The T.sub.6 interval of FIG. 3(iv) and FIG. 4 is the same as the T.sub.3 interval.

(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) I L _ on t on = V M - V drop 1 L 1 Eq . 1
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) 0 I L _ off t off = V F 2 , 1 - V drop 2 L 1 Eq . 3
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) FIG. 5a shows a power loss reduction of the MST driver. In a prior art method, the steady state of the load current consumes a lot of power without conducting work because the signal transmission happens during the transient period of the load current. Therefore, the longer period P.sub.0 is, the bigger power loss is consumed and the higher temperature is reached. In a battery system, it will make the battery re-charge more frequently.

(39) In FIG. 5b, the load current is decaying during the T.sub.2 and T.sub.5 intervals of FIG. 4 and can reach zero level. Therefore, if T.sub.3 and T.sub.6 intervals are long, the average power loss, P.sub.loss.sub._.sub.avg, becomes at least lower than a half of that in the conventional MST driver.

(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 FIG. 4 are linear. For the linear slope, the PWM duty cycle is varying. However, if the PWM duty cycle is constant, the rising and falling current slopes becomes non-linear (logarithmic).

(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) FIG. 6 shows the PWM switching of the high side switches 201, 202 (to be compared with the low side PWM switching of FIG. 4). It shows almost same result as the low side PWM switching.

(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 FIG. 4.

(46) FIG. 7 shows the MST driver's switching operation with the load current waveform and the induced back electromagnetic force at the receiver end with PWM in the rising current slope in examples of the present disclosure. The switch driver includes a pulse width modulator being configured to generate only the first PWM control signal, PWM1 of Slop 1. It is only for more successful data transmission.

(47) FIG. 8 shows the MST driver's switching operation with the load current waveform and the induced back electromagnetic force at the receiver end with PWM in the falling current slope in examples of the present disclosure. The switch driver includes a pulse width modulator being configured to generate only the second PWM control signal, PWM2 of Slop 2. It is only for power loss reduction.

(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.