Multipath software downloading test circuit and device
By designing a multi-channel software download test circuit and device, and adopting flying probe testing and relay integration, the problems of complex and inefficient control board software download and functional testing operations were solved, and efficient batch testing was achieved.
Patent Information
- Application Number
- CN202520570308.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-28
- Publication Date
- 2026-02-17
- Estimated Expiration
- 2035-03-28
AI Technical Summary
The existing control board is complex and inefficient to operate during software download and functional testing.
Design a multi-channel software download test circuit and device. The device uses a flying probe test method to connect the download port and the function port. Through a one-to-N downloader, software download relay and function test relay, batch software download and function test can be realized, reducing the difficulty of operation and improving the test efficiency.
The relay, which integrates software download and function testing, has a simple structure and is easy to operate, enabling efficient software download and function testing for multiple controllers.
Smart Images

Figure CN223926897U_ABST
Abstract
Description
Technical Field
[0001] This utility model relates to the field of electromechanical technology, and more specifically, to a multi-channel software download test circuit and device. Background Technology
[0002] With the continuous development of digital products, microcontrollers are increasingly widely used in control boards. However, in small-batch production, the software downloading process for control boards still presents many inconveniences. The current process typically involves connecting a software programmer via an ICSP interface and using dedicated software on a computer to complete the software download. After downloading, the control board must be powered on for testing to verify its functionality. This method is not only complex but also significantly reduces work efficiency.
[0003] Therefore, this application provides a multi-channel software download test circuit and apparatus to solve the above problems. Utility Model Content
[0004] The technical problem this application aims to solve is the complexity and inefficiency of existing control boards in terms of software download and function testing. The purpose is to provide a multi-channel software download test circuit and device. A dedicated multi-channel software download test circuit and device are designed based on the characteristics of the control board. Flying probe testing is used to connect the corresponding download ports and the function ports to be tested. Through a one-to-N downloader, software download relays, and function test relays, batch software download and function testing of multiple control boards can be achieved, reducing operational difficulty and improving testing efficiency.
[0005] This application first provides a multi-channel software download test circuit, including: a rectifier, a software download relay, a function detection relay, N software download sub-relays, and S function detection sub-relays. The input terminal of the rectifier is connected to a high-voltage AC power supply. The positive output terminal of the rectifier is connected to the software download relay. The software download relay is connected to the control terminals of the N software download sub-relays. The control terminals of the N software download sub-relays are connected to the negative output terminal of the rectifier module. The positive output terminal of the rectifier is connected to the function detection relay. The function detection relay is connected to the control terminals of the S function detection sub-relays. The control terminals of the S function detection sub-relays are connected to the negative output terminal of the rectifier module. The common terminal of the N software download sub-relays is connected to the N download ports of a one-to-N downloader. The normally closed contact is connected to the ICSP download port of the first batch of control boards via a flying probe. The normally open contact is connected to the ICSP download port of the second batch of control boards via a flying probe. The common terminal of the S function detection sub-relays is connected to the test function port OC of the first and second batches of control boards via a flying probe. The normally closed contact is connected to the test function port GD of the first and second batches of control boards via a flying probe.
[0006] Furthermore, each software download sub-relay includes four linked single-pole double-throw switches. The four normally closed contacts of the four single-pole double-throw switches are respectively connected to the ground, reset, serial download, and power supply terminals of the ICSP download port of the first batch of control boards, and the four normally open contacts are respectively connected to the ground, reset, serial download, and power supply terminals of the ICSP download port of the second batch of control boards.
[0007] Furthermore, each functional detection sub-relay includes multiple linked single-pole single-throw switches. The common terminal of the multiple single-pole single-throw switches is connected to the function port GD of the first and second batch control boards, and the normally closed contact is connected to the function port OC of the first and second batch control boards.
[0008] Furthermore, both the software download relay and the function detection relay are single-pole single-throw normally open push-button switches.
[0009] Furthermore, N is 4, S is 2, and both the first batch of control boards and the second batch of control boards contain 4 control boards.
[0010] Furthermore, the rectifier module is used to convert AC220V to DC12V.
[0011] Furthermore, the rectifier module is connected to a high-voltage AC power supply via a control fuse.
[0012] This application also provides a multi-channel software download testing device, including: a testing platform, the testing platform having a multi-channel software download testing circuit as shown above, flying probes on the surface of the testing platform, the positions of the flying probes corresponding to the ICSP download ports and the ports of the functions under test of the first and second batches of controllers, and software download relays and function test relays on the surface of the testing platform.
[0013] Furthermore, the multi-channel software download testing device also includes: a fixed platform, which is vertically connected to the testing platform, and a fixing fixture is installed on the fixed platform. The fixing fixture is located above the testing platform and is used to press the first and second batches of controllers toward the flying probe.
[0014] Furthermore, the fixing clamps secure the first and second batches of controllers via pressure plates.
[0015] Compared with the prior art, this application has the following advantages: by integrating software download and function testing through software download relay and function testing relay, the structure is simple and the operation is convenient; by cooperating the normally open and normally closed contacts of multiple sub-relays with a one-to-N downloader, software download and function testing of two batches and multiple controllers can be achieved, which greatly improves work efficiency. Attached Figure Description
[0016] The accompanying drawings, which are included to provide a further understanding of the embodiments of the present invention and form part of this application, do not constitute a limitation on the embodiments of this application. In the drawings:
[0017] Figure 1 A schematic diagram of the control board provided in an embodiment of this application;
[0018] Figure 2 A schematic diagram of a multi-channel software download test circuit provided in an embodiment of this application;
[0019] Figure 3 This is a structural diagram of the multi-channel software download testing device provided in an embodiment of this application. Detailed Implementation
[0020] To make the objectives, technical solutions, and advantages of this utility model clearer, the present utility model will be further described in detail below with reference to the embodiments and accompanying drawings. The illustrative embodiments and descriptions of this utility model are only used to explain this utility model and are not intended to limit this utility model.
[0021] It should be noted that when a component is referred to as being "fixed to" or "set on" another component, it can be directly or indirectly attached to that other component. When a component is referred to as being "connected to" another component, it can be directly or indirectly connected to that other component.
[0022] It should be understood that the terms "length", "width", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", and "outer" indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing this utility model and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this utility model.
[0023] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this utility model, "a plurality of" means two or more, unless otherwise explicitly specified.
[0024] Please see Figure 1 As shown, Figure 1 A schematic diagram of the control board provided in an embodiment of this application. Figure 1This is a control board for software download and functional testing of the multi-channel software download test circuit in this application. In the figure, GND, NRST, and SWIN+5V of external interface xs2 are the ground, reset, serial download, and power supply terminals of the control board's ICSP download port, respectively. Power is supplied via a downloader for software download. OC and GD of external interface xs1 are the control board's overheat detection port (the port under test). After the control board completes the software download, when OC and GD receive an overheat signal (high level), the controller will control the LED corresponding to the overheat function to light up.
[0025] Please see Figure 2 As shown, Figure 2 This is a schematic diagram of a multi-channel software download test circuit provided in an embodiment of this application. The circuit includes: a rectifier, a software download relay, a function detection relay, N software download sub-relays, and S function detection sub-relays. The input terminal of the rectifier is connected to a high-voltage AC power supply. The positive output terminal of the rectifier is connected to the software download relay. The software download relay is connected to the control terminals of the N software download sub-relays. The control terminals of the N software download sub-relays are connected to the negative output terminal of the rectifier module. The positive output terminal of the rectifier is connected to the function detection relay. The function detection relay is connected to the control terminals of the S function detection sub-relays. The control terminals of the S function detection sub-relays are connected to the negative output terminal of the rectifier module. The common terminal of the N software download sub-relays is connected to the N download ports of a one-to-N downloader. The normally closed contact is connected to the ICSP download port of the first batch of control boards via a flying probe. The normally open contact is connected to the ICSP download port of the second batch of control boards via a flying probe. The common terminal of the S function detection sub-relays is connected to the test function port OC of the first and second batches of control boards via a flying probe. The normally closed contact is connected to the test function port GD of the first and second batches of control boards via a flying probe.
[0026] Specifically, Figure 2The intermediate circuit includes a relay control circuit, a software download section, and a function detection section. The relay control circuit includes: an AC-DC rectifier, a software download relay SB1, a function detection relay SB2, four software download sub-relays KA1, KA2, KA3, and KA4, and two function detection sub-relays KA5 and KA6. The AC-DC rectifier converts high-voltage AC power into DC power to drive the relays. The software download relay SB1 controls the normally open and normally closed contacts of the four software download sub-relays KA1, KA2, KA3, and KA4 to close, causing the ICSP download ports of the first and second batches of control boards in the software download section to alternately connect to the one-to-N software downloader for software download. The function detection relay SB2 controls the two function detection sub-relays KA5 and KA6 to open and close, causing the test function ports OC and GD of the first and second batches of control boards in the function detection section to disconnect and generate an overheat signal. The overheat function of the controller is detected by observing whether the LEDs corresponding to the overheat function on the control board are lit.
[0027] The improvement of this application lies in integrating software download and function testing through a software download relay and a function testing relay, which is simple in structure and easy to operate; by using a one-to-N downloader and the normally open and normally closed contacts of multiple sub-relays, software download and function testing of two batches and multiple controllers can be achieved, which greatly improves work efficiency.
[0028] In one possible implementation, each software download sub-relay includes four linked single-pole double-throw switches. The four normally closed contacts of the four single-pole double-throw switches are respectively connected to the ground, reset, serial download, and power supply terminals of the ICSP download port of the first batch of control boards, and the four normally open contacts are respectively connected to the ground, reset, serial download, and power supply terminals of the ICSP download port of the second batch of control boards.
[0029] Specifically, Figure 2In the software download section, the software download sub-relays KA1, KA2, KA3, and KA4 each include four linked single-pole double-throw switches. The normally closed contacts of KA1, KA2, KA3, and KA4 are connected to the ground (GND1, GND3, GND5, GND7), reset (NRST1, NRST3, NRST5, NRST7), serial download (SWN1, SWN3, SWN5, SWN7), and power (+5V1, +5V3, +5V5, +5V7) terminals of the ICSP download port of the first batch of control boards. The four normally open contacts are respectively connected to the ground (GND2, GND4, GND6, GND8), reset (NRST2, NRST4, NRST6, NRST8), serial download (SWN2, SWN4, SWN6, SWN8), and power (+5V2, +5V4, +5V6, +5V8) terminals of the ICSP download port of the second batch of control boards.
[0030] In one possible implementation, each functional detection sub-relay includes multiple linked single-pole single-throw switches. The common terminal of the multiple single-pole single-throw switches is connected to the function under test port GD of the first and second batch control boards, and the normally closed contact is connected to the function under test port OC of the first and second batch control boards.
[0031] Specifically, Figure 2 In the functional testing section, the functional testing sub-relays KA5 and KA6 include multiple linked single-pole single-throw switches. The common terminal of KA5 is connected to the test function ports GD (GD1, GD2, GD3, GD4) of the first and second batch control boards, and the common terminal of KA6 is connected to the test function ports GD (GD5, GD6, GD7, GD8) of the first and second batch control boards. The normally closed contact of KA5 is connected to the test function ports OC (OC1, OC2, OC3, OC4) of the first and second batch control boards, and the normally closed contact of KA6 is connected to the test function ports OC (OC5, OC6, OC7, OC8) of the first and second batch control boards.
[0032] As one possible implementation, both the software download relay and the function detection relay are single-pole single-throw normally open push-button switches.
[0033] In one possible implementation, N is 4, S is 2, and both the first batch of control boards and the second batch of control boards contain 4 control boards.
[0034] As one possible implementation, the rectifier module is used to convert AC220V to DC12V.
[0035] As one possible implementation, the rectifier module is connected to a high-voltage AC power supply via a control fuse.
[0036] When the multi-channel software download test circuit is working: the AC220V power supply is converted to +12VDC by the rectifier module AC-DC after passing through the control fuse FU1. When SB1 is not pressed, relays KA1, KA2, KA3, and KA4 are not energized. The A, B, C, and D ports of the one-to-four downloader use flying probes to download the software of control boards numbered 1, 3, 5, and 7 through the normally closed contacts of relays KA1, KA2, KA3, and KA4. When SB2 is pressed, relays KA5 and KA6 are energized, and the normally closed contacts OC1GD1, OC3GD3, OC5GD5, and OC7GD7 of relays KA5 and KA6 are opened, performing overheat function testing on control boards 1, 3, 5, and 7 that have completed software download. When SB1 is pressed, relays KA1, KA2, KA3, and KA4 are energized, and their normally open contacts close. The A, B, C, and D ports of the one-to-four downloader then use flying probes to download software to control boards numbered 2, 4, 6, and 8 via the normally open contacts of relays KA1, KA2, KA3, and KA4. When SB2 is pressed, relays KA5 and KA6 are energized, and their normally closed contacts OC2GD2, OC4GD4, OC6GD6, and OC8GD8 open, performing an overheat function test on control boards 2, 4, 6, and 8 that have already completed the software download.
[0037] Please see Figure 3 As shown, Figure 3 This is a structural diagram of a multi-channel software download testing device provided in an embodiment of this application. The device includes: a testing platform 1, and the testing platform 1 is internally configured as follows... Figure 2 The multi-channel software download test circuit shown has flying probes (obscured by the first and second batch controllers, not shown in the figure) on the surface of the test platform 1. The positions of the flying probes correspond to the ICSP download ports and the ports of the functions under test of the first and second batch controllers. Software download relay SB1 and function test relay SB2 are set on the surface of the test platform 1.
[0038] As one possible implementation, the multi-channel software download testing device further includes: a fixed platform 2, which is vertically connected to the testing platform 1, and a fixing fixture 3 is provided on the fixed platform 2. The fixing fixture 3 is located above the testing platform 1 and is used to press the first and second batches of controllers toward the flying probe.
[0039] As one possible implementation, the fixing clamp 2 fixes the first batch and the second batch of controllers by means of the pressure plate 4.
[0040] It should be noted that the multi-channel software download test device, based on a multi-channel software download test circuit, enables the simultaneous loading of two batches of controllers for software download and functional testing, simplifying operation and improving the efficiency of software download and functional testing.
[0041] The specific embodiments described above further illustrate the purpose, technical solution, and beneficial effects of this utility model. It should be understood that the above description is only a specific embodiment of this utility model and is not intended to limit the scope of protection of this utility model. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this utility model should be included within the scope of protection of this utility model.
Claims
1. A multiple software download test circuit, characterized by, Comprise: The rectifier, software download relay, function detection relay, N software download sub-relay and S function detection sub-relay, the input end of the rectifier is connected with high-voltage AC power supply, the positive output end of the rectifier is connected with the software download relay, the software download relay is connected with N software download sub-relay control end, N software download sub-relay control end is connected with the negative output end of the rectifier module, the positive output end of the rectifier is connected with the function detection relay, the function detection relay is connected with the control end of S function detection sub-relay, the control end of S function detection sub-relay is connected with the negative output end of the rectifier module; The common end of N software download sub-relay is connected with N download port of a drag N downloader, the normally closed contact is connected with ICSP download port of the first batch of control panel through flying needle, the normally open contact is connected with ICSP download port of the second batch of control panel through flying needle; The common end of S function detection sub-relay is connected with the to-be-tested function port OC of the first batch and the second batch of control panel through flying needle, the normally closed contact is connected with the to-be-tested function port GD of the first batch and the second batch of control panel through flying needle.
2. The multi-path software download test circuit of claim 1, wherein, Each software download sub-relay comprises four linked single-pole double-throw switches, the four normally closed contacts of the four single-pole double-throw switches are respectively connected with the ground end, reset end, serial download end and power supply end of the ICSP download port of the first batch of control panel, and the four normally open contacts are respectively connected with the ground end, reset end, serial download end and power supply end of the ICSP download port of the second batch of control panel.
3. The multi-path software download test circuit of claim 1, wherein, Each function detection sub-relay comprises a plurality of linked single-pole single-throw switches, the common end of the plurality of single-pole single-throw switches is connected with the to-be-tested function port GD of the first batch and the second batch of control panel, and the normally closed contact is connected with the to-be-tested function port OC of the first batch and the second batch of control panel.
4. The multi-path software download test circuit of claim 1, wherein, The software download relay and the function detection relay are both single-pole single-throw normally open button switches.
5. The multi-path software download test circuit of claim 1, wherein, N is 4, S is 2, and the first batch of control panel and the second batch of control panel each comprise four control panels.
6. The multi-path software download test circuit of claim 1, wherein, The rectifier module is used for converting AC 220V into DC 12V.
7. The multi-path software download test circuit of claim 1, wherein, The rectifier module is connected with high-voltage AC power supply through control fuse.
8. A multiple path software download testing apparatus, characterized by, Comprise: A detection platform, wherein a multi-channel software download test circuit as claimed in any one of claims 1-7 is arranged inside the detection platform, a flying needle is arranged on the surface of the detection platform, the position of the flying needle corresponds to the ICSP download port and the to-be-tested function port of the first batch and the second batch of controllers, and a software download relay and a function detection relay are arranged on the surface of the detection platform.
9. The multiple software download testing apparatus according to claim 8, wherein Further comprise: A fixed platform, wherein the fixed platform is connected with the detection platform perpendicularly, a fixed clamp is arranged on the fixed platform, and the fixed clamp is located above the detection platform and is used for pressing the first batch and the second batch of controllers towards the flying needle.
10. The multiple software download testing apparatus according to claim 9, wherein The fixed clamp fixes the first batch and the second batch of controllers through a pressing plate.