PCBA board function testing device

By simulating manual operation through electronic circuits, the accuracy and efficiency issues of POS machine PCBA board magnetic stripe card and keyboard function testing are solved, stable and reliable automated testing is achieved, and the test speed is improved.

CN223346999UActive Publication Date: 2025-09-16SHANGHAI XIANGCHENG COMM TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202421893859.5
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-08-06
Publication Date
2025-09-16
Estimated Expiration
2034-08-06

AI Technical Summary

Technical Problem

Existing POS machine PCBA board magnetic stripe card function testing and keyboard function testing have accuracy and efficiency issues. Manual testing is prone to misoperation and signal interference. Automated testing based on mechanical structures has high maintenance costs and is difficult to guarantee stability and accuracy.

Method used

Electronic circuits are used to simulate manual operation. Through the magnetic head, track data signal processing unit, magnetic stripe card function test signal generation unit, matrix keyboard test signal generation unit and independent keyboard test signal generation unit, combined with the main control unit of the STM32F4 series chip, automatic testing without mechanical structure is achieved.

Benefits of technology

It achieves stable and reliable automated testing, avoids stability and accuracy issues caused by mechanical structures, and greatly improves test speed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN223346999U_ABST
    Figure CN223346999U_ABST
Patent Text Reader

Abstract

The utility model provides a PCBA board function testing device. The device comprises a magnetic head which is used for responding to a card swiping action of a magnetic strip card and generating a simulated magnetic strip card track data signal; the magnetic track data signal processing unit is used for collecting the simulated magnetic stripe card magnetic track data signal and converting the simulated magnetic stripe card magnetic track data signal into a digital magnetic stripe card magnetic track data signal; the main control unit is used for storing the digital magnetic stripe card magnetic track data signals, generating simulated magnetic stripe card magnetic track data signals through the magnetic stripe card function test signal generation unit and sending the simulated magnetic stripe card magnetic track data signals to a PCBA board to be tested, and generating corresponding matrix keyboard test signals through the matrix keyboard test signal generation unit and sending the corresponding matrix keyboard test signals to the PCBA board to be tested; and generating a corresponding independent keyboard test signal through the independent keyboard test signal generation unit, and sending the independent keyboard test signal to the PCBA board to be tested. According to the utility model, the accuracy, the reliability and the test efficiency of the magnetic stripe card function test and the keyboard function test of the PCBA board of the POS machine can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model belongs to the field of testing, and more specifically, relates to a PCBA board function testing device. Background Art

[0002] Currently, before the PCBA board of a POS machine flows into the subsequent product assembly process, multiple functions of the PCBA board need to be tested, including magnetic stripe card function test and keyboard function test. The existing implementation methods of magnetic stripe card function test and keyboard function test mainly include the following two methods:

[0003] Manual testing: This testing method is highly flexible and can handle a variety of complex test scenarios. However, due to the instability and errors of manual operation, it often leads to problems such as misoperation, signal interference, and missed tests, which seriously affect the accuracy and efficiency of the test.

[0004] Mechanically based automated testing: This testing method uses a mechanical structure to simulate manual operation, achieving partial automation and improving testing efficiency. However, the mechanical structure is complex, has high maintenance costs, and is susceptible to environmental factors such as dust and vibration, making it difficult to ensure the stability and accuracy of test results. Utility Model Content

[0005] The purpose of the utility model is to solve the problems existing in the accuracy and efficiency of the magnetic stripe card function test and keyboard function test of the existing POS machine PCBA board.

[0006] In order to achieve the above object, the utility model provides a PCBA board function testing device, which is used to test the magnetic stripe card function and keyboard function of the PCBA board of a POS machine;

[0007] The PCBA board function testing device includes:

[0008] The magnetic head is used to generate an analog magnetic stripe card track data signal in response to a swipe action of the magnetic stripe card;

[0009] A track data signal processing unit, configured to collect the analog magnetic stripe card track data signal and convert it into a digital magnetic stripe card track data signal;

[0010] Magnetic stripe card function test signal generation unit;

[0011] Matrix keyboard test signal generating unit;

[0012] Independent keyboard test signal generating unit;

[0013] The main control unit is used to receive the digital magnetic stripe card track data signal,

[0014] In response to the magnetic stripe card function test instruction sent by the host computer, the magnetic stripe card function test signal generation unit generates a simulated magnetic stripe card track data signal and sends it to the PCBA board to be tested.

[0015] In response to the matrix keyboard test instruction sent by the host computer, the matrix keyboard test signal generating unit generates a corresponding matrix keyboard test signal and sends it to the PCBA board to be tested.

[0016] And, in response to the independent keyboard test instruction sent by the host computer, a corresponding independent keyboard test signal is generated by the independent keyboard test signal generating unit and sent to the PCBA board to be tested.

[0017] Optionally, the main control unit is implemented using an STM32F4 series chip.

[0018] Optionally, the magnetic head is a three-track magnetic head.

[0019] Optionally, the magnetic stripe card function test signal generating unit includes a first track data signal generating subunit, a second track data signal generating subunit and a third track data signal generating subunit;

[0020] The first track data signal generating subunit includes a first digital-to-analog conversion chip, a first transformer, and a first SMA connector. The first digital-to-analog conversion chip is used to convert the digital first track data signal output by the main control unit into an analog first track data signal. The analog first track data signal is sequentially transmitted to the head interface of the PCBA board to be tested through the first transformer and the first SMA connector.

[0021] The second track data signal generating subunit includes a second digital-to-analog conversion chip, a second transformer, and a second SMA connector. The second digital-to-analog conversion chip is used to convert the digital second track data signal output by the main control unit into an analog second track data signal. The analog second track data signal is sequentially transmitted to the head interface of the PCBA board to be tested through the second transformer and the second SMA connector.

[0022] The third track data signal generating subunit includes a third digital-to-analog conversion chip, a third transformer and a third SMA connector. The third digital-to-analog conversion chip is used to convert the digital third track data signal output by the main control unit into an analog third track data signal. The analog third track data signal is transmitted to the head interface of the PCBA board to be tested through the third transformer and the third SMA connector in turn.

[0023] Optionally, the matrix keyboard test signal generating unit is implemented using a matrix analog switch chip.

[0024] Optionally, the independent keyboard test signal generating unit is implemented using multiple analog switch chips.

[0025] Optionally, the PCBA board function testing device further includes:

[0026] The host computer communication unit is used to realize the communication between the main control unit and the host computer.

[0027] Optionally, the host computer communication unit includes a first USB interface module and a USB-to-serial port module, and the first USB interface module is connected to the main control unit through the USB-to-serial port module.

[0028] Optionally, the PCBA board function testing device further includes:

[0029] A second USB interface module is connected to the main control unit and is used to implement firmware upgrade of the main control unit;

[0030] The log export interface module is connected to the main control unit and is used to realize the log export of the main control unit.

[0031] Optionally, the PCBA board function testing device further includes:

[0032] A function expansion interface module, connected to the main control unit, for implementing function expansion of the main control unit;

[0033] The storage space expansion interface module is connected to the main control unit and is used to implement storage space expansion of the main control unit.

[0034] The beneficial effects of the present invention are:

[0035] This new PCBA functional test device uses electronic circuitry to simulate manual operation, achieving automated testing without mechanical structures, thus avoiding the stability and accuracy issues associated with mechanical structures. Because this device utilizes electronic circuitry for signal transmission and control, the testing process is more stable and reliable, while also significantly improving test speed.

[0036] Other features and advantages of the present invention will be described in detail in the subsequent detailed description of the embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] The present invention can be better understood by referring to the following description made in conjunction with the accompanying drawings, in which the same or similar reference numerals are used throughout the drawings to represent the same or similar components.

[0038] Figure 1 The following is a functional block diagram of a PCBA board function test device according to an embodiment of the present invention;

[0039] Figure 2 The figure shows a schematic structural diagram of a PCBA board function testing device according to an embodiment of the present utility model. DETAILED DESCRIPTION

[0040] In order to enable those skilled in the art to more fully understand the technical solution of the present invention, the exemplary embodiments of the present invention will be described in more comprehensive and detailed in conjunction with the accompanying drawings below. Obviously, the one or more embodiments of the present invention described below are only one or more of the specific ways of implementing the technical solution of the present invention, and are not exhaustive. It should be understood that other ways belonging to a general utility model concept can be used to implement the technical solution of the present invention, and should not be limited by the exemplary embodiments described. Based on one or more embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work should fall within the scope of protection of the present invention.

[0041] Example: Figure 1 The following is a functional block diagram of a PCBA board testing device according to an embodiment of the present invention. Figure 2 The following is a schematic structural diagram of a PCBA board function testing device according to an embodiment of the present invention.

[0042] Reference Figure 1 and Figure 2 The PCBA board function test device of the embodiment of the utility model includes:

[0043] The magnetic head is used to generate an analog magnetic stripe card track data signal in response to a swipe action of the magnetic stripe card;

[0044] A track data signal processing unit, used to collect analog magnetic stripe card track data signals and convert them into digital magnetic stripe card track data signals;

[0045] Magnetic stripe card function test signal generation unit;

[0046] Matrix keyboard test signal generating unit;

[0047] Independent keyboard test signal generating unit;

[0048] The main control unit is used to receive digital magnetic stripe card track data signals.

[0049] In response to the magnetic stripe card function test instruction sent by the host computer, the magnetic stripe card function test signal generation unit generates a simulated magnetic stripe card track data signal and sends it to the PCBA board to be tested.

[0050] In response to the matrix keyboard test command sent by the host computer, the matrix keyboard test signal generating unit generates the corresponding matrix keyboard test signal and sends it to the PCBA board to be tested.

[0051] And, in response to the independent keyboard test instruction sent by the host computer, a corresponding independent keyboard test signal is generated by the independent keyboard test signal generating unit and sent to the PCBA board to be tested.

[0052] Furthermore, in the embodiment of the present invention, the main control unit is implemented using an STM32F4 series chip.

[0053] Specifically, in this embodiment of the utility model, the main control unit serves as the core control unit of the PCBA board functional test device, responsible for receiving instructions from the host computer and controlling the various functional modules to perform corresponding operations. The main control unit uses a high-performance processor chip, the STM32F407ZGT6, with powerful data processing capabilities and a high-speed communication interface, ensuring real-time and accurate testing.

[0054] Furthermore, in an embodiment of the present invention, the track data signal processing unit is implemented using a magnetic head signal processing chip. The magnetic head signal processing chip is used to collect and process the magnetic head signal stream waveform formed on the magnetic head when a magnetic stripe card is swiped, i.e., the simulated magnetic stripe card track data signal. By communicating with the main control unit, the magnetic card signal processing chip can store the collected magnetic head signal stream waveform in the main control unit for subsequent testing.

[0055] Furthermore, in an embodiment of the present invention, the magnetic head is a three-track magnetic head.

[0056] Furthermore, in an embodiment of the present utility model, the magnetic stripe card function test signal generating unit includes a first track data signal generating subunit, a second track data signal generating subunit and a third track data signal generating subunit;

[0057] The first track data signal generating subunit includes a first digital-to-analog conversion chip, a first transformer, and a first SMA connector. The first digital-to-analog conversion chip is used to convert the digital first track data signal output by the main control unit into an analog first track data signal. The analog first track data signal is sequentially transmitted to the head interface of the PCBA board to be tested through the first transformer and the first SMA connector.

[0058] The second track data signal generating subunit includes a second digital-to-analog conversion chip, a second transformer, and a second SMA connector. The second digital-to-analog conversion chip is used to convert the digital second track data signal output by the main control unit into an analog second track data signal. The analog second track data signal is sequentially transmitted to the head interface of the PCBA board to be tested through the second transformer and the second SMA connector.

[0059] The third track data signal generating subunit includes a third digital-to-analog conversion chip, a third transformer and a third SMA connector. The third digital-to-analog conversion chip is used to convert the digital third track data signal output by the main control unit into an analog third track data signal. The analog third track data signal is transmitted to the head interface of the PCBA board to be tested through the third transformer and the third SMA connector in turn.

[0060] Specifically, in the embodiment of the present invention, the first, second, and third digital-to-analog conversion chips are all implemented using TLV5638 DAC chips. The first, second, and third transformers are all 1:1 transformers, i.e., isolation transformers. The first SMA connector SMA1, the second SMA connector SMA2, and the third SMA connector SMA3 are all connected to the magnetic head interface of the PCBA board to be tested.

[0061] Before testing, the PCBA functional testing device of this embodiment uses a magnetic card signal processing chip to capture the magnetic head signal waveform during manual card swiping and stores it within the main control unit. During board testing, the main control unit, in response to test instructions from the host computer, uses the DAC chip to output a voltage waveform in real time to simulate the data waveform of a magnetic stripe card swipe. Simultaneously, it synthesizes the data waveforms of the three magnetic tracks during card swiping, further simulating the manual card swiping action.

[0062] Furthermore, in an embodiment of the present invention, the matrix keyboard test signal generating unit is implemented using a matrix analog switch chip.

[0063] Furthermore, in an embodiment of the present invention, the independent keyboard test signal generating unit is implemented using a plurality of analog switch chips.

[0064] Specifically, in the embodiment of the present invention, the keyboard function test is divided into two parts, one part is to test the matrix keyboard area on the PCBA board, and the other part is to test the independent keyboard area on the PCBA board.

[0065] The matrix keyboard area is tested using a matrix keyboard test signal generation unit. This unit, under the control of the main control unit, outputs matrix keyboard test signals that simulate keystrokes to perform functional tests on the corresponding keys in the matrix keyboard area. This unit is implemented using a CH446Q matrix analog switch chip.

[0066] Testing of the independent keyboard areas is performed using an independent keyboard test signal generation unit. Under the control of the main control unit, the unit outputs independent keyboard test signals that simulate keystrokes to perform functional tests on the corresponding keys in the independent keyboard area. The unit is implemented using ten CH443K analog switch chips.

[0067] Furthermore, the PCBA board function testing device of the embodiment of the present invention further includes:

[0068] The host computer communication unit is used to realize the communication between the main control unit and the host computer.

[0069] Furthermore, in an embodiment of the present invention, the host computer communication unit includes a first USB interface module and a USB-to-serial port module, and the first USB interface module is connected to the main control unit via the USB-to-serial port module.

[0070] Specifically, in this embodiment of the present invention, the host computer communicates with the main control unit via a first USB interface module and a USB-to-serial port module, enabling command and data transmission. The first USB interface module utilizes standard USB 2.0 or higher, ensuring stable and reliable data transmission. The USB-to-serial port module utilizes a CH340B chip, which communicates with the first USB interface module using the MODBUS protocol and is connected to the main control unit's UART1 pin.

[0071] Furthermore, the PCBA board function testing device of the embodiment of the present invention further includes:

[0072] The second USB interface module is connected to the main control unit and is used to implement firmware upgrade of the main control unit;

[0073] The log export interface module is connected to the main control unit and is used to realize the log export of the main control unit.

[0074] Specifically, in the embodiment of the present invention, the second USB interface module adopts standard USB 2.0 or higher version; the log export interface module is implemented using an XH2.54 terminal, which is connected to the UART3 pin of the main control unit.

[0075] Furthermore, the PCBA board function testing device of the embodiment of the present invention further includes:

[0076] Function expansion interface module, connected to the main control unit, used to realize the function expansion of the main control unit;

[0077] The storage space expansion interface module is connected to the main control unit and is used to expand the storage space of the main control unit.

[0078] Specifically, in the embodiment of the present invention, the function expansion interface module is implemented using an XH2.54 terminal, which is connected to the UART2 pin of the main control unit.

[0079] Specifically, in an embodiment of the present invention, the storage space expansion interface module includes a TF card holder and an FM25Q08 model memory chip, and the TF card holder is connected to the main control unit based on the FM25Q08 model memory chip.

[0080] Although one or more embodiments of the present invention have been described above, it should be understood by those skilled in the art that the present invention can be implemented in any other form without departing from its spirit and scope. Therefore, the embodiments described above are illustrative and not restrictive, and many modifications and substitutions will be apparent to those skilled in the art without departing from the spirit and scope of the present invention as defined in the appended claims.

Claims

1. A PCBA board functional testing device, characterized in that: Used to test the magnetic stripe card function and keyboard function of the PCBA board of the POS machine; The PCBA board function testing device includes: The magnetic head is used to generate an analog magnetic stripe card track data signal in response to a swipe action of the magnetic stripe card; A track data signal processing unit, configured to collect the analog magnetic stripe card track data signal and convert it into a digital magnetic stripe card track data signal; Magnetic stripe card function test signal generation unit; Matrix keyboard test signal generating unit; Independent keyboard test signal generating unit; The main control unit is used to receive the digital magnetic stripe card track data signal, In response to the magnetic stripe card function test instruction sent by the host computer, the magnetic stripe card function test signal generation unit generates a simulated magnetic stripe card track data signal and sends it to the PCBA board to be tested. In response to the matrix keyboard test instruction sent by the host computer, the matrix keyboard test signal generating unit generates a corresponding matrix keyboard test signal and sends it to the PCBA board to be tested. And, in response to the independent keyboard test instruction sent by the host computer, a corresponding independent keyboard test signal is generated by the independent keyboard test signal generating unit and sent to the PCBA board to be tested.

2. The PCBA board function testing device according to claim 1, characterized in that: The main control unit is implemented using STM32F4 series chips.

3. The PCBA board function testing device according to claim 2, characterized in that: The magnetic head is a three-track magnetic head.

4. The PCBA board function testing device according to claim 3, characterized in that: The magnetic stripe card function test signal generating unit includes a first track data signal generating subunit, a second track data signal generating subunit and a third track data signal generating subunit; The first track data signal generating subunit includes a first digital-to-analog conversion chip, a first transformer, and a first SMA connector. The first digital-to-analog conversion chip is used to convert the digital first track data signal output by the main control unit into an analog first track data signal. The analog first track data signal is sequentially transmitted to the head interface of the PCBA board to be tested through the first transformer and the first SMA connector. The second track data signal generating subunit includes a second digital-to-analog conversion chip, a second transformer, and a second SMA connector. The second digital-to-analog conversion chip is used to convert the digital second track data signal output by the main control unit into an analog second track data signal. The analog second track data signal is sequentially transmitted to the head interface of the PCBA board to be tested through the second transformer and the second SMA connector. The third track data signal generating subunit includes a third digital-to-analog conversion chip, a third transformer and a third SMA connector. The third digital-to-analog conversion chip is used to convert the digital third track data signal output by the main control unit into an analog third track data signal. The analog third track data signal is transmitted to the head interface of the PCBA board to be tested through the third transformer and the third SMA connector in turn.

5. The PCBA board function testing device according to claim 4, characterized in that: The matrix keyboard test signal generating unit is implemented by a matrix analog switch chip.

6. The PCBA board function testing device according to claim 5, characterized in that: The independent keyboard test signal generating unit is implemented by using a plurality of analog switch chips.

7. The PCBA board function testing device according to claim 6, characterized in that: Also includes: The host computer communication unit is used to realize the communication between the main control unit and the host computer.

8. The PCBA board function testing device according to claim 7, characterized in that: The host computer communication unit includes a first USB interface module and a USB-to-serial port module, and the first USB interface module is connected to the main control unit via the USB-to-serial port module.

9. The PCBA board function testing device according to claim 8, characterized in that: Also includes: A second USB interface module is connected to the main control unit and is used to implement firmware upgrade of the main control unit; The log export interface module is connected to the main control unit and is used to realize the log export of the main control unit.

10. The PCBA board function testing device according to claim 9, characterized in that: Also includes: A function expansion interface module, connected to the main control unit, for implementing function expansion of the main control unit; The storage space expansion interface module is connected to the main control unit and is used to implement storage space expansion of the main control unit.