You may have experienced this before: when you put your credit card or bank card under the desk of your laptop, after a while, you go to the ATM to withdraw money and find that the card can't be used. Only then do you realize that the card has been demagnetized by the magnetic field generated by the computer. Why do bank cards get demagnetized? How do bank cards work? Bank cards are magnetic stripe cards. The magnetic stripe is made of a layer of magnetic material, which is adhered to a plastic card base. The magnetic head of the recording device consists of an annular iron core with gaps inside and a coil wound around the iron core. To record information on the bank card, the magnetic stripe of the bank card is brought into contact with the gap of the magnetic head and moved at a certain speed. Once the coil of the magnetic head is energized, a magnetic field proportional to the current is generated in the gap. Thus, the magnetic body in contact with the gap of the magnetic head is magnetized. After the bank card is magnetized, the magnetic stripe leaving the gap leaves behind a remanent magnetization corresponding to the change in current, so the data is stored on the card. Conversely, when reading data, the coil in the card reader cuts the magnetic field generated by the magnetic stripe, generating an induced electromotive force and outputting the previously recorded information. Therefore, it is important not to place magnetic cards such as bank cards near magnets or strong magnetic fields.
To overcome the problem of demagnetization, more cards now use contactless IC technology. When disassembling the card, you will find that there are metal coils and a black chip in the shape of a circle or square, which is the core part of the IC card. ID cards and transportation cards belong to contactless IC cards. Contactless IC cards consist of a card base, an antenna, and a dedicated chip. The antenna is a coil wound from metal wire, and the dedicated chip consists of three modules: a high-speed radio frequency interface, a control unit, and an electrically erasable programmable read-only memory. The antenna and chip are embedded in the plastic card base. The reader encodes the information and loads it onto a fixed-frequency carrier, which is the same frequency as the resonant circuit in the card. When the card enters the working area of the reader, the resonant circuit in the card will resonate and accumulate charge. When the charge accumulates to a certain amount, it can provide the chip with working voltage. The data information loaded by the reader is decoded by the radio frequency interface module in the card, and the control unit determines and processes it. Finally, the data in the programmable memory is read or written, thus realizing the storage or modification of personal information. Understanding the working principle of the card, you will know how to protect the cards in our hands.

