A position sensor board card testing device and testing method
By simulating the signal input environment through position sensor board testing equipment, the problem of difficulty in independently testing the board before integration was solved, thus improving the efficiency of fault location.
Patent Information
- Application Number
- CN202611409161.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-10
- Publication Date
- 2026-11-27
AI Technical Summary
In the existing technology, position sensor boards are difficult to test independently before integration, resulting in low fault location efficiency and difficulty in timely detection of unqualified boards.
A position sensor board testing device is provided, including an industrial control computer system and an interface module. Through a multi-channel signal generation unit, a signal conditioning unit, and a signal detection unit, it simulates the signal input environment of a relative or absolute position sensor to achieve independent testing of the board.
This enables independent testing before the board is integrated into the complete sensor, improving fault location efficiency and narrowing the scope of fault diagnosis.
Smart Images

Figure CN123176384A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of rail transit equipment testing technology, and in particular to a position sensor board testing device and testing method. Background Technology
[0002] During operation, maglev trains rely on relative and absolute position sensors to collect speed and position information, providing a data foundation for train control. Therefore, the proper functioning of the internal functional boards of the relative and absolute position sensors directly impacts their ability to acquire and process relevant signals.
[0003] Currently, relative or absolute position sensors typically integrate their internal control boards, bus boards, power boards, digital boards, and analog boards before using a test bench to perform functional tests on the integrated sensor. Since the testing process relies on the complete sensor and its corresponding signal input environment, it is difficult to perform independent routine tests on individual boards before board integration.
[0004] Therefore, when a circuit board itself has an abnormality, it is often necessary to conduct step-by-step troubleshooting after the sensor integration test shows an abnormality. This not only makes it difficult to detect the unqualified circuit board in a timely manner, but also increases the difficulty of locating the faulty circuit board, affecting the efficiency of circuit board debugging and sensor repair.
[0005] Therefore, there is an urgent need to provide a testing device and method for position sensor boards, so as to enable independent testing of internal boards of the sensor when they are separated from the complete sensor, and to improve the positioning efficiency of faulty boards. Summary of the Invention
[0006] The purpose of this application is to provide a testing device and method for position sensor boards, which solves the problems of difficulty in independently testing sensor boards before integration and low efficiency in fault location.
[0007] To address the aforementioned technical problems, this application provides a position sensor board testing device, including an industrial control computer system and an interface module for connecting the board under test. The industrial control computer system includes a test control unit, a multi-channel signal generation unit, a signal conditioning unit, and a signal detection unit. The test control unit is used to determine a relative position test mode or an absolute position test mode according to the type of the board under test, and acquire preset signal parameters corresponding to the determined test mode. The multi-channel signal generation unit is used to synchronously generate digital signals corresponding to multiple signal channels based on the preset signal parameters and the same system clock, so that different signal channels maintain a preset phase relationship and / or timing relationship. The signal conditioning unit is used to convert the digital signals into analog signals. The system performs signal preprocessing on the analog signal to obtain an analog test signal used to simulate the output state of the coil board of the position sensor. In the relative position test mode, the analog test signal is used to simulate the output state of the coil board when the relative position sensor detects the long stator tooth groove of the track. In the absolute position test mode, the analog test signal is used to simulate the output state of the coil board when the absolute position sensor detects the positioning mark plate. The interface module is used to transmit test signals corresponding to the type of the board under test to the board under test, and transmits the output signals generated by the board under test to the signal detection unit. The test signals include the analog test signal. The signal detection unit is used to acquire the output signal, and the test control unit is also used to obtain the test results of the board under test based on the output signal.
[0008] Furthermore, the preset signal parameters include at least one of signal frequency, signal amplitude, number of channels, and phase delay; the test control unit stores the correspondence between multiple preset operating conditions and multiple preset signal parameters, and obtains the corresponding preset signal parameters according to the selected preset operating condition.
[0009] Furthermore, the preset operating conditions include operating speed, with different operating speeds corresponding to different signal frequencies; the test control unit is used to obtain the corresponding signal frequency according to the selected operating speed, and the multi-channel signal generation unit is used to generate digital signals according to the signal frequency.
[0010] Furthermore, the multi-channel signal generation unit includes a field-programmable gate array (FPGA) and a clock unit; the clock unit is used to provide a system clock to the FPGA; the FPGA is used to generate digital signals corresponding to multiple signal channels based on the system clock, and adjust the phase relationship and / or timing relationship between different signal channels according to preset signal parameters.
[0011] Furthermore, the signal conditioning unit includes a digital-to-analog conversion unit and a signal preprocessing unit; the digital-to-analog conversion unit is used to convert digital signals into analog signals; the signal preprocessing unit is used to perform at least one of amplitude calibration, impedance matching and low-pass filtering on the analog signals so that the output electrical characteristics of the obtained analog test signal match the output electrical characteristics of the simulated position sensor coil board.
[0012] Furthermore, the interface module includes an adapter and a signal adapter chassis; the signal adapter chassis is used to install the board under test, and the signal adapter chassis contains a signal adapter card, which has an electrical interface corresponding to the board under test; the adapter is connected between the industrial control computer system and the signal adapter chassis, and is used to transmit test signals between the industrial control computer system and the board under test.
[0013] To address the aforementioned technical problems, this application also provides a method for testing position sensor boards, applied to a position sensor board testing device. The device includes an industrial control computer system and an interface module for connecting the board under test. The industrial control computer system includes a test control unit, a multi-channel signal generation unit, a signal conditioning unit, and a signal detection unit. The method includes: determining a relative position test mode or an absolute position test mode based on the type of the board under test, and acquiring preset signal parameters corresponding to the determined test mode; controlling the multi-channel signal generation unit to synchronously generate digital signals corresponding to multiple signal channels based on the same system clock according to the preset signal parameters, so that different signal channels maintain a preset phase relationship and / or timing relationship; controlling the signal conditioning unit to convert the digital signals into analog signals and preprocessing the analog signals to obtain analog test signals used to simulate the output state of the position sensor coil board; controlling the interface module to input the analog test signals into the board under test, so that the board under test generates an output signal based on the analog test signals; and controlling the signal detection unit to acquire the output signals and obtain the test results of the board under test based on the output signals.
[0014] Furthermore, obtaining the preset signal parameters corresponding to the determined test mode includes: obtaining the selected preset operating condition; obtaining the preset signal parameters corresponding to the preset operating condition based on the correspondence between multiple preset operating conditions and multiple preset signal parameters; the preset signal parameters include at least one of signal frequency, signal amplitude, number of channels, and phase delay.
[0015] Furthermore, the preset operating conditions include operating speed, with different operating speeds corresponding to different signal frequencies; obtaining the target operating speed, obtaining the signal frequency corresponding to the target operating speed according to the preset correspondence between operating speed and signal frequency, and controlling the multi-channel signal generation unit to generate the corresponding digital signal according to the signal frequency to simulate the coil board output state of the position sensor at the target operating speed.
[0016] Furthermore, the control signal conditioning unit converts the digital signal into an analog signal and performs signal preprocessing on the analog signal, including: the control signal conditioning unit performs digital-to-analog conversion on the digital signal to obtain an analog signal; the control signal conditioning unit performs at least one of amplitude calibration, impedance matching and low-pass filtering on the analog signal to make the output electrical characteristics of the obtained analog test signal match the output electrical characteristics of the simulated position sensor coil board.
[0017] The position sensor board testing equipment provided in this application determines the relative position test mode or absolute position test mode according to the type of the board under test and obtains the corresponding preset signal parameters, enabling the testing equipment to form corresponding test conditions for different types of position sensor boards. Furthermore, a multi-channel signal generation unit synchronously generates digital signals corresponding to multiple signal channels based on the same system clock, ensuring that different signal channels maintain preset phase and / or timing relationships. After signal conditioning, a simulated test signal is obtained to simulate the output state of the position sensor coil board. This allows for the simulation of the actual signal input environment of relative or absolute position sensors without the need for a real track long stator structure, positioning marker plate, or real coil board. Therefore, the simulated test signal can be directly input to the board under test, and the test results can be obtained based on the output signal generated by the board under test. This enables independent testing of relative and absolute position sensor boards, facilitating the discovery of abnormal boards before integration into a complete sensor system, narrowing the scope of fault diagnosis when sensor failures occur, and improving the efficiency of board testing and fault location.
[0018] In addition, this application also provides a method for testing a position sensor board, which corresponds to the aforementioned position sensor board testing equipment and has the same effect. Attached Figure Description
[0019] To more clearly illustrate the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0020] Figure 1 This is a schematic diagram of a position sensor board testing device provided in an embodiment of this application; Figure 2 This is a schematic diagram of a test board and corresponding test items provided in an embodiment of this application; Figure 3 This is a schematic flowchart of a position sensor board testing method provided in an embodiment of this application.
[0021] The annotations in the attached figures are explained as follows: 100 - Industrial control computer system; 110 - Test control unit; 120 - Multi-channel signal generation unit; 121 - Field programmable gate array; 122 - Clock unit; 130 - Signal conditioning unit; 131 - Digital-to-analog converter unit; 132 - Signal preprocessing unit; 140 - Signal detection unit; 200 - Interface module; 210 - Adapter; 220 - Signal conversion chassis; 300 - Board under test. Detailed Implementation
[0022] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the protection scope of this application.
[0023] The core of this application is to provide a testing device and method for a position sensor board.
[0024] To enable those skilled in the art to better understand the present application, the present application will be further described in detail below with reference to the accompanying drawings and specific embodiments.
[0025] like Figure 1As shown, a position sensor board testing device includes an industrial control computer system 100 and an interface module 200 for connecting the board under test 300. The industrial control computer system 100 includes a test control unit 110, a multi-channel signal generation unit 120, a signal conditioning unit 130, and a signal detection unit 140. The test control unit 110 is used to determine a relative position test mode or an absolute position test mode according to the type of the board under test 300, and acquire preset signal parameters corresponding to the determined test mode. The multi-channel signal generation unit 120 is used to synchronously generate digital signals corresponding to multiple signal channels based on the preset signal parameters and the same system clock, so that the different signal channels maintain a preset phase relationship and / or timing relationship. The signal conditioning unit 130 converts digital signals into analog signals and preprocesses the analog signals to obtain analog test signals for simulating the output state of the position sensor coil board. In relative position test mode, the analog test signals are used to simulate the coil board output state when the relative position sensor detects the long stator tooth groove of the track; in absolute position test mode, the analog test signals are used to simulate the coil board output state when the absolute position sensor detects the positioning mark plate. The interface module 200 transmits test signals corresponding to the type of the board under test 300 to the board under test 300, and transmits the output signals generated by the board under test 300 to the signal detection unit 140. The test signals include analog test signals. The signal detection unit 140 acquires the output signals, and the test control unit 110 also obtains the test results of the board under test 300 based on the output signals.
[0026] This embodiment can be applied to routine incoming testing, pre-assembly testing, and troubleshooting of internal circuit boards for relative and absolute position sensors in maglev trains.
[0027] The test control unit 110 can be implemented by a test program in an industrial control computer, used to manage test modes, test parameters, test sequence, and result judgment. The board under test 300 can be an absolute position sensor main control board, bus board, power supply board, or a relative position sensor bus board, digital board, or analog board. For boards requiring position sensing input, the test signal can be an analog test signal simulating the output state of the position sensor coil board; for power supply boards, bus boards, and other boards that do not use the coil board's analog signal as their primary input, the test signal can also include power supply test signals, communication test signals, or continuity detection signals. Therefore, analog test signals are one type of test signal, and it is not required that all types of boards under test 300 use analog test signals as their sole input.
[0028] When the equipment is operating, the test control unit 110 first selects either a relative position test mode or an absolute position test mode based on the type of the board under test 300, and then provides the corresponding preset signal parameters to the multi-channel signal generation unit 120. After the multi-channel signal generation unit 120 generates multiple digital signals, the signal conditioning unit 130 converts and processes these digital signals into analog test signals that can be input to the board under test 300. The analog test signals are transmitted to the board under test 300 via the interface module 200. The board under test 300 processes the input and generates corresponding outputs, which are then returned to the signal detection unit 140 via the interface module 200. The test control unit 110 compares the detection results with the preset output information under the corresponding test conditions to determine whether the test is qualified, abnormal, or a specific test item status. Therefore, the board under test 300 can be tested even without being combined with all the boards of a complete position sensor.
[0029] It should be noted that the test control unit 110, multi-channel signal generation unit 120, signal conditioning unit 130, and signal detection unit 140 establish signal communication according to the formation and detection process of the test signal. The test control unit 110 provides the test mode and preset signal parameters to the multi-channel signal generation unit 120. The multi-channel signal generation unit 120 provides the generated multiple digital signals to the signal conditioning unit 130. After the signal conditioning unit 130 generates an analog test signal, it transmits it to the board under test 300 via the interface module 200. The output signal generated by the board under test 300 is then returned to the signal detection unit 140 via the interface module 200. The signal detection unit 140 provides the acquired or detected data to the test control unit 110. Therefore, the test control unit 110 can both control the test input conditions and use the output signals under the corresponding input conditions to complete the result determination. Figure 1 The arrows in the diagram are used to indicate the transmission relationship between the test signal, the output signal, and the test result.
[0030] In this embodiment, the type of board under test (BUT) can be used to determine the input conditions required for the BUT 300 to operate normally and the output content to be detected. For example, for a main control board, digital board, or analog board that needs to receive coil board signals, a multi-channel signal generation unit 120 and a signal conditioning unit 130 can generate an analog test signal corresponding to the output state of the coil board; for a power supply board, an interface module 200 can transmit test power and a signal detection unit 140 can detect the output after voltage conversion; for a bus board, an interface module 200 can transmit communication test signals or continuity detection signals. In other words, the test signals transmitted by the interface module 200 are determined according to the board type. The analog test signals are used to solve the problem that real coil boards and real track environments are difficult to directly use for single-board testing, while power supply, communication, and continuity detection signals are used to supplement the independent test conditions of other types of boards.
[0031] Test results can be determined using different methods for different test items. For numerical outputs such as frequency and voltage, the detected value can be compared with the corresponding allowable range; for waveform outputs, the waveform shape, frequency, or phase can be compared to see if they meet preset requirements; for diagnostic signals, the state of each bit can be read and compared with preset diagnostic states; for absolute position information, the parsed position information, coil state, and running direction can be compared with the information set before the test begins; for line continuity, the line state can be determined based on whether the receiving end detects the expected level. Through the above methods, the signal detection unit 140 and the test control unit 110 can form corresponding result judgments for different boards, without having to install all boards as complete sensors before making a unified judgment.
[0032] In summary, the position sensor board testing equipment provided in this application determines the relative position test mode or absolute position test mode according to the type of the board under test and obtains the corresponding preset signal parameters, enabling the testing equipment to form corresponding test conditions for different types of position sensor boards. Furthermore, the multi-channel signal generation unit synchronously generates digital signals corresponding to multiple signal channels based on the same system clock, ensuring that different signal channels maintain preset phase and / or timing relationships. After signal conditioning, a simulated test signal is obtained to simulate the output state of the position sensor coil board. This allows for the simulation of the actual signal input environment of relative or absolute position sensors without the need for a real track long stator structure, positioning marker board, or real coil board. Therefore, the simulated test signal can be directly input to the board under test, and the test results can be obtained based on the output signal generated by the board under test. This enables independent testing of relative and absolute position sensor boards, facilitating the discovery of abnormal boards before integration into a complete sensor system, narrowing the scope of fault diagnosis when sensor failures occur, and improving the efficiency of board testing and fault location.
[0033] Furthermore, in order to enable the test equipment to reproduce the position sensor input under different operating conditions, based on the above embodiments, the preset signal parameters include at least one of signal frequency, signal amplitude, number of channels and phase delay; the test control unit 110 stores the correspondence between multiple preset operating conditions and multiple preset signal parameters, and obtains the corresponding preset signal parameters according to the selected preset operating condition.
[0034] Preset operating conditions can represent the test state of the train at a certain operating speed, position, or direction. Each preset operating condition can correspond to a set of signal parameters, which can be stored in the form of parameter tables, configuration files, or pre-stored data records. For example, when it is necessary to change the simulated operating speed, the signal frequency can be changed; when it is necessary to change the positional relationship between multiple coil signals, the phase delay can be changed; when only some coil channels need to participate in a certain test state, the number of channels can be changed. The signal amplitude can be set according to the output level range of the coil board to be simulated.
[0035] The test control unit 110 can read the corresponding signal parameters according to the operating conditions selected by the operator, or it can read multiple sets of signal parameters sequentially according to a pre-set test sequence. Therefore, without changing the actual track structure or actual coil board, different test conditions can be created by varying the parameters, allowing the same test equipment to adapt to multiple test states.
[0036] In practical use, multiple preset operating conditions can be established for relative position test modes and absolute position test modes, respectively. For example, in relative position test mode, multiple sets of parameters can be saved according to different running speeds and phase states; in absolute position test mode, multiple sets of parameters can be saved according to different positioning mark encoding states, coil states, or running directions. After determining the test mode, the test control unit 110 only calls the parameter set matching the current mode, thereby avoiding the mixing of parameters from different types of position sensors. For the same operating condition, multiple sets of allowed parameter values can also be saved for testing boards from different batches or with different interface requirements.
[0037] Each parameter in the preset signal parameters can be applied to different characteristics of the simulated test signal. Signal frequency limits the rate of periodic change, signal amplitude limits the output level range, number of channels determines the signal channels involved in the output, and phase delay determines the time or phase offset of the corresponding channel relative to the reference channel. Multiple parameters can be changed simultaneously, or only one parameter can be adjusted to observe the processing results of the board under test (Board 300) on changes in the target parameters while keeping other input conditions constant.
[0038] Furthermore, the preset operating conditions include operating speed, with different operating speeds corresponding to different signal frequencies; the test control unit 110 is used to obtain the corresponding signal frequency according to the selected operating speed, and the multi-channel signal generation unit 120 is used to generate digital signals according to the signal frequency.
[0039] When the speed of the maglev train changes, the frequency of the periodic signal sensed by the coil plate of the relative position sensor or absolute position sensor changes accordingly. Therefore, a correspondence between the operating speed and the signal frequency can be established in advance. During testing, the test control unit 110 acquires the target operating speed, determines the target signal frequency according to the correspondence, and provides the target signal frequency as a preset signal parameter to the multi-channel signal generation unit 120. The multi-channel signal generation unit 120 generates digital signals for each channel according to the target signal frequency, and after signal conditioning, forms an analog test signal corresponding to the operating speed.
[0040] The correspondence between operating speed and signal frequency can be pre-calibrated and saved based on the actual acquisition characteristics of the position sensor, or it can be directly called according to a predetermined parameter table. This embodiment does not limit the number of operating speeds; each speed point can be set discretely, or multiple speed test points can be set according to a preset step size within the allowable range of the device.
[0041] For example, when establishing the correspondence between operating speed and signal frequency, parameter records can be generated based on the coil board output frequencies obtained by the real position sensor at different speed states, and the speed values are associated with and saved with the corresponding frequency values. During testing, it is not required to re-obtain the real coil board signal; only the saved frequency values need to be read according to the target operating speed. For a target operating speed located between two saved speed points, parameter records for the corresponding speed points can be added in advance, or nearby preset speed points can be selected for testing according to the test requirements. The focus of this embodiment is to utilize a pre-determined speed-frequency correspondence to form repeatable test inputs.
[0042] Furthermore, such as Figure 1 As shown, the multi-channel signal generation unit 120 includes a field-programmable gate array (FPGA) 121 and a clock unit 122; the clock unit 122 is used to provide a system clock to the FPGA 121; the FPGA 121 is used to generate digital signals corresponding to multiple signal channels based on the system clock, and adjust the phase relationship and / or timing relationship between different signal channels according to preset signal parameters.
[0043] Clock unit 122 can provide a high-frequency clock reference, and multiple signal channels in field-programmable gate array 121 share this system clock. Each signal channel can correspond to a set of induction coil outputs on a real coil board. Since multiple channels have a common time reference, the start time, period, and phase delay between different channels can be controlled according to preset values, reducing timing drift caused by each channel timing separately.
[0044] For example, in relative position testing mode, different channels can maintain a phase relationship corresponding to the detection state of the long stator tooth groove; after the test control unit 110 changes the phase delay, the field-programmable gate array 121 adjusts the output time of at least one digital signal relative to the reference channel according to the new phase delay. In absolute position testing mode, different channels can form corresponding channel states and timing combinations according to the coding state of the positioning marker plate. In addition to the field-programmable gate array 121, multi-channel digital signals can also be implemented by programmable logic devices with multi-channel synchronous output capability, as long as they can share a unified time base and maintain the set channel relationship.
[0045] The purpose of sharing a system clock among multiple signal channels is to ensure that the time bases of each channel are consistent. If multiple channels use independent time bases, even if each channel is set to the same frequency, relative time offsets may still occur as the output time increases, causing changes in the phase or timing relationships that should be maintained. By using clock unit 122 to provide a unified system clock to field-programmable gate array 121, each channel can determine the waveform period and output time based on the same timing base, thereby keeping the channel relationships within a preset range during the test.
[0046] Phase delay can be understood as the output time difference between the target channel and the reference channel. When the test control unit 110 changes the phase delay, the field-programmable gate array 121 changes the digital signal output time of the target channel accordingly, while the reference channel still outputs based on the system clock. Thus, multiple phase states can be formed without changing the board connections. For tests that only require maintaining timing sequence and do not require a fixed phase difference, the start time or state switching time of each channel can also be controlled according to a preset timing relationship.
[0047] Furthermore, such as Figure 1 As shown, the signal conditioning unit 130 includes a digital-to-analog conversion unit 131 and a signal preprocessing unit 132; the digital-to-analog conversion unit 131 is used to convert digital signals into analog signals; the signal preprocessing unit 132 is used to perform at least one of amplitude calibration, impedance matching and low-pass filtering on the analog signals so that the output electrical characteristics of the obtained analog test signal match the output electrical characteristics of the simulated position sensor coil board.
[0048] The digital-to-analog converter unit 131 can employ a digital-to-analog converter (DAC) to convert the digital waveform generated by the field-programmable gate array 121 into a continuous analog signal. Amplitude calibration in the signal preprocessing unit 132 is used to adjust the analog signal to the target level range; impedance matching is used to ensure that the output impedance and load capacity correspond to the electrical characteristics of the coil board to be simulated; and low-pass filtering is used to suppress unwanted high-frequency components after digital-to-analog conversion, making the output waveform closer to the output of the actual coil board.
[0049] In an optional approach, operational amplifier follower circuitry can be used in absolute position test mode to buffer and level-adapt the analog signal, thereby improving the adaptability of the output signal to the input terminals of the board under test. One or more of the amplitude calibration, impedance matching, low-pass filtering, and follower processing described above can be selected based on the interface requirements of the board under test; it is not required that all processing be performed for every test.
[0050] The purpose of signal preprocessing is not to alter the information being simulated, but rather to ensure that the analog signal obtained from the digital-to-analog conversion exhibits electrical characteristics at the input terminals of the board under test (BUT) corresponding to those of the actual coil board. Amplitude deviations may cause the input terminals of the BUT to enter different recognition ranges, differences in output impedance and load capacity may alter the actual voltage level after connection to the board, and high-frequency components generated by the digital-to-analog conversion may also affect waveform quality. Therefore, amplitude calibration parameters, impedance matching methods, and filtering conditions for each output channel can be determined during the test equipment debugging phase, and channel checks should be performed before formal testing. By controlling digital waveform generation and analog signal processing separately, it is possible to simultaneously ensure that the signal content and output electrical characteristics meet the test requirements.
[0051] Furthermore, such as Figure 1 As shown, the interface module 200 includes an adapter 210 and a signal adapter chassis 220; the signal adapter chassis 220 is used to install the board under test 300, and a signal adapter card is provided inside the signal adapter chassis 220. The signal adapter card has an electrical interface corresponding to the board under test 300; the adapter 210 is connected between the industrial control computer system 100 and the signal adapter chassis 220, and is used to transmit test signals between the industrial control computer system 100 and the board under test 300.
[0052] The signal adapter chassis 220 can adopt a drawer-type structure. During testing, the chassis is pulled out, allowing the board under test 300 to be installed horizontally and connected to the corresponding signal adapter card. The signal adapter card provides corresponding electrical interfaces according to the connector type of different boards, leading power supply, analog signals, digital signals, and communication signals to the adapter 210. The adapter 210 is located between the industrial control computer system 100 and the signal adapter chassis 220, and is used to complete the adaptation and transmission of different test channels.
[0053] In one practical layout, the industrial computer and single-board test chassis can be rack-mounted, for example, using 4U and 3U specifications respectively, where U represents a rack unit (U). The signal adapter chassis 220 can be connected to the adapter 210 via a cable of approximately 20cm to 30cm. Each functional module can be independently disassembled and arranged according to the actual test station configuration to facilitate the replacement of different types of signal adapter cards or boards under test 300. The above dimensions and connection lengths are for illustrating one possible implementation and do not constitute a limitation on the equipment dimensions.
[0054] The signal adapter chassis 220 serves as a direct mounting location between the board under test (DUT) 300 and the test equipment, allowing different boards to be configured with signal adapters corresponding to their connectors. When replacing the DUT 300, the corresponding signal adapter can be replaced or connected to the appropriate test station, while the test control, signal generation, signal conditioning, and signal detection components of the industrial control computer system 100 can continue to be used. Thus, when testing the absolute position sensor main control board, bus board, power supply board, and relative position sensor bus board, digital board, and analog board, the electrical connections can be changed through interface-side adaptation, eliminating the need to set up a separate complete industrial control computer system 100 for each type of board.
[0055] Adapter 210 can transmit different types of signals between the industrial control computer system 100 and the signal adapter chassis 220 according to the test items. For example, the analog output channel is used to transmit analog test signals, the digital input / output channel can be used to transmit status quantities or on / off detection levels, the communication channel can be used to transmit serial communication data, and the power supply channel can provide the corresponding test voltage to the board under test 300. The above different channels are connected to the corresponding pins of the board under test 300 via the signal adapter card, so that the test program can select the channel to be enabled according to the board type.
[0056] like Figure 3 As shown, this embodiment provides a method for testing position sensor boards, applied to a position sensor board testing device including an industrial control computer system 100 and an interface module 200. The industrial control computer system 100 includes a test control unit 110, a multi-channel signal generation unit 120, a signal conditioning unit 130, and a signal detection unit 140. The method includes steps S101 to S105.
[0057] Step S101: Determine the relative position test mode or absolute position test mode based on the type of the board under test 300, and acquire the preset signal parameters corresponding to the determined test mode. The test control unit 110 can determine the test mode based on the board type selected by the operator or the board type pre-recorded in the test program. This is used to determine which type of position sensor signal condition to use in this test, avoiding the use of absolute position simulation parameters in relative position board tests or relative position simulation parameters in absolute position board tests.
[0058] Step S102: Control the multi-channel signal generation unit 120 to synchronously generate digital signals corresponding to multiple signal channels based on the same system clock according to the preset signal parameters, so as to maintain the preset phase relationship and / or timing relationship between different signal channels.
[0059] In step S103, the control signal conditioning unit 130 converts the digital signal into an analog signal and performs signal preprocessing on the analog signal to obtain an analog test signal used to simulate the output state of the position sensor coil plate. Specifically, in the relative position test mode, the analog test signal is used to simulate the coil plate output state when the relative position sensor detects the long stator tooth groove of the track; in the absolute position test mode, the analog test signal is used to simulate the coil plate output state when the absolute position sensor detects the positioning marker plate.
[0060] In step S104, the control interface module 200 inputs a test signal corresponding to the type of the board under test to the board under test 300, so that the board under test 300 generates an output signal based on the analog test signal; the test signal includes the analog test signal; for boards that do not use the analog test signal as the main test input, the interface module 200 can also transmit power supply test signal, communication test signal or continuity detection signal.
[0061] In step S105, the control signal detection unit 140 acquires the output signal and obtains the test result of the board under test 300 based on the output signal. The test result can be obtained by comparing it with the standard value, allowable range, preset waveform, preset encoding state, or preset diagnostic state.
[0062] For single-board testing, the input provided to the board under test 300 in step S104 can replace the corresponding inputs provided by other components in the complete sensor. For example, the output of the real coil board can be replaced by an analog test signal, the external communication input can be provided by the communication test channel, and the power supply input of the power board can be provided by the power supply test channel. The board under test 300 only needs to be connected to the corresponding signal adapter card to obtain the input conditions required to complete the target test even when other boards of the complete sensor are missing.
[0063] Furthermore, to facilitate switching between different operating states under the same test mode, obtaining the preset signal parameters corresponding to the determined test mode may include: obtaining the selected preset operating condition; obtaining the preset signal parameters corresponding to the preset operating condition based on the correspondence between multiple preset operating conditions and multiple preset signal parameters; the preset signal parameters include at least one of signal frequency, signal amplitude, number of channels, and phase delay.
[0064] The test control unit 110 can store a running condition table, with each condition record corresponding to a set of callable signal parameters. For example, a condition record can simultaneously describe the running speed, position status, and running direction, and store the frequency, amplitude, and phase delay corresponding to that status. After selecting a condition, the test control unit 110 reads the record and sends the parameters that need to be changed to the multi-channel signal generation unit 120 and the signal conditioning unit 130.
[0065] Besides the lookup table method, the correspondence between preset operating conditions and preset signal parameters can also be represented by a configuration file or a pre-calculated and stored set of parameters. Regardless of the storage format, as long as the corresponding signal parameters can be determined when a certain operating condition is selected, it can be used in this embodiment.
[0066] In one testing method, the operator first selects the test mode and then chooses a preset operating condition. The test control unit 110 then automatically reads the frequency, amplitude, number of channels, and phase delay under that operating condition. In another testing method, multiple operating conditions can be pre-saved in test order and recalled sequentially by the test control unit 110. Regardless of whether manual selection or sequential recall by the program is used, the parameters corresponding to each operating condition can be reused, ensuring consistent input conditions for the same board in different test batches, facilitating comparison of test results.
[0067] Furthermore, the preset operating conditions include operating speed, with different operating speeds corresponding to different signal frequencies. When obtaining the preset signal parameters corresponding to the preset operating conditions based on the correspondence between multiple preset operating conditions and multiple preset signal parameters, the target operating speed is first obtained, and then the signal frequency corresponding to the target operating speed is obtained according to the correspondence between the preset operating speed and the signal frequency. The multi-channel signal generation unit 120 is then controlled to generate the corresponding digital signal based on the signal frequency to simulate the coil board output state of the position sensor at the target operating speed.
[0068] In actual testing, a test set can be formed by pre-selecting several typical speed points, or multiple test points can be set according to a continuous speed range. At each target operating speed, the test control unit 110 calls the corresponding signal frequency, causing the multi-channel signal generation unit 120 to change the output frequency of each channel while maintaining the phase and timing relationships required for the current test. This allows verification of the signal processing function of the board under test 300 at different simulated operating speeds without requiring the train to actually run at the corresponding speed.
[0069] When the change in operating speed corresponds only to a change in signal frequency, the signal amplitude, number of channels, and phase relationship can be kept constant, and only the frequency can be changed to observe whether the board under test 300 can output correctly at different frequencies. If the target operating speed also corresponds to changes in other signal characteristics, the corresponding parameters can be saved in the parameter record corresponding to that speed and adjusted together when switching speeds. This embodiment does not require all operating conditions to be characterized by only one parameter, frequency, but rather uses the correspondence between speed and frequency as a clear and implementable test method.
[0070] Furthermore, the control signal conditioning unit 130 converts the digital signal into an analog signal and performs signal preprocessing on the analog signal, including: the control signal conditioning unit 130 performs digital-to-analog conversion on the digital signal to obtain an analog signal; the control signal conditioning unit 130 performs at least one of amplitude calibration, impedance matching and low-pass filtering on the analog signal to make the output electrical characteristics of the obtained analog test signal match the output electrical characteristics of the simulated position sensor coil board.
[0071] During digital-to-analog conversion, each signal channel can correspond to a separate digital-to-analog converter output channel, or a multi-channel digital-to-analog converter can achieve synchronous output. Amplitude calibration can adjust the gain according to a preset amplitude, impedance matching can adjust the equivalent impedance at the output terminal through a matching network, and low-pass filtering can select the appropriate cutoff characteristics according to the frequency range of the signal to be simulated. After completing the above processing, the analog test signal is sent to the board under test 300 via the interface module 200.
[0072] Before testing, each analog output channel can be calibrated to ensure that the output amplitude and phase meet the preset range before connecting the board under test (300). This reduces the impact of differences in the test equipment's own channels on the board's test results.
[0073] Specifically, a preset test waveform can be output before connecting the board under test (300) to the network. The signal detection unit 140 or an external measuring device can then check the level, frequency, and phase relationship of each channel. Once the test results meet the preset range, the board under test (300) can be connected via the signal adapter chassis 220. If a channel has a deviation, the corresponding amplitude calibration parameter or phase delay parameter can be adjusted and the test rechecked. This pre-test verification is used to distinguish between abnormal output of the test equipment itself and abnormal output of the board under test (300), avoiding incorrect judgments due to unsuitable test channel conditions.
[0074] Furthermore, to test the processing status of the board under test 300 under multiple operating conditions and during changes in operating conditions, a sequence of operating conditions including multiple preset operating conditions can be obtained, and preset signal parameters corresponding to each preset operating condition can be obtained sequentially according to the operating condition sequence. Based on the sequentially obtained preset signal parameters, the multi-channel signal generation unit 120 is controlled to adjust the digital signals corresponding to multiple signal channels so that the analog test signal input to the board under test 300 changes continuously according to the operating condition sequence. The preset signal parameters corresponding to different preset operating conditions include at least one of signal frequency, signal amplitude, and phase delay. The control signal detection unit 140 obtains the output signals generated by the board under test 300 under multiple preset operating conditions and during the switching process between adjacent preset operating conditions. Based on the correspondence between the output signals and the preset output information corresponding to each preset operating condition, and the changes in the output signals between adjacent preset operating conditions, the test results of the board under test 300 under the operating condition sequence are obtained.
[0075] The operating condition sequence can be set to continuous states such as low speed, acceleration, high speed, and deceleration as needed, or it can be set according to changes in position or direction of travel. The test control unit 110 switches parameters item by item according to the sequence, so that the test signal forms a change process corresponding to the change in operating condition in time. In addition to judging whether the output is correct under each stable operating condition, it can also record the output changes during the switching of operating conditions, thereby discovering anomalies that only occur during the state change process.
[0076] For adjacent operating conditions in the operating condition sequence, the test control unit 110 can record the parameter values and corresponding times before and after the switch, and save the outputs of the board under test 300 in the same chronological order. This not only allows us to determine whether the output under each stable operating condition conforms to the preset output information, but also whether the board under test 300 completes the output change in the expected order after the input state changes. The operating condition sequence can also be repeated multiple times to compare the output consistency of the same board under test 300 under repeated operating condition changes.
[0077] Furthermore, the operating condition sequence may include a first operating condition and a second operating condition, which correspond to a first preset signal parameter and a second preset signal parameter, respectively. The test control unit 110 controls the multi-channel signal generation unit 120 to adjust the digital signals corresponding to multiple signal channels from a first signal state corresponding to the first preset signal parameter to a second signal state corresponding to the second preset signal parameter according to a preset adjustment method, so that the simulated test signal switches from the signal state simulating the first operating condition to the signal state simulating the second operating condition; the control signal detection unit 140 acquires the output signals generated by the board under test 300 in the first operating condition, the process of switching from the first operating condition to the second operating condition, and the second operating condition; based on the correspondence between at least one of the change order, change amplitude, and change time of the output signal during the operating condition switching process and the preset change information, the operating condition switching test result of the board under test 300 is obtained.
[0078] The preset adjustment method can be a step switch or a gradual change according to several intermediate parameters. For different types of boards, output status, frequency change, diagnostic status, or data content can be selected as the judgment object for the switching process. For example, when the input frequency changes from the first frequency to the second frequency, the time required for the output of the board under test 300 to reach the preset state of the second operating condition can be recorded, and it can be judged whether the output change sequence meets expectations.
[0079] One or more intermediate parameters can be set between the first preset signal parameter and the second preset signal parameter to make the signal frequency, amplitude, or phase delay change in a preset order. The test control unit 110 can record the corresponding output after each parameter adjustment, or it can continuously acquire the output throughout the entire change process. For changes in direction or encoding state, preset change information can be set according to the order in which the corresponding channel state changes, thereby checking whether the board output corresponds to the input state change.
[0080] Furthermore, the output signals generated by the board under test 300 under multiple preset operating conditions can be compared with the corresponding preset output information, and the target operating condition with an abnormality can be determined from the multiple preset operating conditions based on the comparison results; multiple subdivided signal parameters can be determined based on the preset signal parameters corresponding to the target operating condition, and the multiple subdivided signal parameters are distributed within the preset parameter range of the preset signal parameters corresponding to the target operating condition; the multi-channel signal generation unit 120 can be sequentially controlled to generate corresponding digital signals based on the multiple subdivided signal parameters, so that the board under test 300 can sequentially receive the analog test signals corresponding to the multiple subdivided signal parameters; the control signal detection unit 140 can acquire the output signals generated by the board under test 300 under multiple subdivided signal parameters, and determine the range of operating conditions and / or signal parameter ranges in which the board under test 300 has an abnormality based on the comparison results between the multiple output signals and the corresponding preset output information.
[0081] For example, a coarse scan is first performed using multiple speed test points. When an anomaly is detected at a particular speed test point, denser frequency test points are then set up near that speed test point. By comparing each point, the test range corresponding to the onset and recovery of the anomaly can be obtained. For phase-related anomalies, multiple subdivided phase parameters can also be added near the target phase delay for testing. This embodiment can further specify the conditions under which the anomaly occurs based on whether the board is malfunctioning, providing more specific information for subsequent board troubleshooting.
[0082] The number and interval of subdivided signal parameters can be determined as needed. For example, after an abnormal operating condition of a target is detected, the range of parameters adjacent to that condition can be narrowed down, and several frequency points or phase delay points can be added within that range. If an abnormality is found again in an even smaller range, more test points can be added. This implementation utilizes the characteristic of the test equipment to repeatedly generate preset signals, gradually narrowing down the range of parameters in which the abnormality occurs without changing the hardware connection, thereby providing a basis for determining under what input conditions the board malfunctions.
[0083] like Figure 2 As shown, this embodiment further illustrates the test content for different tested boards 300. Figure 2 The upper part shows the main control board, bus board, and power supply board of the absolute position sensor, while the lower part shows the bus board 1, digital board, analog board, and bus board 2 of the relative position sensor. Figure 2 The analog signal on the left represents the test signal that provides the corresponding coil board output status for boards that require position sensing input; for boards such as power boards, the interface module 200 can provide other test signals corresponding to the board type.
[0084] When testing the main control board of the absolute position sensor, the main control board can be installed in the corresponding position of the signal converter box 220 and connected to the electrical interface before powering on the main control board. The test control unit 110 reads the five frequency signals from SEND_K1 to SEND_S output by the main control board and compares them with preset standard values; it can also read the diagnostic signals output by the Complex Programmable Logic Device (CPLD) and display them according to the bit status. When performing code reading and direction tests, the states of coils K1 to K4 and the train running direction can be preset. The test control unit 110 obtains the absolute position information output by the main control board, parses it, and then compares the parsed results with the preset coil states and running direction.
[0085] When testing the absolute position sensor bus board, the 5V power output of the board can be acquired and its condition determined to be within a preset allowable range. Two serial port functions can be tested via serial transmission and reception, completing a serial loopback test by sending test data and checking the returned data. The wiring relationship between connector X1 and connectors X2, X3, and X4 can also be detected, recording the corresponding pin when a pin is not connected. When testing the absolute position sensor power supply board, a 24V test power supply can be input to the power supply board, its 15V output acquired, and the power conversion test result obtained based on whether the output is within a preset voltage range. Therefore, the power supply board test does not rely on analog position coil signals but is completed through power input and voltage output.
[0086] When testing the relative position sensor bus board 1 and bus board 2, continuity testing of the corresponding signal lines can be performed. When testing the relative position sensor analog board, the frequency outputs of interface signals such as SA_S, SA_C, and T_L can be read and compared with preset standard values. Square wave test components can also be added to the basic signals corresponding to SA_S and SA_C, and the parallel signals such as RD_S and RD_C output from the analog-to-digital converter (ADC) on the board can be read and the waveforms displayed. Under normal circumstances, a square wave corresponding to the expectation can be obtained. When testing the relative position sensor digital board, corresponding test signals can be provided and the processed output can be read to perform one or more tests on power supply voltage signals, raw signals, calibration signals, diagnostic signals, and sine / cosine signals. Figure 2 The signal names shown are used to identify the signal identifiers in the board interface.
[0087] Furthermore, the industrial control computer system 100 can also be configured with power control functions, communication interface processing and parsing functions, and cable continuity detection functions.
[0088] Specifically, the industrial control computer system also includes a power supply test unit, which is connected to the test control unit and the interface module. When the board under test is a power supply board, the test control unit controls the power supply test unit to provide a preset input voltage to the board under test through the interface module. The signal detection unit is used to obtain the output voltage generated by the board under test after voltage conversion of the preset input voltage through the interface module. The test control unit is also used to compare the output voltage with the preset output voltage range and obtain the power supply conversion test result of the board under test based on the comparison result.
[0089] Specifically, the power supply test unit includes a test power output unit and a power channel switching unit. The power channel switching unit is used to transmit the corresponding test voltage to the interface module according to the type of the board under test. When testing the power supply board of the absolute position sensor, the preset input voltage is 24V, and the signal detection unit obtains the 15V output voltage of the board under test.
[0090] The power control function can convert test voltages such as ±15V and 15V and switch power channels to provide corresponding power supply conditions for different boards.
[0091] The communication interface processing and parsing functions can convert between RS232 serial communication (Recommended Standard 232, RS232) signals, Transistor-Transistor Logic (TTL) signals, Quad Serial Peripheral Interface (QSPI) differential signals, and RS485 serial communication (Recommended Standard 485, RS485) signals. It can also exchange data with the industrial control computer via RS485 communication or Ethernet. The industrial control computer can also communicate with a network analyzer as needed for testing, providing digital input / output channels, analog input / output channels, and an RS485 communication channel.
[0092] When performing continuity testing on cables or circuit boards, a field-programmable gate array (FPGA) 121 can be used to send excitation levels to the input terminals of the circuit under test in a preset sequence, and then the level changes can be detected from the corresponding receiving terminals. If the receiving terminal detects the expected level at the corresponding time, the current circuit is determined to be conductive; if the expected level is not detected, the corresponding circuit or pin is recorded as abnormal, and the result is returned to the test control unit 110. This method can be used for continuity checks on bus boards, connectors, and test cables.
[0093] In relative position test mode, a basic signal corresponding to the detection state of the long stator tooth groove of the track can be generated by a customized signal board, and the input phase can be changed according to the phase delay amount set by the test control unit 110. In absolute position test mode, a signal corresponding to the encoding state of the positioning mark board can be generated by a customized signal board, and buffer conditioning can be completed by an operational amplifier follower circuit. These implementation methods can be used in conjunction with the multi-channel signal generation unit 120 and the signal conditioning unit 130.
[0094] To perform a complete test, first connect the industrial PC and the test chassis to a 220V AC power supply, start the industrial PC, and open the test program. After the test program starts, it performs a self-test to check the status of communication, power supply, and signal channels. A green status indicator will appear when each test item is normal. Then, install the board under test 300 in the corresponding position of the signal adapter chassis 220, connect the corresponding electrical interface, and select the board test page. The test control unit 110 controls power supply, signal generation, communication or continuity detection according to the selected test items, and collects the corresponding outputs. After completing all tests, first turn off the power to the test chassis, then exit the operating system and shut down the industrial PC. The above operation sequence illustrates a common test process; the startup or shutdown sequence can be adjusted according to the equipment's power supply and safety requirements.
[0095] The test program's self-test can be executed before the board under test (300) is connected to confirm that the industrial control computer system (100), interface module (200), and each test channel are in a usable state. The self-test may include the communication connection status, the status of each test power supply, the status of digital input / output channels, the status of analog output channels, and the status of signal detection channels. If any self-test item is abnormal, the corresponding abnormal status will be displayed on the interface, and the board test will only proceed after the abnormality is resolved. By checking the status of the test equipment itself before formal testing, the impact of test equipment failure on the board test results can be reduced.
[0096] For data recording during the testing process, the system can save the type of the board under test (300), the test mode, the preset signal parameters used, the output values of each test item, and the corresponding judgment results. When the same board needs to be tested under multiple operating conditions, the results can be saved separately for each operating condition. For serial port loopback or continuity detection, abnormal interfaces or abnormal pins can be recorded; for power conversion testing, the actual output voltage can be recorded; for frequency, phase, and waveform testing, the detected values or corresponding waveform data can be recorded. These records facilitate subsequent verification of abnormal boards and allow for the mapping of abnormal results to specific test conditions.
[0097] The position sensor board testing equipment and testing method provided in this application have been described in detail above. The various embodiments in the specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the apparatus disclosed in the embodiments, since it corresponds to the method disclosed in the embodiments, the description is relatively simple; relevant parts can be referred to in the method section. It should be noted that those skilled in the art can make several improvements and modifications to this application without departing from the principles of this application, and these improvements and modifications also fall within the protection scope of this application.
[0098] It should also be noted that, in this specification, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
Claims
1. A position sensor board testing device, characterized in that, include: Industrial control computer system and interface module for connecting the board under test; The industrial control computer system includes: a test control unit, a multi-channel signal generation unit, a signal conditioning unit, and a signal detection unit; The test control unit is used to determine the relative position test mode or the absolute position test mode according to the type of the board under test, and to acquire the preset signal parameters corresponding to the determined test mode. The multi-channel signal generation unit is used to synchronously generate digital signals corresponding to multiple signal channels based on the preset signal parameters and the same system clock, so that the different signal channels maintain a preset phase relationship and / or timing relationship. The signal conditioning unit is used to convert the digital signal into an analog signal and perform signal preprocessing on the analog signal to obtain an analog test signal for simulating the output state of the coil board of the position sensor; wherein, in the relative position test mode, the analog test signal is used to simulate the output state of the coil board when the relative position sensor detects the long stator tooth groove of the track; in the absolute position test mode, the analog test signal is used to simulate the output state of the coil board when the absolute position sensor detects the positioning mark plate. The interface module is used to transmit test signals corresponding to the type of the board under test to the board under test, and to transmit the output signals generated by the board under test to the signal detection unit; the test signals include the analog test signals; The signal detection unit is used to acquire the output signal, and the test control unit is also used to obtain the test result of the board under test based on the output signal.
2. The position sensor board testing equipment according to claim 1, characterized in that, The preset signal parameters include at least one of signal frequency, signal amplitude, number of channels, and phase delay. The test control unit stores the correspondence between multiple preset operating conditions and multiple preset signal parameters, and obtains the corresponding preset signal parameters according to the selected preset operating condition.
3. The position sensor board testing equipment according to claim 2, characterized in that, The preset operating conditions include operating speed, with different operating speeds corresponding to different signal frequencies; The test control unit is used to obtain the corresponding signal frequency according to the selected operating speed, and the multi-channel signal generation unit is used to generate the digital signal according to the signal frequency.
4. The position sensor board testing equipment according to claim 1, characterized in that, The multi-channel signal generation unit includes a field-programmable gate array and a clock unit; The clock unit is used to provide the system clock to the field-programmable gate array; The field-programmable gate array is used to generate digital signals corresponding to multiple signal channels based on the system clock, and to adjust the phase relationship and / or timing relationship between different signal channels according to the preset signal parameters.
5. The position sensor board testing equipment according to claim 1, characterized in that, The signal conditioning unit includes a digital-to-analog conversion unit and a signal preprocessing unit; The digital-to-analog converter unit is used to convert the digital signal into the analog signal; The signal preprocessing unit is used to perform at least one of amplitude calibration, impedance matching and low-pass filtering on the analog signal so that the output electrical characteristics of the obtained analog test signal match the output electrical characteristics of the simulated position sensor coil board.
6. The position sensor board testing equipment according to claim 1, characterized in that, The interface module includes an adapter and a signal conversion chassis; The signal adapter chassis is used to install the board under test. The signal adapter chassis is equipped with a signal adapter card, and the signal adapter card is equipped with an electrical interface corresponding to the board under test. The adapter is connected between the industrial control computer system and the signal adapter box, and is used to transmit test signals between the industrial control computer system and the board under test.
7. A method for testing a position sensor board, characterized in that, A testing device for position sensor boards includes: an industrial control computer system and an interface module for connecting the board under test; the industrial control computer system includes: a test control unit, a multi-channel signal generation unit, a signal conditioning unit, and a signal detection unit; the method includes: Determine the relative position test mode or absolute position test mode based on the type of the board under test, and obtain the preset signal parameters corresponding to the determined test mode; According to the preset signal parameters, the multi-channel signal generation unit is controlled to synchronously generate digital signals corresponding to multiple signal channels based on the same system clock, so that the different signal channels maintain a preset phase relationship and / or timing relationship; The signal conditioning unit is controlled to convert the digital signal into an analog signal and perform signal preprocessing on the analog signal to obtain an analog test signal for simulating the output state of the coil plate of the position sensor. In the relative position test mode, the analog test signal is used to simulate the output state of the coil plate when the relative position sensor detects the long stator tooth groove of the track. In the absolute position test mode, the analog test signal is used to simulate the output state of the coil plate when the absolute position sensor detects the positioning mark plate. The interface module controls the input of a test signal corresponding to the type of the board under test to the board under test, so that the board under test generates an output signal based on the test signal; the test signal includes the analog test signal; The signal detection unit is controlled to acquire the output signal, and the test result of the board under test is obtained based on the output signal.
8. The position sensor board testing method according to claim 7, characterized in that, The acquisition of preset signal parameters corresponding to the determined test mode includes: Obtain the selected preset operating conditions; Based on the correspondence between multiple preset operating conditions and multiple preset signal parameters, obtain the preset signal parameters corresponding to the preset operating conditions; The preset signal parameters include at least one of signal frequency, signal amplitude, number of channels, and phase delay.
9. The position sensor board testing method according to claim 8, characterized in that, The preset operating conditions include operating speed, with different operating speeds corresponding to different signal frequencies; The step of obtaining the preset signal parameters corresponding to the preset operating conditions based on the correspondence between multiple preset operating conditions and multiple preset signal parameters includes: Obtain the target running speed; Based on the preset correspondence between running speed and signal frequency, obtain the signal frequency corresponding to the target running speed; The multi-channel signal generation unit is controlled to generate a corresponding digital signal based on the signal frequency, so as to simulate the coil plate output state of the position sensor at the target running speed.
10. The position sensor board testing method according to claim 7, characterized in that, The control unit converts the digital signal into an analog signal and performs signal preprocessing on the analog signal, including: The signal conditioning unit is controlled to perform digital-to-analog conversion on the digital signal to obtain an analog signal; The signal conditioning unit is controlled to perform at least one of amplitude calibration, impedance matching, and low-pass filtering on the analog signal so that the output electrical characteristics of the obtained analog test signal match the output electrical characteristics of the simulated position sensor coil board.
