Method, device, computer equipment and storage medium for detecting bill module bottom plate

By automatically detecting the voltage, network connectivity, sensor and motor operation requirements of the ticket module baseboard, the problems of long detection time, large errors and high labor costs in the existing technology are solved, and efficient and accurate detection results are achieved.

CN113253006BActive Publication Date: 2025-09-05SHENZHEN YIHUA COMP +2
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202010123915.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-02-27
Publication Date
2025-09-05
Estimated Expiration
2040-02-27

AI Technical Summary

Technical Problem

In the prior art, detecting defective bill module bottom plates is time-consuming, difficult to operate, has large errors, and high labor costs.

Method used

By acquiring data such as analog voltage values, network connectivity, sensor analog values, and motor speed, the voltage requirements, network connectivity, sensor detection requirements, and motor operation requirements of the ticket module baseboard are automatically detected, and automated detection is performed using computer equipment and storage media.

Benefits of technology

It realizes efficient and accurate detection of defects in the bill module bottom plate, reduces labor input costs and reduces detection errors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113253006B_ABST
    Figure CN113253006B_ABST
Patent Text Reader

Abstract

The present invention relates to a method for detecting a bill module base plate, the method comprising: obtaining an analog voltage value and an actual voltage value of a base plate to be detected, and determining whether the analog voltage value meets voltage requirements based on the actual voltage value; when network connectivity is normal, determining whether the core board meets placement requirements based on a core board upgrade result; obtaining a sensor analog value and a preset analog threshold, and determining whether the sensor analog value meets detection requirements based on the preset analog threshold; calculating a motor speed and determining whether the motor speed meets operational requirements; when the analog voltage value meets voltage requirements, the core board meets placement requirements, the sensor analog value meets detection requirements, and the motor speed meets operational requirements, determining that the base plate to be detected is qualified, which can conveniently and efficiently detect defects in the bill module base plate, reduce detection errors, and also reduce labor input costs. In addition, a detection device, computer equipment, and storage medium for the bill module base plate are also proposed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of electronic testing technology, and in particular to a method, device, computer equipment and storage medium for detecting a bill module bottom plate. Background Art

[0002] Currently, the main method for detecting the defectiveness of the bill module baseboard is for hardware engineers to manually detect whether the circuit is abnormal using hardware detection tools such as multimeters. The main defects of the manual detection method of the baseboard are as follows: (1) It takes a long time. Because the bill baseboard is a high-precision instrument, it integrates many circuits. If the circuit of each module is short-circuited, it will take a long time to detect whether it is short-circuited, which will affect the detection progress. (2) It is difficult to operate. When manually using a multimeter to detect the baseboard circuit, it is necessary to use two red and black electric pens to continuously measure the parameters between two points by comparing them with the circuit schematic diagram, and at the same time check the values ​​on the multimeter display to determine whether the circuit between the two points is normal. The above operations must be completed by professional hardware engineers, and it is difficult for ordinary staff to operate. (3) Large errors. To measure certain data of the circuit board, an oscilloscope is required. For example, when measuring the effect of duty cycle on voltage, the hardware engineer needs to judge the linear relationship between duty cycle and voltage based on the "PWM wave" displayed by the oscilloscope to draw a conclusion. Manual judgment will result in large errors, which will affect the detection results. Summary of the Invention

[0003] Based on this, the present invention proposes a method, device, computer equipment and storage medium for detecting the bottom plate of a bill module, which can conveniently and efficiently detect the defectiveness of the bottom plate of a bill module, reduce detection errors and also reduce labor input costs.

[0004] A method for detecting a bottom plate of a bill module, the method comprising:

[0005] Acquire an analog voltage value of the bottom plate to be tested, acquire an actual voltage value, and determine whether the analog voltage value meets the voltage requirement based on the analog voltage value and the actual voltage value;

[0006] Obtaining a network detection command, obtaining a response from the to-be-detected backplane according to the network detection command, and determining whether the network connectivity of the to-be-detected backplane is abnormal according to the response;

[0007] When the network connectivity is normal, the core board of the to-be-tested backplane is upgraded, and whether the core board meets the placement requirements is determined based on the upgrade result;

[0008] Acquire a sensor simulation value of the bottom plate to be detected, obtain a preset simulation threshold, and determine whether the sensor simulation value meets the detection requirement according to the sensor simulation value and the preset simulation threshold;

[0009] Acquire motor data of the bottom plate to be tested, calculate the motor speed according to the motor data, and determine whether the motor speed meets the operation requirements;

[0010] When the analog voltage value meets the voltage requirement, the core board meets the placement requirement, the sensor analog value meets the detection requirement, and the motor speed meets the operation requirement, it is determined that the bottom board to be detected is qualified.

[0011] In one embodiment, the method further includes: when the analog voltage value does not meet the voltage requirement, or the core board does not meet the placement requirement, or the sensor analog value does not meet the detection requirement, or the motor speed does not meet the operation requirement, determining that the bottom plate to be detected is unqualified; when the bottom plate to be detected is unqualified, obtaining an error code; determining the abnormal point according to the error code, and adjusting the bottom plate to be detected according to the abnormal point; and re-entering the step of obtaining the analog voltage value of the bottom plate to be detected according to the adjusted bottom plate to be detected.

[0012] In one embodiment, obtaining the analog voltage value of the bottom plate to be tested, obtaining the actual voltage value, and determining whether the analog voltage value meets the voltage requirements based on the analog voltage value and the actual voltage value include: collecting power supply voltage data of the bottom plate to be tested, converting the power supply voltage data into an analog voltage value; obtaining a preset error value; and determining whether the analog voltage value meets the voltage requirements based on the analog voltage value, the preset error value, and the actual voltage value.

[0013] In one embodiment, determining whether the network connectivity of the backplane to be detected is abnormal based on the response includes: when a response to the data corresponding to the network detection command is obtained, determining that the network connectivity is normal; when no response to the data corresponding to the network detection command is obtained, determining that the network connectivity is abnormal.

[0014] In one embodiment, when the network connectivity is normal, the core board of the baseboard to be tested is upgraded, and whether the core board meets the placement requirements is determined based on the upgrade result, including: when the core board upgrade is successful, determining that the core board meets the placement requirements; when the core board upgrade fails, determining that the core board does not meet the placement requirements, and re-placing the core board.

[0015] In one embodiment, obtaining the sensor analog value of the bottom plate to be inspected, obtaining a preset analog threshold, and determining whether the sensor analog value meets the inspection requirements based on the sensor analog value and the preset analog threshold include: obtaining a first inspection command, obtaining a first analog value corresponding to the sensor according to the first inspection command; obtaining a first preset analog threshold, judging whether the first analog value is greater than the first preset analog threshold, and when the first analog value is greater than the first preset analog threshold, determining that the first analog value meets the inspection requirements; obtaining a second inspection command, obtaining a second analog value corresponding to the sensor according to the second inspection command; obtaining a second preset analog threshold, judging whether the second analog value is less than the second preset analog threshold, and when the second analog value is less than the second preset analog threshold, determining that the second analog value meets the inspection requirements.

[0016] In one embodiment, obtaining the motor data of the bottom plate to be inspected, calculating the motor speed based on the motor data, and judging whether the motor speed meets the operational requirements include: obtaining the number of code disk pulses, the number of code disk holes, the circumference of the code disk, and the motor running time corresponding to each motor; calculating the motor speed corresponding to each motor based on the number of code disk pulses, the number of code disk holes, the circumference of the code disk, and the motor running time; and judging whether the motor speed corresponding to each motor meets the operational requirements.

[0017] In a second aspect, an embodiment of the present invention provides a device for detecting a bottom plate of a bill module, the device comprising:

[0018] A power detection module is used to obtain an analog voltage value of the backplane to be detected, obtain an actual voltage value, and determine whether the analog voltage value meets the voltage requirement based on the analog voltage value and the actual voltage value;

[0019] A network detection module is configured to obtain a network detection command, obtain a response from the board to be detected according to the network detection command, and determine whether the network connectivity of the board to be detected is abnormal according to the response; when the network connectivity is normal, perform a program upgrade on the core board of the board to be detected, and determine whether the core board meets the placement requirements according to the upgrade result;

[0020] a sensor detection module, configured to obtain a sensor simulation value of the bottom plate to be detected, obtain a preset simulation threshold, and determine whether the sensor simulation value meets the detection requirements based on the sensor simulation value and the preset simulation threshold;

[0021] a motor detection module, configured to obtain motor data of the bottom plate to be detected, calculate the motor speed based on the motor data, and determine whether the motor speed meets the operation requirements;

[0022] The determination module is used to determine that the bottom plate to be detected is qualified when the analog voltage value meets the voltage requirement, the core board meets the placement requirement, the sensor analog value meets the detection requirement and the motor speed meets the operation requirement.

[0023] In a third aspect, an embodiment of the present invention provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor performs the following steps:

[0024] Acquire an analog voltage value of the bottom plate to be tested, acquire an actual voltage value, and determine whether the analog voltage value meets the voltage requirement based on the analog voltage value and the actual voltage value;

[0025] Obtaining a network detection command, obtaining a response from the to-be-detected backplane according to the network detection command, and determining whether the network connectivity of the to-be-detected backplane is abnormal according to the response;

[0026] When the network connectivity is normal, the core board of the to-be-tested backplane is upgraded, and whether the core board meets the placement requirements is determined based on the upgrade result;

[0027] Acquire a sensor simulation value of the bottom plate to be detected, obtain a preset simulation threshold, and determine whether the sensor simulation value meets the detection requirement according to the sensor simulation value and the preset simulation threshold;

[0028] Acquire motor data of the bottom plate to be tested, calculate the motor speed according to the motor data, and determine whether the motor speed meets the operation requirements;

[0029] When the analog voltage value meets the voltage requirement, the core board meets the placement requirement, the sensor analog value meets the detection requirement, and the motor speed meets the operation requirement, it is determined that the bottom board to be detected is qualified.

[0030] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the processor performs the following steps:

[0031] Acquire an analog voltage value of the bottom plate to be tested, acquire an actual voltage value, and determine whether the analog voltage value meets the voltage requirement based on the analog voltage value and the actual voltage value;

[0032] Obtaining a network detection command, obtaining a response from the to-be-detected backplane according to the network detection command, and determining whether the network connectivity of the to-be-detected backplane is abnormal according to the response;

[0033] When the network connectivity is normal, the core board of the to-be-tested backplane is upgraded, and whether the core board meets the placement requirements is determined based on the upgrade result;

[0034] Acquire a sensor simulation value of the bottom plate to be detected, obtain a preset simulation threshold, and determine whether the sensor simulation value meets the detection requirement according to the sensor simulation value and the preset simulation threshold;

[0035] Acquire motor data of the bottom plate to be tested, calculate the motor speed according to the motor data, and determine whether the motor speed meets the operation requirements;

[0036] When the analog voltage value meets the voltage requirement, the core board meets the placement requirement, the sensor analog value meets the detection requirement, and the motor speed meets the operation requirement, it is determined that the bottom board to be detected is qualified.

[0037] The above-described method, apparatus, computer device, and storage medium for inspecting the bottom plate of a bill module obtain test data for each test item and then determine whether each test data meets the corresponding requirements. If each test data meets the corresponding requirements, the bottom plate to be inspected can be determined to have passed the inspection; otherwise, the bottom plate to be inspected can be determined to have failed the inspection. This method can conveniently and efficiently detect defects in the bottom plate of a bill module, reduce inspection errors, and reduce labor costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying any creative work.

[0039] Figure 1 Flowchart of a method for detecting a bottom plate of a bill module according to one embodiment;

[0040] Figure 2 A flowchart for determining whether an analog voltage value meets voltage requirements in one embodiment;

[0041] Figure 3 A flowchart for determining whether a sensor simulation value meets a detection requirement in one embodiment;

[0042] Figure 4 A flowchart for determining whether a motor speed meets operating requirements in one embodiment;

[0043] Figure 5 This is a structural block diagram of a detection device for a bill module bottom plate in one embodiment;

[0044] Figure 6 FIG. 1 is a structural block diagram of a computer device in one embodiment. DETAILED DESCRIPTION

[0045] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0046] like Figure 1 As shown, a method for detecting the bottom plate of a bill module is proposed. The method for detecting the bottom plate of a bill module can be applied to a terminal. This embodiment is described by taking the application to a terminal as an example. The method for detecting the bottom plate of a bill module specifically includes the following steps:

[0047] Step 102: Acquire an analog voltage value of the bottom plate to be detected, acquire an actual voltage value, and determine whether the analog voltage value meets the voltage requirement based on the analog voltage value and the actual voltage value.

[0048] Among them, the bottom plate to be tested refers to the bottom plate of the bill module that needs to be tested; the analog voltage value of the bottom plate to be tested refers to the numerical value of the analog voltage obtained by converting the power supply voltage of the bottom plate to be tested; the actual voltage value refers to the numerical value of the power supply voltage of the bottom plate to be tested actually measured; the voltage requirement refers to the specific requirement for determining whether the power supply voltage of the bottom plate to be tested is short-circuited to the ground. According to the obtained analog voltage value and the actual voltage value, it is determined whether the analog voltage value meets the voltage requirement, and the power supply detection item of the bottom plate to be tested can be detected. In one embodiment, the analog voltage value of the bottom plate to be tested can be collected by controlling an ADC (ADC is an analog-to-digital converter, English: Analog-to-digital converter, which is a type of device used to convert continuous signals in analog form into discrete signals in digital form) to collect the power supply voltage of the bottom plate to be tested, and the collected digital voltage is converted to obtain an analog voltage value. The actual voltage value can be obtained by the user using a multimeter to measure the circuit of the bottom plate to be tested. Whether the analog voltage value meets the voltage requirement is determined based on the analog voltage value and the actual voltage value. The analog voltage value and the actual voltage value can be compared. When the analog voltage value is equal to the actual voltage value, it can be determined that the collected analog voltage value is accurate. Otherwise, it can be determined that the collected analog voltage value is inaccurate.

[0049] Step 104: Obtain a network detection command, obtain a response from the to-be-detected backplane according to the network detection command, and determine whether the network connectivity of the to-be-detected backplane is abnormal according to the response.

[0050] Wherein, the network detection command refers to a test command for detecting the network of the backplane to be detected; the response of the backplane to be detected refers to the response of the backplane to be detected to the network detection command; determining whether the network connectivity of the backplane to be detected is abnormal refers to determining whether the network of the backplane to be detected is connected. When the network of the backplane to be detected is connected, it can be determined that the network connectivity of the backplane to be detected is normal; when the network of the backplane to be detected is not connected, it can be determined that the network connectivity of the backplane to be detected is abnormal. In one embodiment, the network cable can be connected to the network port of the backplane to be detected, and the network detection command can be issued to the backplane to be detected through the network driver. If the data received by "PING" has a response, it can be determined that the network connectivity is normal; otherwise, it can be determined that the network connectivity is abnormal. Wherein, "PING" (Packet Internet Groper) is an Internet packet explorer, a program used to test the amount of network connection. Ping sends an ICMP (Internet Control Messages Protocol) echo request message to the backplane to be detected and reports whether the desired ICMP echo (ICMP echo reply) is received. It is a command used to check whether the network is smooth or the network connection speed. When a response is received from the backplane to be detected through the "PING" operation, it can be determined that the network of the backplane to be detected is normally connected. After determining that the network is normally connected, the core board of the backplane to be detected can be detected.

[0051] Step 106 : When the network connectivity is normal, the core board of the backplane to be tested is upgraded, and whether the core board meets the placement requirements is determined based on the upgrade result.

[0052] Wherein, core board refers to the electronic mainboard inserted through "position slot", core board can be used as the carrier of the program for detecting baseboard to be detected, and the program for detecting baseboard to be detected can be burned into core board by emulator to detect the defectiveness of baseboard to be detected; Upgrade result refers to the result obtained after program upgrade of core board, and upgrade result can include: upgrade success and upgrade failure; Placement requirement refers to the specific requirement for determining whether the placement position of core board is correct. In one embodiment, when the network connectivity of baseboard to be detected is normal, the placement position of core board can be detected, so that the network detection item of baseboard to be detected can be fully detected. It can be that the core board on baseboard to be detected is upgraded through batch file, and upgrade result is obtained, for example, the upgrade result of core board upgrade success or core board upgrade failure can be obtained. It can be determined whether core board meets placement requirement according to obtained upgrade result, for example, when core board upgrade is successful, it can be determined that core board meets placement requirement, and when core board upgrade fails, it can be determined that core board does not meet placement requirement.

[0053] Step 108 : obtaining a sensor simulation value of the bottom plate to be detected, obtaining a preset simulation threshold, and determining whether the sensor simulation value meets the detection requirement based on the sensor simulation value and the preset simulation threshold.

[0054] Wherein, the sensor simulation value refers to the signal simulation value of the sensor on the base plate to be detected; the preset simulation threshold refers to the critical value corresponding to the preset sensor simulation value; and the detection requirement refers to the specific requirement for determining whether the sensor simulation value is qualified. In one embodiment, the sensor simulation value and the preset simulation threshold can be used to determine whether the sensor simulation value meets the detection requirement, thereby enabling the detection of the sensor detection item of the base plate to be detected. For example, the receiving end signal of the through-beam sensor (SC sensor) and the output signal of the U-shaped sensor (PI sensor) of the circuit board of the base plate to be detected can both be simulated by relays. Specifically, by receiving a sensor detection command, the relay can be operated according to the sensor detection command, for example, the relay can be pulled high or disconnected, and then the corresponding sensor simulation value can be read. Then, based on the threshold corresponding to the preset sensor simulation value, it can be determined whether the obtained sensor simulation value meets the detection requirement. The determination of whether the sensor simulation value meets the detection requirement can be made by judging the size relationship between the sensor simulation value and the preset threshold. For example, when the sensor simulation value is not less than the preset threshold, it can be determined that the sensor simulation value meets the detection requirement; when the sensor simulation value is less than the preset threshold, it can be determined that the sensor simulation value does not meet the detection requirement.

[0055] Step 110 , obtaining motor data of the bottom plate to be inspected, calculating the motor speed based on the motor data, and determining whether the motor speed meets the operation requirements.

[0056] The motor data refers to the test data obtained by testing the motor of the test base plate. The test base plate may have multiple motors, each of which operates independently, thereby ensuring that accurate motor data corresponding to each motor is obtained. The motor speed refers to the number of revolutions per unit time of the motor of the test base plate when performing circular motion. The operation requirements refer to the specific requirements for determining whether the motor's operation is qualified. In one embodiment, the motor speed can be calculated based on the acquired motor data, and then the motor operation can be determined based on the motor speed. When the motor is successfully operated, it can be determined that the corresponding motor speed meets the operation requirements, thereby achieving the motor test item inspection of the test base plate. For example, the motor speed corresponding to each motor can be calculated based on the number of code disk pulses, the number of code disk holes, the code disk circumference, and the motor operation time corresponding to each motor. The motor speed corresponding to each motor can be used to determine whether the motor meets the operation requirements. For example, when the motor speed corresponding to a single motor is not zero, it can be determined that the motor is successfully operated, and therefore the motor speed corresponding to the motor meets the operation requirements. When the motor speed corresponding to a single motor is zero, it can be determined that the motor is not successfully operated, and therefore the motor speed corresponding to the motor does not meet the operation requirements.

[0057] Step 112 , when the analog voltage value meets the voltage requirement, the core board meets the placement requirement, the sensor analog value meets the detection requirement, and the motor speed meets the operation requirement, it is determined that the bottom board to be detected is qualified.

[0058] Among them, the inspection of the bottom plate to be inspected is qualified, which means that all the inspection items of the bottom plate to be inspected are qualified. It can be determined by the inspection data of each inspection item whether each inspection item is qualified. When all the inspection data are qualified, it can be determined that there are no abnormal inspection items in the bottom plate to be inspected, so it can be determined that the bottom plate to be inspected is qualified. It can be that each inspection item is inspected synchronously. For example, it can be that the power supply inspection item, network inspection item, sensor inspection item and motor inspection item are inspected at the same time, and the power supply inspection data corresponding to the power supply inspection item, the network inspection data corresponding to the network inspection item, the sensor inspection data corresponding to the sensor inspection item and the motor inspection data corresponding to the motor inspection item are obtained at the same time. When the power supply inspection data, network inspection data, sensor inspection data and motor inspection data obtained at the same time are all qualified, it can be determined that the bottom plate to be inspected is qualified. Alternatively, each detection item may be detected in sequence. For example, the power detection item may be detected first to obtain the power detection data corresponding to the power detection item; the network detection item may be detected secondly to obtain the network detection data corresponding to the network detection item; the sensor detection item may be detected secondly to obtain the sensor detection data corresponding to the sensor detection item; and the motor detection item may be detected last to obtain the motor detection data corresponding to the motor detection item. Thus, the detection data corresponding to each detection item may be obtained in sequence. When each detection data obtained in sequence is qualified, it can be determined that the bottom plate to be detected is qualified. In one embodiment, the detection commands of each detection item may be distinguished by different "frame code values" and sent to the lower computer via the LAN port. The lower computer performs different detection operations after receiving different detection commands. Each detection data may then be collected from the lower computer, and each collected detection data may be fed back to the upper computer via the LAN port according to the protocol between the upper and lower computers. The upper computer may determine whether the collected data is qualified and display the detection results of each detection item, thereby determining whether each detection item is qualified based on the detection results. The power supply detection item, network detection item, sensor detection item, and motor detection item of the baseboard to be detected can be detected separately. When the detection data corresponding to each detection item meets the corresponding requirements, the detection data corresponding to each detection item can be determined to be qualified. Then, each detection item can be determined to be qualified, and thus the baseboard to be detected can be determined to be qualified. For example, when the analog voltage value corresponding to the power supply detection item meets the voltage requirement, the core board corresponding to the network detection item meets the placement requirement, the sensor analog value corresponding to the sensor detection item meets the detection requirement, and the motor speed corresponding to the motor detection item meets the operation requirement, it can be determined that each detection item is qualified, so there are no abnormal detection items on the baseboard to be detected, and thus the baseboard to be detected can be determined to be qualified.

[0059] The above-mentioned inspection method for the bottom plate of the bill module obtains the inspection data of each inspection item respectively, and then determines whether each inspection data meets the corresponding requirements. When each inspection data meets the corresponding requirements, it can be determined that the bottom plate to be inspected is qualified; otherwise, it can be determined that the bottom plate to be inspected is unqualified. It can conveniently and efficiently detect the defectiveness of the bottom plate of the bill module, reduce inspection errors, and also reduce labor input costs.

[0060] In one embodiment, the method for detecting the bottom plate of the ticket module further includes:

[0061] Step 1: When the analog voltage value does not meet the voltage requirement, or the core board does not meet the placement requirement, or the sensor analog value does not meet the detection requirement, or the motor speed does not meet the operation requirement, it is determined that the bottom board to be detected is unqualified.

[0062] Wherein, base plate to be detected detects unqualified, refers to that there is abnormal detection item in each detection item of base plate to be detected, can be to determine respectively whether each detection item is qualified by the detection data of each detection item.When there is abnormal detection item, can determine that base plate to be detected detects unqualified.In one embodiment, can be to detect respectively power supply detection item, network detection item, sensor detection item and motor detection item of base plate to be detected, when the detection data corresponding to each detection item can not all meet corresponding requirement, can determine that the detection item corresponding to the detection data that does not meet corresponding requirement is abnormal, so can determine that there is abnormal detection item in each detection item of base plate to be detected, thereby can determine that base plate to be detected is unqualified.For example, when the analog voltage value corresponding to power supply detection item does not meet voltage requirement or the core board corresponding to network detection item does not meet placement requirement or the sensor analog value corresponding to sensor detection item does not meet detection requirement or the motor speed corresponding to motor detection item does not meet operation requirement, can determine that power supply detection item is abnormal or can determine that network detection item is abnormal or can determine that sensor detection item is abnormal or can determine that motor detection item is abnormal, so there is abnormal detection item in base plate to be detected, thereby can determine that base plate to be detected detects unqualified.

[0063] Step 2: When the bottom plate to be tested fails the test, an error code is obtained.

[0064] Among them, the error code refers to the identification code of the error message. The purpose of obtaining the error code is to determine the specific abnormal problem existing in the unqualified baseboard to be tested by identifying the error code. When the baseboard to be tested fails the test, it can be determined that there are abnormal test items in the baseboard to be tested. In order to accurately locate the abnormality in the abnormal test item, so as to quickly locate the fault and solve the fault in time, the error code can be obtained and the abnormality can be determined based on the error code. In one embodiment, when the baseboard to be tested fails the test, the error code can be obtained from the response packet fed back from the lower computer to the upper computer. For example, when the error code obtained is displayed as 0x40xx, the abnormal point of the baseboard to be tested can be determined based on the error code 0x40xx.

[0065] Step 3: determining an abnormal point according to the error code, and adjusting the bottom plate to be detected according to the abnormal point.

[0066] Wherein, an abnormal point refers to the abnormal part of the unqualified base plate to be detected. Since the error code is the identification code of the error message, the error code can be associated with the error message, and the error part of the base plate to be detected can be obtained according to the error code identification, so the abnormal part of the base plate to be detected can be determined according to the error code, that is, the abnormal point can be determined. In one embodiment, assuming that the error code is 0x40xx or 0x50xx, the abnormal point can be determined according to the above error code. For example, when the error code is 0x50xx, it can be determined that the motor error of the base plate to be detected is. At this time, it can be determined whether the motor is working by reading the motor interface provided by FPGA. If the motor is working normally but the host computer does not receive the success mark, it can be determined that a certain module of the base plate to be detected has a problem, such as: the core board seating slot is not properly inserted or the network port is faulty, and the abnormal point can be obtained as the core board seating slot is not properly inserted or the network port is faulty. According to the determined abnormal point, the base plate to be detected can be adjusted in a targeted manner, for example, adjusting the core board seating slot or processing the network port fault of the base plate to be detected, so that the abnormal point can be cleared in time.

[0067] In another embodiment, assuming the error code is 0x60xx, the abnormality point can be determined based on the error code. For example, when the error code is 0x60xx, it can be determined that a problem has occurred in the hardware module connected to the test baseboard. It can be determined that the lower computer has received the test command, but the hardware module connected to the test baseboard has not performed the test operation, such as the relay not closing or opening or the motor not operating. This is the abnormality point. Based on the determined abnormality point, the test baseboard can be adjusted, for example, by adjusting the relay or motor, so as to promptly eliminate the abnormality point.

[0068] According to the adjusted bottom plate to be detected, the step of obtaining the analog voltage value of the bottom plate to be detected is re-entered.

[0069] The adjusted bottom plate to be tested refers to the bottom plate to be tested after the abnormal points have been cleared. In one embodiment, since there may be one or more abnormal points, each abnormal point needs to be cleared separately until no abnormal points exist in the bottom plate to be tested, thereby obtaining the adjusted bottom plate to be tested. The adjusted bottom plate to be tested can be retested, for example, by re-entering the step of obtaining the analog voltage value of the bottom plate to be tested, thereby achieving retesting of the adjusted bottom plate to be tested. By determining that the bottom plate to be tested fails the test, and then obtaining the error code corresponding to the unqualified bottom plate to be tested, the abnormal point can be quickly located based on the error code, so that the bottom plate to be tested can be adjusted based on the abnormal point. The adjusted bottom plate to be tested can be retested, so that the test results can be automatically obtained and the cause of the fault can be found. The fault can be quickly located based on the cause of the fault, and the bottom plate to be tested can be retested after the fault is cleared. This greatly shortens the test time and can also reduce the test error rate of the bottom plate to be tested.

[0070] like Figure 2 As shown, in one embodiment, obtaining the analog voltage value of the bottom plate to be tested, obtaining the actual voltage value, and determining whether the analog voltage value meets the voltage requirement based on the analog voltage value and the actual voltage value includes:

[0071] Step 202: Collect power supply voltage data of the backplane to be tested, and convert the power supply voltage data into an analog voltage value.

[0072] Wherein, power supply voltage data refers to the voltage-to-ground data of the power supply of the backplane to be detected. When the backplane to be detected is subjected to the detection of the power supply detection item, it can be determined whether the power supply detection item is abnormal by detecting whether the power supply voltage of the backplane to be detected is short-circuited to the ground, so that the power supply voltage data of the backplane to be detected needs to be obtained. In one embodiment, the core board program of the backplane to be detected can be used to control ADC acquisition to obtain the power supply voltage data of the backplane to be detected. The digital voltage converted by the ADC can be converted into an analog voltage value to increase the readability of the power supply voltage data.

[0073] Step 204: Obtain a preset error value.

[0074] The preset error value refers to a pre-set relative error value corresponding to the analog voltage value. Due to hardware differences between acquisition devices, there may be a certain error between the acquired analog voltage value and the actual voltage value, which may lead to inaccurate detection results. Therefore, a relative error value corresponding to the analog voltage value can be pre-set to avoid inaccurate detection caused by hardware differences. In one embodiment, assuming that the preset error value is ±5% of the analog voltage value, the analog voltage value can be obtained to be within the allowable voltage error range of ±5%, thereby obtaining the above-mentioned preset error value.

[0075] Step 206 : Determine whether the simulated voltage value meets the voltage requirement based on the simulated voltage value, the preset error value, and the actual voltage value.

[0076] Since there may be a certain error between the collected analog voltage value and the actual voltage value, a reasonable error range of the analog voltage value can be determined based on the analog voltage value and the preset error value. Then, based on the actual voltage value, it can be determined whether the analog voltage value within the reasonable error range meets the voltage requirements. In one embodiment, assuming the analog voltage value is 5V and the preset error value is 0.25V, the reasonable error range of the analog voltage value is 4.75V to 5.25V. Assuming the actual voltage value is 5.1V, it can be determined that the analog voltage value within the reasonable error range is the same as the actual voltage value, so it can be determined that the analog voltage value meets the voltage requirements.

[0077] In another embodiment, assuming the analog voltage value is 5V and the preset error value is 0.25V, the reasonable error range of the analog voltage value is 4.75V to 5.25V. Assuming the actual voltage value is 5.5V, it can be determined that the analog voltage value within the reasonable error range is different from the actual voltage value, so it can be determined that the analog voltage value does not meet the voltage requirement. By converting the power supply voltage data into an analog voltage value, the readability of the detection data can be increased; based on the preset error value, the problem of inaccurate detection caused by hardware differences can be solved, thereby reducing the error rate of detection and improving detection efficiency.

[0078] In one embodiment, determining whether the network connectivity of the backplane to be detected is abnormal according to the response includes:

[0079] Step 1: Determine whether a response to the data corresponding to the network detection command is obtained. If a response to the data corresponding to the network detection command is obtained, proceed to step 2; if no response to the data corresponding to the network detection command is obtained, proceed to step 3.

[0080] Step 2: Determine whether the network connectivity is normal.

[0081] Since the response of the under-tested backplane refers to the response of the under-tested backplane to the network detection command, when a response to the data corresponding to the network detection command is obtained, it can be determined that the network of the under-tested backplane is connected, and thus the network connectivity of the under-tested backplane can be determined to be normal. In one embodiment, a network detection command can be sent to the under-tested backplane through a network driver, and the response of the "PING" data can be used to determine that the network connectivity is normal. That is, when a response to the data corresponding to the network detection command is obtained, the network connectivity can be determined to be normal.

[0082] Step 3: Determine whether the network connectivity is abnormal.

[0083] Since the response of the backplane to be detected refers to the response of the backplane to be detected to the network detection command, when no response to the data corresponding to the network detection command is obtained, it can be determined that the network of the backplane to be detected is not connected, and thus it can be determined that the network connectivity of the backplane to be detected is abnormal. In one embodiment, a network detection command can be issued to the backplane to be detected through a network driver. When there is no response to the data received by "PING", it can be determined that the network connectivity is abnormal, that is, no response to the data corresponding to the network detection command is obtained, so it can be determined that the network connectivity is abnormal. By judging whether a response to the data corresponding to the network detection command is obtained, it can be determined whether the network connectivity is abnormal. When a response to the data corresponding to the network detection command is obtained, it can be determined that the network of the backplane to be detected is connected, and thus it can be determined that the network connectivity is normal. Otherwise, it can be determined that the network connectivity is abnormal, thereby achieving a simple and efficient detection of network detection items.

[0084] In one embodiment, when the network connectivity is normal, performing a program upgrade on the core board of the backplane to be detected, and determining whether the core board meets the placement requirements according to the upgrade result, includes:

[0085] Step 1: Determine whether the core board is upgraded successfully. If the core board is upgraded successfully, proceed to step 2; if the core board fails to upgrade, proceed to step 3.

[0086] Step 2: Determine whether the core board meets the placement requirements.

[0087] Wherein, core board upgrades successfully, refers to that the detection program on core board upgrades successfully.Because core board is the carrier of detection program, so when core board is carried out program upgrade, if detection program upgrade is successful, then it can be determined that core board is placed correctly, and the core board placed correctly meets placement requirement.In one embodiment, when network connectivity is normal, it can be that the core board on the detection base plate is carried out program upgrade by batch file, when program upgrade is successful, it can be determined that core board is placed correctly, thereby it can be determined that core board meets placement requirement.

[0088] Step 3: Determine that the core board does not meet the placement requirements and re-place the core board.

[0089] Wherein, core board upgrade failure refers to the detection program upgrade failure on core board. Because core board is the carrier of detection program, so when core board is carried out program upgrade, if detection program upgrade failure, then it can be determined that core board is placed incorrectly, the core board placed incorrectly does not meet placement requirements, and the core board that does not meet placement requirements needs to be re-placed. In one embodiment, when network connectivity is normal, it can be that the core board on the detection base plate is carried out program upgrade by batch file, when program upgrade fails, it can be determined that core board is placed incorrectly, thereby it can be determined that core board does not meet placement requirements. When core board does not meet placement requirements, it is necessary to re-place core board until core board meets placement requirements. By carrying out program upgrade to core board, it can be determined whether core board is placed correctly according to upgrade result, when network connectivity is normal, when core board upgrade is successful, it can be determined that core board is placed correctly, thereby it can be determined that core board meets placement requirements; When core board upgrade fails, it can be determined that core board is placed incorrectly, thereby it can be determined that core board does not meet placement requirements, detection operation is simple and efficient, and detection consuming time can be reduced simultaneously.

[0090] like Figure 3 As shown, in one embodiment, obtaining the sensor simulation value of the bottom plate to be detected, obtaining a preset simulation threshold, and determining whether the sensor simulation value meets the detection requirement according to the sensor simulation value and the preset simulation threshold include:

[0091] Step 302: Obtain a first detection command, and obtain a first analog value corresponding to the sensor according to the first detection command.

[0092] Among them, the first detection command refers to the first detection command sent by the upper computer when detecting the sensor detection item; the first analog value refers to the analog value of the corresponding first sensor signal obtained after the detection according to the first detection command. The detection of the sensor detection item can be divided into detection and detection of the through-beam sensor (SC sensor) and the U-type sensor (PI sensor), and the SC sensor receiving end signal and the PI sensor output signal of the circuit board can be simulated by using relays respectively, so as to obtain the sensor analog value. In one embodiment, assuming that the first detection command is a command sent by the upper computer to make the SC sensor "block", assuming that the lower computer pulls up the relay after receiving the first detection command, that is, the relay is disconnected, the AD threshold of the current SC sensor can be obtained, assuming that the AD threshold of the SC sensor is 5V, the above-mentioned AD threshold can be obtained as the first analog value, so that the first analog value corresponding to the sensor can be obtained.

[0093] Step 304 , obtaining a first preset analog threshold, determining whether the first analog value is greater than the first preset analog threshold, and when the first analog value is greater than the first preset analog threshold, determining that the first analog value meets the detection requirement.

[0094] Wherein, the first preset analog threshold refers to the critical value corresponding to the first analog value. Whether the first analog value meets the detection requirements can be determined by judging whether the first analog value is greater than the first preset analog threshold. In one embodiment, it is assumed that the first detection command is a command sent by the host computer to "block" the PI sensor, and it is assumed that the first analog value can be represented by ADH. It is assumed that the first preset analog threshold is 0xA00, where 0xA00 is a hexadecimal value. It is determined whether ADH is greater than 0xA00. When ADH is greater than 0xA00, it can be determined that the PI sensor is blocked, and the first detection command has been successfully executed, so it can be determined that the obtained first analog value meets the detection requirements, otherwise it can be determined that the first analog value does not meet the detection requirements.

[0095] Step 306: Obtain a second detection command, and obtain a second analog value corresponding to the sensor according to the second detection command.

[0096] The second detection command refers to the second detection command sent by the host computer when testing a sensor detection item; the second analog value refers to the analog value of the corresponding second sensor signal obtained after testing according to the second detection command. In one embodiment, assuming that the second detection command is a command sent by the host computer to make the PI sensor "unblocked," and assuming that the slave computer pulls up the relay after receiving the second detection command, that is, the relay is disconnected, the AD threshold of the PI sensor can be obtained. Assuming that the AD threshold of the PI sensor is 5V, the AD threshold can be obtained as the second analog value, thereby obtaining the second analog value corresponding to the sensor.

[0097] Step 308 , obtaining a second preset analog threshold, determining whether the second analog value is less than the second preset analog threshold, and when the second analog value is less than the second preset analog threshold, determining that the second analog value meets the detection requirement.

[0098] Among them, the second preset analog threshold refers to the critical value corresponding to the second analog value. It can be determined whether the second analog value meets the detection requirements by judging whether the second analog value is less than the second preset analog threshold. In one embodiment, it is assumed that the second detection command is a command sent by the host computer to make the PI sensor "unblocked", it is assumed that the first analog value can be represented by ADL, and it is assumed that the first preset analog threshold is 0x300, where 0x300 is a hexadecimal value. Determine whether ADL is less than 0x300. When ADL is less than 0x300, it can be determined that the PI sensor is not blocked, and the second detection command has been successfully executed, so it can be determined that the obtained second analog value meets the detection requirements. Otherwise, it can be determined that the second analog value does not meet the detection requirements. By obtaining the first analog value corresponding to the first detection command, it can be determined whether the first analog value meets the detection requirements according to the first preset analog threshold; by obtaining the second analog value corresponding to the second detection command, it can be determined whether the second analog value meets the detection requirements according to the second preset analog threshold. It can be judged whether the first detection command and the second detection command have been executed respectively, so as to determine whether the sensor analog value meets the detection requirements, and accurately detect the sensor of the bottom plate to be detected, thereby reducing the workload of detection and improving the detection efficiency.

[0099] like Figure 4 As shown, in one embodiment, obtaining the motor data of the bottom plate to be detected, calculating the motor speed according to the motor data, and determining whether the motor speed meets the operation requirements include:

[0100] Step 402: Obtain the number of encoder pulses, the number of encoder holes, the circumference of the encoder, and the motor running time corresponding to each motor.

[0101] The code disk pulse count refers to the number of code disk pulses during each motor's operation. A code disk is a digital encoder that measures angular displacement. The code disk aperture count refers to the number of apertures on the code disk. The code disk circumference refers to the circumference of the code disk. The motor operating time refers to the duration each motor spends operating. In one embodiment, assume that there are nine motors in the bill issuance module, and each motor is tested both forward and reverse. The code disk on the rotor can be used in conjunction with a through-beam sensor to obtain the code disk pulse count, number of apertures, circumference, and motor operating time for each motor during forward and reverse rotation. For example, the through-beam sensor can be used to determine the code disk pulse count C1, C2, ..., C9 during motor operation. Given the code disk aperture count W1, W2, ..., W9, the code disk circumference R1, R2, ..., R9, and the motor operating time T1, T2, ..., T9, the motor operating time can be calculated within the program. Then we can respectively obtain the number of code disk pulses C1, the number of code disk holes W1, the code disk circumference R1, and the motor running time T1 corresponding to the first motor; the number of code disk pulses C2, the number of code disk holes W2, the code disk circumference R2, and the motor running time T2 corresponding to the second motor; and so on; the number of code disk pulses C9, the number of code disk holes W9, the code disk circumference R9, and the motor running time T9 corresponding to the ninth motor, thereby obtaining the number of code disk pulses, the number of code disk holes, the code disk circumference and the motor running time corresponding to each motor.

[0102] Step 404 : Calculate the motor speed corresponding to each motor according to the number of pulses of the code disk, the number of holes of the code disk, the circumference of the code disk, and the running time of the motor.

[0103] In one embodiment, the motor speed corresponding to each motor can be calculated based on the number of code disk pulses, the number of code disk holes, the code disk circumference, and the motor running time. For example, assuming that a motor corresponds to the number of code disk pulses C5, the number of code disk holes W5, the code disk circumference R5, and the motor running time T5, the motor speed corresponding to the motor can be calculated based on the above code disk pulses, the number of code disk holes, the code disk circumference, and the motor running time. Assuming that the motor speed of the motor is V5, V5 can be calculated according to the following formula:

[0104]

[0105] According to the above formula, the motor speed corresponding to each motor can be calculated separately. Assuming that there are 9 motors in total, V1, V2, ..., V9 can be calculated separately.

[0106] Step 406 , determining whether the motor speed corresponding to each motor meets the operation requirements.

[0107] Determining whether the motor speed corresponding to each motor meets the operating requirements refers to determining whether each motor is actually operating. In one embodiment, when the motor speed corresponding to a motor is not zero, it can be determined that the motor corresponding to the motor speed is actually operating, and therefore, it can be determined that the motor speed meets the operating requirements. The motor speed corresponding to each motor that meets the operating requirements can be determined sequentially.

[0108] In another embodiment, when the motor speed corresponding to a motor is zero, it can be determined that the motor corresponding to the motor speed is not operating, and therefore it can be determined that the motor speed does not meet the operating requirements. The motor speed corresponding to each motor that does not meet the operating requirements can be judged in sequence. By calculating the motor speed corresponding to each motor based on the number of code disk pulses, the number of code disk holes, the code disk circumference, and the motor operating time corresponding to each motor, and then judging whether the motor speed corresponding to each motor meets the operating requirements, it is possible to judge whether each motor has been successfully operated based on the motor speed, thereby effectively testing the eligibility of each motor.

[0109] like Figure 5 As shown, an embodiment of the present invention provides a device for detecting a bottom plate of a bill module, characterized in that the device includes:

[0110] The power detection module 502 is used to obtain an analog voltage value of the backplane to be detected, obtain an actual voltage value, and determine whether the analog voltage value meets the voltage requirement based on the analog voltage value and the actual voltage value;

[0111] The network detection module 504 is configured to obtain a network detection command, obtain a response from the board to be detected according to the network detection command, and determine whether the network connectivity of the board to be detected is abnormal based on the response; if the network connectivity is normal, perform a program upgrade on the core board of the board to be detected, and determine whether the core board meets the placement requirements based on the upgrade result;

[0112] A sensor detection module 506 is configured to obtain a sensor simulation value of the bottom plate to be detected, obtain a preset simulation threshold, and determine whether the sensor simulation value meets the detection requirement based on the sensor simulation value and the preset simulation threshold;

[0113] The motor detection module 508 is used to obtain the motor data of the bottom plate to be detected, calculate the motor speed according to the motor data, and determine whether the motor speed meets the operation requirements;

[0114] The determination module 510 is used to determine that the bottom plate to be detected is qualified when the analog voltage value meets the voltage requirement, the core board meets the placement requirement, the sensor analog value meets the detection requirement, and the motor speed meets the operation requirement.

[0115] In one embodiment, the method further includes: determining that the module 510 is also used to determine that the detection of the base plate to be detected is unqualified when the analog voltage value does not meet the voltage requirements, or the core board does not meet the placement requirements, or the sensor analog value does not meet the detection requirements, or the motor speed does not meet the operation requirements; when the detection of the base plate to be detected is unqualified, obtaining an error code; determining the abnormal point according to the error code, and adjusting the base plate to be detected according to the abnormal point; and re-entering the step of obtaining the analog voltage value of the base plate to be detected according to the adjusted base plate to be detected.

[0116] In one embodiment, obtaining the analog voltage value of the baseboard to be detected, obtaining the actual voltage value, and determining whether the analog voltage value meets the voltage requirements based on the analog voltage value and the actual voltage value include: collecting power supply voltage data of the baseboard to be detected, converting the power supply voltage data into an analog voltage value; obtaining a preset error value; the power supply detection module 502 is also used to determine whether the analog voltage value meets the voltage requirements based on the analog voltage value, the preset error value and the actual voltage value.

[0117] In one embodiment, determining whether the network connectivity of the backplane to be detected is abnormal based on the response includes: the network detection module 504 is also used to determine that the network connectivity is normal when a response to the data corresponding to the network detection command is obtained; the network detection module 504 is also used to determine that the network connectivity is abnormal when a response to the data corresponding to the network detection command is not obtained.

[0118] In one embodiment, when the network connectivity is normal, the core board of the baseboard to be detected is upgraded, and whether the core board meets the placement requirements is determined based on the upgrade result, including: the network detection module 504 is also used to determine that the core board meets the placement requirements when the core board upgrade is successful; the network detection module 504 is also used to determine that the core board does not meet the placement requirements when the core board upgrade fails, and replace the core board.

[0119] In one embodiment, the obtaining of the sensor analog value of the bottom plate to be detected, obtaining a preset analog threshold, and determining whether the sensor analog value meets the detection requirements based on the sensor analog value and the preset analog threshold include: the sensor detection module 506 is also used to obtain a first detection command, and obtain a first analog value corresponding to the sensor according to the first detection command; the sensor detection module 506 is also used to obtain a first preset analog threshold, and determine whether the first analog value is greater than the first preset analog threshold, and when the first analog value is greater than the first preset analog threshold, determine that the first analog value meets the detection requirements; the sensor detection module 506 is also used to obtain a second detection command, and obtain a second analog value corresponding to the sensor according to the second detection command; the sensor detection module 506 is also used to obtain a second preset analog threshold, and determine whether the second analog value is less than the second preset analog threshold, and when the second analog value is less than the second preset analog threshold, determine that the second analog value meets the detection requirements.

[0120] In one embodiment, the motor data of the bottom plate to be detected is obtained, the motor speed is calculated based on the motor data, and whether the motor speed meets the operation requirements is determined, including: the motor detection module 508 is also used to obtain the number of code disk pulses, the number of code disk holes, the circumference of the code disk and the motor running time corresponding to each motor; the motor detection module 508 is also used to calculate the motor speed corresponding to each motor based on the number of code disk pulses, the number of code disk holes, the circumference of the code disk and the motor running time; the motor detection module 508 is also used to separately determine whether the motor speed corresponding to each motor meets the operation requirements.

[0121] Figure 6 FIG1 shows an internal structure diagram of a computer device in one embodiment. The computer device may be a terminal. Figure 6 As shown, the computer device includes a processor, a memory and a network interface connected via a system bus. The memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program. When the computer program is executed by the processor, the processor can implement a method for detecting the thickness of a bill. The internal memory may also store a computer program. When the computer program is executed by the processor, the processor can implement a method for detecting the bottom plate of a bill module. The network interface is used to communicate with the outside world. Those skilled in the art will understand that Figure 6 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.

[0122] In one embodiment, the method for detecting the bottom plate of the bill module provided in the present application can be implemented in the form of a computer program. The computer program can be used in Figure 6 The computer device shown in FIG. 1 is executed. The computer device's memory may store various program templates for the detection device that constitutes the bill module base plate, such as a power detection module 502, a network detection module 504, a sensor detection module 506, a motor detection module 508, and a determination module 510.

[0123] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor performs the following steps: obtaining an analog voltage value of a baseboard to be detected, obtaining an actual voltage value, and determining whether the analog voltage value meets voltage requirements based on the analog voltage value and the actual voltage value; obtaining a network detection command, obtaining a response of the baseboard to be detected based on the network detection command, and determining whether the network connectivity of the baseboard to be detected is abnormal based on the response; when the network connectivity is normal, performing a program upgrade on a core board of the baseboard to be detected, and determining whether the core board meets placement requirements based on the upgrade result; obtaining a sensor analog value of the baseboard to be detected, obtaining a preset analog threshold value, and determining whether the sensor analog value meets detection requirements based on the sensor analog value and the preset analog threshold value; obtaining motor data of the baseboard to be detected, calculating a motor speed based on the motor data, and determining whether the motor speed meets operation requirements; when the analog voltage value meets voltage requirements, the core board meets placement requirements, the sensor analog value meets detection requirements, and the motor speed meets operation requirements, determining that the baseboard to be detected has passed the inspection.

[0124] In one embodiment, the method further includes: when the analog voltage value does not meet the voltage requirements, or the core board does not meet the placement requirements, or the sensor analog value does not meet the detection requirements, or the motor speed does not meet the operation requirements, determining that the bottom plate to be detected is unqualified; when the bottom plate to be detected is unqualified, obtaining an error code; determining the abnormal point according to the error code, and adjusting the bottom plate to be detected according to the abnormal point; and re-entering the step of obtaining the analog voltage value of the bottom plate to be detected according to the adjusted bottom plate to be detected.

[0125] In one embodiment, obtaining the analog voltage value of the bottom plate to be tested, obtaining the actual voltage value, and determining whether the analog voltage value meets the voltage requirements based on the analog voltage value and the actual voltage value include: collecting power supply voltage data of the bottom plate to be tested, converting the power supply voltage data into an analog voltage value; obtaining a preset error value; and determining whether the analog voltage value meets the voltage requirements based on the analog voltage value, the preset error value, and the actual voltage value.

[0126] In one embodiment, determining whether the network connectivity of the backplane to be detected is abnormal based on the response includes: when a response to the data corresponding to the network detection command is obtained, determining that the network connectivity is normal; when no response to the data corresponding to the network detection command is obtained, determining that the network connectivity is abnormal.

[0127] In one embodiment, when the network connectivity is normal, the core board of the baseboard to be tested is upgraded, and whether the core board meets the placement requirements is determined based on the upgrade result, including: when the core board upgrade is successful, determining that the core board meets the placement requirements; when the core board upgrade fails, determining that the core board does not meet the placement requirements, and re-placing the core board.

[0128] In one embodiment, obtaining the sensor analog value of the bottom plate to be detected, obtaining a preset analog threshold, and determining whether the sensor analog value meets the detection requirements based on the sensor analog value and the preset analog threshold include: obtaining a first detection command, obtaining a first analog value corresponding to the sensor according to the first detection command; obtaining a first preset analog threshold, judging whether the first analog value is greater than the first preset analog threshold, and when the first analog value is greater than the first preset analog threshold, determining that the first analog value meets the detection requirements; obtaining a second detection command, obtaining a second analog value corresponding to the sensor according to the second detection command; obtaining a second preset analog threshold, judging whether the second analog value is less than the second preset analog threshold, and when the second analog value is less than the second preset analog threshold, determining that the second analog value meets the detection requirements.

[0129] In one embodiment, obtaining the motor data of the bottom plate to be inspected, calculating the motor speed based on the motor data, and judging whether the motor speed meets the operational requirements include: obtaining the number of code disk pulses, the number of code disk holes, the circumference of the code disk, and the motor running time corresponding to each motor; calculating the motor speed corresponding to each motor based on the number of code disk pulses, the number of code disk holes, the circumference of the code disk, and the motor running time; and separately judging whether the motor speed corresponding to each motor meets the operational requirements.

[0130] A computer-readable storage medium stores a computer program, which, when executed by a processor, causes the processor to perform the following steps: obtaining an analog voltage value of a baseboard to be detected, obtaining an actual voltage value, and determining whether the analog voltage value meets voltage requirements based on the analog voltage value and the actual voltage value; obtaining a network detection command, obtaining a response of the baseboard to be detected based on the network detection command, and determining whether the network connectivity of the baseboard to be detected is abnormal based on the response; when the network connectivity is normal, performing a program upgrade on a core board of the baseboard to be detected, and determining whether the core board meets placement requirements based on the upgrade result; obtaining a sensor analog value of the baseboard to be detected, obtaining a preset analog threshold value, and determining whether the sensor analog value meets detection requirements based on the sensor analog value and the preset analog threshold value; obtaining motor data of the baseboard to be detected, calculating a motor speed based on the motor data, and judging whether the motor speed meets operation requirements; determining that the baseboard to be detected has passed the inspection when the analog voltage value meets the voltage requirements, the core board meets the placement requirements, the sensor analog value meets the detection requirements, and the motor speed meets the operation requirements.

[0131] In one embodiment, the method further includes: when the analog voltage value does not meet the voltage requirements, or the core board does not meet the placement requirements, or the sensor analog value does not meet the detection requirements, or the motor speed does not meet the operation requirements, determining that the bottom plate to be detected is unqualified; when the bottom plate to be detected is unqualified, obtaining an error code; determining the abnormal point according to the error code, and adjusting the bottom plate to be detected according to the abnormal point; and re-entering the step of obtaining the analog voltage value of the bottom plate to be detected according to the adjusted bottom plate to be detected.

[0132] In one embodiment, obtaining the analog voltage value of the bottom plate to be tested, obtaining the actual voltage value, and determining whether the analog voltage value meets the voltage requirements based on the analog voltage value and the actual voltage value include: collecting power supply voltage data of the bottom plate to be tested, converting the power supply voltage data into an analog voltage value; obtaining a preset error value; and determining whether the analog voltage value meets the voltage requirements based on the analog voltage value, the preset error value, and the actual voltage value.

[0133] In one embodiment, determining whether the network connectivity of the backplane to be detected is abnormal based on the response includes: when a response to the data corresponding to the network detection command is obtained, determining that the network connectivity is normal; when no response to the data corresponding to the network detection command is obtained, determining that the network connectivity is abnormal.

[0134] In one embodiment, when the network connectivity is normal, the core board of the baseboard to be tested is upgraded, and whether the core board meets the placement requirements is determined based on the upgrade result, including: when the core board upgrade is successful, determining that the core board meets the placement requirements; when the core board upgrade fails, determining that the core board does not meet the placement requirements, and re-placing the core board.

[0135] In one embodiment, obtaining the sensor analog value of the bottom plate to be detected, obtaining a preset analog threshold, and determining whether the sensor analog value meets the detection requirements based on the sensor analog value and the preset analog threshold include: obtaining a first detection command, obtaining a first analog value corresponding to the sensor according to the first detection command; obtaining a first preset analog threshold, judging whether the first analog value is greater than the first preset analog threshold, and when the first analog value is greater than the first preset analog threshold, determining that the first analog value meets the detection requirements; obtaining a second detection command, obtaining a second analog value corresponding to the sensor according to the second detection command; obtaining a second preset analog threshold, judging whether the second analog value is less than the second preset analog threshold, and when the second analog value is less than the second preset analog threshold, determining that the second analog value meets the detection requirements.

[0136] In one embodiment, obtaining the motor data of the bottom plate to be inspected, calculating the motor speed based on the motor data, and judging whether the motor speed meets the operational requirements include: obtaining the number of code disk pulses, the number of code disk holes, the circumference of the code disk, and the motor running time corresponding to each motor; calculating the motor speed corresponding to each motor based on the number of code disk pulses, the number of code disk holes, the circumference of the code disk, and the motor running time; and separately judging whether the motor speed corresponding to each motor meets the operational requirements.

[0137] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program. The program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0138] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0139] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present invention. It should be noted that a person of ordinary skill in the art may make various modifications and improvements without departing from the spirit of the present invention, all of which fall within the scope of protection of the present invention. Therefore, the scope of protection of the present invention shall be determined by the appended claims.

Claims

1. A method for detecting the bottom plate of a bill module, characterized in that: The method comprises: Acquire an analog voltage value of the bottom plate to be tested, acquire an actual voltage value, and determine whether the analog voltage value meets the voltage requirement based on the analog voltage value and the actual voltage value; Obtaining a network detection command, obtaining a response from the to-be-detected backplane according to the network detection command, and determining whether the network connectivity of the to-be-detected backplane is abnormal according to the response; When the network connectivity is normal, the core board of the to-be-tested backplane is upgraded, and whether the core board meets the placement requirements is determined based on the upgrade result; Acquire a sensor simulation value of the bottom plate to be detected, obtain a preset simulation threshold, and determine whether the sensor simulation value meets the detection requirement according to the sensor simulation value and the preset simulation threshold; The step of obtaining a sensor simulation value of the bottom plate to be detected, obtaining a preset simulation threshold, and determining whether the sensor simulation value meets the detection requirement according to the sensor simulation value and the preset simulation threshold includes: Obtain a first detection command, and obtain a first analog value corresponding to the sensor according to the first detection command; Obtaining a first preset analog threshold, determining whether the first analog value is greater than the first preset analog threshold, and determining that the first analog value meets the detection requirement when the first analog value is greater than the first preset analog threshold; Obtain a second detection command, and obtain a second analog value corresponding to the sensor according to the second detection command; Obtaining a second preset analog threshold, determining whether the second analog value is less than the second preset analog threshold, and determining that the second analog value meets the detection requirement when the second analog value is less than the second preset analog threshold; The first analog value is an analog value of a corresponding first sensor signal obtained after detection according to the first detection command, where the sensor signal refers to an SC sensor receiving end signal and a PI sensor output signal; Acquire motor data of the bottom plate to be tested, calculate the motor speed according to the motor data, and determine whether the motor speed meets the operation requirements; When the analog voltage value meets the voltage requirement, the core board meets the placement requirement, the sensor analog value meets the detection requirement, and the motor speed meets the operation requirement, it is determined that the bottom board to be detected is qualified.

2. The method according to claim 1, characterized in that The method further comprises: When the analog voltage value does not meet the voltage requirement, and / or the core board does not meet the placement requirement, and / or the sensor analog value does not meet the detection requirement, and / or the motor speed does not meet the operation requirement, it is determined that the bottom plate to be detected is unqualified; When the bottom plate to be tested fails the test, an error code is obtained; Determine an abnormal point according to the error code, and adjust the bottom plate to be detected according to the abnormal point; According to the adjusted bottom plate to be detected, the step of obtaining the analog voltage value of the bottom plate to be detected is re-entered.

3. The method according to claim 1, characterized in that The step of obtaining an analog voltage value of the bottom plate to be tested, obtaining an actual voltage value, and determining whether the analog voltage value meets the voltage requirement according to the analog voltage value and the actual voltage value includes: Collecting power supply voltage data of the bottom plate to be tested, and converting the power supply voltage data into an analog voltage value; Get the preset error value; Determine whether the analog voltage value meets the voltage requirement according to the analog voltage value, the preset error value, and the actual voltage value.

4. The method according to claim 1, wherein The determining, according to the response, whether the network connectivity of the backplane to be detected is abnormal includes: When a response to the data corresponding to the network detection command is obtained, determining that the network connectivity is normal; When no response to the data corresponding to the network detection command is obtained, it is determined that the network connectivity is abnormal.

5. The method according to claim 1, characterized in that: When the network connectivity is normal, performing a program upgrade on the core board of the backplane to be tested, and determining whether the core board meets the placement requirements according to the upgrade result, including: When the core board is successfully upgraded, determining that the core board meets the placement requirements; When the core board fails to be upgraded, it is determined that the core board does not meet the placement requirements and the core board is relocated.

6. The method according to claim 1, characterized in that The acquiring motor data of the bottom plate to be detected, calculating the motor speed according to the motor data, and determining whether the motor speed meets the operation requirements includes: Get the number of encoder pulses, number of encoder holes, encoder circumference, and motor running time corresponding to each motor; Calculate the motor speed corresponding to each motor according to the number of pulses of the code disk, the number of holes of the code disk, the circumference of the code disk and the running time of the motor; It is determined whether the motor speed corresponding to each motor meets the operation requirements.

7. A detection device for a bill module bottom plate, characterized in that: The device comprises: A power detection module is used to obtain an analog voltage value of the backplane to be detected, obtain an actual voltage value, and determine whether the analog voltage value meets the voltage requirement based on the analog voltage value and the actual voltage value; A network detection module is configured to obtain a network detection command, obtain a response from the board to be detected according to the network detection command, and determine whether the network connectivity of the board to be detected is abnormal according to the response; when the network connectivity is normal, perform a program upgrade on the core board of the board to be detected, and determine whether the core board meets the placement requirements according to the upgrade result; a sensor detection module, configured to obtain a sensor simulation value of the bottom plate to be detected, obtain a preset simulation threshold, and determine whether the sensor simulation value meets the detection requirements based on the sensor simulation value and the preset simulation threshold; The step of obtaining a sensor simulation value of the bottom plate to be detected, obtaining a preset simulation threshold, and determining whether the sensor simulation value meets the detection requirement according to the sensor simulation value and the preset simulation threshold includes: Obtain a first detection command, and obtain a first analog value corresponding to the sensor according to the first detection command; Obtaining a first preset analog threshold, determining whether the first analog value is greater than the first preset analog threshold, and determining that the first analog value meets the detection requirement when the first analog value is greater than the first preset analog threshold; Obtain a second detection command, and obtain a second analog value corresponding to the sensor according to the second detection command; Obtaining a second preset analog threshold, determining whether the second analog value is less than the second preset analog threshold, and determining that the second analog value meets the detection requirement when the second analog value is less than the second preset analog threshold; The first analog value is an analog value of a corresponding first sensor signal obtained after detection according to the first detection command, where the sensor signal refers to an SC sensor receiving end signal and a PI sensor output signal; a motor detection module, configured to obtain motor data of the bottom plate to be detected, calculate the motor speed based on the motor data, and determine whether the motor speed meets the operation requirements; The determination module is used to determine that the bottom plate to be detected is qualified when the analog voltage value meets the voltage requirement, the core board meets the placement requirement, the sensor analog value meets the detection requirement and the motor speed meets the operation requirement.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor is caused to perform the steps of the method according to any one of claims 1 to 6.

9. A computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the processor is caused to perform the steps of the method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • I / O port testing device

    CN101206601A

  • Test device of PCBA

    CN108181573A

  • Fault detecting and diagnosing system for user circuit board of programmed digital telephone switchboard

    CN1132993A