Low-cost distribution network AC plug-in single board detection device based on FPGA
Through the low-cost distribution network AC plug-in single board detection device based on FPGA, the high cost and cumbersome detection problems of AC plug-in detection in the distribution network are solved, and fast and accurate detection results are achieved, which is suitable for the low-cost and high-efficiency needs of small-scale enterprises. .
Patent Information
- Application Number
- CN202420232519.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-31
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2034-01-31
AI Technical Summary
In the field of distribution network, single board detection of AC plug-ins has the problems of high cost and cumbersome detection. Especially for small-scale enterprises, manual inspection is difficult to accurately determine the polarity and position of the tie-down wires, resulting in limitations and inefficiency of the detection results. low.
A low-cost distribution network AC plug-in single board detection device based on FPGA is designed, including a chassis, power board, FPGA control board and test tooling. It is fast and flexible through test probes, bakelite boards, fasteners and terminal blocks. For detection, the fast, flexible and configurable features of FPGA are used, combined with switching circuits and transformers, to achieve automatic switching and detection of voltage and current channels.
It achieves fast and accurate single board detection, reduces costs and improves production efficiency. It can complete test output results within 3 seconds and accurately locate fault points, which is suitable for the low investment needs of small-scale enterprises.
Smart Images

Figure CN221746232U
Abstract
Description
Technical Field
[0001] The utility model relates to the field of power distribution network automation, in particular to a low-cost power distribution network AC plug-in single board detection device based on FPGA. Background Art
[0002] Single board testing is the process of troubleshooting and functional checking of a single board in an electronic product or system. In the manufacturing process of electronic products, circuit boards are usually made independently and then combined into a complete system. Single board testing is to ensure that the circuit board is operating normally and meets the design requirements through inspection and testing after it is made.
[0003] After reaching a certain production scale, electronic product manufacturers will set up a single board inspection link to ensure product quality and reliability. After the circuit boards are mass-produced and processed and returned to the factory, they will first be inspected. Only qualified circuit boards can be registered and stored in the warehouse. Single board inspection helps to expose quality problems such as circuit board processing problems and material problems in advance, and also helps to simplify the subsequent whole machine debugging process. It is a key link in quality control.
[0004] AC plug-ins are used in the protection and control devices in the field of distribution network to collect the current and voltage output by a CT or PT. In addition to the component welding process of wave soldering and reflow soldering required by ordinary circuit boards, almost all distribution network manufacturers use the production process of through-wall terminals combined with cold-pressed terminals for binding. In addition to the processing problems of the AC plug-in itself, the possibility of manual wiring errors is increased. At the same time, due to the use of through-wall terminals, the wiring during testing becomes more complicated.
[0005] The single board inspection of AC plug-ins before storage has become a standardized process in large-scale enterprises in the field of distribution networks. Through the customization of special test fixtures and test benches, the single board inspection of AC plug-ins can be completed in batches and semi-automatically, but the capital investment in the test bench is relatively large, and small-scale enterprises cannot afford it. If only manual appearance inspection is used without the help of automation, time is saved, but the inspection results are greatly limited. In addition, the plug-in wires of AC plug-ins are relatively compact and tied with straps. It is very difficult to manually judge the polarity and position errors of the binding wires. Utility Model Content
[0006] The utility model provides a low-cost distribution network AC plug-in single board detection device based on FPGA, aiming to solve the problems existing in the existing AC plug-in when performing single board detection.
[0007] The utility model provides a low-cost distribution network AC plug-in single-board detection device based on FPGA, comprising a chassis, a power board, an FPGA control board, and a test tool. A plurality of plug-in slots are arranged in the chassis, and the plug-in slots include a power slot, a main control slot, and a test slot for inserting an AC plug-in to be detected. The test tool is installed on the chassis, and each AC plug-in corresponds to a test tool. The test tool comprises a test probe. When the AC plug-in is inserted into the test slot for detection, the test probe presses against the wiring terminal block of the through-wall terminal on the AC plug-in.
[0008] As a further improvement of the present invention, the test tool also includes a tool bracket, a fastener, a bakelite board, and a wiring terminal. The fastener, bakelite board, and wiring terminal are all connected to the tool bracket, the test probe is connected to the bakelite board, and the tool bracket clamps the crossbeam of the chassis through the fastener.
[0009] As a further improvement of the present invention, the low-cost distribution network AC plug-in single-board detection device based on FPGA also includes a terminal block, through which the lead wires of the test tooling terminals corresponding to each AC plug-in are connected in parallel or in series, so as to connect the voltage channels of each AC plug-in in parallel and the current channels of each AC plug-in in series.
[0010] As a further improvement of the utility model, the terminal block is provided with a test start button, a test end indicator light, and a plurality of test result indicator lights corresponding to the AC plug-ins.
[0011] As a further improvement of the present invention, the low-cost distribution network AC plug-in single board detection device based on FPGA also includes an AC quantity generator, and a relay is provided on the power board, and the relay of the power board is serially connected to the output end of the AC quantity generator.
[0012] As a further improvement of the utility model, the low-cost distribution network AC plug-in single board detection device based on FPGA also includes a switching circuit, the test slot is provided with a voltage channel and a current channel, the switching circuit is used to switch the voltage channel and the current channel, the switching circuit includes a button switch, relay J1, relay J2, and relay J3, the button switch is provided with a first gear and a second gear, the first gear is respectively connected to relay J1 and relay J2, the second gear is connected to relay J3, the two switch switching gears of the relay J1 are respectively connected to the IA end and the UA end, the two switch switching gears of the relay J2 are respectively connected to the IA_S1 end and the UN end, and the two ends of the switch of the relay J3 are respectively connected to the IA end and the IA_S1 end.
[0013] As a further improvement of the present invention, the circuit of the AC plug-in includes a voltage transformer and a current transformer. The current transformer collects the AC analog quantity input by the through-wall terminal, converts it into a low-voltage analog quantity through the voltage transformer, converts it into a digital quantity through the ADC, and then sends it to the FPGA control board through the SPI interface.
[0014] As a further improvement of the utility model, when the button switch is in the first position, relays J1 and J2 are activated, relay J3 is reset, the IA terminal and the IA_S1 terminal are effectively connected, and the IA terminal and the IA_S1 terminal are short-circuited through the through-core wire of the current transformer on the AC plug-in, and connected in series to the next channel; when the button switch is in the second position, relays J1 and J2 are reset, relay J3 is activated, the UA terminal and the UN terminal are effectively connected, and are connected in parallel to the two ends of the voltage transformer on the AC plug-in, and at the same time, relay J3 short-circuits the IA terminal and the IA_S1 terminal.
[0015] As a further improvement of the utility model, the FPGA control board is provided with a plurality of SPI interfaces, and every two of the SPI interfaces are connected to an AC plug-in for communication.
[0016] As a further improvement of the present invention, the FPGA control board is also provided with an RS232 interface, and the FPGA control board establishes a communication connection with the host computer via the RS232 interface.
[0017] The beneficial effects of the utility model are:
[0018] (1) The single-board test device in this article, except for the process of plugging and unplugging the tested plug-in, which requires full human participation, all other processes have achieved the requirements of fast and flexible. The cost expenditure of the device accessories has been minimized, solving the pain points and difficulties of AC plug-in single board testing. For small-scale and low-investment enterprises, it has truly achieved a low-cost and high-efficiency solution to the problem.
[0019] (2) The voltage and current are switched by a button switch, which is convenient and quick. This solves the thorny problem of changing the wiring when testing AC plugs with different configurations.
[0020] (3) The FPGA-based single-board test device fully utilizes the fast, flexible and configurable characteristics of FPGA. It can complete the test output results within 3 seconds and accurately locate the fault point, greatly improving production efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 This is a plug-in arrangement diagram of the AC plug-in single board detection device in the utility model;
[0022] Figure 2 It is a plug-in wiring diagram of the AC plug-in single board detection device in the utility model;
[0023] Figure 3 It is a circuit structure diagram of the voltage and current channel switching circuit in the utility model;
[0024] Figure 4 It is a circuit schematic diagram of the FPGA control board in the utility model;
[0025] Figure 5 It is a structural diagram of the test tooling in the utility model;
[0026] Figure 6 It is a structural front view of the testing tool in the utility model;
[0027] Figure 7 It is the wiring diagram of the analog output control part in the utility model;
[0028] Figure 8 This is a structural diagram of the AC plug-in through-wall terminal in the utility model;
[0029] Fig. 9 It is a structural top view of the AC plug-in wall terminal in the utility model. DETAILED DESCRIPTION
[0030] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments.
[0031] like Figure 1 As shown, the utility model is a low-cost FPGA-based distribution network AC plug-in single-board detection device, including a chassis 1, a power board 2, an FPGA control board 3, and a test tool 5. A plurality of plug-in slots are arranged in the chassis 1, and the plug-in slots include a power slot, a main control slot, and a test slot for inserting an AC plug-in 4 to be detected. The test tool 5 is installed on the chassis 1, and each AC plug-in 4 corresponds to a test tool 5. The test tool 5 includes a test probe 52. When the AC plug-in 4 is inserted into the test slot for detection, the test probe 52 presses against the terminal 55 sub-block 42 of the through-wall terminal 41 on the AC plug-in 4.
[0032] like Figure 5 and Figure 6 As shown, the test tool 5 also includes a tool bracket 51, a fastener 54, a bakelite board 53, and a terminal 55. The fastener 54, the bakelite board 53, and the terminal 55 are all connected to the tool bracket 51, the test probe 52 is connected to the bakelite board 53, and the tool bracket 51 clamps the crossbeam of the chassis 1 through the fastener 54.
[0033] like Figure 1As shown, the chassis 1 of the power distribution terminal core unit has a total of 15 plug-in slots. By selecting and welding European plug terminals, 10 AC plugs 4 to be tested can be inserted at the same time. An additional power board 2 and FPGA control board 3 are added, and the circuit board configuration is completed. Because the AC plug 4 uses a through-wall terminal 41, as shown in FIG. Figure 8 and Fig. 9 As shown, in order to avoid the tedious process of removing the screw connection for each test, a special test tool 5 is made according to the wiring position of the through-wall terminal 41 using a test probe 52 and a bakelite board 53, as shown in FIG. Figure 5 and Figure 6 As shown, the test fixture 5 includes four parts: a fastener 54, a test probe 52, a bakelite board 53, and a terminal 55. Each AC plug-in 4 corresponds to its own test fixture 5. In this way, during each test, it is only necessary to clamp the fastener 54 of the test fixture 5 to the crossbeam of the test chassis 1 to ensure that each test probe 52 can tightly press against the middle position of the input screw of the through-wall terminal 41 during the test and make reliable contact. And after the test is completed, it does not affect the AC plug-in 4 from being pulled out of the chassis 1. The basic framework of the AC plug-in 4 single-board test device is built.
[0034] The low-cost distribution network AC plug-in single-board detection device based on FPGA also includes a terminal block, through which the lead wires of the test tool 5 terminal 55 corresponding to each AC plug-in 4 are connected in parallel or in series, so that the voltage channels of each AC plug-in 4 are connected in parallel and the current channels of each AC plug-in 4 are connected in series.
[0035] The terminal block is provided with a test start button, a test end indicator light, and a plurality of test result indicator lights corresponding to the AC plug 4.
[0036] The test of AC plug-in 4 requires applying AC analog quantity. In order to implement the application of AC quantity once, multiple AC plug-ins 4 can be tested at the same time. The lead wires of the test fixture 5 terminal 55 of each AC plug-in 4 need to be connected in parallel or in series using a terminal block, and the voltage channels of each AC plug-in 4 are connected in parallel, and the current channels of each AC plug-in 4 are connected in series. The wiring diagram is as follows: Figure 2 At the same time, a start test button, a test end indicator light and 10 test result indicators are added to the terminal block, such as Figure 2 TA6, TA4, and TA5 in the figure correspond to 10 AC plug-ins 4 under test.
[0037] The low-cost distribution network AC plug-in single-board detection device based on FPGA also includes an AC quantity generator. A relay is provided on the power board 2, and the relay of the power board 2 is connected in series to the output end of the AC quantity generator.
[0038] In order to improve the test efficiency and avoid the tediousness of starting or pausing the AC quantity generator every time the AC plug 4 to be tested is replaced, the device connects the relay on the power board 2 in series to the output end of the AC quantity generator, such as Figure 7 As shown, the on and off of the three-phase voltage and the three-phase current are controlled. Only in a specific time period of the test process, the relay is closed so that the determined AC analog quantity is added to the tested AC plug-in 4, and it is disconnected at other times. In this way, it is only necessary to set the output voltage and current value of the AC quantity generator at the beginning of the single board test and enable the output. After the test of this batch of single boards is completed, the generator can be turned off. During the entire test process, there is no need for unnecessary operations, which not only reduces the test time, but also reduces the possibility of errors due to frequent human operations.
[0039] The low-cost AC plug-in single board detection device based on FPGA also includes a switching circuit, the test slot is provided with a voltage channel and a current channel, the switching circuit is used to switch the voltage channel and the current channel, the switching circuit includes a button switch, a relay J1, a relay J2, and a relay J3, the button switch is provided with a first gear and a second gear, the first gear is connected to the relay J1 and the relay J2 respectively, the second gear is connected to the relay J3, the two switch switching gears of the relay J1 are connected to the IA end and the UA end respectively, the two switch switching gears of the relay J2 are connected to the IA_S1 end and the UN end respectively, and the two ends of the switch of the relay J3 are connected to the IA end and the IA_S1 end respectively. Among them, the IA_S1 end is the internal conversion contact of the switching circuit, and the IA_S1 end is determined according to the gear of the switching circuit to determine whether the IA_S1 end is short-circuited with the IA end or the UN end.
[0040] The AC plug-in 4 tested in this article has 16 AC channels each, but there are 3 types of channel configurations, 8U8I, 16I and 4U12I. As mentioned above, voltage is connected in parallel and current is connected in series, so the wiring of plug-ins with different configuration types will be different. If the test terminal wiring is modified according to the configuration type before each test, it will not only be cumbersome but also easy to make wiring errors or loose connections. This article designs a circuit that switches the voltage and current channels through a button switch, such as Figure 3As shown. When the button switch is in the 16I position, relays J1 and J2 are activated, relay J3 is reset, IA and IA_S1 are effectively wired, and the IA and IA_S1 are short-circuited through the through-core wire of the current transformer on the AC plug-in 4, and connected in series to the next channel; when the button switch is in the 4U12I position, relays J1 and J2 are reset, relay J3 is activated, UA and UN are effectively wired, and connected in parallel to the two ends of the voltage transformer on the AC plug-in 4. At the same time, relay J3 short-circuits IA and IA_S1 to ensure that the current AC quantity is not used in the voltage channel, but short-circuited to enter the next channel selection, and the entire current analog quantity series topology is conductive. Before conducting a single board test, the tester only needs to select the channel that needs to change the voltage and current type according to the channel type of the tested board, and the corresponding indicator light will be lit, further reducing the probability of errors. With such a channel switching circuit, it is possible to test boards with less than 10 pieces or boards with different channel types, and the test device becomes more flexible to use.
[0041] The circuit of the AC plug-in 4 includes a voltage transformer and a current transformer. The current transformer collects the AC analog quantity input by the through-wall terminal 41, and after being converted into a low-voltage analog quantity by the voltage transformer, it is converted into a digital quantity by the ADC, and then sent to the FPGA control board 3 through the SPI interface. The circuit of the tested AC plug-in 4 consists of two parts, one is the voltage transformer and the current transformer, which collect the AC analog quantity input by the through-wall terminal 41, and after being converted into a low-voltage analog quantity, enter the second part ADC, convert it into a digital quantity, and send it to the main control board through the SPI interface. The main control board can restore the size of the input analog quantity by processing the digital quantity. The single-board test designed by this device is to judge whether the circuit function of the AC plug-in 4 is normal and whether there is any error in the wiring by analyzing the digital quantity.
[0042] like Figure 4 As shown, the FPGA control board 3 is provided with multiple SPI interfaces, and every two SPI interfaces are connected to an AC plug-in 4 for communication. The control part of this detection device is directly implemented through the FPGA of the main control board, without the participation of MCU or MPU. It is based on the following two reasons: First, each AC plug-in 4 being tested requires 2 SPI interfaces for communication. If 10 plug-ins are tested at the same time, 20 SPI interfaces are required, and such a controller does not exist. Second, the MCU or MPU is loaded with an operating system during normal operation, and the startup time is relatively long, wasting test time; FPGA has the characteristics of flexible and programmable interfaces and fast startup time, and is very suitable for occasions such as single-board testing. This detection device only takes 3 seconds to complete a set of tests and give a test conclusion.
[0043] The FPGA control board 3 is also provided with an RS232 interface, and the FPGA control board 3 establishes a communication connection with the host computer through the RS232 interface. The model of the FPGA control board 3 is preferably EG4X20BG256.
[0044] The test process of this low-cost FPGA-based distribution network AC plug-in single board detection device is as follows:
[0045] The tester first selects the corresponding voltage and current channels according to the tested AC plug-in 4 by toggling the button switch, and then sets the AC analog generator, the three-phase voltage is set to UA=7.5VAC, UB=15VAC, UC=30VAC, the three-phase current is set to IA=0.5AAC, UB=1AAC, UC=1.5AAC, and enables the output. The following is the repeated steps for each group of AC plug-in 4 tests. Insert the tested AC plug-in 4, buckle the test device accordingly, connect the power supply circuit breaker of the test device, and press the test start button. After the test device is powered on, the FPGA control board 3 starts ADC sampling at a 250us interval cycle. At 0.5s, it is first judged that the digital quantity of the sampled values of all channels should be near the zero code value; at 1s, the relay of the control power board 2 turns on the voltage and current analog quantities. At 1.5s, the first voltage is used as the reference, and the sampled value digital quantity passes through the zero code value from small to large to make a zero point judgment. After judging the zero point, the maximum value of the next 25 consecutive sampled value digital quantities of each channel is taken. At 2s, the FPGA resets the relay of the power board 2 and cuts off the analog output. The maximum value recorded in each channel is judged, and the channel within the 5% error range of the preset value is considered to have passed the test. If the value is opposite to the preset value with the zero code value as the center, it means that the binding wire of the through-wall terminal 41 is reversed. At 2.5s, the FPGA lights up the test end light, the indicator light of the plug-in that passed the test is always on, and the corresponding indicator light of the plug-in that failed the test flashes. At the same time, the specific test results are sent to the host computer through the UART program written by FPGA via the RS232 interface, which includes the specific test information of each tested AC plug-in 4, expressed in bit form. One plug-in occupies 4 bits, which respectively indicate whether the plug-in passes the test, the total result of whether the zero code value, the wire binding direction and the maximum value pass the test, and the sub-item results are set to 1 if passed, otherwise set to 0. The tester marks this information on the plug-in that failed the test to facilitate subsequent maintenance and troubleshooting. At this point, the test of a group of AC plug-ins 4 is over, disconnect the power supply of the power board 2, unplug the plug-in under test, organize and pack it, and then you can proceed to the next group of tests.
[0046] This device uses the chassis 1 and plug-ins of the existing power distribution terminal products, customizes the manual through-wall terminal 41 test fixture, does not use MCU or MPU, but uses the characteristics of FPGA fast power-on and flexible and programmable peripheral interfaces to design a device that can complete the single-board test of 10 AC plug-ins 4 within 3 seconds, and can transmit detection information to the host computer after a group of tests. When it is located, a problem occurs in the voltage and current collection of a certain line of a certain AC plug-in 4. Between one group of tests, the AC analog generator does not need to be powered off, saving the manual operation process. The device in this article can test 200 AC plug-ins 4 per hour, which fully meets the production needs. While meeting the test accuracy and timeliness, it maximizes the use of existing resources in the factory and achieves the lowest cost under limited human participation.
[0047] The above contents are further detailed descriptions of the present invention in combination with specific preferred implementations, and the specific implementation of the present invention cannot be considered to be limited to these descriptions. For ordinary technicians in the technical field to which the present invention belongs, several simple deductions or substitutions can be made without departing from the concept of the present invention, which should be regarded as falling within the protection scope of the present invention.
Claims
1. A low-cost distribution network AC plug-in board detection device based on FPGA, It is characterized in that It includes a chassis, a power board, an FPGA control board, and a test tool. The chassis is provided with multiple plug-in slots, and the plug-in slots include a power slot, a main control slot, and a test slot for inserting an AC plug-in to be tested. The test tool is installed on the chassis, and each AC plug-in corresponds to a test tool. The test tool includes a test probe. When the AC plug-in is inserted into the test slot for testing, the test probe presses against the terminal block of the through-wall terminal on the AC plug-in.
2. According to the low-cost FPGA-based distribution network AC plug-in single board detection device of claim 1, It is characterized in that The test tool also includes a tool bracket, a fastener, a bakelite board, and a terminal. The fastener, bakelite board, and the terminal are all connected to the tool bracket. The test probe is connected to the bakelite board. The tool bracket clamps the crossbeam of the chassis through the fastener.
3. According to the low-cost FPGA-based distribution network AC plug-in single board detection device of claim 2, It is characterized in that It also includes a terminal block, through which the lead wires of the test tooling terminals corresponding to each AC plug-in are connected in parallel or in series, so that the voltage channels of each AC plug-in are connected in parallel and the current channels of each AC plug-in are connected in series.
4. According to the low-cost FPGA-based distribution network AC plug-in single board detection device of claim 3, It is characterized in that The terminal block is provided with a test start button, a test end indicator light, and a plurality of test result indicator lights corresponding to the AC plug-ins.
5. According to the low-cost FPGA-based distribution network AC plug-in single board detection device of claim 1, It is characterized in that It also includes an AC quantity generator. The power supply board is provided with a relay, and the relay of the power supply board is connected in series to the output end of the AC quantity generator.
6. According to the low-cost FPGA-based distribution network AC plug-in single board detection device of claim 1, It is characterized in that It also includes a switching circuit, the test slot is provided with a voltage channel and a current channel, the switching circuit is used to switch the voltage channel and the current channel, the switching circuit includes a button switch, a relay J1, a relay J2, and a relay J3, the button switch is provided with a first gear and a second gear, the first gear is respectively connected to the relay J1 and the relay J2, the second gear is connected to the relay J3, the two switch switching gears of the relay J1 are respectively connected to the IA end and the UA end, the two switch switching gears of the relay J2 are respectively connected to the IA_S1 end and the UN end, and the two ends of the switch of the relay J3 are respectively connected to the IA end and the IA_S1 end.
7. According to the FPGA-based low-cost distribution network AC plug-in single board detection device of claim 6, It is characterized in that The circuit of the AC plug-in includes a voltage transformer and a current transformer. The current transformer collects the AC analog quantity input by the wall terminal, converts it into a low-voltage analog quantity through the voltage transformer, converts it into a digital quantity through the ADC, and then sends it to the FPGA control board through the SPI interface.
8. According to the FPGA-based low-cost distribution network AC plug-in single board detection device of claim 7, It is characterized in that When the button switch is in the first position, relays J1 and J2 are activated, relay J3 is reset, IA terminal and IA_S1 terminal are effectively connected, IA terminal and IA_S1 terminal are short-circuited through the through-core wire of the current transformer on the AC plug-in, and connected in series to the next channel; when the button switch is in the second position, relays J1 and J2 are reset, relay J3 is activated, UA terminal and UN terminal are effectively connected, connected in parallel to the two ends of the voltage transformer on the AC plug-in, and relay J3 short-circuits IA terminal and IA_S1 terminal.
9. According to the FPGA-based low-cost distribution network AC plug-in single board detection device of claim 1, It is characterized in that The FPGA control board is provided with a plurality of SPI interfaces, and every two of the SPI interfaces are connected to an AC plug-in for communication.
10. According to the low-cost FPGA-based distribution network AC plug-in board detection device of claim 1, It is characterized in that The FPGA control board is also provided with an RS232 interface, and the FPGA control board establishes a communication connection with a host computer via the RS232 interface.
