Testing device for hardware controller in electronic product and use method of testing device
By collecting and analyzing the deformation and pressure values of the hardware controller using an FPGA-based testing device, the performance and reliability issues of the hardware controller under extrusion are resolved, ensuring its safety in electronic products.
Patent Information
- Application Number
- CN202411151647.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-21
- Publication Date
- 2024-11-29
AI Technical Summary
When the hardware controller in an electronic product is subjected to pressure, its deformation value changes, affecting its performance and reliability, and thus affecting the reliability of the electronic product.
An FPGA-based testing device is used to collect deformation and pressure data at multiple test points on the hardware controller through deformation and pressure acquisition modules. The FPGA main control unit determines the correspondence between the deformation and pressure values at each test point, and displays these parameters through a display unit to protect the safety of the hardware controller.
By clearly defining the maximum pressure and deformation values at each test point of the hardware controller, the safety of the hardware controller during assembly, transportation, and use is protected, thereby improving the overall safety of electronic products.
Smart Images

Figure CN119045454A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of testing technology, and specifically relates to a testing device for a hardware controller in an electronic product and a method for using the same, and more particularly to a deformation value testing device for a hardware controller in an electronic product based on a Field Programmable Gate Array (FPGA) and a method for using the same. Background Art
[0002] Electronic products are related products that use electricity as the basis of their work, mainly including: watches, smart phones, telephones, televisions, DVD players, video recorders, camcorders, radios, tape recorders, combination speakers, laser players, computers, game consoles, mobile communication products, etc. Hardware controllers, such as the controller in the central processing unit (CPU), are important components of electronic products. Electronic products usually need to be assembled by the factory and then transported to customers for use. During the three processes of assembly, transportation and use, the hardware controllers in the electronic products are often squeezed to a certain extent, causing the deformation value (i.e. shape change) of the hardware controller (also called the circuit board of the electronic product). The deformation value of the hardware controller board will affect the performance and reliability of the hardware controller, thereby affecting the reliability of the electronic product.
[0003] The above contents are only used to assist in understanding the technical solution of the present invention and do not constitute an admission that the above contents are prior art. Summary of the invention
[0004] The purpose of the present invention is to provide a testing device for a hardware controller in an electronic product and a method for using the same, so as to solve the problem that when the hardware controller in the electronic product is squeezed, the deformation value of the hardware controller board will be caused, thereby affecting the performance and reliability of the hardware controller, thereby affecting the reliability of the electronic product. By performing pressure testing on each test point on the hardware controller and obtaining the deformation value, the corresponding relationship between the pressure value and the deformation value of each test point on the hardware controller, as well as the maximum pressure value and the maximum deformation value that each test point can withstand are obtained, thereby protecting the safety of the hardware controller itself and improving the safety of the electronic product.
[0005] The present invention provides a testing device for a hardware controller in an electronic product, comprising: an acquisition unit, an FPGA main control unit and a display unit; the acquisition unit comprises: a deformation acquisition module, the number of the deformation acquisition modules is n, and n is a positive integer; wherein each of the n deformation acquisition modules is arranged at a corresponding test point among n test points on the hardware controller, and is used to acquire deformation data of the corresponding test point among the n test points on the hardware controller when the hardware controller is subjected to pressure, thereby obtaining deformation data of each of the n test points on the hardware controller; the FPGA main control unit is used to receive deformation data of each of the n test points on the hardware controller acquired by the n deformation acquisition modules, and / or obtain pressure data of the pressure on the hardware controller; and, according to the deformation data of each of the n test points and the pressure data of the pressure on the hardware controller, determine the deformation data of the n test points. The present deformation value of each test point in the test points and the present pressure value of the pressure on each test point; and, according to the present deformation value of each test point in the n test points in the set time period and the present pressure value of the pressure on each test point, determine the minimum pressure value of the pressure on each test point and the minimum deformation value of each test point, and determine the maximum pressure value of the pressure on each test point and the maximum deformation value of each test point; the display unit is used to display the pressure parameters of the pressure on each test point in the n test points determined by the FPGA main control unit and the deformation parameters of the deformation on each test point in the n test points; wherein the pressure parameters of the pressure on each test point include: at least one of the current pressure value, the minimum pressure value and the maximum pressure value of the pressure on each test point; the deformation parameters of the deformation on each test point include: at least one of the current deformation value, the minimum deformation value and the maximum deformation value of the deformation on each test point.
[0006] In some embodiments, it also includes: an operation unit; wherein the operation unit is used to perform the following operations and transmit them to the FPGA main control unit: receive a start instruction or a pause instruction issued by a user; accordingly, the FPGA main control unit receives the deformation data of each of the n test points on the hardware controller collected by the n deformation acquisition modules, and / or obtains the pressure data of the pressure on the hardware controller, including: when receiving the start instruction transmitted by the operation unit, receiving the deformation data of each of the n test points on the hardware controller collected by the n deformation acquisition modules, and / or obtaining the pressure data of the pressure on the hardware controller; and, when receiving the pause instruction transmitted by the operation unit, stopping receiving the deformation data of each of the n test points on the hardware controller collected by the n deformation acquisition modules, and stopping obtaining the pressure data of the pressure on the hardware controller.
[0007] In some embodiments, the operating unit is also used to perform the following operations and transmit them to the FPGA main control unit: receiving a deformation alarm threshold and / or a pressure alarm threshold set by a user as a preset deformation alarm threshold and / or a preset pressure alarm threshold; accordingly, the pressure parameters of the pressure on each test point also include: a preset pressure alarm threshold; the deformation parameters of the deformation at each test point also include: a preset deformation alarm value; the FPGA main control unit is also used to, upon receiving the deformation alarm threshold and / or pressure alarm threshold set by the user transmitted by the operating unit, initiate a pressure alarm message when it is determined that the current pressure value of the pressure on each test point among the n test points is greater than or equal to the pressure alarm threshold set by the user, and / or initiate a deformation alarm message when it is determined that the current deformation value of the deformation at each test point among the n test points is greater than or equal to the deformation alarm threshold set by the user.
[0008] In some embodiments, the operating unit is further used to perform the following operations and transmit them to the FPGA main control unit: receiving a user's switching instruction for the display content of the display screen and / or a user's adjustment instruction for the display mode of the display content of the display screen; the display unit displays the pressure parameters of the pressure on each of the n test points determined by the FPGA main control unit, and the deformation parameters of the deformation of each of the n test points, including: upon receiving a user's switching instruction for the display content of the display screen and / or a user's adjustment instruction for the display mode of the display content of the display screen transmitted by the operating unit, according to the switching instruction and / or the adjustment instruction, the pressure parameters of the pressure on each of the n test points determined by the FPGA main control unit The parameters, and the deformation parameters of each of the n test points that are deformed are displayed in at least one form of an image and a curve; wherein the switching instruction includes at least one of the following: switching to display the pressure parameters of the pressures on different test points among the n test points, switching to display the deformation parameters of different test points among the n test points, switching to display the pressure parameters of the pressures on the same test point among the n test points and the deformation parameters of the deformations on the same test point; the adjustment instruction includes at least one of the following: when the display unit displays the pressure parameters of the pressures on each of the n test points determined by the FPGA main control unit and the deformation parameters of each of the n test points that are deformed in the form of a curve, adjusting the interval of the horizontal coordinate of the curve and adjusting the amplitude of the vertical coordinate of the curve.
[0009] In some embodiments, the acquisition unit further includes: a pressure acquisition module; the pressure acquisition module is used to acquire pressure data of the pressure exerted on the hardware controller, or acquire pressure data of the pressure applied to the hardware controller, when the hardware controller is subjected to pressure; the FPGA main control unit obtains the pressure data of the pressure exerted on the hardware controller, including: acquiring the pressure data of the pressure exerted on the hardware controller acquired by the pressure acquisition module, or acquiring the pressure data of the pressure applied to the hardware controller and using it as the pressure data of the pressure exerted on the hardware controller.
[0010] In some implementations, the FPGA main control unit determines the current deformation value of the deformation of each test point among the n test points and the current pressure value of the pressure exerted on each test point according to the deformation data of each test point among the n test points and the pressure data of the pressure exerted on the hardware controller, including: performing analog-to-digital conversion on the deformation data of each test point among the n test points to obtain digitized deformation data of the deformation of each test point among the n test points; and performing analog-to-digital conversion on the pressure data of the pressure exerted on the hardware controller to obtain digitized pressure data of the pressure exerted on the hardware controller; according to a first corresponding relationship between set deformation data and set deformation value, the set deformation data in the first corresponding relationship that is the same as the digitized deformation data of the deformation of each test point among the n test points The set deformation value corresponding to the deformation data is determined as the deformation value of each of the n test points corresponding to the digitized deformation data of the deformation of each of the n test points, as the current deformation value of each of the n test points; according to the second corresponding relationship between the set pressure data and the set pressure value, the set pressure value corresponding to the set pressure data that is the same as the digitized pressure data of the pressure exerted on the hardware controller in the second corresponding relationship is determined as the pressure value corresponding to the digitized pressure data of the pressure exerted on the hardware controller, as the current pressure value of the pressure exerted on each of the n test points; in this way, the current deformation value of each of the n test points and the current pressure value of the pressure exerted on each test point are obtained.
[0011] In some implementations, the FPGA main control unit determines the minimum pressure value of the pressure on each test point and the minimum deformation value of the deformation on each test point according to the current deformation value of the deformation on each test point in the n test points within the set time period and the current pressure value of the pressure on each test point, and determines the maximum pressure value of the pressure on each test point and the maximum deformation value of the deformation on each test point, including: in the process of the current pressure value of the pressure on each test point in the n test points changing within the set time period, determining the minimum value of the current pressure value of the pressure on each test point as the minimum pressure value of the pressure on each test point, and The maximum value of the current pressure values of the pressures on the test points is determined as the maximum pressure value of the pressure on each test point; and, in the process of the current deformation value of each test point undergoing deformation changing within a set period of time at the n test points, the minimum value of the current deformation value of each test point undergoing deformation is determined as the minimum deformation value of each test point, and the maximum value of the current deformation value of each test point undergoing deformation is determined as the maximum deformation value of each test point; in this way, the minimum pressure value of the pressure on each test point and the minimum deformation value of the deformation, as well as the maximum pressure value of the pressure on each test point and the maximum deformation value of the deformation, are obtained.
[0012] Matching the above-mentioned device, the present invention provides a method for using a testing device for a hardware controller in an electronic product on another aspect, comprising: according to the test requirements of the hardware controller to be tested, setting n deformation acquisition modules in the testing device at corresponding test points among n test points on the hardware controller; in the case where the testing device has a pressure acquisition module, setting corresponding data channels on the FPGA main control unit according to the pressure acquisition module and / or the n deformation acquisition modules; receiving a start instruction to enable the FPGA main control unit to work; the operation of the FPGA main control unit comprises: receiving deformation data of each of the n test points on the hardware controller collected by the n deformation acquisition modules, and / or obtaining pressure data of the pressure on the hardware controller; and determining the time when each of the n test points is deformed according to the deformation data of each of the n test points and the pressure data of the pressure on the hardware controller. The present invention relates to a method for determining a minimum pressure value of the pressure on each test point and a minimum deformation value of the pressure on each test point according to the current deformation value of the deformation on each test point and the current pressure value of the pressure on each test point in the set time period, and determining a maximum pressure value of the pressure on each test point and a maximum deformation value of the deformation on each test point; when the FPGA main control unit is working, the display unit works to display the pressure parameters of the pressure on each test point in the n test points determined by the FPGA main control unit and the deformation parameters of the deformation on each test point in the n test points; wherein the pressure parameters of the pressure on each test point include: at least one of the current pressure value, the minimum pressure value and the maximum pressure value of the pressure on each test point; and the deformation parameters of the deformation on each test point include: at least one of the current deformation value, the minimum deformation value and the maximum deformation value of the deformation on each test point.
[0013] In some embodiments, it also includes: receiving a set deformation alarm threshold and / or pressure alarm threshold as a preset deformation alarm threshold and / or a preset pressure alarm threshold; accordingly, the pressure parameters of the pressure on each test point also include: a preset pressure alarm threshold; the deformation parameters of each test point that undergoes deformation also include: a preset deformation alarm value; the operation of the FPGA main control unit also includes: upon receiving the deformation alarm threshold and / or pressure alarm threshold set by the user transmitted by the operating unit, initiating a pressure alarm message when it is determined that the current pressure value of the pressure on each test point among the n test points is greater than or equal to the pressure alarm threshold set by the user, and / or initiating a deformation alarm message when it is determined that the current deformation value of each test point that undergoes deformation among the n test points is greater than or equal to the deformation alarm threshold set by the user.
[0014] In some embodiments, it also includes: receiving a switching instruction for the display content of the display screen and / or a user's adjustment instruction for the display mode of the display content of the display screen; the display unit works to display the pressure parameters of the pressure on each of the n test points determined by the FPGA main control unit, and the deformation parameters of the deformation of each of the n test points, including: upon receiving a switching instruction for the display content of the display screen and / or a user's adjustment instruction for the display mode of the display content of the display screen transmitted by the operating unit, according to the switching instruction and / or the adjustment instruction, the pressure parameters of the pressure on each of the n test points determined by the FPGA main control unit, and the deformation parameters of the deformation of each of the n test points The deformation parameters of the deformation of the test point are displayed in at least one form of an image and a curve; wherein the switching instruction includes at least one of the following: switching to display the pressure parameters of the pressure on different test points among the n test points, switching to display the deformation parameters of the deformation of different test points among the n test points, switching to display the pressure parameters of the pressure on the same test point among the n test points and the deformation parameters of the deformation on the same test point; the adjustment instruction includes at least one of the following: when the display unit displays the pressure parameters of the pressure on each test point among the n test points determined by the FPGA main control unit and the deformation parameters of the deformation of each test point among the n test points in the form of a curve, adjusting the interval of the horizontal axis of the curve and adjusting the amplitude of the vertical axis of the curve.
[0015] Therefore, the scheme of the present invention is to set up a deformation value testing device for the hardware controller in the FPGA-based electronic product, which is composed of at least a sensor acquisition circuit, an FPGA main control board, an operation panel and a display screen, wherein the sensor acquisition circuit at least includes a deformation acquisition circuit, and the deformation acquisition circuit has a strain gauge; the sensor acquisition circuit may also include a pressure acquisition circuit, and the pressure acquisition circuit has a pressure sensor; when the hardware controller needs to be tested, n strain gauges are correspondingly set at n test points on the hardware controller, and under the control and setting of the operation panel, when a pressure value is applied to the hardware controller, the deformation value of each test point is obtained from the strain gauge of each test point through the FPGA, and the pressure value of each test point is obtained from the pressure gauge of each test point. The pressure value of each test point is obtained at the force sensor or from the pressure-applying side of each test point, so as to display the pressure value and deformation value of each test point on the display screen. Thus, by performing pressure testing on each test point on the hardware controller and obtaining the deformation value, the corresponding relationship between the pressure value and the deformation value of each test point on the hardware controller is obtained, and the maximum pressure value and the maximum deformation value that each test point on the hardware controller can withstand are clarified, so as to better protect the components corresponding to each test point in the design stage of the hardware controller, and correspondingly protect each test point of the hardware controller during the assembly, transportation or use stage of the hardware controller, so as to protect the safety of the hardware controller itself and improve the safety of electronic products.
[0016] Other features and advantages of the present invention will be set forth in the description which follows, and in part will be apparent from the description, or may be learned by practice of the present invention.
[0017] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 It is a structural schematic diagram of an embodiment of a testing device for a hardware controller in an electronic product of the present invention;
[0019] Figure 2 A schematic diagram of the hardware structure of an embodiment of a deformation value testing device of a hardware controller in an electronic product based on FPGA of the present invention;
[0020] Figure 3 A schematic diagram of the hardware structure of an embodiment of an FPGA main control board;
[0021] Figure 4 A schematic diagram of the use process of an embodiment of a deformation value testing device for a hardware controller in an electronic product based on FPGA of the present invention;
[0022] Figure 5It is a schematic diagram of the operation interface of an embodiment of a deformation value testing device of a hardware controller in an electronic product based on FPGA of the present invention;
[0023] Figure 6 A schematic diagram of a numerical display interface of an embodiment of a deformation value testing device of a hardware controller in an electronic product based on FPGA of the present invention;
[0024] Figure 7 A schematic diagram of an image display interface of an embodiment of a deformation value testing device for a hardware controller in an electronic product based on FPGA of the present invention;
[0025] Figure 8 The figure is a flow chart of an embodiment of a method for using a hardware controller in an electronic product of the present invention. DETAILED DESCRIPTION
[0026] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the specific embodiments of the present invention and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0027] Considering that the hardware controller in the electronic product will cause deformation of the hardware controller board when squeezed, it may have certain impact and harm on the performance and reliability of the hardware controller, such as electrical connection problems of the hardware controller, damaged welding quality, damaged connection between PCB layers, reduced mechanical strength of PCB, signal integrity problems, thermal management problems, etc. In severe cases, it will cause hardware controller failure and damage or even safety accidents, which will eventually affect the quality and reliability of electronic products. Among them, the hardware controller refers to the electronic components that make up electronic products, such as the motherboards of computers and mobile phones, the driver boards of display screens and motors, and the control boards of household appliances.
[0028] Therefore, the scheme of the present invention proposes a testing device for a hardware controller in an electronic product, specifically a deformation value testing device for a hardware controller in an electronic product based on FPGA. By collecting the deformation values of multiple test points on the hardware controller through strain gauges, and then comparing them with the pressure values of the pressure sensor on the thrust rod, the corresponding relationship between the pressure values of each test point on the hardware controller and the deformation values of each test point can be obtained, so as to clarify the maximum pressure value and the maximum deformation value that each test point on the hardware controller can withstand, so as to better protect the components corresponding to each test point in the design stage of the hardware controller, and correspondingly protect each test point of the hardware controller in the assembly, transportation or use stage of the hardware controller, so as to protect the safety of the hardware controller itself and improve the safety of electronic products.
[0029] According to an embodiment of the present invention, a testing device for a hardware controller in an electronic product is provided. Figure 1 The structure diagram of an embodiment of the device of the present invention is shown. An acquisition unit, an FPGA main control unit and a display unit, the acquisition unit is such as a sensor acquisition circuit, the FPGA main control unit is such as an FPGA main control board and peripheral circuits, and the display unit is such as a display screen; the acquisition unit and the display unit are respectively connected to the FPGA main control unit; the acquisition unit includes: a deformation acquisition module (such as a deformation acquisition circuit), the number of the deformation acquisition modules is n, and n is a positive integer; among the n deformation acquisition modules, each of the deformation acquisition modules corresponds to a test point. In the scheme of the present invention, the simplest acquisition unit in the test device of the hardware controller in the electronic product only needs one deformation acquisition module, and the number of deformation acquisition modules can be expanded to multiple, and the corresponding parameters only need to be set on the system.
[0030] Among them, each of the n deformation acquisition modules is correspondingly set at a corresponding test point among the n test points on the hardware controller, and is used to collect deformation data of the corresponding test point among the n test points on the hardware controller when the hardware controller is subjected to pressure, so as to obtain deformation data of each test point among the n test points on the hardware controller.
[0031] The FPGA main control unit is used to receive the deformation data of each of the n test points on the hardware controller collected by the n deformation collection modules, and / or obtain the pressure data of the pressure on the hardware controller. And,
[0032] The FPGA main control unit is further used to determine the current deformation value of each of the n test points and the current pressure value of each test point according to the deformation data of each of the n test points and the pressure data of the pressure on the hardware controller. And,
[0033] The FPGA main control unit is also used to determine the minimum pressure value of the pressure on each test point and the minimum deformation value of each test point according to the current deformation value of each test point in the n test points within a set time period and the current pressure value of the pressure on each test point, and determine the maximum pressure value of the pressure on each test point and the maximum deformation value of each test point.
[0034] The display unit is used to display the pressure parameters of the pressure on each test point among the n test points determined by the FPGA main control unit, and the deformation parameters of the deformation of each test point among the n test points; wherein the pressure parameters of the pressure on each test point include: at least one of the current pressure value, the minimum pressure value, and the maximum pressure value of the pressure on each test point; the deformation parameters of the deformation on each test point include: at least one of the current deformation value, the minimum deformation value, and the maximum deformation value of the deformation on each test point.
[0035] The deformation value testing device of the hardware controller in the electronic product based on FPGA proposed in the scheme of the present invention collects deformation data of corresponding test points among n test points on the hardware controller through n deformation acquisition modules when the hardware controller is subjected to pressure, thereby obtaining deformation data of each test point among the n test points on the hardware controller; receives deformation data of each test point among the n test points on the hardware controller collected by the n deformation acquisition modules through the FPGA main control unit, and / or obtains pressure data of the pressure to which the hardware controller is subjected; and determines the current deformation value and the pressure value of each test point among the n test points according to the deformation data of each test point among the n test points and the pressure data of the pressure to which the hardware controller is subjected. The current pressure value of the pressure on each test point is determined, and the maximum pressure value of the pressure on each test point and the maximum deformation value of the deformation at each test point are determined; and through the display unit, the current pressure value, minimum pressure value, maximum pressure value and preset pressure alarm threshold of the pressure on each test point among the n test points determined by the FPGA main control unit, as well as the current deformation value, minimum deformation value, maximum deformation value and preset deformation alarm value of each test point among the n test points are displayed, so as to better protect the components corresponding to each test point in the design stage of the hardware controller, and correspondingly protect the various test points of the hardware controller during the assembly, transportation or use stage of the hardware controller, so as to protect the safety of the hardware controller itself and improve the safety of electronic products.
[0036] In some embodiments, the testing device for the hardware controller in the electronic product described in the solution of the present invention further includes: an operating unit, such as an operating panel; the acquisition unit, the operating unit and the display unit are respectively connected to the FPGA main control unit.
[0037] Wherein, the operation unit is used to perform the following operations and transmit them to the FPGA main control unit: receiving a start instruction or a pause instruction issued by a user.
[0038] Correspondingly, the FPGA main control unit receives the deformation data of each of the n test points on the hardware controller collected by the n deformation collection modules, and / or obtains the pressure data of the pressure on the hardware controller, including:
[0039] The FPGA main control unit is further configured to receive deformation data of each of the n test points on the hardware controller collected by the n deformation collection modules and / or obtain pressure data of the pressure on the hardware controller when receiving a start instruction transmitted by the operation unit. And,
[0040] The FPGA main control unit is specifically used to stop receiving the deformation data of each of the n test points on the hardware controller collected by the n deformation acquisition modules and stop obtaining the pressure data of the pressure applied to the hardware controller when receiving a pause instruction transmitted by the operation unit.
[0041] Figure 5 FIG. 1 is a schematic diagram of an operation interface of an embodiment of a deformation value testing device for a hardware controller in an electronic product based on FPGA of the present invention. Figure 5 As shown, the interface of the operation panel of the deformation value test device of the hardware controller in the FPGA-based electronic product has function buttons such as power on, power off, ↑ (upward arrow), ↓ (downward arrow), ← (left arrow), → (right arrow), OK, return, select channel, add channel, delete channel, data clear, data save, start operation, pause operation, alarm setting, historical data, attribute switching, image display, amplitude adjustment, time adjustment, + (increase), - (decrease). Among them, the power on and power off buttons are used to control the power supply of the device, and the 6 buttons of ↑, ↓, ←, →, OK, and return are used to set the alarm value, select the channel and the function. For example, select the data of one of the test points in the numerical display, click OK to select the data channel, and click Return to cancel the selection of the channel. After selection, the required function can be selected by the direction keys, or the function button on the operation panel can be directly pressed.
[0042] Different channels represent the values of different strain gauge points. Of course, different channels can also represent the values of pressure sensors. For example, the test device has port 1 and port 2. If port 1 is connected to the strain gauge position and port 2 is connected to the pressure sensor, then you can set it up on the system because they are all digital signals. Then, the pressure value or deformation value can be obtained based on the characteristics or specifications of the strain gauge and pressure sensor.
[0043] Selecting channels, adding channels and deleting channels are used to set the corresponding test point information. For each additional test point, the number of corresponding channels increases by one. Then, the property switch is used to select whether to transmit a pressure value signal or a deformation value signal. Image display, amplitude adjustment, time adjustment, +, and - are function buttons for image display and image adjustment. The collected data will be mapped to data coordinates and displayed on the screen after connection. After selecting the amplitude adjustment or time adjustment function, press the + and - buttons to adjust the amplitude size and time range of the image curve. The data saving function can save historical data, numerical display data, or image display data, mainly depending on the data display method when using this function. The start and end operation buttons are responsible for running or stopping data collection and data processing. After selecting a channel, you can press the data clear button to clear the data. The alarm setting button is used to set the alarm value of the channel. When the collected data exceeds the alarm value of the channel, a buzzer signal will be generated.
[0044] In the scheme of the present invention, a display interface and an operation panel of a deformation acquisition device are provided. The user can perform operations through the function buttons on the operation panel, such as viewing historical records, saving data, setting alarm values, etc. The user can more intuitively understand the relationship between the pressure value and the deformation value through the display or numerical display interface, providing data support for the improvement and optimization of the hardware controller. The operation interface has a concise layout and clear button function descriptions, making user operation easier.
[0045] In some embodiments, the operating unit is further used to perform the following operations and transmit them to the FPGA main control unit: receiving the deformation alarm threshold and / or pressure alarm threshold set by the user as a preset deformation alarm threshold and / or preset pressure alarm threshold.
[0046] Correspondingly, the pressure parameters of the pressure on each test point also include: a preset pressure alarm threshold; the deformation parameters of each test point that undergoes deformation also include: a preset deformation alarm value. In other words, the pressure parameters of the pressure on each test point include: at least one of the current pressure value, the minimum pressure value, the maximum pressure value, and the preset pressure alarm threshold of the pressure on each test point; the deformation parameters of each test point that undergoes deformation include: at least one of the current deformation value, the minimum deformation value, the maximum deformation value, and the preset deformation alarm value of each test point that undergoes deformation.
[0047] The FPGA main control unit is also used to, upon receiving the deformation alarm threshold and / or pressure alarm threshold set by the user transmitted by the operating unit, initiate a pressure alarm message when it is determined that the current pressure value of the pressure on each of the n test points is greater than or equal to the pressure alarm threshold set by the user, and / or initiate a deformation alarm message when it is determined that the current deformation value of the deformation at each of the n test points is greater than or equal to the deformation alarm threshold set by the user.
[0048] Figure 3 FIG. 1 is a schematic diagram of the hardware structure of an embodiment of an FPGA main control board. Figure 3 As shown, the FPGA main control board mainly includes: power supply circuit, analog-to-digital conversion circuit, FLASH module circuit (i.e. Flash Memory, Flash storage), buzzer circuit, FPGA and its peripheral circuits, and serial port screen output circuit. Among them, the power supply circuit is respectively connected to the serial port screen output circuit, FLASH module circuit, analog-to-digital conversion circuit, buzzer circuit, and FPGA and its peripheral circuits. The FPGA and its peripheral circuits are connected, and are also respectively connected to the serial port screen output circuit, FLASH module circuit, analog-to-digital conversion circuit, and buzzer circuit.
[0049] exist Figure 3 In the example shown, the power supply circuit is mainly used to meet the power usage requirements of various circuits and components by converting between various voltages. The FLASH module circuit is used for data storage. The buzzer circuit is used to issue an alarm signal when the collected data is higher than the alarm value range. The FPGA and its peripheral circuits are the core of data collection and processing of the entire device. The serial port screen output circuit is used for the conversion and output of video signals.
[0050] exist Figure 3In the example shown, the analog-to-digital conversion circuit can be composed of an ADS8684 chip, which is a four-channel digital-to-analog conversion chip and uses the Serial Peripheral Interface (SPI) communication protocol. The FPGA main control board expands the ADS8684 chip by chip selection, i.e., chip select (CS), so that the number of ADS8684 chips is n. The expanded ADS8684 chip can be connected to more test points for data collection, and the collected data is compared with the characteristics of the strain gauge and the pressure sensor to obtain the deformation value and the pressure value. The deformation acquisition circuit and / or pressure acquisition circuit with the same number of channels in an ADS8684 chip is connected to the ADS8684 chip; each ADS8684 chip is connected to the FPGA main control board. The collected data is stored in the FLASH module circuit, and then the FPGA main control board also displays the current deformation value, minimum deformation value, maximum deformation value and preset deformation alarm value of each test point in real time through the display. The display of the test device uses a serial port display screen, which can effectively reduce the use of logic resources and has a simpler control method.
[0051] The operation of comparing the collected data with the alarm value is completed by the FPGA chip (i.e., the FPGA main control board). When the collected data exceeds the set alarm value, the FPGA main control board will drive the buzzer to alarm.
[0052] The present invention proposes a deformation value testing device for a hardware controller in an electronic product based on FPGA, which is a device for studying and monitoring the relationship between the pressure value and the deformation value of the hardware controller in the electronic product. By applying a pressure value to the hardware controller using a thrust rod, the deformation values of multiple test points on the hardware controller are collected by strain gauges, and then compared with the pressure value of the pressure sensor on the thrust rod, the corresponding relationship between the pressure value of each test point on the hardware controller and the deformation value of each test point can be obtained, and the deformation value of the hardware controller can also be monitored during assembly, transportation or use. The final collected result will be output in the form of a numerical value or image through a display screen, and the numerical change of the deformation value is observed during the test process to ensure that it meets the design requirements and industry standards. Among them, when using the thrust test finger, the thrust test finger will produce pressure changes, and the deformation of the test point will change. The data of the deformation change of the test point will be transmitted to the FPGA for display after analog-to-digital conversion. Because the change of deformation is synchronized with the change of pressure, the user can get a rough corresponding relationship based on these two changing curves. For example, when the pressure is 10N, the deformation is 200μ, and when the pressure is 20N, the deformation is 400μ. Then, according to these data, it can be known how much the deformation will change during the pressure generation process. There is a certain relationship between pressure and deformation; however, FPGA will not calculate the relationship formula between the two, but only provide the pressure data and deformation data to the test user for reference; in addition, there are many factors that affect deformation. Different PCB boards or test positions will cause different deformations. After observing the changes in pressure and deformation values, the user can infer the relationship in this test: if the deformation is not expected to be greater than a certain number of μ, the pressure cannot exceed a certain number of N. With these parameters, the tester can roughly infer how much pressure N will produce a certain number of μ deformation. In this way, the maximum pressure value and maximum deformation value that each test point on the hardware controller can withstand can be clearly determined, so that the components corresponding to each test point can be better protected during the design stage of the hardware controller, and the test points of the hardware controller can be correspondingly protected during the assembly, transportation or use stage of the hardware controller, so as to protect the safety of the hardware controller itself and improve the safety of electronic products.
[0053] In some embodiments, the operating unit is further used to perform the following operations and transmit to the FPGA main control unit: receiving a user's instruction to switch the display content of the display screen and / or a user's instruction to adjust the display mode of the display content of the display screen.
[0054] Correspondingly, the display unit displays the pressure parameters of the pressure on each of the n test points determined by the FPGA main control unit and the deformation parameters of the deformation of each of the n test points, including:
[0055] The display unit is further specifically used to display the pressure parameters of the pressure on each of the n test points determined by the FPGA main control unit and the deformation parameters of the deformation at each of the n test points in at least one form of image and curve according to the switching instruction and / or the adjustment instruction, upon receiving the user's switching instruction for the display content of the display screen and / or the user's adjustment instruction for the display mode of the display content of the display screen transmitted by the operating unit.
[0056] Among them, the switching instruction includes at least one of the following: switching to display the pressure parameters of the pressure exerted on different test points among n test points, switching to display the deformation parameters of the deformation occurring at different test points among n test points, switching to display the pressure parameters of the pressure exerted on the same test point among n test points and the deformation parameters of the deformation occurring at the same test point.
[0057] The adjustment instruction includes at least one of the following: when the display unit displays the pressure parameters of the pressure applied to each of the n test points determined by the FPGA main control unit and the deformation parameters of the deformation occurring at each of the n test points in the form of a curve, adjusting the interval of the horizontal axis of the curve and adjusting the amplitude of the vertical axis of the curve.
[0058] When the hardware controller in an electronic product is subjected to external pressure, the printed circuit board (PCB) in the hardware controller and surrounding components will be deformed. When the deformation value is too large, quality problems will occur in the PCB and surrounding components. The deformation value testing device of the hardware controller in an electronic product based on FPGA proposed in the solution of the present invention can collect data of pressure value and deformation value, and reflect the change of the relationship between pressure value and deformation value; and has a real-time interface for data collection, and can display data results in numerical or graphic form, such as being able to display deformation value and pressure value in both numerical or graphic forms.
[0059] When a fixed force is applied, an alarm is triggered when the deformation value of the tested hardware controller exceeds the limit. For example, a company requires that the change value of stress and strain at a certain point cannot exceed the deformation value threshold, such as 600μ. After setting the deformation value threshold, an alarm is triggered if the deformation value collected during the test exceeds 600μ. In addition, there is also a pressure value alarm setting. When some components cannot withstand such a large pressure value or exceed the user's requirements, an alarm will be triggered. Among them, μ is the symbol of the unit of microstrain.
[0060] Figure 6 This is a numerical display interface diagram of an embodiment of a deformation value testing device for a hardware controller in an electronic product based on FPGA of the present invention. Figure 6 In the example shown, the deformation value of channel 1 and the pressure value of channel 2 are displayed; the deformation value of channel 1 is as follows: current value 0μ, maximum value 650μ, minimum value -20μ, alarm value 800μ; the pressure value of channel 2 is as follows: current value 0N, maximum value 40N, minimum value 0N, alarm value 60N.
[0061] Figure 7 This is a schematic diagram of an image display interface of an embodiment of a deformation value testing device for a hardware controller in an electronic product based on FPGA of the present invention. Figure 7 In the example shown, the deformation value of channel 1 and the pressure value of channel 2 are selected through the status bar on the left, so the curve diagram on the right is the curve diagram of the deformation value corresponding to channel 1 and the curve diagram of the pressure value corresponding to channel 2. In the curve diagram of the deformation value corresponding to channel 1, the horizontal axis s represents time, and the vertical axis μ represents the size of the microstrain, and the unit symbol is μ. In the curve diagram of the pressure value corresponding to channel 2, the horizontal axis s represents time, and the vertical axis N represents the size of the pressure value in units of N (Newton).
[0062] The solution of the present invention mainly has two data display interfaces, such as Figure 6 The data display interface shown and Figure 7 The image display interface shown in the two figures only lists some basic elements of numerical display and image display. The data display interface mainly displays the changes of the current deformation value and pressure value in numerical form. The displayed data includes the current value, maximum value, minimum value, and alarm value of the deformation value and pressure value. The interface is relatively simple and can observe multiple sets of data at the same time. When historical data is selected, the channel number, time of each sampling, and value size of these data will be printed. Compared with the numerical display, there will be more detailed acquisition data information. The image display interface displays data in the form of coordinate axes. The curve amplitude or acquisition time can be modified through amplitude adjustment and time adjustment, making the data changes and comparisons more intuitive.
[0063] In some embodiments, the acquisition unit further includes: a pressure acquisition module, such as a pressure acquisition circuit. The pressure acquisition module is disposed at a pressure data acquisition position on the hardware controller, or at a pressure data acquisition position on a pressure thrust rod that applies pressure to the hardware controller, and is used to acquire pressure data of the pressure applied to the hardware controller or acquire pressure data of the pressure applied to the hardware controller when the hardware controller is subjected to pressure.
[0064] The FPGA main control unit obtains the pressure data of the pressure exerted on the hardware controller, including: the FPGA main control unit is specifically used to obtain the pressure data of the pressure exerted on the hardware controller collected by the pressure acquisition module, or obtains the pressure data of the pressure applied to the hardware controller and uses it as the pressure data of the pressure exerted on the hardware controller.
[0065] Figure 2 FIG. 1 is a schematic diagram of the hardware structure of an embodiment of a deformation value testing device for a hardware controller in an electronic product based on FPGA of the present invention. Figure 2 As shown, the deformation value test device of the hardware controller in the FPGA-based electronic product includes: a sensor acquisition circuit, an FPGA main control board, an operation panel and a display. The sensor acquisition circuit includes a deformation acquisition circuit and a pressure acquisition circuit. The deformation acquisition circuit is composed of a strain gauge and a bridge circuit, and the pressure acquisition circuit is composed of a resistive pressure sensor and a bridge circuit. The deformation acquisition circuit, the pressure acquisition circuit, the operation panel and the display are respectively connected to the FPGA main control board.
[0066] exist Figure 2 In the example shown, the strain gauge is set on the test point of the hardware controller under test, and the pressure acquisition circuit is set on the test device. During the test, the force applied by the test device to the hardware controller under test is collected by the pressure acquisition circuit, and the deformation value of the hardware controller under test is collected by the strain gauge to obtain the relationship between the deformation value and the pressure value. When doing some product testing, it is often necessary to measure the changes in stress and strain. For example, a certain network port terminal needs to be tested with a pressure value of 40N (i.e. 40 Newtons) to test the deformation value changes around a certain network port terminal, so that the changes in the deformation values of each test point when each test point is under pressure can be clearly seen. For unqualified test points, technicians can readjust the distance between components or other methods according to the test data to reduce the strain value of the components until the test is qualified.
[0067] In the scheme of the present invention, a test method for multi-point sampling of deformation value parameters and pressure value parameter sampling is provided, which can meet the deformation value testing requirements of hardware controllers in various scenarios, can solve the measurement requirements of deformation value and pressure value changes of hardware controllers in electronic products, and can be applied to various test scenarios such as the assembly, transportation or use process of hardware controllers, and can simultaneously collect deformation values of multiple test points.
[0068] In some implementations, the FPGA main control unit determines the current deformation value of each of the n test points and the current pressure value of the pressure on each test point according to the deformation data of each of the n test points and the pressure data on the pressure on the hardware controller, including:
[0069] The FPGA main control unit is specifically used to perform analog-to-digital conversion on the deformation data of each of the n test points to obtain digital deformation data of the deformation of each of the n test points; and to perform analog-to-digital conversion on the pressure data of the pressure exerted on the hardware controller to obtain digital pressure data of the pressure exerted on the hardware controller.
[0070] The FPGA main control unit is further specifically used to determine, based on a first corresponding relationship between the set deformation data and the set deformation value, the set deformation value corresponding to the set deformation data in the first corresponding relationship that is the same as the digitized deformation data at which each of the n test points is deformed, as the deformation value at which each of the n test points corresponding to the digitized deformation data at which each of the n test points is deformed, as the current deformation value at which each of the n test points is deformed.
[0071] The FPGA main control unit is further specifically used to determine, based on a second corresponding relationship between the set pressure data and the set pressure value, the set pressure value corresponding to the set pressure data in the second corresponding relationship that is identical to the digitized pressure data of the pressure exerted on the hardware controller, as the pressure value corresponding to the digitized pressure data of the pressure exerted on the hardware controller, as the current pressure value of the pressure exerted on each of the n test points; thereby, obtaining the current deformation value of each of the n test points and the current pressure value of the pressure exerted on each test point.
[0072] In the scheme of the present invention, when the hardware controller to be tested is pressed by the thrust test rod, the resistance of the strain gauge will change, and the resistance change signal will be converted into a voltage signal through a bridge circuit. The analog-to-digital conversion circuit (such as ADS8684 chip) connected to the FPGA main control board by means of a wire will convert the voltage signal from an analog signal to a digital signal. The FPGA main control board converts these digital signals into deformation values or pressure values according to the characteristics and parameters of the pressure sensor or strain gauge, and displays the data on a display screen. The FPGA main control board will also perform coordinate mapping processing on the data to more clearly display the deformation value and / or pressure value. The user can select the test point for image display by pressing the buttons on the operation panel, so as to show the relationship between the pressure value and the deformation value in more detail.
[0073] After obtaining the relationship between the pressure value and the deformation value of the hardware controller during the test phase, based on this relationship, the hardware damage rate during assembly, transportation, and use of the hardware controller can be reduced. Excessive deformation values can easily lead to electrical connection problems, damaged welding quality, damaged PCB interlayer connections, reduced PCB mechanical strength, signal integrity problems, thermal management problems, etc. in the hardware controller. For example, during the installation process, the PCB causes excessive deformation values, resulting in welding quality problems in nearby patch components, then this part of the circuit will have problems, affecting the normal function of the circuit. However, if the relationship between the pressure value and the deformation value is known, the technician can judge how far the component needs to be moved again to keep the component within the safe range of the deformation value and reduce the probability of abnormalities.
[0074] The deformation collection generally refers to the deformation value or other parameters of the patch component. For example, the force point is A, and there is a patch component 1, component 2, component 3, and component 4 above, below, left, and right. During the 50N test, only the deformation value of the force point of component 1 (such as ports or buttons that need to be plugged and unplugged frequently) is too large, and the deformation values of the other three components are within the range. In general, it is only necessary to adjust the position of component 1. Generally speaking, the deformation value away from the test point is smaller. After moving the position of component 1, repeat the test. If the current deformation value, minimum deformation value, maximum deformation value and preset deformation alarm value of the test point where component 1 is located are reduced to within the range, then it can be said that the layout of component 1 is reasonable at the stress-strain level.
[0075] In the scheme of the present invention, a monitoring system for deformation values and pressure values is provided. By collecting, converting, coordinate mapping and other processing of data, the data can be displayed in real time in the form of numerical values or images. At the same time, it has the functions of saving data, viewing historical data, etc. It has multiple functions, is easy to use and has an intuitive display.
[0076] In some implementations, the FPGA main control unit determines the minimum pressure value of the pressure on each test point and the minimum deformation value of each test point according to the current deformation value of each test point in the n test points within a set period of time and the current pressure value of the pressure on each test point, and determines the maximum pressure value of the pressure on each test point and the maximum deformation value of each test point, including:
[0077] The FPGA main control unit is further used to determine the minimum value of the current pressure value of each test point as the minimum pressure value of each test point, and determine the maximum value of the current pressure value of each test point as the maximum pressure value of each test point, when the current pressure value of each test point in the n test points changes within a set period of time. And,
[0078] The FPGA main control unit is specifically used to determine the minimum value of the current deformation value of each test point as the minimum deformation value of each test point during the process in which the current deformation value of each test point changes within a set time period, and determine the maximum value of the current deformation value of each test point as the maximum deformation value of each test point; thereby, the minimum pressure value of the pressure on each test point and the minimum deformation value of the deformation, as well as the maximum pressure value of the pressure on each test point and the maximum deformation value of the deformation, are obtained.
[0079] Compared with the related schemes, the scheme of the present invention is as follows: from the application scenario, the related scheme is specifically aimed at the scenario where the computer hardware board is squeezed, and the application scenario is single; while the scheme of the present invention is aimed at more force scenarios of the hardware controller, such as simulating the various processes that will cause deformation values in the transportation, installation or use of the hardware controller. From the implementation method, the related scheme needs to be fixed and simulated by rod extrusion, and the test point may be more limited to its device structure; while in the scheme of the present invention, there is no need to fix during the test, and the pre-configured collection test point can be installed at any point by itself, and then the deformation value is realized manually or in other ways. From the working principle, the deformation value is mainly calculated by the change of the pressure value in the related scheme; while in the scheme of the present invention, what is collected is the change of a deformation value, and the collection method is different. In addition, the related scheme is more inclined to a structural setting, and the test needs to be completed with the help of the host computer; while in the scheme of the present invention, it is more inclined to the aspect of system collection, and there is an operation panel and a display interface, and there are some additional display functions, which can complete the test independently.
[0080] Taking the relevant scheme as an example, the relevant scheme is mainly aimed at the motherboard hardware, and a special structure is required to realize the function of testing its deformation value; while the scheme of the present invention does not require additional structural assistance, but requires the installation of test points and the simulation of the influence of external forces on it, so more force scenarios can be simulated. Among them, the force and deformation value are the same, and all deformation values are deformed only because of the change of force. Therefore, the test principle of the relationship between force and deformation value in various scenarios is the same, but some are the force generated by the hardware controller during installation, some are the pressure values generated by the user pressing the button or plugging and unplugging the interface of the hardware controller, the pressure value of the electronic product in the package, etc., but in fact there is no difference: one is the input of force, and the other is the deformation value generated by the force. For the scenes of simulating these forces, there are actually many methods. The scheme of the present invention lists a tool directly pointing to the thrust test to simulate the effect of external force, but it is not limited to this method. For example, the control screw push mentioned in the relevant scheme is also one of them, which can be flexibly selected according to user needs.
[0081] According to the technical solution of the present invention, a deformation value testing device for a hardware controller in an FPGA-based electronic product is provided, which is composed of at least a sensor acquisition circuit, an FPGA main control board, an operation panel and a display screen, wherein the sensor acquisition circuit at least includes a deformation acquisition circuit, and the deformation acquisition circuit has a strain gauge; the sensor acquisition circuit may also include a pressure acquisition circuit, and the pressure acquisition circuit has a pressure sensor; when the hardware controller needs to be tested, n strain gauges are correspondingly arranged at n test points on the hardware controller, and under the control and setting of the operation panel, when a pressure value is applied to the hardware controller, the deformation value of each test point is obtained from the strain gauge of each test point through the FPGA, and the pressure value of each test point is obtained from the pressure gauge of each test point. The pressure value of each test point is obtained at the force sensor or from the pressure-applying side of each test point, so as to display the pressure value and deformation value of each test point on the display screen. Thus, by performing pressure testing on each test point on the hardware controller and obtaining the deformation value, the corresponding relationship between the pressure value and the deformation value of each test point on the hardware controller is obtained, and the maximum pressure value and the maximum deformation value that each test point on the hardware controller can withstand are clarified, so as to better protect the components corresponding to each test point in the design stage of the hardware controller, and correspondingly protect each test point of the hardware controller during the assembly, transportation or use stage of the hardware controller, so as to protect the safety of the hardware controller itself and improve the safety of electronic products.
[0082] According to an embodiment of the present invention, a method for using a testing device for a hardware controller in an electronic product corresponding to the testing device for a hardware controller in an electronic product is also provided, such as Figure 8The flowchart of one embodiment of the method for using the testing device for the hardware controller in the electronic product of the present invention is shown. The method for using the testing device for the hardware controller in the electronic product may include: steps S110 to S140.
[0083] In step S110, according to the test requirements of the hardware controller to be tested, the n deformation acquisition modules in the test device are correspondingly set at corresponding test points among the n test points on the hardware controller.
[0084] At step S120, when the test device has a pressure acquisition module, a corresponding data channel is set on the FPGA main control unit according to the pressure acquisition module and / or the n deformation acquisition modules.
[0085] At step S130, a start instruction is received to enable the FPGA main control unit to work; the work of the FPGA main control unit includes: receiving deformation data of each of the n test points on the hardware controller collected by the n deformation acquisition modules, and / or obtaining pressure data of the pressure on the hardware controller; and, according to the deformation data of each of the n test points and the pressure data of the pressure on the hardware controller, determining the current deformation value of the deformation of each of the n test points and the current pressure value of the pressure on each test point; and, according to the current deformation value of the deformation of each of the n test points within a set time period and the current pressure value of the pressure on each test point, determining the minimum pressure value of the pressure on each test point and the minimum deformation value of the deformation on each test point, and determining the maximum pressure value of the pressure on each test point and the maximum deformation value of the deformation on each test point.
[0086] At step S140, when the FPGA main control unit is working, the display unit works to display the pressure parameters of the pressure on each test point among the n test points determined by the FPGA main control unit, and the deformation parameters of the deformation of each test point among the n test points; wherein the pressure parameters of the pressure on each test point include: at least one of the current pressure value, the minimum pressure value, and the maximum pressure value of the pressure on each test point; the deformation parameters of the deformation of each test point include: at least one of the current deformation value, the minimum deformation value, and the maximum deformation value of the deformation of each test point.
[0087] Figure 4 The figure is a schematic diagram of the use process of an embodiment of the deformation value testing device of the hardware controller in the electronic product based on FPGA of the present invention. Figure 4 As shown, the use process of the deformation value testing device of the hardware controller in the electronic product based on FPGA includes:
[0088] Step 1: The user needs to first fix the hardware controller to be tested, and then use the strain gauge to fix it on the point to be tested on the hardware controller.
[0089] Step 2: According to the channel information of the strain gauge or pressure sensor installed, set the corresponding channel on the system where the FPGA main control board is located to complete the correspondence of the data channel, and set the alarm value according to the situation.
[0090] Step 3: The user needs to use a thrust test finger with a pressure sensor (such as a thrust test stick) to perform a pressure test. The thrust test stick is a tool used to apply pressure or force, usually used to apply a certain force or pressure on the PCB and its peripheral components in the hardware controller to simulate the pressure value that may be encountered under actual use conditions.
[0091] According to the solution of the present invention, deformation data of corresponding test points among n test points on the hardware controller are collected by n deformation collection modules when the hardware controller is subjected to pressure, thereby obtaining deformation data of each test point among n test points on the hardware controller; receiving deformation data of each test point among n test points on the hardware controller collected by n deformation collection modules and / or obtaining pressure data of pressure to which the hardware controller is subjected, through the FPGA main control unit; and determining the current deformation value of each test point among n test points and the current pressure to which each test point is subjected according to the deformation data of each test point among n test points and the pressure data to which the hardware controller is subjected. value, and determine the maximum pressure value of the pressure on each test point and the maximum deformation value of the deformation at each test point; and through the display unit, display the current pressure value, minimum pressure value, maximum pressure value and preset pressure alarm threshold of the pressure on each test point among the n test points determined by the FPGA main control unit, as well as the current deformation value, minimum deformation value, maximum deformation value and preset deformation alarm value of the deformation at each test point among the n test points, so as to better protect the components corresponding to each test point in the design stage of the hardware controller, and correspondingly protect each test point of the hardware controller during the assembly, transportation or use stage of the hardware controller, so as to protect the safety of the hardware controller itself and improve the safety of electronic products.
[0092] In some embodiments, the method for using the testing device for the hardware controller in the electronic product described in the solution of the present invention further includes: receiving a set deformation alarm threshold and / or pressure alarm threshold as a preset deformation alarm threshold and / or preset pressure alarm threshold.
[0093] Correspondingly, the pressure parameters of the pressure on each test point also include: a preset pressure alarm threshold; the deformation parameters of each test point that undergoes deformation also include: a preset deformation alarm value. In other words, the pressure parameters of the pressure on each test point include: at least one of the current pressure value, the minimum pressure value, the maximum pressure value, and the preset pressure alarm threshold of the pressure on each test point; the deformation parameters of each test point that undergoes deformation include: at least one of the current deformation value, the minimum deformation value, the maximum deformation value, and the preset deformation alarm value of each test point that undergoes deformation.
[0094] The operation of the FPGA main control unit also includes: upon receiving the deformation alarm threshold and / or pressure alarm threshold set by the user transmitted by the operating unit, initiating a pressure alarm message when it is determined that the current pressure value of the pressure on each of the n test points is greater than or equal to the pressure alarm threshold set by the user, and / or initiating a deformation alarm message when it is determined that the current deformation value of each of the n test points is greater than or equal to the deformation alarm threshold set by the user.
[0095] like Figure 4 As shown, the use process of the deformation value testing device of the hardware controller in the FPGA-based electronic product also includes: Step 4, when using a thrust test finger (such as a thrust test rod) with a pressure sensor to perform a pressure test, the system where the FPGA main control board is located displays the changes in the deformation value and the pressure value, and if the detected deformation value, pressure value, etc. exceed the alarm value, an alarm signal is issued.
[0096] In the scheme of the present invention, the operation of comparing the collected data with the alarm value is completed by the FPGA chip (i.e., the FPGA main control board). When the collected data exceeds the set alarm value, the FPGA main control board will drive the buzzer to alarm. By using the thrust rod to apply a pressure value to the hardware controller, when the thrust rod is used to apply a pressure value to the hardware controller, the deformation values of multiple test points on the hardware controller are collected by the strain gauge, and then compared with the pressure value of the pressure sensor on the thrust rod, the corresponding relationship between the pressure value of each test point on the hardware controller and the deformation value of each test point can be obtained. The deformation value of the hardware controller can also be monitored during assembly, transportation or use. The final collected result will be output in the form of a value or image through the display screen. The numerical change of the deformation value is observed during the test process to ensure that it meets the design requirements and industry standards. In this way, the maximum pressure value and the maximum deformation value that each test point on the hardware controller can withstand can be clearly defined, so that the components corresponding to each test point can be better protected in the design stage of the hardware controller, and the test points of the hardware controller can be correspondingly protected in the assembly, transportation or use stage of the hardware controller to protect the safety of the hardware controller itself and improve the safety of electronic products.
[0097] In some embodiments, the method for using the testing device for the hardware controller in the electronic product described in the solution of the present invention further includes: receiving a switching instruction for the display content of the display screen and / or a user's instruction to adjust the display mode of the display content of the display screen.
[0098] Correspondingly, the display unit works to display the pressure parameters of the pressure on each of the n test points determined by the FPGA main control unit, and the deformation parameters of the deformation occurring at each of the n test points, including: upon receiving a user's switching instruction for the display content of the display screen and / or a user's adjustment instruction for the display mode of the display content of the display screen transmitted by the operating unit, the pressure parameters of the pressure on each of the n test points determined by the FPGA main control unit, and the deformation parameters of the deformation occurring at each of the n test points are displayed in at least one form of an image and a curve according to the switching instruction and / or the adjustment instruction.
[0099] Among them, the switching instruction includes at least one of the following: switching to display the pressure parameters of the pressure exerted on different test points among n test points, switching to display the deformation parameters of the deformation occurring at different test points among n test points, switching to display the pressure parameters of the pressure exerted on the same test point among n test points and the deformation parameters of the deformation occurring at the same test point.
[0100] The adjustment instruction includes at least one of the following: when the display unit displays the pressure parameters of the pressure applied to each of the n test points determined by the FPGA main control unit and the deformation parameters of the deformation occurring at each of the n test points in the form of a curve, adjusting the interval of the horizontal axis of the curve and adjusting the amplitude of the vertical axis of the curve.
[0101] like Figure 4 As shown, the use process of the deformation value testing device of the hardware controller in the FPGA-based electronic product also includes: in step 4, the system where the FPGA main control board is located displays the changes in the deformation value and the pressure value, and the user can perform functions such as program pause, image display, and data saving through the interface and buttons on the operation panel.
[0102] In the scheme of the present invention, the data display interface mainly displays the changes of the current deformation value and pressure value in numerical form. The displayed data includes the current value, maximum value, minimum value, and alarm value of the deformation value and pressure value. The interface is relatively simple and multiple sets of data can be observed at the same time. When historical data is selected, the channel number, time of each sampling, and value size of these data will be printed. Compared with the numerical display, there will be more detailed collected data information. The image display interface displays data in the form of coordinate axes, and the curve amplitude or collection time can be modified through amplitude adjustment and time adjustment, making the data changes and comparisons more intuitive.
[0103] Since the processing and functions implemented by the method of this embodiment basically correspond to the embodiments, principles and examples of the aforementioned terminal, for the details not fully described in this embodiment, please refer to the relevant descriptions in the aforementioned embodiments, and no further elaboration will be made here.
[0104] In summary, it is easy for those skilled in the art to understand that, under the premise of no conflict, the above-mentioned advantageous methods can be freely combined and superimposed.
[0105] The above description is only an embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent substitution, improvement, etc. made within the spirit and principle of the present invention shall be included in the scope of the claims of the present invention.
Claims
1. A testing device for a hardware controller in an electronic product, characterized in that: include: Acquisition unit, FPGA main control unit and display unit; The acquisition unit includes: deformation acquisition modules, the number of which is n, where n is a positive integer; wherein: Each of the n deformation acquisition modules is set at a corresponding test point among the n test points on the hardware controller, and is used to collect deformation data of the corresponding test point among the n test points on the hardware controller when the hardware controller is subjected to pressure, so as to obtain deformation data of each test point among the n test points on the hardware controller; The FPGA main control unit is used to receive the deformation data of each of the n test points on the hardware controller collected by the n deformation collection modules, and / or obtain the pressure data of the pressure on the hardware controller; and Determine the current deformation value of each of the n test points and the current pressure value of each of the n test points according to the deformation data of each of the n test points and the pressure data of the pressure on the hardware controller; and According to the current deformation value of each test point in the n test points within the set time period and the current pressure value of the pressure on each test point, determine the minimum pressure value of the pressure on each test point and the minimum deformation value of each test point, and determine the maximum pressure value of the pressure on each test point and the maximum deformation value of each test point; The display unit is used to display the pressure parameters of the pressure on each test point among the n test points determined by the FPGA main control unit, and the deformation parameters of the deformation of each test point among the n test points; wherein the pressure parameters of the pressure on each test point include: at least one of the current pressure value, the minimum pressure value, and the maximum pressure value of the pressure on each test point; the deformation parameters of the deformation on each test point include: at least one of the current deformation value, the minimum deformation value, and the maximum deformation value of the deformation on each test point.
2. The testing device for the hardware controller in the electronic product according to claim 1, characterized in that: Also includes: An operating unit; wherein, The operation unit is used to perform the following operations and transmit them to the FPGA main control unit: receiving a start instruction or a pause instruction issued by a user; Correspondingly, the FPGA main control unit receives the deformation data of each of the n test points on the hardware controller collected by the n deformation collection modules, and / or obtains the pressure data of the pressure on the hardware controller, including: In case of receiving a start instruction transmitted by the operating unit, receiving deformation data of each of the n test points on the hardware controller collected by the n deformation collection modules, and / or obtaining pressure data of the pressure on the hardware controller; and, When receiving a pause instruction transmitted by the operating unit, stop receiving deformation data of each of the n test points on the hardware controller collected by the n deformation collection modules, and stop acquiring pressure data of the pressure applied to the hardware controller.
3. The testing device for the hardware controller in the electronic product according to claim 2, characterized in that: The operating unit is further used to perform the following operations and transmit them to the FPGA main control unit: receiving the deformation alarm threshold and / or pressure alarm threshold set by the user as a preset deformation alarm threshold and / or preset pressure alarm threshold; Correspondingly, the pressure parameter of the pressure on each test point also includes: a preset pressure alarm threshold; the deformation parameter of the deformation at each test point also includes: a preset deformation alarm value; The FPGA main control unit is also used to, upon receiving the deformation alarm threshold and / or pressure alarm threshold set by the user transmitted by the operating unit, initiate a pressure alarm message when it is determined that the current pressure value of the pressure on each of the n test points is greater than or equal to the pressure alarm threshold set by the user, and / or initiate a deformation alarm message when it is determined that the current deformation value of the deformation at each of the n test points is greater than or equal to the deformation alarm threshold set by the user.
4. The testing device for the hardware controller in the electronic product according to claim 2 or 3, characterized in that: The operating unit is further used to perform the following operations and transmit to the FPGA main control unit: receiving a user's instruction to switch the display content of the display screen and / or a user's instruction to adjust the display mode of the display content of the display screen; The display unit displays the pressure parameters of the pressure on each of the n test points determined by the FPGA main control unit and the deformation parameters of the deformation of each of the n test points, including: Upon receiving a user's switching instruction for the display content of the display screen and / or a user's adjustment instruction for the display mode of the display content of the display screen transmitted by the operating unit, displaying the pressure parameters of the pressure on each of the n test points determined by the FPGA main control unit and the deformation parameters of the deformation of each of the n test points in at least one form of an image and a curve according to the switching instruction and / or the adjustment instruction; The switching instruction includes at least one of the following: switching to display the pressure parameters of the pressures on different test points among the n test points, switching to display the deformation parameters of the deformations on different test points among the n test points, switching to display the pressure parameters of the pressures on the same test point among the n test points and the deformation parameters of the deformations on the same test point; The adjustment instruction includes at least one of the following: when the display unit displays the pressure parameters of the pressure applied to each of the n test points determined by the FPGA main control unit and the deformation parameters of the deformation occurring at each of the n test points in the form of a curve, adjusting the interval of the horizontal axis of the curve and adjusting the amplitude of the vertical axis of the curve.
5. The testing device for the hardware controller in the electronic product according to any one of claims 1 to 4, characterized in that: The acquisition unit further includes: a pressure acquisition module; The pressure acquisition module is used to acquire pressure data of the pressure applied to the hardware controller or to acquire pressure data of the pressure applied to the hardware controller when the hardware controller is subjected to pressure; The FPGA main control unit obtains pressure data of the pressure on the hardware controller, including: The pressure data of the pressure on the hardware controller collected by the pressure collection module is obtained, or the pressure data of the pressure applied to the hardware controller is obtained and used as the pressure data of the pressure on the hardware controller.
6. The testing device for the hardware controller in the electronic product according to any one of claims 1 to 5, characterized in that: The FPGA main control unit determines the current deformation value of each of the n test points and the current pressure value of each of the n test points according to the deformation data of each of the n test points and the pressure data of the pressure on the hardware controller, including: Performing analog-to-digital conversion on the deformation data of each of the n test points to obtain digital deformation data of the deformation of each of the n test points; and performing analog-to-digital conversion on the pressure data of the pressure on the hardware controller to obtain digital pressure data of the pressure on the hardware controller; According to a first correspondence between the set deformation data and the set deformation value, the set deformation value corresponding to the set deformation data identical to the digitized deformation data at which each of the n test points is deformed in the first correspondence is determined as the deformation value at which each of the n test points is deformed, corresponding to the digitized deformation data at which each of the n test points is deformed, as the current deformation value at which each of the n test points is deformed; According to the second corresponding relationship between the set pressure data and the set pressure value, the set pressure value corresponding to the set pressure data in the second corresponding relationship that is identical to the digitized pressure data of the pressure exerted on the hardware controller is determined as the pressure value corresponding to the digitized pressure data of the pressure exerted on the hardware controller, and is used as the current pressure value of the pressure exerted on each of the n test points; thereby, the current deformation value of each of the n test points and the current pressure value of the pressure exerted on each test point are obtained.
7. The testing device for the hardware controller in the electronic product according to claim 1 or 6, characterized in that: The FPGA main control unit determines the minimum pressure value of the pressure on each test point and the minimum deformation value of the deformation on each test point according to the current deformation value of each test point in the n test points within the set time period and the current pressure value of the pressure on each test point, and determines the maximum pressure value of the pressure on each test point and the maximum deformation value of the deformation on each test point, including: During the process in which the current pressure value of the pressure on each test point among the n test points changes within a set period of time, the minimum value of the current pressure value of the pressure on each test point is determined as the minimum pressure value of the pressure on each test point, and the maximum value of the current pressure value of the pressure on each test point is determined as the maximum pressure value of the pressure on each test point; and, In the process that the current deformation value of each test point at n test points changes within a set time period, the minimum value of the current deformation value of each test point is determined as the minimum deformation value of each test point, and the maximum value of the current deformation value of each test point is determined as the maximum deformation value of each test point; in this way, the minimum pressure value of the pressure on each test point and the minimum deformation value of the deformation, as well as the maximum pressure value of the pressure on each test point and the maximum deformation value of the deformation are obtained.
8. A method for using the testing device for a hardware controller in an electronic product according to any one of claims 1 to 7, characterized in that: include: According to the test requirements of the hardware controller to be tested, the n deformation acquisition modules in the test device are arranged at corresponding test points among the n test points on the hardware controller; In the case where the test device has a pressure acquisition module, a corresponding data channel is set on the FPGA main control unit according to the pressure acquisition module and / or the n deformation acquisition modules; Receiving a startup instruction to enable the FPGA main control unit to operate; The work of the FPGA main control unit includes: receiving deformation data of each of the n test points on the hardware controller collected by the n deformation collection modules, and / or obtaining pressure data of the pressure on the hardware controller; and Determine the current deformation value of each of the n test points and the current pressure value of each of the n test points according to the deformation data of each of the n test points and the pressure data of the pressure on the hardware controller; and According to the current deformation value of each test point in the n test points within the set time period and the current pressure value of the pressure on each test point, determine the minimum pressure value of the pressure on each test point and the minimum deformation value of each test point, and determine the maximum pressure value of the pressure on each test point and the maximum deformation value of each test point; When the FPGA main control unit is working, the display unit works to display the pressure parameters of the pressure on each test point among the n test points determined by the FPGA main control unit, and the deformation parameters of the deformation occurring at each test point among the n test points; wherein the pressure parameters of the pressure on each test point include: at least one of the current pressure value, the minimum pressure value, and the maximum pressure value of the pressure on each test point; the deformation parameters of the deformation occurring at each test point include: at least one of the current deformation value, the minimum deformation value, and the maximum deformation value of the deformation occurring at each test point.
9. The method for using the testing device for the hardware controller in the electronic product according to claim 8, characterized in that: Also includes: Receiving the set deformation alarm threshold and / or pressure alarm threshold as a preset deformation alarm threshold and / or a preset pressure alarm threshold; Correspondingly, the pressure parameter of the pressure on each test point also includes: a preset pressure alarm threshold; the deformation parameter of the deformation at each test point also includes: a preset deformation alarm value; The operation of the FPGA main control unit also includes: upon receiving the deformation alarm threshold and / or pressure alarm threshold set by the user transmitted by the operating unit, initiating a pressure alarm message when it is determined that the current pressure value of the pressure on each of the n test points is greater than or equal to the pressure alarm threshold set by the user, and / or initiating a deformation alarm message when it is determined that the current deformation value of each of the n test points is greater than or equal to the deformation alarm threshold set by the user.
10. The method for using the testing device for the hardware controller in the electronic product according to claim 8 or 9, characterized in that: Also includes: Receiving a switching instruction for display content of the display screen and / or a user's instruction to adjust the display mode of the display content of the display screen; The display unit works to display the pressure parameters of the pressure on each of the n test points determined by the FPGA main control unit and the deformation parameters of the deformation of each of the n test points, including: Upon receiving a user's switching instruction for the display content of the display screen and / or a user's adjustment instruction for the display mode of the display content of the display screen transmitted by the operating unit, displaying the pressure parameters of the pressure on each of the n test points determined by the FPGA main control unit and the deformation parameters of the deformation of each of the n test points in at least one form of an image and a curve according to the switching instruction and / or the adjustment instruction; The switching instruction includes at least one of the following: switching to display the pressure parameters of the pressures on different test points among the n test points, switching to display the deformation parameters of the deformations on different test points among the n test points, switching to display the pressure parameters of the pressures on the same test point among the n test points and the deformation parameters of the deformations on the same test point; The adjustment instruction includes at least one of the following: when the display unit displays the pressure parameters of the pressure applied to each of the n test points determined by the FPGA main control unit and the deformation parameters of the deformation occurring at each of the n test points in the form of a curve, adjusting the interval of the horizontal axis of the curve and adjusting the amplitude of the vertical axis of the curve.
Citation Information
Cited By
Electrolytic bath tension test system and test method thereof
CN120927482A
